Skip to content

Bedrock 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 AWS SDK, you don't need to encode the image bytes in base64.

Attributes

value instance-attribute
value: bytes

ImageSourceS3Location dataclass

The location of an image object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.

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