Class: Aws::ElementalInference::Types::BedrockFunctionTarget
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElementalInference::Types::BedrockFunctionTarget
- Defined in:
- gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb
Overview
An Amazon Bedrock model to invoke. Elemental Inference invokes the model in your account by assuming the feed's access role, so a feed that runs this function must specify an accessRoleArn. The invocation is subject to your Amazon Bedrock quotas and appears on your bill.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#api ⇒ String
The Amazon Bedrock API to call.
-
#model ⇒ String
The model to invoke.
Instance Attribute Details
#api ⇒ String
The Amazon Bedrock API to call. The only valid value is INVOKE_MODEL.
143 144 145 146 147 148 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 143 class BedrockFunctionTarget < Struct.new( :api, :model) SENSITIVE = [] include Aws::Structure end |
#model ⇒ String
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.
143 144 145 146 147 148 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 143 class BedrockFunctionTarget < Struct.new( :api, :model) SENSITIVE = [] include Aws::Structure end |