aws-sdk-chimesdkmessaging 1.11.0 → 1.13.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chimesdkmessaging/client.rb +191 -5
- data/lib/aws-sdk-chimesdkmessaging/client_api.rb +82 -0
- data/lib/aws-sdk-chimesdkmessaging/types.rb +358 -28
- data/lib/aws-sdk-chimesdkmessaging.rb +1 -1
- metadata +2 -2
@@ -97,6 +97,7 @@ module Aws::ChimeSDKMessaging
|
|
97
97
|
DescribeChannelRequest = Shapes::StructureShape.new(name: 'DescribeChannelRequest')
|
98
98
|
DescribeChannelResponse = Shapes::StructureShape.new(name: 'DescribeChannelResponse')
|
99
99
|
DisassociateChannelFlowRequest = Shapes::StructureShape.new(name: 'DisassociateChannelFlowRequest')
|
100
|
+
ElasticChannelConfiguration = Shapes::StructureShape.new(name: 'ElasticChannelConfiguration')
|
100
101
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
101
102
|
FallbackAction = Shapes::StringShape.new(name: 'FallbackAction')
|
102
103
|
FilterRule = Shapes::StringShape.new(name: 'FilterRule')
|
@@ -131,11 +132,15 @@ module Aws::ChimeSDKMessaging
|
|
131
132
|
ListChannelsModeratedByAppInstanceUserResponse = Shapes::StructureShape.new(name: 'ListChannelsModeratedByAppInstanceUserResponse')
|
132
133
|
ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
|
133
134
|
ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
|
135
|
+
ListSubChannelsRequest = Shapes::StructureShape.new(name: 'ListSubChannelsRequest')
|
136
|
+
ListSubChannelsResponse = Shapes::StructureShape.new(name: 'ListSubChannelsResponse')
|
134
137
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
135
138
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
136
139
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
140
|
+
MaximumSubChannels = Shapes::IntegerShape.new(name: 'MaximumSubChannels')
|
137
141
|
MemberArns = Shapes::ListShape.new(name: 'MemberArns')
|
138
142
|
Members = Shapes::ListShape.new(name: 'Members')
|
143
|
+
MembershipCount = Shapes::IntegerShape.new(name: 'MembershipCount')
|
139
144
|
MessageAttributeMap = Shapes::MapShape.new(name: 'MessageAttributeMap')
|
140
145
|
MessageAttributeName = Shapes::StringShape.new(name: 'MessageAttributeName')
|
141
146
|
MessageAttributeStringValue = Shapes::StringShape.new(name: 'MessageAttributeStringValue')
|
@@ -144,6 +149,7 @@ module Aws::ChimeSDKMessaging
|
|
144
149
|
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
145
150
|
MessagingSessionEndpoint = Shapes::StructureShape.new(name: 'MessagingSessionEndpoint')
|
146
151
|
Metadata = Shapes::StringShape.new(name: 'Metadata')
|
152
|
+
MinimumMembershipPercentage = Shapes::IntegerShape.new(name: 'MinimumMembershipPercentage')
|
147
153
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
148
154
|
NonEmptyContent = Shapes::StringShape.new(name: 'NonEmptyContent')
|
149
155
|
NonEmptyResourceName = Shapes::StringShape.new(name: 'NonEmptyResourceName')
|
@@ -178,12 +184,16 @@ module Aws::ChimeSDKMessaging
|
|
178
184
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
179
185
|
StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
|
180
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')
|
181
190
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
182
191
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
183
192
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
184
193
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
185
194
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
186
195
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
196
|
+
TargetMembershipsPerSubChannel = Shapes::IntegerShape.new(name: 'TargetMembershipsPerSubChannel')
|
187
197
|
ThrottledClientException = Shapes::StructureShape.new(name: 'ThrottledClientException')
|
188
198
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
189
199
|
UnauthorizedClientException = Shapes::StructureShape.new(name: 'UnauthorizedClientException')
|
@@ -200,6 +210,7 @@ module Aws::ChimeSDKMessaging
|
|
200
210
|
|
201
211
|
AppInstanceUserMembershipSummary.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
202
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"))
|
203
214
|
AppInstanceUserMembershipSummary.struct_class = Types::AppInstanceUserMembershipSummary
|
204
215
|
|
205
216
|
AssociateChannelFlowRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -215,6 +226,7 @@ module Aws::ChimeSDKMessaging
|
|
215
226
|
BatchChannelMemberships.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
216
227
|
BatchChannelMemberships.add_member(:members, Shapes::ShapeRef.new(shape: Members, location_name: "Members"))
|
217
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"))
|
218
230
|
BatchChannelMemberships.struct_class = Types::BatchChannelMemberships
|
219
231
|
|
220
232
|
BatchCreateChannelMembershipError.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "MemberArn"))
|
@@ -228,6 +240,7 @@ module Aws::ChimeSDKMessaging
|
|
228
240
|
BatchCreateChannelMembershipRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
229
241
|
BatchCreateChannelMembershipRequest.add_member(:member_arns, Shapes::ShapeRef.new(shape: MemberArns, required: true, location_name: "MemberArns"))
|
230
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"))
|
231
244
|
BatchCreateChannelMembershipRequest.struct_class = Types::BatchCreateChannelMembershipRequest
|
232
245
|
|
233
246
|
BatchCreateChannelMembershipResponse.add_member(:batch_channel_memberships, Shapes::ShapeRef.new(shape: BatchChannelMemberships, location_name: "BatchChannelMemberships"))
|
@@ -244,6 +257,7 @@ module Aws::ChimeSDKMessaging
|
|
244
257
|
Channel.add_member(:last_message_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastMessageTimestamp"))
|
245
258
|
Channel.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
|
246
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"))
|
247
261
|
Channel.struct_class = Types::Channel
|
248
262
|
|
249
263
|
ChannelAssociatedWithFlowSummary.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, location_name: "Name"))
|
@@ -298,6 +312,7 @@ module Aws::ChimeSDKMessaging
|
|
298
312
|
ChannelMembership.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
299
313
|
ChannelMembership.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
|
300
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"))
|
301
316
|
ChannelMembership.struct_class = Types::ChannelMembership
|
302
317
|
|
303
318
|
ChannelMembershipForAppInstanceUserSummary.add_member(:channel_summary, Shapes::ShapeRef.new(shape: ChannelSummary, location_name: "ChannelSummary"))
|
@@ -327,6 +342,7 @@ module Aws::ChimeSDKMessaging
|
|
327
342
|
ChannelMessage.add_member(:persistence, Shapes::ShapeRef.new(shape: ChannelMessagePersistenceType, location_name: "Persistence"))
|
328
343
|
ChannelMessage.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
|
329
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"))
|
330
346
|
ChannelMessage.struct_class = Types::ChannelMessage
|
331
347
|
|
332
348
|
ChannelMessageCallback.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location_name: "MessageId"))
|
@@ -334,6 +350,7 @@ module Aws::ChimeSDKMessaging
|
|
334
350
|
ChannelMessageCallback.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
335
351
|
ChannelMessageCallback.add_member(:push_notification, Shapes::ShapeRef.new(shape: PushNotificationConfiguration, location_name: "PushNotification"))
|
336
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"))
|
337
354
|
ChannelMessageCallback.struct_class = Types::ChannelMessageCallback
|
338
355
|
|
339
356
|
ChannelMessageStatusStructure.add_member(:value, Shapes::ShapeRef.new(shape: ChannelMessageStatus, location_name: "Value"))
|
@@ -410,10 +427,12 @@ module Aws::ChimeSDKMessaging
|
|
410
427
|
CreateChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "MemberArn"))
|
411
428
|
CreateChannelMembershipRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, required: true, location_name: "Type"))
|
412
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"))
|
413
431
|
CreateChannelMembershipRequest.struct_class = Types::CreateChannelMembershipRequest
|
414
432
|
|
415
433
|
CreateChannelMembershipResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
416
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"))
|
417
436
|
CreateChannelMembershipResponse.struct_class = Types::CreateChannelMembershipResponse
|
418
437
|
|
419
438
|
CreateChannelModeratorRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -436,6 +455,7 @@ module Aws::ChimeSDKMessaging
|
|
436
455
|
CreateChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, location_name: "ChannelId"))
|
437
456
|
CreateChannelRequest.add_member(:member_arns, Shapes::ShapeRef.new(shape: ChannelMemberArns, location_name: "MemberArns"))
|
438
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"))
|
439
459
|
CreateChannelRequest.struct_class = Types::CreateChannelRequest
|
440
460
|
|
441
461
|
CreateChannelResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
@@ -452,11 +472,13 @@ module Aws::ChimeSDKMessaging
|
|
452
472
|
DeleteChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
453
473
|
DeleteChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
|
454
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"))
|
455
476
|
DeleteChannelMembershipRequest.struct_class = Types::DeleteChannelMembershipRequest
|
456
477
|
|
457
478
|
DeleteChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
458
479
|
DeleteChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
459
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"))
|
460
482
|
DeleteChannelMessageRequest.struct_class = Types::DeleteChannelMessageRequest
|
461
483
|
|
462
484
|
DeleteChannelModeratorRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -466,6 +488,7 @@ module Aws::ChimeSDKMessaging
|
|
466
488
|
|
467
489
|
DeleteChannelRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
468
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"))
|
469
492
|
DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
|
470
493
|
|
471
494
|
DescribeChannelBanRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -493,6 +516,7 @@ module Aws::ChimeSDKMessaging
|
|
493
516
|
DescribeChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
494
517
|
DescribeChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
|
495
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"))
|
496
520
|
DescribeChannelMembershipRequest.struct_class = Types::DescribeChannelMembershipRequest
|
497
521
|
|
498
522
|
DescribeChannelMembershipResponse.add_member(:channel_membership, Shapes::ShapeRef.new(shape: ChannelMembership, location_name: "ChannelMembership"))
|
@@ -526,6 +550,11 @@ module Aws::ChimeSDKMessaging
|
|
526
550
|
DisassociateChannelFlowRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
527
551
|
DisassociateChannelFlowRequest.struct_class = Types::DisassociateChannelFlowRequest
|
528
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
|
+
|
529
558
|
ForbiddenException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
530
559
|
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
531
560
|
ForbiddenException.struct_class = Types::ForbiddenException
|
@@ -543,6 +572,7 @@ module Aws::ChimeSDKMessaging
|
|
543
572
|
GetChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
544
573
|
GetChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
545
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"))
|
546
576
|
GetChannelMessageRequest.struct_class = Types::GetChannelMessageRequest
|
547
577
|
|
548
578
|
GetChannelMessageResponse.add_member(:channel_message, Shapes::ShapeRef.new(shape: ChannelMessage, location_name: "ChannelMessage"))
|
@@ -551,6 +581,7 @@ module Aws::ChimeSDKMessaging
|
|
551
581
|
GetChannelMessageStatusRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
552
582
|
GetChannelMessageStatusRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
553
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"))
|
554
585
|
GetChannelMessageStatusRequest.struct_class = Types::GetChannelMessageStatusRequest
|
555
586
|
|
556
587
|
GetChannelMessageStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
|
@@ -604,6 +635,7 @@ module Aws::ChimeSDKMessaging
|
|
604
635
|
ListChannelMembershipsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
605
636
|
ListChannelMembershipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
606
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"))
|
607
639
|
ListChannelMembershipsRequest.struct_class = Types::ListChannelMembershipsRequest
|
608
640
|
|
609
641
|
ListChannelMembershipsResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
@@ -618,11 +650,13 @@ module Aws::ChimeSDKMessaging
|
|
618
650
|
ListChannelMessagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
619
651
|
ListChannelMessagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
620
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"))
|
621
654
|
ListChannelMessagesRequest.struct_class = Types::ListChannelMessagesRequest
|
622
655
|
|
623
656
|
ListChannelMessagesResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
624
657
|
ListChannelMessagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
625
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"))
|
626
660
|
ListChannelMessagesResponse.struct_class = Types::ListChannelMessagesResponse
|
627
661
|
|
628
662
|
ListChannelModeratorsRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -666,6 +700,17 @@ module Aws::ChimeSDKMessaging
|
|
666
700
|
ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
667
701
|
ListChannelsResponse.struct_class = Types::ListChannelsResponse
|
668
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
|
+
|
669
714
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "querystring", location_name: "arn"))
|
670
715
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
671
716
|
|
@@ -725,10 +770,12 @@ module Aws::ChimeSDKMessaging
|
|
725
770
|
RedactChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
726
771
|
RedactChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
727
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"))
|
728
774
|
RedactChannelMessageRequest.struct_class = Types::RedactChannelMessageRequest
|
729
775
|
|
730
776
|
RedactChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
731
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"))
|
732
779
|
RedactChannelMessageResponse.struct_class = Types::RedactChannelMessageResponse
|
733
780
|
|
734
781
|
ResourceLimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
@@ -763,11 +810,13 @@ module Aws::ChimeSDKMessaging
|
|
763
810
|
SendChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
764
811
|
SendChannelMessageRequest.add_member(:push_notification, Shapes::ShapeRef.new(shape: PushNotificationConfiguration, location_name: "PushNotification"))
|
765
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"))
|
766
814
|
SendChannelMessageRequest.struct_class = Types::SendChannelMessageRequest
|
767
815
|
|
768
816
|
SendChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
769
817
|
SendChannelMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
|
770
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"))
|
771
820
|
SendChannelMessageResponse.struct_class = Types::SendChannelMessageResponse
|
772
821
|
|
773
822
|
ServiceFailureException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
@@ -778,6 +827,12 @@ module Aws::ChimeSDKMessaging
|
|
778
827
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
779
828
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
780
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
|
+
|
781
836
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
782
837
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
783
838
|
Tag.struct_class = Types::Tag
|
@@ -815,18 +870,22 @@ module Aws::ChimeSDKMessaging
|
|
815
870
|
UpdateChannelMessageRequest.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "Content"))
|
816
871
|
UpdateChannelMessageRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
817
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"))
|
818
874
|
UpdateChannelMessageRequest.struct_class = Types::UpdateChannelMessageRequest
|
819
875
|
|
820
876
|
UpdateChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
821
877
|
UpdateChannelMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
|
822
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"))
|
823
880
|
UpdateChannelMessageResponse.struct_class = Types::UpdateChannelMessageResponse
|
824
881
|
|
825
882
|
UpdateChannelReadMarkerRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
826
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"))
|
827
885
|
UpdateChannelReadMarkerRequest.struct_class = Types::UpdateChannelReadMarkerRequest
|
828
886
|
|
829
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"))
|
830
889
|
UpdateChannelReadMarkerResponse.struct_class = Types::UpdateChannelReadMarkerResponse
|
831
890
|
|
832
891
|
UpdateChannelRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -882,8 +941,10 @@ module Aws::ChimeSDKMessaging
|
|
882
941
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
883
942
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
884
943
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
944
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
885
945
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
886
946
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
947
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
887
948
|
end)
|
888
949
|
|
889
950
|
api.add_operation(:channel_flow_callback, Seahorse::Model::Operation.new.tap do |o|
|
@@ -956,6 +1017,7 @@ module Aws::ChimeSDKMessaging
|
|
956
1017
|
o.input = Shapes::ShapeRef.new(shape: CreateChannelMembershipRequest)
|
957
1018
|
o.output = Shapes::ShapeRef.new(shape: CreateChannelMembershipResponse)
|
958
1019
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
959
1021
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
960
1022
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
961
1023
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
@@ -1420,6 +1482,26 @@ module Aws::ChimeSDKMessaging
|
|
1420
1482
|
)
|
1421
1483
|
end)
|
1422
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
|
+
|
1423
1505
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
1424
1506
|
o.name = "ListTagsForResource"
|
1425
1507
|
o.http_method = "GET"
|