Skip to content

ImageSource

Union Type

ImageSource module-attribute

The source for an image.

Union Member Types

ImageSourceBytes dataclass

Bases: _SerdeShape

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

Bases: _SerdeShape

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

Attributes

value instance-attribute
value: S3Location

ImageSourceUnknown dataclass

Bases: _SerdeShape

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