Package com.pulumi.aws.bedrock
Class BedrockFunctions
- java.lang.Object
-
- com.pulumi.aws.bedrock.BedrockFunctions
-
public final class BedrockFunctions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BedrockFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.pulumi.core.Output<GetCustomModelResult>
getCustomModel(GetCustomModelArgs args)
Returns properties of a specific Amazon Bedrock custom model.static com.pulumi.core.Output<GetCustomModelResult>
getCustomModel(GetCustomModelArgs args, com.pulumi.deployment.InvokeOptions options)
Returns properties of a specific Amazon Bedrock custom model.static java.util.concurrent.CompletableFuture<GetCustomModelResult>
getCustomModelPlain(GetCustomModelPlainArgs args)
Returns properties of a specific Amazon Bedrock custom model.static java.util.concurrent.CompletableFuture<GetCustomModelResult>
getCustomModelPlain(GetCustomModelPlainArgs args, com.pulumi.deployment.InvokeOptions options)
Returns properties of a specific Amazon Bedrock custom model.static com.pulumi.core.Output<GetCustomModelsResult>
getCustomModels()
Returns a list of Amazon Bedrock custom models.static com.pulumi.core.Output<GetCustomModelsResult>
getCustomModels(com.pulumi.resources.InvokeArgs args)
Returns a list of Amazon Bedrock custom models.static com.pulumi.core.Output<GetCustomModelsResult>
getCustomModels(com.pulumi.resources.InvokeArgs args, com.pulumi.deployment.InvokeOptions options)
Returns a list of Amazon Bedrock custom models.static java.util.concurrent.CompletableFuture<GetCustomModelsResult>
getCustomModelsPlain()
Returns a list of Amazon Bedrock custom models.static java.util.concurrent.CompletableFuture<GetCustomModelsResult>
getCustomModelsPlain(com.pulumi.resources.InvokeArgs args)
Returns a list of Amazon Bedrock custom models.static java.util.concurrent.CompletableFuture<GetCustomModelsResult>
getCustomModelsPlain(com.pulumi.resources.InvokeArgs args, com.pulumi.deployment.InvokeOptions options)
Returns a list of Amazon Bedrock custom models.
-
-
-
Method Detail
-
getCustomModel
public static com.pulumi.core.Output<GetCustomModelResult> getCustomModel(GetCustomModelArgs args)
Returns properties of a specific Amazon Bedrock custom model. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.bedrock.BedrockFunctions; import com.pulumi.aws.bedrock.inputs.GetCustomModelArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var test = BedrockFunctions.getCustomModel(GetCustomModelArgs.builder() .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ") .build()); } } ``` <!--End PulumiCodeChooser -->
-
getCustomModelPlain
public static java.util.concurrent.CompletableFuture<GetCustomModelResult> getCustomModelPlain(GetCustomModelPlainArgs args)
Returns properties of a specific Amazon Bedrock custom model. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.bedrock.BedrockFunctions; import com.pulumi.aws.bedrock.inputs.GetCustomModelArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var test = BedrockFunctions.getCustomModel(GetCustomModelArgs.builder() .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ") .build()); } } ``` <!--End PulumiCodeChooser -->
-
getCustomModel
public static com.pulumi.core.Output<GetCustomModelResult> getCustomModel(GetCustomModelArgs args, com.pulumi.deployment.InvokeOptions options)
Returns properties of a specific Amazon Bedrock custom model. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.bedrock.BedrockFunctions; import com.pulumi.aws.bedrock.inputs.GetCustomModelArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var test = BedrockFunctions.getCustomModel(GetCustomModelArgs.builder() .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ") .build()); } } ``` <!--End PulumiCodeChooser -->
-
getCustomModelPlain
public static java.util.concurrent.CompletableFuture<GetCustomModelResult> getCustomModelPlain(GetCustomModelPlainArgs args, com.pulumi.deployment.InvokeOptions options)
Returns properties of a specific Amazon Bedrock custom model. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.bedrock.BedrockFunctions; import com.pulumi.aws.bedrock.inputs.GetCustomModelArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var test = BedrockFunctions.getCustomModel(GetCustomModelArgs.builder() .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ") .build()); } } ``` <!--End PulumiCodeChooser -->
-
getCustomModels
public static com.pulumi.core.Output<GetCustomModelsResult> getCustomModels()
Returns a list of Amazon Bedrock custom models. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.bedrock.BedrockFunctions; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var test = BedrockFunctions.getCustomModels(); } } ``` <!--End PulumiCodeChooser -->
-
getCustomModelsPlain
public static java.util.concurrent.CompletableFuture<GetCustomModelsResult> getCustomModelsPlain()
Returns a list of Amazon Bedrock custom models. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.bedrock.BedrockFunctions; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var test = BedrockFunctions.getCustomModels(); } } ``` <!--End PulumiCodeChooser -->
-
getCustomModels
public static com.pulumi.core.Output<GetCustomModelsResult> getCustomModels(com.pulumi.resources.InvokeArgs args)
Returns a list of Amazon Bedrock custom models. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.bedrock.BedrockFunctions; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var test = BedrockFunctions.getCustomModels(); } } ``` <!--End PulumiCodeChooser -->
-
getCustomModelsPlain
public static java.util.concurrent.CompletableFuture<GetCustomModelsResult> getCustomModelsPlain(com.pulumi.resources.InvokeArgs args)
Returns a list of Amazon Bedrock custom models. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.bedrock.BedrockFunctions; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var test = BedrockFunctions.getCustomModels(); } } ``` <!--End PulumiCodeChooser -->
-
getCustomModels
public static com.pulumi.core.Output<GetCustomModelsResult> getCustomModels(com.pulumi.resources.InvokeArgs args, com.pulumi.deployment.InvokeOptions options)
Returns a list of Amazon Bedrock custom models. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.bedrock.BedrockFunctions; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var test = BedrockFunctions.getCustomModels(); } } ``` <!--End PulumiCodeChooser -->
-
getCustomModelsPlain
public static java.util.concurrent.CompletableFuture<GetCustomModelsResult> getCustomModelsPlain(com.pulumi.resources.InvokeArgs args, com.pulumi.deployment.InvokeOptions options)
Returns a list of Amazon Bedrock custom models. ## Example Usage <!--Start PulumiCodeChooser --> ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.bedrock.BedrockFunctions; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var test = BedrockFunctions.getCustomModels(); } } ``` <!--End PulumiCodeChooser -->
-
-