/AWS1/IF_VL=>UPDATESERVICE()¶
About UpdateService¶
Updates the specified service.
Method Signature¶
METHODS /AWS1/IF_VL~UPDATESERVICE
IMPORTING
!IV_SERVICEIDENTIFIER TYPE /AWS1/VL_SERVICEIDENTIFIER OPTIONAL
!IV_CERTIFICATEARN TYPE /AWS1/VL_CERTIFICATEARN OPTIONAL
!IV_AUTHTYPE TYPE /AWS1/VL_AUTHTYPE OPTIONAL
!IV_IDLETIMEOUTSECONDS TYPE /AWS1/VL_IDLETIMEOUTSECONDS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_vl_updateservicersp
RAISING
/AWS1/CX_VL_ACCESSDENIEDEX
/AWS1/CX_VL_CONFLICTEXCEPTION
/AWS1/CX_VL_INTERNALSERVEREX
/AWS1/CX_VL_RESOURCENOTFOUNDEX
/AWS1/CX_VL_SERVICEQUOTAEXCDEX
/AWS1/CX_VL_THROTTLINGEX
/AWS1/CX_VL_VALIDATIONEX
/AWS1/CX_VL_CLIENTEXC
/AWS1/CX_VL_SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_serviceidentifier TYPE /AWS1/VL_SERVICEIDENTIFIER /AWS1/VL_SERVICEIDENTIFIER¶
The ID or ARN of the service.
Optional arguments:¶
iv_certificatearn TYPE /AWS1/VL_CERTIFICATEARN /AWS1/VL_CERTIFICATEARN¶
The Amazon Resource Name (ARN) of the certificate.
iv_authtype TYPE /AWS1/VL_AUTHTYPE /AWS1/VL_AUTHTYPE¶
The type of IAM policy.
NONE: The resource does not use an IAM policy. This is the default.
AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
iv_idletimeoutseconds TYPE /AWS1/VL_IDLETIMEOUTSECONDS /AWS1/VL_IDLETIMEOUTSECONDS¶
The amount of time, in seconds, that a connection can remain idle (no data sent) before VPC Lattice closes it. The valid range is 60 to 600 seconds. If you don't specify a value, the default is 60 seconds. This setting does not change the maximum connection duration of 10 minutes; connections are still closed when they reach that limit.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_vl_updateservicersp /AWS1/CL_VL_UPDATESERVICERSP¶
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->updateservice(
iv_authtype = |string|
iv_certificatearn = |string|
iv_idletimeoutseconds = 123
iv_serviceidentifier = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_serviceid = lo_result->get_id( ).
lv_servicearn = lo_result->get_arn( ).
lv_servicename = lo_result->get_name( ).
lv_servicecustomdomainname = lo_result->get_customdomainname( ).
lv_certificatearn = lo_result->get_certificatearn( ).
lv_authtype = lo_result->get_authtype( ).
lv_idletimeoutseconds = lo_result->get_idletimeoutseconds( ).
ENDIF.