asS3LocationOrNull
Casts this DocumentSource as a S3Location and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.S3Location value. Returns null if the DocumentSource is not a S3Location.
Casts this DocumentSource as a S3Location and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.S3Location value. Returns null if the DocumentSource is not a S3Location.