/AWS1/IF_SSA=>ADDREGION()¶
About AddRegion¶
Adds a Region to an IAM Identity Center instance. This operation initiates an asynchronous workflow to replicate the IAM Identity Center instance to the target Region. The Region status is set to ADDING at first and changes to ACTIVE when the workflow completes.
To use this operation, your IAM Identity Center instance and the target Region must meet the requirements described in the IAM Identity Center User Guide.
The following actions are related to AddRegion:
Method Signature¶
METHODS /AWS1/IF_SSA~ADDREGION
IMPORTING
!IV_INSTANCEARN TYPE /AWS1/SSAINSTANCEARN OPTIONAL
!IV_REGIONNAME TYPE /AWS1/SSAREGIONNAME OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ssaaddregionresponse
RAISING
/AWS1/CX_SSAACCESSDENIEDEX
/AWS1/CX_SSACONFLICTEXCEPTION
/AWS1/CX_SSAINTERNALSERVEREX
/AWS1/CX_SSASERVICEQUOTAEXCDEX
/AWS1/CX_SSATHROTTLINGEX
/AWS1/CX_SSAVALIDATIONEX
/AWS1/CX_SSACLIENTEXC
/AWS1/CX_SSASERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_instancearn TYPE /AWS1/SSAINSTANCEARN /AWS1/SSAINSTANCEARN¶
The Amazon Resource Name (ARN) of the IAM Identity Center instance to replicate to the target Region.
iv_regionname TYPE /AWS1/SSAREGIONNAME /AWS1/SSAREGIONNAME¶
The name of the Amazon Web Services Region to add to the IAM Identity Center instance. The Region name must be 1-32 characters long and follow the pattern of Amazon Web Services Region names (for example, us-east-1).
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ssaaddregionresponse /AWS1/CL_SSAADDREGIONRESPONSE¶
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->addregion(
iv_instancearn = |string|
iv_regionname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_regionstatus = lo_result->get_status( ).
ENDIF.