End of support notice: On October
30, 2026, AWS will end support for Amazon Pinpoint. After October 30, 2026, you will no
longer be able to access the Amazon Pinpoint console or Amazon Pinpoint resources (endpoints,
segments, campaigns, journeys, and analytics). For more information, see Amazon Pinpoint end of
support. Note: APIs related to SMS, voice,
mobile push, OTP, and phone number validate are not impacted by this change and are
supported by AWS End User Messaging.
Use ListConfigurationSets with an AWS SDK
The following code example shows how to use ListConfigurationSets.
- SAP ABAP
-
- SDK for SAP ABAP
-
TRY.
" List all configuration sets
oo_result = lo_pps->listconfigurationsets(
iv_nexttoken = iv_next_token " Optional: Token for pagination
iv_pagesize = iv_page_size " Optional: Number of results per page, e.g., '10'
).
" Process the configuration sets
LOOP AT oo_result->get_configurationsets( ) INTO DATA(lo_config_set).
DATA(lv_config_set_name) = lo_config_set->get_value( ).
MESSAGE |Configuration set: { lv_config_set_name }| TYPE 'I'.
ENDLOOP.
" Check if there are more results
DATA(lv_next_token) = oo_result->get_nexttoken( ).
IF lv_next_token IS NOT INITIAL.
MESSAGE |More results available. Next token: { lv_next_token }| TYPE 'I'.
ENDIF.
CATCH /aws1/cx_ppsbadrequestex INTO DATA(lo_bad_request_ex).
MESSAGE lo_bad_request_ex->get_text( ) TYPE 'I'.
RAISE EXCEPTION lo_bad_request_ex.
CATCH /aws1/cx_ppsinternalsvcerrorex INTO DATA(lo_internal_error_ex).
MESSAGE lo_internal_error_ex->get_text( ) TYPE 'I'.
RAISE EXCEPTION lo_internal_error_ex.
CATCH /aws1/cx_ppstoomanyrequestsex INTO DATA(lo_too_many_requests_ex).
MESSAGE lo_too_many_requests_ex->get_text( ) TYPE 'I'.
RAISE EXCEPTION lo_too_many_requests_ex.
ENDTRY.
For a complete list of AWS SDK developer guides and code examples, see
Using Amazon Pinpoint with an AWS SDK.
This topic also includes information about getting started and details about previous SDK versions.