commonMain.aws.sdk.kotlin.services.bedrock.model.ModelInvocationJobOutputDataConfig.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.bedrock.model
/**
* Contains the configuration of the S3 location of the output data.
*/
public sealed class ModelInvocationJobOutputDataConfig {
/**
* Contains the configuration of the S3 location of the output data.
*/
public data class S3OutputDataConfig(val value: aws.sdk.kotlin.services.bedrock.model.ModelInvocationJobS3OutputDataConfig) : aws.sdk.kotlin.services.bedrock.model.ModelInvocationJobOutputDataConfig() {
}
public object SdkUnknown : aws.sdk.kotlin.services.bedrock.model.ModelInvocationJobOutputDataConfig() {
}
/**
* Casts this [ModelInvocationJobOutputDataConfig] as a [S3OutputDataConfig] and retrieves its [aws.sdk.kotlin.services.bedrock.model.ModelInvocationJobS3OutputDataConfig] value. Throws an exception if the [ModelInvocationJobOutputDataConfig] is not a
* [S3OutputDataConfig].
*/
public fun asS3OutputDataConfig(): aws.sdk.kotlin.services.bedrock.model.ModelInvocationJobS3OutputDataConfig = (this as ModelInvocationJobOutputDataConfig.S3OutputDataConfig).value
/**
* Casts this [ModelInvocationJobOutputDataConfig] as a [S3OutputDataConfig] and retrieves its [aws.sdk.kotlin.services.bedrock.model.ModelInvocationJobS3OutputDataConfig] value. Returns null if the [ModelInvocationJobOutputDataConfig] is not a [S3OutputDataConfig].
*/
public fun asS3OutputDataConfigOrNull(): aws.sdk.kotlin.services.bedrock.model.ModelInvocationJobS3OutputDataConfig? = (this as? ModelInvocationJobOutputDataConfig.S3OutputDataConfig)?.value
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy