@aws-sdk/client-chime-sdk-meetings 3.121.0 → 3.128.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,33 @@
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.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-chime-sdk-meetings
9
+
10
+
11
+
12
+
13
+
14
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-chime-sdk-meetings
17
+
18
+
19
+
20
+
21
+
22
+ # [3.125.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.124.0...v3.125.0) (2022-07-07)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
34
 
8
35
 
@@ -27,8 +27,7 @@ const serializeAws_restJson1BatchCreateAttendeeCommand = async (input, context)
27
27
  };
28
28
  let body;
29
29
  body = JSON.stringify({
30
- ...(input.Attendees !== undefined &&
31
- input.Attendees !== null && {
30
+ ...(input.Attendees != null && {
32
31
  Attendees: serializeAws_restJson1CreateAttendeeRequestItemList(input.Attendees, context),
33
32
  }),
34
33
  });
@@ -66,12 +65,10 @@ const serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = async
66
65
  };
67
66
  let body;
68
67
  body = JSON.stringify({
69
- ...(input.Capabilities !== undefined &&
70
- input.Capabilities !== null && {
68
+ ...(input.Capabilities != null && {
71
69
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
72
70
  }),
73
- ...(input.ExcludedAttendeeIds !== undefined &&
74
- input.ExcludedAttendeeIds !== null && {
71
+ ...(input.ExcludedAttendeeIds != null && {
75
72
  ExcludedAttendeeIds: serializeAws_restJson1AttendeeIdsList(input.ExcludedAttendeeIds, context),
76
73
  }),
77
74
  });
@@ -105,12 +102,10 @@ const serializeAws_restJson1CreateAttendeeCommand = async (input, context) => {
105
102
  }
106
103
  let body;
107
104
  body = JSON.stringify({
108
- ...(input.Capabilities !== undefined &&
109
- input.Capabilities !== null && {
105
+ ...(input.Capabilities != null && {
110
106
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
111
107
  }),
112
- ...(input.ExternalUserId !== undefined &&
113
- input.ExternalUserId !== null && { ExternalUserId: input.ExternalUserId }),
108
+ ...(input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId }),
114
109
  });
115
110
  return new protocol_http_1.HttpRequest({
116
111
  protocol,
@@ -133,20 +128,17 @@ const serializeAws_restJson1CreateMeetingCommand = async (input, context) => {
133
128
  let body;
134
129
  body = JSON.stringify({
135
130
  ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
136
- ...(input.ExternalMeetingId !== undefined &&
137
- input.ExternalMeetingId !== null && { ExternalMeetingId: input.ExternalMeetingId }),
138
- ...(input.MediaRegion !== undefined && input.MediaRegion !== null && { MediaRegion: input.MediaRegion }),
139
- ...(input.MeetingFeatures !== undefined &&
140
- input.MeetingFeatures !== null && {
131
+ ...(input.ExternalMeetingId != null && { ExternalMeetingId: input.ExternalMeetingId }),
132
+ ...(input.MediaRegion != null && { MediaRegion: input.MediaRegion }),
133
+ ...(input.MeetingFeatures != null && {
141
134
  MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
142
135
  }),
143
- ...(input.MeetingHostId !== undefined && input.MeetingHostId !== null && { MeetingHostId: input.MeetingHostId }),
144
- ...(input.NotificationsConfiguration !== undefined &&
145
- input.NotificationsConfiguration !== null && {
136
+ ...(input.MeetingHostId != null && { MeetingHostId: input.MeetingHostId }),
137
+ ...(input.NotificationsConfiguration != null && {
146
138
  NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
147
139
  }),
148
- ...(input.PrimaryMeetingId !== undefined &&
149
- input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId }),
140
+ ...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
141
+ ...(input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
150
142
  });
151
143
  return new protocol_http_1.HttpRequest({
152
144
  protocol,
@@ -171,25 +163,21 @@ const serializeAws_restJson1CreateMeetingWithAttendeesCommand = async (input, co
171
163
  };
172
164
  let body;
173
165
  body = JSON.stringify({
174
- ...(input.Attendees !== undefined &&
175
- input.Attendees !== null && {
166
+ ...(input.Attendees != null && {
176
167
  Attendees: serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList(input.Attendees, context),
177
168
  }),
178
169
  ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
179
- ...(input.ExternalMeetingId !== undefined &&
180
- input.ExternalMeetingId !== null && { ExternalMeetingId: input.ExternalMeetingId }),
181
- ...(input.MediaRegion !== undefined && input.MediaRegion !== null && { MediaRegion: input.MediaRegion }),
182
- ...(input.MeetingFeatures !== undefined &&
183
- input.MeetingFeatures !== null && {
170
+ ...(input.ExternalMeetingId != null && { ExternalMeetingId: input.ExternalMeetingId }),
171
+ ...(input.MediaRegion != null && { MediaRegion: input.MediaRegion }),
172
+ ...(input.MeetingFeatures != null && {
184
173
  MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
185
174
  }),
186
- ...(input.MeetingHostId !== undefined && input.MeetingHostId !== null && { MeetingHostId: input.MeetingHostId }),
187
- ...(input.NotificationsConfiguration !== undefined &&
188
- input.NotificationsConfiguration !== null && {
175
+ ...(input.MeetingHostId != null && { MeetingHostId: input.MeetingHostId }),
176
+ ...(input.NotificationsConfiguration != null && {
189
177
  NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
190
178
  }),
191
- ...(input.PrimaryMeetingId !== undefined &&
192
- input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId }),
179
+ ...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
180
+ ...(input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
193
181
  });
194
182
  return new protocol_http_1.HttpRequest({
195
183
  protocol,
@@ -381,8 +369,7 @@ const serializeAws_restJson1StartMeetingTranscriptionCommand = async (input, con
381
369
  };
382
370
  let body;
383
371
  body = JSON.stringify({
384
- ...(input.TranscriptionConfiguration !== undefined &&
385
- input.TranscriptionConfiguration !== null && {
372
+ ...(input.TranscriptionConfiguration != null && {
386
373
  TranscriptionConfiguration: serializeAws_restJson1TranscriptionConfiguration(input.TranscriptionConfiguration, context),
387
374
  }),
388
375
  });
@@ -457,8 +444,7 @@ const serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = async (input, co
457
444
  }
458
445
  let body;
459
446
  body = JSON.stringify({
460
- ...(input.Capabilities !== undefined &&
461
- input.Capabilities !== null && {
447
+ ...(input.Capabilities != null && {
462
448
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
463
449
  }),
464
450
  });
@@ -1397,14 +1383,14 @@ const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (pars
1397
1383
  };
1398
1384
  const serializeAws_restJson1AttendeeCapabilities = (input, context) => {
1399
1385
  return {
1400
- ...(input.Audio !== undefined && input.Audio !== null && { Audio: input.Audio }),
1401
- ...(input.Content !== undefined && input.Content !== null && { Content: input.Content }),
1402
- ...(input.Video !== undefined && input.Video !== null && { Video: input.Video }),
1386
+ ...(input.Audio != null && { Audio: input.Audio }),
1387
+ ...(input.Content != null && { Content: input.Content }),
1388
+ ...(input.Video != null && { Video: input.Video }),
1403
1389
  };
1404
1390
  };
1405
1391
  const serializeAws_restJson1AttendeeIdItem = (input, context) => {
1406
1392
  return {
1407
- ...(input.AttendeeId !== undefined && input.AttendeeId !== null && { AttendeeId: input.AttendeeId }),
1393
+ ...(input.AttendeeId != null && { AttendeeId: input.AttendeeId }),
1408
1394
  };
1409
1395
  };
1410
1396
  const serializeAws_restJson1AttendeeIdsList = (input, context) => {
@@ -1419,17 +1405,15 @@ const serializeAws_restJson1AttendeeIdsList = (input, context) => {
1419
1405
  };
1420
1406
  const serializeAws_restJson1AudioFeatures = (input, context) => {
1421
1407
  return {
1422
- ...(input.EchoReduction !== undefined && input.EchoReduction !== null && { EchoReduction: input.EchoReduction }),
1408
+ ...(input.EchoReduction != null && { EchoReduction: input.EchoReduction }),
1423
1409
  };
1424
1410
  };
1425
1411
  const serializeAws_restJson1CreateAttendeeRequestItem = (input, context) => {
1426
1412
  return {
1427
- ...(input.Capabilities !== undefined &&
1428
- input.Capabilities !== null && {
1413
+ ...(input.Capabilities != null && {
1429
1414
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
1430
1415
  }),
1431
- ...(input.ExternalUserId !== undefined &&
1432
- input.ExternalUserId !== null && { ExternalUserId: input.ExternalUserId }),
1416
+ ...(input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId }),
1433
1417
  };
1434
1418
  };
1435
1419
  const serializeAws_restJson1CreateAttendeeRequestItemList = (input, context) => {
@@ -1454,70 +1438,62 @@ const serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList = (input,
1454
1438
  };
1455
1439
  const serializeAws_restJson1EngineTranscribeMedicalSettings = (input, context) => {
1456
1440
  return {
1457
- ...(input.ContentIdentificationType !== undefined &&
1458
- input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType }),
1459
- ...(input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode }),
1460
- ...(input.Region !== undefined && input.Region !== null && { Region: input.Region }),
1461
- ...(input.Specialty !== undefined && input.Specialty !== null && { Specialty: input.Specialty }),
1462
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
1463
- ...(input.VocabularyName !== undefined &&
1464
- input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
1441
+ ...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
1442
+ ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
1443
+ ...(input.Region != null && { Region: input.Region }),
1444
+ ...(input.Specialty != null && { Specialty: input.Specialty }),
1445
+ ...(input.Type != null && { Type: input.Type }),
1446
+ ...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
1465
1447
  };
1466
1448
  };
1467
1449
  const serializeAws_restJson1EngineTranscribeSettings = (input, context) => {
1468
1450
  return {
1469
- ...(input.ContentIdentificationType !== undefined &&
1470
- input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType }),
1471
- ...(input.ContentRedactionType !== undefined &&
1472
- input.ContentRedactionType !== null && { ContentRedactionType: input.ContentRedactionType }),
1473
- ...(input.EnablePartialResultsStabilization !== undefined &&
1474
- input.EnablePartialResultsStabilization !== null && {
1451
+ ...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
1452
+ ...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
1453
+ ...(input.EnablePartialResultsStabilization != null && {
1475
1454
  EnablePartialResultsStabilization: input.EnablePartialResultsStabilization,
1476
1455
  }),
1477
- ...(input.IdentifyLanguage !== undefined &&
1478
- input.IdentifyLanguage !== null && { IdentifyLanguage: input.IdentifyLanguage }),
1479
- ...(input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode }),
1480
- ...(input.LanguageModelName !== undefined &&
1481
- input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName }),
1482
- ...(input.LanguageOptions !== undefined &&
1483
- input.LanguageOptions !== null && { LanguageOptions: input.LanguageOptions }),
1484
- ...(input.PartialResultsStability !== undefined &&
1485
- input.PartialResultsStability !== null && { PartialResultsStability: input.PartialResultsStability }),
1486
- ...(input.PiiEntityTypes !== undefined &&
1487
- input.PiiEntityTypes !== null && { PiiEntityTypes: input.PiiEntityTypes }),
1488
- ...(input.PreferredLanguage !== undefined &&
1489
- input.PreferredLanguage !== null && { PreferredLanguage: input.PreferredLanguage }),
1490
- ...(input.Region !== undefined && input.Region !== null && { Region: input.Region }),
1491
- ...(input.VocabularyFilterMethod !== undefined &&
1492
- input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
1493
- ...(input.VocabularyFilterName !== undefined &&
1494
- input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }),
1495
- ...(input.VocabularyName !== undefined &&
1496
- input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
1456
+ ...(input.IdentifyLanguage != null && { IdentifyLanguage: input.IdentifyLanguage }),
1457
+ ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
1458
+ ...(input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }),
1459
+ ...(input.LanguageOptions != null && { LanguageOptions: input.LanguageOptions }),
1460
+ ...(input.PartialResultsStability != null && { PartialResultsStability: input.PartialResultsStability }),
1461
+ ...(input.PiiEntityTypes != null && { PiiEntityTypes: input.PiiEntityTypes }),
1462
+ ...(input.PreferredLanguage != null && { PreferredLanguage: input.PreferredLanguage }),
1463
+ ...(input.Region != null && { Region: input.Region }),
1464
+ ...(input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
1465
+ ...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
1466
+ ...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
1497
1467
  };
1498
1468
  };
1499
1469
  const serializeAws_restJson1MeetingFeaturesConfiguration = (input, context) => {
1500
1470
  return {
1501
- ...(input.Audio !== undefined &&
1502
- input.Audio !== null && { Audio: serializeAws_restJson1AudioFeatures(input.Audio, context) }),
1471
+ ...(input.Audio != null && { Audio: serializeAws_restJson1AudioFeatures(input.Audio, context) }),
1503
1472
  };
1504
1473
  };
1505
1474
  const serializeAws_restJson1NotificationsConfiguration = (input, context) => {
1506
1475
  return {
1507
- ...(input.LambdaFunctionArn !== undefined &&
1508
- input.LambdaFunctionArn !== null && { LambdaFunctionArn: input.LambdaFunctionArn }),
1509
- ...(input.SnsTopicArn !== undefined && input.SnsTopicArn !== null && { SnsTopicArn: input.SnsTopicArn }),
1510
- ...(input.SqsQueueArn !== undefined && input.SqsQueueArn !== null && { SqsQueueArn: input.SqsQueueArn }),
1476
+ ...(input.LambdaFunctionArn != null && { LambdaFunctionArn: input.LambdaFunctionArn }),
1477
+ ...(input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }),
1478
+ ...(input.SqsQueueArn != null && { SqsQueueArn: input.SqsQueueArn }),
1511
1479
  };
1512
1480
  };
1481
+ const serializeAws_restJson1TenantIdList = (input, context) => {
1482
+ return input
1483
+ .filter((e) => e != null)
1484
+ .map((entry) => {
1485
+ if (entry === null) {
1486
+ return null;
1487
+ }
1488
+ return entry;
1489
+ });
1490
+ };
1513
1491
  const serializeAws_restJson1TranscriptionConfiguration = (input, context) => {
1514
1492
  return {
1515
- ...(input.EngineTranscribeMedicalSettings !== undefined &&
1516
- input.EngineTranscribeMedicalSettings !== null && {
1493
+ ...(input.EngineTranscribeMedicalSettings != null && {
1517
1494
  EngineTranscribeMedicalSettings: serializeAws_restJson1EngineTranscribeMedicalSettings(input.EngineTranscribeMedicalSettings, context),
1518
1495
  }),
1519
- ...(input.EngineTranscribeSettings !== undefined &&
1520
- input.EngineTranscribeSettings !== null && {
1496
+ ...(input.EngineTranscribeSettings != null && {
1521
1497
  EngineTranscribeSettings: serializeAws_restJson1EngineTranscribeSettings(input.EngineTranscribeSettings, context),
1522
1498
  }),
1523
1499
  };
@@ -1525,7 +1501,7 @@ const serializeAws_restJson1TranscriptionConfiguration = (input, context) => {
1525
1501
  const deserializeAws_restJson1Attendee = (output, context) => {
1526
1502
  return {
1527
1503
  AttendeeId: (0, smithy_client_1.expectString)(output.AttendeeId),
1528
- Capabilities: output.Capabilities !== undefined && output.Capabilities !== null
1504
+ Capabilities: output.Capabilities != null
1529
1505
  ? deserializeAws_restJson1AttendeeCapabilities(output.Capabilities, context)
1530
1506
  : undefined,
1531
1507
  ExternalUserId: (0, smithy_client_1.expectString)(output.ExternalUserId),
@@ -1588,25 +1564,35 @@ const deserializeAws_restJson1MediaPlacement = (output, context) => {
1588
1564
  const deserializeAws_restJson1Meeting = (output, context) => {
1589
1565
  return {
1590
1566
  ExternalMeetingId: (0, smithy_client_1.expectString)(output.ExternalMeetingId),
1591
- MediaPlacement: output.MediaPlacement !== undefined && output.MediaPlacement !== null
1567
+ MediaPlacement: output.MediaPlacement != null
1592
1568
  ? deserializeAws_restJson1MediaPlacement(output.MediaPlacement, context)
1593
1569
  : undefined,
1594
1570
  MediaRegion: (0, smithy_client_1.expectString)(output.MediaRegion),
1595
- MeetingFeatures: output.MeetingFeatures !== undefined && output.MeetingFeatures !== null
1571
+ MeetingFeatures: output.MeetingFeatures != null
1596
1572
  ? deserializeAws_restJson1MeetingFeaturesConfiguration(output.MeetingFeatures, context)
1597
1573
  : undefined,
1598
1574
  MeetingHostId: (0, smithy_client_1.expectString)(output.MeetingHostId),
1599
1575
  MeetingId: (0, smithy_client_1.expectString)(output.MeetingId),
1600
1576
  PrimaryMeetingId: (0, smithy_client_1.expectString)(output.PrimaryMeetingId),
1577
+ TenantIds: output.TenantIds != null ? deserializeAws_restJson1TenantIdList(output.TenantIds, context) : undefined,
1601
1578
  };
1602
1579
  };
1603
1580
  const deserializeAws_restJson1MeetingFeaturesConfiguration = (output, context) => {
1604
1581
  return {
1605
- Audio: output.Audio !== undefined && output.Audio !== null
1606
- ? deserializeAws_restJson1AudioFeatures(output.Audio, context)
1607
- : undefined,
1582
+ Audio: output.Audio != null ? deserializeAws_restJson1AudioFeatures(output.Audio, context) : undefined,
1608
1583
  };
1609
1584
  };
1585
+ const deserializeAws_restJson1TenantIdList = (output, context) => {
1586
+ const retVal = (output || [])
1587
+ .filter((e) => e != null)
1588
+ .map((entry) => {
1589
+ if (entry === null) {
1590
+ return null;
1591
+ }
1592
+ return (0, smithy_client_1.expectString)(entry);
1593
+ });
1594
+ return retVal;
1595
+ };
1610
1596
  const deserializeMetadata = (output) => {
1611
1597
  var _a;
1612
1598
  return ({
@@ -28,8 +28,7 @@ export var serializeAws_restJson1BatchCreateAttendeeCommand = function (input, c
28
28
  query = {
29
29
  operation: "batch-create",
30
30
  };
31
- body = JSON.stringify(__assign({}, (input.Attendees !== undefined &&
32
- input.Attendees !== null && {
31
+ body = JSON.stringify(__assign({}, (input.Attendees != null && {
33
32
  Attendees: serializeAws_restJson1CreateAttendeeRequestItemList(input.Attendees, context),
34
33
  })));
35
34
  return [2, new __HttpRequest({
@@ -70,11 +69,9 @@ export var serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand =
70
69
  query = {
71
70
  operation: "batch-update-except",
72
71
  };
73
- body = JSON.stringify(__assign(__assign({}, (input.Capabilities !== undefined &&
74
- input.Capabilities !== null && {
72
+ body = JSON.stringify(__assign(__assign({}, (input.Capabilities != null && {
75
73
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
76
- })), (input.ExcludedAttendeeIds !== undefined &&
77
- input.ExcludedAttendeeIds !== null && {
74
+ })), (input.ExcludedAttendeeIds != null && {
78
75
  ExcludedAttendeeIds: serializeAws_restJson1AttendeeIdsList(input.ExcludedAttendeeIds, context),
79
76
  })));
80
77
  return [2, new __HttpRequest({
@@ -111,11 +108,9 @@ export var serializeAws_restJson1CreateAttendeeCommand = function (input, contex
111
108
  else {
112
109
  throw new Error("No value provided for input HTTP label: MeetingId.");
113
110
  }
114
- body = JSON.stringify(__assign(__assign({}, (input.Capabilities !== undefined &&
115
- input.Capabilities !== null && {
111
+ body = JSON.stringify(__assign(__assign({}, (input.Capabilities != null && {
116
112
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
117
- })), (input.ExternalUserId !== undefined &&
118
- input.ExternalUserId !== null && { ExternalUserId: input.ExternalUserId })));
113
+ })), (input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId })));
119
114
  return [2, new __HttpRequest({
120
115
  protocol: protocol,
121
116
  hostname: hostname,
@@ -140,15 +135,11 @@ export var serializeAws_restJson1CreateMeetingCommand = function (input, context
140
135
  "content-type": "application/json",
141
136
  };
142
137
  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 &&
144
- input.ExternalMeetingId !== null && { ExternalMeetingId: input.ExternalMeetingId })), (input.MediaRegion !== undefined && input.MediaRegion !== null && { MediaRegion: input.MediaRegion })), (input.MeetingFeatures !== undefined &&
145
- input.MeetingFeatures !== null && {
138
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.ExternalMeetingId != null && { ExternalMeetingId: input.ExternalMeetingId })), (input.MediaRegion != null && { MediaRegion: input.MediaRegion })), (input.MeetingFeatures != null && {
146
139
  MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
147
- })), (input.MeetingHostId !== undefined && input.MeetingHostId !== null && { MeetingHostId: input.MeetingHostId })), (input.NotificationsConfiguration !== undefined &&
148
- input.NotificationsConfiguration !== null && {
140
+ })), (input.MeetingHostId != null && { MeetingHostId: input.MeetingHostId })), (input.NotificationsConfiguration != null && {
149
141
  NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
150
- })), (input.PrimaryMeetingId !== undefined &&
151
- input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId })));
142
+ })), (input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId })), (input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) })));
152
143
  return [2, new __HttpRequest({
153
144
  protocol: protocol,
154
145
  hostname: hostname,
@@ -176,18 +167,13 @@ export var serializeAws_restJson1CreateMeetingWithAttendeesCommand = function (i
176
167
  query = {
177
168
  operation: "create-attendees",
178
169
  };
179
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attendees !== undefined &&
180
- input.Attendees !== null && {
170
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attendees != null && {
181
171
  Attendees: serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList(input.Attendees, context),
182
- })), { ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.ExternalMeetingId !== undefined &&
183
- input.ExternalMeetingId !== null && { ExternalMeetingId: input.ExternalMeetingId })), (input.MediaRegion !== undefined && input.MediaRegion !== null && { MediaRegion: input.MediaRegion })), (input.MeetingFeatures !== undefined &&
184
- input.MeetingFeatures !== null && {
172
+ })), { ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.ExternalMeetingId != null && { ExternalMeetingId: input.ExternalMeetingId })), (input.MediaRegion != null && { MediaRegion: input.MediaRegion })), (input.MeetingFeatures != null && {
185
173
  MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
186
- })), (input.MeetingHostId !== undefined && input.MeetingHostId !== null && { MeetingHostId: input.MeetingHostId })), (input.NotificationsConfiguration !== undefined &&
187
- input.NotificationsConfiguration !== null && {
174
+ })), (input.MeetingHostId != null && { MeetingHostId: input.MeetingHostId })), (input.NotificationsConfiguration != null && {
188
175
  NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
189
- })), (input.PrimaryMeetingId !== undefined &&
190
- input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId })));
176
+ })), (input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId })), (input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) })));
191
177
  return [2, new __HttpRequest({
192
178
  protocol: protocol,
193
179
  hostname: hostname,
@@ -404,8 +390,7 @@ export var serializeAws_restJson1StartMeetingTranscriptionCommand = function (in
404
390
  query = {
405
391
  operation: "start",
406
392
  };
407
- body = JSON.stringify(__assign({}, (input.TranscriptionConfiguration !== undefined &&
408
- input.TranscriptionConfiguration !== null && {
393
+ body = JSON.stringify(__assign({}, (input.TranscriptionConfiguration != null && {
409
394
  TranscriptionConfiguration: serializeAws_restJson1TranscriptionConfiguration(input.TranscriptionConfiguration, context),
410
395
  })));
411
396
  return [2, new __HttpRequest({
@@ -488,8 +473,7 @@ export var serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = function (i
488
473
  else {
489
474
  throw new Error("No value provided for input HTTP label: AttendeeId.");
490
475
  }
491
- body = JSON.stringify(__assign({}, (input.Capabilities !== undefined &&
492
- input.Capabilities !== null && {
476
+ body = JSON.stringify(__assign({}, (input.Capabilities != null && {
493
477
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
494
478
  })));
495
479
  return [2, new __HttpRequest({
@@ -1747,10 +1731,10 @@ var deserializeAws_restJson1UnprocessableEntityExceptionResponse = function (par
1747
1731
  });
1748
1732
  }); };
1749
1733
  var serializeAws_restJson1AttendeeCapabilities = function (input, context) {
1750
- return __assign(__assign(__assign({}, (input.Audio !== undefined && input.Audio !== null && { Audio: input.Audio })), (input.Content !== undefined && input.Content !== null && { Content: input.Content })), (input.Video !== undefined && input.Video !== null && { Video: input.Video }));
1734
+ return __assign(__assign(__assign({}, (input.Audio != null && { Audio: input.Audio })), (input.Content != null && { Content: input.Content })), (input.Video != null && { Video: input.Video }));
1751
1735
  };
1752
1736
  var serializeAws_restJson1AttendeeIdItem = function (input, context) {
1753
- return __assign({}, (input.AttendeeId !== undefined && input.AttendeeId !== null && { AttendeeId: input.AttendeeId }));
1737
+ return __assign({}, (input.AttendeeId != null && { AttendeeId: input.AttendeeId }));
1754
1738
  };
1755
1739
  var serializeAws_restJson1AttendeeIdsList = function (input, context) {
1756
1740
  return input
@@ -1763,14 +1747,12 @@ var serializeAws_restJson1AttendeeIdsList = function (input, context) {
1763
1747
  });
1764
1748
  };
1765
1749
  var serializeAws_restJson1AudioFeatures = function (input, context) {
1766
- return __assign({}, (input.EchoReduction !== undefined && input.EchoReduction !== null && { EchoReduction: input.EchoReduction }));
1750
+ return __assign({}, (input.EchoReduction != null && { EchoReduction: input.EchoReduction }));
1767
1751
  };
1768
1752
  var serializeAws_restJson1CreateAttendeeRequestItem = function (input, context) {
1769
- return __assign(__assign({}, (input.Capabilities !== undefined &&
1770
- input.Capabilities !== null && {
1753
+ return __assign(__assign({}, (input.Capabilities != null && {
1771
1754
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
1772
- })), (input.ExternalUserId !== undefined &&
1773
- input.ExternalUserId !== null && { ExternalUserId: input.ExternalUserId }));
1755
+ })), (input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId }));
1774
1756
  };
1775
1757
  var serializeAws_restJson1CreateAttendeeRequestItemList = function (input, context) {
1776
1758
  return input
@@ -1793,48 +1775,40 @@ var serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList = function (
1793
1775
  });
1794
1776
  };
1795
1777
  var serializeAws_restJson1EngineTranscribeMedicalSettings = function (input, context) {
1796
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType !== undefined &&
1797
- input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode })), (input.Region !== undefined && input.Region !== null && { Region: input.Region })), (input.Specialty !== undefined && input.Specialty !== null && { Specialty: input.Specialty })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.VocabularyName !== undefined &&
1798
- input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
1778
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType })), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Region != null && { Region: input.Region })), (input.Specialty != null && { Specialty: input.Specialty })), (input.Type != null && { Type: input.Type })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
1799
1779
  };
1800
1780
  var serializeAws_restJson1EngineTranscribeSettings = function (input, context) {
1801
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType !== undefined &&
1802
- input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType })), (input.ContentRedactionType !== undefined &&
1803
- input.ContentRedactionType !== null && { ContentRedactionType: input.ContentRedactionType })), (input.EnablePartialResultsStabilization !== undefined &&
1804
- input.EnablePartialResultsStabilization !== null && {
1781
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType })), (input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType })), (input.EnablePartialResultsStabilization != null && {
1805
1782
  EnablePartialResultsStabilization: input.EnablePartialResultsStabilization,
1806
- })), (input.IdentifyLanguage !== undefined &&
1807
- input.IdentifyLanguage !== null && { IdentifyLanguage: input.IdentifyLanguage })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode })), (input.LanguageModelName !== undefined &&
1808
- input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName })), (input.LanguageOptions !== undefined &&
1809
- input.LanguageOptions !== null && { LanguageOptions: input.LanguageOptions })), (input.PartialResultsStability !== undefined &&
1810
- input.PartialResultsStability !== null && { PartialResultsStability: input.PartialResultsStability })), (input.PiiEntityTypes !== undefined &&
1811
- input.PiiEntityTypes !== null && { PiiEntityTypes: input.PiiEntityTypes })), (input.PreferredLanguage !== undefined &&
1812
- input.PreferredLanguage !== null && { PreferredLanguage: input.PreferredLanguage })), (input.Region !== undefined && input.Region !== null && { Region: input.Region })), (input.VocabularyFilterMethod !== undefined &&
1813
- input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName !== undefined &&
1814
- input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName !== undefined &&
1815
- input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
1783
+ })), (input.IdentifyLanguage != null && { IdentifyLanguage: input.IdentifyLanguage })), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName })), (input.LanguageOptions != null && { LanguageOptions: input.LanguageOptions })), (input.PartialResultsStability != null && { PartialResultsStability: input.PartialResultsStability })), (input.PiiEntityTypes != null && { PiiEntityTypes: input.PiiEntityTypes })), (input.PreferredLanguage != null && { PreferredLanguage: input.PreferredLanguage })), (input.Region != null && { Region: input.Region })), (input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
1816
1784
  };
1817
1785
  var serializeAws_restJson1MeetingFeaturesConfiguration = function (input, context) {
1818
- return __assign({}, (input.Audio !== undefined &&
1819
- input.Audio !== null && { Audio: serializeAws_restJson1AudioFeatures(input.Audio, context) }));
1786
+ return __assign({}, (input.Audio != null && { Audio: serializeAws_restJson1AudioFeatures(input.Audio, context) }));
1820
1787
  };
1821
1788
  var serializeAws_restJson1NotificationsConfiguration = function (input, context) {
1822
- return __assign(__assign(__assign({}, (input.LambdaFunctionArn !== undefined &&
1823
- input.LambdaFunctionArn !== null && { LambdaFunctionArn: input.LambdaFunctionArn })), (input.SnsTopicArn !== undefined && input.SnsTopicArn !== null && { SnsTopicArn: input.SnsTopicArn })), (input.SqsQueueArn !== undefined && input.SqsQueueArn !== null && { SqsQueueArn: input.SqsQueueArn }));
1789
+ return __assign(__assign(__assign({}, (input.LambdaFunctionArn != null && { LambdaFunctionArn: input.LambdaFunctionArn })), (input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn })), (input.SqsQueueArn != null && { SqsQueueArn: input.SqsQueueArn }));
1790
+ };
1791
+ var serializeAws_restJson1TenantIdList = function (input, context) {
1792
+ return input
1793
+ .filter(function (e) { return e != null; })
1794
+ .map(function (entry) {
1795
+ if (entry === null) {
1796
+ return null;
1797
+ }
1798
+ return entry;
1799
+ });
1824
1800
  };
1825
1801
  var serializeAws_restJson1TranscriptionConfiguration = function (input, context) {
1826
- return __assign(__assign({}, (input.EngineTranscribeMedicalSettings !== undefined &&
1827
- input.EngineTranscribeMedicalSettings !== null && {
1802
+ return __assign(__assign({}, (input.EngineTranscribeMedicalSettings != null && {
1828
1803
  EngineTranscribeMedicalSettings: serializeAws_restJson1EngineTranscribeMedicalSettings(input.EngineTranscribeMedicalSettings, context),
1829
- })), (input.EngineTranscribeSettings !== undefined &&
1830
- input.EngineTranscribeSettings !== null && {
1804
+ })), (input.EngineTranscribeSettings != null && {
1831
1805
  EngineTranscribeSettings: serializeAws_restJson1EngineTranscribeSettings(input.EngineTranscribeSettings, context),
1832
1806
  }));
1833
1807
  };
1834
1808
  var deserializeAws_restJson1Attendee = function (output, context) {
1835
1809
  return {
1836
1810
  AttendeeId: __expectString(output.AttendeeId),
1837
- Capabilities: output.Capabilities !== undefined && output.Capabilities !== null
1811
+ Capabilities: output.Capabilities != null
1838
1812
  ? deserializeAws_restJson1AttendeeCapabilities(output.Capabilities, context)
1839
1813
  : undefined,
1840
1814
  ExternalUserId: __expectString(output.ExternalUserId),
@@ -1897,25 +1871,35 @@ var deserializeAws_restJson1MediaPlacement = function (output, context) {
1897
1871
  var deserializeAws_restJson1Meeting = function (output, context) {
1898
1872
  return {
1899
1873
  ExternalMeetingId: __expectString(output.ExternalMeetingId),
1900
- MediaPlacement: output.MediaPlacement !== undefined && output.MediaPlacement !== null
1874
+ MediaPlacement: output.MediaPlacement != null
1901
1875
  ? deserializeAws_restJson1MediaPlacement(output.MediaPlacement, context)
1902
1876
  : undefined,
1903
1877
  MediaRegion: __expectString(output.MediaRegion),
1904
- MeetingFeatures: output.MeetingFeatures !== undefined && output.MeetingFeatures !== null
1878
+ MeetingFeatures: output.MeetingFeatures != null
1905
1879
  ? deserializeAws_restJson1MeetingFeaturesConfiguration(output.MeetingFeatures, context)
1906
1880
  : undefined,
1907
1881
  MeetingHostId: __expectString(output.MeetingHostId),
1908
1882
  MeetingId: __expectString(output.MeetingId),
1909
1883
  PrimaryMeetingId: __expectString(output.PrimaryMeetingId),
1884
+ TenantIds: output.TenantIds != null ? deserializeAws_restJson1TenantIdList(output.TenantIds, context) : undefined,
1910
1885
  };
1911
1886
  };
1912
1887
  var deserializeAws_restJson1MeetingFeaturesConfiguration = function (output, context) {
1913
1888
  return {
1914
- Audio: output.Audio !== undefined && output.Audio !== null
1915
- ? deserializeAws_restJson1AudioFeatures(output.Audio, context)
1916
- : undefined,
1889
+ Audio: output.Audio != null ? deserializeAws_restJson1AudioFeatures(output.Audio, context) : undefined,
1917
1890
  };
1918
1891
  };
1892
+ var deserializeAws_restJson1TenantIdList = function (output, context) {
1893
+ var retVal = (output || [])
1894
+ .filter(function (e) { return e != null; })
1895
+ .map(function (entry) {
1896
+ if (entry === null) {
1897
+ return null;
1898
+ }
1899
+ return __expectString(entry);
1900
+ });
1901
+ return retVal;
1902
+ };
1919
1903
  var deserializeMetadata = function (output) {
1920
1904
  var _a;
1921
1905
  return ({
@@ -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.121.0",
4
+ "version": "3.128.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,35 +18,35 @@
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.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.128.0",
22
+ "@aws-sdk/config-resolver": "3.128.0",
23
+ "@aws-sdk/credential-provider-node": "3.128.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.128.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
41
+ "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.128.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1",