/AWS1/IF_SES=>LISTCONFIGURATIONSETS()¶
About ListConfigurationSets¶
Provides a list of the configuration sets associated with your Amazon SES account in the current Amazon Web Services Region. For information about using configuration sets, see Monitoring Your Amazon SES Sending Activity in the Amazon SES Developer Guide.
You can execute this operation no more than once per second. This operation returns up
to 1,000 configuration sets each time it is run. If your Amazon SES account has more than
1,000 configuration sets, this operation also returns NextToken. You can
then execute the ListConfigurationSets operation again, passing the
NextToken parameter and the value of the NextToken element to retrieve
additional results.
Method Signature¶
METHODS /AWS1/IF_SES~LISTCONFIGURATIONSETS
IMPORTING
!IV_NEXTTOKEN TYPE /AWS1/SESNEXTTOKEN OPTIONAL
!IV_MAXITEMS TYPE /AWS1/SESMAXITEMS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_seslistconfsetsrsp
RAISING
/AWS1/CX_SESCLIENTEXC
/AWS1/CX_SESSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_nexttoken TYPE /AWS1/SESNEXTTOKEN /AWS1/SESNEXTTOKEN¶
A token returned from a previous call to
ListConfigurationSetsto indicate the position of the configuration set in the configuration set list.
iv_maxitems TYPE /AWS1/SESMAXITEMS /AWS1/SESMAXITEMS¶
The number of configuration sets to return.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_seslistconfsetsrsp /AWS1/CL_SESLISTCONFSETSRSP¶
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->listconfigurationsets(
iv_maxitems = 123
iv_nexttoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_configurationsets( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_configurationsetname = lo_row_1->get_name( ).
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.