1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5// An object that defines a message that contains text formatted using Amazon 6// Pinpoint Voice Instructions markup. 7type CallInstructionsMessageType struct { 8 9 // The language to use when delivering the message. For a complete list of 10 // supported languages, see the Amazon Polly Developer Guide. 11 Text *string 12} 13 14// An object that contains information about an event destination that sends data 15// to Amazon CloudWatch Logs. 16type CloudWatchLogsDestination struct { 17 18 // The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) 19 // role that is able to write event data to an Amazon CloudWatch destination. 20 IamRoleArn *string 21 22 // The name of the Amazon CloudWatch Log Group that you want to record events in. 23 LogGroupArn *string 24} 25 26// An object that defines an event destination. 27type EventDestination struct { 28 29 // An object that contains information about an event destination that sends data 30 // to Amazon CloudWatch Logs. 31 CloudWatchLogsDestination *CloudWatchLogsDestination 32 33 // Indicates whether or not the event destination is enabled. If the event 34 // destination is enabled, then Amazon Pinpoint sends response data to the 35 // specified event destination. 36 Enabled bool 37 38 // An object that contains information about an event destination that sends data 39 // to Amazon Kinesis Data Firehose. 40 KinesisFirehoseDestination *KinesisFirehoseDestination 41 42 // An array of EventDestination objects. Each EventDestination object includes ARNs 43 // and other information that define an event destination. 44 MatchingEventTypes []EventType 45 46 // A name that identifies the event destination configuration. 47 Name *string 48 49 // An object that contains information about an event destination that sends data 50 // to Amazon SNS. 51 SnsDestination *SnsDestination 52} 53 54// An object that defines a single event destination. 55type EventDestinationDefinition struct { 56 57 // An object that contains information about an event destination that sends data 58 // to Amazon CloudWatch Logs. 59 CloudWatchLogsDestination *CloudWatchLogsDestination 60 61 // Indicates whether or not the event destination is enabled. If the event 62 // destination is enabled, then Amazon Pinpoint sends response data to the 63 // specified event destination. 64 Enabled bool 65 66 // An object that contains information about an event destination that sends data 67 // to Amazon Kinesis Data Firehose. 68 KinesisFirehoseDestination *KinesisFirehoseDestination 69 70 // An array of EventDestination objects. Each EventDestination object includes ARNs 71 // and other information that define an event destination. 72 MatchingEventTypes []EventType 73 74 // An object that contains information about an event destination that sends data 75 // to Amazon SNS. 76 SnsDestination *SnsDestination 77} 78 79// An object that contains information about an event destination that sends data 80// to Amazon Kinesis Data Firehose. 81type KinesisFirehoseDestination struct { 82 83 // The Amazon Resource Name (ARN) of an IAM role that can write data to an Amazon 84 // Kinesis Data Firehose stream. 85 DeliveryStreamArn *string 86 87 // The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose destination 88 // that you want to use in the event destination. 89 IamRoleArn *string 90} 91 92// An object that defines a message that contains unformatted text. 93type PlainTextMessageType struct { 94 95 // The language to use when delivering the message. For a complete list of 96 // supported languages, see the Amazon Polly Developer Guide. 97 LanguageCode *string 98 99 // The plain (not SSML-formatted) text to deliver to the recipient. 100 Text *string 101 102 // The name of the voice that you want to use to deliver the message. For a 103 // complete list of supported voices, see the Amazon Polly Developer Guide. 104 VoiceId *string 105} 106 107// An object that contains information about an event destination that sends data 108// to Amazon SNS. 109type SnsDestination struct { 110 111 // The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish 112 // events to. 113 TopicArn *string 114} 115 116// An object that defines a message that contains SSML-formatted text. 117type SSMLMessageType struct { 118 119 // The language to use when delivering the message. For a complete list of 120 // supported languages, see the Amazon Polly Developer Guide. 121 LanguageCode *string 122 123 // The SSML-formatted text to deliver to the recipient. 124 Text *string 125 126 // The name of the voice that you want to use to deliver the message. For a 127 // complete list of supported voices, see the Amazon Polly Developer Guide. 128 VoiceId *string 129} 130 131// An object that contains a voice message and information about the recipient that 132// you want to send it to. 133type VoiceMessageContent struct { 134 135 // An object that defines a message that contains text formatted using Amazon 136 // Pinpoint Voice Instructions markup. 137 CallInstructionsMessage *CallInstructionsMessageType 138 139 // An object that defines a message that contains unformatted text. 140 PlainTextMessage *PlainTextMessageType 141 142 // An object that defines a message that contains SSML-formatted text. 143 SSMLMessage *SSMLMessageType 144} 145