commonMain.aws.sdk.kotlin.services.bedrockagent.model.OrchestrationExecutor.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bedrockagent-jvm Show documentation
Show all versions of bedrockagent-jvm Show documentation
The AWS SDK for Kotlin client for Bedrock Agent
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.bedrockagent.model
/**
* Contains details about the Lambda function containing the orchestration logic carried out upon invoking the custom orchestration.
*/
public sealed class OrchestrationExecutor {
/**
* The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
*/
public data class Lambda(val value: kotlin.String) : aws.sdk.kotlin.services.bedrockagent.model.OrchestrationExecutor() {
}
public object SdkUnknown : aws.sdk.kotlin.services.bedrockagent.model.OrchestrationExecutor() {
}
/**
* Casts this [OrchestrationExecutor] as a [Lambda] and retrieves its [kotlin.String] value. Throws an exception if the [OrchestrationExecutor] is not a
* [Lambda].
*/
public fun asLambda(): kotlin.String = (this as OrchestrationExecutor.Lambda).value
/**
* Casts this [OrchestrationExecutor] as a [Lambda] and retrieves its [kotlin.String] value. Returns null if the [OrchestrationExecutor] is not a [Lambda].
*/
public fun asLambdaOrNull(): kotlin.String? = (this as? OrchestrationExecutor.Lambda)?.value
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy