/AWS1/IF_CRM=>CREATEIDMAPPINGTABLE()¶
About CreateIdMappingTable¶
Creates an ID mapping table.
Method Signature¶
METHODS /AWS1/IF_CRM~CREATEIDMAPPINGTABLE
IMPORTING
!IV_MEMBERSHIPIDENTIFIER TYPE /AWS1/CRMMEMBERSHIPIDENTIFIER OPTIONAL
!IV_NAME TYPE /AWS1/CRMRESOURCEALIAS OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/CRMRESOURCEDESCRIPTION OPTIONAL
!IO_INPUTREFERENCECONFIG TYPE REF TO /AWS1/CL_CRMIDMAPTBLINPREFER00 OPTIONAL
!IT_TAGS TYPE /AWS1/CL_CRMTAGMAP_W=>TT_TAGMAP OPTIONAL
!IV_KMSKEYARN TYPE /AWS1/CRMKMSKEYARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_crmcreidmaptableout
RAISING
/AWS1/CX_CRMACCESSDENIEDEX
/AWS1/CX_CRMCONFLICTEXCEPTION
/AWS1/CX_CRMINTERNALSERVEREX
/AWS1/CX_CRMRESOURCENOTFOUNDEX
/AWS1/CX_CRMSERVICEQUOTAEXCDEX
/AWS1/CX_CRMTHROTTLINGEX
/AWS1/CX_CRMVALIDATIONEX
/AWS1/CX_CRMCLIENTEXC
/AWS1/CX_CRMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_membershipidentifier TYPE /AWS1/CRMMEMBERSHIPIDENTIFIER /AWS1/CRMMEMBERSHIPIDENTIFIER¶
The unique identifier of the membership that contains the ID mapping table.
iv_name TYPE /AWS1/CRMRESOURCEALIAS /AWS1/CRMRESOURCEALIAS¶
A name for the ID mapping table.
io_inputreferenceconfig TYPE REF TO /AWS1/CL_CRMIDMAPTBLINPREFER00 /AWS1/CL_CRMIDMAPTBLINPREFER00¶
The input reference configuration needed to create the ID mapping table.
Optional arguments:¶
iv_description TYPE /AWS1/CRMRESOURCEDESCRIPTION /AWS1/CRMRESOURCEDESCRIPTION¶
A description of the ID mapping table.
it_tags TYPE /AWS1/CL_CRMTAGMAP_W=>TT_TAGMAP TT_TAGMAP¶
An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
iv_kmskeyarn TYPE /AWS1/CRMKMSKEYARN /AWS1/CRMKMSKEYARN¶
The Amazon Resource Name (ARN) of the Amazon Web Services KMS key. This value is used to encrypt the mapping table data that is stored by Clean Rooms.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_crmcreidmaptableout /AWS1/CL_CRMCREIDMAPTABLEOUT¶
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->createidmappingtable(
io_inputreferenceconfig = new /aws1/cl_crmidmaptblinprefer00(
iv_inputreferencearn = |string|
iv_manageresourcepolicies = ABAP_TRUE
)
it_tags = VALUE /aws1/cl_crmtagmap_w=>tt_tagmap(
(
VALUE /aws1/cl_crmtagmap_w=>ts_tagmap_maprow(
key = |string|
value = new /aws1/cl_crmtagmap_w( |string| )
)
)
)
iv_description = |string|
iv_kmskeyarn = |string|
iv_membershipidentifier = |string|
iv_name = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_idmappingtable = lo_result->get_idmappingtable( ).
IF lo_idmappingtable IS NOT INITIAL.
lv_uuid = lo_idmappingtable->get_id( ).
lv_idmappingtablearn = lo_idmappingtable->get_arn( ).
lo_idmappingtableinputrefe = lo_idmappingtable->get_inputreferenceconfig( ).
IF lo_idmappingtableinputrefe IS NOT INITIAL.
lv_idmappingtableinputrefe_1 = lo_idmappingtableinputrefe->get_inputreferencearn( ).
lv_boolean = lo_idmappingtableinputrefe->get_manageresourcepolicies( ).
ENDIF.
lv_uuid = lo_idmappingtable->get_membershipid( ).
lv_membershiparn = lo_idmappingtable->get_membershiparn( ).
lv_uuid = lo_idmappingtable->get_collaborationid( ).
lv_collaborationarn = lo_idmappingtable->get_collaborationarn( ).
lv_resourcedescription = lo_idmappingtable->get_description( ).
lv_resourcealias = lo_idmappingtable->get_name( ).
lv_timestamp = lo_idmappingtable->get_createtime( ).
lv_timestamp = lo_idmappingtable->get_updatetime( ).
lo_idmappingtableinputrefe_2 = lo_idmappingtable->get_inputreferenceproperties( ).
IF lo_idmappingtableinputrefe_2 IS NOT INITIAL.
LOOP AT lo_idmappingtableinputrefe_2->get_idmaptableinputsource( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_idnamespaceassociationid( ).
lv_idnamespacetype = lo_row_1->get_type( ).
ENDIF.
ENDLOOP.
ENDIF.
lv_kmskeyarn = lo_idmappingtable->get_kmskeyarn( ).
ENDIF.
ENDIF.