Skip to content

/AWS1/IF_QST=>UPDATEACTIONCONNECTOR()

About UpdateActionConnector

Updates an existing action connector with new configuration details, authentication settings, or enabled actions. You can modify the connector's name, description, authentication configuration, and which actions are enabled. For more information, https://docs.aws.amazon.com/quicksuite/latest/userguide/quick-action-auth.html.

Method Signature

METHODS /AWS1/IF_QST~UPDATEACTIONCONNECTOR
  IMPORTING
    !IV_AWSACCOUNTID TYPE /AWS1/QSTAWSACCOUNTID OPTIONAL
    !IV_ACTIONCONNECTORID TYPE /AWS1/QSTSHORTRESTRICTIVERES00 OPTIONAL
    !IV_NAME TYPE /AWS1/QSTACTIONCONNECTORNAME OPTIONAL
    !IO_AUTHENTICATIONCONFIG TYPE REF TO /AWS1/CL_QSTAUTHCONFIG OPTIONAL
    !IV_DESCRIPTION TYPE /AWS1/QSTACTIONCONNECTORDESC OPTIONAL
    !IV_VPCCONNECTIONARN TYPE /AWS1/QSTARN OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_qstupdateactcnctorrsp
  RAISING
    /AWS1/CX_QSTACCESSDENIEDEX
    /AWS1/CX_QSTCONFLICTEXCEPTION
    /AWS1/CX_QSTINTERNALFAILUREEX
    /AWS1/CX_QSTINVPARAMVALUEEX
    /AWS1/CX_QSTRESOURCENOTFOUNDEX
    /AWS1/CX_QSTTHROTTLINGEX
    /AWS1/CX_QSTCLIENTEXC
    /AWS1/CX_QSTSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_awsaccountid TYPE /AWS1/QSTAWSACCOUNTID /AWS1/QSTAWSACCOUNTID

The Amazon Web Services account ID that contains the action connector to update.

iv_actionconnectorid TYPE /AWS1/QSTSHORTRESTRICTIVERES00 /AWS1/QSTSHORTRESTRICTIVERES00

The unique identifier of the action connector to update.

iv_name TYPE /AWS1/QSTACTIONCONNECTORNAME /AWS1/QSTACTIONCONNECTORNAME

The new name for the action connector.

io_authenticationconfig TYPE REF TO /AWS1/CL_QSTAUTHCONFIG /AWS1/CL_QSTAUTHCONFIG

The updated authentication configuration for connecting to the external service.

Optional arguments:

iv_description TYPE /AWS1/QSTACTIONCONNECTORDESC /AWS1/QSTACTIONCONNECTORDESC

The updated description of the action connector.

iv_vpcconnectionarn TYPE /AWS1/QSTARN /AWS1/QSTARN

The updated ARN of the VPC connection to use for secure connectivity.

RETURNING

oo_output TYPE REF TO /aws1/cl_qstupdateactcnctorrsp /AWS1/CL_QSTUPDATEACTCNCTORRSP

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->updateactionconnector(
  io_authenticationconfig = new /aws1/cl_qstauthconfig(
    io_authenticationmetadata = new /aws1/cl_qstauthntctnmetadata(
      io_apikeyconnectionmetadata = new /aws1/cl_qstapikeyconnmetadata(
        iv_apikey = |string|
        iv_baseendpoint = |string|
        iv_email = |string|
      )
      io_authcodegrantmetadata = new /aws1/cl_qstauthcodegrantmet(
        io_authcodegrantcredsdetails = new /aws1/cl_qstauthcodegrantcre00(
          io_authcodegrantdetails = new /aws1/cl_qstauthcodegrantdets(
            iv_authorizationendpoint = |string|
            iv_clientid = |string|
            iv_clientsecret = |string|
            iv_tokenendpoint = |string|
          )
        )
        iv_authcodegrantcredssource = |string|
        iv_baseendpoint = |string|
        iv_redirecturl = |string|
      )
      io_basicauthconnmetadata = new /aws1/cl_qstbasicauthconnmet(
        iv_baseendpoint = |string|
        iv_password = |string|
        iv_username = |string|
      )
      io_clientcredsgrantmetadata = new /aws1/cl_qstclicredsgrantmet(
        io_clientcredentialsdetails = new /aws1/cl_qstclientcredsdetails(
          io_clientcredsgrantdetails = new /aws1/cl_qstclicredsgrantdets(
            iv_clientid = |string|
            iv_clientsecret = |string|
            iv_tokenendpoint = |string|
          )
        )
        iv_baseendpoint = |string|
        iv_clientcredentialssource = |string|
      )
      io_iamconnectionmetadata = new /aws1/cl_qstiamconnmetadata( |string| )
      io_noneconnectionmetadata = new /aws1/cl_qstnoneconnmetadata( |string| )
    )
    iv_authenticationtype = |string|
  )
  iv_actionconnectorid = |string|
  iv_awsaccountid = |string|
  iv_description = |string|
  iv_name = |string|
  iv_vpcconnectionarn = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_arn = lo_result->get_arn( ).
  lv_shortrestrictiveresourc = lo_result->get_actionconnectorid( ).
  lv_string = lo_result->get_requestid( ).
  lv_resourcestatus = lo_result->get_updatestatus( ).
  lv_statuscode = lo_result->get_status( ).
ENDIF.