ApiSchema
Contains details about the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas. You can either include the schema directly in the payload
field or you can upload it to an S3 bucket and specify the S3 bucket location in the s3
field.
Inheritors
Types
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
Functions
Casts this ApiSchema as a Payload and retrieves its kotlin.String value. Returns null if the ApiSchema is not a Payload.
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.
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.