/AWS1/IF_QST=>CREATELIMITSPROFILE()¶
About CreateLimitsProfile¶
Creates a limits profile that defines resource usage limits for Amazon Quick Sight users.
Method Signature¶
METHODS /AWS1/IF_QST~CREATELIMITSPROFILE
IMPORTING
!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_CREATELMTSPFLREQRESLMTSMAP OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/QSTCRELMTPFLREQCLITOKT00 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_qstcreatelimitspflrsp
RAISING
/AWS1/CX_QSTACCESSDENIEDEX
/AWS1/CX_QSTCONFLICTEXCEPTION
/AWS1/CX_QSTINTERNALFAILUREEX
/AWS1/CX_QSTINVPARAMVALUEEX
/AWS1/CX_QSTLIMITEXCEEDEDEX
/AWS1/CX_QSTTHROTTLINGEX
/AWS1/CX_QSTCLIENTEXC
/AWS1/CX_QSTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_accountid TYPE /AWS1/QSTAWSACCOUNTID /AWS1/QSTAWSACCOUNTID¶
The ID of the Amazon Web Services account that contains the limits profile.
iv_profilename TYPE /AWS1/QSTPROFILENAME /AWS1/QSTPROFILENAME¶
A display name for the limits profile.
it_resourcelimits TYPE /AWS1/CL_QSTPROFILELIMITVALUE=>TT_CREATELMTSPFLREQRESLMTSMAP TT_CREATELMTSPFLREQRESLMTSMAP¶
A map of resource types to their limit values for this profile.
iv_clienttoken TYPE /AWS1/QSTCRELMTPFLREQCLITOKT00 /AWS1/QSTCRELMTPFLREQCLITOKT00¶
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
Optional arguments:¶
iv_description TYPE /AWS1/QSTPROFILEDESCRIPTION /AWS1/QSTPROFILEDESCRIPTION¶
A description for the limits profile.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_qstcreatelimitspflrsp /AWS1/CL_QSTCREATELIMITSPFLRSP¶
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->createlimitsprofile(
it_resourcelimits = VALUE /aws1/cl_qstprofilelimitvalue=>tt_createlmtspflreqreslmtsmap(
(
VALUE /aws1/cl_qstprofilelimitvalue=>ts_crelmtpflreqreslmt00_maprow(
key = |string|
value = new /aws1/cl_qstprofilelimitvalue(
iv_maxvalue = 123
iv_unit = |string|
)
)
)
)
iv_accountid = |string|
iv_clienttoken = |string|
iv_description = |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( ).
lv_profileid = lo_result->get_profileid( ).
ENDIF.