@aws-sdk/client-chime-sdk-meetings 3.42.0 → 3.47.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,51 @@
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.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
23
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
24
+
25
+
26
+
27
+
28
+
29
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
30
+
31
+
32
+ ### Features
33
+
34
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
35
+
36
+
37
+
38
+
39
+
40
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
41
+
42
+
43
+ ### Features
44
+
45
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
46
+
47
+
48
+
49
+
50
+
6
51
  # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
7
52
 
8
53
  **Note:** Version bump only for package @aws-sdk/client-chime-sdk-meetings
@@ -2,7 +2,24 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {};
5
+ const regionHash = {
6
+ "us-east-1": {
7
+ variants: [
8
+ {
9
+ hostname: "meetings-chime-fips.us-east-1.amazonaws.com",
10
+ tags: ["fips"],
11
+ },
12
+ ],
13
+ },
14
+ "us-west-2": {
15
+ variants: [
16
+ {
17
+ hostname: "meetings-chime-fips.us-west-2.amazonaws.com",
18
+ tags: ["fips"],
19
+ },
20
+ ],
21
+ },
22
+ };
6
23
  const partitionHash = {
7
24
  aws: {
8
25
  regions: [
@@ -14,6 +31,7 @@ const partitionHash = {
14
31
  "ap-south-1",
15
32
  "ap-southeast-1",
16
33
  "ap-southeast-2",
34
+ "ap-southeast-3",
17
35
  "ca-central-1",
18
36
  "eu-central-1",
19
37
  "eu-north-1",
@@ -24,9 +42,11 @@ const partitionHash = {
24
42
  "me-south-1",
25
43
  "sa-east-1",
26
44
  "us-east-1",
45
+ "us-east-1-fips",
27
46
  "us-east-2",
28
47
  "us-west-1",
29
48
  "us-west-2",
49
+ "us-west-2-fips",
30
50
  ],
31
51
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
32
52
  variants: [
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StopMeetingTranscriptionRequest = exports.StartMeetingTranscriptionRequest = exports.TranscriptionConfiguration = exports.EngineTranscribeSettings = exports.TranscribeVocabularyFilterMethod = exports.TranscribeRegion = exports.TranscribeLanguageCode = exports.EngineTranscribeMedicalSettings = exports.TranscribeMedicalType = exports.TranscribeMedicalSpecialty = exports.TranscribeMedicalRegion = exports.TranscribeMedicalLanguageCode = exports.ListAttendeesResponse = exports.ListAttendeesRequest = exports.GetMeetingResponse = exports.GetMeetingRequest = exports.GetAttendeeResponse = exports.GetAttendeeRequest = exports.DeleteMeetingRequest = exports.DeleteAttendeeRequest = exports.CreateMeetingWithAttendeesResponse = exports.CreateMeetingWithAttendeesRequest = exports.CreateMeetingResponse = exports.Meeting = exports.MediaPlacement = exports.CreateMeetingRequest = exports.NotificationsConfiguration = exports.UnprocessableEntityException = exports.CreateAttendeeResponse = exports.CreateAttendeeRequest = exports.UnauthorizedException = exports.ServiceUnavailableException = exports.NotFoundException = exports.LimitExceededException = exports.ForbiddenException = exports.BatchCreateAttendeeResponse = exports.CreateAttendeeError = exports.BatchCreateAttendeeRequest = exports.CreateAttendeeRequestItem = exports.BadRequestException = exports.Attendee = void 0;
3
+ exports.StopMeetingTranscriptionRequest = exports.StartMeetingTranscriptionRequest = exports.TranscriptionConfiguration = exports.EngineTranscribeSettings = exports.TranscribeVocabularyFilterMethod = exports.TranscribeRegion = exports.TranscribePartialResultsStability = exports.TranscribeLanguageCode = exports.TranscribeContentRedactionType = exports.TranscribeContentIdentificationType = exports.EngineTranscribeMedicalSettings = exports.TranscribeMedicalType = exports.TranscribeMedicalSpecialty = exports.TranscribeMedicalRegion = exports.TranscribeMedicalLanguageCode = exports.TranscribeMedicalContentIdentificationType = exports.ListAttendeesResponse = exports.ListAttendeesRequest = exports.GetMeetingResponse = exports.GetMeetingRequest = exports.GetAttendeeResponse = exports.GetAttendeeRequest = exports.DeleteMeetingRequest = exports.DeleteAttendeeRequest = exports.CreateMeetingWithAttendeesResponse = exports.CreateMeetingWithAttendeesRequest = exports.CreateMeetingResponse = exports.Meeting = exports.MediaPlacement = exports.CreateMeetingRequest = exports.NotificationsConfiguration = exports.MeetingFeaturesConfiguration = exports.CreateAttendeeResponse = exports.CreateAttendeeRequest = exports.BatchCreateAttendeeResponse = exports.CreateAttendeeError = exports.BatchCreateAttendeeRequest = exports.CreateAttendeeRequestItem = exports.AudioFeatures = exports.MeetingFeatureStatus = exports.Attendee = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  var Attendee;
6
6
  (function (Attendee) {
@@ -10,12 +10,17 @@ var Attendee;
10
10
  ...(obj.JoinToken && { JoinToken: smithy_client_1.SENSITIVE_STRING }),
11
11
  });
12
12
  })(Attendee = exports.Attendee || (exports.Attendee = {}));
13
- var BadRequestException;
14
- (function (BadRequestException) {
15
- BadRequestException.filterSensitiveLog = (obj) => ({
13
+ var MeetingFeatureStatus;
14
+ (function (MeetingFeatureStatus) {
15
+ MeetingFeatureStatus["AVAILABLE"] = "AVAILABLE";
16
+ MeetingFeatureStatus["UNAVAILABLE"] = "UNAVAILABLE";
17
+ })(MeetingFeatureStatus = exports.MeetingFeatureStatus || (exports.MeetingFeatureStatus = {}));
18
+ var AudioFeatures;
19
+ (function (AudioFeatures) {
20
+ AudioFeatures.filterSensitiveLog = (obj) => ({
16
21
  ...obj,
17
22
  });
18
- })(BadRequestException = exports.BadRequestException || (exports.BadRequestException = {}));
23
+ })(AudioFeatures = exports.AudioFeatures || (exports.AudioFeatures = {}));
19
24
  var CreateAttendeeRequestItem;
20
25
  (function (CreateAttendeeRequestItem) {
21
26
  CreateAttendeeRequestItem.filterSensitiveLog = (obj) => ({
@@ -47,36 +52,6 @@ var BatchCreateAttendeeResponse;
47
52
  ...(obj.Errors && { Errors: obj.Errors.map((item) => CreateAttendeeError.filterSensitiveLog(item)) }),
48
53
  });
49
54
  })(BatchCreateAttendeeResponse = exports.BatchCreateAttendeeResponse || (exports.BatchCreateAttendeeResponse = {}));
50
- var ForbiddenException;
51
- (function (ForbiddenException) {
52
- ForbiddenException.filterSensitiveLog = (obj) => ({
53
- ...obj,
54
- });
55
- })(ForbiddenException = exports.ForbiddenException || (exports.ForbiddenException = {}));
56
- var LimitExceededException;
57
- (function (LimitExceededException) {
58
- LimitExceededException.filterSensitiveLog = (obj) => ({
59
- ...obj,
60
- });
61
- })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
62
- var NotFoundException;
63
- (function (NotFoundException) {
64
- NotFoundException.filterSensitiveLog = (obj) => ({
65
- ...obj,
66
- });
67
- })(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
68
- var ServiceUnavailableException;
69
- (function (ServiceUnavailableException) {
70
- ServiceUnavailableException.filterSensitiveLog = (obj) => ({
71
- ...obj,
72
- });
73
- })(ServiceUnavailableException = exports.ServiceUnavailableException || (exports.ServiceUnavailableException = {}));
74
- var UnauthorizedException;
75
- (function (UnauthorizedException) {
76
- UnauthorizedException.filterSensitiveLog = (obj) => ({
77
- ...obj,
78
- });
79
- })(UnauthorizedException = exports.UnauthorizedException || (exports.UnauthorizedException = {}));
80
55
  var CreateAttendeeRequest;
81
56
  (function (CreateAttendeeRequest) {
82
57
  CreateAttendeeRequest.filterSensitiveLog = (obj) => ({
@@ -91,12 +66,12 @@ var CreateAttendeeResponse;
91
66
  ...(obj.Attendee && { Attendee: Attendee.filterSensitiveLog(obj.Attendee) }),
92
67
  });
93
68
  })(CreateAttendeeResponse = exports.CreateAttendeeResponse || (exports.CreateAttendeeResponse = {}));
94
- var UnprocessableEntityException;
95
- (function (UnprocessableEntityException) {
96
- UnprocessableEntityException.filterSensitiveLog = (obj) => ({
69
+ var MeetingFeaturesConfiguration;
70
+ (function (MeetingFeaturesConfiguration) {
71
+ MeetingFeaturesConfiguration.filterSensitiveLog = (obj) => ({
97
72
  ...obj,
98
73
  });
99
- })(UnprocessableEntityException = exports.UnprocessableEntityException || (exports.UnprocessableEntityException = {}));
74
+ })(MeetingFeaturesConfiguration = exports.MeetingFeaturesConfiguration || (exports.MeetingFeaturesConfiguration = {}));
100
75
  var NotificationsConfiguration;
101
76
  (function (NotificationsConfiguration) {
102
77
  NotificationsConfiguration.filterSensitiveLog = (obj) => ({
@@ -214,6 +189,10 @@ var ListAttendeesResponse;
214
189
  ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => Attendee.filterSensitiveLog(item)) }),
215
190
  });
216
191
  })(ListAttendeesResponse = exports.ListAttendeesResponse || (exports.ListAttendeesResponse = {}));
192
+ var TranscribeMedicalContentIdentificationType;
193
+ (function (TranscribeMedicalContentIdentificationType) {
194
+ TranscribeMedicalContentIdentificationType["PHI"] = "PHI";
195
+ })(TranscribeMedicalContentIdentificationType = exports.TranscribeMedicalContentIdentificationType || (exports.TranscribeMedicalContentIdentificationType = {}));
217
196
  var TranscribeMedicalLanguageCode;
218
197
  (function (TranscribeMedicalLanguageCode) {
219
198
  TranscribeMedicalLanguageCode["EN_US"] = "en-US";
@@ -248,6 +227,14 @@ var EngineTranscribeMedicalSettings;
248
227
  ...obj,
249
228
  });
250
229
  })(EngineTranscribeMedicalSettings = exports.EngineTranscribeMedicalSettings || (exports.EngineTranscribeMedicalSettings = {}));
230
+ var TranscribeContentIdentificationType;
231
+ (function (TranscribeContentIdentificationType) {
232
+ TranscribeContentIdentificationType["PII"] = "PII";
233
+ })(TranscribeContentIdentificationType = exports.TranscribeContentIdentificationType || (exports.TranscribeContentIdentificationType = {}));
234
+ var TranscribeContentRedactionType;
235
+ (function (TranscribeContentRedactionType) {
236
+ TranscribeContentRedactionType["PII"] = "PII";
237
+ })(TranscribeContentRedactionType = exports.TranscribeContentRedactionType || (exports.TranscribeContentRedactionType = {}));
251
238
  var TranscribeLanguageCode;
252
239
  (function (TranscribeLanguageCode) {
253
240
  TranscribeLanguageCode["DE_DE"] = "de-DE";
@@ -263,6 +250,12 @@ var TranscribeLanguageCode;
263
250
  TranscribeLanguageCode["PT_BR"] = "pt-BR";
264
251
  TranscribeLanguageCode["ZH_CN"] = "zh-CN";
265
252
  })(TranscribeLanguageCode = exports.TranscribeLanguageCode || (exports.TranscribeLanguageCode = {}));
253
+ var TranscribePartialResultsStability;
254
+ (function (TranscribePartialResultsStability) {
255
+ TranscribePartialResultsStability["HIGH"] = "high";
256
+ TranscribePartialResultsStability["LOW"] = "low";
257
+ TranscribePartialResultsStability["MEDIUM"] = "medium";
258
+ })(TranscribePartialResultsStability = exports.TranscribePartialResultsStability || (exports.TranscribePartialResultsStability = {}));
266
259
  var TranscribeRegion;
267
260
  (function (TranscribeRegion) {
268
261
  TranscribeRegion["AP_NORTHEAST_1"] = "ap-northeast-1";
@@ -87,6 +87,10 @@ const serializeAws_restJson1CreateMeetingCommand = async (input, context) => {
87
87
  ...(input.ExternalMeetingId !== undefined &&
88
88
  input.ExternalMeetingId !== null && { ExternalMeetingId: input.ExternalMeetingId }),
89
89
  ...(input.MediaRegion !== undefined && input.MediaRegion !== null && { MediaRegion: input.MediaRegion }),
90
+ ...(input.MeetingFeatures !== undefined &&
91
+ input.MeetingFeatures !== null && {
92
+ MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
93
+ }),
90
94
  ...(input.MeetingHostId !== undefined && input.MeetingHostId !== null && { MeetingHostId: input.MeetingHostId }),
91
95
  ...(input.NotificationsConfiguration !== undefined &&
92
96
  input.NotificationsConfiguration !== null && {
@@ -124,6 +128,10 @@ const serializeAws_restJson1CreateMeetingWithAttendeesCommand = async (input, co
124
128
  ...(input.ExternalMeetingId !== undefined &&
125
129
  input.ExternalMeetingId !== null && { ExternalMeetingId: input.ExternalMeetingId }),
126
130
  ...(input.MediaRegion !== undefined && input.MediaRegion !== null && { MediaRegion: input.MediaRegion }),
131
+ ...(input.MeetingFeatures !== undefined &&
132
+ input.MeetingFeatures !== null && {
133
+ MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
134
+ }),
127
135
  ...(input.MeetingHostId !== undefined && input.MeetingHostId !== null && { MeetingHostId: input.MeetingHostId }),
128
136
  ...(input.NotificationsConfiguration !== undefined &&
129
137
  input.NotificationsConfiguration !== null && {
@@ -1334,6 +1342,11 @@ const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (pars
1334
1342
  }
1335
1343
  return contents;
1336
1344
  };
1345
+ const serializeAws_restJson1AudioFeatures = (input, context) => {
1346
+ return {
1347
+ ...(input.EchoReduction !== undefined && input.EchoReduction !== null && { EchoReduction: input.EchoReduction }),
1348
+ };
1349
+ };
1337
1350
  const serializeAws_restJson1CreateAttendeeRequestItem = (input, context) => {
1338
1351
  return {
1339
1352
  ...(input.ExternalUserId !== undefined &&
@@ -1362,6 +1375,8 @@ const serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList = (input,
1362
1375
  };
1363
1376
  const serializeAws_restJson1EngineTranscribeMedicalSettings = (input, context) => {
1364
1377
  return {
1378
+ ...(input.ContentIdentificationType !== undefined &&
1379
+ input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType }),
1365
1380
  ...(input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode }),
1366
1381
  ...(input.Region !== undefined && input.Region !== null && { Region: input.Region }),
1367
1382
  ...(input.Specialty !== undefined && input.Specialty !== null && { Specialty: input.Specialty }),
@@ -1372,7 +1387,21 @@ const serializeAws_restJson1EngineTranscribeMedicalSettings = (input, context) =
1372
1387
  };
1373
1388
  const serializeAws_restJson1EngineTranscribeSettings = (input, context) => {
1374
1389
  return {
1390
+ ...(input.ContentIdentificationType !== undefined &&
1391
+ input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType }),
1392
+ ...(input.ContentRedactionType !== undefined &&
1393
+ input.ContentRedactionType !== null && { ContentRedactionType: input.ContentRedactionType }),
1394
+ ...(input.EnablePartialResultsStabilization !== undefined &&
1395
+ input.EnablePartialResultsStabilization !== null && {
1396
+ EnablePartialResultsStabilization: input.EnablePartialResultsStabilization,
1397
+ }),
1375
1398
  ...(input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode }),
1399
+ ...(input.LanguageModelName !== undefined &&
1400
+ input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName }),
1401
+ ...(input.PartialResultsStability !== undefined &&
1402
+ input.PartialResultsStability !== null && { PartialResultsStability: input.PartialResultsStability }),
1403
+ ...(input.PiiEntityTypes !== undefined &&
1404
+ input.PiiEntityTypes !== null && { PiiEntityTypes: input.PiiEntityTypes }),
1376
1405
  ...(input.Region !== undefined && input.Region !== null && { Region: input.Region }),
1377
1406
  ...(input.VocabularyFilterMethod !== undefined &&
1378
1407
  input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
@@ -1382,6 +1411,12 @@ const serializeAws_restJson1EngineTranscribeSettings = (input, context) => {
1382
1411
  input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
1383
1412
  };
1384
1413
  };
1414
+ const serializeAws_restJson1MeetingFeaturesConfiguration = (input, context) => {
1415
+ return {
1416
+ ...(input.Audio !== undefined &&
1417
+ input.Audio !== null && { Audio: serializeAws_restJson1AudioFeatures(input.Audio, context) }),
1418
+ };
1419
+ };
1385
1420
  const serializeAws_restJson1NotificationsConfiguration = (input, context) => {
1386
1421
  return {
1387
1422
  ...(input.LambdaFunctionArn !== undefined &&
@@ -1419,6 +1454,11 @@ const deserializeAws_restJson1AttendeeList = (output, context) => {
1419
1454
  return deserializeAws_restJson1Attendee(entry, context);
1420
1455
  });
1421
1456
  };
1457
+ const deserializeAws_restJson1AudioFeatures = (output, context) => {
1458
+ return {
1459
+ EchoReduction: smithy_client_1.expectString(output.EchoReduction),
1460
+ };
1461
+ };
1422
1462
  const deserializeAws_restJson1BatchCreateAttendeeErrorList = (output, context) => {
1423
1463
  return (output || [])
1424
1464
  .filter((e) => e != null)
@@ -1455,10 +1495,20 @@ const deserializeAws_restJson1Meeting = (output, context) => {
1455
1495
  ? deserializeAws_restJson1MediaPlacement(output.MediaPlacement, context)
1456
1496
  : undefined,
1457
1497
  MediaRegion: smithy_client_1.expectString(output.MediaRegion),
1498
+ MeetingFeatures: output.MeetingFeatures !== undefined && output.MeetingFeatures !== null
1499
+ ? deserializeAws_restJson1MeetingFeaturesConfiguration(output.MeetingFeatures, context)
1500
+ : undefined,
1458
1501
  MeetingHostId: smithy_client_1.expectString(output.MeetingHostId),
1459
1502
  MeetingId: smithy_client_1.expectString(output.MeetingId),
1460
1503
  };
1461
1504
  };
1505
+ const deserializeAws_restJson1MeetingFeaturesConfiguration = (output, context) => {
1506
+ return {
1507
+ Audio: output.Audio !== undefined && output.Audio !== null
1508
+ ? deserializeAws_restJson1AudioFeatures(output.Audio, context)
1509
+ : undefined,
1510
+ };
1511
+ };
1462
1512
  const deserializeMetadata = (output) => {
1463
1513
  var _a;
1464
1514
  return ({
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -1,6 +1,23 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {};
3
+ var regionHash = {
4
+ "us-east-1": {
5
+ variants: [
6
+ {
7
+ hostname: "meetings-chime-fips.us-east-1.amazonaws.com",
8
+ tags: ["fips"],
9
+ },
10
+ ],
11
+ },
12
+ "us-west-2": {
13
+ variants: [
14
+ {
15
+ hostname: "meetings-chime-fips.us-west-2.amazonaws.com",
16
+ tags: ["fips"],
17
+ },
18
+ ],
19
+ },
20
+ };
4
21
  var partitionHash = {
5
22
  aws: {
6
23
  regions: [
@@ -12,6 +29,7 @@ var partitionHash = {
12
29
  "ap-south-1",
13
30
  "ap-southeast-1",
14
31
  "ap-southeast-2",
32
+ "ap-southeast-3",
15
33
  "ca-central-1",
16
34
  "eu-central-1",
17
35
  "eu-north-1",
@@ -22,9 +40,11 @@ var partitionHash = {
22
40
  "me-south-1",
23
41
  "sa-east-1",
24
42
  "us-east-1",
43
+ "us-east-1-fips",
25
44
  "us-east-2",
26
45
  "us-west-1",
27
46
  "us-west-2",
47
+ "us-west-2-fips",
28
48
  ],
29
49
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
30
50
  variants: [
@@ -4,10 +4,15 @@ export var Attendee;
4
4
  (function (Attendee) {
5
5
  Attendee.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.ExternalUserId && { ExternalUserId: SENSITIVE_STRING })), (obj.JoinToken && { JoinToken: SENSITIVE_STRING }))); };
6
6
  })(Attendee || (Attendee = {}));
7
- export var BadRequestException;
8
- (function (BadRequestException) {
9
- BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
10
- })(BadRequestException || (BadRequestException = {}));
7
+ export var MeetingFeatureStatus;
8
+ (function (MeetingFeatureStatus) {
9
+ MeetingFeatureStatus["AVAILABLE"] = "AVAILABLE";
10
+ MeetingFeatureStatus["UNAVAILABLE"] = "UNAVAILABLE";
11
+ })(MeetingFeatureStatus || (MeetingFeatureStatus = {}));
12
+ export var AudioFeatures;
13
+ (function (AudioFeatures) {
14
+ AudioFeatures.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
15
+ })(AudioFeatures || (AudioFeatures = {}));
11
16
  export var CreateAttendeeRequestItem;
12
17
  (function (CreateAttendeeRequestItem) {
13
18
  CreateAttendeeRequestItem.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ExternalUserId && { ExternalUserId: SENSITIVE_STRING }))); };
@@ -26,26 +31,6 @@ export var BatchCreateAttendeeResponse;
26
31
  (function (BatchCreateAttendeeResponse) {
27
32
  BatchCreateAttendeeResponse.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Attendees && { Attendees: obj.Attendees.map(function (item) { return Attendee.filterSensitiveLog(item); }) })), (obj.Errors && { Errors: obj.Errors.map(function (item) { return CreateAttendeeError.filterSensitiveLog(item); }) }))); };
28
33
  })(BatchCreateAttendeeResponse || (BatchCreateAttendeeResponse = {}));
29
- export var ForbiddenException;
30
- (function (ForbiddenException) {
31
- ForbiddenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
32
- })(ForbiddenException || (ForbiddenException = {}));
33
- export var LimitExceededException;
34
- (function (LimitExceededException) {
35
- LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
36
- })(LimitExceededException || (LimitExceededException = {}));
37
- export var NotFoundException;
38
- (function (NotFoundException) {
39
- NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
40
- })(NotFoundException || (NotFoundException = {}));
41
- export var ServiceUnavailableException;
42
- (function (ServiceUnavailableException) {
43
- ServiceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
44
- })(ServiceUnavailableException || (ServiceUnavailableException = {}));
45
- export var UnauthorizedException;
46
- (function (UnauthorizedException) {
47
- UnauthorizedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
48
- })(UnauthorizedException || (UnauthorizedException = {}));
49
34
  export var CreateAttendeeRequest;
50
35
  (function (CreateAttendeeRequest) {
51
36
  CreateAttendeeRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ExternalUserId && { ExternalUserId: SENSITIVE_STRING }))); };
@@ -54,10 +39,10 @@ export var CreateAttendeeResponse;
54
39
  (function (CreateAttendeeResponse) {
55
40
  CreateAttendeeResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Attendee && { Attendee: Attendee.filterSensitiveLog(obj.Attendee) }))); };
56
41
  })(CreateAttendeeResponse || (CreateAttendeeResponse = {}));
57
- export var UnprocessableEntityException;
58
- (function (UnprocessableEntityException) {
59
- UnprocessableEntityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
60
- })(UnprocessableEntityException || (UnprocessableEntityException = {}));
42
+ export var MeetingFeaturesConfiguration;
43
+ (function (MeetingFeaturesConfiguration) {
44
+ MeetingFeaturesConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
45
+ })(MeetingFeaturesConfiguration || (MeetingFeaturesConfiguration = {}));
61
46
  export var NotificationsConfiguration;
62
47
  (function (NotificationsConfiguration) {
63
48
  NotificationsConfiguration.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.LambdaFunctionArn && { LambdaFunctionArn: SENSITIVE_STRING })), (obj.SnsTopicArn && { SnsTopicArn: SENSITIVE_STRING })), (obj.SqsQueueArn && { SqsQueueArn: SENSITIVE_STRING }))); };
@@ -124,6 +109,10 @@ export var ListAttendeesResponse;
124
109
  (function (ListAttendeesResponse) {
125
110
  ListAttendeesResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Attendees && { Attendees: obj.Attendees.map(function (item) { return Attendee.filterSensitiveLog(item); }) }))); };
126
111
  })(ListAttendeesResponse || (ListAttendeesResponse = {}));
112
+ export var TranscribeMedicalContentIdentificationType;
113
+ (function (TranscribeMedicalContentIdentificationType) {
114
+ TranscribeMedicalContentIdentificationType["PHI"] = "PHI";
115
+ })(TranscribeMedicalContentIdentificationType || (TranscribeMedicalContentIdentificationType = {}));
127
116
  export var TranscribeMedicalLanguageCode;
128
117
  (function (TranscribeMedicalLanguageCode) {
129
118
  TranscribeMedicalLanguageCode["EN_US"] = "en-US";
@@ -156,6 +145,14 @@ export var EngineTranscribeMedicalSettings;
156
145
  (function (EngineTranscribeMedicalSettings) {
157
146
  EngineTranscribeMedicalSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
158
147
  })(EngineTranscribeMedicalSettings || (EngineTranscribeMedicalSettings = {}));
148
+ export var TranscribeContentIdentificationType;
149
+ (function (TranscribeContentIdentificationType) {
150
+ TranscribeContentIdentificationType["PII"] = "PII";
151
+ })(TranscribeContentIdentificationType || (TranscribeContentIdentificationType = {}));
152
+ export var TranscribeContentRedactionType;
153
+ (function (TranscribeContentRedactionType) {
154
+ TranscribeContentRedactionType["PII"] = "PII";
155
+ })(TranscribeContentRedactionType || (TranscribeContentRedactionType = {}));
159
156
  export var TranscribeLanguageCode;
160
157
  (function (TranscribeLanguageCode) {
161
158
  TranscribeLanguageCode["DE_DE"] = "de-DE";
@@ -171,6 +168,12 @@ export var TranscribeLanguageCode;
171
168
  TranscribeLanguageCode["PT_BR"] = "pt-BR";
172
169
  TranscribeLanguageCode["ZH_CN"] = "zh-CN";
173
170
  })(TranscribeLanguageCode || (TranscribeLanguageCode = {}));
171
+ export var TranscribePartialResultsStability;
172
+ (function (TranscribePartialResultsStability) {
173
+ TranscribePartialResultsStability["HIGH"] = "high";
174
+ TranscribePartialResultsStability["LOW"] = "low";
175
+ TranscribePartialResultsStability["MEDIUM"] = "medium";
176
+ })(TranscribePartialResultsStability || (TranscribePartialResultsStability = {}));
174
177
  export var TranscribeRegion;
175
178
  (function (TranscribeRegion) {
176
179
  TranscribeRegion["AP_NORTHEAST_1"] = "ap-northeast-1";