Skip to content

ImageSourceDict

Union Type

ImageSourceDict module-attribute

Dictionary form of ImageSource, setting exactly one variant.

Union Member Types

ImageSourceBytesDict

Bases: TypedDict

Attributes

bytes_ instance-attribute
bytes_: bytes

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

ImageSourceS3LocationDict

Bases: TypedDict

Attributes

s3_location instance-attribute
s3_location: S3Location | S3LocationDict

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.