aws-sdk-ssmcontacts 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,919 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SSMContacts
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AcceptCode = Shapes::StringShape.new(name: 'AcceptCode')
17
+ AcceptPageRequest = Shapes::StructureShape.new(name: 'AcceptPageRequest')
18
+ AcceptPageResult = Shapes::StructureShape.new(name: 'AcceptPageResult')
19
+ AcceptType = Shapes::StringShape.new(name: 'AcceptType')
20
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
21
+ ActivateContactChannelRequest = Shapes::StructureShape.new(name: 'ActivateContactChannelRequest')
22
+ ActivateContactChannelResult = Shapes::StructureShape.new(name: 'ActivateContactChannelResult')
23
+ ActivationCode = Shapes::StringShape.new(name: 'ActivationCode')
24
+ ActivationStatus = Shapes::StringShape.new(name: 'ActivationStatus')
25
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
26
+ ChannelName = Shapes::StringShape.new(name: 'ChannelName')
27
+ ChannelTargetInfo = Shapes::StructureShape.new(name: 'ChannelTargetInfo')
28
+ ChannelType = Shapes::StringShape.new(name: 'ChannelType')
29
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
30
+ Contact = Shapes::StructureShape.new(name: 'Contact')
31
+ ContactAlias = Shapes::StringShape.new(name: 'ContactAlias')
32
+ ContactChannel = Shapes::StructureShape.new(name: 'ContactChannel')
33
+ ContactChannelAddress = Shapes::StructureShape.new(name: 'ContactChannelAddress')
34
+ ContactChannelList = Shapes::ListShape.new(name: 'ContactChannelList')
35
+ ContactName = Shapes::StringShape.new(name: 'ContactName')
36
+ ContactTargetInfo = Shapes::StructureShape.new(name: 'ContactTargetInfo')
37
+ ContactType = Shapes::StringShape.new(name: 'ContactType')
38
+ ContactsList = Shapes::ListShape.new(name: 'ContactsList')
39
+ Content = Shapes::StringShape.new(name: 'Content')
40
+ CreateContactChannelRequest = Shapes::StructureShape.new(name: 'CreateContactChannelRequest')
41
+ CreateContactChannelResult = Shapes::StructureShape.new(name: 'CreateContactChannelResult')
42
+ CreateContactRequest = Shapes::StructureShape.new(name: 'CreateContactRequest')
43
+ CreateContactResult = Shapes::StructureShape.new(name: 'CreateContactResult')
44
+ DataEncryptionException = Shapes::StructureShape.new(name: 'DataEncryptionException')
45
+ DateTime = Shapes::TimestampShape.new(name: 'DateTime')
46
+ DeactivateContactChannelRequest = Shapes::StructureShape.new(name: 'DeactivateContactChannelRequest')
47
+ DeactivateContactChannelResult = Shapes::StructureShape.new(name: 'DeactivateContactChannelResult')
48
+ DeferActivation = Shapes::BooleanShape.new(name: 'DeferActivation')
49
+ DeleteContactChannelRequest = Shapes::StructureShape.new(name: 'DeleteContactChannelRequest')
50
+ DeleteContactChannelResult = Shapes::StructureShape.new(name: 'DeleteContactChannelResult')
51
+ DeleteContactRequest = Shapes::StructureShape.new(name: 'DeleteContactRequest')
52
+ DeleteContactResult = Shapes::StructureShape.new(name: 'DeleteContactResult')
53
+ DescribeEngagementRequest = Shapes::StructureShape.new(name: 'DescribeEngagementRequest')
54
+ DescribeEngagementResult = Shapes::StructureShape.new(name: 'DescribeEngagementResult')
55
+ DescribePageRequest = Shapes::StructureShape.new(name: 'DescribePageRequest')
56
+ DescribePageResult = Shapes::StructureShape.new(name: 'DescribePageResult')
57
+ Engagement = Shapes::StructureShape.new(name: 'Engagement')
58
+ EngagementsList = Shapes::ListShape.new(name: 'EngagementsList')
59
+ GetContactChannelRequest = Shapes::StructureShape.new(name: 'GetContactChannelRequest')
60
+ GetContactChannelResult = Shapes::StructureShape.new(name: 'GetContactChannelResult')
61
+ GetContactPolicyRequest = Shapes::StructureShape.new(name: 'GetContactPolicyRequest')
62
+ GetContactPolicyResult = Shapes::StructureShape.new(name: 'GetContactPolicyResult')
63
+ GetContactRequest = Shapes::StructureShape.new(name: 'GetContactRequest')
64
+ GetContactResult = Shapes::StructureShape.new(name: 'GetContactResult')
65
+ IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
66
+ IncidentId = Shapes::StringShape.new(name: 'IncidentId')
67
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
68
+ IsEssential = Shapes::BooleanShape.new(name: 'IsEssential')
69
+ ListContactChannelsRequest = Shapes::StructureShape.new(name: 'ListContactChannelsRequest')
70
+ ListContactChannelsResult = Shapes::StructureShape.new(name: 'ListContactChannelsResult')
71
+ ListContactsRequest = Shapes::StructureShape.new(name: 'ListContactsRequest')
72
+ ListContactsResult = Shapes::StructureShape.new(name: 'ListContactsResult')
73
+ ListEngagementsRequest = Shapes::StructureShape.new(name: 'ListEngagementsRequest')
74
+ ListEngagementsResult = Shapes::StructureShape.new(name: 'ListEngagementsResult')
75
+ ListPageReceiptsRequest = Shapes::StructureShape.new(name: 'ListPageReceiptsRequest')
76
+ ListPageReceiptsResult = Shapes::StructureShape.new(name: 'ListPageReceiptsResult')
77
+ ListPagesByContactRequest = Shapes::StructureShape.new(name: 'ListPagesByContactRequest')
78
+ ListPagesByContactResult = Shapes::StructureShape.new(name: 'ListPagesByContactResult')
79
+ ListPagesByEngagementRequest = Shapes::StructureShape.new(name: 'ListPagesByEngagementRequest')
80
+ ListPagesByEngagementResult = Shapes::StructureShape.new(name: 'ListPagesByEngagementResult')
81
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
82
+ ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
83
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
84
+ Page = Shapes::StructureShape.new(name: 'Page')
85
+ PagesList = Shapes::ListShape.new(name: 'PagesList')
86
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
87
+ Plan = Shapes::StructureShape.new(name: 'Plan')
88
+ Policy = Shapes::StringShape.new(name: 'Policy')
89
+ PublicContent = Shapes::StringShape.new(name: 'PublicContent')
90
+ PublicSubject = Shapes::StringShape.new(name: 'PublicSubject')
91
+ PutContactPolicyRequest = Shapes::StructureShape.new(name: 'PutContactPolicyRequest')
92
+ PutContactPolicyResult = Shapes::StructureShape.new(name: 'PutContactPolicyResult')
93
+ Receipt = Shapes::StructureShape.new(name: 'Receipt')
94
+ ReceiptInfo = Shapes::StringShape.new(name: 'ReceiptInfo')
95
+ ReceiptType = Shapes::StringShape.new(name: 'ReceiptType')
96
+ ReceiptsList = Shapes::ListShape.new(name: 'ReceiptsList')
97
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
98
+ RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
99
+ RetryIntervalInMinutes = Shapes::IntegerShape.new(name: 'RetryIntervalInMinutes')
100
+ SendActivationCodeRequest = Shapes::StructureShape.new(name: 'SendActivationCodeRequest')
101
+ SendActivationCodeResult = Shapes::StructureShape.new(name: 'SendActivationCodeResult')
102
+ Sender = Shapes::StringShape.new(name: 'Sender')
103
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
104
+ SimpleAddress = Shapes::StringShape.new(name: 'SimpleAddress')
105
+ SsmContactsArn = Shapes::StringShape.new(name: 'SsmContactsArn')
106
+ Stage = Shapes::StructureShape.new(name: 'Stage')
107
+ StageDurationInMins = Shapes::IntegerShape.new(name: 'StageDurationInMins')
108
+ StagesList = Shapes::ListShape.new(name: 'StagesList')
109
+ StartEngagementRequest = Shapes::StructureShape.new(name: 'StartEngagementRequest')
110
+ StartEngagementResult = Shapes::StructureShape.new(name: 'StartEngagementResult')
111
+ StopEngagementRequest = Shapes::StructureShape.new(name: 'StopEngagementRequest')
112
+ StopEngagementResult = Shapes::StructureShape.new(name: 'StopEngagementResult')
113
+ StopReason = Shapes::StringShape.new(name: 'StopReason')
114
+ String = Shapes::StringShape.new(name: 'String')
115
+ Subject = Shapes::StringShape.new(name: 'Subject')
116
+ Tag = Shapes::StructureShape.new(name: 'Tag')
117
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
118
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
119
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
120
+ TagResourceResult = Shapes::StructureShape.new(name: 'TagResourceResult')
121
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
122
+ TagsList = Shapes::ListShape.new(name: 'TagsList')
123
+ Target = Shapes::StructureShape.new(name: 'Target')
124
+ TargetsList = Shapes::ListShape.new(name: 'TargetsList')
125
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
126
+ TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
127
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
128
+ UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
129
+ UpdateContactChannelRequest = Shapes::StructureShape.new(name: 'UpdateContactChannelRequest')
130
+ UpdateContactChannelResult = Shapes::StructureShape.new(name: 'UpdateContactChannelResult')
131
+ UpdateContactRequest = Shapes::StructureShape.new(name: 'UpdateContactRequest')
132
+ UpdateContactResult = Shapes::StructureShape.new(name: 'UpdateContactResult')
133
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
134
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
135
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
136
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
137
+
138
+ AcceptPageRequest.add_member(:page_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "PageId"))
139
+ AcceptPageRequest.add_member(:contact_channel_id, Shapes::ShapeRef.new(shape: SsmContactsArn, location_name: "ContactChannelId"))
140
+ AcceptPageRequest.add_member(:accept_type, Shapes::ShapeRef.new(shape: AcceptType, required: true, location_name: "AcceptType"))
141
+ AcceptPageRequest.add_member(:note, Shapes::ShapeRef.new(shape: ReceiptInfo, location_name: "Note"))
142
+ AcceptPageRequest.add_member(:accept_code, Shapes::ShapeRef.new(shape: AcceptCode, required: true, location_name: "AcceptCode"))
143
+ AcceptPageRequest.struct_class = Types::AcceptPageRequest
144
+
145
+ AcceptPageResult.struct_class = Types::AcceptPageResult
146
+
147
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
148
+ AccessDeniedException.struct_class = Types::AccessDeniedException
149
+
150
+ ActivateContactChannelRequest.add_member(:contact_channel_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelId"))
151
+ ActivateContactChannelRequest.add_member(:activation_code, Shapes::ShapeRef.new(shape: ActivationCode, required: true, location_name: "ActivationCode"))
152
+ ActivateContactChannelRequest.struct_class = Types::ActivateContactChannelRequest
153
+
154
+ ActivateContactChannelResult.struct_class = Types::ActivateContactChannelResult
155
+
156
+ ChannelTargetInfo.add_member(:contact_channel_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelId"))
157
+ ChannelTargetInfo.add_member(:retry_interval_in_minutes, Shapes::ShapeRef.new(shape: RetryIntervalInMinutes, location_name: "RetryIntervalInMinutes"))
158
+ ChannelTargetInfo.struct_class = Types::ChannelTargetInfo
159
+
160
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
161
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
162
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
163
+ ConflictException.struct_class = Types::ConflictException
164
+
165
+ Contact.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
166
+ Contact.add_member(:alias, Shapes::ShapeRef.new(shape: ContactAlias, required: true, location_name: "Alias"))
167
+ Contact.add_member(:display_name, Shapes::ShapeRef.new(shape: ContactName, location_name: "DisplayName"))
168
+ Contact.add_member(:type, Shapes::ShapeRef.new(shape: ContactType, required: true, location_name: "Type"))
169
+ Contact.struct_class = Types::Contact
170
+
171
+ ContactChannel.add_member(:contact_channel_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelArn"))
172
+ ContactChannel.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
173
+ ContactChannel.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "Name"))
174
+ ContactChannel.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "Type"))
175
+ ContactChannel.add_member(:delivery_address, Shapes::ShapeRef.new(shape: ContactChannelAddress, required: true, location_name: "DeliveryAddress"))
176
+ ContactChannel.add_member(:activation_status, Shapes::ShapeRef.new(shape: ActivationStatus, required: true, location_name: "ActivationStatus"))
177
+ ContactChannel.struct_class = Types::ContactChannel
178
+
179
+ ContactChannelAddress.add_member(:simple_address, Shapes::ShapeRef.new(shape: SimpleAddress, location_name: "SimpleAddress"))
180
+ ContactChannelAddress.struct_class = Types::ContactChannelAddress
181
+
182
+ ContactChannelList.member = Shapes::ShapeRef.new(shape: ContactChannel)
183
+
184
+ ContactTargetInfo.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, location_name: "ContactId"))
185
+ ContactTargetInfo.add_member(:is_essential, Shapes::ShapeRef.new(shape: IsEssential, required: true, location_name: "IsEssential"))
186
+ ContactTargetInfo.struct_class = Types::ContactTargetInfo
187
+
188
+ ContactsList.member = Shapes::ShapeRef.new(shape: Contact)
189
+
190
+ CreateContactChannelRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactId"))
191
+ CreateContactChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "Name"))
192
+ CreateContactChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, required: true, location_name: "Type"))
193
+ CreateContactChannelRequest.add_member(:delivery_address, Shapes::ShapeRef.new(shape: ContactChannelAddress, required: true, location_name: "DeliveryAddress"))
194
+ CreateContactChannelRequest.add_member(:defer_activation, Shapes::ShapeRef.new(shape: DeferActivation, location_name: "DeferActivation"))
195
+ CreateContactChannelRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
196
+ CreateContactChannelRequest.struct_class = Types::CreateContactChannelRequest
197
+
198
+ CreateContactChannelResult.add_member(:contact_channel_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelArn"))
199
+ CreateContactChannelResult.struct_class = Types::CreateContactChannelResult
200
+
201
+ CreateContactRequest.add_member(:alias, Shapes::ShapeRef.new(shape: ContactAlias, required: true, location_name: "Alias"))
202
+ CreateContactRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ContactName, location_name: "DisplayName"))
203
+ CreateContactRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactType, required: true, location_name: "Type"))
204
+ CreateContactRequest.add_member(:plan, Shapes::ShapeRef.new(shape: Plan, required: true, location_name: "Plan"))
205
+ CreateContactRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsList, location_name: "Tags"))
206
+ CreateContactRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
207
+ CreateContactRequest.struct_class = Types::CreateContactRequest
208
+
209
+ CreateContactResult.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
210
+ CreateContactResult.struct_class = Types::CreateContactResult
211
+
212
+ DataEncryptionException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
213
+ DataEncryptionException.struct_class = Types::DataEncryptionException
214
+
215
+ DeactivateContactChannelRequest.add_member(:contact_channel_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelId"))
216
+ DeactivateContactChannelRequest.struct_class = Types::DeactivateContactChannelRequest
217
+
218
+ DeactivateContactChannelResult.struct_class = Types::DeactivateContactChannelResult
219
+
220
+ DeleteContactChannelRequest.add_member(:contact_channel_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelId"))
221
+ DeleteContactChannelRequest.struct_class = Types::DeleteContactChannelRequest
222
+
223
+ DeleteContactChannelResult.struct_class = Types::DeleteContactChannelResult
224
+
225
+ DeleteContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactId"))
226
+ DeleteContactRequest.struct_class = Types::DeleteContactRequest
227
+
228
+ DeleteContactResult.struct_class = Types::DeleteContactResult
229
+
230
+ DescribeEngagementRequest.add_member(:engagement_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementId"))
231
+ DescribeEngagementRequest.struct_class = Types::DescribeEngagementRequest
232
+
233
+ DescribeEngagementResult.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
234
+ DescribeEngagementResult.add_member(:engagement_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementArn"))
235
+ DescribeEngagementResult.add_member(:sender, Shapes::ShapeRef.new(shape: Sender, required: true, location_name: "Sender"))
236
+ DescribeEngagementResult.add_member(:subject, Shapes::ShapeRef.new(shape: Subject, required: true, location_name: "Subject"))
237
+ DescribeEngagementResult.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Content"))
238
+ DescribeEngagementResult.add_member(:public_subject, Shapes::ShapeRef.new(shape: PublicSubject, location_name: "PublicSubject"))
239
+ DescribeEngagementResult.add_member(:public_content, Shapes::ShapeRef.new(shape: PublicContent, location_name: "PublicContent"))
240
+ DescribeEngagementResult.add_member(:incident_id, Shapes::ShapeRef.new(shape: IncidentId, location_name: "IncidentId"))
241
+ DescribeEngagementResult.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
242
+ DescribeEngagementResult.add_member(:stop_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StopTime"))
243
+ DescribeEngagementResult.struct_class = Types::DescribeEngagementResult
244
+
245
+ DescribePageRequest.add_member(:page_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "PageId"))
246
+ DescribePageRequest.struct_class = Types::DescribePageRequest
247
+
248
+ DescribePageResult.add_member(:page_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "PageArn"))
249
+ DescribePageResult.add_member(:engagement_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementArn"))
250
+ DescribePageResult.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
251
+ DescribePageResult.add_member(:sender, Shapes::ShapeRef.new(shape: Sender, required: true, location_name: "Sender"))
252
+ DescribePageResult.add_member(:subject, Shapes::ShapeRef.new(shape: Subject, required: true, location_name: "Subject"))
253
+ DescribePageResult.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Content"))
254
+ DescribePageResult.add_member(:public_subject, Shapes::ShapeRef.new(shape: PublicSubject, location_name: "PublicSubject"))
255
+ DescribePageResult.add_member(:public_content, Shapes::ShapeRef.new(shape: PublicContent, location_name: "PublicContent"))
256
+ DescribePageResult.add_member(:incident_id, Shapes::ShapeRef.new(shape: IncidentId, location_name: "IncidentId"))
257
+ DescribePageResult.add_member(:sent_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "SentTime"))
258
+ DescribePageResult.add_member(:read_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ReadTime"))
259
+ DescribePageResult.add_member(:delivery_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "DeliveryTime"))
260
+ DescribePageResult.struct_class = Types::DescribePageResult
261
+
262
+ Engagement.add_member(:engagement_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementArn"))
263
+ Engagement.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
264
+ Engagement.add_member(:sender, Shapes::ShapeRef.new(shape: Sender, required: true, location_name: "Sender"))
265
+ Engagement.add_member(:incident_id, Shapes::ShapeRef.new(shape: IncidentId, location_name: "IncidentId"))
266
+ Engagement.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
267
+ Engagement.add_member(:stop_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StopTime"))
268
+ Engagement.struct_class = Types::Engagement
269
+
270
+ EngagementsList.member = Shapes::ShapeRef.new(shape: Engagement)
271
+
272
+ GetContactChannelRequest.add_member(:contact_channel_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelId"))
273
+ GetContactChannelRequest.struct_class = Types::GetContactChannelRequest
274
+
275
+ GetContactChannelResult.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
276
+ GetContactChannelResult.add_member(:contact_channel_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelArn"))
277
+ GetContactChannelResult.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "Name"))
278
+ GetContactChannelResult.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, required: true, location_name: "Type"))
279
+ GetContactChannelResult.add_member(:delivery_address, Shapes::ShapeRef.new(shape: ContactChannelAddress, required: true, location_name: "DeliveryAddress"))
280
+ GetContactChannelResult.add_member(:activation_status, Shapes::ShapeRef.new(shape: ActivationStatus, location_name: "ActivationStatus"))
281
+ GetContactChannelResult.struct_class = Types::GetContactChannelResult
282
+
283
+ GetContactPolicyRequest.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
284
+ GetContactPolicyRequest.struct_class = Types::GetContactPolicyRequest
285
+
286
+ GetContactPolicyResult.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, location_name: "ContactArn"))
287
+ GetContactPolicyResult.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
288
+ GetContactPolicyResult.struct_class = Types::GetContactPolicyResult
289
+
290
+ GetContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactId"))
291
+ GetContactRequest.struct_class = Types::GetContactRequest
292
+
293
+ GetContactResult.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
294
+ GetContactResult.add_member(:alias, Shapes::ShapeRef.new(shape: ContactAlias, required: true, location_name: "Alias"))
295
+ GetContactResult.add_member(:display_name, Shapes::ShapeRef.new(shape: ContactName, location_name: "DisplayName"))
296
+ GetContactResult.add_member(:type, Shapes::ShapeRef.new(shape: ContactType, required: true, location_name: "Type"))
297
+ GetContactResult.add_member(:plan, Shapes::ShapeRef.new(shape: Plan, required: true, location_name: "Plan"))
298
+ GetContactResult.struct_class = Types::GetContactResult
299
+
300
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
301
+ InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location_name: "RetryAfterSeconds"))
302
+ InternalServerException.struct_class = Types::InternalServerException
303
+
304
+ ListContactChannelsRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactId"))
305
+ ListContactChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
306
+ ListContactChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
307
+ ListContactChannelsRequest.struct_class = Types::ListContactChannelsRequest
308
+
309
+ ListContactChannelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
310
+ ListContactChannelsResult.add_member(:contact_channels, Shapes::ShapeRef.new(shape: ContactChannelList, required: true, location_name: "ContactChannels"))
311
+ ListContactChannelsResult.struct_class = Types::ListContactChannelsResult
312
+
313
+ ListContactsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
314
+ ListContactsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
315
+ ListContactsRequest.add_member(:alias_prefix, Shapes::ShapeRef.new(shape: ContactAlias, location_name: "AliasPrefix"))
316
+ ListContactsRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactType, location_name: "Type"))
317
+ ListContactsRequest.struct_class = Types::ListContactsRequest
318
+
319
+ ListContactsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
320
+ ListContactsResult.add_member(:contacts, Shapes::ShapeRef.new(shape: ContactsList, location_name: "Contacts"))
321
+ ListContactsResult.struct_class = Types::ListContactsResult
322
+
323
+ ListEngagementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
324
+ ListEngagementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
325
+ ListEngagementsRequest.add_member(:incident_id, Shapes::ShapeRef.new(shape: IncidentId, location_name: "IncidentId"))
326
+ ListEngagementsRequest.add_member(:time_range_value, Shapes::ShapeRef.new(shape: TimeRange, location_name: "TimeRangeValue"))
327
+ ListEngagementsRequest.struct_class = Types::ListEngagementsRequest
328
+
329
+ ListEngagementsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
330
+ ListEngagementsResult.add_member(:engagements, Shapes::ShapeRef.new(shape: EngagementsList, required: true, location_name: "Engagements"))
331
+ ListEngagementsResult.struct_class = Types::ListEngagementsResult
332
+
333
+ ListPageReceiptsRequest.add_member(:page_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "PageId"))
334
+ ListPageReceiptsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
335
+ ListPageReceiptsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
336
+ ListPageReceiptsRequest.struct_class = Types::ListPageReceiptsRequest
337
+
338
+ ListPageReceiptsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
339
+ ListPageReceiptsResult.add_member(:receipts, Shapes::ShapeRef.new(shape: ReceiptsList, location_name: "Receipts"))
340
+ ListPageReceiptsResult.struct_class = Types::ListPageReceiptsResult
341
+
342
+ ListPagesByContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactId"))
343
+ ListPagesByContactRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
344
+ ListPagesByContactRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
345
+ ListPagesByContactRequest.struct_class = Types::ListPagesByContactRequest
346
+
347
+ ListPagesByContactResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
348
+ ListPagesByContactResult.add_member(:pages, Shapes::ShapeRef.new(shape: PagesList, required: true, location_name: "Pages"))
349
+ ListPagesByContactResult.struct_class = Types::ListPagesByContactResult
350
+
351
+ ListPagesByEngagementRequest.add_member(:engagement_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementId"))
352
+ ListPagesByEngagementRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
353
+ ListPagesByEngagementRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
354
+ ListPagesByEngagementRequest.struct_class = Types::ListPagesByEngagementRequest
355
+
356
+ ListPagesByEngagementResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
357
+ ListPagesByEngagementResult.add_member(:pages, Shapes::ShapeRef.new(shape: PagesList, required: true, location_name: "Pages"))
358
+ ListPagesByEngagementResult.struct_class = Types::ListPagesByEngagementResult
359
+
360
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
361
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
362
+
363
+ ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagsList, location_name: "Tags"))
364
+ ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
365
+
366
+ Page.add_member(:page_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "PageArn"))
367
+ Page.add_member(:engagement_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementArn"))
368
+ Page.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
369
+ Page.add_member(:sender, Shapes::ShapeRef.new(shape: Sender, required: true, location_name: "Sender"))
370
+ Page.add_member(:incident_id, Shapes::ShapeRef.new(shape: IncidentId, location_name: "IncidentId"))
371
+ Page.add_member(:sent_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "SentTime"))
372
+ Page.add_member(:delivery_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "DeliveryTime"))
373
+ Page.add_member(:read_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ReadTime"))
374
+ Page.struct_class = Types::Page
375
+
376
+ PagesList.member = Shapes::ShapeRef.new(shape: Page)
377
+
378
+ Plan.add_member(:stages, Shapes::ShapeRef.new(shape: StagesList, required: true, location_name: "Stages"))
379
+ Plan.struct_class = Types::Plan
380
+
381
+ PutContactPolicyRequest.add_member(:contact_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactArn"))
382
+ PutContactPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "Policy"))
383
+ PutContactPolicyRequest.struct_class = Types::PutContactPolicyRequest
384
+
385
+ PutContactPolicyResult.struct_class = Types::PutContactPolicyResult
386
+
387
+ Receipt.add_member(:contact_channel_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, location_name: "ContactChannelArn"))
388
+ Receipt.add_member(:receipt_type, Shapes::ShapeRef.new(shape: ReceiptType, required: true, location_name: "ReceiptType"))
389
+ Receipt.add_member(:receipt_info, Shapes::ShapeRef.new(shape: ReceiptInfo, location_name: "ReceiptInfo"))
390
+ Receipt.add_member(:receipt_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "ReceiptTime"))
391
+ Receipt.struct_class = Types::Receipt
392
+
393
+ ReceiptsList.member = Shapes::ShapeRef.new(shape: Receipt)
394
+
395
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
396
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
397
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
398
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
399
+
400
+ SendActivationCodeRequest.add_member(:contact_channel_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelId"))
401
+ SendActivationCodeRequest.struct_class = Types::SendActivationCodeRequest
402
+
403
+ SendActivationCodeResult.struct_class = Types::SendActivationCodeResult
404
+
405
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
406
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
407
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
408
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QuotaCode"))
409
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceCode"))
410
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
411
+
412
+ Stage.add_member(:duration_in_minutes, Shapes::ShapeRef.new(shape: StageDurationInMins, required: true, location_name: "DurationInMinutes"))
413
+ Stage.add_member(:targets, Shapes::ShapeRef.new(shape: TargetsList, required: true, location_name: "Targets"))
414
+ Stage.struct_class = Types::Stage
415
+
416
+ StagesList.member = Shapes::ShapeRef.new(shape: Stage)
417
+
418
+ StartEngagementRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactId"))
419
+ StartEngagementRequest.add_member(:sender, Shapes::ShapeRef.new(shape: Sender, required: true, location_name: "Sender"))
420
+ StartEngagementRequest.add_member(:subject, Shapes::ShapeRef.new(shape: Subject, required: true, location_name: "Subject"))
421
+ StartEngagementRequest.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Content"))
422
+ StartEngagementRequest.add_member(:public_subject, Shapes::ShapeRef.new(shape: PublicSubject, location_name: "PublicSubject"))
423
+ StartEngagementRequest.add_member(:public_content, Shapes::ShapeRef.new(shape: PublicContent, location_name: "PublicContent"))
424
+ StartEngagementRequest.add_member(:incident_id, Shapes::ShapeRef.new(shape: IncidentId, location_name: "IncidentId"))
425
+ StartEngagementRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
426
+ StartEngagementRequest.struct_class = Types::StartEngagementRequest
427
+
428
+ StartEngagementResult.add_member(:engagement_arn, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementArn"))
429
+ StartEngagementResult.struct_class = Types::StartEngagementResult
430
+
431
+ StopEngagementRequest.add_member(:engagement_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "EngagementId"))
432
+ StopEngagementRequest.add_member(:reason, Shapes::ShapeRef.new(shape: StopReason, location_name: "Reason"))
433
+ StopEngagementRequest.struct_class = Types::StopEngagementRequest
434
+
435
+ StopEngagementResult.struct_class = Types::StopEngagementResult
436
+
437
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
438
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
439
+ Tag.struct_class = Types::Tag
440
+
441
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
442
+
443
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
444
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsList, required: true, location_name: "Tags"))
445
+ TagResourceRequest.struct_class = Types::TagResourceRequest
446
+
447
+ TagResourceResult.struct_class = Types::TagResourceResult
448
+
449
+ TagsList.member = Shapes::ShapeRef.new(shape: Tag)
450
+
451
+ Target.add_member(:channel_target_info, Shapes::ShapeRef.new(shape: ChannelTargetInfo, location_name: "ChannelTargetInfo"))
452
+ Target.add_member(:contact_target_info, Shapes::ShapeRef.new(shape: ContactTargetInfo, location_name: "ContactTargetInfo"))
453
+ Target.struct_class = Types::Target
454
+
455
+ TargetsList.member = Shapes::ShapeRef.new(shape: Target)
456
+
457
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
458
+ ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "QuotaCode"))
459
+ ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "ServiceCode"))
460
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location_name: "RetryAfterSeconds"))
461
+ ThrottlingException.struct_class = Types::ThrottlingException
462
+
463
+ TimeRange.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
464
+ TimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndTime"))
465
+ TimeRange.struct_class = Types::TimeRange
466
+
467
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
468
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
469
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
470
+
471
+ UntagResourceResult.struct_class = Types::UntagResourceResult
472
+
473
+ UpdateContactChannelRequest.add_member(:contact_channel_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactChannelId"))
474
+ UpdateContactChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "Name"))
475
+ UpdateContactChannelRequest.add_member(:delivery_address, Shapes::ShapeRef.new(shape: ContactChannelAddress, location_name: "DeliveryAddress"))
476
+ UpdateContactChannelRequest.struct_class = Types::UpdateContactChannelRequest
477
+
478
+ UpdateContactChannelResult.struct_class = Types::UpdateContactChannelResult
479
+
480
+ UpdateContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: SsmContactsArn, required: true, location_name: "ContactId"))
481
+ UpdateContactRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ContactName, location_name: "DisplayName"))
482
+ UpdateContactRequest.add_member(:plan, Shapes::ShapeRef.new(shape: Plan, location_name: "Plan"))
483
+ UpdateContactRequest.struct_class = Types::UpdateContactRequest
484
+
485
+ UpdateContactResult.struct_class = Types::UpdateContactResult
486
+
487
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
488
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "Reason"))
489
+ ValidationException.add_member(:fields, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "Fields"))
490
+ ValidationException.struct_class = Types::ValidationException
491
+
492
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
493
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
494
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
495
+
496
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
497
+
498
+
499
+ # @api private
500
+ API = Seahorse::Model::Api.new.tap do |api|
501
+
502
+ api.version = "2021-05-03"
503
+
504
+ api.metadata = {
505
+ "apiVersion" => "2021-05-03",
506
+ "endpointPrefix" => "ssm-contacts",
507
+ "jsonVersion" => "1.1",
508
+ "protocol" => "json",
509
+ "serviceAbbreviation" => "SSM Contacts",
510
+ "serviceFullName" => "AWS Systems Manager Incident Manager Contacts",
511
+ "serviceId" => "SSM Contacts",
512
+ "signatureVersion" => "v4",
513
+ "signingName" => "ssm-contacts",
514
+ "targetPrefix" => "SSMContacts",
515
+ "uid" => "ssm-contacts-2021-05-03",
516
+ }
517
+
518
+ api.add_operation(:accept_page, Seahorse::Model::Operation.new.tap do |o|
519
+ o.name = "AcceptPage"
520
+ o.http_method = "POST"
521
+ o.http_request_uri = "/"
522
+ o.input = Shapes::ShapeRef.new(shape: AcceptPageRequest)
523
+ o.output = Shapes::ShapeRef.new(shape: AcceptPageResult)
524
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
525
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
526
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
527
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
528
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
529
+ end)
530
+
531
+ api.add_operation(:activate_contact_channel, Seahorse::Model::Operation.new.tap do |o|
532
+ o.name = "ActivateContactChannel"
533
+ o.http_method = "POST"
534
+ o.http_request_uri = "/"
535
+ o.input = Shapes::ShapeRef.new(shape: ActivateContactChannelRequest)
536
+ o.output = Shapes::ShapeRef.new(shape: ActivateContactChannelResult)
537
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
538
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
539
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
540
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
541
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
542
+ end)
543
+
544
+ api.add_operation(:create_contact, Seahorse::Model::Operation.new.tap do |o|
545
+ o.name = "CreateContact"
546
+ o.http_method = "POST"
547
+ o.http_request_uri = "/"
548
+ o.input = Shapes::ShapeRef.new(shape: CreateContactRequest)
549
+ o.output = Shapes::ShapeRef.new(shape: CreateContactResult)
550
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
551
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
552
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
553
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
554
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
555
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
556
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
557
+ end)
558
+
559
+ api.add_operation(:create_contact_channel, Seahorse::Model::Operation.new.tap do |o|
560
+ o.name = "CreateContactChannel"
561
+ o.http_method = "POST"
562
+ o.http_request_uri = "/"
563
+ o.input = Shapes::ShapeRef.new(shape: CreateContactChannelRequest)
564
+ o.output = Shapes::ShapeRef.new(shape: CreateContactChannelResult)
565
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
566
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
567
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
568
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
569
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
570
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
571
+ end)
572
+
573
+ api.add_operation(:deactivate_contact_channel, Seahorse::Model::Operation.new.tap do |o|
574
+ o.name = "DeactivateContactChannel"
575
+ o.http_method = "POST"
576
+ o.http_request_uri = "/"
577
+ o.input = Shapes::ShapeRef.new(shape: DeactivateContactChannelRequest)
578
+ o.output = Shapes::ShapeRef.new(shape: DeactivateContactChannelResult)
579
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
580
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
581
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
582
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
583
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
584
+ end)
585
+
586
+ api.add_operation(:delete_contact, Seahorse::Model::Operation.new.tap do |o|
587
+ o.name = "DeleteContact"
588
+ o.http_method = "POST"
589
+ o.http_request_uri = "/"
590
+ o.input = Shapes::ShapeRef.new(shape: DeleteContactRequest)
591
+ o.output = Shapes::ShapeRef.new(shape: DeleteContactResult)
592
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
593
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
594
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
595
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
596
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
597
+ end)
598
+
599
+ api.add_operation(:delete_contact_channel, Seahorse::Model::Operation.new.tap do |o|
600
+ o.name = "DeleteContactChannel"
601
+ o.http_method = "POST"
602
+ o.http_request_uri = "/"
603
+ o.input = Shapes::ShapeRef.new(shape: DeleteContactChannelRequest)
604
+ o.output = Shapes::ShapeRef.new(shape: DeleteContactChannelResult)
605
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
606
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
607
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
608
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
610
+ end)
611
+
612
+ api.add_operation(:describe_engagement, Seahorse::Model::Operation.new.tap do |o|
613
+ o.name = "DescribeEngagement"
614
+ o.http_method = "POST"
615
+ o.http_request_uri = "/"
616
+ o.input = Shapes::ShapeRef.new(shape: DescribeEngagementRequest)
617
+ o.output = Shapes::ShapeRef.new(shape: DescribeEngagementResult)
618
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
619
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
620
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
621
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
622
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
624
+ end)
625
+
626
+ api.add_operation(:describe_page, Seahorse::Model::Operation.new.tap do |o|
627
+ o.name = "DescribePage"
628
+ o.http_method = "POST"
629
+ o.http_request_uri = "/"
630
+ o.input = Shapes::ShapeRef.new(shape: DescribePageRequest)
631
+ o.output = Shapes::ShapeRef.new(shape: DescribePageResult)
632
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
633
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
634
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
635
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
636
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
637
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
638
+ end)
639
+
640
+ api.add_operation(:get_contact, Seahorse::Model::Operation.new.tap do |o|
641
+ o.name = "GetContact"
642
+ o.http_method = "POST"
643
+ o.http_request_uri = "/"
644
+ o.input = Shapes::ShapeRef.new(shape: GetContactRequest)
645
+ o.output = Shapes::ShapeRef.new(shape: GetContactResult)
646
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
647
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
648
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
649
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
650
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
651
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
652
+ end)
653
+
654
+ api.add_operation(:get_contact_channel, Seahorse::Model::Operation.new.tap do |o|
655
+ o.name = "GetContactChannel"
656
+ o.http_method = "POST"
657
+ o.http_request_uri = "/"
658
+ o.input = Shapes::ShapeRef.new(shape: GetContactChannelRequest)
659
+ o.output = Shapes::ShapeRef.new(shape: GetContactChannelResult)
660
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
661
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
662
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
663
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
664
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
665
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
666
+ end)
667
+
668
+ api.add_operation(:get_contact_policy, Seahorse::Model::Operation.new.tap do |o|
669
+ o.name = "GetContactPolicy"
670
+ o.http_method = "POST"
671
+ o.http_request_uri = "/"
672
+ o.input = Shapes::ShapeRef.new(shape: GetContactPolicyRequest)
673
+ o.output = Shapes::ShapeRef.new(shape: GetContactPolicyResult)
674
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
675
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
676
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
677
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
678
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
679
+ end)
680
+
681
+ api.add_operation(:list_contact_channels, Seahorse::Model::Operation.new.tap do |o|
682
+ o.name = "ListContactChannels"
683
+ o.http_method = "POST"
684
+ o.http_request_uri = "/"
685
+ o.input = Shapes::ShapeRef.new(shape: ListContactChannelsRequest)
686
+ o.output = Shapes::ShapeRef.new(shape: ListContactChannelsResult)
687
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
688
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
689
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
690
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
691
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
692
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
693
+ o[:pager] = Aws::Pager.new(
694
+ limit_key: "max_results",
695
+ tokens: {
696
+ "next_token" => "next_token"
697
+ }
698
+ )
699
+ end)
700
+
701
+ api.add_operation(:list_contacts, Seahorse::Model::Operation.new.tap do |o|
702
+ o.name = "ListContacts"
703
+ o.http_method = "POST"
704
+ o.http_request_uri = "/"
705
+ o.input = Shapes::ShapeRef.new(shape: ListContactsRequest)
706
+ o.output = Shapes::ShapeRef.new(shape: ListContactsResult)
707
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
708
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
709
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
710
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
711
+ o[:pager] = Aws::Pager.new(
712
+ limit_key: "max_results",
713
+ tokens: {
714
+ "next_token" => "next_token"
715
+ }
716
+ )
717
+ end)
718
+
719
+ api.add_operation(:list_engagements, Seahorse::Model::Operation.new.tap do |o|
720
+ o.name = "ListEngagements"
721
+ o.http_method = "POST"
722
+ o.http_request_uri = "/"
723
+ o.input = Shapes::ShapeRef.new(shape: ListEngagementsRequest)
724
+ o.output = Shapes::ShapeRef.new(shape: ListEngagementsResult)
725
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
726
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
727
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
728
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
729
+ o[:pager] = Aws::Pager.new(
730
+ limit_key: "max_results",
731
+ tokens: {
732
+ "next_token" => "next_token"
733
+ }
734
+ )
735
+ end)
736
+
737
+ api.add_operation(:list_page_receipts, Seahorse::Model::Operation.new.tap do |o|
738
+ o.name = "ListPageReceipts"
739
+ o.http_method = "POST"
740
+ o.http_request_uri = "/"
741
+ o.input = Shapes::ShapeRef.new(shape: ListPageReceiptsRequest)
742
+ o.output = Shapes::ShapeRef.new(shape: ListPageReceiptsResult)
743
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
744
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
745
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
746
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
747
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
748
+ o[:pager] = Aws::Pager.new(
749
+ limit_key: "max_results",
750
+ tokens: {
751
+ "next_token" => "next_token"
752
+ }
753
+ )
754
+ end)
755
+
756
+ api.add_operation(:list_pages_by_contact, Seahorse::Model::Operation.new.tap do |o|
757
+ o.name = "ListPagesByContact"
758
+ o.http_method = "POST"
759
+ o.http_request_uri = "/"
760
+ o.input = Shapes::ShapeRef.new(shape: ListPagesByContactRequest)
761
+ o.output = Shapes::ShapeRef.new(shape: ListPagesByContactResult)
762
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
763
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
764
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
765
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
766
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
767
+ o[:pager] = Aws::Pager.new(
768
+ limit_key: "max_results",
769
+ tokens: {
770
+ "next_token" => "next_token"
771
+ }
772
+ )
773
+ end)
774
+
775
+ api.add_operation(:list_pages_by_engagement, Seahorse::Model::Operation.new.tap do |o|
776
+ o.name = "ListPagesByEngagement"
777
+ o.http_method = "POST"
778
+ o.http_request_uri = "/"
779
+ o.input = Shapes::ShapeRef.new(shape: ListPagesByEngagementRequest)
780
+ o.output = Shapes::ShapeRef.new(shape: ListPagesByEngagementResult)
781
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
782
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
783
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
784
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
785
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
786
+ o[:pager] = Aws::Pager.new(
787
+ limit_key: "max_results",
788
+ tokens: {
789
+ "next_token" => "next_token"
790
+ }
791
+ )
792
+ end)
793
+
794
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
795
+ o.name = "ListTagsForResource"
796
+ o.http_method = "POST"
797
+ o.http_request_uri = "/"
798
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
799
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
800
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
801
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
802
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
803
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
804
+ end)
805
+
806
+ api.add_operation(:put_contact_policy, Seahorse::Model::Operation.new.tap do |o|
807
+ o.name = "PutContactPolicy"
808
+ o.http_method = "POST"
809
+ o.http_request_uri = "/"
810
+ o.input = Shapes::ShapeRef.new(shape: PutContactPolicyRequest)
811
+ o.output = Shapes::ShapeRef.new(shape: PutContactPolicyResult)
812
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
813
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
814
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
815
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
816
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
817
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
818
+ end)
819
+
820
+ api.add_operation(:send_activation_code, Seahorse::Model::Operation.new.tap do |o|
821
+ o.name = "SendActivationCode"
822
+ o.http_method = "POST"
823
+ o.http_request_uri = "/"
824
+ o.input = Shapes::ShapeRef.new(shape: SendActivationCodeRequest)
825
+ o.output = Shapes::ShapeRef.new(shape: SendActivationCodeResult)
826
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
827
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
828
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
829
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
830
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
831
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
832
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
833
+ end)
834
+
835
+ api.add_operation(:start_engagement, Seahorse::Model::Operation.new.tap do |o|
836
+ o.name = "StartEngagement"
837
+ o.http_method = "POST"
838
+ o.http_request_uri = "/"
839
+ o.input = Shapes::ShapeRef.new(shape: StartEngagementRequest)
840
+ o.output = Shapes::ShapeRef.new(shape: StartEngagementResult)
841
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
842
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
843
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
844
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
845
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
847
+ end)
848
+
849
+ api.add_operation(:stop_engagement, Seahorse::Model::Operation.new.tap do |o|
850
+ o.name = "StopEngagement"
851
+ o.http_method = "POST"
852
+ o.http_request_uri = "/"
853
+ o.input = Shapes::ShapeRef.new(shape: StopEngagementRequest)
854
+ o.output = Shapes::ShapeRef.new(shape: StopEngagementResult)
855
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
856
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
857
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
858
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
859
+ end)
860
+
861
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
862
+ o.name = "TagResource"
863
+ o.http_method = "POST"
864
+ o.http_request_uri = "/"
865
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
866
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResult)
867
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
868
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
869
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
870
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
871
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
872
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
873
+ end)
874
+
875
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
876
+ o.name = "UntagResource"
877
+ o.http_method = "POST"
878
+ o.http_request_uri = "/"
879
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
880
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResult)
881
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
882
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
883
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
884
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
885
+ end)
886
+
887
+ api.add_operation(:update_contact, Seahorse::Model::Operation.new.tap do |o|
888
+ o.name = "UpdateContact"
889
+ o.http_method = "POST"
890
+ o.http_request_uri = "/"
891
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactRequest)
892
+ o.output = Shapes::ShapeRef.new(shape: UpdateContactResult)
893
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
894
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
895
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
896
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
897
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
898
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
899
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
900
+ end)
901
+
902
+ api.add_operation(:update_contact_channel, Seahorse::Model::Operation.new.tap do |o|
903
+ o.name = "UpdateContactChannel"
904
+ o.http_method = "POST"
905
+ o.http_request_uri = "/"
906
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactChannelRequest)
907
+ o.output = Shapes::ShapeRef.new(shape: UpdateContactChannelResult)
908
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
909
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
910
+ o.errors << Shapes::ShapeRef.new(shape: DataEncryptionException)
911
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
912
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
913
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
914
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
915
+ end)
916
+ end
917
+
918
+ end
919
+ end