Skip to main content

configuration_sets

Creates, updates, deletes, gets or lists a configuration_sets resource.

Overview​

Nameconfiguration_sets
TypeResource
Idaws.pinpoint_sms_voice.configuration_sets

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
configuration_setstringAn object that contains a list of configuration sets for your account in the current region.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_configuration_setsselectregionNextToken, PageSizeList all of the configuration sets associated with your Amazon Pinpoint account in the current region.
create_configuration_setinsertregionCreate a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
delete_configuration_setdeleteconfiguration_set_name, regionDeletes an existing configuration set.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
configuration_set_namestringConfigurationSetName
regionstringAWS region (default: us-east-1)
NextTokenstringA token returned from a previous call to the API that indicates the position in the list of results.
PageSizestringUsed to specify the number of items that should be returned in the response.

SELECT examples​

List all of the configuration sets associated with your Amazon Pinpoint account in the current region.

SELECT
configuration_set
FROM aws.pinpoint_sms_voice.configuration_sets
WHERE region = '{{ region }}' -- required
AND NextToken = '{{ NextToken }}'
AND PageSize = '{{ PageSize }}'
;

INSERT examples​

Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it.

INSERT INTO aws.pinpoint_sms_voice.configuration_sets (
ConfigurationSetName,
region
)
SELECT
'{{ ConfigurationSetName }}',
'{{ region }}'
;

DELETE examples​

Deletes an existing configuration set.

DELETE FROM aws.pinpoint_sms_voice.configuration_sets
WHERE configuration_set_name = '{{ configuration_set_name }}' --required
AND region = '{{ region }}' --required
;