Skip to content

Bedrock Agent Runtime  >  Unions  >  ImageSource

ImageSource

Union Type

ImageSource module-attribute

The source for an image.

Union Member Types

ImageSourceBytes dataclass

The raw image bytes for the image. If you use an Amazon Web Services SDK, you don't need to encode the image bytes in base64.

Attributes

value instance-attribute
value: bytes

ImageSourceS3Location dataclass

The path to the Amazon S3 bucket where the image is stored.

Attributes

value instance-attribute
value: S3Location

ImageSourceUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str