Skip to content

Bedrock Agentcore  >  Structures  >  ResourceContent

ResourceContent

Structure Class

ResourceContent dataclass

Contains information about resource content.

Attributes

blob class-attribute instance-attribute
blob: bytes | None = None

The binary resource content.

mime_type class-attribute instance-attribute
mime_type: str | None = None

The MIME type of the resource content.

text class-attribute instance-attribute
text: str | None = None

The text resource content.

type instance-attribute

The type of resource content.

uri class-attribute instance-attribute
uri: str | None = None

The URI of the resource content.