Skip to content

/AWS1/IF_RBM=>REGISTERROBOT()

About RegisterRobot

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Registers a robot with a fleet.

This API is no longer supported and will throw an error if used. For more information, see the January 31, 2022 update in the Support policy page.

Method Signature

METHODS /AWS1/IF_RBM~REGISTERROBOT
  IMPORTING
    !IV_FLEET TYPE /AWS1/RBMARN OPTIONAL
    !IV_ROBOT TYPE /AWS1/RBMARN OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_rbmregrobotresponse
  RAISING
    /AWS1/CX_RBMINTERNALSERVEREX
    /AWS1/CX_RBMINVALIDPARAMETEREX
    /AWS1/CX_RBMLIMITEXCEEDEDEX
    /AWS1/CX_RBMRESOURCENOTFOUNDEX
    /AWS1/CX_RBMTHROTTLINGEX
    /AWS1/CX_RBMCLIENTEXC
    /AWS1/CX_RBMSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_fleet TYPE /AWS1/RBMARN /AWS1/RBMARN

The Amazon Resource Name (ARN) of the fleet.

iv_robot TYPE /AWS1/RBMARN /AWS1/RBMARN

The Amazon Resource Name (ARN) of the robot.

RETURNING

oo_output TYPE REF TO /aws1/cl_rbmregrobotresponse /AWS1/CL_RBMREGROBOTRESPONSE

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->registerrobot(
  iv_fleet = |string|
  iv_robot = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_arn = lo_result->get_fleet( ).
  lv_arn = lo_result->get_robot( ).
ENDIF.