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

commonMain.aws.sdk.kotlin.services.datazone.model.ActionParameters.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.datazone.model



/**
 * The parameters of the environment action.
 */
public sealed class ActionParameters {
    /**
     * The console link specified as part of the environment action.
     */
    public data class AwsConsoleLink(val value: aws.sdk.kotlin.services.datazone.model.AwsConsoleLinkParameters) : aws.sdk.kotlin.services.datazone.model.ActionParameters() {
    }

    public object SdkUnknown : aws.sdk.kotlin.services.datazone.model.ActionParameters() {
    }

    /**
     * Casts this [ActionParameters] as a [AwsConsoleLink] and retrieves its [aws.sdk.kotlin.services.datazone.model.AwsConsoleLinkParameters] value. Throws an exception if the [ActionParameters] is not a
     * [AwsConsoleLink].
     */
    public fun asAwsConsoleLink(): aws.sdk.kotlin.services.datazone.model.AwsConsoleLinkParameters = (this as ActionParameters.AwsConsoleLink).value

    /**
     * Casts this [ActionParameters] as a [AwsConsoleLink] and retrieves its [aws.sdk.kotlin.services.datazone.model.AwsConsoleLinkParameters] value. Returns null if the [ActionParameters] is not a [AwsConsoleLink].
     */
    public fun asAwsConsoleLinkOrNull(): aws.sdk.kotlin.services.datazone.model.AwsConsoleLinkParameters? = (this as? ActionParameters.AwsConsoleLink)?.value
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy