/AWS1/IF_R5P=>UPDATEPFLRESOURCEASSOCIATION()¶
About UpdateProfileResourceAssociation¶
Updates the specified Route 53 Profile resourse association.
Method Signature¶
METHODS /AWS1/IF_R5P~UPDATEPFLRESOURCEASSOCIATION
IMPORTING
!IV_PFLRESOURCEASSOCIATIONID TYPE /AWS1/R5PRESOURCEID OPTIONAL
!IV_NAME TYPE /AWS1/R5PNAME OPTIONAL
!IV_RESOURCEPROPERTIES TYPE /AWS1/R5PRESOURCEPROPERTIES OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5puppflresrcassoci01
RAISING
/AWS1/CX_R5PACCESSDENIEDEX
/AWS1/CX_R5PCONFLICTEXCEPTION
/AWS1/CX_R5PINTERNALSVCERROREX
/AWS1/CX_R5PINVALIDPARAMETEREX
/AWS1/CX_R5PLIMITEXCEEDEDEX
/AWS1/CX_R5PRESOURCENOTFOUNDEX
/AWS1/CX_R5PTHROTTLINGEX
/AWS1/CX_R5PVALIDATIONEX
/AWS1/CX_R5PCLIENTEXC
/AWS1/CX_R5PSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_pflresourceassociationid TYPE /AWS1/R5PRESOURCEID /AWS1/R5PRESOURCEID¶
ID of the resource association.
Optional arguments:¶
iv_name TYPE /AWS1/R5PNAME /AWS1/R5PNAME¶
Name of the resource association.
iv_resourceproperties TYPE /AWS1/R5PRESOURCEPROPERTIES /AWS1/R5PRESOURCEPROPERTIES¶
If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value.
The allowed values for priority are between 100 and 9900.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5puppflresrcassoci01 /AWS1/CL_R5PUPPFLRESRCASSOCI01¶
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->updatepflresourceassociation(
iv_name = |string|
iv_pflresourceassociationid = |string|
iv_resourceproperties = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_profileresourceassociat = lo_result->get_pflresourceassociation( ).
IF lo_profileresourceassociat IS NOT INITIAL.
lv_resourceid = lo_profileresourceassociat->get_id( ).
lv_name = lo_profileresourceassociat->get_name( ).
lv_accountid = lo_profileresourceassociat->get_ownerid( ).
lv_resourceid = lo_profileresourceassociat->get_profileid( ).
lv_arn = lo_profileresourceassociat->get_resourcearn( ).
lv_string = lo_profileresourceassociat->get_resourcetype( ).
lv_resourceproperties = lo_profileresourceassociat->get_resourceproperties( ).
lv_profilestatus = lo_profileresourceassociat->get_status( ).
lv_string = lo_profileresourceassociat->get_statusmessage( ).
lv_rfc3339timestamp = lo_profileresourceassociat->get_creationtime( ).
lv_rfc3339timestamp = lo_profileresourceassociat->get_modificationtime( ).
ENDIF.
ENDIF.