Payload

data class Payload(val value: String) : ApiSchema

The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited 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.