/AWS1/IF_PRN=>NOTIFYRESRCDEPLOYMENTSTATC00()¶
About NotifyResourceDeploymentStatusChange¶
Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.
For more information, see Self-managed provisioning in the Proton User Guide.
Method Signature¶
METHODS /AWS1/IF_PRN~NOTIFYRESRCDEPLOYMENTSTATC00
IMPORTING
!IV_RESOURCEARN TYPE /AWS1/PRNARN OPTIONAL
!IV_STATUS TYPE /AWS1/PRNRESRCDEPLOYMENTSTATUS OPTIONAL
!IT_OUTPUTS TYPE /AWS1/CL_PRNOUTPUT=>TT_OUTPUTSLIST OPTIONAL
!IV_DEPLOYMENTID TYPE /AWS1/PRNDEPLOYMENTID OPTIONAL
!IV_STATUSMESSAGE TYPE /AWS1/PRNSTATUSMESSAGE OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_prnnotifyresrcdeplo01
RAISING
/AWS1/CX_PRNACCESSDENIEDEX
/AWS1/CX_PRNCONFLICTEXCEPTION
/AWS1/CX_PRNINTERNALSERVEREX
/AWS1/CX_PRNRESOURCENOTFOUNDEX
/AWS1/CX_PRNSERVICEQUOTAEXCDEX
/AWS1/CX_PRNTHROTTLINGEX
/AWS1/CX_PRNVALIDATIONEX
/AWS1/CX_PRNCLIENTEXC
/AWS1/CX_PRNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_resourcearn TYPE /AWS1/PRNARN /AWS1/PRNARN¶
The provisioned resource Amazon Resource Name (ARN).
Optional arguments:¶
iv_status TYPE /AWS1/PRNRESRCDEPLOYMENTSTATUS /AWS1/PRNRESRCDEPLOYMENTSTATUS¶
The status of your provisioned resource.
it_outputs TYPE /AWS1/CL_PRNOUTPUT=>TT_OUTPUTSLIST TT_OUTPUTSLIST¶
The provisioned resource state change detail data that's returned by Proton.
iv_deploymentid TYPE /AWS1/PRNDEPLOYMENTID /AWS1/PRNDEPLOYMENTID¶
The deployment ID for your provisioned resource.
iv_statusmessage TYPE /AWS1/PRNSTATUSMESSAGE /AWS1/PRNSTATUSMESSAGE¶
The deployment status message for your provisioned resource.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_prnnotifyresrcdeplo01 /AWS1/CL_PRNNOTIFYRESRCDEPLO01¶
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->notifyresrcdeploymentstatc00(
it_outputs = VALUE /aws1/cl_prnoutput=>tt_outputslist(
(
new /aws1/cl_prnoutput(
iv_key = |string|
iv_valuestring = |string|
)
)
)
iv_deploymentid = |string|
iv_resourcearn = |string|
iv_status = |string|
iv_statusmessage = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.