All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.appconfig.model.BadRequestDetails.kt Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.appconfig.model



/**
 * Detailed information about the input that failed to satisfy the constraints specified by a call.
 */
public sealed class BadRequestDetails {
    /**
     * Detailed information about the bad request exception error when creating a hosted configuration version.
     */
    public data class InvalidConfiguration(val value: List) : aws.sdk.kotlin.services.appconfig.model.BadRequestDetails() {
    }

    public object SdkUnknown : aws.sdk.kotlin.services.appconfig.model.BadRequestDetails() {
    }

    /**
     * Casts this [BadRequestDetails] as a [InvalidConfiguration] and retrieves its [List] value. Throws an exception if the [BadRequestDetails] is not a
     * [InvalidConfiguration].
     */
    public fun asInvalidConfiguration(): List = (this as BadRequestDetails.InvalidConfiguration).value

    /**
     * Casts this [BadRequestDetails] as a [InvalidConfiguration] and retrieves its [List] value. Returns null if the [BadRequestDetails] is not a [InvalidConfiguration].
     */
    public fun asInvalidConfigurationOrNull(): List? = (this as? BadRequestDetails.InvalidConfiguration)?.value
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy