ApiSchema

sealed class ApiSchema

Contains information about the API Schema for the Action Group

Inheritors

Types

Link copied to clipboard
data class Payload(val value: String) : ApiSchema

String OpenAPI Payload

Link copied to clipboard
data class S3(val value: S3Identifier) : ApiSchema

The identifier for the S3 resource.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this ApiSchema as a Payload and retrieves its kotlin.String value. Throws an exception if the ApiSchema is not a Payload.

Link copied to clipboard

Casts this ApiSchema as a Payload and retrieves its kotlin.String value. Returns null if the ApiSchema is not a Payload.

Link copied to clipboard

Casts this ApiSchema as a S3 and retrieves its aws.sdk.kotlin.services.bedrockagent.model.S3Identifier value. Throws an exception if the ApiSchema is not a S3.

Link copied to clipboard

Casts this ApiSchema as a S3 and retrieves its aws.sdk.kotlin.services.bedrockagent.model.S3Identifier value. Returns null if the ApiSchema is not a S3.