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.BadRequestException
PinpointSMSVoice.Client.exceptions.LimitExceededException
PinpointSMSVoice.Client.exceptions.InternalServiceErrorException
PinpointSMSVoice.Client.exceptions.NotFoundException
PinpointSMSVoice.Client.exceptions.TooManyRequestsException
PinpointSMSVoice.Client.exceptions.AlreadyExistsException