AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Name | Description | |
---|---|---|
![]() |
AccessDeniedException |
The request is denied because you do not have sufficient permissions to perform the requested action. For troubleshooting this error, see AccessDeniedException in the Amazon Bedrock User Guide |
![]() |
AnyToolChoice |
The model must request at least one tool (no text is generated). For example, |
![]() |
ApplyGuardrailRequest |
Container for the parameters to the ApplyGuardrail operation. The action to apply a guardrail.
For troubleshooting some of the common errors you might encounter when using the |
![]() |
ApplyGuardrailResponse |
This is the response object from the ApplyGuardrail operation. |
![]() |
AsyncInvokeOutputDataConfig |
Asynchronous invocation output data settings. |
![]() |
AsyncInvokeS3OutputDataConfig |
Asynchronous invocation output data settings. |
![]() |
AsyncInvokeSummary |
A summary of an asynchronous invocation. |
![]() |
AutoToolChoice |
The Model automatically decides if a tool should be called or whether to generate
text instead. For example, |
![]() |
BedrockRuntimePaginatorFactory |
Paginators for the BedrockRuntime service |
![]() |
ConflictException |
Error occurred because of a conflict while performing an operation. |
![]() |
ContentBlock |
A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations. |
![]() |
ContentBlockDelta |
A block of content in a streaming response. |
![]() |
ContentBlockDeltaEvent |
The content block delta event. |
![]() |
ContentBlockStart |
Content block start information. |
![]() |
ContentBlockStartEvent |
Content block start event. |
![]() |
ContentBlockStopEvent |
A content block stop event. |
![]() |
ConverseMetrics |
Metrics for a call to Converse. |
![]() |
ConverseOutput |
The output from a call to Converse. |
![]() |
ConverseRequest |
Container for the parameters to the Converse operation.
Sends messages to the specified Amazon Bedrock model. Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response.
You can submit a prompt by including it in the
You can also submit a prompt from Prompt management by specifying the ARN of the prompt
version and including a map of variables to values in the For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Converse API examples in the Amazon Bedrock User Guide.
This operation requires permission for the
To deny all inference access to resources that you specify in the modelId field, you
need to deny access to the
For troubleshooting some of the common errors you might encounter when using the |
![]() |
ConverseResponse |
This is the response object from the Converse operation. |
![]() |
ConverseStreamMetadataEvent |
A conversation stream metadata event. |
![]() |
ConverseStreamMetrics |
Metrics for the stream. |
![]() |
ConverseStreamOutput |
The messages output stream |
![]() |
ConverseStreamRequest |
Container for the parameters to the ConverseStream operation.
Sends messages to the specified Amazon Bedrock model and returns the response in a
stream.
To find out if a model supports streaming, call GetFoundationModel
and check the
The CLI doesn't support streaming operations in Amazon Bedrock, including Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response.
You can submit a prompt by including it in the
You can also submit a prompt from Prompt management by specifying the ARN of the prompt
version and including a map of variables to values in the For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Conversation streaming example in the Amazon Bedrock User Guide.
This operation requires permission for the
To deny all inference access to resources that you specify in the modelId field, you
need to deny access to the
For troubleshooting some of the common errors you might encounter when using the |
![]() |
ConverseStreamResponse |
This is the response object from the ConverseStream operation. |
![]() |
ConverseStreamTrace |
The trace object in a response from ConverseStream. Currently, you can only trace guardrails. |
![]() |
ConverseTrace |
The trace object in a response from Converse. Currently, you can only trace guardrails. |
![]() |
DocumentBlock |
A document to include in a message. |
![]() |
DocumentSource |
Contains the content of a document. |
![]() |
GetAsyncInvokeRequest |
Container for the parameters to the GetAsyncInvoke operation. Retrieve information about an asynchronous invocation. |
![]() |
GetAsyncInvokeResponse |
This is the response object from the GetAsyncInvoke operation. |
![]() |
GuardrailAssessment |
A behavior assessment of the guardrail policies used in a call to the Converse API. |
![]() |
GuardrailConfiguration |
Configuration information for a guardrail that you use with the Converse operation. |
![]() |
GuardrailContentBlock |
The content block to be evaluated by the guardrail. |
![]() |
GuardrailContentFilter |
The content filter for a guardrail. |
![]() |
GuardrailContentPolicyAssessment |
An assessment of a content policy for a guardrail. |
![]() |
GuardrailContextualGroundingFilter |
The details for the guardrails contextual grounding filter. |
![]() |
GuardrailContextualGroundingPolicyAssessment |
The policy assessment details for the guardrails contextual grounding filter. |
![]() |
GuardrailConverseContentBlock |
A content block for selective guarding with the Converse or ConverseStream API operations. |
![]() |
GuardrailConverseImageBlock |
An image block that contains images that you want to assess with a guardrail. |
![]() |
GuardrailConverseImageSource |
The image source (image bytes) of the guardrail converse image source. |
![]() |
GuardrailConverseTextBlock |
A text block that contains text that you want to assess with a guardrail. For more information, see GuardrailConverseContentBlock. |
![]() |
GuardrailCoverage |
The action of the guardrail coverage details. |
![]() |
GuardrailCustomWord |
A custom word configured in a guardrail. |
![]() |
GuardrailImageBlock |
Contain an image which user wants guarded. This block is accepted by the guardrails independent API. |
![]() |
GuardrailImageCoverage |
The details of the guardrail image coverage. |
![]() |
GuardrailImageSource |
The image source (image bytes) of the guardrail image source. Object used in independent api. |
![]() |
GuardrailInvocationMetrics |
The invocation metrics for the guardrail. |
![]() |
GuardrailManagedWord |
A managed word configured in a guardrail. |
![]() |
GuardrailOutputContent |
The output content produced by the guardrail. |
![]() |
GuardrailPiiEntityFilter |
A Personally Identifiable Information (PII) entity configured in a guardrail. |
![]() |
GuardrailRegexFilter |
A Regex filter configured in a guardrail. |
![]() |
GuardrailSensitiveInformationPolicyAssessment |
The assessment for aPersonally Identifiable Information (PII) policy. |
![]() |
GuardrailStreamConfiguration |
Configuration information for a guardrail that you use with the ConverseStream action. |
![]() |
GuardrailTextBlock |
The text block to be evaluated by the guardrail. |
![]() |
GuardrailTextCharactersCoverage |
The guardrail coverage for the text characters. |
![]() |
GuardrailTopic |
Information about a topic guardrail. |
![]() |
GuardrailTopicPolicyAssessment |
A behavior assessment of a topic policy. |
![]() |
GuardrailTraceAssessment |
A Top level guardrail trace object. For more information, see ConverseTrace. |
![]() |
GuardrailUsage |
The details on the use of the guardrail. |
![]() |
GuardrailWordPolicyAssessment |
The word policy assessment. |
![]() |
ImageBlock |
Image content for a message. |
![]() |
ImageSource |
The source for an image. |
![]() |
InferenceConfiguration |
Base inference parameters to pass to a model in a call to Converse or ConverseStream. For more information, see Inference parameters for foundation models.
If you need to pass additional parameters that the model supports, use the |
![]() |
InternalServerException |
An internal server error occurred. For troubleshooting this error, see InternalFailure in the Amazon Bedrock User Guide |
![]() |
InvokeModelRequest |
Container for the parameters to the InvokeModel operation. Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. You use model inference to generate text, images, and embeddings. For example code, see Invoke model code examples in the Amazon Bedrock User Guide.
This operation requires permission for the
To deny all inference access to resources that you specify in the modelId field, you
need to deny access to the
For troubleshooting some of the common errors you might encounter when using the |
![]() |
InvokeModelResponse |
This is the response object from the InvokeModel operation. |
![]() |
InvokeModelWithResponseStreamRequest |
Container for the parameters to the InvokeModelWithResponseStream operation. Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream.
To see if a model supports streaming, call GetFoundationModel
and check the
The CLI doesn't support streaming operations in Amazon Bedrock, including For example code, see Invoke model with streaming code example in the Amazon Bedrock User Guide.
This operation requires permissions to perform the
To deny all inference access to resources that you specify in the modelId field, you
need to deny access to the
For troubleshooting some of the common errors you might encounter when using the |
![]() |
InvokeModelWithResponseStreamResponse |
This is the response object from the InvokeModelWithResponseStream operation. |
![]() |
ListAsyncInvokesRequest |
Container for the parameters to the ListAsyncInvokes operation. Lists asynchronous invocations. |
![]() |
ListAsyncInvokesResponse |
This is the response object from the ListAsyncInvokes operation. |
![]() |
Message |
A message input, or returned from, a call to Converse or ConverseStream. |
![]() |
MessageStartEvent |
The start of a message. |
![]() |
MessageStopEvent |
The stop event for a message. |
![]() |
ModelErrorException |
The request failed due to an error while processing the model. |
![]() |
ModelNotReadyException |
The model specified in the request is not ready to serve inference requests. The AWS SDK will automatically retry the operation up to 5 times. For information about configuring automatic retries, see Retry behavior in the AWS SDKs and Tools reference guide. |
![]() |
ModelStreamErrorException |
An error occurred while streaming the response. Retry your request. |
![]() |
ModelTimeoutException |
The request took too long to process. Processing time exceeded the model timeout length. |
![]() |
PayloadPart |
Payload content included in the response. |
![]() |
PerformanceConfiguration |
Performance settings for a model. |
![]() |
PromptRouterTrace |
A prompt router trace. |
![]() |
PromptVariableValues |
Contains a map of variables in a prompt from Prompt management to an object containing the values to fill in for them when running model invocation. For more information, see How Prompt management works. |
![]() |
ReasoningContentBlock |
Contains content regarding the reasoning that is carried out by the model with respect to the content in the content block. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response. |
![]() |
ReasoningContentBlockDelta |
Contains content regarding the reasoning that is carried out by the model with respect to the content in the content block. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response. |
![]() |
ReasoningTextBlock |
Contains the reasoning that the model used to return the output. |
![]() |
ResourceNotFoundException |
The specified resource ARN was not found. For troubleshooting this error, see ResourceNotFound in the Amazon Bedrock User Guide |
![]() |
ResponseStream |
Definition of content in the response stream. |
![]() |
S3Location |
A storage location in an S3 bucket. |
![]() |
ServiceQuotaExceededException |
Your request exceeds the service quota for your account. You can view your quotas at Viewing service quotas. You can resubmit your request later. |
![]() |
ServiceUnavailableException |
The service isn't currently available. For troubleshooting this error, see ServiceUnavailable in the Amazon Bedrock User Guide |
![]() |
SpecificToolChoice |
The model must request a specific tool. For example,
This field is only supported by Anthropic Claude 3 models.
|
![]() |
StartAsyncInvokeRequest |
Container for the parameters to the StartAsyncInvoke operation. Starts an asynchronous invocation.
This operation requires permission for the
To deny all inference access to resources that you specify in the modelId field, you
need to deny access to the |
![]() |
StartAsyncInvokeResponse |
This is the response object from the StartAsyncInvoke operation. |
![]() |
SystemContentBlock |
A system content block. |
![]() |
Tag |
A tag. |
![]() |
ThrottlingException |
Your request was denied due to exceeding the account quotas for Amazon Bedrock. For troubleshooting this error, see ThrottlingException in the Amazon Bedrock User Guide |
![]() |
TokenUsage |
The tokens used in a message API inference call. |
![]() |
Tool |
Information about a tool that you can use with the Converse API. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide. |
![]() |
ToolChoice |
Determines which tools the model should request in a call to |
![]() |
ToolConfiguration |
Configuration information for the tools that you pass to a model. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide. |
![]() |
ToolInputSchema |
The schema for the tool. The top level schema type must be |
![]() |
ToolResultBlock |
A tool result block that contains the results for a tool request that the model previously made. |
![]() |
ToolResultContentBlock |
The tool result content block. |
![]() |
ToolSpecification |
The specification for the tool. |
![]() |
ToolUseBlock |
A tool use content block. Contains information about a tool that the model is requesting be run., The model uses the result from the tool to generate a response. |
![]() |
ToolUseBlockDelta |
The delta for a tool use block. |
![]() |
ToolUseBlockStart |
The start of a tool use block. |
![]() |
ValidationException |
The input fails to satisfy the constraints specified by Amazon Bedrock. For troubleshooting this error, see ValidationError in the Amazon Bedrock User Guide |
![]() |
VideoBlock |
A video block. |
![]() |
VideoSource |
A video source. You can upload a smaller video as a base64-encoded string as long as the encoded file is less than 25MB. You can also transfer videos up to 1GB in size from an S3 bucket. |
Name | Description | |
---|---|---|
![]() |
IBedrockRuntimePaginatorFactory |
Paginators for the BedrockRuntime service |
![]() |
IListAsyncInvokesPaginator |
Paginator for the ListAsyncInvokes operation |