PinpointSMSVoice.Client.create_configuration_set_event_destination(**kwargs)¶Create a new event destination in a configuration set.
See also: AWS API Documentation
Request Syntax
response = client.create_configuration_set_event_destination(
ConfigurationSetName='string',
EventDestination={
'CloudWatchLogsDestination': {
'IamRoleArn': 'string',
'LogGroupArn': 'string'
},
'Enabled': True|False,
'KinesisFirehoseDestination': {
'DeliveryStreamArn': 'string',
'IamRoleArn': 'string'
},
'MatchingEventTypes': [
'INITIATED_CALL'|'RINGING'|'ANSWERED'|'COMPLETED_CALL'|'BUSY'|'FAILED'|'NO_ANSWER',
],
'SnsDestination': {
'TopicArn': 'string'
}
},
EventDestinationName='string'
)
An object that defines a single event destination.
dict
Response Syntax
{}
Response Structure
Exceptions
PinpointSMSVoice.Client.exceptions.BadRequestExceptionPinpointSMSVoice.Client.exceptions.LimitExceededExceptionPinpointSMSVoice.Client.exceptions.InternalServiceErrorExceptionPinpointSMSVoice.Client.exceptions.NotFoundExceptionPinpointSMSVoice.Client.exceptions.TooManyRequestsExceptionPinpointSMSVoice.Client.exceptions.AlreadyExistsException