aws-sdk-chimesdkmessaging 1.9.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chimesdkmessaging/client.rb +266 -5
- data/lib/aws-sdk-chimesdkmessaging/client_api.rb +142 -2
- data/lib/aws-sdk-chimesdkmessaging/types.rb +491 -34
- data/lib/aws-sdk-chimesdkmessaging.rb +1 -1
- metadata +4 -4
@@ -35,6 +35,8 @@ module Aws::ChimeSDKMessaging
|
|
35
35
|
ChannelFlowExecutionOrder = Shapes::IntegerShape.new(name: 'ChannelFlowExecutionOrder')
|
36
36
|
ChannelFlowSummary = Shapes::StructureShape.new(name: 'ChannelFlowSummary')
|
37
37
|
ChannelFlowSummaryList = Shapes::ListShape.new(name: 'ChannelFlowSummaryList')
|
38
|
+
ChannelId = Shapes::StringShape.new(name: 'ChannelId')
|
39
|
+
ChannelMemberArns = Shapes::ListShape.new(name: 'ChannelMemberArns')
|
38
40
|
ChannelMembership = Shapes::StructureShape.new(name: 'ChannelMembership')
|
39
41
|
ChannelMembershipForAppInstanceUserSummary = Shapes::StructureShape.new(name: 'ChannelMembershipForAppInstanceUserSummary')
|
40
42
|
ChannelMembershipForAppInstanceUserSummaryList = Shapes::ListShape.new(name: 'ChannelMembershipForAppInstanceUserSummaryList')
|
@@ -54,6 +56,7 @@ module Aws::ChimeSDKMessaging
|
|
54
56
|
ChannelModeratedByAppInstanceUserSummary = Shapes::StructureShape.new(name: 'ChannelModeratedByAppInstanceUserSummary')
|
55
57
|
ChannelModeratedByAppInstanceUserSummaryList = Shapes::ListShape.new(name: 'ChannelModeratedByAppInstanceUserSummaryList')
|
56
58
|
ChannelModerator = Shapes::StructureShape.new(name: 'ChannelModerator')
|
59
|
+
ChannelModeratorArns = Shapes::ListShape.new(name: 'ChannelModeratorArns')
|
57
60
|
ChannelModeratorSummary = Shapes::StructureShape.new(name: 'ChannelModeratorSummary')
|
58
61
|
ChannelModeratorSummaryList = Shapes::ListShape.new(name: 'ChannelModeratorSummaryList')
|
59
62
|
ChannelPrivacy = Shapes::StringShape.new(name: 'ChannelPrivacy')
|
@@ -94,6 +97,7 @@ module Aws::ChimeSDKMessaging
|
|
94
97
|
DescribeChannelRequest = Shapes::StructureShape.new(name: 'DescribeChannelRequest')
|
95
98
|
DescribeChannelResponse = Shapes::StructureShape.new(name: 'DescribeChannelResponse')
|
96
99
|
DisassociateChannelFlowRequest = Shapes::StructureShape.new(name: 'DisassociateChannelFlowRequest')
|
100
|
+
ElasticChannelConfiguration = Shapes::StructureShape.new(name: 'ElasticChannelConfiguration')
|
97
101
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
98
102
|
FallbackAction = Shapes::StringShape.new(name: 'FallbackAction')
|
99
103
|
FilterRule = Shapes::StringShape.new(name: 'FilterRule')
|
@@ -128,11 +132,15 @@ module Aws::ChimeSDKMessaging
|
|
128
132
|
ListChannelsModeratedByAppInstanceUserResponse = Shapes::StructureShape.new(name: 'ListChannelsModeratedByAppInstanceUserResponse')
|
129
133
|
ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
|
130
134
|
ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
|
135
|
+
ListSubChannelsRequest = Shapes::StructureShape.new(name: 'ListSubChannelsRequest')
|
136
|
+
ListSubChannelsResponse = Shapes::StructureShape.new(name: 'ListSubChannelsResponse')
|
131
137
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
132
138
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
133
139
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
140
|
+
MaximumSubChannels = Shapes::IntegerShape.new(name: 'MaximumSubChannels')
|
134
141
|
MemberArns = Shapes::ListShape.new(name: 'MemberArns')
|
135
142
|
Members = Shapes::ListShape.new(name: 'Members')
|
143
|
+
MembershipCount = Shapes::IntegerShape.new(name: 'MembershipCount')
|
136
144
|
MessageAttributeMap = Shapes::MapShape.new(name: 'MessageAttributeMap')
|
137
145
|
MessageAttributeName = Shapes::StringShape.new(name: 'MessageAttributeName')
|
138
146
|
MessageAttributeStringValue = Shapes::StringShape.new(name: 'MessageAttributeStringValue')
|
@@ -141,6 +149,7 @@ module Aws::ChimeSDKMessaging
|
|
141
149
|
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
142
150
|
MessagingSessionEndpoint = Shapes::StructureShape.new(name: 'MessagingSessionEndpoint')
|
143
151
|
Metadata = Shapes::StringShape.new(name: 'Metadata')
|
152
|
+
MinimumMembershipPercentage = Shapes::IntegerShape.new(name: 'MinimumMembershipPercentage')
|
144
153
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
145
154
|
NonEmptyContent = Shapes::StringShape.new(name: 'NonEmptyContent')
|
146
155
|
NonEmptyResourceName = Shapes::StringShape.new(name: 'NonEmptyResourceName')
|
@@ -160,6 +169,14 @@ module Aws::ChimeSDKMessaging
|
|
160
169
|
RedactChannelMessageResponse = Shapes::StructureShape.new(name: 'RedactChannelMessageResponse')
|
161
170
|
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
162
171
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
172
|
+
SearchChannelsRequest = Shapes::StructureShape.new(name: 'SearchChannelsRequest')
|
173
|
+
SearchChannelsResponse = Shapes::StructureShape.new(name: 'SearchChannelsResponse')
|
174
|
+
SearchField = Shapes::StructureShape.new(name: 'SearchField')
|
175
|
+
SearchFieldKey = Shapes::StringShape.new(name: 'SearchFieldKey')
|
176
|
+
SearchFieldOperator = Shapes::StringShape.new(name: 'SearchFieldOperator')
|
177
|
+
SearchFieldValue = Shapes::StringShape.new(name: 'SearchFieldValue')
|
178
|
+
SearchFieldValues = Shapes::ListShape.new(name: 'SearchFieldValues')
|
179
|
+
SearchFields = Shapes::ListShape.new(name: 'SearchFields')
|
163
180
|
SendChannelMessageRequest = Shapes::StructureShape.new(name: 'SendChannelMessageRequest')
|
164
181
|
SendChannelMessageResponse = Shapes::StructureShape.new(name: 'SendChannelMessageResponse')
|
165
182
|
ServiceFailureException = Shapes::StructureShape.new(name: 'ServiceFailureException')
|
@@ -167,12 +184,16 @@ module Aws::ChimeSDKMessaging
|
|
167
184
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
168
185
|
StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
|
169
186
|
String = Shapes::StringShape.new(name: 'String')
|
187
|
+
SubChannelId = Shapes::StringShape.new(name: 'SubChannelId')
|
188
|
+
SubChannelSummary = Shapes::StructureShape.new(name: 'SubChannelSummary')
|
189
|
+
SubChannelSummaryList = Shapes::ListShape.new(name: 'SubChannelSummaryList')
|
170
190
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
171
191
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
172
192
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
173
193
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
174
194
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
175
195
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
196
|
+
TargetMembershipsPerSubChannel = Shapes::IntegerShape.new(name: 'TargetMembershipsPerSubChannel')
|
176
197
|
ThrottledClientException = Shapes::StructureShape.new(name: 'ThrottledClientException')
|
177
198
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
178
199
|
UnauthorizedClientException = Shapes::StructureShape.new(name: 'UnauthorizedClientException')
|
@@ -189,6 +210,7 @@ module Aws::ChimeSDKMessaging
|
|
189
210
|
|
190
211
|
AppInstanceUserMembershipSummary.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
191
212
|
AppInstanceUserMembershipSummary.add_member(:read_marker_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReadMarkerTimestamp"))
|
213
|
+
AppInstanceUserMembershipSummary.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
192
214
|
AppInstanceUserMembershipSummary.struct_class = Types::AppInstanceUserMembershipSummary
|
193
215
|
|
194
216
|
AssociateChannelFlowRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -204,6 +226,7 @@ module Aws::ChimeSDKMessaging
|
|
204
226
|
BatchChannelMemberships.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
205
227
|
BatchChannelMemberships.add_member(:members, Shapes::ShapeRef.new(shape: Members, location_name: "Members"))
|
206
228
|
BatchChannelMemberships.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
229
|
+
BatchChannelMemberships.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
207
230
|
BatchChannelMemberships.struct_class = Types::BatchChannelMemberships
|
208
231
|
|
209
232
|
BatchCreateChannelMembershipError.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "MemberArn"))
|
@@ -217,6 +240,7 @@ module Aws::ChimeSDKMessaging
|
|
217
240
|
BatchCreateChannelMembershipRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
218
241
|
BatchCreateChannelMembershipRequest.add_member(:member_arns, Shapes::ShapeRef.new(shape: MemberArns, required: true, location_name: "MemberArns"))
|
219
242
|
BatchCreateChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
243
|
+
BatchCreateChannelMembershipRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
220
244
|
BatchCreateChannelMembershipRequest.struct_class = Types::BatchCreateChannelMembershipRequest
|
221
245
|
|
222
246
|
BatchCreateChannelMembershipResponse.add_member(:batch_channel_memberships, Shapes::ShapeRef.new(shape: BatchChannelMemberships, location_name: "BatchChannelMemberships"))
|
@@ -233,6 +257,7 @@ module Aws::ChimeSDKMessaging
|
|
233
257
|
Channel.add_member(:last_message_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastMessageTimestamp"))
|
234
258
|
Channel.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
|
235
259
|
Channel.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelFlowArn"))
|
260
|
+
Channel.add_member(:elastic_channel_configuration, Shapes::ShapeRef.new(shape: ElasticChannelConfiguration, location_name: "ElasticChannelConfiguration"))
|
236
261
|
Channel.struct_class = Types::Channel
|
237
262
|
|
238
263
|
ChannelAssociatedWithFlowSummary.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, location_name: "Name"))
|
@@ -279,12 +304,15 @@ module Aws::ChimeSDKMessaging
|
|
279
304
|
|
280
305
|
ChannelFlowSummaryList.member = Shapes::ShapeRef.new(shape: ChannelFlowSummary)
|
281
306
|
|
307
|
+
ChannelMemberArns.member = Shapes::ShapeRef.new(shape: ChimeArn)
|
308
|
+
|
282
309
|
ChannelMembership.add_member(:invited_by, Shapes::ShapeRef.new(shape: Identity, location_name: "InvitedBy"))
|
283
310
|
ChannelMembership.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
284
311
|
ChannelMembership.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
|
285
312
|
ChannelMembership.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
286
313
|
ChannelMembership.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
|
287
314
|
ChannelMembership.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
|
315
|
+
ChannelMembership.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
288
316
|
ChannelMembership.struct_class = Types::ChannelMembership
|
289
317
|
|
290
318
|
ChannelMembershipForAppInstanceUserSummary.add_member(:channel_summary, Shapes::ShapeRef.new(shape: ChannelSummary, location_name: "ChannelSummary"))
|
@@ -314,6 +342,7 @@ module Aws::ChimeSDKMessaging
|
|
314
342
|
ChannelMessage.add_member(:persistence, Shapes::ShapeRef.new(shape: ChannelMessagePersistenceType, location_name: "Persistence"))
|
315
343
|
ChannelMessage.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
|
316
344
|
ChannelMessage.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
|
345
|
+
ChannelMessage.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
317
346
|
ChannelMessage.struct_class = Types::ChannelMessage
|
318
347
|
|
319
348
|
ChannelMessageCallback.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location_name: "MessageId"))
|
@@ -321,6 +350,7 @@ module Aws::ChimeSDKMessaging
|
|
321
350
|
ChannelMessageCallback.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
322
351
|
ChannelMessageCallback.add_member(:push_notification, Shapes::ShapeRef.new(shape: PushNotificationConfiguration, location_name: "PushNotification"))
|
323
352
|
ChannelMessageCallback.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
|
353
|
+
ChannelMessageCallback.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
324
354
|
ChannelMessageCallback.struct_class = Types::ChannelMessageCallback
|
325
355
|
|
326
356
|
ChannelMessageStatusStructure.add_member(:value, Shapes::ShapeRef.new(shape: ChannelMessageStatus, location_name: "Value"))
|
@@ -353,6 +383,8 @@ module Aws::ChimeSDKMessaging
|
|
353
383
|
ChannelModerator.add_member(:created_by, Shapes::ShapeRef.new(shape: Identity, location_name: "CreatedBy"))
|
354
384
|
ChannelModerator.struct_class = Types::ChannelModerator
|
355
385
|
|
386
|
+
ChannelModeratorArns.member = Shapes::ShapeRef.new(shape: ChimeArn)
|
387
|
+
|
356
388
|
ChannelModeratorSummary.add_member(:moderator, Shapes::ShapeRef.new(shape: Identity, location_name: "Moderator"))
|
357
389
|
ChannelModeratorSummary.struct_class = Types::ChannelModeratorSummary
|
358
390
|
|
@@ -395,10 +427,12 @@ module Aws::ChimeSDKMessaging
|
|
395
427
|
CreateChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "MemberArn"))
|
396
428
|
CreateChannelMembershipRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, required: true, location_name: "Type"))
|
397
429
|
CreateChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
430
|
+
CreateChannelMembershipRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
398
431
|
CreateChannelMembershipRequest.struct_class = Types::CreateChannelMembershipRequest
|
399
432
|
|
400
433
|
CreateChannelMembershipResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
401
434
|
CreateChannelMembershipResponse.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
|
435
|
+
CreateChannelMembershipResponse.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
402
436
|
CreateChannelMembershipResponse.struct_class = Types::CreateChannelMembershipResponse
|
403
437
|
|
404
438
|
CreateChannelModeratorRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -418,6 +452,10 @@ module Aws::ChimeSDKMessaging
|
|
418
452
|
CreateChannelRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
419
453
|
CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
420
454
|
CreateChannelRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
455
|
+
CreateChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, location_name: "ChannelId"))
|
456
|
+
CreateChannelRequest.add_member(:member_arns, Shapes::ShapeRef.new(shape: ChannelMemberArns, location_name: "MemberArns"))
|
457
|
+
CreateChannelRequest.add_member(:moderator_arns, Shapes::ShapeRef.new(shape: ChannelModeratorArns, location_name: "ModeratorArns"))
|
458
|
+
CreateChannelRequest.add_member(:elastic_channel_configuration, Shapes::ShapeRef.new(shape: ElasticChannelConfiguration, location_name: "ElasticChannelConfiguration"))
|
421
459
|
CreateChannelRequest.struct_class = Types::CreateChannelRequest
|
422
460
|
|
423
461
|
CreateChannelResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
@@ -434,11 +472,13 @@ module Aws::ChimeSDKMessaging
|
|
434
472
|
DeleteChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
435
473
|
DeleteChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
|
436
474
|
DeleteChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
475
|
+
DeleteChannelMembershipRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location: "querystring", location_name: "sub-channel-id"))
|
437
476
|
DeleteChannelMembershipRequest.struct_class = Types::DeleteChannelMembershipRequest
|
438
477
|
|
439
478
|
DeleteChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
440
479
|
DeleteChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
441
480
|
DeleteChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
481
|
+
DeleteChannelMessageRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location: "querystring", location_name: "sub-channel-id"))
|
442
482
|
DeleteChannelMessageRequest.struct_class = Types::DeleteChannelMessageRequest
|
443
483
|
|
444
484
|
DeleteChannelModeratorRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -448,6 +488,7 @@ module Aws::ChimeSDKMessaging
|
|
448
488
|
|
449
489
|
DeleteChannelRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
450
490
|
DeleteChannelRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
491
|
+
DeleteChannelRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location: "querystring", location_name: "sub-channel-id"))
|
451
492
|
DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
|
452
493
|
|
453
494
|
DescribeChannelBanRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -475,6 +516,7 @@ module Aws::ChimeSDKMessaging
|
|
475
516
|
DescribeChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
476
517
|
DescribeChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
|
477
518
|
DescribeChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
519
|
+
DescribeChannelMembershipRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location: "querystring", location_name: "sub-channel-id"))
|
478
520
|
DescribeChannelMembershipRequest.struct_class = Types::DescribeChannelMembershipRequest
|
479
521
|
|
480
522
|
DescribeChannelMembershipResponse.add_member(:channel_membership, Shapes::ShapeRef.new(shape: ChannelMembership, location_name: "ChannelMembership"))
|
@@ -508,6 +550,11 @@ module Aws::ChimeSDKMessaging
|
|
508
550
|
DisassociateChannelFlowRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
509
551
|
DisassociateChannelFlowRequest.struct_class = Types::DisassociateChannelFlowRequest
|
510
552
|
|
553
|
+
ElasticChannelConfiguration.add_member(:maximum_sub_channels, Shapes::ShapeRef.new(shape: MaximumSubChannels, required: true, location_name: "MaximumSubChannels"))
|
554
|
+
ElasticChannelConfiguration.add_member(:target_memberships_per_sub_channel, Shapes::ShapeRef.new(shape: TargetMembershipsPerSubChannel, required: true, location_name: "TargetMembershipsPerSubChannel"))
|
555
|
+
ElasticChannelConfiguration.add_member(:minimum_membership_percentage, Shapes::ShapeRef.new(shape: MinimumMembershipPercentage, required: true, location_name: "MinimumMembershipPercentage"))
|
556
|
+
ElasticChannelConfiguration.struct_class = Types::ElasticChannelConfiguration
|
557
|
+
|
511
558
|
ForbiddenException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
512
559
|
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
513
560
|
ForbiddenException.struct_class = Types::ForbiddenException
|
@@ -525,6 +572,7 @@ module Aws::ChimeSDKMessaging
|
|
525
572
|
GetChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
526
573
|
GetChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
527
574
|
GetChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
575
|
+
GetChannelMessageRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location: "querystring", location_name: "sub-channel-id"))
|
528
576
|
GetChannelMessageRequest.struct_class = Types::GetChannelMessageRequest
|
529
577
|
|
530
578
|
GetChannelMessageResponse.add_member(:channel_message, Shapes::ShapeRef.new(shape: ChannelMessage, location_name: "ChannelMessage"))
|
@@ -533,6 +581,7 @@ module Aws::ChimeSDKMessaging
|
|
533
581
|
GetChannelMessageStatusRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
534
582
|
GetChannelMessageStatusRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
535
583
|
GetChannelMessageStatusRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
584
|
+
GetChannelMessageStatusRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location: "querystring", location_name: "sub-channel-id"))
|
536
585
|
GetChannelMessageStatusRequest.struct_class = Types::GetChannelMessageStatusRequest
|
537
586
|
|
538
587
|
GetChannelMessageStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
|
@@ -586,6 +635,7 @@ module Aws::ChimeSDKMessaging
|
|
586
635
|
ListChannelMembershipsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
587
636
|
ListChannelMembershipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
588
637
|
ListChannelMembershipsRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
638
|
+
ListChannelMembershipsRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location: "querystring", location_name: "sub-channel-id"))
|
589
639
|
ListChannelMembershipsRequest.struct_class = Types::ListChannelMembershipsRequest
|
590
640
|
|
591
641
|
ListChannelMembershipsResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
@@ -600,11 +650,13 @@ module Aws::ChimeSDKMessaging
|
|
600
650
|
ListChannelMessagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
601
651
|
ListChannelMessagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
602
652
|
ListChannelMessagesRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
653
|
+
ListChannelMessagesRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location: "querystring", location_name: "sub-channel-id"))
|
603
654
|
ListChannelMessagesRequest.struct_class = Types::ListChannelMessagesRequest
|
604
655
|
|
605
656
|
ListChannelMessagesResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
606
657
|
ListChannelMessagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
607
658
|
ListChannelMessagesResponse.add_member(:channel_messages, Shapes::ShapeRef.new(shape: ChannelMessageSummaryList, location_name: "ChannelMessages"))
|
659
|
+
ListChannelMessagesResponse.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
608
660
|
ListChannelMessagesResponse.struct_class = Types::ListChannelMessagesResponse
|
609
661
|
|
610
662
|
ListChannelModeratorsRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -648,6 +700,17 @@ module Aws::ChimeSDKMessaging
|
|
648
700
|
ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
649
701
|
ListChannelsResponse.struct_class = Types::ListChannelsResponse
|
650
702
|
|
703
|
+
ListSubChannelsRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
704
|
+
ListSubChannelsRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
705
|
+
ListSubChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
706
|
+
ListSubChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
707
|
+
ListSubChannelsRequest.struct_class = Types::ListSubChannelsRequest
|
708
|
+
|
709
|
+
ListSubChannelsResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
710
|
+
ListSubChannelsResponse.add_member(:sub_channels, Shapes::ShapeRef.new(shape: SubChannelSummaryList, location_name: "SubChannels"))
|
711
|
+
ListSubChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
712
|
+
ListSubChannelsResponse.struct_class = Types::ListSubChannelsResponse
|
713
|
+
|
651
714
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "querystring", location_name: "arn"))
|
652
715
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
653
716
|
|
@@ -707,16 +770,37 @@ module Aws::ChimeSDKMessaging
|
|
707
770
|
RedactChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
708
771
|
RedactChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
709
772
|
RedactChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
773
|
+
RedactChannelMessageRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
710
774
|
RedactChannelMessageRequest.struct_class = Types::RedactChannelMessageRequest
|
711
775
|
|
712
776
|
RedactChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
713
777
|
RedactChannelMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
|
778
|
+
RedactChannelMessageResponse.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
714
779
|
RedactChannelMessageResponse.struct_class = Types::RedactChannelMessageResponse
|
715
780
|
|
716
781
|
ResourceLimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
717
782
|
ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
718
783
|
ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
|
719
784
|
|
785
|
+
SearchChannelsRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, location: "header", location_name: "x-amz-chime-bearer"))
|
786
|
+
SearchChannelsRequest.add_member(:fields, Shapes::ShapeRef.new(shape: SearchFields, required: true, location_name: "Fields"))
|
787
|
+
SearchChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
788
|
+
SearchChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
789
|
+
SearchChannelsRequest.struct_class = Types::SearchChannelsRequest
|
790
|
+
|
791
|
+
SearchChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: ChannelSummaryList, location_name: "Channels"))
|
792
|
+
SearchChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
793
|
+
SearchChannelsResponse.struct_class = Types::SearchChannelsResponse
|
794
|
+
|
795
|
+
SearchField.add_member(:key, Shapes::ShapeRef.new(shape: SearchFieldKey, required: true, location_name: "Key"))
|
796
|
+
SearchField.add_member(:values, Shapes::ShapeRef.new(shape: SearchFieldValues, required: true, location_name: "Values"))
|
797
|
+
SearchField.add_member(:operator, Shapes::ShapeRef.new(shape: SearchFieldOperator, required: true, location_name: "Operator"))
|
798
|
+
SearchField.struct_class = Types::SearchField
|
799
|
+
|
800
|
+
SearchFieldValues.member = Shapes::ShapeRef.new(shape: SearchFieldValue)
|
801
|
+
|
802
|
+
SearchFields.member = Shapes::ShapeRef.new(shape: SearchField)
|
803
|
+
|
720
804
|
SendChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
721
805
|
SendChannelMessageRequest.add_member(:content, Shapes::ShapeRef.new(shape: NonEmptyContent, required: true, location_name: "Content"))
|
722
806
|
SendChannelMessageRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMessageType, required: true, location_name: "Type"))
|
@@ -726,11 +810,13 @@ module Aws::ChimeSDKMessaging
|
|
726
810
|
SendChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
727
811
|
SendChannelMessageRequest.add_member(:push_notification, Shapes::ShapeRef.new(shape: PushNotificationConfiguration, location_name: "PushNotification"))
|
728
812
|
SendChannelMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
|
813
|
+
SendChannelMessageRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
729
814
|
SendChannelMessageRequest.struct_class = Types::SendChannelMessageRequest
|
730
815
|
|
731
816
|
SendChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
732
817
|
SendChannelMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
|
733
818
|
SendChannelMessageResponse.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
|
819
|
+
SendChannelMessageResponse.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
734
820
|
SendChannelMessageResponse.struct_class = Types::SendChannelMessageResponse
|
735
821
|
|
736
822
|
ServiceFailureException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
@@ -741,6 +827,12 @@ module Aws::ChimeSDKMessaging
|
|
741
827
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
742
828
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
743
829
|
|
830
|
+
SubChannelSummary.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
831
|
+
SubChannelSummary.add_member(:membership_count, Shapes::ShapeRef.new(shape: MembershipCount, location_name: "MembershipCount"))
|
832
|
+
SubChannelSummary.struct_class = Types::SubChannelSummary
|
833
|
+
|
834
|
+
SubChannelSummaryList.member = Shapes::ShapeRef.new(shape: SubChannelSummary)
|
835
|
+
|
744
836
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
745
837
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
746
838
|
Tag.struct_class = Types::Tag
|
@@ -778,23 +870,27 @@ module Aws::ChimeSDKMessaging
|
|
778
870
|
UpdateChannelMessageRequest.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "Content"))
|
779
871
|
UpdateChannelMessageRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
780
872
|
UpdateChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
873
|
+
UpdateChannelMessageRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
781
874
|
UpdateChannelMessageRequest.struct_class = Types::UpdateChannelMessageRequest
|
782
875
|
|
783
876
|
UpdateChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
784
877
|
UpdateChannelMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
|
785
878
|
UpdateChannelMessageResponse.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
|
879
|
+
UpdateChannelMessageResponse.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
786
880
|
UpdateChannelMessageResponse.struct_class = Types::UpdateChannelMessageResponse
|
787
881
|
|
788
882
|
UpdateChannelReadMarkerRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
789
883
|
UpdateChannelReadMarkerRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
884
|
+
UpdateChannelReadMarkerRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
790
885
|
UpdateChannelReadMarkerRequest.struct_class = Types::UpdateChannelReadMarkerRequest
|
791
886
|
|
792
887
|
UpdateChannelReadMarkerResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
888
|
+
UpdateChannelReadMarkerResponse.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
|
793
889
|
UpdateChannelReadMarkerResponse.struct_class = Types::UpdateChannelReadMarkerResponse
|
794
890
|
|
795
891
|
UpdateChannelRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
796
|
-
UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName,
|
797
|
-
UpdateChannelRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ChannelMode,
|
892
|
+
UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, location_name: "Name"))
|
893
|
+
UpdateChannelRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ChannelMode, location_name: "Mode"))
|
798
894
|
UpdateChannelRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
799
895
|
UpdateChannelRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
800
896
|
UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
|
@@ -845,8 +941,10 @@ module Aws::ChimeSDKMessaging
|
|
845
941
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
846
942
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
847
943
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
944
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
848
945
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
849
946
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
947
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
850
948
|
end)
|
851
949
|
|
852
950
|
api.add_operation(:channel_flow_callback, Seahorse::Model::Operation.new.tap do |o|
|
@@ -919,6 +1017,7 @@ module Aws::ChimeSDKMessaging
|
|
919
1017
|
o.input = Shapes::ShapeRef.new(shape: CreateChannelMembershipRequest)
|
920
1018
|
o.output = Shapes::ShapeRef.new(shape: CreateChannelMembershipResponse)
|
921
1019
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
922
1021
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
923
1022
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
924
1023
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
@@ -1383,6 +1482,26 @@ module Aws::ChimeSDKMessaging
|
|
1383
1482
|
)
|
1384
1483
|
end)
|
1385
1484
|
|
1485
|
+
api.add_operation(:list_sub_channels, Seahorse::Model::Operation.new.tap do |o|
|
1486
|
+
o.name = "ListSubChannels"
|
1487
|
+
o.http_method = "GET"
|
1488
|
+
o.http_request_uri = "/channels/{channelArn}/subchannels"
|
1489
|
+
o.input = Shapes::ShapeRef.new(shape: ListSubChannelsRequest)
|
1490
|
+
o.output = Shapes::ShapeRef.new(shape: ListSubChannelsResponse)
|
1491
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1492
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1493
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1494
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1495
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1496
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1497
|
+
o[:pager] = Aws::Pager.new(
|
1498
|
+
limit_key: "max_results",
|
1499
|
+
tokens: {
|
1500
|
+
"next_token" => "next_token"
|
1501
|
+
}
|
1502
|
+
)
|
1503
|
+
end)
|
1504
|
+
|
1386
1505
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
1387
1506
|
o.name = "ListTagsForResource"
|
1388
1507
|
o.http_method = "GET"
|
@@ -1420,12 +1539,33 @@ module Aws::ChimeSDKMessaging
|
|
1420
1539
|
o.output = Shapes::ShapeRef.new(shape: RedactChannelMessageResponse)
|
1421
1540
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1422
1541
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1542
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1423
1543
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1424
1544
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1425
1545
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1426
1546
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1427
1547
|
end)
|
1428
1548
|
|
1549
|
+
api.add_operation(:search_channels, Seahorse::Model::Operation.new.tap do |o|
|
1550
|
+
o.name = "SearchChannels"
|
1551
|
+
o.http_method = "POST"
|
1552
|
+
o.http_request_uri = "/channels?operation=search"
|
1553
|
+
o.input = Shapes::ShapeRef.new(shape: SearchChannelsRequest)
|
1554
|
+
o.output = Shapes::ShapeRef.new(shape: SearchChannelsResponse)
|
1555
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1556
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1557
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1558
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1559
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1560
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1561
|
+
o[:pager] = Aws::Pager.new(
|
1562
|
+
limit_key: "max_results",
|
1563
|
+
tokens: {
|
1564
|
+
"next_token" => "next_token"
|
1565
|
+
}
|
1566
|
+
)
|
1567
|
+
end)
|
1568
|
+
|
1429
1569
|
api.add_operation(:send_channel_message, Seahorse::Model::Operation.new.tap do |o|
|
1430
1570
|
o.name = "SendChannelMessage"
|
1431
1571
|
o.http_method = "POST"
|