/AWS1/IF_SSA=>REMOVEREGION()¶
About RemoveRegion¶
Removes an additional Region from an IAM Identity Center instance. This operation initiates an asynchronous workflow to clean up IAM Identity Center resources in the specified additional Region. The Region status is set to REMOVING and the Region record is deleted when the workflow completes. The request must be made from the primary Region. The target Region cannot be the primary Region, and no other add or remove Region workflows can be in progress.
The following actions are related to RemoveRegion:
Method Signature¶
METHODS /AWS1/IF_SSA~REMOVEREGION
IMPORTING
!IV_INSTANCEARN TYPE /AWS1/SSAINSTANCEARN OPTIONAL
!IV_REGIONNAME TYPE /AWS1/SSAREGIONNAME OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ssaremoveregionrsp
RAISING
/AWS1/CX_SSAACCESSDENIEDEX
/AWS1/CX_SSACONFLICTEXCEPTION
/AWS1/CX_SSAINTERNALSERVEREX
/AWS1/CX_SSARESOURCENOTFOUNDEX
/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.
iv_regionname TYPE /AWS1/SSAREGIONNAME /AWS1/SSAREGIONNAME¶
The name of the Amazon Web Services Region to remove from 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). The primary Region cannot be removed.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ssaremoveregionrsp /AWS1/CL_SSAREMOVEREGIONRSP¶
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->removeregion(
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.