/AWS1/IF_QST=>UPDATELIMITSPROFILE()¶
About UpdateLimitsProfile¶
Updates the properties of an existing limits profile.
Method Signature¶
METHODS /AWS1/IF_QST~UPDATELIMITSPROFILE
IMPORTING
!IV_PROFILEID TYPE /AWS1/QSTPROFILEID OPTIONAL
!IV_ACCOUNTID TYPE /AWS1/QSTAWSACCOUNTID OPTIONAL
!IV_PROFILENAME TYPE /AWS1/QSTPROFILENAME OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/QSTPROFILEDESCRIPTION OPTIONAL
!IT_RESOURCELIMITS TYPE /AWS1/CL_QSTPROFILELIMITVALUE=>TT_RESOURCELIMITSMAP OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_qstupdatelimitspflrsp
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_profileid TYPE /AWS1/QSTPROFILEID /AWS1/QSTPROFILEID¶
The unique identifier for the limits profile to update.
iv_accountid TYPE /AWS1/QSTAWSACCOUNTID /AWS1/QSTAWSACCOUNTID¶
The ID of the Amazon Web Services account that contains the limits profile.
Optional arguments:¶
iv_profilename TYPE /AWS1/QSTPROFILENAME /AWS1/QSTPROFILENAME¶
A new display name for the limits profile.
iv_description TYPE /AWS1/QSTPROFILEDESCRIPTION /AWS1/QSTPROFILEDESCRIPTION¶
A new description for the limits profile.
it_resourcelimits TYPE /AWS1/CL_QSTPROFILELIMITVALUE=>TT_RESOURCELIMITSMAP TT_RESOURCELIMITSMAP¶
A map of resource types to their updated limit values.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_qstupdatelimitspflrsp /AWS1/CL_QSTUPDATELIMITSPFLRSP¶
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->updatelimitsprofile(
it_resourcelimits = VALUE /aws1/cl_qstprofilelimitvalue=>tt_resourcelimitsmap(
(
VALUE /aws1/cl_qstprofilelimitvalue=>ts_resourcelimitsmap_maprow(
key = |string|
value = new /aws1/cl_qstprofilelimitvalue(
iv_maxvalue = 123
iv_unit = |string|
)
)
)
)
iv_accountid = |string|
iv_description = |string|
iv_profileid = |string|
iv_profilename = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourcearn = lo_result->get_arn( ).
ENDIF.