Skip to content

/AWS1/CL_BDCINVAGENTRUNCMDRSP

Response for InvokeAgentRuntimeCommand operation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_contenttype TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.

io_stream TYPE REF TO /AWS1/IF_BDCINVAGRUNCMDSTRMO00 /AWS1/IF_BDCINVAGRUNCMDSTRMO00

The streaming output from the command execution. This stream contains events that provide real-time updates including standard output, standard error, and completion status.

Optional arguments:

iv_runtimesessionid TYPE /AWS1/BDCSESSIONID /AWS1/BDCSESSIONID

The unique identifier of the runtime session in which the command was executed.

iv_traceid TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The trace identifier for request tracking.

iv_traceparent TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The parent trace information for distributed tracing.

iv_tracestate TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The trace state information for distributed tracing.

iv_baggage TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

Additional context information for distributed tracing.

iv_statuscode TYPE /AWS1/BDCHTTPRESPONSECODE /AWS1/BDCHTTPRESPONSECODE

The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.


Queryable Attributes

runtimeSessionId

The unique identifier of the runtime session in which the command was executed.

Accessible with the following methods

Method Description
GET_RUNTIMESESSIONID() Getter for RUNTIMESESSIONID, with configurable default
ASK_RUNTIMESESSIONID() Getter for RUNTIMESESSIONID w/ exceptions if field has no va
HAS_RUNTIMESESSIONID() Determine if RUNTIMESESSIONID has a value

traceId

The trace identifier for request tracking.

Accessible with the following methods

Method Description
GET_TRACEID() Getter for TRACEID, with configurable default
ASK_TRACEID() Getter for TRACEID w/ exceptions if field has no value
HAS_TRACEID() Determine if TRACEID has a value

traceParent

The parent trace information for distributed tracing.

Accessible with the following methods

Method Description
GET_TRACEPARENT() Getter for TRACEPARENT, with configurable default
ASK_TRACEPARENT() Getter for TRACEPARENT w/ exceptions if field has no value
HAS_TRACEPARENT() Determine if TRACEPARENT has a value

traceState

The trace state information for distributed tracing.

Accessible with the following methods

Method Description
GET_TRACESTATE() Getter for TRACESTATE, with configurable default
ASK_TRACESTATE() Getter for TRACESTATE w/ exceptions if field has no value
HAS_TRACESTATE() Determine if TRACESTATE has a value

baggage

Additional context information for distributed tracing.

Accessible with the following methods

Method Description
GET_BAGGAGE() Getter for BAGGAGE, with configurable default
ASK_BAGGAGE() Getter for BAGGAGE w/ exceptions if field has no value
HAS_BAGGAGE() Determine if BAGGAGE has a value

contentType

The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.

Accessible with the following methods

Method Description
GET_CONTENTTYPE() Getter for CONTENTTYPE, with configurable default
ASK_CONTENTTYPE() Getter for CONTENTTYPE w/ exceptions if field has no value
HAS_CONTENTTYPE() Determine if CONTENTTYPE has a value

statusCode

The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.

Accessible with the following methods

Method Description
GET_STATUSCODE() Getter for STATUSCODE, with configurable default
ASK_STATUSCODE() Getter for STATUSCODE w/ exceptions if field has no value
HAS_STATUSCODE() Determine if STATUSCODE has a value

stream

The streaming output from the command execution. This stream contains events that provide real-time updates including standard output, standard error, and completion status.

Accessible with the following methods

Method Description
GET_STREAM() Getter for STREAM