Skip to content

/AWS1/IF_MPB=>UPDATERESPONDERGATEWAY()

About UpdateResponderGateway

Updates a responder gateway.

Method Signature

METHODS /AWS1/IF_MPB~UPDATERESPONDERGATEWAY
  IMPORTING
    !IV_DOMAINNAME TYPE /AWS1/MPBDOMAINNAME OPTIONAL
    !IV_PORT TYPE /AWS1/MPBINTEGER OPTIONAL
    !IV_PROTOCOL TYPE /AWS1/MPBPROTOCOL OPTIONAL
    !IO_LISTENERCONFIG TYPE REF TO /AWS1/CL_MPBLISTENERCONFIG OPTIONAL
    !IO_TRUSTSTORECONFIGURATION TYPE REF TO /AWS1/CL_MPBTRUSTSTORECONF OPTIONAL
    !IO_MANAGEDENDPOINTCONF TYPE REF TO /AWS1/CL_MPBMANAGEDENDPTCONF OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/MPBSTRING OPTIONAL
    !IV_GATEWAYID TYPE /AWS1/MPBGATEWAYID OPTIONAL
    !IV_DESCRIPTION TYPE /AWS1/MPBSTRING OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_mpbupdaterespgwrsp
  RAISING
    /AWS1/CX_MPBACCESSDENIEDEX
    /AWS1/CX_MPBCONFLICTEXCEPTION
    /AWS1/CX_MPBINTERNALSERVEREX
    /AWS1/CX_MPBRESOURCENOTFOUNDEX
    /AWS1/CX_MPBTHROTTLINGEX
    /AWS1/CX_MPBVALIDATIONEX
    /AWS1/CX_MPBCLIENTEXC
    /AWS1/CX_MPBSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_port TYPE /AWS1/MPBINTEGER /AWS1/MPBINTEGER

The networking port to use.

iv_protocol TYPE /AWS1/MPBPROTOCOL /AWS1/MPBPROTOCOL

The networking protocol to use.

iv_clienttoken TYPE /AWS1/MPBSTRING /AWS1/MPBSTRING

The unique client token.

iv_gatewayid TYPE /AWS1/MPBGATEWAYID /AWS1/MPBGATEWAYID

The unique identifier of the gateway.

Optional arguments:

iv_domainname TYPE /AWS1/MPBDOMAINNAME /AWS1/MPBDOMAINNAME

The domain name for the responder gateway.

io_listenerconfig TYPE REF TO /AWS1/CL_MPBLISTENERCONFIG /AWS1/CL_MPBLISTENERCONFIG

The listener configuration for the responder gateway.

io_truststoreconfiguration TYPE REF TO /AWS1/CL_MPBTRUSTSTORECONF /AWS1/CL_MPBTRUSTSTORECONF

The configuration of the trust store.

io_managedendpointconf TYPE REF TO /AWS1/CL_MPBMANAGEDENDPTCONF /AWS1/CL_MPBMANAGEDENDPTCONF

The configuration for the managed endpoint.

iv_description TYPE /AWS1/MPBSTRING /AWS1/MPBSTRING

An optional description for the responder gateway.

RETURNING

oo_output TYPE REF TO /aws1/cl_mpbupdaterespgwrsp /AWS1/CL_MPBUPDATERESPGWRSP

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->updaterespondergateway(
  io_listenerconfig = new /aws1/cl_mpblistenerconfig(
    it_protocols = VALUE /aws1/cl_mpbprotocollist_w=>tt_protocollist(
      ( new /aws1/cl_mpbprotocollist_w( |string| ) )
    )
  )
  io_managedendpointconf = new /aws1/cl_mpbmanagedendptconf(
    io_autoscalinggroups = new /aws1/cl_mpbautoscgroupsconf(
      io_healthcheckconfig = new /aws1/cl_mpbhealthcheckconfig(
        iv_healthythresholdcount = 123
        iv_intervalseconds = 123
        iv_path = |string|
        iv_port = 123
        iv_protocol = |string|
        iv_statuscodematcher = |string|
        iv_timeoutms = 123
        iv_unhealthythresholdcount = 123
      )
      it_autoscalinggroupnames = VALUE /aws1/cl_mpbautoscgrpnamelst_w=>tt_autoscalinggroupnamelist(
        ( new /aws1/cl_mpbautoscgrpnamelst_w( |string| ) )
      )
      iv_rolearn = |string|
    )
    io_eksendpoints = new /aws1/cl_mpbeksendpointsconf(
      iv_clustapiservercacertchain = |string|
      iv_clusterapiserverendpturi = |string|
      iv_clustername = |string|
      iv_endpointsresourcename = |string|
      iv_endptsresourcenamespace = |string|
      iv_rolearn = |string|
    )
  )
  io_truststoreconfiguration = new /aws1/cl_mpbtruststoreconf(
    it_certauthoritycerts = VALUE /aws1/cl_mpbcrtauthoritycrts_w=>tt_certauthoritycerts(
      ( new /aws1/cl_mpbcrtauthoritycrts_w( |string| ) )
    )
  )
  iv_clienttoken = |string|
  iv_description = |string|
  iv_domainname = |string|
  iv_gatewayid = |string|
  iv_port = 123
  iv_protocol = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_gatewayid = lo_result->get_gatewayid( ).
  lv_respondergatewaystatus = lo_result->get_status( ).
ENDIF.

Update responder gateway

Update responder gateway

DATA(lo_result) = lo_client->updaterespondergateway(
  iv_clienttoken = |12345678-1234-1234-1234-123456789012|
  iv_description = |Updated responder gateway description|
  iv_gatewayid = |rtb-gw-12345678|
  iv_port = 8080
  iv_protocol = |HTTP|
).