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

commonMain.aws.sdk.kotlin.services.ssoadmin.model.TrustedTokenIssuerUpdateConfiguration.kt Maven / Gradle / Ivy

There is a newer version: 1.3.35
Show newest version
// 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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy