/AWS1/IF_R5R=>CREATEOUTPOSTRESOLVER()¶
About CreateOutpostResolver¶
Creates a Route 53 Resolver on an Outpost.
Method Signature¶
METHODS /AWS1/IF_R5R~CREATEOUTPOSTRESOLVER
IMPORTING
!IV_CREATORREQUESTID TYPE /AWS1/R5RCREATORREQUESTID OPTIONAL
!IV_NAME TYPE /AWS1/R5ROUTPOSTRESOLVERNAME OPTIONAL
!IV_INSTANCECOUNT TYPE /AWS1/R5RINSTANCECOUNT OPTIONAL
!IV_PREFERREDINSTANCETYPE TYPE /AWS1/R5ROUTPOSTINSTANCETYPE OPTIONAL
!IV_OUTPOSTARN TYPE /AWS1/R5ROUTPOSTARN OPTIONAL
!IT_TAGS TYPE /AWS1/CL_R5RTAG=>TT_TAGLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5rcreoutpostresolv01
RAISING
/AWS1/CX_R5RACCESSDENIEDEX
/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_creatorrequestid TYPE /AWS1/R5RCREATORREQUESTID /AWS1/R5RCREATORREQUESTID¶
A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp.
iv_name TYPE /AWS1/R5ROUTPOSTRESOLVERNAME /AWS1/R5ROUTPOSTRESOLVERNAME¶
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
iv_preferredinstancetype TYPE /AWS1/R5ROUTPOSTINSTANCETYPE /AWS1/R5ROUTPOSTINSTANCETYPE¶
The Amazon EC2 instance type. If you specify this, you must also specify a value for the
OutpostArn.
iv_outpostarn TYPE /AWS1/R5ROUTPOSTARN /AWS1/R5ROUTPOSTARN¶
The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the
PreferredInstanceType.
Optional arguments:¶
iv_instancecount TYPE /AWS1/R5RINSTANCECOUNT /AWS1/R5RINSTANCECOUNT¶
Number of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4.
it_tags TYPE /AWS1/CL_R5RTAG=>TT_TAGLIST TT_TAGLIST¶
A string that helps identify the Route 53 Resolvers on Outpost.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5rcreoutpostresolv01 /AWS1/CL_R5RCREOUTPOSTRESOLV01¶
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->createoutpostresolver(
it_tags = VALUE /aws1/cl_r5rtag=>tt_taglist(
(
new /aws1/cl_r5rtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_creatorrequestid = |string|
iv_instancecount = 123
iv_name = |string|
iv_outpostarn = |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.