Skip to content

/AWS1/CL_BDZCONTENTBODY

Contains the body of the API response.

This data type is used in the following API operations:

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_body TYPE /AWS1/BDZSTRING /AWS1/BDZSTRING

The body of the API response.

it_images TYPE /AWS1/CL_BDZIMAGEINPUT=>TT_IMAGEINPUTS TT_IMAGEINPUTS

Lists details, including format and source, for the image in the response from the function call. You can specify only one image and the function in the returnControlInvocationResults must be a computer use action. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools.


Queryable Attributes

body

The body of the API response.

Accessible with the following methods

Method Description
GET_BODY() Getter for BODY, with configurable default
ASK_BODY() Getter for BODY w/ exceptions if field has no value
HAS_BODY() Determine if BODY has a value

images

Lists details, including format and source, for the image in the response from the function call. You can specify only one image and the function in the returnControlInvocationResults must be a computer use action. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools.

Accessible with the following methods

Method Description
GET_IMAGES() Getter for IMAGES, with configurable default
ASK_IMAGES() Getter for IMAGES w/ exceptions if field has no value
HAS_IMAGES() Determine if IMAGES has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TS_RESPONSEBODY_MAPROW

TYPES: BEGIN OF TS_RESPONSEBODY_MAPROW,
  key TYPE /AWS1/BDZSTRING,
  value TYPE REF TO /AWS1/CL_BDZCONTENTBODY,
END OF TS_RESPONSEBODY_MAPROW.

TT_RESPONSEBODY

TYPES TT_RESPONSEBODY TYPE HASHED TABLE OF /AWS1/CL_BDZCONTENTBODY=>TS_RESPONSEBODY_MAPROW WITH UNIQUE KEY key
.