ImageSource
module-attribute
¶
ImageSource = Union[ImageSourceBytes | ImageSourceS3Location | ImageSourceUnknown]
The source for an image.
Union Members¶
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.
Source code in src/aws_sdk_bedrock_runtime/models.py
7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 | |
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.
Source code in src/aws_sdk_bedrock_runtime/models.py
7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 | |
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.
Source code in src/aws_sdk_bedrock_runtime/models.py
7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 | |