/AWS1/IF_WAD=>ASSOCIATELENSES()¶
About AssociateLenses¶
Associate a lens to a workload.
Up to 10 lenses can be associated with a workload in a single API operation. A maximum of 20 lenses can be associated with a workload.
Disclaimer
By accessing and/or applying custom lenses created by another Amazon Web Services user or account, you acknowledge that custom lenses created by other users and shared with you are Third Party Content as defined in the Amazon Web Services Customer Agreement.
Method Signature¶
METHODS /AWS1/IF_WAD~ASSOCIATELENSES
IMPORTING
!IV_WORKLOADID TYPE /AWS1/WADWORKLOADID OPTIONAL
!IT_LENSALIASES TYPE /AWS1/CL_WADLENSALIASES_W=>TT_LENSALIASES OPTIONAL
RAISING
/AWS1/CX_WADACCESSDENIEDEX
/AWS1/CX_WADCONFLICTEXCEPTION
/AWS1/CX_WADINTERNALSERVEREX
/AWS1/CX_WADRESOURCENOTFOUNDEX
/AWS1/CX_WADTHROTTLINGEX
/AWS1/CX_WADVALIDATIONEX
/AWS1/CX_WADCLIENTEXC
/AWS1/CX_WADSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_workloadid TYPE /AWS1/WADWORKLOADID /AWS1/WADWORKLOADID¶
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
it_lensaliases TYPE /AWS1/CL_WADLENSALIASES_W=>TT_LENSALIASES TT_LENSALIASES¶
List of lens aliases to associate or disassociate with a workload. Up to 10 lenses can be specified.
Identify a lens using its LensSummary$LensAlias.
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->associatelenses(
it_lensaliases = VALUE /aws1/cl_wadlensaliases_w=>tt_lensaliases(
( new /aws1/cl_wadlensaliases_w( |string| ) )
)
iv_workloadid = |string|
).