Code

sealed class Code

The source code configuration that specifies the location and details of the code to be executed.

Inheritors

Types

Link copied to clipboard
data class S3(val value: S3Location) : Code

The Amazon Amazon S3 object that contains the source code for the agent runtime.

Link copied to clipboard
object SdkUnknown : Code

Functions

Link copied to clipboard

Casts this Code as a S3 and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.S3Location value. Throws an exception if the Code is not a S3.

Link copied to clipboard

Casts this Code as a S3 and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.S3Location value. Returns null if the Code is not a S3.