commonMain.aws.sdk.kotlin.services.appconfig.model.BadRequestDetails.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appconfig-jvm Show documentation
Show all versions of appconfig-jvm Show documentation
The AWS SDK for Kotlin client for AppConfig
// 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