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