"documentation":"Obtain information about an event destination, including the types of events it reports, the Amazon Resource Name (ARN) of the destination, and the name of the event destination."
"documentation":"Update an event destination in a configuration set. An event destination is a location that you publish information about your voice calls to. For example, you can log an event to an Amazon CloudWatch destination when a call fails."
"documentation":"The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide."
}
},
"documentation":"An object that defines a message that contains text formatted using Amazon Pinpoint Voice Instructions markup.",
"required":[]
},
"CloudWatchLogsDestination":{
"type":"structure",
"members":{
"IamRoleArn":{
"shape":"String",
"documentation":"The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination."
},
"LogGroupArn":{
"shape":"String",
"documentation":"The name of the Amazon CloudWatch Log Group that you want to record events in."
"documentation":"An empty object that indicates that the event destination was deleted successfully."
},
"DeleteConfigurationSetRequest":{
"type":"structure",
"members":{
"ConfigurationSetName":{
"shape":"__string",
"location":"uri",
"locationName":"ConfigurationSetName",
"documentation":"ConfigurationSetName"
}
},
"required":["ConfigurationSetName"]
},
"DeleteConfigurationSetResponse":{
"type":"structure",
"members":{},
"documentation":"An empty object that indicates that the configuration set was deleted successfully."
},
"EventDestination":{
"type":"structure",
"members":{
"CloudWatchLogsDestination":{
"shape":"CloudWatchLogsDestination"
},
"Enabled":{
"shape":"Boolean",
"documentation":"Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination."
},
"KinesisFirehoseDestination":{
"shape":"KinesisFirehoseDestination"
},
"MatchingEventTypes":{
"shape":"EventTypes"
},
"Name":{
"shape":"String",
"documentation":"A name that identifies the event destination configuration."
"documentation":"An object that defines an event destination."
},
"EventDestinationDefinition":{
"type":"structure",
"members":{
"CloudWatchLogsDestination":{
"shape":"CloudWatchLogsDestination"
},
"Enabled":{
"shape":"Boolean",
"documentation":"Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination."
"documentation":"An object that defines a single event destination.",
"required":[]
},
"EventDestinations":{
"type":"list",
"documentation":"An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination.",
"member":{
"shape":"EventDestination"
}
},
"EventType":{
"type":"string",
"documentation":"The types of events that are sent to the event destination.",
"documentation":"An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination.",
"member":{
"shape":"EventType"
}
},
"GetConfigurationSetEventDestinationsRequest":{
"type":"structure",
"members":{
"ConfigurationSetName":{
"shape":"__string",
"location":"uri",
"locationName":"ConfigurationSetName",
"documentation":"ConfigurationSetName"
}
},
"required":["ConfigurationSetName"]
},
"GetConfigurationSetEventDestinationsResponse":{
"type":"structure",
"members":{
"EventDestinations":{
"shape":"EventDestinations"
}
},
"documentation":"An object that contains information about an event destination."
},
"InternalServiceErrorException":{
"type":"structure",
"members":{
"Message":{
"shape":"String"
}
},
"documentation":"The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.",
"exception":true,
"error":{
"httpStatusCode":500
}
},
"KinesisFirehoseDestination":{
"type":"structure",
"members":{
"DeliveryStreamArn":{
"shape":"String",
"documentation":"The Amazon Resource Name (ARN) of an IAM role that can write data to an Amazon Kinesis Data Firehose stream."
},
"IamRoleArn":{
"shape":"String",
"documentation":"The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose destination that you want to use in the event destination."
"documentation":"The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide."
},
"Text":{
"shape":"NonEmptyString",
"documentation":"The plain (not SSML-formatted) text to deliver to the recipient."
},
"VoiceId":{
"shape":"String",
"documentation":"The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide."
}
},
"documentation":"An object that defines a message that contains unformatted text.",
"required":[]
},
"SSMLMessageType":{
"type":"structure",
"members":{
"LanguageCode":{
"shape":"String",
"documentation":"The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide."
},
"Text":{
"shape":"NonEmptyString",
"documentation":"The SSML-formatted text to deliver to the recipient."
},
"VoiceId":{
"shape":"String",
"documentation":"The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide."
}
},
"documentation":"An object that defines a message that contains SSML-formatted text.",
"required":[]
},
"SendVoiceMessageRequest":{
"type":"structure",
"members":{
"CallerId":{
"shape":"String",
"documentation":"The phone number that appears on recipients' devices when they receive the message."
},
"ConfigurationSetName":{
"shape":"WordCharactersWithDelimiters",
"documentation":"The name of the configuration set that you want to use to send the message."
},
"Content":{
"shape":"VoiceMessageContent"
},
"DestinationPhoneNumber":{
"shape":"NonEmptyString",
"documentation":"The phone number that you want to send the voice message to."
},
"OriginationPhoneNumber":{
"shape":"NonEmptyString",
"documentation":"The phone number that Amazon Pinpoint should use to send the voice message. This isn't necessarily the phone number that appears on recipients' devices when they receive the message, because you can specify a CallerId parameter in the request."
}
},
"documentation":"SendVoiceMessageRequest"
},
"SendVoiceMessageResponse":{
"type":"structure",
"members":{
"MessageId":{
"shape":"String",
"documentation":"A unique identifier for the voice message."
}
},
"documentation":"An object that that contains the Message ID of a Voice message that was sent successfully."