Skip to content

/AWS1/CL_WSW=>CREATEIPACCESSSETTINGS()

About CreateIpAccessSettings

Creates an IP access settings resource that can be associated with a web portal.

Method Signature

IMPORTING

Required arguments:

it_iprules TYPE /AWS1/CL_WSWIPRULE=>TT_IPRULELIST TT_IPRULELIST

The IP rules of the IP access settings.

Optional arguments:

iv_displayname TYPE /AWS1/WSWDISPLAYNAME /AWS1/WSWDISPLAYNAME

The display name of the IP access settings.

iv_description TYPE /AWS1/WSWDESCRIPTION /AWS1/WSWDESCRIPTION

The description of the IP access settings.

it_tags TYPE /AWS1/CL_WSWTAG=>TT_TAGLIST TT_TAGLIST

The tags to add to the IP access settings resource. A tag is a key-value pair.

iv_customermanagedkey TYPE /AWS1/WSWKEYARN /AWS1/WSWKEYARN

The custom managed key of the IP access settings.

it_additionalenccontext TYPE /AWS1/CL_WSWENCCONTEXTMAP_W=>TT_ENCRYPTIONCONTEXTMAP TT_ENCRYPTIONCONTEXTMAP

Additional encryption context of the IP access settings.

iv_clienttoken TYPE /AWS1/WSWCLIENTTOKEN /AWS1/WSWCLIENTTOKEN

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

RETURNING

oo_output TYPE REF TO /aws1/cl_wswcreateipaccstgsrsp /AWS1/CL_WSWCREATEIPACCSTGSRSP

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->/aws1/if_wsw~createipaccesssettings(
  it_additionalenccontext = VALUE /aws1/cl_wswenccontextmap_w=>tt_encryptioncontextmap(
    (
      VALUE /aws1/cl_wswenccontextmap_w=>ts_encryptioncontextmap_maprow(
        key = |string|
        value = new /aws1/cl_wswenccontextmap_w( |string| )
      )
    )
  )
  it_iprules = VALUE /aws1/cl_wswiprule=>tt_iprulelist(
    (
      new /aws1/cl_wswiprule(
        iv_description = |string|
        iv_iprange = |string|
      )
    )
  )
  it_tags = VALUE /aws1/cl_wswtag=>tt_taglist(
    (
      new /aws1/cl_wswtag(
        iv_key = |string|
        iv_value = |string|
      )
    )
  )
  iv_clienttoken = |string|
  iv_customermanagedkey = |string|
  iv_description = |string|
  iv_displayname = |string|
).

This is an example of reading all possible response values

lv_arn = lo_result->get_ipaccesssettingsarn( ).