Skip to content

Bedrock Agent Runtime  >  Unions  >  ImageInputSource

ImageInputSource

Union Type

ImageInputSource module-attribute

ImageInputSource = Union[ImageInputSourceBytes | ImageInputSourceUnknown]

Details about the source of an input image in the result from a function in the action group invocation.

Union Member Types

ImageInputSourceBytes 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

ImageInputSourceUnknown 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