File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (168 lines) | stat: -rw-r--r-- 5,421 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
)

// An object that defines a message that contains text formatted using Amazon
// Pinpoint Voice Instructions markup.
type CallInstructionsMessageType struct {

	// The language to use when delivering the message. For a complete list of
	// supported languages, see the Amazon Polly Developer Guide.
	Text *string

	noSmithyDocumentSerde
}

// An object that contains information about an event destination that sends data
// to Amazon CloudWatch Logs.
type CloudWatchLogsDestination struct {

	// 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.
	IamRoleArn *string

	// The name of the Amazon CloudWatch Log Group that you want to record events in.
	LogGroupArn *string

	noSmithyDocumentSerde
}

// An object that defines an event destination.
type EventDestination struct {

	// An object that contains information about an event destination that sends data
	// to Amazon CloudWatch Logs.
	CloudWatchLogsDestination *CloudWatchLogsDestination

	// 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.
	Enabled *bool

	// An object that contains information about an event destination that sends data
	// to Amazon Kinesis Data Firehose.
	KinesisFirehoseDestination *KinesisFirehoseDestination

	// An array of EventDestination objects. Each EventDestination object includes
	// ARNs and other information that define an event destination.
	MatchingEventTypes []EventType

	// A name that identifies the event destination configuration.
	Name *string

	// An object that contains information about an event destination that sends data
	// to Amazon SNS.
	SnsDestination *SnsDestination

	noSmithyDocumentSerde
}

// An object that defines a single event destination.
type EventDestinationDefinition struct {

	// An object that contains information about an event destination that sends data
	// to Amazon CloudWatch Logs.
	CloudWatchLogsDestination *CloudWatchLogsDestination

	// 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.
	Enabled *bool

	// An object that contains information about an event destination that sends data
	// to Amazon Kinesis Data Firehose.
	KinesisFirehoseDestination *KinesisFirehoseDestination

	// An array of EventDestination objects. Each EventDestination object includes
	// ARNs and other information that define an event destination.
	MatchingEventTypes []EventType

	// An object that contains information about an event destination that sends data
	// to Amazon SNS.
	SnsDestination *SnsDestination

	noSmithyDocumentSerde
}

// An object that contains information about an event destination that sends data
// to Amazon Kinesis Data Firehose.
type KinesisFirehoseDestination struct {

	// The Amazon Resource Name (ARN) of an IAM role that can write data to an Amazon
	// Kinesis Data Firehose stream.
	DeliveryStreamArn *string

	// The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose destination
	// that you want to use in the event destination.
	IamRoleArn *string

	noSmithyDocumentSerde
}

// An object that defines a message that contains unformatted text.
type PlainTextMessageType struct {

	// The language to use when delivering the message. For a complete list of
	// supported languages, see the Amazon Polly Developer Guide.
	LanguageCode *string

	// The plain (not SSML-formatted) text to deliver to the recipient.
	Text *string

	// 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.
	VoiceId *string

	noSmithyDocumentSerde
}

// An object that contains information about an event destination that sends data
// to Amazon SNS.
type SnsDestination struct {

	// The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish
	// events to.
	TopicArn *string

	noSmithyDocumentSerde
}

// An object that defines a message that contains SSML-formatted text.
type SSMLMessageType struct {

	// The language to use when delivering the message. For a complete list of
	// supported languages, see the Amazon Polly Developer Guide.
	LanguageCode *string

	// The SSML-formatted text to deliver to the recipient.
	Text *string

	// 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.
	VoiceId *string

	noSmithyDocumentSerde
}

// An object that contains a voice message and information about the recipient
// that you want to send it to.
type VoiceMessageContent struct {

	// An object that defines a message that contains text formatted using Amazon
	// Pinpoint Voice Instructions markup.
	CallInstructionsMessage *CallInstructionsMessageType

	// An object that defines a message that contains unformatted text.
	PlainTextMessage *PlainTextMessageType

	// An object that defines a message that contains SSML-formatted text.
	SSMLMessage *SSMLMessageType

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde