Interface BedrockFunctionTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BedrockFunctionTarget.Builder,,BedrockFunctionTarget> SdkBuilder<BedrockFunctionTarget.Builder,,BedrockFunctionTarget> SdkPojo
- Enclosing class:
BedrockFunctionTarget
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Bedrock API to call.api(BedrockApi api) The Amazon Bedrock API to call.The model to invoke.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
api
The Amazon Bedrock API to call. The only valid value is INVOKE_MODEL.
- Parameters:
api- The Amazon Bedrock API to call. The only valid value is INVOKE_MODEL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
api
The Amazon Bedrock API to call. The only valid value is INVOKE_MODEL.
- Parameters:
api- The Amazon Bedrock API to call. The only valid value is INVOKE_MODEL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
model
The model to invoke. Specify one of the following:
-
A model ID.
-
An inference profile ID.
-
The ARN of a custom model.
-
The ARN of a provisioned model.
Elemental Inference invokes the model in the Region of the feed. To use a model in other Regions, specify a cross-Region inference profile ID. A custom or provisioned model must be in the Region of the feed.
The request expression must produce a request body that this model accepts, and the model must accept the kind of media that the request expression references. For example, a text-only model can't accept a request that references media.frames.
- Parameters:
model- The model to invoke. Specify one of the following:-
A model ID.
-
An inference profile ID.
-
The ARN of a custom model.
-
The ARN of a provisioned model.
Elemental Inference invokes the model in the Region of the feed. To use a model in other Regions, specify a cross-Region inference profile ID. A custom or provisioned model must be in the Region of the feed.
The request expression must produce a request body that this model accepts, and the model must accept the kind of media that the request expression references. For example, a text-only model can't accept a request that references media.frames.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-