Skip to content

/AWS1/CL_PIP=>UPDATEACTIONTYPE()

About UpdateActionType

Updates an action type that was created with any supported integration model, where the action type is to be used by customers of the action type provider. Use a JSON file with the action definition and UpdateActionType to provide the full structure.

Method Signature

IMPORTING

Required arguments:

io_actiontype TYPE REF TO /AWS1/CL_PIPACTTYPEDECLARATION /AWS1/CL_PIPACTTYPEDECLARATION

The action type definition for the action type to be updated.

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.

lo_client->/aws1/if_pip~updateactiontype(
  io_actiontype = new /aws1/cl_pipacttypedeclaration(
    io_executor = new /aws1/cl_pipactiontypeexecutor(
      io_configuration = new /aws1/cl_pipexecutorconf(
        io_jobworkerexecutorconf = new /aws1/cl_pipjobworkerexecuto00(
          it_pollingaccounts = VALUE /aws1/cl_pippollingacctlist_w=>tt_pollingaccountlist(
            ( new /aws1/cl_pippollingacctlist_w( |string| ) )
          )
          it_pollingserviceprincipals = VALUE /aws1/cl_pippollingsvcprplst_w=>tt_pollingserviceprincipallist(
            ( new /aws1/cl_pippollingsvcprplst_w( |string| ) )
          )
        )
        io_lambdaexecutorconf = new /aws1/cl_piplambdaexecutorconf( |string| )
      )
      iv_jobtimeout = 123
      iv_policystatementstemplate = |string|
      iv_type = |string|
    )
    io_id = new /aws1/cl_pipactiontypeid00(
      iv_category = |string|
      iv_owner = |string|
      iv_provider = |string|
      iv_version = |string|
    )
    io_inputartifactdetails = new /aws1/cl_pipacttypeartifactd00(
      iv_maximumcount = 123
      iv_minimumcount = 123
    )
    io_outputartifactdetails = new /aws1/cl_pipacttypeartifactd00(
      iv_maximumcount = 123
      iv_minimumcount = 123
    )
    io_permissions = new /aws1/cl_pipactiontypeperms(
      it_allowedaccounts = VALUE /aws1/cl_pipallowedaccounts_w=>tt_allowedaccounts(
        ( new /aws1/cl_pipallowedaccounts_w( |string| ) )
      )
    )
    io_urls = new /aws1/cl_pipactiontypeurls(
      iv_configurationurl = |string|
      iv_entityurltemplate = |string|
      iv_executionurltemplate = |string|
      iv_revisionurltemplate = |string|
    )
    it_properties = VALUE /aws1/cl_pipactiontypeproperty=>tt_actiontypeproperties(
      (
        new /aws1/cl_pipactiontypeproperty(
          iv_description = |string|
          iv_key = ABAP_TRUE
          iv_name = |string|
          iv_noecho = ABAP_TRUE
          iv_optional = ABAP_TRUE
          iv_queryable = ABAP_TRUE
        )
      )
    )
    iv_description = |string|
  )
).