aws-sdk-chimesdkmeetings 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f377fd267016dc2663cb31495b2d2638540e5a28ad4dad066696f7e415d5f50c
4
- data.tar.gz: 10d85bd64ff64001a9a4cf5fa5ec5a1013c9f602ee136d955550ad077584a0fa
3
+ metadata.gz: a7f7eb46a5cee5b9644b5348bd411382ff4a4d089021502add2ad469ec294531
4
+ data.tar.gz: 870ce92f4fbf5f61f0d6e6d082205a58c18ffd25a4d209d787f131b190cba64c
5
5
  SHA512:
6
- metadata.gz: 19abc3d0cf4ff691d1577595d143619c05f4c5d9341971dd76f66e59a2214d334ae52bbbf77ef903b17be2a023cb9f362cd3706a2a8e3bf68369508630d7cd9f
7
- data.tar.gz: 4dbb9e03420b71be32baec51f3ce98d0f3db9531ae763f4ed97e82360f816217791c90c3073f14d8260864b9d6a850e75cbf2d42f4967dd3f90bc9860ccb006b
6
+ metadata.gz: 064d7bdc5afecd4653cf669d3d3c882ab078d8099be2ef119522fdcd83537d68a1b22c20925e8790e75ae33c47257117490e8d9a1410fa389c406671d53c1583
7
+ data.tar.gz: ba671298a994fd224b328789384994d66ff735702f1ceb2dffe1f53f86afe620bb80a372442ae2807506398297188eeb1f7f24179995f03b8d690ba5d2198ed2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.11.0 (2022-06-01)
5
+ ------------------
6
+
7
+ * Feature - Adds support for centrally controlling each participant's ability to send and receive audio, video and screen share within a WebRTC session. Attendee capabilities can be specified when the attendee is created and updated during the session with the new BatchUpdateAttendeeCapabilitiesExcept API.
8
+
4
9
  1.10.0 (2022-04-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.11.0
@@ -378,6 +378,11 @@ module Aws::ChimeSDKMeetings
378
378
  # attendees: [ # required
379
379
  # {
380
380
  # external_user_id: "ExternalUserId", # required
381
+ # capabilities: {
382
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
383
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
384
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
385
+ # },
381
386
  # },
382
387
  # ],
383
388
  # })
@@ -388,6 +393,9 @@ module Aws::ChimeSDKMeetings
388
393
  # resp.attendees[0].external_user_id #=> String
389
394
  # resp.attendees[0].attendee_id #=> String
390
395
  # resp.attendees[0].join_token #=> String
396
+ # resp.attendees[0].capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None"
397
+ # resp.attendees[0].capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None"
398
+ # resp.attendees[0].capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None"
391
399
  # resp.errors #=> Array
392
400
  # resp.errors[0].external_user_id #=> String
393
401
  # resp.errors[0].error_code #=> String
@@ -402,6 +410,47 @@ module Aws::ChimeSDKMeetings
402
410
  req.send_request(options)
403
411
  end
404
412
 
413
+ # Updates `AttendeeCapabilities` except the capabilities listed in an
414
+ # `ExcludedAttendeeIds` table.
415
+ #
416
+ # @option params [required, String] :meeting_id
417
+ # The ID of the meeting associated with the update request.
418
+ #
419
+ # @option params [required, Array<Types::AttendeeIdItem>] :excluded_attendee_ids
420
+ # The `AttendeeIDs` that you want to exclude from one or more
421
+ # capabilities.
422
+ #
423
+ # @option params [required, Types::AttendeeCapabilities] :capabilities
424
+ # The capabilities (`audio`, `video`, or `content`) that you want to
425
+ # update.
426
+ #
427
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
428
+ #
429
+ # @example Request syntax with placeholder values
430
+ #
431
+ # resp = client.batch_update_attendee_capabilities_except({
432
+ # meeting_id: "GuidString", # required
433
+ # excluded_attendee_ids: [ # required
434
+ # {
435
+ # attendee_id: "GuidString", # required
436
+ # },
437
+ # ],
438
+ # capabilities: { # required
439
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
440
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
441
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
442
+ # },
443
+ # })
444
+ #
445
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/BatchUpdateAttendeeCapabilitiesExcept AWS API Documentation
446
+ #
447
+ # @overload batch_update_attendee_capabilities_except(params = {})
448
+ # @param [Hash] params ({})
449
+ def batch_update_attendee_capabilities_except(params = {}, options = {})
450
+ req = build_request(:batch_update_attendee_capabilities_except, params)
451
+ req.send_request(options)
452
+ end
453
+
405
454
  # Creates a new attendee for an active Amazon Chime SDK meeting. For
406
455
  # more information about the Amazon Chime SDK, see [Using the Amazon
407
456
  # Chime SDK][1] in the *Amazon Chime Developer Guide*.
@@ -417,6 +466,11 @@ module Aws::ChimeSDKMeetings
417
466
  # The Amazon Chime SDK external user ID. An idempotency token. Links the
418
467
  # attendee to an identity managed by a builder application.
419
468
  #
469
+ # @option params [Types::AttendeeCapabilities] :capabilities
470
+ # The capabilities (`audio`, `video`, or `content`) that you want to
471
+ # grant an attendee. If you don't specify capabilities, all users have
472
+ # send and receive capabilities on all media channels by default.
473
+ #
420
474
  # @return [Types::CreateAttendeeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
421
475
  #
422
476
  # * {Types::CreateAttendeeResponse#attendee #attendee} => Types::Attendee
@@ -426,6 +480,11 @@ module Aws::ChimeSDKMeetings
426
480
  # resp = client.create_attendee({
427
481
  # meeting_id: "GuidString", # required
428
482
  # external_user_id: "ExternalUserId", # required
483
+ # capabilities: {
484
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
485
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
486
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
487
+ # },
429
488
  # })
430
489
  #
431
490
  # @example Response structure
@@ -433,6 +492,9 @@ module Aws::ChimeSDKMeetings
433
492
  # resp.attendee.external_user_id #=> String
434
493
  # resp.attendee.attendee_id #=> String
435
494
  # resp.attendee.join_token #=> String
495
+ # resp.attendee.capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None"
496
+ # resp.attendee.capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None"
497
+ # resp.attendee.capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None"
436
498
  #
437
499
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateAttendee AWS API Documentation
438
500
  #
@@ -618,6 +680,11 @@ module Aws::ChimeSDKMeetings
618
680
  # attendees: [ # required
619
681
  # {
620
682
  # external_user_id: "ExternalUserId", # required
683
+ # capabilities: {
684
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
685
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
686
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
687
+ # },
621
688
  # },
622
689
  # ],
623
690
  # primary_meeting_id: "PrimaryMeetingId",
@@ -643,6 +710,9 @@ module Aws::ChimeSDKMeetings
643
710
  # resp.attendees[0].external_user_id #=> String
644
711
  # resp.attendees[0].attendee_id #=> String
645
712
  # resp.attendees[0].join_token #=> String
713
+ # resp.attendees[0].capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None"
714
+ # resp.attendees[0].capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None"
715
+ # resp.attendees[0].capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None"
646
716
  # resp.errors #=> Array
647
717
  # resp.errors[0].external_user_id #=> String
648
718
  # resp.errors[0].error_code #=> String
@@ -751,6 +821,9 @@ module Aws::ChimeSDKMeetings
751
821
  # resp.attendee.external_user_id #=> String
752
822
  # resp.attendee.attendee_id #=> String
753
823
  # resp.attendee.join_token #=> String
824
+ # resp.attendee.capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None"
825
+ # resp.attendee.capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None"
826
+ # resp.attendee.capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None"
754
827
  #
755
828
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/GetAttendee AWS API Documentation
756
829
  #
@@ -846,6 +919,9 @@ module Aws::ChimeSDKMeetings
846
919
  # resp.attendees[0].external_user_id #=> String
847
920
  # resp.attendees[0].attendee_id #=> String
848
921
  # resp.attendees[0].join_token #=> String
922
+ # resp.attendees[0].capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None"
923
+ # resp.attendees[0].capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None"
924
+ # resp.attendees[0].capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None"
849
925
  # resp.next_token #=> String
850
926
  #
851
927
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/ListAttendees AWS API Documentation
@@ -932,6 +1008,51 @@ module Aws::ChimeSDKMeetings
932
1008
  req.send_request(options)
933
1009
  end
934
1010
 
1011
+ # The capabilties that you want to update.
1012
+ #
1013
+ # @option params [required, String] :meeting_id
1014
+ # The ID of the meeting associated with the update request.
1015
+ #
1016
+ # @option params [required, String] :attendee_id
1017
+ # The ID of the attendee associated with the update request.
1018
+ #
1019
+ # @option params [required, Types::AttendeeCapabilities] :capabilities
1020
+ # The capabilties that you want to update.
1021
+ #
1022
+ # @return [Types::UpdateAttendeeCapabilitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1023
+ #
1024
+ # * {Types::UpdateAttendeeCapabilitiesResponse#attendee #attendee} => Types::Attendee
1025
+ #
1026
+ # @example Request syntax with placeholder values
1027
+ #
1028
+ # resp = client.update_attendee_capabilities({
1029
+ # meeting_id: "GuidString", # required
1030
+ # attendee_id: "GuidString", # required
1031
+ # capabilities: { # required
1032
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
1033
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
1034
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
1035
+ # },
1036
+ # })
1037
+ #
1038
+ # @example Response structure
1039
+ #
1040
+ # resp.attendee.external_user_id #=> String
1041
+ # resp.attendee.attendee_id #=> String
1042
+ # resp.attendee.join_token #=> String
1043
+ # resp.attendee.capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None"
1044
+ # resp.attendee.capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None"
1045
+ # resp.attendee.capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None"
1046
+ #
1047
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/UpdateAttendeeCapabilities AWS API Documentation
1048
+ #
1049
+ # @overload update_attendee_capabilities(params = {})
1050
+ # @param [Hash] params ({})
1051
+ def update_attendee_capabilities(params = {}, options = {})
1052
+ req = build_request(:update_attendee_capabilities, params)
1053
+ req.send_request(options)
1054
+ end
1055
+
935
1056
  # @!endgroup
936
1057
 
937
1058
  # @param params ({})
@@ -945,7 +1066,7 @@ module Aws::ChimeSDKMeetings
945
1066
  params: params,
946
1067
  config: config)
947
1068
  context[:gem_name] = 'aws-sdk-chimesdkmeetings'
948
- context[:gem_version] = '1.10.0'
1069
+ context[:gem_version] = '1.11.0'
949
1070
  Seahorse::Client::Request.new(handlers, context)
950
1071
  end
951
1072
 
@@ -15,14 +15,19 @@ module Aws::ChimeSDKMeetings
15
15
 
16
16
  Arn = Shapes::StringShape.new(name: 'Arn')
17
17
  Attendee = Shapes::StructureShape.new(name: 'Attendee')
18
+ AttendeeCapabilities = Shapes::StructureShape.new(name: 'AttendeeCapabilities')
19
+ AttendeeIdItem = Shapes::StructureShape.new(name: 'AttendeeIdItem')
20
+ AttendeeIdsList = Shapes::ListShape.new(name: 'AttendeeIdsList')
18
21
  AttendeeList = Shapes::ListShape.new(name: 'AttendeeList')
19
22
  AudioFeatures = Shapes::StructureShape.new(name: 'AudioFeatures')
20
23
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
21
24
  BatchCreateAttendeeErrorList = Shapes::ListShape.new(name: 'BatchCreateAttendeeErrorList')
22
25
  BatchCreateAttendeeRequest = Shapes::StructureShape.new(name: 'BatchCreateAttendeeRequest')
23
26
  BatchCreateAttendeeResponse = Shapes::StructureShape.new(name: 'BatchCreateAttendeeResponse')
27
+ BatchUpdateAttendeeCapabilitiesExceptRequest = Shapes::StructureShape.new(name: 'BatchUpdateAttendeeCapabilitiesExceptRequest')
24
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
25
29
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
30
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
26
31
  CreateAttendeeError = Shapes::StructureShape.new(name: 'CreateAttendeeError')
27
32
  CreateAttendeeRequest = Shapes::StructureShape.new(name: 'CreateAttendeeRequest')
28
33
  CreateAttendeeRequestItem = Shapes::StructureShape.new(name: 'CreateAttendeeRequestItem')
@@ -49,6 +54,7 @@ module Aws::ChimeSDKMeetings
49
54
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
50
55
  ListAttendeesRequest = Shapes::StructureShape.new(name: 'ListAttendeesRequest')
51
56
  ListAttendeesResponse = Shapes::StructureShape.new(name: 'ListAttendeesResponse')
57
+ MediaCapabilities = Shapes::StringShape.new(name: 'MediaCapabilities')
52
58
  MediaPlacement = Shapes::StructureShape.new(name: 'MediaPlacement')
53
59
  MediaRegion = Shapes::StringShape.new(name: 'MediaRegion')
54
60
  Meeting = Shapes::StructureShape.new(name: 'Meeting')
@@ -82,12 +88,25 @@ module Aws::ChimeSDKMeetings
82
88
  TranscriptionConfiguration = Shapes::StructureShape.new(name: 'TranscriptionConfiguration')
83
89
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
84
90
  UnprocessableEntityException = Shapes::StructureShape.new(name: 'UnprocessableEntityException')
91
+ UpdateAttendeeCapabilitiesRequest = Shapes::StructureShape.new(name: 'UpdateAttendeeCapabilitiesRequest')
92
+ UpdateAttendeeCapabilitiesResponse = Shapes::StructureShape.new(name: 'UpdateAttendeeCapabilitiesResponse')
85
93
 
86
94
  Attendee.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, location_name: "ExternalUserId"))
87
95
  Attendee.add_member(:attendee_id, Shapes::ShapeRef.new(shape: GuidString, location_name: "AttendeeId"))
88
96
  Attendee.add_member(:join_token, Shapes::ShapeRef.new(shape: JoinTokenString, location_name: "JoinToken"))
97
+ Attendee.add_member(:capabilities, Shapes::ShapeRef.new(shape: AttendeeCapabilities, location_name: "Capabilities"))
89
98
  Attendee.struct_class = Types::Attendee
90
99
 
100
+ AttendeeCapabilities.add_member(:audio, Shapes::ShapeRef.new(shape: MediaCapabilities, required: true, location_name: "Audio"))
101
+ AttendeeCapabilities.add_member(:video, Shapes::ShapeRef.new(shape: MediaCapabilities, required: true, location_name: "Video"))
102
+ AttendeeCapabilities.add_member(:content, Shapes::ShapeRef.new(shape: MediaCapabilities, required: true, location_name: "Content"))
103
+ AttendeeCapabilities.struct_class = Types::AttendeeCapabilities
104
+
105
+ AttendeeIdItem.add_member(:attendee_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location_name: "AttendeeId"))
106
+ AttendeeIdItem.struct_class = Types::AttendeeIdItem
107
+
108
+ AttendeeIdsList.member = Shapes::ShapeRef.new(shape: AttendeeIdItem)
109
+
91
110
  AttendeeList.member = Shapes::ShapeRef.new(shape: Attendee)
92
111
 
93
112
  AudioFeatures.add_member(:echo_reduction, Shapes::ShapeRef.new(shape: MeetingFeatureStatus, location_name: "EchoReduction"))
@@ -108,6 +127,16 @@ module Aws::ChimeSDKMeetings
108
127
  BatchCreateAttendeeResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateAttendeeErrorList, location_name: "Errors"))
109
128
  BatchCreateAttendeeResponse.struct_class = Types::BatchCreateAttendeeResponse
110
129
 
130
+ BatchUpdateAttendeeCapabilitiesExceptRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "MeetingId"))
131
+ BatchUpdateAttendeeCapabilitiesExceptRequest.add_member(:excluded_attendee_ids, Shapes::ShapeRef.new(shape: AttendeeIdsList, required: true, location_name: "ExcludedAttendeeIds"))
132
+ BatchUpdateAttendeeCapabilitiesExceptRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: AttendeeCapabilities, required: true, location_name: "Capabilities"))
133
+ BatchUpdateAttendeeCapabilitiesExceptRequest.struct_class = Types::BatchUpdateAttendeeCapabilitiesExceptRequest
134
+
135
+ ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
136
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
137
+ ConflictException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
138
+ ConflictException.struct_class = Types::ConflictException
139
+
111
140
  CreateAttendeeError.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, location_name: "ExternalUserId"))
112
141
  CreateAttendeeError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
113
142
  CreateAttendeeError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
@@ -115,9 +144,11 @@ module Aws::ChimeSDKMeetings
115
144
 
116
145
  CreateAttendeeRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "MeetingId"))
117
146
  CreateAttendeeRequest.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, required: true, location_name: "ExternalUserId"))
147
+ CreateAttendeeRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: AttendeeCapabilities, location_name: "Capabilities"))
118
148
  CreateAttendeeRequest.struct_class = Types::CreateAttendeeRequest
119
149
 
120
150
  CreateAttendeeRequestItem.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, required: true, location_name: "ExternalUserId"))
151
+ CreateAttendeeRequestItem.add_member(:capabilities, Shapes::ShapeRef.new(shape: AttendeeCapabilities, location_name: "Capabilities"))
121
152
  CreateAttendeeRequestItem.struct_class = Types::CreateAttendeeRequestItem
122
153
 
123
154
  CreateAttendeeRequestItemList.member = Shapes::ShapeRef.new(shape: CreateAttendeeRequestItem)
@@ -286,6 +317,14 @@ module Aws::ChimeSDKMeetings
286
317
  UnprocessableEntityException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
287
318
  UnprocessableEntityException.struct_class = Types::UnprocessableEntityException
288
319
 
320
+ UpdateAttendeeCapabilitiesRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "MeetingId"))
321
+ UpdateAttendeeCapabilitiesRequest.add_member(:attendee_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "AttendeeId"))
322
+ UpdateAttendeeCapabilitiesRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: AttendeeCapabilities, required: true, location_name: "Capabilities"))
323
+ UpdateAttendeeCapabilitiesRequest.struct_class = Types::UpdateAttendeeCapabilitiesRequest
324
+
325
+ UpdateAttendeeCapabilitiesResponse.add_member(:attendee, Shapes::ShapeRef.new(shape: Attendee, location_name: "Attendee"))
326
+ UpdateAttendeeCapabilitiesResponse.struct_class = Types::UpdateAttendeeCapabilitiesResponse
327
+
289
328
 
290
329
  # @api private
291
330
  API = Seahorse::Model::Api.new.tap do |api|
@@ -320,6 +359,20 @@ module Aws::ChimeSDKMeetings
320
359
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
321
360
  end)
322
361
 
362
+ api.add_operation(:batch_update_attendee_capabilities_except, Seahorse::Model::Operation.new.tap do |o|
363
+ o.name = "BatchUpdateAttendeeCapabilitiesExcept"
364
+ o.http_method = "PUT"
365
+ o.http_request_uri = "/meetings/{MeetingId}/attendees/capabilities?operation=batch-update-except"
366
+ o.input = Shapes::ShapeRef.new(shape: BatchUpdateAttendeeCapabilitiesExceptRequest)
367
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
368
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
369
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
370
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
371
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
372
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
373
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
374
+ end)
375
+
323
376
  api.add_operation(:create_attendee, Seahorse::Model::Operation.new.tap do |o|
324
377
  o.name = "CreateAttendee"
325
378
  o.http_method = "POST"
@@ -480,6 +533,20 @@ module Aws::ChimeSDKMeetings
480
533
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
481
534
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
482
535
  end)
536
+
537
+ api.add_operation(:update_attendee_capabilities, Seahorse::Model::Operation.new.tap do |o|
538
+ o.name = "UpdateAttendeeCapabilities"
539
+ o.http_method = "PUT"
540
+ o.http_request_uri = "/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities"
541
+ o.input = Shapes::ShapeRef.new(shape: UpdateAttendeeCapabilitiesRequest)
542
+ o.output = Shapes::ShapeRef.new(shape: UpdateAttendeeCapabilitiesResponse)
543
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
544
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
545
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
546
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
547
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
548
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
549
+ end)
483
550
  end
484
551
 
485
552
  end
@@ -28,6 +28,7 @@ module Aws::ChimeSDKMeetings
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {BadRequestException}
31
+ # * {ConflictException}
31
32
  # * {ForbiddenException}
32
33
  # * {LimitExceededException}
33
34
  # * {NotFoundException}
@@ -68,6 +69,31 @@ module Aws::ChimeSDKMeetings
68
69
  end
69
70
  end
70
71
 
72
+ class ConflictException < ServiceError
73
+
74
+ # @param [Seahorse::Client::RequestContext] context
75
+ # @param [String] message
76
+ # @param [Aws::ChimeSDKMeetings::Types::ConflictException] data
77
+ def initialize(context, message, data = Aws::EmptyStructure.new)
78
+ super(context, message, data)
79
+ end
80
+
81
+ # @return [String]
82
+ def code
83
+ @code || @data[:code]
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ # @return [String]
92
+ def request_id
93
+ @data[:request_id]
94
+ end
95
+ end
96
+
71
97
  class ForbiddenException < ServiceError
72
98
 
73
99
  # @param [Seahorse::Client::RequestContext] context
@@ -33,16 +33,76 @@ module Aws::ChimeSDKMeetings
33
33
  # The join token used by the Amazon Chime SDK attendee.
34
34
  # @return [String]
35
35
  #
36
+ # @!attribute [rw] capabilities
37
+ # The capabilities (audio, video, or content) assigned to an attendee.
38
+ # @return [Types::AttendeeCapabilities]
39
+ #
36
40
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/Attendee AWS API Documentation
37
41
  #
38
42
  class Attendee < Struct.new(
39
43
  :external_user_id,
40
44
  :attendee_id,
41
- :join_token)
45
+ :join_token,
46
+ :capabilities)
42
47
  SENSITIVE = [:external_user_id, :join_token]
43
48
  include Aws::Structure
44
49
  end
45
50
 
51
+ # The media capabilities of an attendee, including audio, video and
52
+ # content.
53
+ #
54
+ # @note When making an API call, you may pass AttendeeCapabilities
55
+ # data as a hash:
56
+ #
57
+ # {
58
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
59
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
60
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
61
+ # }
62
+ #
63
+ # @!attribute [rw] audio
64
+ # The audio capability assigned to an attendee.
65
+ # @return [String]
66
+ #
67
+ # @!attribute [rw] video
68
+ # The video capability assigned to an attendee.
69
+ # @return [String]
70
+ #
71
+ # @!attribute [rw] content
72
+ # The content capability assigned to an attendee.
73
+ # @return [String]
74
+ #
75
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/AttendeeCapabilities AWS API Documentation
76
+ #
77
+ class AttendeeCapabilities < Struct.new(
78
+ :audio,
79
+ :video,
80
+ :content)
81
+ SENSITIVE = []
82
+ include Aws::Structure
83
+ end
84
+
85
+ # A structure that contains one or more attendee IDs.
86
+ #
87
+ # @note When making an API call, you may pass AttendeeIdItem
88
+ # data as a hash:
89
+ #
90
+ # {
91
+ # attendee_id: "GuidString", # required
92
+ # }
93
+ #
94
+ # @!attribute [rw] attendee_id
95
+ # A list of one or more attendee IDs.
96
+ # @return [String]
97
+ #
98
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/AttendeeIdItem AWS API Documentation
99
+ #
100
+ class AttendeeIdItem < Struct.new(
101
+ :attendee_id)
102
+ SENSITIVE = []
103
+ include Aws::Structure
104
+ end
105
+
46
106
  # An optional category of meeting features that contains audio-specific
47
107
  # configurations, such as operating parameters for Amazon Voice Focus.
48
108
  #
@@ -97,6 +157,11 @@ module Aws::ChimeSDKMeetings
97
157
  # attendees: [ # required
98
158
  # {
99
159
  # external_user_id: "ExternalUserId", # required
160
+ # capabilities: {
161
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
162
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
163
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
164
+ # },
100
165
  # },
101
166
  # ],
102
167
  # }
@@ -138,6 +203,68 @@ module Aws::ChimeSDKMeetings
138
203
  include Aws::Structure
139
204
  end
140
205
 
206
+ # @note When making an API call, you may pass BatchUpdateAttendeeCapabilitiesExceptRequest
207
+ # data as a hash:
208
+ #
209
+ # {
210
+ # meeting_id: "GuidString", # required
211
+ # excluded_attendee_ids: [ # required
212
+ # {
213
+ # attendee_id: "GuidString", # required
214
+ # },
215
+ # ],
216
+ # capabilities: { # required
217
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
218
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
219
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
220
+ # },
221
+ # }
222
+ #
223
+ # @!attribute [rw] meeting_id
224
+ # The ID of the meeting associated with the update request.
225
+ # @return [String]
226
+ #
227
+ # @!attribute [rw] excluded_attendee_ids
228
+ # The `AttendeeIDs` that you want to exclude from one or more
229
+ # capabilities.
230
+ # @return [Array<Types::AttendeeIdItem>]
231
+ #
232
+ # @!attribute [rw] capabilities
233
+ # The capabilities (`audio`, `video`, or `content`) that you want to
234
+ # update.
235
+ # @return [Types::AttendeeCapabilities]
236
+ #
237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/BatchUpdateAttendeeCapabilitiesExceptRequest AWS API Documentation
238
+ #
239
+ class BatchUpdateAttendeeCapabilitiesExceptRequest < Struct.new(
240
+ :meeting_id,
241
+ :excluded_attendee_ids,
242
+ :capabilities)
243
+ SENSITIVE = []
244
+ include Aws::Structure
245
+ end
246
+
247
+ # Multiple instances of the same request have been made simultaneously.
248
+ #
249
+ # @!attribute [rw] code
250
+ # @return [String]
251
+ #
252
+ # @!attribute [rw] message
253
+ # @return [String]
254
+ #
255
+ # @!attribute [rw] request_id
256
+ # @return [String]
257
+ #
258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/ConflictException AWS API Documentation
259
+ #
260
+ class ConflictException < Struct.new(
261
+ :code,
262
+ :message,
263
+ :request_id)
264
+ SENSITIVE = []
265
+ include Aws::Structure
266
+ end
267
+
141
268
  # The list of errors returned when errors are encountered during the
142
269
  # BatchCreateAttendee and CreateAttendee actions. This includes external
143
270
  # user IDs, error codes, and error messages.
@@ -171,6 +298,11 @@ module Aws::ChimeSDKMeetings
171
298
  # {
172
299
  # meeting_id: "GuidString", # required
173
300
  # external_user_id: "ExternalUserId", # required
301
+ # capabilities: {
302
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
303
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
304
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
305
+ # },
174
306
  # }
175
307
  #
176
308
  # @!attribute [rw] meeting_id
@@ -182,11 +314,18 @@ module Aws::ChimeSDKMeetings
182
314
  # the attendee to an identity managed by a builder application.
183
315
  # @return [String]
184
316
  #
317
+ # @!attribute [rw] capabilities
318
+ # The capabilities (`audio`, `video`, or `content`) that you want to
319
+ # grant an attendee. If you don't specify capabilities, all users
320
+ # have send and receive capabilities on all media channels by default.
321
+ # @return [Types::AttendeeCapabilities]
322
+ #
185
323
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateAttendeeRequest AWS API Documentation
186
324
  #
187
325
  class CreateAttendeeRequest < Struct.new(
188
326
  :meeting_id,
189
- :external_user_id)
327
+ :external_user_id,
328
+ :capabilities)
190
329
  SENSITIVE = [:external_user_id]
191
330
  include Aws::Structure
192
331
  end
@@ -199,6 +338,11 @@ module Aws::ChimeSDKMeetings
199
338
  #
200
339
  # {
201
340
  # external_user_id: "ExternalUserId", # required
341
+ # capabilities: {
342
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
343
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
344
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
345
+ # },
202
346
  # }
203
347
  #
204
348
  # @!attribute [rw] external_user_id
@@ -206,10 +350,15 @@ module Aws::ChimeSDKMeetings
206
350
  # the attendee to an identity managed by a builder application.
207
351
  # @return [String]
208
352
  #
353
+ # @!attribute [rw] capabilities
354
+ # A list of one or more capabilities.
355
+ # @return [Types::AttendeeCapabilities]
356
+ #
209
357
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateAttendeeRequestItem AWS API Documentation
210
358
  #
211
359
  class CreateAttendeeRequestItem < Struct.new(
212
- :external_user_id)
360
+ :external_user_id,
361
+ :capabilities)
213
362
  SENSITIVE = [:external_user_id]
214
363
  include Aws::Structure
215
364
  end
@@ -339,6 +488,11 @@ module Aws::ChimeSDKMeetings
339
488
  # attendees: [ # required
340
489
  # {
341
490
  # external_user_id: "ExternalUserId", # required
491
+ # capabilities: {
492
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
493
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
494
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
495
+ # },
342
496
  # },
343
497
  # ],
344
498
  # primary_meeting_id: "PrimaryMeetingId",
@@ -950,7 +1104,7 @@ module Aws::ChimeSDKMeetings
950
1104
  # @return [String]
951
1105
  #
952
1106
  # @!attribute [rw] request_id
953
- # The request id associated with the call responsible for the
1107
+ # The request ID associated with the call responsible for the
954
1108
  # exception.
955
1109
  # @return [String]
956
1110
  #
@@ -999,7 +1153,7 @@ module Aws::ChimeSDKMeetings
999
1153
  include Aws::Structure
1000
1154
  end
1001
1155
 
1002
- # The service encountered an unexpected error.
1156
+ # The service is currently unavailable.
1003
1157
  #
1004
1158
  # @!attribute [rw] code
1005
1159
  # @return [String]
@@ -1119,7 +1273,7 @@ module Aws::ChimeSDKMeetings
1119
1273
  include Aws::Structure
1120
1274
  end
1121
1275
 
1122
- # The number of customer requests exceeds the request rate limit.
1276
+ # The number of requests exceeds the limit.
1123
1277
  #
1124
1278
  # @!attribute [rw] code
1125
1279
  # @return [String]
@@ -1240,5 +1394,60 @@ module Aws::ChimeSDKMeetings
1240
1394
  include Aws::Structure
1241
1395
  end
1242
1396
 
1397
+ # @note When making an API call, you may pass UpdateAttendeeCapabilitiesRequest
1398
+ # data as a hash:
1399
+ #
1400
+ # {
1401
+ # meeting_id: "GuidString", # required
1402
+ # attendee_id: "GuidString", # required
1403
+ # capabilities: { # required
1404
+ # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None
1405
+ # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None
1406
+ # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None
1407
+ # },
1408
+ # }
1409
+ #
1410
+ # @!attribute [rw] meeting_id
1411
+ # The ID of the meeting associated with the update request.
1412
+ # @return [String]
1413
+ #
1414
+ # @!attribute [rw] attendee_id
1415
+ # The ID of the attendee associated with the update request.
1416
+ # @return [String]
1417
+ #
1418
+ # @!attribute [rw] capabilities
1419
+ # The capabilties that you want to update.
1420
+ # @return [Types::AttendeeCapabilities]
1421
+ #
1422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/UpdateAttendeeCapabilitiesRequest AWS API Documentation
1423
+ #
1424
+ class UpdateAttendeeCapabilitiesRequest < Struct.new(
1425
+ :meeting_id,
1426
+ :attendee_id,
1427
+ :capabilities)
1428
+ SENSITIVE = []
1429
+ include Aws::Structure
1430
+ end
1431
+
1432
+ # @!attribute [rw] attendee
1433
+ # An Amazon Chime SDK meeting attendee. Includes a unique `AttendeeId`
1434
+ # and `JoinToken`. The `JoinToken` allows a client to authenticate and
1435
+ # join as the specified attendee. The `JoinToken` expires when the
1436
+ # meeting ends, or when DeleteAttendee is called. After that, the
1437
+ # attendee is unable to join the meeting.
1438
+ #
1439
+ # We recommend securely transferring each `JoinToken` from your server
1440
+ # application to the client so that no other client has access to the
1441
+ # token except for the one authorized to represent the attendee.
1442
+ # @return [Types::Attendee]
1443
+ #
1444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/UpdateAttendeeCapabilitiesResponse AWS API Documentation
1445
+ #
1446
+ class UpdateAttendeeCapabilitiesResponse < Struct.new(
1447
+ :attendee)
1448
+ SENSITIVE = []
1449
+ include Aws::Structure
1450
+ end
1451
+
1243
1452
  end
1244
1453
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-chimesdkmeetings/customizations'
48
48
  # @!group service
49
49
  module Aws::ChimeSDKMeetings
50
50
 
51
- GEM_VERSION = '1.10.0'
51
+ GEM_VERSION = '1.11.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-chimesdkmeetings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-22 00:00:00.000000000 Z
11
+ date: 2022-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core