@aws-sdk/client-chime 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.
Files changed (40) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +1 -2
  3. package/dist-cjs/commands/GetRetentionSettingsCommand.js +2 -1
  4. package/dist-cjs/commands/GetRoomCommand.js +3 -3
  5. package/dist-cjs/commands/GetSipMediaApplicationCommand.js +1 -2
  6. package/dist-cjs/endpoints.js +1 -0
  7. package/dist-cjs/models/models_0.js +24 -97
  8. package/dist-cjs/models/models_1.js +29 -4
  9. package/dist-cjs/protocols/Aws_restJson1.js +16 -0
  10. package/dist-cjs/runtimeConfig.browser.js +7 -2
  11. package/dist-cjs/runtimeConfig.js +9 -3
  12. package/dist-es/commands/GetRetentionSettingsCommand.js +2 -1
  13. package/dist-es/commands/GetRoomCommand.js +1 -1
  14. package/dist-es/commands/GetSipMediaApplicationCommand.js +1 -2
  15. package/dist-es/endpoints.js +1 -0
  16. package/dist-es/models/models_0.js +18 -60
  17. package/dist-es/models/models_1.js +16 -0
  18. package/dist-es/protocols/Aws_restJson1.js +11 -2
  19. package/dist-es/runtimeConfig.browser.js +12 -3
  20. package/dist-es/runtimeConfig.js +13 -6
  21. package/dist-types/Chime.d.ts +1 -2
  22. package/dist-types/ChimeClient.d.ts +6 -3
  23. package/dist-types/commands/GetRetentionSettingsCommand.d.ts +2 -1
  24. package/dist-types/commands/GetRoomCommand.d.ts +1 -1
  25. package/dist-types/commands/GetSipMediaApplicationCommand.d.ts +1 -2
  26. package/dist-types/models/models_0.d.ts +49 -122
  27. package/dist-types/models/models_1.d.ts +56 -0
  28. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  29. package/dist-types/runtimeConfig.d.ts +4 -3
  30. package/dist-types/runtimeConfig.native.d.ts +1 -0
  31. package/dist-types/ts3.4/ChimeClient.d.ts +3 -1
  32. package/dist-types/ts3.4/commands/GetRetentionSettingsCommand.d.ts +2 -1
  33. package/dist-types/ts3.4/commands/GetRoomCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/GetSipMediaApplicationCommand.d.ts +1 -2
  35. package/dist-types/ts3.4/models/models_0.d.ts +28 -80
  36. package/dist-types/ts3.4/models/models_1.d.ts +36 -0
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  40. package/package.json +38 -45
@@ -18,10 +18,6 @@ export var ErrorCode;
18
18
  ErrorCode["Unprocessable"] = "Unprocessable";
19
19
  ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";
20
20
  })(ErrorCode || (ErrorCode = {}));
21
- export var AccessDeniedException;
22
- (function (AccessDeniedException) {
23
- AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
24
- })(AccessDeniedException || (AccessDeniedException = {}));
25
21
  export var AccountStatus;
26
22
  (function (AccountStatus) {
27
23
  AccountStatus["Active"] = "Active";
@@ -157,34 +153,6 @@ export var AssociatePhoneNumbersWithVoiceConnectorResponse;
157
153
  (function (AssociatePhoneNumbersWithVoiceConnectorResponse) {
158
154
  AssociatePhoneNumbersWithVoiceConnectorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
159
155
  })(AssociatePhoneNumbersWithVoiceConnectorResponse || (AssociatePhoneNumbersWithVoiceConnectorResponse = {}));
160
- export var BadRequestException;
161
- (function (BadRequestException) {
162
- BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
163
- })(BadRequestException || (BadRequestException = {}));
164
- export var ForbiddenException;
165
- (function (ForbiddenException) {
166
- ForbiddenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
167
- })(ForbiddenException || (ForbiddenException = {}));
168
- export var NotFoundException;
169
- (function (NotFoundException) {
170
- NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
171
- })(NotFoundException || (NotFoundException = {}));
172
- export var ServiceFailureException;
173
- (function (ServiceFailureException) {
174
- ServiceFailureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
175
- })(ServiceFailureException || (ServiceFailureException = {}));
176
- export var ServiceUnavailableException;
177
- (function (ServiceUnavailableException) {
178
- ServiceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
179
- })(ServiceUnavailableException || (ServiceUnavailableException = {}));
180
- export var ThrottledClientException;
181
- (function (ThrottledClientException) {
182
- ThrottledClientException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
183
- })(ThrottledClientException || (ThrottledClientException = {}));
184
- export var UnauthorizedClientException;
185
- (function (UnauthorizedClientException) {
186
- UnauthorizedClientException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
187
- })(UnauthorizedClientException || (UnauthorizedClientException = {}));
188
156
  export var AssociatePhoneNumbersWithVoiceConnectorGroupRequest;
189
157
  (function (AssociatePhoneNumbersWithVoiceConnectorGroupRequest) {
190
158
  AssociatePhoneNumbersWithVoiceConnectorGroupRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }))); };
@@ -239,10 +207,6 @@ export var BatchCreateAttendeeResponse;
239
207
  (function (BatchCreateAttendeeResponse) {
240
208
  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); }) }))); };
241
209
  })(BatchCreateAttendeeResponse || (BatchCreateAttendeeResponse = {}));
242
- export var ResourceLimitExceededException;
243
- (function (ResourceLimitExceededException) {
244
- ResourceLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
245
- })(ResourceLimitExceededException || (ResourceLimitExceededException = {}));
246
210
  export var BatchCreateChannelMembershipRequest;
247
211
  (function (BatchCreateChannelMembershipRequest) {
248
212
  BatchCreateChannelMembershipRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -457,10 +421,6 @@ export var ChimeSdkMeetingConfiguration;
457
421
  SourceConfiguration: SourceConfiguration.filterSensitiveLog(obj.SourceConfiguration),
458
422
  }))); };
459
423
  })(ChimeSdkMeetingConfiguration || (ChimeSdkMeetingConfiguration = {}));
460
- export var ConflictException;
461
- (function (ConflictException) {
462
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
463
- })(ConflictException || (ConflictException = {}));
464
424
  export var ConversationRetentionSettings;
465
425
  (function (ConversationRetentionSettings) {
466
426
  ConversationRetentionSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -848,10 +808,6 @@ export var DeleteAccountResponse;
848
808
  (function (DeleteAccountResponse) {
849
809
  DeleteAccountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
850
810
  })(DeleteAccountResponse || (DeleteAccountResponse = {}));
851
- export var UnprocessableEntityException;
852
- (function (UnprocessableEntityException) {
853
- UnprocessableEntityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
854
- })(UnprocessableEntityException || (UnprocessableEntityException = {}));
855
811
  export var DeleteAppInstanceRequest;
856
812
  (function (DeleteAppInstanceRequest) {
857
813
  DeleteAppInstanceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1080,6 +1036,10 @@ export var EmergencyCallingConfiguration;
1080
1036
  (function (EmergencyCallingConfiguration) {
1081
1037
  EmergencyCallingConfiguration.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.DNIS && { DNIS: obj.DNIS.map(function (item) { return DNISEmergencyCallingConfiguration.filterSensitiveLog(item); }) }))); };
1082
1038
  })(EmergencyCallingConfiguration || (EmergencyCallingConfiguration = {}));
1039
+ export var TranscribeMedicalContentIdentificationType;
1040
+ (function (TranscribeMedicalContentIdentificationType) {
1041
+ TranscribeMedicalContentIdentificationType["PHI"] = "PHI";
1042
+ })(TranscribeMedicalContentIdentificationType || (TranscribeMedicalContentIdentificationType = {}));
1083
1043
  export var TranscribeMedicalLanguageCode;
1084
1044
  (function (TranscribeMedicalLanguageCode) {
1085
1045
  TranscribeMedicalLanguageCode["EN_US"] = "en-US";
@@ -1112,6 +1072,14 @@ export var EngineTranscribeMedicalSettings;
1112
1072
  (function (EngineTranscribeMedicalSettings) {
1113
1073
  EngineTranscribeMedicalSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1114
1074
  })(EngineTranscribeMedicalSettings || (EngineTranscribeMedicalSettings = {}));
1075
+ export var TranscribeContentIdentificationType;
1076
+ (function (TranscribeContentIdentificationType) {
1077
+ TranscribeContentIdentificationType["PII"] = "PII";
1078
+ })(TranscribeContentIdentificationType || (TranscribeContentIdentificationType = {}));
1079
+ export var TranscribeContentRedactionType;
1080
+ (function (TranscribeContentRedactionType) {
1081
+ TranscribeContentRedactionType["PII"] = "PII";
1082
+ })(TranscribeContentRedactionType || (TranscribeContentRedactionType = {}));
1115
1083
  export var TranscribeLanguageCode;
1116
1084
  (function (TranscribeLanguageCode) {
1117
1085
  TranscribeLanguageCode["DE_DE"] = "de-DE";
@@ -1127,6 +1095,12 @@ export var TranscribeLanguageCode;
1127
1095
  TranscribeLanguageCode["PT_BR"] = "pt-BR";
1128
1096
  TranscribeLanguageCode["ZH_CN"] = "zh-CN";
1129
1097
  })(TranscribeLanguageCode || (TranscribeLanguageCode = {}));
1098
+ export var TranscribePartialResultsStability;
1099
+ (function (TranscribePartialResultsStability) {
1100
+ TranscribePartialResultsStability["HIGH"] = "high";
1101
+ TranscribePartialResultsStability["LOW"] = "low";
1102
+ TranscribePartialResultsStability["MEDIUM"] = "medium";
1103
+ })(TranscribePartialResultsStability || (TranscribePartialResultsStability = {}));
1130
1104
  export var TranscribeRegion;
1131
1105
  (function (TranscribeRegion) {
1132
1106
  TranscribeRegion["AP_NORTHEAST_1"] = "ap-northeast-1";
@@ -1340,19 +1314,3 @@ export var RetentionSettings;
1340
1314
  (function (RetentionSettings) {
1341
1315
  RetentionSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1342
1316
  })(RetentionSettings || (RetentionSettings = {}));
1343
- export var GetRetentionSettingsResponse;
1344
- (function (GetRetentionSettingsResponse) {
1345
- GetRetentionSettingsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1346
- })(GetRetentionSettingsResponse || (GetRetentionSettingsResponse = {}));
1347
- export var GetRoomRequest;
1348
- (function (GetRoomRequest) {
1349
- GetRoomRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1350
- })(GetRoomRequest || (GetRoomRequest = {}));
1351
- export var GetRoomResponse;
1352
- (function (GetRoomResponse) {
1353
- GetRoomResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Room && { Room: Room.filterSensitiveLog(obj.Room) }))); };
1354
- })(GetRoomResponse || (GetRoomResponse = {}));
1355
- export var GetSipMediaApplicationRequest;
1356
- (function (GetSipMediaApplicationRequest) {
1357
- GetSipMediaApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1358
- })(GetSipMediaApplicationRequest || (GetSipMediaApplicationRequest = {}));
@@ -1,6 +1,22 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
3
  import { AlexaForBusinessMetadata, AppInstanceAdminSummary, AppInstanceStreamingConfiguration, AppInstanceSummary, AppInstanceUserSummary, Attendee, Bot, ChannelBanSummary, ChannelMembershipForAppInstanceUserSummary, ChannelMembershipSummary, ChannelMessageSummary, ChannelModeratedByAppInstanceUserSummary, ChannelModeratorSummary, ChannelSummary, Credential, EmergencyCallingConfiguration, EventsConfiguration, MediaCapturePipeline, Meeting, PhoneNumber, ProxySession, Room, RoomMembership, SipMediaApplication, SipMediaApplicationEndpoint, Tag, User, } from "./models_0";
4
+ export var GetRetentionSettingsResponse;
5
+ (function (GetRetentionSettingsResponse) {
6
+ GetRetentionSettingsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
7
+ })(GetRetentionSettingsResponse || (GetRetentionSettingsResponse = {}));
8
+ export var GetRoomRequest;
9
+ (function (GetRoomRequest) {
10
+ GetRoomRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
11
+ })(GetRoomRequest || (GetRoomRequest = {}));
12
+ export var GetRoomResponse;
13
+ (function (GetRoomResponse) {
14
+ GetRoomResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Room && { Room: Room.filterSensitiveLog(obj.Room) }))); };
15
+ })(GetRoomResponse || (GetRoomResponse = {}));
16
+ export var GetSipMediaApplicationRequest;
17
+ (function (GetSipMediaApplicationRequest) {
18
+ GetSipMediaApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
19
+ })(GetSipMediaApplicationRequest || (GetSipMediaApplicationRequest = {}));
4
20
  export var GetSipMediaApplicationResponse;
5
21
  (function (GetSipMediaApplicationResponse) {
6
22
  GetSipMediaApplicationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SipMediaApplication && {
@@ -28367,11 +28367,20 @@ var serializeAws_restJson1EmergencyCallingConfiguration = function (input, conte
28367
28367
  }));
28368
28368
  };
28369
28369
  var serializeAws_restJson1EngineTranscribeMedicalSettings = function (input, context) {
28370
- return __assign(__assign(__assign(__assign(__assign({}, (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 &&
28370
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType !== undefined &&
28371
+ 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 &&
28371
28372
  input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
28372
28373
  };
28373
28374
  var serializeAws_restJson1EngineTranscribeSettings = function (input, context) {
28374
- return __assign(__assign(__assign(__assign(__assign({}, (input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode })), (input.Region !== undefined && input.Region !== null && { Region: input.Region })), (input.VocabularyFilterMethod !== undefined &&
28375
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType !== undefined &&
28376
+ input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType })), (input.ContentRedactionType !== undefined &&
28377
+ input.ContentRedactionType !== null && { ContentRedactionType: input.ContentRedactionType })), (input.EnablePartialResultsStabilization !== undefined &&
28378
+ input.EnablePartialResultsStabilization !== null && {
28379
+ EnablePartialResultsStabilization: input.EnablePartialResultsStabilization,
28380
+ })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode })), (input.LanguageModelName !== undefined &&
28381
+ input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName })), (input.PartialResultsStability !== undefined &&
28382
+ input.PartialResultsStability !== null && { PartialResultsStability: input.PartialResultsStability })), (input.PiiEntityTypes !== undefined &&
28383
+ input.PiiEntityTypes !== null && { PiiEntityTypes: input.PiiEntityTypes })), (input.Region !== undefined && input.Region !== null && { Region: input.Region })), (input.VocabularyFilterMethod !== undefined &&
28375
28384
  input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName !== undefined &&
28376
28385
  input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName !== undefined &&
28377
28386
  input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -194,8 +194,7 @@ import { UpdateVoiceConnectorGroupCommandInput, UpdateVoiceConnectorGroupCommand
194
194
  * <p>The Amazon Chime API (application programming interface) is designed for developers to
195
195
  * perform key tasks, such as creating and managing Amazon Chime accounts, users, and Voice
196
196
  * Connectors. This guide provides detailed information about the Amazon Chime API,
197
- * including operations, types, inputs and outputs, and error codes. It also includes some
198
- * server-side API actions to use with the Amazon Chime SDK. For more information about the
197
+ * including operations, types, inputs and outputs, and error codes. It also includes API actions for use with the Amazon Chime SDK, which developers use to build their own communication applications. For more information about the
199
198
  * Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html">
200
199
  * Using the Amazon Chime SDK
201
200
  * </a> in the <i>Amazon Chime Developer Guide</i>.</p>
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociatePhoneNumbersWithVoiceConnectorCommandInput, AssociatePhoneNumbersWithVoiceConnectorCommandOutput } from "./commands/AssociatePhoneNumbersWithVoiceConnectorCommand";
10
10
  import { AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput } from "./commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand";
@@ -298,6 +298,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
298
298
  * @internal
299
299
  */
300
300
  defaultUserAgentProvider?: Provider<__UserAgent>;
301
+ /**
302
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
303
+ */
304
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
301
305
  }
302
306
  declare type ChimeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
303
307
  /**
@@ -315,8 +319,7 @@ export interface ChimeClientResolvedConfig extends ChimeClientResolvedConfigType
315
319
  * <p>The Amazon Chime API (application programming interface) is designed for developers to
316
320
  * perform key tasks, such as creating and managing Amazon Chime accounts, users, and Voice
317
321
  * Connectors. This guide provides detailed information about the Amazon Chime API,
318
- * including operations, types, inputs and outputs, and error codes. It also includes some
319
- * server-side API actions to use with the Amazon Chime SDK. For more information about the
322
+ * including operations, types, inputs and outputs, and error codes. It also includes API actions for use with the Amazon Chime SDK, which developers use to build their own communication applications. For more information about the
320
323
  * Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html">
321
324
  * Using the Amazon Chime SDK
322
325
  * </a> in the <i>Amazon Chime Developer Guide</i>.</p>
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient";
4
- import { GetRetentionSettingsRequest, GetRetentionSettingsResponse } from "../models/models_0";
4
+ import { GetRetentionSettingsRequest } from "../models/models_0";
5
+ import { GetRetentionSettingsResponse } from "../models/models_1";
5
6
  export interface GetRetentionSettingsCommandInput extends GetRetentionSettingsRequest {
6
7
  }
7
8
  export interface GetRetentionSettingsCommandOutput extends GetRetentionSettingsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient";
4
- import { GetRoomRequest, GetRoomResponse } from "../models/models_0";
4
+ import { GetRoomRequest, GetRoomResponse } from "../models/models_1";
5
5
  export interface GetRoomCommandInput extends GetRoomRequest {
6
6
  }
7
7
  export interface GetRoomCommandOutput extends GetRoomResponse, __MetadataBearer {
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient";
4
- import { GetSipMediaApplicationRequest } from "../models/models_0";
5
- import { GetSipMediaApplicationResponse } from "../models/models_1";
4
+ import { GetSipMediaApplicationRequest, GetSipMediaApplicationResponse } from "../models/models_1";
6
5
  export interface GetSipMediaApplicationCommandInput extends GetSipMediaApplicationRequest {
7
6
  }
8
7
  export interface GetSipMediaApplicationCommandOutput extends GetSipMediaApplicationResponse, __MetadataBearer {
@@ -25,12 +25,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
25
25
  Code?: ErrorCode | string;
26
26
  Message?: string;
27
27
  }
28
- export declare namespace AccessDeniedException {
29
- /**
30
- * @internal
31
- */
32
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
33
- }
34
28
  export declare enum AccountStatus {
35
29
  Active = "Active",
36
30
  Suspended = "Suspended"
@@ -549,12 +543,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
549
543
  Code?: ErrorCode | string;
550
544
  Message?: string;
551
545
  }
552
- export declare namespace BadRequestException {
553
- /**
554
- * @internal
555
- */
556
- const filterSensitiveLog: (obj: BadRequestException) => any;
557
- }
558
546
  /**
559
547
  * <p>The client is permanently forbidden from making the request.</p>
560
548
  */
@@ -564,12 +552,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
564
552
  Code?: ErrorCode | string;
565
553
  Message?: string;
566
554
  }
567
- export declare namespace ForbiddenException {
568
- /**
569
- * @internal
570
- */
571
- const filterSensitiveLog: (obj: ForbiddenException) => any;
572
- }
573
555
  /**
574
556
  * <p>One or more of the resources in the request does not exist in the system.</p>
575
557
  */
@@ -579,12 +561,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
579
561
  Code?: ErrorCode | string;
580
562
  Message?: string;
581
563
  }
582
- export declare namespace NotFoundException {
583
- /**
584
- * @internal
585
- */
586
- const filterSensitiveLog: (obj: NotFoundException) => any;
587
- }
588
564
  /**
589
565
  * <p>The service encountered an unexpected error.</p>
590
566
  */
@@ -594,12 +570,6 @@ export interface ServiceFailureException extends __SmithyException, $MetadataBea
594
570
  Code?: ErrorCode | string;
595
571
  Message?: string;
596
572
  }
597
- export declare namespace ServiceFailureException {
598
- /**
599
- * @internal
600
- */
601
- const filterSensitiveLog: (obj: ServiceFailureException) => any;
602
- }
603
573
  /**
604
574
  * <p>The service is currently unavailable.</p>
605
575
  */
@@ -609,12 +579,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
609
579
  Code?: ErrorCode | string;
610
580
  Message?: string;
611
581
  }
612
- export declare namespace ServiceUnavailableException {
613
- /**
614
- * @internal
615
- */
616
- const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
617
- }
618
582
  /**
619
583
  * <p>The client exceeded its request rate limit.</p>
620
584
  */
@@ -624,12 +588,6 @@ export interface ThrottledClientException extends __SmithyException, $MetadataBe
624
588
  Code?: ErrorCode | string;
625
589
  Message?: string;
626
590
  }
627
- export declare namespace ThrottledClientException {
628
- /**
629
- * @internal
630
- */
631
- const filterSensitiveLog: (obj: ThrottledClientException) => any;
632
- }
633
591
  /**
634
592
  * <p>The client is not currently authorized to make the request.</p>
635
593
  */
@@ -639,12 +597,6 @@ export interface UnauthorizedClientException extends __SmithyException, $Metadat
639
597
  Code?: ErrorCode | string;
640
598
  Message?: string;
641
599
  }
642
- export declare namespace UnauthorizedClientException {
643
- /**
644
- * @internal
645
- */
646
- const filterSensitiveLog: (obj: UnauthorizedClientException) => any;
647
- }
648
600
  export interface AssociatePhoneNumbersWithVoiceConnectorGroupRequest {
649
601
  /**
650
602
  * <p>The Amazon Chime Voice Connector group ID.</p>
@@ -898,12 +850,6 @@ export interface ResourceLimitExceededException extends __SmithyException, $Meta
898
850
  Code?: ErrorCode | string;
899
851
  Message?: string;
900
852
  }
901
- export declare namespace ResourceLimitExceededException {
902
- /**
903
- * @internal
904
- */
905
- const filterSensitiveLog: (obj: ResourceLimitExceededException) => any;
906
- }
907
853
  export interface BatchCreateChannelMembershipRequest {
908
854
  /**
909
855
  * <p>The ARN of the channel to which you're adding users.</p>
@@ -1777,12 +1723,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
1777
1723
  Code?: ErrorCode | string;
1778
1724
  Message?: string;
1779
1725
  }
1780
- export declare namespace ConflictException {
1781
- /**
1782
- * @internal
1783
- */
1784
- const filterSensitiveLog: (obj: ConflictException) => any;
1785
- }
1786
1726
  /**
1787
1727
  * <p>The retention settings that determine how long to retain conversation messages for an Amazon Chime Enterprise account.</p>
1788
1728
  */
@@ -3618,12 +3558,6 @@ export interface UnprocessableEntityException extends __SmithyException, $Metada
3618
3558
  Code?: ErrorCode | string;
3619
3559
  Message?: string;
3620
3560
  }
3621
- export declare namespace UnprocessableEntityException {
3622
- /**
3623
- * @internal
3624
- */
3625
- const filterSensitiveLog: (obj: UnprocessableEntityException) => any;
3626
- }
3627
3561
  export interface DeleteAppInstanceRequest {
3628
3562
  /**
3629
3563
  * <p>The ARN of the <code>AppInstance</code>.</p>
@@ -4429,6 +4363,9 @@ export declare namespace EmergencyCallingConfiguration {
4429
4363
  */
4430
4364
  const filterSensitiveLog: (obj: EmergencyCallingConfiguration) => any;
4431
4365
  }
4366
+ export declare enum TranscribeMedicalContentIdentificationType {
4367
+ PHI = "PHI"
4368
+ }
4432
4369
  export declare enum TranscribeMedicalLanguageCode {
4433
4370
  EN_US = "en-US"
4434
4371
  }
@@ -4477,6 +4414,10 @@ export interface EngineTranscribeMedicalSettings {
4477
4414
  * <p>The AWS Region passed to Amazon Transcribe Medical. If you don't specify a Region, Amazon Chime uses the meeting's Region.</p>
4478
4415
  */
4479
4416
  Region?: TranscribeMedicalRegion | string;
4417
+ /**
4418
+ * <p>Set this field to <code>PHI</code> to identify personal health information in the transcription output.</p>
4419
+ */
4420
+ ContentIdentificationType?: TranscribeMedicalContentIdentificationType | string;
4480
4421
  }
4481
4422
  export declare namespace EngineTranscribeMedicalSettings {
4482
4423
  /**
@@ -4484,6 +4425,12 @@ export declare namespace EngineTranscribeMedicalSettings {
4484
4425
  */
4485
4426
  const filterSensitiveLog: (obj: EngineTranscribeMedicalSettings) => any;
4486
4427
  }
4428
+ export declare enum TranscribeContentIdentificationType {
4429
+ PII = "PII"
4430
+ }
4431
+ export declare enum TranscribeContentRedactionType {
4432
+ PII = "PII"
4433
+ }
4487
4434
  export declare enum TranscribeLanguageCode {
4488
4435
  DE_DE = "de-DE",
4489
4436
  EN_AU = "en-AU",
@@ -4498,6 +4445,11 @@ export declare enum TranscribeLanguageCode {
4498
4445
  PT_BR = "pt-BR",
4499
4446
  ZH_CN = "zh-CN"
4500
4447
  }
4448
+ export declare enum TranscribePartialResultsStability {
4449
+ HIGH = "high",
4450
+ LOW = "low",
4451
+ MEDIUM = "medium"
4452
+ }
4501
4453
  export declare enum TranscribeRegion {
4502
4454
  AP_NORTHEAST_1 = "ap-northeast-1",
4503
4455
  AP_NORTHEAST_2 = "ap-northeast-2",
@@ -4541,6 +4493,37 @@ export interface EngineTranscribeSettings {
4541
4493
  * <p>The AWS Region passed to Amazon Transcribe. If you don't specify a Region, Amazon Chime uses the meeting's Region.</p>
4542
4494
  */
4543
4495
  Region?: TranscribeRegion | string;
4496
+ /**
4497
+ * <p>Generates partial transcription results that are less likely to change as meeting attendees speak. It does so by only allowing the last few words from the partial results to change.</p>
4498
+ */
4499
+ EnablePartialResultsStabilization?: boolean;
4500
+ /**
4501
+ * <p>The stabity level of a partial results transcription. Determines how stable you want the transcription results to be. A higher level means the transcription results are less likely to change.</p>
4502
+ */
4503
+ PartialResultsStability?: TranscribePartialResultsStability | string;
4504
+ /**
4505
+ * <p>Set this field to <code>PII</code> to identify personal health information in the transcription output.</p>
4506
+ */
4507
+ ContentIdentificationType?: TranscribeContentIdentificationType | string;
4508
+ /**
4509
+ * <p>Set this field to <code>PII</code> to redact personally identifiable information in the transcription output. Content redaction is performed only upon complete transcription of the audio segments.</p>
4510
+ */
4511
+ ContentRedactionType?: TranscribeContentRedactionType | string;
4512
+ /**
4513
+ * <p>Lists the PII entity types you want to identify or redact. To specify entity types, you must enable <code>ContentIdentificationType</code> or <code>ContentRedactionType</code>.</p>
4514
+ * <p>
4515
+ * <code>PIIEntityTypes</code> must be comma-separated. The available values are:
4516
+ * <code>BANK_ACCOUNT_NUMBER</code>, <code>BANK_ROUTING, CREDIT_DEBIT_NUMBER</code>, <code>CREDIT_DEBIT_CVV</code>, <code>CREDIT_DEBIT_EXPIRY</code>, <code>PIN</code>, <code>EMAIL</code>,
4517
+ * <code>ADDRESS</code>, <code>NAME</code>, <code>PHONE</code>, <code>SSN</code>, and <code>ALL</code>.</p>
4518
+ *
4519
+ * <p>
4520
+ * <code>PiiEntityTypes</code> is an optional parameter with a default value of <code>ALL</code>.</p>
4521
+ */
4522
+ PiiEntityTypes?: string;
4523
+ /**
4524
+ * <p>The name of the language model used during transcription.</p>
4525
+ */
4526
+ LanguageModelName?: string;
4544
4527
  }
4545
4528
  export declare namespace EngineTranscribeSettings {
4546
4529
  /**
@@ -5186,59 +5169,3 @@ export declare namespace RetentionSettings {
5186
5169
  */
5187
5170
  const filterSensitiveLog: (obj: RetentionSettings) => any;
5188
5171
  }
5189
- export interface GetRetentionSettingsResponse {
5190
- /**
5191
- * <p>The retention settings.</p>
5192
- */
5193
- RetentionSettings?: RetentionSettings;
5194
- /**
5195
- * <p>The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.</p>
5196
- */
5197
- InitiateDeletionTimestamp?: Date;
5198
- }
5199
- export declare namespace GetRetentionSettingsResponse {
5200
- /**
5201
- * @internal
5202
- */
5203
- const filterSensitiveLog: (obj: GetRetentionSettingsResponse) => any;
5204
- }
5205
- export interface GetRoomRequest {
5206
- /**
5207
- * <p>The Amazon Chime account ID.</p>
5208
- */
5209
- AccountId: string | undefined;
5210
- /**
5211
- * <p>The room ID.</p>
5212
- */
5213
- RoomId: string | undefined;
5214
- }
5215
- export declare namespace GetRoomRequest {
5216
- /**
5217
- * @internal
5218
- */
5219
- const filterSensitiveLog: (obj: GetRoomRequest) => any;
5220
- }
5221
- export interface GetRoomResponse {
5222
- /**
5223
- * <p>The room details.</p>
5224
- */
5225
- Room?: Room;
5226
- }
5227
- export declare namespace GetRoomResponse {
5228
- /**
5229
- * @internal
5230
- */
5231
- const filterSensitiveLog: (obj: GetRoomResponse) => any;
5232
- }
5233
- export interface GetSipMediaApplicationRequest {
5234
- /**
5235
- * <p>The SIP media application ID.</p>
5236
- */
5237
- SipMediaApplicationId: string | undefined;
5238
- }
5239
- export declare namespace GetSipMediaApplicationRequest {
5240
- /**
5241
- * @internal
5242
- */
5243
- const filterSensitiveLog: (obj: GetSipMediaApplicationRequest) => any;
5244
- }