@aws-sdk/client-chime-sdk-meetings 3.118.0 → 3.125.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.125.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.124.0...v3.125.0) (2022-07-07)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-chime-sdk-meetings:** Adds support for AppKeys and TenantIds in Amazon Chime SDK WebRTC sessions ([5d50be7](https://github.com/aws/aws-sdk-js-v3/commit/5d50be78006631dbc365d28aa84ec4465e40cd42))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** fallback to status code for unmodeled errors ([#3752](https://github.com/aws/aws-sdk-js-v3/issues/3752)) ([49bcc4f](https://github.com/aws/aws-sdk-js-v3/commit/49bcc4f153e890e798a8e82fd5fc397b2dcc449f))
23
+
24
+
25
+
26
+
27
+
28
+ ## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-chime-sdk-meetings
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.118.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.117.0...v3.118.0) (2022-06-24)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-chime-sdk-meetings
@@ -147,6 +147,8 @@ const serializeAws_restJson1CreateMeetingCommand = async (input, context) => {
147
147
  }),
148
148
  ...(input.PrimaryMeetingId !== undefined &&
149
149
  input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId }),
150
+ ...(input.TenantIds !== undefined &&
151
+ input.TenantIds !== null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
150
152
  });
151
153
  return new protocol_http_1.HttpRequest({
152
154
  protocol,
@@ -190,6 +192,8 @@ const serializeAws_restJson1CreateMeetingWithAttendeesCommand = async (input, co
190
192
  }),
191
193
  ...(input.PrimaryMeetingId !== undefined &&
192
194
  input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId }),
195
+ ...(input.TenantIds !== undefined &&
196
+ input.TenantIds !== null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
193
197
  });
194
198
  return new protocol_http_1.HttpRequest({
195
199
  protocol,
@@ -498,8 +502,7 @@ const deserializeAws_restJson1BatchCreateAttendeeCommandError = async (output, c
498
502
  body: await parseBody(output.body, context),
499
503
  };
500
504
  let response;
501
- let errorCode = "UnknownError";
502
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
505
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
503
506
  switch (errorCode) {
504
507
  case "BadRequestException":
505
508
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -530,10 +533,12 @@ const deserializeAws_restJson1BatchCreateAttendeeCommandError = async (output, c
530
533
  throw await deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context);
531
534
  default:
532
535
  const parsedBody = parsedOutput.body;
536
+ const $metadata = deserializeMetadata(output);
537
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
533
538
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
534
- name: parsedBody.code || parsedBody.Code || errorCode,
539
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
535
540
  $fault: "client",
536
- $metadata: deserializeMetadata(output),
541
+ $metadata,
537
542
  });
538
543
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
539
544
  }
@@ -555,8 +560,7 @@ const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError
555
560
  body: await parseBody(output.body, context),
556
561
  };
557
562
  let response;
558
- let errorCode = "UnknownError";
559
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
563
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
560
564
  switch (errorCode) {
561
565
  case "BadRequestException":
562
566
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -578,10 +582,12 @@ const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError
578
582
  throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
579
583
  default:
580
584
  const parsedBody = parsedOutput.body;
585
+ const $metadata = deserializeMetadata(output);
586
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
581
587
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
582
- name: parsedBody.code || parsedBody.Code || errorCode,
588
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
583
589
  $fault: "client",
584
- $metadata: deserializeMetadata(output),
590
+ $metadata,
585
591
  });
586
592
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
587
593
  }
@@ -607,8 +613,7 @@ const deserializeAws_restJson1CreateAttendeeCommandError = async (output, contex
607
613
  body: await parseBody(output.body, context),
608
614
  };
609
615
  let response;
610
- let errorCode = "UnknownError";
611
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
616
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
612
617
  switch (errorCode) {
613
618
  case "BadRequestException":
614
619
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -639,10 +644,12 @@ const deserializeAws_restJson1CreateAttendeeCommandError = async (output, contex
639
644
  throw await deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context);
640
645
  default:
641
646
  const parsedBody = parsedOutput.body;
647
+ const $metadata = deserializeMetadata(output);
648
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
642
649
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
643
- name: parsedBody.code || parsedBody.Code || errorCode,
650
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
644
651
  $fault: "client",
645
- $metadata: deserializeMetadata(output),
652
+ $metadata,
646
653
  });
647
654
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
648
655
  }
@@ -668,8 +675,7 @@ const deserializeAws_restJson1CreateMeetingCommandError = async (output, context
668
675
  body: await parseBody(output.body, context),
669
676
  };
670
677
  let response;
671
- let errorCode = "UnknownError";
672
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
678
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
673
679
  switch (errorCode) {
674
680
  case "BadRequestException":
675
681
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -694,10 +700,12 @@ const deserializeAws_restJson1CreateMeetingCommandError = async (output, context
694
700
  throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
695
701
  default:
696
702
  const parsedBody = parsedOutput.body;
703
+ const $metadata = deserializeMetadata(output);
704
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
697
705
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
698
- name: parsedBody.code || parsedBody.Code || errorCode,
706
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
699
707
  $fault: "client",
700
- $metadata: deserializeMetadata(output),
708
+ $metadata,
701
709
  });
702
710
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
703
711
  }
@@ -731,8 +739,7 @@ const deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = async (ou
731
739
  body: await parseBody(output.body, context),
732
740
  };
733
741
  let response;
734
- let errorCode = "UnknownError";
735
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
742
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
736
743
  switch (errorCode) {
737
744
  case "BadRequestException":
738
745
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -757,10 +764,12 @@ const deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = async (ou
757
764
  throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
758
765
  default:
759
766
  const parsedBody = parsedOutput.body;
767
+ const $metadata = deserializeMetadata(output);
768
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
760
769
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
761
- name: parsedBody.code || parsedBody.Code || errorCode,
770
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
762
771
  $fault: "client",
763
- $metadata: deserializeMetadata(output),
772
+ $metadata,
764
773
  });
765
774
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
766
775
  }
@@ -782,8 +791,7 @@ const deserializeAws_restJson1DeleteAttendeeCommandError = async (output, contex
782
791
  body: await parseBody(output.body, context),
783
792
  };
784
793
  let response;
785
- let errorCode = "UnknownError";
786
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
794
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
787
795
  switch (errorCode) {
788
796
  case "BadRequestException":
789
797
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -808,10 +816,12 @@ const deserializeAws_restJson1DeleteAttendeeCommandError = async (output, contex
808
816
  throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
809
817
  default:
810
818
  const parsedBody = parsedOutput.body;
819
+ const $metadata = deserializeMetadata(output);
820
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
811
821
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
812
- name: parsedBody.code || parsedBody.Code || errorCode,
822
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
813
823
  $fault: "client",
814
- $metadata: deserializeMetadata(output),
824
+ $metadata,
815
825
  });
816
826
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
817
827
  }
@@ -833,8 +843,7 @@ const deserializeAws_restJson1DeleteMeetingCommandError = async (output, context
833
843
  body: await parseBody(output.body, context),
834
844
  };
835
845
  let response;
836
- let errorCode = "UnknownError";
837
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
846
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
838
847
  switch (errorCode) {
839
848
  case "BadRequestException":
840
849
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -859,10 +868,12 @@ const deserializeAws_restJson1DeleteMeetingCommandError = async (output, context
859
868
  throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
860
869
  default:
861
870
  const parsedBody = parsedOutput.body;
871
+ const $metadata = deserializeMetadata(output);
872
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
862
873
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
863
- name: parsedBody.code || parsedBody.Code || errorCode,
874
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
864
875
  $fault: "client",
865
- $metadata: deserializeMetadata(output),
876
+ $metadata,
866
877
  });
867
878
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
868
879
  }
@@ -888,8 +899,7 @@ const deserializeAws_restJson1GetAttendeeCommandError = async (output, context)
888
899
  body: await parseBody(output.body, context),
889
900
  };
890
901
  let response;
891
- let errorCode = "UnknownError";
892
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
902
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
893
903
  switch (errorCode) {
894
904
  case "BadRequestException":
895
905
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -914,10 +924,12 @@ const deserializeAws_restJson1GetAttendeeCommandError = async (output, context)
914
924
  throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
915
925
  default:
916
926
  const parsedBody = parsedOutput.body;
927
+ const $metadata = deserializeMetadata(output);
928
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
917
929
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
918
- name: parsedBody.code || parsedBody.Code || errorCode,
930
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
919
931
  $fault: "client",
920
- $metadata: deserializeMetadata(output),
932
+ $metadata,
921
933
  });
922
934
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
923
935
  }
@@ -943,8 +955,7 @@ const deserializeAws_restJson1GetMeetingCommandError = async (output, context) =
943
955
  body: await parseBody(output.body, context),
944
956
  };
945
957
  let response;
946
- let errorCode = "UnknownError";
947
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
958
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
948
959
  switch (errorCode) {
949
960
  case "BadRequestException":
950
961
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -969,10 +980,12 @@ const deserializeAws_restJson1GetMeetingCommandError = async (output, context) =
969
980
  throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
970
981
  default:
971
982
  const parsedBody = parsedOutput.body;
983
+ const $metadata = deserializeMetadata(output);
984
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
972
985
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
973
- name: parsedBody.code || parsedBody.Code || errorCode,
986
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
974
987
  $fault: "client",
975
- $metadata: deserializeMetadata(output),
988
+ $metadata,
976
989
  });
977
990
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
978
991
  }
@@ -1002,8 +1015,7 @@ const deserializeAws_restJson1ListAttendeesCommandError = async (output, context
1002
1015
  body: await parseBody(output.body, context),
1003
1016
  };
1004
1017
  let response;
1005
- let errorCode = "UnknownError";
1006
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1018
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1007
1019
  switch (errorCode) {
1008
1020
  case "BadRequestException":
1009
1021
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -1028,10 +1040,12 @@ const deserializeAws_restJson1ListAttendeesCommandError = async (output, context
1028
1040
  throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1029
1041
  default:
1030
1042
  const parsedBody = parsedOutput.body;
1043
+ const $metadata = deserializeMetadata(output);
1044
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1031
1045
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
1032
- name: parsedBody.code || parsedBody.Code || errorCode,
1046
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1033
1047
  $fault: "client",
1034
- $metadata: deserializeMetadata(output),
1048
+ $metadata,
1035
1049
  });
1036
1050
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1037
1051
  }
@@ -1053,8 +1067,7 @@ const deserializeAws_restJson1StartMeetingTranscriptionCommandError = async (out
1053
1067
  body: await parseBody(output.body, context),
1054
1068
  };
1055
1069
  let response;
1056
- let errorCode = "UnknownError";
1057
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1070
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1058
1071
  switch (errorCode) {
1059
1072
  case "BadRequestException":
1060
1073
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -1085,10 +1098,12 @@ const deserializeAws_restJson1StartMeetingTranscriptionCommandError = async (out
1085
1098
  throw await deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context);
1086
1099
  default:
1087
1100
  const parsedBody = parsedOutput.body;
1101
+ const $metadata = deserializeMetadata(output);
1102
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1088
1103
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
1089
- name: parsedBody.code || parsedBody.Code || errorCode,
1104
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1090
1105
  $fault: "client",
1091
- $metadata: deserializeMetadata(output),
1106
+ $metadata,
1092
1107
  });
1093
1108
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1094
1109
  }
@@ -1110,8 +1125,7 @@ const deserializeAws_restJson1StopMeetingTranscriptionCommandError = async (outp
1110
1125
  body: await parseBody(output.body, context),
1111
1126
  };
1112
1127
  let response;
1113
- let errorCode = "UnknownError";
1114
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1128
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1115
1129
  switch (errorCode) {
1116
1130
  case "BadRequestException":
1117
1131
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -1139,10 +1153,12 @@ const deserializeAws_restJson1StopMeetingTranscriptionCommandError = async (outp
1139
1153
  throw await deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context);
1140
1154
  default:
1141
1155
  const parsedBody = parsedOutput.body;
1156
+ const $metadata = deserializeMetadata(output);
1157
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1142
1158
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
1143
- name: parsedBody.code || parsedBody.Code || errorCode,
1159
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1144
1160
  $fault: "client",
1145
- $metadata: deserializeMetadata(output),
1161
+ $metadata,
1146
1162
  });
1147
1163
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1148
1164
  }
@@ -1168,8 +1184,7 @@ const deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = async (ou
1168
1184
  body: await parseBody(output.body, context),
1169
1185
  };
1170
1186
  let response;
1171
- let errorCode = "UnknownError";
1172
- errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1187
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1173
1188
  switch (errorCode) {
1174
1189
  case "BadRequestException":
1175
1190
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
@@ -1191,10 +1206,12 @@ const deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = async (ou
1191
1206
  throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1192
1207
  default:
1193
1208
  const parsedBody = parsedOutput.body;
1209
+ const $metadata = deserializeMetadata(output);
1210
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1194
1211
  response = new ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException({
1195
- name: parsedBody.code || parsedBody.Code || errorCode,
1212
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1196
1213
  $fault: "client",
1197
- $metadata: deserializeMetadata(output),
1214
+ $metadata,
1198
1215
  });
1199
1216
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1200
1217
  }
@@ -1497,6 +1514,16 @@ const serializeAws_restJson1NotificationsConfiguration = (input, context) => {
1497
1514
  ...(input.SqsQueueArn !== undefined && input.SqsQueueArn !== null && { SqsQueueArn: input.SqsQueueArn }),
1498
1515
  };
1499
1516
  };
1517
+ const serializeAws_restJson1TenantIdList = (input, context) => {
1518
+ return input
1519
+ .filter((e) => e != null)
1520
+ .map((entry) => {
1521
+ if (entry === null) {
1522
+ return null;
1523
+ }
1524
+ return entry;
1525
+ });
1526
+ };
1500
1527
  const serializeAws_restJson1TranscriptionConfiguration = (input, context) => {
1501
1528
  return {
1502
1529
  ...(input.EngineTranscribeMedicalSettings !== undefined &&
@@ -1585,6 +1612,9 @@ const deserializeAws_restJson1Meeting = (output, context) => {
1585
1612
  MeetingHostId: (0, smithy_client_1.expectString)(output.MeetingHostId),
1586
1613
  MeetingId: (0, smithy_client_1.expectString)(output.MeetingId),
1587
1614
  PrimaryMeetingId: (0, smithy_client_1.expectString)(output.PrimaryMeetingId),
1615
+ TenantIds: output.TenantIds !== undefined && output.TenantIds !== null
1616
+ ? deserializeAws_restJson1TenantIdList(output.TenantIds, context)
1617
+ : undefined,
1588
1618
  };
1589
1619
  };
1590
1620
  const deserializeAws_restJson1MeetingFeaturesConfiguration = (output, context) => {
@@ -1594,6 +1624,17 @@ const deserializeAws_restJson1MeetingFeaturesConfiguration = (output, context) =
1594
1624
  : undefined,
1595
1625
  };
1596
1626
  };
1627
+ const deserializeAws_restJson1TenantIdList = (output, context) => {
1628
+ const retVal = (output || [])
1629
+ .filter((e) => e != null)
1630
+ .map((entry) => {
1631
+ if (entry === null) {
1632
+ return null;
1633
+ }
1634
+ return (0, smithy_client_1.expectString)(entry);
1635
+ });
1636
+ return retVal;
1637
+ };
1597
1638
  const deserializeMetadata = (output) => {
1598
1639
  var _a;
1599
1640
  return ({
@@ -1643,5 +1684,4 @@ const loadRestJsonErrorCode = (output, data) => {
1643
1684
  if (data["__type"] !== undefined) {
1644
1685
  return sanitizeErrorCode(data["__type"]);
1645
1686
  }
1646
- return "";
1647
1687
  };
@@ -140,7 +140,7 @@ export var serializeAws_restJson1CreateMeetingCommand = function (input, context
140
140
  "content-type": "application/json",
141
141
  };
142
142
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings";
143
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.ExternalMeetingId !== undefined &&
143
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.ExternalMeetingId !== undefined &&
144
144
  input.ExternalMeetingId !== null && { ExternalMeetingId: input.ExternalMeetingId })), (input.MediaRegion !== undefined && input.MediaRegion !== null && { MediaRegion: input.MediaRegion })), (input.MeetingFeatures !== undefined &&
145
145
  input.MeetingFeatures !== null && {
146
146
  MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
@@ -148,7 +148,8 @@ export var serializeAws_restJson1CreateMeetingCommand = function (input, context
148
148
  input.NotificationsConfiguration !== null && {
149
149
  NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
150
150
  })), (input.PrimaryMeetingId !== undefined &&
151
- input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId })));
151
+ input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId })), (input.TenantIds !== undefined &&
152
+ input.TenantIds !== null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) })));
152
153
  return [2, new __HttpRequest({
153
154
  protocol: protocol,
154
155
  hostname: hostname,
@@ -176,7 +177,7 @@ export var serializeAws_restJson1CreateMeetingWithAttendeesCommand = function (i
176
177
  query = {
177
178
  operation: "create-attendees",
178
179
  };
179
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attendees !== undefined &&
180
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attendees !== undefined &&
180
181
  input.Attendees !== null && {
181
182
  Attendees: serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList(input.Attendees, context),
182
183
  })), { ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.ExternalMeetingId !== undefined &&
@@ -187,7 +188,8 @@ export var serializeAws_restJson1CreateMeetingWithAttendeesCommand = function (i
187
188
  input.NotificationsConfiguration !== null && {
188
189
  NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
189
190
  })), (input.PrimaryMeetingId !== undefined &&
190
- input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId })));
191
+ input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId })), (input.TenantIds !== undefined &&
192
+ input.TenantIds !== null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) })));
191
193
  return [2, new __HttpRequest({
192
194
  protocol: protocol,
193
195
  hostname: hostname,
@@ -533,7 +535,7 @@ export var deserializeAws_restJson1BatchCreateAttendeeCommand = function (output
533
535
  });
534
536
  }); };
535
537
  var deserializeAws_restJson1BatchCreateAttendeeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
536
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
538
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
537
539
  var _c;
538
540
  return __generator(this, function (_d) {
539
541
  switch (_d.label) {
@@ -543,7 +545,6 @@ var deserializeAws_restJson1BatchCreateAttendeeCommandError = function (output,
543
545
  return [4, parseBody(output.body, context)];
544
546
  case 1:
545
547
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
546
- errorCode = "UnknownError";
547
548
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
548
549
  _b = errorCode;
549
550
  switch (_b) {
@@ -587,10 +588,12 @@ var deserializeAws_restJson1BatchCreateAttendeeCommandError = function (output,
587
588
  case 19: throw _d.sent();
588
589
  case 20:
589
590
  parsedBody = parsedOutput.body;
591
+ $metadata = deserializeMetadata(output);
592
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
590
593
  response = new __BaseException({
591
- name: parsedBody.code || parsedBody.Code || errorCode,
594
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
592
595
  $fault: "client",
593
- $metadata: deserializeMetadata(output),
596
+ $metadata: $metadata,
594
597
  });
595
598
  throw __decorateServiceException(response, parsedBody);
596
599
  }
@@ -615,7 +618,7 @@ export var deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand
615
618
  });
616
619
  }); };
617
620
  var deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
618
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
621
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
619
622
  var _c;
620
623
  return __generator(this, function (_d) {
621
624
  switch (_d.label) {
@@ -625,7 +628,6 @@ var deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError =
625
628
  return [4, parseBody(output.body, context)];
626
629
  case 1:
627
630
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
628
- errorCode = "UnknownError";
629
631
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
630
632
  _b = errorCode;
631
633
  switch (_b) {
@@ -657,10 +659,12 @@ var deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError =
657
659
  case 13: throw _d.sent();
658
660
  case 14:
659
661
  parsedBody = parsedOutput.body;
662
+ $metadata = deserializeMetadata(output);
663
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
660
664
  response = new __BaseException({
661
- name: parsedBody.code || parsedBody.Code || errorCode,
665
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
662
666
  $fault: "client",
663
- $metadata: deserializeMetadata(output),
667
+ $metadata: $metadata,
664
668
  });
665
669
  throw __decorateServiceException(response, parsedBody);
666
670
  }
@@ -691,7 +695,7 @@ export var deserializeAws_restJson1CreateAttendeeCommand = function (output, con
691
695
  });
692
696
  }); };
693
697
  var deserializeAws_restJson1CreateAttendeeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
694
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
698
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
695
699
  var _c;
696
700
  return __generator(this, function (_d) {
697
701
  switch (_d.label) {
@@ -701,7 +705,6 @@ var deserializeAws_restJson1CreateAttendeeCommandError = function (output, conte
701
705
  return [4, parseBody(output.body, context)];
702
706
  case 1:
703
707
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
704
- errorCode = "UnknownError";
705
708
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
706
709
  _b = errorCode;
707
710
  switch (_b) {
@@ -745,10 +748,12 @@ var deserializeAws_restJson1CreateAttendeeCommandError = function (output, conte
745
748
  case 19: throw _d.sent();
746
749
  case 20:
747
750
  parsedBody = parsedOutput.body;
751
+ $metadata = deserializeMetadata(output);
752
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
748
753
  response = new __BaseException({
749
- name: parsedBody.code || parsedBody.Code || errorCode,
754
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
750
755
  $fault: "client",
751
- $metadata: deserializeMetadata(output),
756
+ $metadata: $metadata,
752
757
  });
753
758
  throw __decorateServiceException(response, parsedBody);
754
759
  }
@@ -779,7 +784,7 @@ export var deserializeAws_restJson1CreateMeetingCommand = function (output, cont
779
784
  });
780
785
  }); };
781
786
  var deserializeAws_restJson1CreateMeetingCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
782
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
787
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
783
788
  var _c;
784
789
  return __generator(this, function (_d) {
785
790
  switch (_d.label) {
@@ -789,7 +794,6 @@ var deserializeAws_restJson1CreateMeetingCommandError = function (output, contex
789
794
  return [4, parseBody(output.body, context)];
790
795
  case 1:
791
796
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
792
- errorCode = "UnknownError";
793
797
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
794
798
  _b = errorCode;
795
799
  switch (_b) {
@@ -825,10 +829,12 @@ var deserializeAws_restJson1CreateMeetingCommandError = function (output, contex
825
829
  case 15: throw _d.sent();
826
830
  case 16:
827
831
  parsedBody = parsedOutput.body;
832
+ $metadata = deserializeMetadata(output);
833
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
828
834
  response = new __BaseException({
829
- name: parsedBody.code || parsedBody.Code || errorCode,
835
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
830
836
  $fault: "client",
831
- $metadata: deserializeMetadata(output),
837
+ $metadata: $metadata,
832
838
  });
833
839
  throw __decorateServiceException(response, parsedBody);
834
840
  }
@@ -867,7 +873,7 @@ export var deserializeAws_restJson1CreateMeetingWithAttendeesCommand = function
867
873
  });
868
874
  }); };
869
875
  var deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
870
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
876
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
871
877
  var _c;
872
878
  return __generator(this, function (_d) {
873
879
  switch (_d.label) {
@@ -877,7 +883,6 @@ var deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = function (o
877
883
  return [4, parseBody(output.body, context)];
878
884
  case 1:
879
885
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
880
- errorCode = "UnknownError";
881
886
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
882
887
  _b = errorCode;
883
888
  switch (_b) {
@@ -913,10 +918,12 @@ var deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = function (o
913
918
  case 15: throw _d.sent();
914
919
  case 16:
915
920
  parsedBody = parsedOutput.body;
921
+ $metadata = deserializeMetadata(output);
922
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
916
923
  response = new __BaseException({
917
- name: parsedBody.code || parsedBody.Code || errorCode,
924
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
918
925
  $fault: "client",
919
- $metadata: deserializeMetadata(output),
926
+ $metadata: $metadata,
920
927
  });
921
928
  throw __decorateServiceException(response, parsedBody);
922
929
  }
@@ -941,7 +948,7 @@ export var deserializeAws_restJson1DeleteAttendeeCommand = function (output, con
941
948
  });
942
949
  }); };
943
950
  var deserializeAws_restJson1DeleteAttendeeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
944
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
951
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
945
952
  var _c;
946
953
  return __generator(this, function (_d) {
947
954
  switch (_d.label) {
@@ -951,7 +958,6 @@ var deserializeAws_restJson1DeleteAttendeeCommandError = function (output, conte
951
958
  return [4, parseBody(output.body, context)];
952
959
  case 1:
953
960
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
954
- errorCode = "UnknownError";
955
961
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
956
962
  _b = errorCode;
957
963
  switch (_b) {
@@ -987,10 +993,12 @@ var deserializeAws_restJson1DeleteAttendeeCommandError = function (output, conte
987
993
  case 15: throw _d.sent();
988
994
  case 16:
989
995
  parsedBody = parsedOutput.body;
996
+ $metadata = deserializeMetadata(output);
997
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
990
998
  response = new __BaseException({
991
- name: parsedBody.code || parsedBody.Code || errorCode,
999
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
992
1000
  $fault: "client",
993
- $metadata: deserializeMetadata(output),
1001
+ $metadata: $metadata,
994
1002
  });
995
1003
  throw __decorateServiceException(response, parsedBody);
996
1004
  }
@@ -1015,7 +1023,7 @@ export var deserializeAws_restJson1DeleteMeetingCommand = function (output, cont
1015
1023
  });
1016
1024
  }); };
1017
1025
  var deserializeAws_restJson1DeleteMeetingCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1018
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
1026
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
1019
1027
  var _c;
1020
1028
  return __generator(this, function (_d) {
1021
1029
  switch (_d.label) {
@@ -1025,7 +1033,6 @@ var deserializeAws_restJson1DeleteMeetingCommandError = function (output, contex
1025
1033
  return [4, parseBody(output.body, context)];
1026
1034
  case 1:
1027
1035
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1028
- errorCode = "UnknownError";
1029
1036
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1030
1037
  _b = errorCode;
1031
1038
  switch (_b) {
@@ -1061,10 +1068,12 @@ var deserializeAws_restJson1DeleteMeetingCommandError = function (output, contex
1061
1068
  case 15: throw _d.sent();
1062
1069
  case 16:
1063
1070
  parsedBody = parsedOutput.body;
1071
+ $metadata = deserializeMetadata(output);
1072
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1064
1073
  response = new __BaseException({
1065
- name: parsedBody.code || parsedBody.Code || errorCode,
1074
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1066
1075
  $fault: "client",
1067
- $metadata: deserializeMetadata(output),
1076
+ $metadata: $metadata,
1068
1077
  });
1069
1078
  throw __decorateServiceException(response, parsedBody);
1070
1079
  }
@@ -1095,7 +1104,7 @@ export var deserializeAws_restJson1GetAttendeeCommand = function (output, contex
1095
1104
  });
1096
1105
  }); };
1097
1106
  var deserializeAws_restJson1GetAttendeeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1098
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
1107
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
1099
1108
  var _c;
1100
1109
  return __generator(this, function (_d) {
1101
1110
  switch (_d.label) {
@@ -1105,7 +1114,6 @@ var deserializeAws_restJson1GetAttendeeCommandError = function (output, context)
1105
1114
  return [4, parseBody(output.body, context)];
1106
1115
  case 1:
1107
1116
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1108
- errorCode = "UnknownError";
1109
1117
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1110
1118
  _b = errorCode;
1111
1119
  switch (_b) {
@@ -1141,10 +1149,12 @@ var deserializeAws_restJson1GetAttendeeCommandError = function (output, context)
1141
1149
  case 15: throw _d.sent();
1142
1150
  case 16:
1143
1151
  parsedBody = parsedOutput.body;
1152
+ $metadata = deserializeMetadata(output);
1153
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1144
1154
  response = new __BaseException({
1145
- name: parsedBody.code || parsedBody.Code || errorCode,
1155
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1146
1156
  $fault: "client",
1147
- $metadata: deserializeMetadata(output),
1157
+ $metadata: $metadata,
1148
1158
  });
1149
1159
  throw __decorateServiceException(response, parsedBody);
1150
1160
  }
@@ -1175,7 +1185,7 @@ export var deserializeAws_restJson1GetMeetingCommand = function (output, context
1175
1185
  });
1176
1186
  }); };
1177
1187
  var deserializeAws_restJson1GetMeetingCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1178
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
1188
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
1179
1189
  var _c;
1180
1190
  return __generator(this, function (_d) {
1181
1191
  switch (_d.label) {
@@ -1185,7 +1195,6 @@ var deserializeAws_restJson1GetMeetingCommandError = function (output, context)
1185
1195
  return [4, parseBody(output.body, context)];
1186
1196
  case 1:
1187
1197
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1188
- errorCode = "UnknownError";
1189
1198
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1190
1199
  _b = errorCode;
1191
1200
  switch (_b) {
@@ -1221,10 +1230,12 @@ var deserializeAws_restJson1GetMeetingCommandError = function (output, context)
1221
1230
  case 15: throw _d.sent();
1222
1231
  case 16:
1223
1232
  parsedBody = parsedOutput.body;
1233
+ $metadata = deserializeMetadata(output);
1234
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1224
1235
  response = new __BaseException({
1225
- name: parsedBody.code || parsedBody.Code || errorCode,
1236
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1226
1237
  $fault: "client",
1227
- $metadata: deserializeMetadata(output),
1238
+ $metadata: $metadata,
1228
1239
  });
1229
1240
  throw __decorateServiceException(response, parsedBody);
1230
1241
  }
@@ -1259,7 +1270,7 @@ export var deserializeAws_restJson1ListAttendeesCommand = function (output, cont
1259
1270
  });
1260
1271
  }); };
1261
1272
  var deserializeAws_restJson1ListAttendeesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1262
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
1273
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
1263
1274
  var _c;
1264
1275
  return __generator(this, function (_d) {
1265
1276
  switch (_d.label) {
@@ -1269,7 +1280,6 @@ var deserializeAws_restJson1ListAttendeesCommandError = function (output, contex
1269
1280
  return [4, parseBody(output.body, context)];
1270
1281
  case 1:
1271
1282
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1272
- errorCode = "UnknownError";
1273
1283
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1274
1284
  _b = errorCode;
1275
1285
  switch (_b) {
@@ -1305,10 +1315,12 @@ var deserializeAws_restJson1ListAttendeesCommandError = function (output, contex
1305
1315
  case 15: throw _d.sent();
1306
1316
  case 16:
1307
1317
  parsedBody = parsedOutput.body;
1318
+ $metadata = deserializeMetadata(output);
1319
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1308
1320
  response = new __BaseException({
1309
- name: parsedBody.code || parsedBody.Code || errorCode,
1321
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1310
1322
  $fault: "client",
1311
- $metadata: deserializeMetadata(output),
1323
+ $metadata: $metadata,
1312
1324
  });
1313
1325
  throw __decorateServiceException(response, parsedBody);
1314
1326
  }
@@ -1333,7 +1345,7 @@ export var deserializeAws_restJson1StartMeetingTranscriptionCommand = function (
1333
1345
  });
1334
1346
  }); };
1335
1347
  var deserializeAws_restJson1StartMeetingTranscriptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1336
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
1348
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
1337
1349
  var _c;
1338
1350
  return __generator(this, function (_d) {
1339
1351
  switch (_d.label) {
@@ -1343,7 +1355,6 @@ var deserializeAws_restJson1StartMeetingTranscriptionCommandError = function (ou
1343
1355
  return [4, parseBody(output.body, context)];
1344
1356
  case 1:
1345
1357
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1346
- errorCode = "UnknownError";
1347
1358
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1348
1359
  _b = errorCode;
1349
1360
  switch (_b) {
@@ -1387,10 +1398,12 @@ var deserializeAws_restJson1StartMeetingTranscriptionCommandError = function (ou
1387
1398
  case 19: throw _d.sent();
1388
1399
  case 20:
1389
1400
  parsedBody = parsedOutput.body;
1401
+ $metadata = deserializeMetadata(output);
1402
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1390
1403
  response = new __BaseException({
1391
- name: parsedBody.code || parsedBody.Code || errorCode,
1404
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1392
1405
  $fault: "client",
1393
- $metadata: deserializeMetadata(output),
1406
+ $metadata: $metadata,
1394
1407
  });
1395
1408
  throw __decorateServiceException(response, parsedBody);
1396
1409
  }
@@ -1415,7 +1428,7 @@ export var deserializeAws_restJson1StopMeetingTranscriptionCommand = function (o
1415
1428
  });
1416
1429
  }); };
1417
1430
  var deserializeAws_restJson1StopMeetingTranscriptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1418
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
1431
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
1419
1432
  var _c;
1420
1433
  return __generator(this, function (_d) {
1421
1434
  switch (_d.label) {
@@ -1425,7 +1438,6 @@ var deserializeAws_restJson1StopMeetingTranscriptionCommandError = function (out
1425
1438
  return [4, parseBody(output.body, context)];
1426
1439
  case 1:
1427
1440
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1428
- errorCode = "UnknownError";
1429
1441
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1430
1442
  _b = errorCode;
1431
1443
  switch (_b) {
@@ -1465,10 +1477,12 @@ var deserializeAws_restJson1StopMeetingTranscriptionCommandError = function (out
1465
1477
  case 17: throw _d.sent();
1466
1478
  case 18:
1467
1479
  parsedBody = parsedOutput.body;
1480
+ $metadata = deserializeMetadata(output);
1481
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1468
1482
  response = new __BaseException({
1469
- name: parsedBody.code || parsedBody.Code || errorCode,
1483
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1470
1484
  $fault: "client",
1471
- $metadata: deserializeMetadata(output),
1485
+ $metadata: $metadata,
1472
1486
  });
1473
1487
  throw __decorateServiceException(response, parsedBody);
1474
1488
  }
@@ -1499,7 +1513,7 @@ export var deserializeAws_restJson1UpdateAttendeeCapabilitiesCommand = function
1499
1513
  });
1500
1514
  }); };
1501
1515
  var deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1502
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
1516
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
1503
1517
  var _c;
1504
1518
  return __generator(this, function (_d) {
1505
1519
  switch (_d.label) {
@@ -1509,7 +1523,6 @@ var deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = function (o
1509
1523
  return [4, parseBody(output.body, context)];
1510
1524
  case 1:
1511
1525
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1512
- errorCode = "UnknownError";
1513
1526
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1514
1527
  _b = errorCode;
1515
1528
  switch (_b) {
@@ -1541,10 +1554,12 @@ var deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = function (o
1541
1554
  case 13: throw _d.sent();
1542
1555
  case 14:
1543
1556
  parsedBody = parsedOutput.body;
1557
+ $metadata = deserializeMetadata(output);
1558
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
1544
1559
  response = new __BaseException({
1545
- name: parsedBody.code || parsedBody.Code || errorCode,
1560
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
1546
1561
  $fault: "client",
1547
- $metadata: deserializeMetadata(output),
1562
+ $metadata: $metadata,
1548
1563
  });
1549
1564
  throw __decorateServiceException(response, parsedBody);
1550
1565
  }
@@ -1809,6 +1824,16 @@ var serializeAws_restJson1NotificationsConfiguration = function (input, context)
1809
1824
  return __assign(__assign(__assign({}, (input.LambdaFunctionArn !== undefined &&
1810
1825
  input.LambdaFunctionArn !== null && { LambdaFunctionArn: input.LambdaFunctionArn })), (input.SnsTopicArn !== undefined && input.SnsTopicArn !== null && { SnsTopicArn: input.SnsTopicArn })), (input.SqsQueueArn !== undefined && input.SqsQueueArn !== null && { SqsQueueArn: input.SqsQueueArn }));
1811
1826
  };
1827
+ var serializeAws_restJson1TenantIdList = function (input, context) {
1828
+ return input
1829
+ .filter(function (e) { return e != null; })
1830
+ .map(function (entry) {
1831
+ if (entry === null) {
1832
+ return null;
1833
+ }
1834
+ return entry;
1835
+ });
1836
+ };
1812
1837
  var serializeAws_restJson1TranscriptionConfiguration = function (input, context) {
1813
1838
  return __assign(__assign({}, (input.EngineTranscribeMedicalSettings !== undefined &&
1814
1839
  input.EngineTranscribeMedicalSettings !== null && {
@@ -1894,6 +1919,9 @@ var deserializeAws_restJson1Meeting = function (output, context) {
1894
1919
  MeetingHostId: __expectString(output.MeetingHostId),
1895
1920
  MeetingId: __expectString(output.MeetingId),
1896
1921
  PrimaryMeetingId: __expectString(output.PrimaryMeetingId),
1922
+ TenantIds: output.TenantIds !== undefined && output.TenantIds !== null
1923
+ ? deserializeAws_restJson1TenantIdList(output.TenantIds, context)
1924
+ : undefined,
1897
1925
  };
1898
1926
  };
1899
1927
  var deserializeAws_restJson1MeetingFeaturesConfiguration = function (output, context) {
@@ -1903,6 +1931,17 @@ var deserializeAws_restJson1MeetingFeaturesConfiguration = function (output, con
1903
1931
  : undefined,
1904
1932
  };
1905
1933
  };
1934
+ var deserializeAws_restJson1TenantIdList = function (output, context) {
1935
+ var retVal = (output || [])
1936
+ .filter(function (e) { return e != null; })
1937
+ .map(function (entry) {
1938
+ if (entry === null) {
1939
+ return null;
1940
+ }
1941
+ return __expectString(entry);
1942
+ });
1943
+ return retVal;
1944
+ };
1906
1945
  var deserializeMetadata = function (output) {
1907
1946
  var _a;
1908
1947
  return ({
@@ -1959,5 +1998,4 @@ var loadRestJsonErrorCode = function (output, data) {
1959
1998
  if (data["__type"] !== undefined) {
1960
1999
  return sanitizeErrorCode(data["__type"]);
1961
2000
  }
1962
- return "";
1963
2001
  };
@@ -27,6 +27,28 @@ export declare class ChimeSDKMeetings extends ChimeSDKMeetingsClient {
27
27
  batchCreateAttendee(args: BatchCreateAttendeeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCreateAttendeeCommandOutput) => void): void;
28
28
  /**
29
29
  * <p>Updates <code>AttendeeCapabilities</code> except the capabilities listed in an <code>ExcludedAttendeeIds</code> table.</p>
30
+ *
31
+ * <note>
32
+ * <p>You use the capabilities with a set of values that control what the capabilities can do, such as <code>SendReceive</code> data. For more information about those values, see
33
+ * .</p>
34
+ * </note>
35
+ *
36
+ * <p>When using capabilities, be aware of these corner cases:</p>
37
+ * <ul>
38
+ * <li>
39
+ * <p>You can't set <code>content</code> capabilities to <code>SendReceive</code> or <code>Receive</code> unless you also set <code>video</code> capabilities to <code>SendReceive</code>
40
+ * or <code>Receive</code>. If you don't set the <code>video</code> capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your <code>video</code> capability
41
+ * to receive and you set your <code>content</code> capability to not receive.</p>
42
+ * </li>
43
+ * <li>
44
+ * <p>When you change an <code>audio</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
45
+ * and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.</p>
46
+ * </li>
47
+ * <li>
48
+ * <p>When you change a <code>video</code> or <code>content</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
49
+ * and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.</p>
50
+ * </li>
51
+ * </ul>
30
52
  */
31
53
  batchUpdateAttendeeCapabilitiesExcept(args: BatchUpdateAttendeeCapabilitiesExceptCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateAttendeeCapabilitiesExceptCommandOutput>;
32
54
  batchUpdateAttendeeCapabilitiesExcept(args: BatchUpdateAttendeeCapabilitiesExceptCommandInput, cb: (err: any, data?: BatchUpdateAttendeeCapabilitiesExceptCommandOutput) => void): void;
@@ -126,6 +148,27 @@ export declare class ChimeSDKMeetings extends ChimeSDKMeetingsClient {
126
148
  stopMeetingTranscription(args: StopMeetingTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopMeetingTranscriptionCommandOutput) => void): void;
127
149
  /**
128
150
  * <p>The capabilties that you want to update.</p>
151
+ * <note>
152
+ * <p>You use the capabilities with a set of values that control what the capabilities can do, such as <code>SendReceive</code> data. For more information about those values, see
153
+ * .</p>
154
+ * </note>
155
+ *
156
+ * <p>When using capabilities, be aware of these corner cases:</p>
157
+ * <ul>
158
+ * <li>
159
+ * <p>You can't set <code>content</code> capabilities to <code>SendReceive</code> or <code>Receive</code> unless you also set <code>video</code> capabilities to <code>SendReceive</code>
160
+ * or <code>Receive</code>. If you don't set the <code>video</code> capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your <code>video</code> capability
161
+ * to receive and you set your <code>content</code> capability to not receive.</p>
162
+ * </li>
163
+ * <li>
164
+ * <p>When you change an <code>audio</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
165
+ * and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.</p>
166
+ * </li>
167
+ * <li>
168
+ * <p>When you change a <code>video</code> or <code>content</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
169
+ * and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.</p>
170
+ * </li>
171
+ * </ul>
129
172
  */
130
173
  updateAttendeeCapabilities(args: UpdateAttendeeCapabilitiesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAttendeeCapabilitiesCommandOutput>;
131
174
  updateAttendeeCapabilities(args: UpdateAttendeeCapabilitiesCommandInput, cb: (err: any, data?: UpdateAttendeeCapabilitiesCommandOutput) => void): void;
@@ -8,6 +8,28 @@ export interface BatchUpdateAttendeeCapabilitiesExceptCommandOutput extends __Me
8
8
  }
9
9
  /**
10
10
  * <p>Updates <code>AttendeeCapabilities</code> except the capabilities listed in an <code>ExcludedAttendeeIds</code> table.</p>
11
+ *
12
+ * <note>
13
+ * <p>You use the capabilities with a set of values that control what the capabilities can do, such as <code>SendReceive</code> data. For more information about those values, see
14
+ * .</p>
15
+ * </note>
16
+ *
17
+ * <p>When using capabilities, be aware of these corner cases:</p>
18
+ * <ul>
19
+ * <li>
20
+ * <p>You can't set <code>content</code> capabilities to <code>SendReceive</code> or <code>Receive</code> unless you also set <code>video</code> capabilities to <code>SendReceive</code>
21
+ * or <code>Receive</code>. If you don't set the <code>video</code> capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your <code>video</code> capability
22
+ * to receive and you set your <code>content</code> capability to not receive.</p>
23
+ * </li>
24
+ * <li>
25
+ * <p>When you change an <code>audio</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
26
+ * and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.</p>
27
+ * </li>
28
+ * <li>
29
+ * <p>When you change a <code>video</code> or <code>content</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
30
+ * and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.</p>
31
+ * </li>
32
+ * </ul>
11
33
  * @example
12
34
  * Use a bare-bones client and the command you need to make an API call.
13
35
  * ```javascript
@@ -8,6 +8,27 @@ export interface UpdateAttendeeCapabilitiesCommandOutput extends UpdateAttendeeC
8
8
  }
9
9
  /**
10
10
  * <p>The capabilties that you want to update.</p>
11
+ * <note>
12
+ * <p>You use the capabilities with a set of values that control what the capabilities can do, such as <code>SendReceive</code> data. For more information about those values, see
13
+ * .</p>
14
+ * </note>
15
+ *
16
+ * <p>When using capabilities, be aware of these corner cases:</p>
17
+ * <ul>
18
+ * <li>
19
+ * <p>You can't set <code>content</code> capabilities to <code>SendReceive</code> or <code>Receive</code> unless you also set <code>video</code> capabilities to <code>SendReceive</code>
20
+ * or <code>Receive</code>. If you don't set the <code>video</code> capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your <code>video</code> capability
21
+ * to receive and you set your <code>content</code> capability to not receive.</p>
22
+ * </li>
23
+ * <li>
24
+ * <p>When you change an <code>audio</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
25
+ * and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.</p>
26
+ * </li>
27
+ * <li>
28
+ * <p>When you change a <code>video</code> or <code>content</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
29
+ * and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.</p>
30
+ * </li>
31
+ * </ul>
11
32
  * @example
12
33
  * Use a bare-bones client and the command you need to make an API call.
13
34
  * ```javascript
@@ -7,7 +7,28 @@ export declare enum MediaCapabilities {
7
7
  SEND_RECEIVE = "SendReceive"
8
8
  }
9
9
  /**
10
- * <p>The media capabilities of an attendee, including audio, video and content. </p>
10
+ * <p>The media capabilities of an attendee: audio, video, or content. </p>
11
+ * <note>
12
+ * <p>You use the capabilities with a set of values that control what the capabilities can do, such as <code>SendReceive</code> data. For more information about those values, see
13
+ * .</p>
14
+ * </note>
15
+ *
16
+ * <p>When using capabilities, be aware of these corner cases:</p>
17
+ * <ul>
18
+ * <li>
19
+ * <p>You can't set <code>content</code> capabilities to <code>SendReceive</code> or <code>Receive</code> unless you also set <code>video</code> capabilities to <code>SendReceive</code>
20
+ * or <code>Receive</code>. If you don't set the <code>video</code> capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your <code>video</code> capability
21
+ * to receive and you set your <code>content</code> capability to not receive.</p>
22
+ * </li>
23
+ * <li>
24
+ * <p>When you change an <code>audio</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
25
+ * and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.</p>
26
+ * </li>
27
+ * <li>
28
+ * <p>When you change a <code>video</code> or <code>content</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
29
+ * and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.</p>
30
+ * </li>
31
+ * </ul>
11
32
  */
12
33
  export interface AttendeeCapabilities {
13
34
  /**
@@ -58,7 +79,28 @@ export interface Attendee {
58
79
  */
59
80
  JoinToken?: string;
60
81
  /**
61
- * <p>The capabilities (audio, video, or content) assigned to an attendee.</p>
82
+ * <p>The capabilities assigned to an attendee: audio, video, or content.</p>
83
+ * <note>
84
+ * <p>You use the capabilities with a set of values that control what the capabilities can do, such as <code>SendReceive</code> data. For more information about those values, see
85
+ * .</p>
86
+ * </note>
87
+ *
88
+ * <p>When using capabilities, be aware of these corner cases:</p>
89
+ * <ul>
90
+ * <li>
91
+ * <p>You can't set <code>content</code> capabilities to <code>SendReceive</code> or <code>Receive</code> unless you also set <code>video</code> capabilities to <code>SendReceive</code>
92
+ * or <code>Receive</code>. If you don't set the <code>video</code> capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your <code>video</code> capability
93
+ * to receive and you set your <code>content</code> capability to not receive.</p>
94
+ * </li>
95
+ * <li>
96
+ * <p>When you change an <code>audio</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
97
+ * and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>When you change a <code>video</code> or <code>content</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
101
+ * and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.</p>
102
+ * </li>
103
+ * </ul>
62
104
  */
63
105
  Capabilities?: AttendeeCapabilities;
64
106
  }
@@ -245,7 +287,7 @@ export declare class NotFoundException extends __BaseException {
245
287
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
246
288
  }
247
289
  /**
248
- * <p>The service is currently unavailable.</p>
290
+ * <p>The service encountered an unexpected error.</p>
249
291
  */
250
292
  export declare class ServiceFailureException extends __BaseException {
251
293
  readonly name: "ServiceFailureException";
@@ -280,7 +322,7 @@ export declare class ServiceUnavailableException extends __BaseException {
280
322
  constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
281
323
  }
282
324
  /**
283
- * <p>The number of requests exceeds the limit.</p>
325
+ * <p>The number of customer requests exceeds the request rate limit.</p>
284
326
  */
285
327
  export declare class ThrottlingException extends __BaseException {
286
328
  readonly name: "ThrottlingException";
@@ -373,6 +415,28 @@ export interface CreateAttendeeRequest {
373
415
  /**
374
416
  * <p>The capabilities (<code>audio</code>, <code>video</code>, or <code>content</code>) that you want to grant an attendee. If you don't specify capabilities, all users have send and receive capabilities on
375
417
  * all media channels by default.</p>
418
+ *
419
+ * <note>
420
+ * <p>You use the capabilities with a set of values that control what the capabilities can do, such as <code>SendReceive</code> data. For more information about those values, see
421
+ * .</p>
422
+ * </note>
423
+ *
424
+ * <p>When using capabilities, be aware of these corner cases:</p>
425
+ * <ul>
426
+ * <li>
427
+ * <p>You can't set <code>content</code> capabilities to <code>SendReceive</code> or <code>Receive</code> unless you also set <code>video</code> capabilities to <code>SendReceive</code>
428
+ * or <code>Receive</code>. If you don't set the <code>video</code> capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your <code>video</code> capability
429
+ * to receive and you set your <code>content</code> capability to not receive.</p>
430
+ * </li>
431
+ * <li>
432
+ * <p>When you change an <code>audio</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
433
+ * and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.</p>
434
+ * </li>
435
+ * <li>
436
+ * <p>When you change a <code>video</code> or <code>content</code> capability from <code>None</code> or <code>Receive</code> to <code>Send</code> or <code>SendReceive</code> ,
437
+ * and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.</p>
438
+ * </li>
439
+ * </ul>
376
440
  */
377
441
  Capabilities?: AttendeeCapabilities;
378
442
  }
@@ -484,6 +548,10 @@ export interface CreateMeetingRequest {
484
548
  * <p>When specified, replicates the media from the primary meeting to the new meeting.</p>
485
549
  */
486
550
  PrimaryMeetingId?: string;
551
+ /**
552
+ * <p>A consistent and opaque identifier, created and maintained by the builder to represent a segment of their users.</p>
553
+ */
554
+ TenantIds?: string[];
487
555
  }
488
556
  export declare namespace CreateMeetingRequest {
489
557
  /**
@@ -572,6 +640,10 @@ export interface Meeting {
572
640
  * <p>When specified, replicates the media from the primary meeting to this meeting.</p>
573
641
  */
574
642
  PrimaryMeetingId?: string;
643
+ /**
644
+ * <p>Array of strings.</p>
645
+ */
646
+ TenantIds?: string[];
575
647
  }
576
648
  export declare namespace Meeting {
577
649
  /**
@@ -648,6 +720,10 @@ export interface CreateMeetingWithAttendeesRequest {
648
720
  * <p>When specified, replicates the media from the primary meeting to the new meeting.</p>
649
721
  */
650
722
  PrimaryMeetingId?: string;
723
+ /**
724
+ * <p>A consistent and opaque identifier, created and maintained by the builder to represent a segment of their users.</p>
725
+ */
726
+ TenantIds?: string[];
651
727
  }
652
728
  export declare namespace CreateMeetingWithAttendeesRequest {
653
729
  /**
@@ -840,7 +916,7 @@ export interface EngineTranscribeMedicalSettings {
840
916
  */
841
917
  VocabularyName?: string;
842
918
  /**
843
- * <p>The AWS Region passed to Amazon Transcribe Medical. If you don't specify a Region, Amazon Chime uses the meeting's Region.</p>
919
+ * <p>The AWS Region passed to Amazon Transcribe Medical. If you don't specify a Region, Amazon Chime uses the meeting's Region. </p>
844
920
  */
845
921
  Region?: TranscribeMedicalRegion | string;
846
922
  /**
@@ -1046,19 +1122,7 @@ export declare namespace UpdateAttendeeCapabilitiesRequest {
1046
1122
  }
1047
1123
  export interface UpdateAttendeeCapabilitiesResponse {
1048
1124
  /**
1049
- * <p>An Amazon Chime SDK meeting attendee. Includes a unique
1050
- * <code>AttendeeId</code> and <code>JoinToken</code>. The
1051
- * <code>JoinToken</code>
1052
- * allows a client to authenticate and join as the specified attendee. The
1053
- * <code>JoinToken</code>
1054
- * expires when the meeting ends, or when
1055
- * <a>DeleteAttendee</a>
1056
- * is called. After that, the attendee is unable to join the meeting.
1057
- * </p>
1058
- *
1059
- * <p>We recommend securely transferring each <code>JoinToken</code> from your server application
1060
- * to the client so that no other client has access to the token except for the one
1061
- * authorized to represent the attendee.</p>
1125
+ * <p>The updated attendee data.</p>
1062
1126
  */
1063
1127
  Attendee?: Attendee;
1064
1128
  }
@@ -278,6 +278,8 @@ export interface CreateMeetingRequest {
278
278
  MeetingFeatures?: MeetingFeaturesConfiguration;
279
279
 
280
280
  PrimaryMeetingId?: string;
281
+
282
+ TenantIds?: string[];
281
283
  }
282
284
  export declare namespace CreateMeetingRequest {
283
285
 
@@ -322,6 +324,8 @@ export interface Meeting {
322
324
  MeetingFeatures?: MeetingFeaturesConfiguration;
323
325
 
324
326
  PrimaryMeetingId?: string;
327
+
328
+ TenantIds?: string[];
325
329
  }
326
330
  export declare namespace Meeting {
327
331
 
@@ -352,6 +356,8 @@ export interface CreateMeetingWithAttendeesRequest {
352
356
  Attendees: CreateAttendeeRequestItem[] | undefined;
353
357
 
354
358
  PrimaryMeetingId?: string;
359
+
360
+ TenantIds?: string[];
355
361
  }
356
362
  export declare namespace CreateMeetingWithAttendeesRequest {
357
363
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime-sdk-meetings",
3
3
  "description": "AWS SDK for JavaScript Chime Sdk Meetings Client for Node.js, Browser and React Native",
4
- "version": "3.118.0",
4
+ "version": "3.125.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.118.0",
21
+ "@aws-sdk/client-sts": "3.121.0",
22
22
  "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.118.0",
23
+ "@aws-sdk/credential-provider-node": "3.121.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.110.0",
25
25
  "@aws-sdk/hash-node": "3.110.0",
26
26
  "@aws-sdk/invalid-dependency": "3.110.0",
@@ -28,13 +28,13 @@
28
28
  "@aws-sdk/middleware-host-header": "3.110.0",
29
29
  "@aws-sdk/middleware-logger": "3.110.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.118.1",
32
32
  "@aws-sdk/middleware-serde": "3.110.0",
33
33
  "@aws-sdk/middleware-signing": "3.110.0",
34
34
  "@aws-sdk/middleware-stack": "3.110.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.110.0",
36
36
  "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.110.0",
37
+ "@aws-sdk/node-http-handler": "3.118.1",
38
38
  "@aws-sdk/protocol-http": "3.110.0",
39
39
  "@aws-sdk/smithy-client": "3.110.0",
40
40
  "@aws-sdk/types": "3.110.0",