commonMain.aws.sdk.kotlin.services.ssoadmin.model.TrustedTokenIssuerUpdateConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ssoadmin-jvm Show documentation
Show all versions of ssoadmin-jvm Show documentation
The AWS SDK for Kotlin client for SSO Admin
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ssoadmin.model
/**
* A structure that contains details to be updated for a trusted token issuer configuration. The structure and settings that you can include depend on the type of the trusted token issuer being updated.
*/
public sealed class TrustedTokenIssuerUpdateConfiguration {
/**
* A structure that describes an updated configuration for a trusted token issuer that uses OpenID Connect (OIDC) with JSON web tokens (JWT).
*/
public data class OidcJwtConfiguration(val value: aws.sdk.kotlin.services.ssoadmin.model.OidcJwtUpdateConfiguration) : aws.sdk.kotlin.services.ssoadmin.model.TrustedTokenIssuerUpdateConfiguration() {
}
public object SdkUnknown : aws.sdk.kotlin.services.ssoadmin.model.TrustedTokenIssuerUpdateConfiguration() {
}
/**
* Casts this [TrustedTokenIssuerUpdateConfiguration] as a [OidcJwtConfiguration] and retrieves its [aws.sdk.kotlin.services.ssoadmin.model.OidcJwtUpdateConfiguration] value. Throws an exception if the [TrustedTokenIssuerUpdateConfiguration] is not a
* [OidcJwtConfiguration].
*/
public fun asOidcJwtConfiguration(): aws.sdk.kotlin.services.ssoadmin.model.OidcJwtUpdateConfiguration = (this as TrustedTokenIssuerUpdateConfiguration.OidcJwtConfiguration).value
/**
* Casts this [TrustedTokenIssuerUpdateConfiguration] as a [OidcJwtConfiguration] and retrieves its [aws.sdk.kotlin.services.ssoadmin.model.OidcJwtUpdateConfiguration] value. Returns null if the [TrustedTokenIssuerUpdateConfiguration] is not a [OidcJwtConfiguration].
*/
public fun asOidcJwtConfigurationOrNull(): aws.sdk.kotlin.services.ssoadmin.model.OidcJwtUpdateConfiguration? = (this as? TrustedTokenIssuerUpdateConfiguration.OidcJwtConfiguration)?.value
}