Skip to content

/AWS1/IF_SQT=>STARTAUTOMANAGEMENT()

About StartAutoManagement

Starts Service Quotas Automatic Management for an Amazon Web Services account, including notification preferences and excluded quotas configurations. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas.

Method Signature

METHODS /AWS1/IF_SQT~STARTAUTOMANAGEMENT
  IMPORTING
    !IV_OPTINLEVEL TYPE /AWS1/SQTOPTINLEVEL OPTIONAL
    !IV_OPTINTYPE TYPE /AWS1/SQTOPTINTYPE OPTIONAL
    !IV_NOTIFICATIONARN TYPE /AWS1/SQTAMAZONRESOURCENAME OPTIONAL
    !IT_EXCLUSIONLIST TYPE /AWS1/CL_SQTEXCLUDEDQUOTALST_W=>TT_EXCLUSIONLIST OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sqtstartautomngmtrsp
  RAISING
    /AWS1/CX_SQTACCESSDENIEDEX
    /AWS1/CX_SQTILLEGALARGUMENTEX
    /AWS1/CX_SQTNOSUCHRESOURCEEX
    /AWS1/CX_SQTSERVICEEXCEPTION
    /AWS1/CX_SQTTOOMANYREQUESTSEX
    /AWS1/CX_SQTCLIENTEXC
    /AWS1/CX_SQTSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_optinlevel TYPE /AWS1/SQTOPTINLEVEL /AWS1/SQTOPTINLEVEL

Sets the opt-in level for Automatic Management. Only Amazon Web Services account level is supported.

iv_optintype TYPE /AWS1/SQTOPTINTYPE /AWS1/SQTOPTINTYPE

Sets the opt-in type for Automatic Management. There are two modes: Notify only and Notify and Auto-Adjust. Currently, only NotifyOnly is available.

Optional arguments:

iv_notificationarn TYPE /AWS1/SQTAMAZONRESOURCENAME /AWS1/SQTAMAZONRESOURCENAME

The User Notifications Amazon Resource Name (ARN) for Automatic Management notifications.

it_exclusionlist TYPE /AWS1/CL_SQTEXCLUDEDQUOTALST_W=>TT_EXCLUSIONLIST TT_EXCLUSIONLIST

List of Amazon Web Services services excluded from Automatic Management. You won't be notified of Service Quotas utilization for Amazon Web Services services added to the Automatic Management exclusion list.

RETURNING

oo_output TYPE REF TO /aws1/cl_sqtstartautomngmtrsp /AWS1/CL_SQTSTARTAUTOMNGMTRSP

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->startautomanagement(
  it_exclusionlist = VALUE /aws1/cl_sqtexcludedquotalst_w=>tt_exclusionlist(
    (
      VALUE /aws1/cl_sqtexcludedquotalst_w=>ts_exclusionlist_maprow(
        value = VALUE /aws1/cl_sqtexcludedquotalst_w=>tt_excludedquotalist(
          ( new /aws1/cl_sqtexcludedquotalst_w( |string| ) )
        )
        key = |string|
      )
    )
  )
  iv_notificationarn = |string|
  iv_optinlevel = |string|
  iv_optintype = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.