@aws-sdk/client-chime-sdk-meetings 3.125.0 → 3.127.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,14 @@
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.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-chime-sdk-meetings
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.125.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.124.0...v3.125.0) (2022-07-07)
7
15
 
8
16
 
@@ -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,22 +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 }),
150
- ...(input.TenantIds !== undefined &&
151
- input.TenantIds !== null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
140
+ ...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
141
+ ...(input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
152
142
  });
153
143
  return new protocol_http_1.HttpRequest({
154
144
  protocol,
@@ -173,27 +163,21 @@ const serializeAws_restJson1CreateMeetingWithAttendeesCommand = async (input, co
173
163
  };
174
164
  let body;
175
165
  body = JSON.stringify({
176
- ...(input.Attendees !== undefined &&
177
- input.Attendees !== null && {
166
+ ...(input.Attendees != null && {
178
167
  Attendees: serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList(input.Attendees, context),
179
168
  }),
180
169
  ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
181
- ...(input.ExternalMeetingId !== undefined &&
182
- input.ExternalMeetingId !== null && { ExternalMeetingId: input.ExternalMeetingId }),
183
- ...(input.MediaRegion !== undefined && input.MediaRegion !== null && { MediaRegion: input.MediaRegion }),
184
- ...(input.MeetingFeatures !== undefined &&
185
- input.MeetingFeatures !== null && {
170
+ ...(input.ExternalMeetingId != null && { ExternalMeetingId: input.ExternalMeetingId }),
171
+ ...(input.MediaRegion != null && { MediaRegion: input.MediaRegion }),
172
+ ...(input.MeetingFeatures != null && {
186
173
  MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
187
174
  }),
188
- ...(input.MeetingHostId !== undefined && input.MeetingHostId !== null && { MeetingHostId: input.MeetingHostId }),
189
- ...(input.NotificationsConfiguration !== undefined &&
190
- input.NotificationsConfiguration !== null && {
175
+ ...(input.MeetingHostId != null && { MeetingHostId: input.MeetingHostId }),
176
+ ...(input.NotificationsConfiguration != null && {
191
177
  NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
192
178
  }),
193
- ...(input.PrimaryMeetingId !== undefined &&
194
- input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId }),
195
- ...(input.TenantIds !== undefined &&
196
- input.TenantIds !== null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
179
+ ...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
180
+ ...(input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
197
181
  });
198
182
  return new protocol_http_1.HttpRequest({
199
183
  protocol,
@@ -385,8 +369,7 @@ const serializeAws_restJson1StartMeetingTranscriptionCommand = async (input, con
385
369
  };
386
370
  let body;
387
371
  body = JSON.stringify({
388
- ...(input.TranscriptionConfiguration !== undefined &&
389
- input.TranscriptionConfiguration !== null && {
372
+ ...(input.TranscriptionConfiguration != null && {
390
373
  TranscriptionConfiguration: serializeAws_restJson1TranscriptionConfiguration(input.TranscriptionConfiguration, context),
391
374
  }),
392
375
  });
@@ -461,8 +444,7 @@ const serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = async (input, co
461
444
  }
462
445
  let body;
463
446
  body = JSON.stringify({
464
- ...(input.Capabilities !== undefined &&
465
- input.Capabilities !== null && {
447
+ ...(input.Capabilities != null && {
466
448
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
467
449
  }),
468
450
  });
@@ -1401,14 +1383,14 @@ const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (pars
1401
1383
  };
1402
1384
  const serializeAws_restJson1AttendeeCapabilities = (input, context) => {
1403
1385
  return {
1404
- ...(input.Audio !== undefined && input.Audio !== null && { Audio: input.Audio }),
1405
- ...(input.Content !== undefined && input.Content !== null && { Content: input.Content }),
1406
- ...(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 }),
1407
1389
  };
1408
1390
  };
1409
1391
  const serializeAws_restJson1AttendeeIdItem = (input, context) => {
1410
1392
  return {
1411
- ...(input.AttendeeId !== undefined && input.AttendeeId !== null && { AttendeeId: input.AttendeeId }),
1393
+ ...(input.AttendeeId != null && { AttendeeId: input.AttendeeId }),
1412
1394
  };
1413
1395
  };
1414
1396
  const serializeAws_restJson1AttendeeIdsList = (input, context) => {
@@ -1423,17 +1405,15 @@ const serializeAws_restJson1AttendeeIdsList = (input, context) => {
1423
1405
  };
1424
1406
  const serializeAws_restJson1AudioFeatures = (input, context) => {
1425
1407
  return {
1426
- ...(input.EchoReduction !== undefined && input.EchoReduction !== null && { EchoReduction: input.EchoReduction }),
1408
+ ...(input.EchoReduction != null && { EchoReduction: input.EchoReduction }),
1427
1409
  };
1428
1410
  };
1429
1411
  const serializeAws_restJson1CreateAttendeeRequestItem = (input, context) => {
1430
1412
  return {
1431
- ...(input.Capabilities !== undefined &&
1432
- input.Capabilities !== null && {
1413
+ ...(input.Capabilities != null && {
1433
1414
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
1434
1415
  }),
1435
- ...(input.ExternalUserId !== undefined &&
1436
- input.ExternalUserId !== null && { ExternalUserId: input.ExternalUserId }),
1416
+ ...(input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId }),
1437
1417
  };
1438
1418
  };
1439
1419
  const serializeAws_restJson1CreateAttendeeRequestItemList = (input, context) => {
@@ -1458,60 +1438,44 @@ const serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList = (input,
1458
1438
  };
1459
1439
  const serializeAws_restJson1EngineTranscribeMedicalSettings = (input, context) => {
1460
1440
  return {
1461
- ...(input.ContentIdentificationType !== undefined &&
1462
- input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType }),
1463
- ...(input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode }),
1464
- ...(input.Region !== undefined && input.Region !== null && { Region: input.Region }),
1465
- ...(input.Specialty !== undefined && input.Specialty !== null && { Specialty: input.Specialty }),
1466
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
1467
- ...(input.VocabularyName !== undefined &&
1468
- 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 }),
1469
1447
  };
1470
1448
  };
1471
1449
  const serializeAws_restJson1EngineTranscribeSettings = (input, context) => {
1472
1450
  return {
1473
- ...(input.ContentIdentificationType !== undefined &&
1474
- input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType }),
1475
- ...(input.ContentRedactionType !== undefined &&
1476
- input.ContentRedactionType !== null && { ContentRedactionType: input.ContentRedactionType }),
1477
- ...(input.EnablePartialResultsStabilization !== undefined &&
1478
- input.EnablePartialResultsStabilization !== null && {
1451
+ ...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
1452
+ ...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
1453
+ ...(input.EnablePartialResultsStabilization != null && {
1479
1454
  EnablePartialResultsStabilization: input.EnablePartialResultsStabilization,
1480
1455
  }),
1481
- ...(input.IdentifyLanguage !== undefined &&
1482
- input.IdentifyLanguage !== null && { IdentifyLanguage: input.IdentifyLanguage }),
1483
- ...(input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode }),
1484
- ...(input.LanguageModelName !== undefined &&
1485
- input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName }),
1486
- ...(input.LanguageOptions !== undefined &&
1487
- input.LanguageOptions !== null && { LanguageOptions: input.LanguageOptions }),
1488
- ...(input.PartialResultsStability !== undefined &&
1489
- input.PartialResultsStability !== null && { PartialResultsStability: input.PartialResultsStability }),
1490
- ...(input.PiiEntityTypes !== undefined &&
1491
- input.PiiEntityTypes !== null && { PiiEntityTypes: input.PiiEntityTypes }),
1492
- ...(input.PreferredLanguage !== undefined &&
1493
- input.PreferredLanguage !== null && { PreferredLanguage: input.PreferredLanguage }),
1494
- ...(input.Region !== undefined && input.Region !== null && { Region: input.Region }),
1495
- ...(input.VocabularyFilterMethod !== undefined &&
1496
- input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
1497
- ...(input.VocabularyFilterName !== undefined &&
1498
- input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }),
1499
- ...(input.VocabularyName !== undefined &&
1500
- 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 }),
1501
1467
  };
1502
1468
  };
1503
1469
  const serializeAws_restJson1MeetingFeaturesConfiguration = (input, context) => {
1504
1470
  return {
1505
- ...(input.Audio !== undefined &&
1506
- input.Audio !== null && { Audio: serializeAws_restJson1AudioFeatures(input.Audio, context) }),
1471
+ ...(input.Audio != null && { Audio: serializeAws_restJson1AudioFeatures(input.Audio, context) }),
1507
1472
  };
1508
1473
  };
1509
1474
  const serializeAws_restJson1NotificationsConfiguration = (input, context) => {
1510
1475
  return {
1511
- ...(input.LambdaFunctionArn !== undefined &&
1512
- input.LambdaFunctionArn !== null && { LambdaFunctionArn: input.LambdaFunctionArn }),
1513
- ...(input.SnsTopicArn !== undefined && input.SnsTopicArn !== null && { SnsTopicArn: input.SnsTopicArn }),
1514
- ...(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 }),
1515
1479
  };
1516
1480
  };
1517
1481
  const serializeAws_restJson1TenantIdList = (input, context) => {
@@ -1526,12 +1490,10 @@ const serializeAws_restJson1TenantIdList = (input, context) => {
1526
1490
  };
1527
1491
  const serializeAws_restJson1TranscriptionConfiguration = (input, context) => {
1528
1492
  return {
1529
- ...(input.EngineTranscribeMedicalSettings !== undefined &&
1530
- input.EngineTranscribeMedicalSettings !== null && {
1493
+ ...(input.EngineTranscribeMedicalSettings != null && {
1531
1494
  EngineTranscribeMedicalSettings: serializeAws_restJson1EngineTranscribeMedicalSettings(input.EngineTranscribeMedicalSettings, context),
1532
1495
  }),
1533
- ...(input.EngineTranscribeSettings !== undefined &&
1534
- input.EngineTranscribeSettings !== null && {
1496
+ ...(input.EngineTranscribeSettings != null && {
1535
1497
  EngineTranscribeSettings: serializeAws_restJson1EngineTranscribeSettings(input.EngineTranscribeSettings, context),
1536
1498
  }),
1537
1499
  };
@@ -1539,7 +1501,7 @@ const serializeAws_restJson1TranscriptionConfiguration = (input, context) => {
1539
1501
  const deserializeAws_restJson1Attendee = (output, context) => {
1540
1502
  return {
1541
1503
  AttendeeId: (0, smithy_client_1.expectString)(output.AttendeeId),
1542
- Capabilities: output.Capabilities !== undefined && output.Capabilities !== null
1504
+ Capabilities: output.Capabilities != null
1543
1505
  ? deserializeAws_restJson1AttendeeCapabilities(output.Capabilities, context)
1544
1506
  : undefined,
1545
1507
  ExternalUserId: (0, smithy_client_1.expectString)(output.ExternalUserId),
@@ -1602,26 +1564,22 @@ const deserializeAws_restJson1MediaPlacement = (output, context) => {
1602
1564
  const deserializeAws_restJson1Meeting = (output, context) => {
1603
1565
  return {
1604
1566
  ExternalMeetingId: (0, smithy_client_1.expectString)(output.ExternalMeetingId),
1605
- MediaPlacement: output.MediaPlacement !== undefined && output.MediaPlacement !== null
1567
+ MediaPlacement: output.MediaPlacement != null
1606
1568
  ? deserializeAws_restJson1MediaPlacement(output.MediaPlacement, context)
1607
1569
  : undefined,
1608
1570
  MediaRegion: (0, smithy_client_1.expectString)(output.MediaRegion),
1609
- MeetingFeatures: output.MeetingFeatures !== undefined && output.MeetingFeatures !== null
1571
+ MeetingFeatures: output.MeetingFeatures != null
1610
1572
  ? deserializeAws_restJson1MeetingFeaturesConfiguration(output.MeetingFeatures, context)
1611
1573
  : undefined,
1612
1574
  MeetingHostId: (0, smithy_client_1.expectString)(output.MeetingHostId),
1613
1575
  MeetingId: (0, smithy_client_1.expectString)(output.MeetingId),
1614
1576
  PrimaryMeetingId: (0, smithy_client_1.expectString)(output.PrimaryMeetingId),
1615
- TenantIds: output.TenantIds !== undefined && output.TenantIds !== null
1616
- ? deserializeAws_restJson1TenantIdList(output.TenantIds, context)
1617
- : undefined,
1577
+ TenantIds: output.TenantIds != null ? deserializeAws_restJson1TenantIdList(output.TenantIds, context) : undefined,
1618
1578
  };
1619
1579
  };
1620
1580
  const deserializeAws_restJson1MeetingFeaturesConfiguration = (output, context) => {
1621
1581
  return {
1622
- Audio: output.Audio !== undefined && output.Audio !== null
1623
- ? deserializeAws_restJson1AudioFeatures(output.Audio, context)
1624
- : undefined,
1582
+ Audio: output.Audio != null ? deserializeAws_restJson1AudioFeatures(output.Audio, context) : undefined,
1625
1583
  };
1626
1584
  };
1627
1585
  const deserializeAws_restJson1TenantIdList = (output, context) => {
@@ -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,16 +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(__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 })), (input.TenantIds !== undefined &&
152
- input.TenantIds !== null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) })));
142
+ })), (input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId })), (input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) })));
153
143
  return [2, new __HttpRequest({
154
144
  protocol: protocol,
155
145
  hostname: hostname,
@@ -177,19 +167,13 @@ export var serializeAws_restJson1CreateMeetingWithAttendeesCommand = function (i
177
167
  query = {
178
168
  operation: "create-attendees",
179
169
  };
180
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attendees !== undefined &&
181
- input.Attendees !== null && {
170
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attendees != null && {
182
171
  Attendees: serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList(input.Attendees, context),
183
- })), { ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.ExternalMeetingId !== undefined &&
184
- input.ExternalMeetingId !== null && { ExternalMeetingId: input.ExternalMeetingId })), (input.MediaRegion !== undefined && input.MediaRegion !== null && { MediaRegion: input.MediaRegion })), (input.MeetingFeatures !== undefined &&
185
- 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 && {
186
173
  MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
187
- })), (input.MeetingHostId !== undefined && input.MeetingHostId !== null && { MeetingHostId: input.MeetingHostId })), (input.NotificationsConfiguration !== undefined &&
188
- input.NotificationsConfiguration !== null && {
174
+ })), (input.MeetingHostId != null && { MeetingHostId: input.MeetingHostId })), (input.NotificationsConfiguration != null && {
189
175
  NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
190
- })), (input.PrimaryMeetingId !== undefined &&
191
- input.PrimaryMeetingId !== null && { PrimaryMeetingId: input.PrimaryMeetingId })), (input.TenantIds !== undefined &&
192
- input.TenantIds !== null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) })));
176
+ })), (input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId })), (input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) })));
193
177
  return [2, new __HttpRequest({
194
178
  protocol: protocol,
195
179
  hostname: hostname,
@@ -406,8 +390,7 @@ export var serializeAws_restJson1StartMeetingTranscriptionCommand = function (in
406
390
  query = {
407
391
  operation: "start",
408
392
  };
409
- body = JSON.stringify(__assign({}, (input.TranscriptionConfiguration !== undefined &&
410
- input.TranscriptionConfiguration !== null && {
393
+ body = JSON.stringify(__assign({}, (input.TranscriptionConfiguration != null && {
411
394
  TranscriptionConfiguration: serializeAws_restJson1TranscriptionConfiguration(input.TranscriptionConfiguration, context),
412
395
  })));
413
396
  return [2, new __HttpRequest({
@@ -490,8 +473,7 @@ export var serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = function (i
490
473
  else {
491
474
  throw new Error("No value provided for input HTTP label: AttendeeId.");
492
475
  }
493
- body = JSON.stringify(__assign({}, (input.Capabilities !== undefined &&
494
- input.Capabilities !== null && {
476
+ body = JSON.stringify(__assign({}, (input.Capabilities != null && {
495
477
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
496
478
  })));
497
479
  return [2, new __HttpRequest({
@@ -1749,10 +1731,10 @@ var deserializeAws_restJson1UnprocessableEntityExceptionResponse = function (par
1749
1731
  });
1750
1732
  }); };
1751
1733
  var serializeAws_restJson1AttendeeCapabilities = function (input, context) {
1752
- 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 }));
1753
1735
  };
1754
1736
  var serializeAws_restJson1AttendeeIdItem = function (input, context) {
1755
- return __assign({}, (input.AttendeeId !== undefined && input.AttendeeId !== null && { AttendeeId: input.AttendeeId }));
1737
+ return __assign({}, (input.AttendeeId != null && { AttendeeId: input.AttendeeId }));
1756
1738
  };
1757
1739
  var serializeAws_restJson1AttendeeIdsList = function (input, context) {
1758
1740
  return input
@@ -1765,14 +1747,12 @@ var serializeAws_restJson1AttendeeIdsList = function (input, context) {
1765
1747
  });
1766
1748
  };
1767
1749
  var serializeAws_restJson1AudioFeatures = function (input, context) {
1768
- return __assign({}, (input.EchoReduction !== undefined && input.EchoReduction !== null && { EchoReduction: input.EchoReduction }));
1750
+ return __assign({}, (input.EchoReduction != null && { EchoReduction: input.EchoReduction }));
1769
1751
  };
1770
1752
  var serializeAws_restJson1CreateAttendeeRequestItem = function (input, context) {
1771
- return __assign(__assign({}, (input.Capabilities !== undefined &&
1772
- input.Capabilities !== null && {
1753
+ return __assign(__assign({}, (input.Capabilities != null && {
1773
1754
  Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
1774
- })), (input.ExternalUserId !== undefined &&
1775
- input.ExternalUserId !== null && { ExternalUserId: input.ExternalUserId }));
1755
+ })), (input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId }));
1776
1756
  };
1777
1757
  var serializeAws_restJson1CreateAttendeeRequestItemList = function (input, context) {
1778
1758
  return input
@@ -1795,34 +1775,18 @@ var serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList = function (
1795
1775
  });
1796
1776
  };
1797
1777
  var serializeAws_restJson1EngineTranscribeMedicalSettings = function (input, context) {
1798
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType !== undefined &&
1799
- 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 &&
1800
- 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 }));
1801
1779
  };
1802
1780
  var serializeAws_restJson1EngineTranscribeSettings = function (input, context) {
1803
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType !== undefined &&
1804
- input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType })), (input.ContentRedactionType !== undefined &&
1805
- input.ContentRedactionType !== null && { ContentRedactionType: input.ContentRedactionType })), (input.EnablePartialResultsStabilization !== undefined &&
1806
- 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 && {
1807
1782
  EnablePartialResultsStabilization: input.EnablePartialResultsStabilization,
1808
- })), (input.IdentifyLanguage !== undefined &&
1809
- input.IdentifyLanguage !== null && { IdentifyLanguage: input.IdentifyLanguage })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode })), (input.LanguageModelName !== undefined &&
1810
- input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName })), (input.LanguageOptions !== undefined &&
1811
- input.LanguageOptions !== null && { LanguageOptions: input.LanguageOptions })), (input.PartialResultsStability !== undefined &&
1812
- input.PartialResultsStability !== null && { PartialResultsStability: input.PartialResultsStability })), (input.PiiEntityTypes !== undefined &&
1813
- input.PiiEntityTypes !== null && { PiiEntityTypes: input.PiiEntityTypes })), (input.PreferredLanguage !== undefined &&
1814
- input.PreferredLanguage !== null && { PreferredLanguage: input.PreferredLanguage })), (input.Region !== undefined && input.Region !== null && { Region: input.Region })), (input.VocabularyFilterMethod !== undefined &&
1815
- input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName !== undefined &&
1816
- input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName !== undefined &&
1817
- 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 }));
1818
1784
  };
1819
1785
  var serializeAws_restJson1MeetingFeaturesConfiguration = function (input, context) {
1820
- return __assign({}, (input.Audio !== undefined &&
1821
- input.Audio !== null && { Audio: serializeAws_restJson1AudioFeatures(input.Audio, context) }));
1786
+ return __assign({}, (input.Audio != null && { Audio: serializeAws_restJson1AudioFeatures(input.Audio, context) }));
1822
1787
  };
1823
1788
  var serializeAws_restJson1NotificationsConfiguration = function (input, context) {
1824
- return __assign(__assign(__assign({}, (input.LambdaFunctionArn !== undefined &&
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 }));
1789
+ return __assign(__assign(__assign({}, (input.LambdaFunctionArn != null && { LambdaFunctionArn: input.LambdaFunctionArn })), (input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn })), (input.SqsQueueArn != null && { SqsQueueArn: input.SqsQueueArn }));
1826
1790
  };
1827
1791
  var serializeAws_restJson1TenantIdList = function (input, context) {
1828
1792
  return input
@@ -1835,18 +1799,16 @@ var serializeAws_restJson1TenantIdList = function (input, context) {
1835
1799
  });
1836
1800
  };
1837
1801
  var serializeAws_restJson1TranscriptionConfiguration = function (input, context) {
1838
- return __assign(__assign({}, (input.EngineTranscribeMedicalSettings !== undefined &&
1839
- input.EngineTranscribeMedicalSettings !== null && {
1802
+ return __assign(__assign({}, (input.EngineTranscribeMedicalSettings != null && {
1840
1803
  EngineTranscribeMedicalSettings: serializeAws_restJson1EngineTranscribeMedicalSettings(input.EngineTranscribeMedicalSettings, context),
1841
- })), (input.EngineTranscribeSettings !== undefined &&
1842
- input.EngineTranscribeSettings !== null && {
1804
+ })), (input.EngineTranscribeSettings != null && {
1843
1805
  EngineTranscribeSettings: serializeAws_restJson1EngineTranscribeSettings(input.EngineTranscribeSettings, context),
1844
1806
  }));
1845
1807
  };
1846
1808
  var deserializeAws_restJson1Attendee = function (output, context) {
1847
1809
  return {
1848
1810
  AttendeeId: __expectString(output.AttendeeId),
1849
- Capabilities: output.Capabilities !== undefined && output.Capabilities !== null
1811
+ Capabilities: output.Capabilities != null
1850
1812
  ? deserializeAws_restJson1AttendeeCapabilities(output.Capabilities, context)
1851
1813
  : undefined,
1852
1814
  ExternalUserId: __expectString(output.ExternalUserId),
@@ -1909,26 +1871,22 @@ var deserializeAws_restJson1MediaPlacement = function (output, context) {
1909
1871
  var deserializeAws_restJson1Meeting = function (output, context) {
1910
1872
  return {
1911
1873
  ExternalMeetingId: __expectString(output.ExternalMeetingId),
1912
- MediaPlacement: output.MediaPlacement !== undefined && output.MediaPlacement !== null
1874
+ MediaPlacement: output.MediaPlacement != null
1913
1875
  ? deserializeAws_restJson1MediaPlacement(output.MediaPlacement, context)
1914
1876
  : undefined,
1915
1877
  MediaRegion: __expectString(output.MediaRegion),
1916
- MeetingFeatures: output.MeetingFeatures !== undefined && output.MeetingFeatures !== null
1878
+ MeetingFeatures: output.MeetingFeatures != null
1917
1879
  ? deserializeAws_restJson1MeetingFeaturesConfiguration(output.MeetingFeatures, context)
1918
1880
  : undefined,
1919
1881
  MeetingHostId: __expectString(output.MeetingHostId),
1920
1882
  MeetingId: __expectString(output.MeetingId),
1921
1883
  PrimaryMeetingId: __expectString(output.PrimaryMeetingId),
1922
- TenantIds: output.TenantIds !== undefined && output.TenantIds !== null
1923
- ? deserializeAws_restJson1TenantIdList(output.TenantIds, context)
1924
- : undefined,
1884
+ TenantIds: output.TenantIds != null ? deserializeAws_restJson1TenantIdList(output.TenantIds, context) : undefined,
1925
1885
  };
1926
1886
  };
1927
1887
  var deserializeAws_restJson1MeetingFeaturesConfiguration = function (output, context) {
1928
1888
  return {
1929
- Audio: output.Audio !== undefined && output.Audio !== null
1930
- ? deserializeAws_restJson1AudioFeatures(output.Audio, context)
1931
- : undefined,
1889
+ Audio: output.Audio != null ? deserializeAws_restJson1AudioFeatures(output.Audio, context) : undefined,
1932
1890
  };
1933
1891
  };
1934
1892
  var deserializeAws_restJson1TenantIdList = function (output, context) {
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.125.0",
4
+ "version": "3.127.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.127.0",
22
+ "@aws-sdk/config-resolver": "3.127.0",
23
+ "@aws-sdk/credential-provider-node": "3.127.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.127.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.127.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",