View a markdown version of this page

ContentBlock - Amazon Bedrock AgentCore Data Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ContentBlock

A block of content in a response.

Contents

type

The type of content in the block.

Type: String

Valid Values: text | image | resource | resource_link

Required: Yes

data

The binary data content of the block.

Type: Base64-encoded binary data object

Required: No

description

The description of the content block.

Type: String

Required: No

mimeType

The MIME type of the content.

Type: String

Required: No

name

The name of the content block.

Type: String

Required: No

resource

The resource associated with the content block.

Type: ResourceContent object

Required: No

size

The size of the content in bytes.

Type: Long

Required: No

text

The text content of the block.

Type: String

Required: No

uri

The URI of the content.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: