/AWS1/IF_GST=>UPDATEAGENTSTATUS()¶
About UpdateAgentStatus¶
For use by AWS Ground Station Agent and shouldn't be called directly.
Update the status of the agent.
Method Signature¶
METHODS /AWS1/IF_GST~UPDATEAGENTSTATUS
IMPORTING
!IV_AGENTID TYPE /AWS1/GSTUUID OPTIONAL
!IV_TASKID TYPE /AWS1/GSTUUID OPTIONAL
!IO_AGGREGATESTATUS TYPE REF TO /AWS1/CL_GSTAGGREGATESTATUS OPTIONAL
!IT_COMPONENTSTATUSES TYPE /AWS1/CL_GSTCOMPONENTSTATDATA=>TT_COMPONENTSTATUSLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_gstupdagentstatusrsp
RAISING
/AWS1/CX_GSTDEPENDENCYEX
/AWS1/CX_GSTINVALIDPARAMETEREX
/AWS1/CX_GSTRESOURCENOTFOUNDEX
/AWS1/CX_GSTCLIENTEXC
/AWS1/CX_GSTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_agentid TYPE /AWS1/GSTUUID /AWS1/GSTUUID¶
UUID of agent to update.
iv_taskid TYPE /AWS1/GSTUUID /AWS1/GSTUUID¶
GUID of agent task.
io_aggregatestatus TYPE REF TO /AWS1/CL_GSTAGGREGATESTATUS /AWS1/CL_GSTAGGREGATESTATUS¶
Aggregate status for agent.
it_componentstatuses TYPE /AWS1/CL_GSTCOMPONENTSTATDATA=>TT_COMPONENTSTATUSLIST TT_COMPONENTSTATUSLIST¶
List of component statuses for agent.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_gstupdagentstatusrsp /AWS1/CL_GSTUPDAGENTSTATUSRSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->updateagentstatus(
io_aggregatestatus = new /aws1/cl_gstaggregatestatus(
it_signaturemap = VALUE /aws1/cl_gstsignaturemap_w=>tt_signaturemap(
(
VALUE /aws1/cl_gstsignaturemap_w=>ts_signaturemap_maprow(
value = new /aws1/cl_gstsignaturemap_w( ABAP_TRUE )
key = |string|
)
)
)
iv_status = |string|
)
it_componentstatuses = VALUE /aws1/cl_gstcomponentstatdata=>tt_componentstatuslist(
(
new /aws1/cl_gstcomponentstatdata(
iv_bytesreceived = 123
iv_bytessent = 123
iv_capabilityarn = |string|
iv_componenttype = |string|
iv_dataflowid = |string|
iv_packetsdropped = 123
iv_status = |string|
)
)
)
iv_agentid = |string|
iv_taskid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_uuid = lo_result->get_agentid( ).
ENDIF.