/AWS1/IF_R5R=>UPDATEOUTPOSTRESOLVER()¶
About UpdateOutpostResolver¶
You can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost.
Method Signature¶
METHODS /AWS1/IF_R5R~UPDATEOUTPOSTRESOLVER
IMPORTING
!IV_ID TYPE /AWS1/R5RRESOURCEID OPTIONAL
!IV_NAME TYPE /AWS1/R5ROUTPOSTRESOLVERNAME OPTIONAL
!IV_INSTANCECOUNT TYPE /AWS1/R5RINSTANCECOUNT OPTIONAL
!IV_PREFERREDINSTANCETYPE TYPE /AWS1/R5ROUTPOSTINSTANCETYPE OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5rupoutpostresolve01
RAISING
/AWS1/CX_R5RACCESSDENIEDEX
/AWS1/CX_R5RCONFLICTEXCEPTION
/AWS1/CX_R5RINTERNALSVCERROREX
/AWS1/CX_R5RRESOURCENOTFOUNDEX
/AWS1/CX_R5RSERVICEQUOTAEXCDEX
/AWS1/CX_R5RTHROTTLINGEX
/AWS1/CX_R5RVALIDATIONEX
/AWS1/CX_R5RCLIENTEXC
/AWS1/CX_R5RSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_id TYPE /AWS1/R5RRESOURCEID /AWS1/R5RRESOURCEID¶
A unique string that identifies Resolver on an Outpost.
Optional arguments:¶
iv_name TYPE /AWS1/R5ROUTPOSTRESOLVERNAME /AWS1/R5ROUTPOSTRESOLVERNAME¶
Name of the Resolver on the Outpost.
iv_instancecount TYPE /AWS1/R5RINSTANCECOUNT /AWS1/R5RINSTANCECOUNT¶
The Amazon EC2 instance count for a Resolver on the Outpost.
iv_preferredinstancetype TYPE /AWS1/R5ROUTPOSTINSTANCETYPE /AWS1/R5ROUTPOSTINSTANCETYPE¶
Amazon EC2 instance type.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5rupoutpostresolve01 /AWS1/CL_R5RUPOUTPOSTRESOLVE01¶
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->updateoutpostresolver(
iv_id = |string|
iv_instancecount = 123
iv_name = |string|
iv_preferredinstancetype = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_outpostresolver = lo_result->get_outpostresolver( ).
IF lo_outpostresolver IS NOT INITIAL.
lv_arn = lo_outpostresolver->get_arn( ).
lv_rfc3339timestring = lo_outpostresolver->get_creationtime( ).
lv_rfc3339timestring = lo_outpostresolver->get_modificationtime( ).
lv_creatorrequestid = lo_outpostresolver->get_creatorrequestid( ).
lv_resourceid = lo_outpostresolver->get_id( ).
lv_instancecount = lo_outpostresolver->get_instancecount( ).
lv_outpostinstancetype = lo_outpostresolver->get_preferredinstancetype( ).
lv_outpostresolvername = lo_outpostresolver->get_name( ).
lv_outpostresolverstatus = lo_outpostresolver->get_status( ).
lv_outpostresolverstatusme = lo_outpostresolver->get_statusmessage( ).
lv_outpostarn = lo_outpostresolver->get_outpostarn( ).
ENDIF.
ENDIF.