/AWS1/CL_DMG=>DELETEREPLICATIONCONFIG()
¶
About DeleteReplicationConfig¶
Deletes an DMS Serverless replication configuration. This effectively deprovisions any and all replications that use this configuration. You can't delete the configuration for an DMS Serverless replication that is ongoing. You can delete the configuration when the replication is in a non-RUNNING and non-STARTING state.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_replicationconfigarn
TYPE /AWS1/DMGSTRING
/AWS1/DMGSTRING
¶
The replication config to delete.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_dmgdeletereplcfgrsp
/AWS1/CL_DMGDELETEREPLCFGRSP
¶
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->/aws1/if_dmg~deletereplicationconfig( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_replicationconfig = lo_result->get_replicationconfig( ).
IF lo_replicationconfig IS NOT INITIAL.
lv_string = lo_replicationconfig->get_replconfigidentifier( ).
lv_string = lo_replicationconfig->get_replicationconfigarn( ).
lv_string = lo_replicationconfig->get_sourceendpointarn( ).
lv_string = lo_replicationconfig->get_targetendpointarn( ).
lv_migrationtypevalue = lo_replicationconfig->get_replicationtype( ).
lo_computeconfig = lo_replicationconfig->get_computeconfig( ).
IF lo_computeconfig IS NOT INITIAL.
lv_string = lo_computeconfig->get_availabilityzone( ).
lv_string = lo_computeconfig->get_dnsnameservers( ).
lv_string = lo_computeconfig->get_kmskeyid( ).
lv_integeroptional = lo_computeconfig->get_maxcapacityunits( ).
lv_integeroptional = lo_computeconfig->get_mincapacityunits( ).
lv_booleanoptional = lo_computeconfig->get_multiaz( ).
lv_string = lo_computeconfig->get_preferredmaintenancewi00( ).
lv_string = lo_computeconfig->get_replicationsubnetgroupid( ).
LOOP AT lo_computeconfig->get_vpcsecuritygroupids( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
lv_string = lo_replicationconfig->get_replicationsettings( ).
lv_string = lo_replicationconfig->get_supplementalsettings( ).
lv_string = lo_replicationconfig->get_tablemappings( ).
lv_tstamp = lo_replicationconfig->get_replconfigcreatetime( ).
lv_tstamp = lo_replicationconfig->get_replconfigupdatetime( ).
ENDIF.
ENDIF.