aws-sdk-chime 1.15.0 → 1.16.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.
@@ -24,6 +24,8 @@ module Aws::Chime
24
24
  AssociatePhoneNumbersWithVoiceConnectorRequest = Shapes::StructureShape.new(name: 'AssociatePhoneNumbersWithVoiceConnectorRequest')
25
25
  AssociatePhoneNumbersWithVoiceConnectorResponse = Shapes::StructureShape.new(name: 'AssociatePhoneNumbersWithVoiceConnectorResponse')
26
26
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
27
+ BatchCreateRoomMembershipRequest = Shapes::StructureShape.new(name: 'BatchCreateRoomMembershipRequest')
28
+ BatchCreateRoomMembershipResponse = Shapes::StructureShape.new(name: 'BatchCreateRoomMembershipResponse')
27
29
  BatchDeletePhoneNumberRequest = Shapes::StructureShape.new(name: 'BatchDeletePhoneNumberRequest')
28
30
  BatchDeletePhoneNumberResponse = Shapes::StructureShape.new(name: 'BatchDeletePhoneNumberResponse')
29
31
  BatchSuspendUserRequest = Shapes::StructureShape.new(name: 'BatchSuspendUserRequest')
@@ -43,6 +45,7 @@ module Aws::Chime
43
45
  CallingNameStatus = Shapes::StringShape.new(name: 'CallingNameStatus')
44
46
  CallingRegion = Shapes::StringShape.new(name: 'CallingRegion')
45
47
  CallingRegionList = Shapes::ListShape.new(name: 'CallingRegionList')
48
+ ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
46
49
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
47
50
  CpsLimit = Shapes::IntegerShape.new(name: 'CpsLimit')
48
51
  CreateAccountRequest = Shapes::StructureShape.new(name: 'CreateAccountRequest')
@@ -51,6 +54,10 @@ module Aws::Chime
51
54
  CreateBotResponse = Shapes::StructureShape.new(name: 'CreateBotResponse')
52
55
  CreatePhoneNumberOrderRequest = Shapes::StructureShape.new(name: 'CreatePhoneNumberOrderRequest')
53
56
  CreatePhoneNumberOrderResponse = Shapes::StructureShape.new(name: 'CreatePhoneNumberOrderResponse')
57
+ CreateRoomMembershipRequest = Shapes::StructureShape.new(name: 'CreateRoomMembershipRequest')
58
+ CreateRoomMembershipResponse = Shapes::StructureShape.new(name: 'CreateRoomMembershipResponse')
59
+ CreateRoomRequest = Shapes::StructureShape.new(name: 'CreateRoomRequest')
60
+ CreateRoomResponse = Shapes::StructureShape.new(name: 'CreateRoomResponse')
54
61
  CreateVoiceConnectorGroupRequest = Shapes::StructureShape.new(name: 'CreateVoiceConnectorGroupRequest')
55
62
  CreateVoiceConnectorGroupResponse = Shapes::StructureShape.new(name: 'CreateVoiceConnectorGroupResponse')
56
63
  CreateVoiceConnectorRequest = Shapes::StructureShape.new(name: 'CreateVoiceConnectorRequest')
@@ -62,6 +69,8 @@ module Aws::Chime
62
69
  DeleteAccountResponse = Shapes::StructureShape.new(name: 'DeleteAccountResponse')
63
70
  DeleteEventsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteEventsConfigurationRequest')
64
71
  DeletePhoneNumberRequest = Shapes::StructureShape.new(name: 'DeletePhoneNumberRequest')
72
+ DeleteRoomMembershipRequest = Shapes::StructureShape.new(name: 'DeleteRoomMembershipRequest')
73
+ DeleteRoomRequest = Shapes::StructureShape.new(name: 'DeleteRoomRequest')
65
74
  DeleteVoiceConnectorGroupRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorGroupRequest')
66
75
  DeleteVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorOriginationRequest')
67
76
  DeleteVoiceConnectorRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorRequest')
@@ -95,6 +104,8 @@ module Aws::Chime
95
104
  GetPhoneNumberRequest = Shapes::StructureShape.new(name: 'GetPhoneNumberRequest')
96
105
  GetPhoneNumberResponse = Shapes::StructureShape.new(name: 'GetPhoneNumberResponse')
97
106
  GetPhoneNumberSettingsResponse = Shapes::StructureShape.new(name: 'GetPhoneNumberSettingsResponse')
107
+ GetRoomRequest = Shapes::StructureShape.new(name: 'GetRoomRequest')
108
+ GetRoomResponse = Shapes::StructureShape.new(name: 'GetRoomResponse')
98
109
  GetUserRequest = Shapes::StructureShape.new(name: 'GetUserRequest')
99
110
  GetUserResponse = Shapes::StructureShape.new(name: 'GetUserResponse')
100
111
  GetUserSettingsRequest = Shapes::StructureShape.new(name: 'GetUserSettingsRequest')
@@ -130,6 +141,10 @@ module Aws::Chime
130
141
  ListPhoneNumberOrdersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumberOrdersResponse')
131
142
  ListPhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumbersRequest')
132
143
  ListPhoneNumbersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumbersResponse')
144
+ ListRoomMembershipsRequest = Shapes::StructureShape.new(name: 'ListRoomMembershipsRequest')
145
+ ListRoomMembershipsResponse = Shapes::StructureShape.new(name: 'ListRoomMembershipsResponse')
146
+ ListRoomsRequest = Shapes::StructureShape.new(name: 'ListRoomsRequest')
147
+ ListRoomsResponse = Shapes::StructureShape.new(name: 'ListRoomsResponse')
133
148
  ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
134
149
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
135
150
  ListVoiceConnectorGroupsRequest = Shapes::StructureShape.new(name: 'ListVoiceConnectorGroupsRequest')
@@ -141,6 +156,12 @@ module Aws::Chime
141
156
  LoggingConfiguration = Shapes::StructureShape.new(name: 'LoggingConfiguration')
142
157
  LogoutUserRequest = Shapes::StructureShape.new(name: 'LogoutUserRequest')
143
158
  LogoutUserResponse = Shapes::StructureShape.new(name: 'LogoutUserResponse')
159
+ Member = Shapes::StructureShape.new(name: 'Member')
160
+ MemberError = Shapes::StructureShape.new(name: 'MemberError')
161
+ MemberErrorList = Shapes::ListShape.new(name: 'MemberErrorList')
162
+ MemberType = Shapes::StringShape.new(name: 'MemberType')
163
+ MembershipItem = Shapes::StructureShape.new(name: 'MembershipItem')
164
+ MembershipItemList = Shapes::ListShape.new(name: 'MembershipItemList')
144
165
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
145
166
  NonEmptyStringList = Shapes::ListShape.new(name: 'NonEmptyStringList')
146
167
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
@@ -191,6 +212,11 @@ module Aws::Chime
191
212
  RestorePhoneNumberRequest = Shapes::StructureShape.new(name: 'RestorePhoneNumberRequest')
192
213
  RestorePhoneNumberResponse = Shapes::StructureShape.new(name: 'RestorePhoneNumberResponse')
193
214
  ResultMax = Shapes::IntegerShape.new(name: 'ResultMax')
215
+ Room = Shapes::StructureShape.new(name: 'Room')
216
+ RoomList = Shapes::ListShape.new(name: 'RoomList')
217
+ RoomMembership = Shapes::StructureShape.new(name: 'RoomMembership')
218
+ RoomMembershipList = Shapes::ListShape.new(name: 'RoomMembershipList')
219
+ RoomMembershipRole = Shapes::StringShape.new(name: 'RoomMembershipRole')
194
220
  SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
195
221
  SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
196
222
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
@@ -219,6 +245,10 @@ module Aws::Chime
219
245
  UpdatePhoneNumberRequestItemList = Shapes::ListShape.new(name: 'UpdatePhoneNumberRequestItemList')
220
246
  UpdatePhoneNumberResponse = Shapes::StructureShape.new(name: 'UpdatePhoneNumberResponse')
221
247
  UpdatePhoneNumberSettingsRequest = Shapes::StructureShape.new(name: 'UpdatePhoneNumberSettingsRequest')
248
+ UpdateRoomMembershipRequest = Shapes::StructureShape.new(name: 'UpdateRoomMembershipRequest')
249
+ UpdateRoomMembershipResponse = Shapes::StructureShape.new(name: 'UpdateRoomMembershipResponse')
250
+ UpdateRoomRequest = Shapes::StructureShape.new(name: 'UpdateRoomRequest')
251
+ UpdateRoomResponse = Shapes::StructureShape.new(name: 'UpdateRoomResponse')
222
252
  UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
223
253
  UpdateUserRequestItem = Shapes::StructureShape.new(name: 'UpdateUserRequestItem')
224
254
  UpdateUserRequestItemList = Shapes::ListShape.new(name: 'UpdateUserRequestItemList')
@@ -293,6 +323,14 @@ module Aws::Chime
293
323
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
294
324
  BadRequestException.struct_class = Types::BadRequestException
295
325
 
326
+ BatchCreateRoomMembershipRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
327
+ BatchCreateRoomMembershipRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
328
+ BatchCreateRoomMembershipRequest.add_member(:membership_item_list, Shapes::ShapeRef.new(shape: MembershipItemList, required: true, location_name: "MembershipItemList"))
329
+ BatchCreateRoomMembershipRequest.struct_class = Types::BatchCreateRoomMembershipRequest
330
+
331
+ BatchCreateRoomMembershipResponse.add_member(:errors, Shapes::ShapeRef.new(shape: MemberErrorList, location_name: "Errors"))
332
+ BatchCreateRoomMembershipResponse.struct_class = Types::BatchCreateRoomMembershipResponse
333
+
296
334
  BatchDeletePhoneNumberRequest.add_member(:phone_number_ids, Shapes::ShapeRef.new(shape: NonEmptyStringList, required: true, location_name: "PhoneNumberIds"))
297
335
  BatchDeletePhoneNumberRequest.struct_class = Types::BatchDeletePhoneNumberRequest
298
336
 
@@ -369,6 +407,23 @@ module Aws::Chime
369
407
  CreatePhoneNumberOrderResponse.add_member(:phone_number_order, Shapes::ShapeRef.new(shape: PhoneNumberOrder, location_name: "PhoneNumberOrder"))
370
408
  CreatePhoneNumberOrderResponse.struct_class = Types::CreatePhoneNumberOrderResponse
371
409
 
410
+ CreateRoomMembershipRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
411
+ CreateRoomMembershipRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
412
+ CreateRoomMembershipRequest.add_member(:member_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "MemberId"))
413
+ CreateRoomMembershipRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoomMembershipRole, location_name: "Role"))
414
+ CreateRoomMembershipRequest.struct_class = Types::CreateRoomMembershipRequest
415
+
416
+ CreateRoomMembershipResponse.add_member(:room_membership, Shapes::ShapeRef.new(shape: RoomMembership, location_name: "RoomMembership"))
417
+ CreateRoomMembershipResponse.struct_class = Types::CreateRoomMembershipResponse
418
+
419
+ CreateRoomRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
420
+ CreateRoomRequest.add_member(:name, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "Name"))
421
+ CreateRoomRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
422
+ CreateRoomRequest.struct_class = Types::CreateRoomRequest
423
+
424
+ CreateRoomResponse.add_member(:room, Shapes::ShapeRef.new(shape: Room, location_name: "Room"))
425
+ CreateRoomResponse.struct_class = Types::CreateRoomResponse
426
+
372
427
  CreateVoiceConnectorGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: VoiceConnectorGroupName, required: true, location_name: "Name"))
373
428
  CreateVoiceConnectorGroupRequest.add_member(:voice_connector_items, Shapes::ShapeRef.new(shape: VoiceConnectorItemList, location_name: "VoiceConnectorItems"))
374
429
  CreateVoiceConnectorGroupRequest.struct_class = Types::CreateVoiceConnectorGroupRequest
@@ -402,6 +457,15 @@ module Aws::Chime
402
457
  DeletePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "phoneNumberId"))
403
458
  DeletePhoneNumberRequest.struct_class = Types::DeletePhoneNumberRequest
404
459
 
460
+ DeleteRoomMembershipRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
461
+ DeleteRoomMembershipRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
462
+ DeleteRoomMembershipRequest.add_member(:member_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "memberId"))
463
+ DeleteRoomMembershipRequest.struct_class = Types::DeleteRoomMembershipRequest
464
+
465
+ DeleteRoomRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
466
+ DeleteRoomRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
467
+ DeleteRoomRequest.struct_class = Types::DeleteRoomRequest
468
+
405
469
  DeleteVoiceConnectorGroupRequest.add_member(:voice_connector_group_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorGroupId"))
406
470
  DeleteVoiceConnectorGroupRequest.struct_class = Types::DeleteVoiceConnectorGroupRequest
407
471
 
@@ -498,6 +562,13 @@ module Aws::Chime
498
562
  GetPhoneNumberSettingsResponse.add_member(:calling_name_updated_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "CallingNameUpdatedTimestamp"))
499
563
  GetPhoneNumberSettingsResponse.struct_class = Types::GetPhoneNumberSettingsResponse
500
564
 
565
+ GetRoomRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
566
+ GetRoomRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
567
+ GetRoomRequest.struct_class = Types::GetRoomRequest
568
+
569
+ GetRoomResponse.add_member(:room, Shapes::ShapeRef.new(shape: Room, location_name: "Room"))
570
+ GetRoomResponse.struct_class = Types::GetRoomResponse
571
+
501
572
  GetUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
502
573
  GetUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
503
574
  GetUserRequest.struct_class = Types::GetUserRequest
@@ -610,6 +681,26 @@ module Aws::Chime
610
681
  ListPhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
611
682
  ListPhoneNumbersResponse.struct_class = Types::ListPhoneNumbersResponse
612
683
 
684
+ ListRoomMembershipsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
685
+ ListRoomMembershipsRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
686
+ ListRoomMembershipsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultMax, location: "querystring", location_name: "max-results"))
687
+ ListRoomMembershipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
688
+ ListRoomMembershipsRequest.struct_class = Types::ListRoomMembershipsRequest
689
+
690
+ ListRoomMembershipsResponse.add_member(:room_memberships, Shapes::ShapeRef.new(shape: RoomMembershipList, location_name: "RoomMemberships"))
691
+ ListRoomMembershipsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
692
+ ListRoomMembershipsResponse.struct_class = Types::ListRoomMembershipsResponse
693
+
694
+ ListRoomsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
695
+ ListRoomsRequest.add_member(:member_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "member-id"))
696
+ ListRoomsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultMax, location: "querystring", location_name: "max-results"))
697
+ ListRoomsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
698
+ ListRoomsRequest.struct_class = Types::ListRoomsRequest
699
+
700
+ ListRoomsResponse.add_member(:rooms, Shapes::ShapeRef.new(shape: RoomList, location_name: "Rooms"))
701
+ ListRoomsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
702
+ ListRoomsResponse.struct_class = Types::ListRoomsResponse
703
+
613
704
  ListUsersRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
614
705
  ListUsersRequest.add_member(:user_email, Shapes::ShapeRef.new(shape: EmailAddress, location: "querystring", location_name: "user-email"))
615
706
  ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ProfileServiceMaxResults, location: "querystring", location_name: "max-results"))
@@ -651,6 +742,26 @@ module Aws::Chime
651
742
 
652
743
  LogoutUserResponse.struct_class = Types::LogoutUserResponse
653
744
 
745
+ Member.add_member(:member_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MemberId"))
746
+ Member.add_member(:member_type, Shapes::ShapeRef.new(shape: MemberType, location_name: "MemberType"))
747
+ Member.add_member(:email, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Email"))
748
+ Member.add_member(:full_name, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "FullName"))
749
+ Member.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AccountId"))
750
+ Member.struct_class = Types::Member
751
+
752
+ MemberError.add_member(:member_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MemberId"))
753
+ MemberError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
754
+ MemberError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
755
+ MemberError.struct_class = Types::MemberError
756
+
757
+ MemberErrorList.member = Shapes::ShapeRef.new(shape: MemberError)
758
+
759
+ MembershipItem.add_member(:member_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MemberId"))
760
+ MembershipItem.add_member(:role, Shapes::ShapeRef.new(shape: RoomMembershipRole, location_name: "Role"))
761
+ MembershipItem.struct_class = Types::MembershipItem
762
+
763
+ MembershipItemList.member = Shapes::ShapeRef.new(shape: MembershipItem)
764
+
654
765
  NonEmptyStringList.member = Shapes::ShapeRef.new(shape: String)
655
766
 
656
767
  NotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
@@ -789,6 +900,25 @@ module Aws::Chime
789
900
  RestorePhoneNumberResponse.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
790
901
  RestorePhoneNumberResponse.struct_class = Types::RestorePhoneNumberResponse
791
902
 
903
+ Room.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RoomId"))
904
+ Room.add_member(:name, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Name"))
905
+ Room.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AccountId"))
906
+ Room.add_member(:created_by, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CreatedBy"))
907
+ Room.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "CreatedTimestamp"))
908
+ Room.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "UpdatedTimestamp"))
909
+ Room.struct_class = Types::Room
910
+
911
+ RoomList.member = Shapes::ShapeRef.new(shape: Room)
912
+
913
+ RoomMembership.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RoomId"))
914
+ RoomMembership.add_member(:member, Shapes::ShapeRef.new(shape: Member, location_name: "Member"))
915
+ RoomMembership.add_member(:role, Shapes::ShapeRef.new(shape: RoomMembershipRole, location_name: "Role"))
916
+ RoomMembership.add_member(:invited_by, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "InvitedBy"))
917
+ RoomMembership.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "UpdatedTimestamp"))
918
+ RoomMembership.struct_class = Types::RoomMembership
919
+
920
+ RoomMembershipList.member = Shapes::ShapeRef.new(shape: RoomMembership)
921
+
792
922
  SearchAvailablePhoneNumbersRequest.add_member(:area_code, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "area-code"))
793
923
  SearchAvailablePhoneNumbersRequest.add_member(:city, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "city"))
794
924
  SearchAvailablePhoneNumbersRequest.add_member(:country, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "country"))
@@ -888,6 +1018,23 @@ module Aws::Chime
888
1018
  UpdatePhoneNumberSettingsRequest.add_member(:calling_name, Shapes::ShapeRef.new(shape: CallingName, required: true, location_name: "CallingName"))
889
1019
  UpdatePhoneNumberSettingsRequest.struct_class = Types::UpdatePhoneNumberSettingsRequest
890
1020
 
1021
+ UpdateRoomMembershipRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
1022
+ UpdateRoomMembershipRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
1023
+ UpdateRoomMembershipRequest.add_member(:member_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "memberId"))
1024
+ UpdateRoomMembershipRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoomMembershipRole, location_name: "Role"))
1025
+ UpdateRoomMembershipRequest.struct_class = Types::UpdateRoomMembershipRequest
1026
+
1027
+ UpdateRoomMembershipResponse.add_member(:room_membership, Shapes::ShapeRef.new(shape: RoomMembership, location_name: "RoomMembership"))
1028
+ UpdateRoomMembershipResponse.struct_class = Types::UpdateRoomMembershipResponse
1029
+
1030
+ UpdateRoomRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
1031
+ UpdateRoomRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
1032
+ UpdateRoomRequest.add_member(:name, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Name"))
1033
+ UpdateRoomRequest.struct_class = Types::UpdateRoomRequest
1034
+
1035
+ UpdateRoomResponse.add_member(:room, Shapes::ShapeRef.new(shape: Room, location_name: "Room"))
1036
+ UpdateRoomResponse.struct_class = Types::UpdateRoomResponse
1037
+
891
1038
  UpdateUserRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
892
1039
  UpdateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
893
1040
  UpdateUserRequest.add_member(:license_type, Shapes::ShapeRef.new(shape: License, location_name: "LicenseType"))
@@ -1045,6 +1192,20 @@ module Aws::Chime
1045
1192
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1046
1193
  end)
1047
1194
 
1195
+ api.add_operation(:batch_create_room_membership, Seahorse::Model::Operation.new.tap do |o|
1196
+ o.name = "BatchCreateRoomMembership"
1197
+ o.http_method = "POST"
1198
+ o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}/memberships?operation=batch-create"
1199
+ o.input = Shapes::ShapeRef.new(shape: BatchCreateRoomMembershipRequest)
1200
+ o.output = Shapes::ShapeRef.new(shape: BatchCreateRoomMembershipResponse)
1201
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1202
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1203
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1204
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1205
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1206
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1207
+ end)
1208
+
1048
1209
  api.add_operation(:batch_delete_phone_number, Seahorse::Model::Operation.new.tap do |o|
1049
1210
  o.name = "BatchDeletePhoneNumber"
1050
1211
  o.http_method = "POST"
@@ -1166,6 +1327,37 @@ module Aws::Chime
1166
1327
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1167
1328
  end)
1168
1329
 
1330
+ api.add_operation(:create_room, Seahorse::Model::Operation.new.tap do |o|
1331
+ o.name = "CreateRoom"
1332
+ o.http_method = "POST"
1333
+ o.http_request_uri = "/accounts/{accountId}/rooms"
1334
+ o.input = Shapes::ShapeRef.new(shape: CreateRoomRequest)
1335
+ o.output = Shapes::ShapeRef.new(shape: CreateRoomResponse)
1336
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1337
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1338
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1339
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1340
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1341
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1342
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1343
+ end)
1344
+
1345
+ api.add_operation(:create_room_membership, Seahorse::Model::Operation.new.tap do |o|
1346
+ o.name = "CreateRoomMembership"
1347
+ o.http_method = "POST"
1348
+ o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}/memberships"
1349
+ o.input = Shapes::ShapeRef.new(shape: CreateRoomMembershipRequest)
1350
+ o.output = Shapes::ShapeRef.new(shape: CreateRoomMembershipResponse)
1351
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1352
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1353
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1354
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1356
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1357
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1359
+ end)
1360
+
1169
1361
  api.add_operation(:create_voice_connector, Seahorse::Model::Operation.new.tap do |o|
1170
1362
  o.name = "CreateVoiceConnector"
1171
1363
  o.http_method = "POST"
@@ -1243,6 +1435,34 @@ module Aws::Chime
1243
1435
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1244
1436
  end)
1245
1437
 
1438
+ api.add_operation(:delete_room, Seahorse::Model::Operation.new.tap do |o|
1439
+ o.name = "DeleteRoom"
1440
+ o.http_method = "DELETE"
1441
+ o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}"
1442
+ o.input = Shapes::ShapeRef.new(shape: DeleteRoomRequest)
1443
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1444
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1445
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1446
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1447
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1448
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1449
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1450
+ end)
1451
+
1452
+ api.add_operation(:delete_room_membership, Seahorse::Model::Operation.new.tap do |o|
1453
+ o.name = "DeleteRoomMembership"
1454
+ o.http_method = "DELETE"
1455
+ o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}/memberships/{memberId}"
1456
+ o.input = Shapes::ShapeRef.new(shape: DeleteRoomMembershipRequest)
1457
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1458
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1459
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1460
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1461
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1462
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1463
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1464
+ end)
1465
+
1246
1466
  api.add_operation(:delete_voice_connector, Seahorse::Model::Operation.new.tap do |o|
1247
1467
  o.name = "DeleteVoiceConnector"
1248
1468
  o.http_method = "DELETE"
@@ -1497,6 +1717,20 @@ module Aws::Chime
1497
1717
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1498
1718
  end)
1499
1719
 
1720
+ api.add_operation(:get_room, Seahorse::Model::Operation.new.tap do |o|
1721
+ o.name = "GetRoom"
1722
+ o.http_method = "GET"
1723
+ o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}"
1724
+ o.input = Shapes::ShapeRef.new(shape: GetRoomRequest)
1725
+ o.output = Shapes::ShapeRef.new(shape: GetRoomResponse)
1726
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1727
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1728
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1729
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1730
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1731
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1732
+ end)
1733
+
1500
1734
  api.add_operation(:get_user, Seahorse::Model::Operation.new.tap do |o|
1501
1735
  o.name = "GetUser"
1502
1736
  o.http_method = "GET"
@@ -1728,6 +1962,46 @@ module Aws::Chime
1728
1962
  )
1729
1963
  end)
1730
1964
 
1965
+ api.add_operation(:list_room_memberships, Seahorse::Model::Operation.new.tap do |o|
1966
+ o.name = "ListRoomMemberships"
1967
+ o.http_method = "GET"
1968
+ o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}/memberships"
1969
+ o.input = Shapes::ShapeRef.new(shape: ListRoomMembershipsRequest)
1970
+ o.output = Shapes::ShapeRef.new(shape: ListRoomMembershipsResponse)
1971
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1972
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1973
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1974
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1975
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1976
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1977
+ o[:pager] = Aws::Pager.new(
1978
+ limit_key: "max_results",
1979
+ tokens: {
1980
+ "next_token" => "next_token"
1981
+ }
1982
+ )
1983
+ end)
1984
+
1985
+ api.add_operation(:list_rooms, Seahorse::Model::Operation.new.tap do |o|
1986
+ o.name = "ListRooms"
1987
+ o.http_method = "GET"
1988
+ o.http_request_uri = "/accounts/{accountId}/rooms"
1989
+ o.input = Shapes::ShapeRef.new(shape: ListRoomsRequest)
1990
+ o.output = Shapes::ShapeRef.new(shape: ListRoomsResponse)
1991
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1992
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1993
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1994
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1995
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1996
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1997
+ o[:pager] = Aws::Pager.new(
1998
+ limit_key: "max_results",
1999
+ tokens: {
2000
+ "next_token" => "next_token"
2001
+ }
2002
+ )
2003
+ end)
2004
+
1731
2005
  api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
1732
2006
  o.name = "ListUsers"
1733
2007
  o.http_method = "GET"
@@ -2058,6 +2332,34 @@ module Aws::Chime
2058
2332
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2059
2333
  end)
2060
2334
 
2335
+ api.add_operation(:update_room, Seahorse::Model::Operation.new.tap do |o|
2336
+ o.name = "UpdateRoom"
2337
+ o.http_method = "POST"
2338
+ o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}"
2339
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoomRequest)
2340
+ o.output = Shapes::ShapeRef.new(shape: UpdateRoomResponse)
2341
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2342
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2343
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2344
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
2345
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2346
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2347
+ end)
2348
+
2349
+ api.add_operation(:update_room_membership, Seahorse::Model::Operation.new.tap do |o|
2350
+ o.name = "UpdateRoomMembership"
2351
+ o.http_method = "POST"
2352
+ o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}/memberships/{memberId}"
2353
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoomMembershipRequest)
2354
+ o.output = Shapes::ShapeRef.new(shape: UpdateRoomMembershipResponse)
2355
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
2356
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2357
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2358
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2359
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2360
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2361
+ end)
2362
+
2061
2363
  api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
2062
2364
  o.name = "UpdateUser"
2063
2365
  o.http_method = "POST"
@@ -257,6 +257,54 @@ module Aws::Chime
257
257
  include Aws::Structure
258
258
  end
259
259
 
260
+ # @note When making an API call, you may pass BatchCreateRoomMembershipRequest
261
+ # data as a hash:
262
+ #
263
+ # {
264
+ # account_id: "NonEmptyString", # required
265
+ # room_id: "NonEmptyString", # required
266
+ # membership_item_list: [ # required
267
+ # {
268
+ # member_id: "NonEmptyString",
269
+ # role: "Administrator", # accepts Administrator, Member
270
+ # },
271
+ # ],
272
+ # }
273
+ #
274
+ # @!attribute [rw] account_id
275
+ # The Amazon Chime account ID.
276
+ # @return [String]
277
+ #
278
+ # @!attribute [rw] room_id
279
+ # The room ID.
280
+ # @return [String]
281
+ #
282
+ # @!attribute [rw] membership_item_list
283
+ # The list of membership items.
284
+ # @return [Array<Types::MembershipItem>]
285
+ #
286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateRoomMembershipRequest AWS API Documentation
287
+ #
288
+ class BatchCreateRoomMembershipRequest < Struct.new(
289
+ :account_id,
290
+ :room_id,
291
+ :membership_item_list)
292
+ include Aws::Structure
293
+ end
294
+
295
+ # @!attribute [rw] errors
296
+ # If the action fails for one or more of the member IDs in the
297
+ # request, a list of the member IDs is returned, along with error
298
+ # codes and error messages.
299
+ # @return [Array<Types::MemberError>]
300
+ #
301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateRoomMembershipResponse AWS API Documentation
302
+ #
303
+ class BatchCreateRoomMembershipResponse < Struct.new(
304
+ :errors)
305
+ include Aws::Structure
306
+ end
307
+
260
308
  # @note When making an API call, you may pass BatchDeletePhoneNumberRequest
261
309
  # data as a hash:
262
310
  #
@@ -641,6 +689,97 @@ module Aws::Chime
641
689
  include Aws::Structure
642
690
  end
643
691
 
692
+ # @note When making an API call, you may pass CreateRoomMembershipRequest
693
+ # data as a hash:
694
+ #
695
+ # {
696
+ # account_id: "NonEmptyString", # required
697
+ # room_id: "NonEmptyString", # required
698
+ # member_id: "NonEmptyString", # required
699
+ # role: "Administrator", # accepts Administrator, Member
700
+ # }
701
+ #
702
+ # @!attribute [rw] account_id
703
+ # The Amazon Chime account ID.
704
+ # @return [String]
705
+ #
706
+ # @!attribute [rw] room_id
707
+ # The room ID.
708
+ # @return [String]
709
+ #
710
+ # @!attribute [rw] member_id
711
+ # The Amazon Chime member ID (user ID or bot ID).
712
+ # @return [String]
713
+ #
714
+ # @!attribute [rw] role
715
+ # The role of the member.
716
+ # @return [String]
717
+ #
718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomMembershipRequest AWS API Documentation
719
+ #
720
+ class CreateRoomMembershipRequest < Struct.new(
721
+ :account_id,
722
+ :room_id,
723
+ :member_id,
724
+ :role)
725
+ include Aws::Structure
726
+ end
727
+
728
+ # @!attribute [rw] room_membership
729
+ # The room membership details.
730
+ # @return [Types::RoomMembership]
731
+ #
732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomMembershipResponse AWS API Documentation
733
+ #
734
+ class CreateRoomMembershipResponse < Struct.new(
735
+ :room_membership)
736
+ include Aws::Structure
737
+ end
738
+
739
+ # @note When making an API call, you may pass CreateRoomRequest
740
+ # data as a hash:
741
+ #
742
+ # {
743
+ # account_id: "NonEmptyString", # required
744
+ # name: "SensitiveString", # required
745
+ # client_request_token: "ClientRequestToken",
746
+ # }
747
+ #
748
+ # @!attribute [rw] account_id
749
+ # The Amazon Chime account ID.
750
+ # @return [String]
751
+ #
752
+ # @!attribute [rw] name
753
+ # The room name.
754
+ # @return [String]
755
+ #
756
+ # @!attribute [rw] client_request_token
757
+ # The idempotency token for the request.
758
+ #
759
+ # **A suitable default value is auto-generated.** You should normally
760
+ # not need to pass this option.
761
+ # @return [String]
762
+ #
763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomRequest AWS API Documentation
764
+ #
765
+ class CreateRoomRequest < Struct.new(
766
+ :account_id,
767
+ :name,
768
+ :client_request_token)
769
+ include Aws::Structure
770
+ end
771
+
772
+ # @!attribute [rw] room
773
+ # The room details.
774
+ # @return [Types::Room]
775
+ #
776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomResponse AWS API Documentation
777
+ #
778
+ class CreateRoomResponse < Struct.new(
779
+ :room)
780
+ include Aws::Structure
781
+ end
782
+
644
783
  # @note When making an API call, you may pass CreateVoiceConnectorGroupRequest
645
784
  # data as a hash:
646
785
  #
@@ -817,6 +956,60 @@ module Aws::Chime
817
956
  include Aws::Structure
818
957
  end
819
958
 
959
+ # @note When making an API call, you may pass DeleteRoomMembershipRequest
960
+ # data as a hash:
961
+ #
962
+ # {
963
+ # account_id: "NonEmptyString", # required
964
+ # room_id: "NonEmptyString", # required
965
+ # member_id: "NonEmptyString", # required
966
+ # }
967
+ #
968
+ # @!attribute [rw] account_id
969
+ # The Amazon Chime account ID.
970
+ # @return [String]
971
+ #
972
+ # @!attribute [rw] room_id
973
+ # The room ID.
974
+ # @return [String]
975
+ #
976
+ # @!attribute [rw] member_id
977
+ # The member ID (user ID or bot ID).
978
+ # @return [String]
979
+ #
980
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoomMembershipRequest AWS API Documentation
981
+ #
982
+ class DeleteRoomMembershipRequest < Struct.new(
983
+ :account_id,
984
+ :room_id,
985
+ :member_id)
986
+ include Aws::Structure
987
+ end
988
+
989
+ # @note When making an API call, you may pass DeleteRoomRequest
990
+ # data as a hash:
991
+ #
992
+ # {
993
+ # account_id: "NonEmptyString", # required
994
+ # room_id: "NonEmptyString", # required
995
+ # }
996
+ #
997
+ # @!attribute [rw] account_id
998
+ # The Amazon Chime account ID.
999
+ # @return [String]
1000
+ #
1001
+ # @!attribute [rw] room_id
1002
+ # The chat room ID.
1003
+ # @return [String]
1004
+ #
1005
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoomRequest AWS API Documentation
1006
+ #
1007
+ class DeleteRoomRequest < Struct.new(
1008
+ :account_id,
1009
+ :room_id)
1010
+ include Aws::Structure
1011
+ end
1012
+
820
1013
  # @note When making an API call, you may pass DeleteVoiceConnectorGroupRequest
821
1014
  # data as a hash:
822
1015
  #
@@ -1294,6 +1487,41 @@ module Aws::Chime
1294
1487
  include Aws::Structure
1295
1488
  end
1296
1489
 
1490
+ # @note When making an API call, you may pass GetRoomRequest
1491
+ # data as a hash:
1492
+ #
1493
+ # {
1494
+ # account_id: "NonEmptyString", # required
1495
+ # room_id: "NonEmptyString", # required
1496
+ # }
1497
+ #
1498
+ # @!attribute [rw] account_id
1499
+ # The Amazon Chime account ID.
1500
+ # @return [String]
1501
+ #
1502
+ # @!attribute [rw] room_id
1503
+ # The room ID.
1504
+ # @return [String]
1505
+ #
1506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRoomRequest AWS API Documentation
1507
+ #
1508
+ class GetRoomRequest < Struct.new(
1509
+ :account_id,
1510
+ :room_id)
1511
+ include Aws::Structure
1512
+ end
1513
+
1514
+ # @!attribute [rw] room
1515
+ # The room details.
1516
+ # @return [Types::Room]
1517
+ #
1518
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRoomResponse AWS API Documentation
1519
+ #
1520
+ class GetRoomResponse < Struct.new(
1521
+ :room)
1522
+ include Aws::Structure
1523
+ end
1524
+
1297
1525
  # @note When making an API call, you may pass GetUserRequest
1298
1526
  # data as a hash:
1299
1527
  #
@@ -1609,7 +1837,7 @@ module Aws::Chime
1609
1837
  # @return [String]
1610
1838
  #
1611
1839
  # @!attribute [rw] user_email_list
1612
- # The user email addresses to which to send the invite.
1840
+ # The user email addresses to which to send the email invitation.
1613
1841
  # @return [Array<String>]
1614
1842
  #
1615
1843
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/InviteUsersRequest AWS API Documentation
@@ -1621,7 +1849,7 @@ module Aws::Chime
1621
1849
  end
1622
1850
 
1623
1851
  # @!attribute [rw] invites
1624
- # The invite details.
1852
+ # The email invitation details.
1625
1853
  # @return [Array<Types::Invite>]
1626
1854
  #
1627
1855
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/InviteUsersResponse AWS API Documentation
@@ -1698,8 +1926,8 @@ module Aws::Chime
1698
1926
  # @return [String]
1699
1927
  #
1700
1928
  # @!attribute [rw] max_results
1701
- # The maximum number of results to return in a single call. Default is
1702
- # 10.
1929
+ # The maximum number of results to return in a single call. The
1930
+ # default is 10.
1703
1931
  # @return [Integer]
1704
1932
  #
1705
1933
  # @!attribute [rw] next_token
@@ -1835,6 +2063,110 @@ module Aws::Chime
1835
2063
  include Aws::Structure
1836
2064
  end
1837
2065
 
2066
+ # @note When making an API call, you may pass ListRoomMembershipsRequest
2067
+ # data as a hash:
2068
+ #
2069
+ # {
2070
+ # account_id: "NonEmptyString", # required
2071
+ # room_id: "NonEmptyString", # required
2072
+ # max_results: 1,
2073
+ # next_token: "String",
2074
+ # }
2075
+ #
2076
+ # @!attribute [rw] account_id
2077
+ # The Amazon Chime account ID.
2078
+ # @return [String]
2079
+ #
2080
+ # @!attribute [rw] room_id
2081
+ # The room ID.
2082
+ # @return [String]
2083
+ #
2084
+ # @!attribute [rw] max_results
2085
+ # The maximum number of results to return in a single call.
2086
+ # @return [Integer]
2087
+ #
2088
+ # @!attribute [rw] next_token
2089
+ # The token to use to retrieve the next page of results.
2090
+ # @return [String]
2091
+ #
2092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomMembershipsRequest AWS API Documentation
2093
+ #
2094
+ class ListRoomMembershipsRequest < Struct.new(
2095
+ :account_id,
2096
+ :room_id,
2097
+ :max_results,
2098
+ :next_token)
2099
+ include Aws::Structure
2100
+ end
2101
+
2102
+ # @!attribute [rw] room_memberships
2103
+ # The room membership details.
2104
+ # @return [Array<Types::RoomMembership>]
2105
+ #
2106
+ # @!attribute [rw] next_token
2107
+ # The token to use to retrieve the next page of results.
2108
+ # @return [String]
2109
+ #
2110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomMembershipsResponse AWS API Documentation
2111
+ #
2112
+ class ListRoomMembershipsResponse < Struct.new(
2113
+ :room_memberships,
2114
+ :next_token)
2115
+ include Aws::Structure
2116
+ end
2117
+
2118
+ # @note When making an API call, you may pass ListRoomsRequest
2119
+ # data as a hash:
2120
+ #
2121
+ # {
2122
+ # account_id: "NonEmptyString", # required
2123
+ # member_id: "String",
2124
+ # max_results: 1,
2125
+ # next_token: "String",
2126
+ # }
2127
+ #
2128
+ # @!attribute [rw] account_id
2129
+ # The Amazon Chime account ID.
2130
+ # @return [String]
2131
+ #
2132
+ # @!attribute [rw] member_id
2133
+ # The member ID (user ID or bot ID).
2134
+ # @return [String]
2135
+ #
2136
+ # @!attribute [rw] max_results
2137
+ # The maximum number of results to return in a single call.
2138
+ # @return [Integer]
2139
+ #
2140
+ # @!attribute [rw] next_token
2141
+ # The token to use to retrieve the next page of results.
2142
+ # @return [String]
2143
+ #
2144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomsRequest AWS API Documentation
2145
+ #
2146
+ class ListRoomsRequest < Struct.new(
2147
+ :account_id,
2148
+ :member_id,
2149
+ :max_results,
2150
+ :next_token)
2151
+ include Aws::Structure
2152
+ end
2153
+
2154
+ # @!attribute [rw] rooms
2155
+ # The room details.
2156
+ # @return [Array<Types::Room>]
2157
+ #
2158
+ # @!attribute [rw] next_token
2159
+ # The token to use to retrieve the next page of results.
2160
+ # @return [String]
2161
+ #
2162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomsResponse AWS API Documentation
2163
+ #
2164
+ class ListRoomsResponse < Struct.new(
2165
+ :rooms,
2166
+ :next_token)
2167
+ include Aws::Structure
2168
+ end
2169
+
1838
2170
  # @note When making an API call, you may pass ListUsersRequest
1839
2171
  # data as a hash:
1840
2172
  #
@@ -2048,6 +2380,89 @@ module Aws::Chime
2048
2380
  #
2049
2381
  class LogoutUserResponse < Aws::EmptyStructure; end
2050
2382
 
2383
+ # The member details, such as email address, name, member ID, and member
2384
+ # type.
2385
+ #
2386
+ # @!attribute [rw] member_id
2387
+ # The member ID (user ID or bot ID).
2388
+ # @return [String]
2389
+ #
2390
+ # @!attribute [rw] member_type
2391
+ # The member type.
2392
+ # @return [String]
2393
+ #
2394
+ # @!attribute [rw] email
2395
+ # The member email address.
2396
+ # @return [String]
2397
+ #
2398
+ # @!attribute [rw] full_name
2399
+ # The member name.
2400
+ # @return [String]
2401
+ #
2402
+ # @!attribute [rw] account_id
2403
+ # The Amazon Chime account ID.
2404
+ # @return [String]
2405
+ #
2406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Member AWS API Documentation
2407
+ #
2408
+ class Member < Struct.new(
2409
+ :member_id,
2410
+ :member_type,
2411
+ :email,
2412
+ :full_name,
2413
+ :account_id)
2414
+ include Aws::Structure
2415
+ end
2416
+
2417
+ # The list of errors returned when a member action results in an error.
2418
+ #
2419
+ # @!attribute [rw] member_id
2420
+ # The member ID.
2421
+ # @return [String]
2422
+ #
2423
+ # @!attribute [rw] error_code
2424
+ # The error code.
2425
+ # @return [String]
2426
+ #
2427
+ # @!attribute [rw] error_message
2428
+ # The error message.
2429
+ # @return [String]
2430
+ #
2431
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/MemberError AWS API Documentation
2432
+ #
2433
+ class MemberError < Struct.new(
2434
+ :member_id,
2435
+ :error_code,
2436
+ :error_message)
2437
+ include Aws::Structure
2438
+ end
2439
+
2440
+ # Membership details, such as member ID and member role.
2441
+ #
2442
+ # @note When making an API call, you may pass MembershipItem
2443
+ # data as a hash:
2444
+ #
2445
+ # {
2446
+ # member_id: "NonEmptyString",
2447
+ # role: "Administrator", # accepts Administrator, Member
2448
+ # }
2449
+ #
2450
+ # @!attribute [rw] member_id
2451
+ # The member ID.
2452
+ # @return [String]
2453
+ #
2454
+ # @!attribute [rw] role
2455
+ # The member role.
2456
+ # @return [String]
2457
+ #
2458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/MembershipItem AWS API Documentation
2459
+ #
2460
+ class MembershipItem < Struct.new(
2461
+ :member_id,
2462
+ :role)
2463
+ include Aws::Structure
2464
+ end
2465
+
2051
2466
  # One or more of the resources in the request does not exist in the
2052
2467
  # system.
2053
2468
  #
@@ -2729,6 +3144,78 @@ module Aws::Chime
2729
3144
  include Aws::Structure
2730
3145
  end
2731
3146
 
3147
+ # The Amazon Chime chat room details.
3148
+ #
3149
+ # @!attribute [rw] room_id
3150
+ # The room ID.
3151
+ # @return [String]
3152
+ #
3153
+ # @!attribute [rw] name
3154
+ # The room name.
3155
+ # @return [String]
3156
+ #
3157
+ # @!attribute [rw] account_id
3158
+ # The Amazon Chime account ID.
3159
+ # @return [String]
3160
+ #
3161
+ # @!attribute [rw] created_by
3162
+ # The identifier of the room creator.
3163
+ # @return [String]
3164
+ #
3165
+ # @!attribute [rw] created_timestamp
3166
+ # The room creation timestamp, in ISO 8601 format.
3167
+ # @return [Time]
3168
+ #
3169
+ # @!attribute [rw] updated_timestamp
3170
+ # The room update timestamp, in ISO 8601 format.
3171
+ # @return [Time]
3172
+ #
3173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Room AWS API Documentation
3174
+ #
3175
+ class Room < Struct.new(
3176
+ :room_id,
3177
+ :name,
3178
+ :account_id,
3179
+ :created_by,
3180
+ :created_timestamp,
3181
+ :updated_timestamp)
3182
+ include Aws::Structure
3183
+ end
3184
+
3185
+ # The room membership details.
3186
+ #
3187
+ # @!attribute [rw] room_id
3188
+ # The room ID.
3189
+ # @return [String]
3190
+ #
3191
+ # @!attribute [rw] member
3192
+ # The member details, such as email address, name, member ID, and
3193
+ # member type.
3194
+ # @return [Types::Member]
3195
+ #
3196
+ # @!attribute [rw] role
3197
+ # The membership role.
3198
+ # @return [String]
3199
+ #
3200
+ # @!attribute [rw] invited_by
3201
+ # The identifier of the user that invited the room member.
3202
+ # @return [String]
3203
+ #
3204
+ # @!attribute [rw] updated_timestamp
3205
+ # The room membership update timestamp, in ISO 8601 format.
3206
+ # @return [Time]
3207
+ #
3208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RoomMembership AWS API Documentation
3209
+ #
3210
+ class RoomMembership < Struct.new(
3211
+ :room_id,
3212
+ :member,
3213
+ :role,
3214
+ :invited_by,
3215
+ :updated_timestamp)
3216
+ include Aws::Structure
3217
+ end
3218
+
2732
3219
  # @note When making an API call, you may pass SearchAvailablePhoneNumbersRequest
2733
3220
  # data as a hash:
2734
3221
  #
@@ -2840,7 +3327,7 @@ module Aws::Chime
2840
3327
  # }
2841
3328
  #
2842
3329
  # @!attribute [rw] data_retention_in_hours
2843
- # The retention period for the Amazon Kinesis data, in hours.
3330
+ # The retention period, in hours, for the Amazon Kinesis data.
2844
3331
  # @return [Integer]
2845
3332
  #
2846
3333
  # @!attribute [rw] disabled
@@ -3232,6 +3719,94 @@ module Aws::Chime
3232
3719
  include Aws::Structure
3233
3720
  end
3234
3721
 
3722
+ # @note When making an API call, you may pass UpdateRoomMembershipRequest
3723
+ # data as a hash:
3724
+ #
3725
+ # {
3726
+ # account_id: "NonEmptyString", # required
3727
+ # room_id: "NonEmptyString", # required
3728
+ # member_id: "NonEmptyString", # required
3729
+ # role: "Administrator", # accepts Administrator, Member
3730
+ # }
3731
+ #
3732
+ # @!attribute [rw] account_id
3733
+ # The Amazon Chime account ID.
3734
+ # @return [String]
3735
+ #
3736
+ # @!attribute [rw] room_id
3737
+ # The room ID.
3738
+ # @return [String]
3739
+ #
3740
+ # @!attribute [rw] member_id
3741
+ # The member ID.
3742
+ # @return [String]
3743
+ #
3744
+ # @!attribute [rw] role
3745
+ # The role of the member.
3746
+ # @return [String]
3747
+ #
3748
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomMembershipRequest AWS API Documentation
3749
+ #
3750
+ class UpdateRoomMembershipRequest < Struct.new(
3751
+ :account_id,
3752
+ :room_id,
3753
+ :member_id,
3754
+ :role)
3755
+ include Aws::Structure
3756
+ end
3757
+
3758
+ # @!attribute [rw] room_membership
3759
+ # The room membership details.
3760
+ # @return [Types::RoomMembership]
3761
+ #
3762
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomMembershipResponse AWS API Documentation
3763
+ #
3764
+ class UpdateRoomMembershipResponse < Struct.new(
3765
+ :room_membership)
3766
+ include Aws::Structure
3767
+ end
3768
+
3769
+ # @note When making an API call, you may pass UpdateRoomRequest
3770
+ # data as a hash:
3771
+ #
3772
+ # {
3773
+ # account_id: "NonEmptyString", # required
3774
+ # room_id: "NonEmptyString", # required
3775
+ # name: "SensitiveString",
3776
+ # }
3777
+ #
3778
+ # @!attribute [rw] account_id
3779
+ # The Amazon Chime account ID.
3780
+ # @return [String]
3781
+ #
3782
+ # @!attribute [rw] room_id
3783
+ # The room ID.
3784
+ # @return [String]
3785
+ #
3786
+ # @!attribute [rw] name
3787
+ # The room name.
3788
+ # @return [String]
3789
+ #
3790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomRequest AWS API Documentation
3791
+ #
3792
+ class UpdateRoomRequest < Struct.new(
3793
+ :account_id,
3794
+ :room_id,
3795
+ :name)
3796
+ include Aws::Structure
3797
+ end
3798
+
3799
+ # @!attribute [rw] room
3800
+ # The room details.
3801
+ # @return [Types::Room]
3802
+ #
3803
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomResponse AWS API Documentation
3804
+ #
3805
+ class UpdateRoomResponse < Struct.new(
3806
+ :room)
3807
+ include Aws::Structure
3808
+ end
3809
+
3235
3810
  # @note When making an API call, you may pass UpdateUserRequest
3236
3811
  # data as a hash:
3237
3812
  #