Skip to content

/AWS1/IF_DPL=>REGISTERONPREMISESINSTANCE()

About RegisterOnPremisesInstance

Registers an on-premises instance.

Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.

Method Signature

METHODS /AWS1/IF_DPL~REGISTERONPREMISESINSTANCE
  IMPORTING
    !IV_INSTANCENAME TYPE /AWS1/DPLINSTANCENAME OPTIONAL
    !IV_IAMSESSIONARN TYPE /AWS1/DPLIAMSESSIONARN OPTIONAL
    !IV_IAMUSERARN TYPE /AWS1/DPLIAMUSERARN OPTIONAL
  RAISING
    /AWS1/CX_DPLIAMARNREQUIREDEX
    /AWS1/CX_DPLIAMSESSARNALRREG00
    /AWS1/CX_DPLIAMUSERARNALRREG00
    /AWS1/CX_DPLIAMUSERARNREQUIR00
    /AWS1/CX_DPLINSTNAMEALRREGEDEX
    /AWS1/CX_DPLINSTNAMEREQUIREDEX
    /AWS1/CX_DPLINVIAMSESSARNEX
    /AWS1/CX_DPLINVIAMUSERARNEX
    /AWS1/CX_DPLINVALIDINSTNAMEEX
    /AWS1/CX_DPLMULTIPLEIAMARNSP00
    /AWS1/CX_DPLCLIENTEXC
    /AWS1/CX_DPLSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_instancename TYPE /AWS1/DPLINSTANCENAME /AWS1/DPLINSTANCENAME

The name of the on-premises instance to register.

Optional arguments:

iv_iamsessionarn TYPE /AWS1/DPLIAMSESSIONARN /AWS1/DPLIAMSESSIONARN

The ARN of the IAM session to associate with the on-premises instance.

iv_iamuserarn TYPE /AWS1/DPLIAMUSERARN /AWS1/DPLIAMUSERARN

The ARN of the user to associate with the on-premises instance.

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.

lo_client->registeronpremisesinstance(
  iv_iamsessionarn = |string|
  iv_iamuserarn = |string|
  iv_instancename = |string|
).