/AWS1/IF_DPL=>DELETERESOURCESBYEXTERNALID()¶
About DeleteResourcesByExternalId¶
Deletes resources linked to an external ID. This action only applies if you have configured blue/green deployments through CloudFormation.
It is not necessary to call this action directly. CloudFormation calls it on your behalf when it needs to delete stack resources. This action is offered publicly in case you need to delete resources to comply with General Data Protection Regulation (GDPR) requirements.
Method Signature¶
METHODS /AWS1/IF_DPL~DELETERESOURCESBYEXTERNALID
IMPORTING
!IV_EXTERNALID TYPE /AWS1/DPLEXTERNALID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dpldelresrcsbyexter01
RAISING
/AWS1/CX_DPLCLIENTEXC
/AWS1/CX_DPLSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_externalid TYPE /AWS1/DPLEXTERNALID /AWS1/DPLEXTERNALID¶
The unique ID of an external resource (for example, a CloudFormation stack ID) that is linked to one or more CodeDeploy resources.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dpldelresrcsbyexter01 /AWS1/CL_DPLDELRESRCSBYEXTER01¶
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->deleteresourcesbyexternalid( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.