PinpointSMSVoiceV2.Client.
create_configuration_set
(**kwargs)¶Creates a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
A configuration set is a set of rules that you apply to the SMS and voice messages that you send.
When you send a message, you can optionally specify a single configuration set.
See also: AWS API Documentation
Request Syntax
response = client.create_configuration_set(
ConfigurationSetName='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
],
ClientToken='string'
)
[REQUIRED]
The name to use for the new configuration set.
An array of key and value pair tags that's associated with the new configuration set.
The list of tags to be added to the specified topic.
The key identifier, or name, of the tag.
The string value associated with the key of the tag.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
This field is autopopulated if not provided.
dict
Response Syntax
{
'ConfigurationSetArn': 'string',
'ConfigurationSetName': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'CreatedTimestamp': datetime(2015, 1, 1)
}
Response Structure
(dict) --
ConfigurationSetArn (string) --
The Amazon Resource Name (ARN) of the newly created configuration set.
ConfigurationSetName (string) --
The name of the new configuration set.
Tags (list) --
An array of key and value pair tags that's associated with the configuration set.
(dict) --
The list of tags to be added to the specified topic.
Key (string) --
The key identifier, or name, of the tag.
Value (string) --
The string value associated with the key of the tag.
CreatedTimestamp (datetime) --
The time when the configuration set was created, in UNIX epoch time format.
Exceptions
PinpointSMSVoiceV2.Client.exceptions.ServiceQuotaExceededException
PinpointSMSVoiceV2.Client.exceptions.ThrottlingException
PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException
PinpointSMSVoiceV2.Client.exceptions.ValidationException
PinpointSMSVoiceV2.Client.exceptions.ConflictException
PinpointSMSVoiceV2.Client.exceptions.InternalServerException