@aws-sdk/client-chime-sdk-voice 3.297.0 → 3.299.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/README.md +152 -0
- package/dist-cjs/ChimeSDKVoice.js +285 -0
- package/dist-cjs/commands/BatchDeletePhoneNumberCommand.js +1 -1
- package/dist-cjs/commands/CreateSipMediaApplicationCallCommand.js +1 -1
- package/dist-cjs/commands/CreateSipRuleCommand.js +2 -3
- package/dist-cjs/commands/CreateVoiceConnectorCommand.js +2 -3
- package/dist-cjs/commands/CreateVoiceConnectorGroupCommand.js +2 -3
- package/dist-cjs/commands/CreateVoiceProfileCommand.js +46 -0
- package/dist-cjs/commands/CreateVoiceProfileDomainCommand.js +46 -0
- package/dist-cjs/commands/DeletePhoneNumberCommand.js +1 -1
- package/dist-cjs/commands/DeleteProxySessionCommand.js +2 -3
- package/dist-cjs/commands/DeleteSipMediaApplicationCommand.js +2 -3
- package/dist-cjs/commands/DeleteSipRuleCommand.js +2 -3
- package/dist-cjs/commands/DeleteVoiceConnectorCommand.js +2 -3
- package/dist-cjs/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.js +2 -3
- package/dist-cjs/commands/DeleteVoiceConnectorGroupCommand.js +2 -3
- package/dist-cjs/commands/DeleteVoiceConnectorOriginationCommand.js +2 -3
- package/dist-cjs/commands/DeleteVoiceConnectorProxyCommand.js +2 -3
- package/dist-cjs/commands/DeleteVoiceConnectorStreamingConfigurationCommand.js +2 -3
- package/dist-cjs/commands/DeleteVoiceConnectorTerminationCommand.js +2 -3
- package/dist-cjs/commands/DeleteVoiceConnectorTerminationCredentialsCommand.js +1 -1
- package/dist-cjs/commands/DeleteVoiceProfileCommand.js +45 -0
- package/dist-cjs/commands/DeleteVoiceProfileDomainCommand.js +45 -0
- package/dist-cjs/commands/GetGlobalSettingsCommand.js +2 -3
- package/dist-cjs/commands/GetPhoneNumberOrderCommand.js +1 -1
- package/dist-cjs/commands/GetPhoneNumberSettingsCommand.js +1 -1
- package/dist-cjs/commands/GetProxySessionCommand.js +1 -1
- package/dist-cjs/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.js +1 -1
- package/dist-cjs/commands/GetSipMediaApplicationCommand.js +1 -1
- package/dist-cjs/commands/GetSipMediaApplicationLoggingConfigurationCommand.js +2 -3
- package/dist-cjs/commands/GetSipRuleCommand.js +2 -3
- package/dist-cjs/commands/GetSpeakerSearchTaskCommand.js +45 -0
- package/dist-cjs/commands/GetVoiceConnectorCommand.js +2 -3
- package/dist-cjs/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.js +1 -1
- package/dist-cjs/commands/GetVoiceConnectorGroupCommand.js +2 -3
- package/dist-cjs/commands/GetVoiceConnectorLoggingConfigurationCommand.js +2 -3
- package/dist-cjs/commands/GetVoiceConnectorOriginationCommand.js +2 -3
- package/dist-cjs/commands/GetVoiceConnectorProxyCommand.js +1 -1
- package/dist-cjs/commands/GetVoiceConnectorStreamingConfigurationCommand.js +1 -1
- package/dist-cjs/commands/GetVoiceConnectorTerminationCommand.js +1 -1
- package/dist-cjs/commands/GetVoiceConnectorTerminationHealthCommand.js +2 -3
- package/dist-cjs/commands/GetVoiceProfileCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceProfileDomainCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceToneAnalysisTaskCommand.js +45 -0
- package/dist-cjs/commands/ListAvailableVoiceConnectorRegionsCommand.js +2 -3
- package/dist-cjs/commands/ListPhoneNumberOrdersCommand.js +1 -1
- package/dist-cjs/commands/ListPhoneNumbersCommand.js +1 -1
- package/dist-cjs/commands/ListProxySessionsCommand.js +1 -1
- package/dist-cjs/commands/ListSipMediaApplicationsCommand.js +1 -1
- package/dist-cjs/commands/ListSipRulesCommand.js +2 -3
- package/dist-cjs/commands/ListSupportedPhoneNumberCountriesCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/ListVoiceConnectorGroupsCommand.js +2 -3
- package/dist-cjs/commands/ListVoiceConnectorTerminationCredentialsCommand.js +1 -1
- package/dist-cjs/commands/ListVoiceConnectorsCommand.js +2 -3
- package/dist-cjs/commands/ListVoiceProfileDomainsCommand.js +46 -0
- package/dist-cjs/commands/ListVoiceProfilesCommand.js +46 -0
- package/dist-cjs/commands/PutSipMediaApplicationLoggingConfigurationCommand.js +2 -3
- package/dist-cjs/commands/PutVoiceConnectorLoggingConfigurationCommand.js +2 -3
- package/dist-cjs/commands/PutVoiceConnectorOriginationCommand.js +2 -3
- package/dist-cjs/commands/PutVoiceConnectorTerminationCredentialsCommand.js +1 -1
- package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +1 -1
- package/dist-cjs/commands/StartSpeakerSearchTaskCommand.js +45 -0
- package/dist-cjs/commands/StartVoiceToneAnalysisTaskCommand.js +45 -0
- package/dist-cjs/commands/StopSpeakerSearchTaskCommand.js +45 -0
- package/dist-cjs/commands/StopVoiceToneAnalysisTaskCommand.js +45 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateGlobalSettingsCommand.js +2 -3
- package/dist-cjs/commands/UpdatePhoneNumberSettingsCommand.js +1 -1
- package/dist-cjs/commands/UpdateProxySessionCommand.js +1 -1
- package/dist-cjs/commands/UpdateSipMediaApplicationCallCommand.js +1 -1
- package/dist-cjs/commands/UpdateSipRuleCommand.js +2 -3
- package/dist-cjs/commands/UpdateVoiceConnectorCommand.js +2 -3
- package/dist-cjs/commands/UpdateVoiceConnectorGroupCommand.js +2 -3
- package/dist-cjs/commands/UpdateVoiceProfileCommand.js +46 -0
- package/dist-cjs/commands/UpdateVoiceProfileDomainCommand.js +46 -0
- package/dist-cjs/commands/index.js +19 -0
- package/dist-cjs/models/models_0.js +127 -321
- package/dist-cjs/pagination/ListVoiceProfileDomainsPaginator.js +29 -0
- package/dist-cjs/pagination/ListVoiceProfilesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2085 -342
- package/dist-es/ChimeSDKVoice.js +285 -0
- package/dist-es/commands/BatchDeletePhoneNumberCommand.js +2 -2
- package/dist-es/commands/CreateSipMediaApplicationCallCommand.js +2 -2
- package/dist-es/commands/CreateSipRuleCommand.js +2 -3
- package/dist-es/commands/CreateVoiceConnectorCommand.js +2 -3
- package/dist-es/commands/CreateVoiceConnectorGroupCommand.js +2 -3
- package/dist-es/commands/CreateVoiceProfileCommand.js +42 -0
- package/dist-es/commands/CreateVoiceProfileDomainCommand.js +42 -0
- package/dist-es/commands/DeletePhoneNumberCommand.js +1 -1
- package/dist-es/commands/DeleteProxySessionCommand.js +2 -3
- package/dist-es/commands/DeleteSipMediaApplicationCommand.js +2 -3
- package/dist-es/commands/DeleteSipRuleCommand.js +2 -3
- package/dist-es/commands/DeleteVoiceConnectorCommand.js +2 -3
- package/dist-es/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.js +2 -3
- package/dist-es/commands/DeleteVoiceConnectorGroupCommand.js +2 -3
- package/dist-es/commands/DeleteVoiceConnectorOriginationCommand.js +2 -3
- package/dist-es/commands/DeleteVoiceConnectorProxyCommand.js +2 -3
- package/dist-es/commands/DeleteVoiceConnectorStreamingConfigurationCommand.js +2 -3
- package/dist-es/commands/DeleteVoiceConnectorTerminationCommand.js +2 -3
- package/dist-es/commands/DeleteVoiceConnectorTerminationCredentialsCommand.js +1 -1
- package/dist-es/commands/DeleteVoiceProfileCommand.js +41 -0
- package/dist-es/commands/DeleteVoiceProfileDomainCommand.js +41 -0
- package/dist-es/commands/GetGlobalSettingsCommand.js +2 -3
- package/dist-es/commands/GetPhoneNumberOrderCommand.js +2 -2
- package/dist-es/commands/GetPhoneNumberSettingsCommand.js +1 -1
- package/dist-es/commands/GetProxySessionCommand.js +2 -2
- package/dist-es/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.js +2 -2
- package/dist-es/commands/GetSipMediaApplicationCommand.js +2 -2
- package/dist-es/commands/GetSipMediaApplicationLoggingConfigurationCommand.js +2 -3
- package/dist-es/commands/GetSipRuleCommand.js +2 -3
- package/dist-es/commands/GetSpeakerSearchTaskCommand.js +41 -0
- package/dist-es/commands/GetVoiceConnectorCommand.js +2 -3
- package/dist-es/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.js +2 -2
- package/dist-es/commands/GetVoiceConnectorGroupCommand.js +2 -3
- package/dist-es/commands/GetVoiceConnectorLoggingConfigurationCommand.js +2 -3
- package/dist-es/commands/GetVoiceConnectorOriginationCommand.js +2 -3
- package/dist-es/commands/GetVoiceConnectorProxyCommand.js +2 -2
- package/dist-es/commands/GetVoiceConnectorStreamingConfigurationCommand.js +2 -2
- package/dist-es/commands/GetVoiceConnectorTerminationCommand.js +2 -2
- package/dist-es/commands/GetVoiceConnectorTerminationHealthCommand.js +2 -3
- package/dist-es/commands/GetVoiceProfileCommand.js +42 -0
- package/dist-es/commands/GetVoiceProfileDomainCommand.js +42 -0
- package/dist-es/commands/GetVoiceToneAnalysisTaskCommand.js +41 -0
- package/dist-es/commands/ListAvailableVoiceConnectorRegionsCommand.js +2 -3
- package/dist-es/commands/ListPhoneNumberOrdersCommand.js +2 -2
- package/dist-es/commands/ListPhoneNumbersCommand.js +2 -2
- package/dist-es/commands/ListProxySessionsCommand.js +2 -2
- package/dist-es/commands/ListSipMediaApplicationsCommand.js +2 -2
- package/dist-es/commands/ListSipRulesCommand.js +2 -3
- package/dist-es/commands/ListSupportedPhoneNumberCountriesCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/ListVoiceConnectorGroupsCommand.js +2 -3
- package/dist-es/commands/ListVoiceConnectorTerminationCredentialsCommand.js +2 -2
- package/dist-es/commands/ListVoiceConnectorsCommand.js +2 -3
- package/dist-es/commands/ListVoiceProfileDomainsCommand.js +42 -0
- package/dist-es/commands/ListVoiceProfilesCommand.js +42 -0
- package/dist-es/commands/PutSipMediaApplicationLoggingConfigurationCommand.js +2 -3
- package/dist-es/commands/PutVoiceConnectorLoggingConfigurationCommand.js +2 -3
- package/dist-es/commands/PutVoiceConnectorOriginationCommand.js +2 -3
- package/dist-es/commands/PutVoiceConnectorTerminationCredentialsCommand.js +1 -1
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +2 -2
- package/dist-es/commands/StartSpeakerSearchTaskCommand.js +41 -0
- package/dist-es/commands/StartVoiceToneAnalysisTaskCommand.js +41 -0
- package/dist-es/commands/StopSpeakerSearchTaskCommand.js +41 -0
- package/dist-es/commands/StopVoiceToneAnalysisTaskCommand.js +41 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateGlobalSettingsCommand.js +2 -3
- package/dist-es/commands/UpdatePhoneNumberSettingsCommand.js +1 -1
- package/dist-es/commands/UpdateProxySessionCommand.js +2 -2
- package/dist-es/commands/UpdateSipMediaApplicationCallCommand.js +2 -2
- package/dist-es/commands/UpdateSipRuleCommand.js +2 -3
- package/dist-es/commands/UpdateVoiceConnectorCommand.js +2 -3
- package/dist-es/commands/UpdateVoiceConnectorGroupCommand.js +2 -3
- package/dist-es/commands/UpdateVoiceProfileCommand.js +42 -0
- package/dist-es/commands/UpdateVoiceProfileDomainCommand.js +42 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/models/models_0.js +101 -228
- package/dist-es/pagination/ListVoiceProfileDomainsPaginator.js +25 -0
- package/dist-es/pagination/ListVoiceProfilesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1982 -278
- package/dist-types/ChimeSDKVoice.d.ts +133 -0
- package/dist-types/ChimeSDKVoiceClient.d.ts +21 -2
- package/dist-types/commands/CreateVoiceProfileCommand.d.ts +39 -0
- package/dist-types/commands/CreateVoiceProfileDomainCommand.d.ts +39 -0
- package/dist-types/commands/DeleteVoiceProfileCommand.d.ts +39 -0
- package/dist-types/commands/DeleteVoiceProfileDomainCommand.d.ts +39 -0
- package/dist-types/commands/GetSpeakerSearchTaskCommand.d.ts +39 -0
- package/dist-types/commands/GetVoiceProfileCommand.d.ts +39 -0
- package/dist-types/commands/GetVoiceProfileDomainCommand.d.ts +39 -0
- package/dist-types/commands/GetVoiceToneAnalysisTaskCommand.d.ts +39 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/commands/ListVoiceProfileDomainsCommand.d.ts +39 -0
- package/dist-types/commands/ListVoiceProfilesCommand.d.ts +39 -0
- package/dist-types/commands/StartSpeakerSearchTaskCommand.d.ts +39 -0
- package/dist-types/commands/StartVoiceToneAnalysisTaskCommand.d.ts +39 -0
- package/dist-types/commands/StopSpeakerSearchTaskCommand.d.ts +39 -0
- package/dist-types/commands/StopVoiceToneAnalysisTaskCommand.d.ts +39 -0
- package/dist-types/commands/TagResourceCommand.d.ts +39 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +39 -0
- package/dist-types/commands/UpdateVoiceProfileCommand.d.ts +39 -0
- package/dist-types/commands/UpdateVoiceProfileDomainCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/models/models_0.d.ts +384 -294
- package/dist-types/pagination/ListVoiceProfileDomainsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVoiceProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +57 -0
- package/dist-types/ts3.4/ChimeSDKVoice.d.ts +323 -0
- package/dist-types/ts3.4/ChimeSDKVoiceClient.d.ts +114 -0
- package/dist-types/ts3.4/commands/CreateVoiceProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateVoiceProfileDomainCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVoiceProfileCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteVoiceProfileDomainCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetSpeakerSearchTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetVoiceProfileCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetVoiceProfileDomainCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetVoiceToneAnalysisTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListVoiceProfileDomainsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVoiceProfilesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartSpeakerSearchTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartVoiceToneAnalysisTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StopSpeakerSearchTaskCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/StopVoiceToneAnalysisTaskCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UpdateVoiceProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateVoiceProfileDomainCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/models/models_0.d.ts +260 -245
- package/dist-types/ts3.4/pagination/ListVoiceProfileDomainsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVoiceProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +228 -0
- package/package.json +11 -10
|
@@ -240,6 +240,20 @@ export var VoiceConnectorAwsRegion;
|
|
|
240
240
|
VoiceConnectorAwsRegion["US_EAST_1"] = "us-east-1";
|
|
241
241
|
VoiceConnectorAwsRegion["US_WEST_2"] = "us-west-2";
|
|
242
242
|
})(VoiceConnectorAwsRegion || (VoiceConnectorAwsRegion = {}));
|
|
243
|
+
export class GoneException extends __BaseException {
|
|
244
|
+
constructor(opts) {
|
|
245
|
+
super({
|
|
246
|
+
name: "GoneException",
|
|
247
|
+
$fault: "client",
|
|
248
|
+
...opts,
|
|
249
|
+
});
|
|
250
|
+
this.name = "GoneException";
|
|
251
|
+
this.$fault = "client";
|
|
252
|
+
Object.setPrototypeOf(this, GoneException.prototype);
|
|
253
|
+
this.Code = opts.Code;
|
|
254
|
+
this.Message = opts.Message;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
243
257
|
export var PhoneNumberAssociationName;
|
|
244
258
|
(function (PhoneNumberAssociationName) {
|
|
245
259
|
PhoneNumberAssociationName["SipRuleId"] = "SipRuleId";
|
|
@@ -276,6 +290,24 @@ export var NotificationTarget;
|
|
|
276
290
|
NotificationTarget["SNS"] = "SNS";
|
|
277
291
|
NotificationTarget["SQS"] = "SQS";
|
|
278
292
|
})(NotificationTarget || (NotificationTarget = {}));
|
|
293
|
+
export class UnprocessableEntityException extends __BaseException {
|
|
294
|
+
constructor(opts) {
|
|
295
|
+
super({
|
|
296
|
+
name: "UnprocessableEntityException",
|
|
297
|
+
$fault: "client",
|
|
298
|
+
...opts,
|
|
299
|
+
});
|
|
300
|
+
this.name = "UnprocessableEntityException";
|
|
301
|
+
this.$fault = "client";
|
|
302
|
+
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
303
|
+
this.Code = opts.Code;
|
|
304
|
+
this.Message = opts.Message;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
export var LanguageCode;
|
|
308
|
+
(function (LanguageCode) {
|
|
309
|
+
LanguageCode["EN_US"] = "en-US";
|
|
310
|
+
})(LanguageCode || (LanguageCode = {}));
|
|
279
311
|
export const AddressFilterSensitiveLog = (obj) => ({
|
|
280
312
|
...obj,
|
|
281
313
|
...(obj.streetName && { streetName: SENSITIVE_STRING }),
|
|
@@ -313,9 +345,6 @@ export const AssociatePhoneNumbersWithVoiceConnectorGroupResponseFilterSensitive
|
|
|
313
345
|
PhoneNumberErrors: obj.PhoneNumberErrors.map((item) => PhoneNumberErrorFilterSensitiveLog(item)),
|
|
314
346
|
}),
|
|
315
347
|
});
|
|
316
|
-
export const BatchDeletePhoneNumberRequestFilterSensitiveLog = (obj) => ({
|
|
317
|
-
...obj,
|
|
318
|
-
});
|
|
319
348
|
export const BatchDeletePhoneNumberResponseFilterSensitiveLog = (obj) => ({
|
|
320
349
|
...obj,
|
|
321
350
|
...(obj.PhoneNumberErrors && {
|
|
@@ -367,9 +396,6 @@ export const CreatePhoneNumberOrderResponseFilterSensitiveLog = (obj) => ({
|
|
|
367
396
|
...obj,
|
|
368
397
|
...(obj.PhoneNumberOrder && { PhoneNumberOrder: PhoneNumberOrderFilterSensitiveLog(obj.PhoneNumberOrder) }),
|
|
369
398
|
});
|
|
370
|
-
export const GeoMatchParamsFilterSensitiveLog = (obj) => ({
|
|
371
|
-
...obj,
|
|
372
|
-
});
|
|
373
399
|
export const CreateProxySessionRequestFilterSensitiveLog = (obj) => ({
|
|
374
400
|
...obj,
|
|
375
401
|
...(obj.ParticipantPhoneNumbers && { ParticipantPhoneNumbers: SENSITIVE_STRING }),
|
|
@@ -413,79 +439,45 @@ export const CreateSipMediaApplicationCallRequestFilterSensitiveLog = (obj) => (
|
|
|
413
439
|
...(obj.SipHeaders && { SipHeaders: SENSITIVE_STRING }),
|
|
414
440
|
...(obj.ArgumentsMap && { ArgumentsMap: SENSITIVE_STRING }),
|
|
415
441
|
});
|
|
416
|
-
export const
|
|
417
|
-
...obj,
|
|
418
|
-
});
|
|
419
|
-
export const CreateSipMediaApplicationCallResponseFilterSensitiveLog = (obj) => ({
|
|
420
|
-
...obj,
|
|
421
|
-
});
|
|
422
|
-
export const SipRuleTargetApplicationFilterSensitiveLog = (obj) => ({
|
|
442
|
+
export const VoiceProfileFilterSensitiveLog = (obj) => ({
|
|
423
443
|
...obj,
|
|
444
|
+
...(obj.VoiceProfileArn && { VoiceProfileArn: SENSITIVE_STRING }),
|
|
424
445
|
});
|
|
425
|
-
export const
|
|
446
|
+
export const CreateVoiceProfileResponseFilterSensitiveLog = (obj) => ({
|
|
426
447
|
...obj,
|
|
448
|
+
...(obj.VoiceProfile && { VoiceProfile: VoiceProfileFilterSensitiveLog(obj.VoiceProfile) }),
|
|
427
449
|
});
|
|
428
|
-
export const
|
|
450
|
+
export const ServerSideEncryptionConfigurationFilterSensitiveLog = (obj) => ({
|
|
429
451
|
...obj,
|
|
452
|
+
...(obj.KmsKeyArn && { KmsKeyArn: SENSITIVE_STRING }),
|
|
430
453
|
});
|
|
431
|
-
export const
|
|
454
|
+
export const TagFilterSensitiveLog = (obj) => ({
|
|
432
455
|
...obj,
|
|
456
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
457
|
+
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
433
458
|
});
|
|
434
|
-
export const
|
|
435
|
-
...obj,
|
|
436
|
-
});
|
|
437
|
-
export const VoiceConnectorFilterSensitiveLog = (obj) => ({
|
|
438
|
-
...obj,
|
|
439
|
-
});
|
|
440
|
-
export const CreateVoiceConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
441
|
-
...obj,
|
|
442
|
-
});
|
|
443
|
-
export const VoiceConnectorItemFilterSensitiveLog = (obj) => ({
|
|
444
|
-
...obj,
|
|
445
|
-
});
|
|
446
|
-
export const CreateVoiceConnectorGroupRequestFilterSensitiveLog = (obj) => ({
|
|
459
|
+
export const CreateVoiceProfileDomainRequestFilterSensitiveLog = (obj) => ({
|
|
447
460
|
...obj,
|
|
461
|
+
...(obj.ServerSideEncryptionConfiguration && {
|
|
462
|
+
ServerSideEncryptionConfiguration: ServerSideEncryptionConfigurationFilterSensitiveLog(obj.ServerSideEncryptionConfiguration),
|
|
463
|
+
}),
|
|
464
|
+
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
448
465
|
});
|
|
449
|
-
export const
|
|
466
|
+
export const VoiceProfileDomainFilterSensitiveLog = (obj) => ({
|
|
450
467
|
...obj,
|
|
468
|
+
...(obj.VoiceProfileDomainArn && { VoiceProfileDomainArn: SENSITIVE_STRING }),
|
|
469
|
+
...(obj.ServerSideEncryptionConfiguration && {
|
|
470
|
+
ServerSideEncryptionConfiguration: ServerSideEncryptionConfigurationFilterSensitiveLog(obj.ServerSideEncryptionConfiguration),
|
|
471
|
+
}),
|
|
451
472
|
});
|
|
452
|
-
export const
|
|
473
|
+
export const CreateVoiceProfileDomainResponseFilterSensitiveLog = (obj) => ({
|
|
453
474
|
...obj,
|
|
475
|
+
...(obj.VoiceProfileDomain && { VoiceProfileDomain: VoiceProfileDomainFilterSensitiveLog(obj.VoiceProfileDomain) }),
|
|
454
476
|
});
|
|
455
477
|
export const DeletePhoneNumberRequestFilterSensitiveLog = (obj) => ({
|
|
456
478
|
...obj,
|
|
457
479
|
...(obj.PhoneNumberId && { PhoneNumberId: SENSITIVE_STRING }),
|
|
458
480
|
});
|
|
459
|
-
export const DeleteProxySessionRequestFilterSensitiveLog = (obj) => ({
|
|
460
|
-
...obj,
|
|
461
|
-
});
|
|
462
|
-
export const DeleteSipMediaApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
463
|
-
...obj,
|
|
464
|
-
});
|
|
465
|
-
export const DeleteSipRuleRequestFilterSensitiveLog = (obj) => ({
|
|
466
|
-
...obj,
|
|
467
|
-
});
|
|
468
|
-
export const DeleteVoiceConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
469
|
-
...obj,
|
|
470
|
-
});
|
|
471
|
-
export const DeleteVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
472
|
-
...obj,
|
|
473
|
-
});
|
|
474
|
-
export const DeleteVoiceConnectorGroupRequestFilterSensitiveLog = (obj) => ({
|
|
475
|
-
...obj,
|
|
476
|
-
});
|
|
477
|
-
export const DeleteVoiceConnectorOriginationRequestFilterSensitiveLog = (obj) => ({
|
|
478
|
-
...obj,
|
|
479
|
-
});
|
|
480
|
-
export const DeleteVoiceConnectorProxyRequestFilterSensitiveLog = (obj) => ({
|
|
481
|
-
...obj,
|
|
482
|
-
});
|
|
483
|
-
export const DeleteVoiceConnectorStreamingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
484
|
-
...obj,
|
|
485
|
-
});
|
|
486
|
-
export const DeleteVoiceConnectorTerminationRequestFilterSensitiveLog = (obj) => ({
|
|
487
|
-
...obj,
|
|
488
|
-
});
|
|
489
481
|
export const DeleteVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog = (obj) => ({
|
|
490
482
|
...obj,
|
|
491
483
|
...(obj.Usernames && { Usernames: SENSITIVE_STRING }),
|
|
@@ -510,22 +502,10 @@ export const DisassociatePhoneNumbersFromVoiceConnectorGroupResponseFilterSensit
|
|
|
510
502
|
PhoneNumberErrors: obj.PhoneNumberErrors.map((item) => PhoneNumberErrorFilterSensitiveLog(item)),
|
|
511
503
|
}),
|
|
512
504
|
});
|
|
513
|
-
export const VoiceConnectorSettingsFilterSensitiveLog = (obj) => ({
|
|
514
|
-
...obj,
|
|
515
|
-
});
|
|
516
|
-
export const GetGlobalSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
517
|
-
...obj,
|
|
518
|
-
});
|
|
519
505
|
export const GetPhoneNumberRequestFilterSensitiveLog = (obj) => ({
|
|
520
506
|
...obj,
|
|
521
507
|
...(obj.PhoneNumberId && { PhoneNumberId: SENSITIVE_STRING }),
|
|
522
508
|
});
|
|
523
|
-
export const PhoneNumberAssociationFilterSensitiveLog = (obj) => ({
|
|
524
|
-
...obj,
|
|
525
|
-
});
|
|
526
|
-
export const PhoneNumberCapabilitiesFilterSensitiveLog = (obj) => ({
|
|
527
|
-
...obj,
|
|
528
|
-
});
|
|
529
509
|
export const PhoneNumberFilterSensitiveLog = (obj) => ({
|
|
530
510
|
...obj,
|
|
531
511
|
...(obj.PhoneNumberId && { PhoneNumberId: SENSITIVE_STRING }),
|
|
@@ -536,9 +516,6 @@ export const GetPhoneNumberResponseFilterSensitiveLog = (obj) => ({
|
|
|
536
516
|
...obj,
|
|
537
517
|
...(obj.PhoneNumber && { PhoneNumber: PhoneNumberFilterSensitiveLog(obj.PhoneNumber) }),
|
|
538
518
|
});
|
|
539
|
-
export const GetPhoneNumberOrderRequestFilterSensitiveLog = (obj) => ({
|
|
540
|
-
...obj,
|
|
541
|
-
});
|
|
542
519
|
export const GetPhoneNumberOrderResponseFilterSensitiveLog = (obj) => ({
|
|
543
520
|
...obj,
|
|
544
521
|
...(obj.PhoneNumberOrder && { PhoneNumberOrder: PhoneNumberOrderFilterSensitiveLog(obj.PhoneNumberOrder) }),
|
|
@@ -547,25 +524,16 @@ export const GetPhoneNumberSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
|
547
524
|
...obj,
|
|
548
525
|
...(obj.CallingName && { CallingName: SENSITIVE_STRING }),
|
|
549
526
|
});
|
|
550
|
-
export const GetProxySessionRequestFilterSensitiveLog = (obj) => ({
|
|
551
|
-
...obj,
|
|
552
|
-
});
|
|
553
527
|
export const GetProxySessionResponseFilterSensitiveLog = (obj) => ({
|
|
554
528
|
...obj,
|
|
555
529
|
...(obj.ProxySession && { ProxySession: ProxySessionFilterSensitiveLog(obj.ProxySession) }),
|
|
556
530
|
});
|
|
557
|
-
export const GetSipMediaApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
558
|
-
...obj,
|
|
559
|
-
});
|
|
560
531
|
export const GetSipMediaApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
561
532
|
...obj,
|
|
562
533
|
...(obj.SipMediaApplication && {
|
|
563
534
|
SipMediaApplication: SipMediaApplicationFilterSensitiveLog(obj.SipMediaApplication),
|
|
564
535
|
}),
|
|
565
536
|
});
|
|
566
|
-
export const GetSipMediaApplicationAlexaSkillConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
567
|
-
...obj,
|
|
568
|
-
});
|
|
569
537
|
export const SipMediaApplicationAlexaSkillConfigurationFilterSensitiveLog = (obj) => ({
|
|
570
538
|
...obj,
|
|
571
539
|
...(obj.AlexaSkillIds && { AlexaSkillIds: SENSITIVE_STRING }),
|
|
@@ -576,30 +544,6 @@ export const GetSipMediaApplicationAlexaSkillConfigurationResponseFilterSensitiv
|
|
|
576
544
|
SipMediaApplicationAlexaSkillConfiguration: SipMediaApplicationAlexaSkillConfigurationFilterSensitiveLog(obj.SipMediaApplicationAlexaSkillConfiguration),
|
|
577
545
|
}),
|
|
578
546
|
});
|
|
579
|
-
export const GetSipMediaApplicationLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
580
|
-
...obj,
|
|
581
|
-
});
|
|
582
|
-
export const SipMediaApplicationLoggingConfigurationFilterSensitiveLog = (obj) => ({
|
|
583
|
-
...obj,
|
|
584
|
-
});
|
|
585
|
-
export const GetSipMediaApplicationLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
586
|
-
...obj,
|
|
587
|
-
});
|
|
588
|
-
export const GetSipRuleRequestFilterSensitiveLog = (obj) => ({
|
|
589
|
-
...obj,
|
|
590
|
-
});
|
|
591
|
-
export const GetSipRuleResponseFilterSensitiveLog = (obj) => ({
|
|
592
|
-
...obj,
|
|
593
|
-
});
|
|
594
|
-
export const GetVoiceConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
595
|
-
...obj,
|
|
596
|
-
});
|
|
597
|
-
export const GetVoiceConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
598
|
-
...obj,
|
|
599
|
-
});
|
|
600
|
-
export const GetVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
601
|
-
...obj,
|
|
602
|
-
});
|
|
603
547
|
export const DNISEmergencyCallingConfigurationFilterSensitiveLog = (obj) => ({
|
|
604
548
|
...obj,
|
|
605
549
|
...(obj.EmergencyPhoneNumber && { EmergencyPhoneNumber: SENSITIVE_STRING }),
|
|
@@ -615,36 +559,6 @@ export const GetVoiceConnectorEmergencyCallingConfigurationResponseFilterSensiti
|
|
|
615
559
|
EmergencyCallingConfiguration: EmergencyCallingConfigurationFilterSensitiveLog(obj.EmergencyCallingConfiguration),
|
|
616
560
|
}),
|
|
617
561
|
});
|
|
618
|
-
export const GetVoiceConnectorGroupRequestFilterSensitiveLog = (obj) => ({
|
|
619
|
-
...obj,
|
|
620
|
-
});
|
|
621
|
-
export const GetVoiceConnectorGroupResponseFilterSensitiveLog = (obj) => ({
|
|
622
|
-
...obj,
|
|
623
|
-
});
|
|
624
|
-
export const GetVoiceConnectorLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
625
|
-
...obj,
|
|
626
|
-
});
|
|
627
|
-
export const LoggingConfigurationFilterSensitiveLog = (obj) => ({
|
|
628
|
-
...obj,
|
|
629
|
-
});
|
|
630
|
-
export const GetVoiceConnectorLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
631
|
-
...obj,
|
|
632
|
-
});
|
|
633
|
-
export const GetVoiceConnectorOriginationRequestFilterSensitiveLog = (obj) => ({
|
|
634
|
-
...obj,
|
|
635
|
-
});
|
|
636
|
-
export const OriginationRouteFilterSensitiveLog = (obj) => ({
|
|
637
|
-
...obj,
|
|
638
|
-
});
|
|
639
|
-
export const OriginationFilterSensitiveLog = (obj) => ({
|
|
640
|
-
...obj,
|
|
641
|
-
});
|
|
642
|
-
export const GetVoiceConnectorOriginationResponseFilterSensitiveLog = (obj) => ({
|
|
643
|
-
...obj,
|
|
644
|
-
});
|
|
645
|
-
export const GetVoiceConnectorProxyRequestFilterSensitiveLog = (obj) => ({
|
|
646
|
-
...obj,
|
|
647
|
-
});
|
|
648
562
|
export const ProxyFilterSensitiveLog = (obj) => ({
|
|
649
563
|
...obj,
|
|
650
564
|
...(obj.FallBackPhoneNumber && { FallBackPhoneNumber: SENSITIVE_STRING }),
|
|
@@ -653,20 +567,21 @@ export const GetVoiceConnectorProxyResponseFilterSensitiveLog = (obj) => ({
|
|
|
653
567
|
...obj,
|
|
654
568
|
...(obj.Proxy && { Proxy: ProxyFilterSensitiveLog(obj.Proxy) }),
|
|
655
569
|
});
|
|
656
|
-
export const
|
|
657
|
-
...obj,
|
|
658
|
-
});
|
|
659
|
-
export const StreamingNotificationTargetFilterSensitiveLog = (obj) => ({
|
|
570
|
+
export const MediaInsightsConfigurationFilterSensitiveLog = (obj) => ({
|
|
660
571
|
...obj,
|
|
572
|
+
...(obj.ConfigurationArn && { ConfigurationArn: SENSITIVE_STRING }),
|
|
661
573
|
});
|
|
662
574
|
export const StreamingConfigurationFilterSensitiveLog = (obj) => ({
|
|
663
575
|
...obj,
|
|
576
|
+
...(obj.MediaInsightsConfiguration && {
|
|
577
|
+
MediaInsightsConfiguration: MediaInsightsConfigurationFilterSensitiveLog(obj.MediaInsightsConfiguration),
|
|
578
|
+
}),
|
|
664
579
|
});
|
|
665
580
|
export const GetVoiceConnectorStreamingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
666
581
|
...obj,
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
582
|
+
...(obj.StreamingConfiguration && {
|
|
583
|
+
StreamingConfiguration: StreamingConfigurationFilterSensitiveLog(obj.StreamingConfiguration),
|
|
584
|
+
}),
|
|
670
585
|
});
|
|
671
586
|
export const TerminationFilterSensitiveLog = (obj) => ({
|
|
672
587
|
...obj,
|
|
@@ -676,76 +591,58 @@ export const GetVoiceConnectorTerminationResponseFilterSensitiveLog = (obj) => (
|
|
|
676
591
|
...obj,
|
|
677
592
|
...(obj.Termination && { Termination: TerminationFilterSensitiveLog(obj.Termination) }),
|
|
678
593
|
});
|
|
679
|
-
export const
|
|
594
|
+
export const GetVoiceProfileResponseFilterSensitiveLog = (obj) => ({
|
|
680
595
|
...obj,
|
|
596
|
+
...(obj.VoiceProfile && { VoiceProfile: VoiceProfileFilterSensitiveLog(obj.VoiceProfile) }),
|
|
681
597
|
});
|
|
682
|
-
export const
|
|
683
|
-
...obj,
|
|
684
|
-
});
|
|
685
|
-
export const GetVoiceConnectorTerminationHealthResponseFilterSensitiveLog = (obj) => ({
|
|
686
|
-
...obj,
|
|
687
|
-
});
|
|
688
|
-
export const ListAvailableVoiceConnectorRegionsResponseFilterSensitiveLog = (obj) => ({
|
|
689
|
-
...obj,
|
|
690
|
-
});
|
|
691
|
-
export const ListPhoneNumberOrdersRequestFilterSensitiveLog = (obj) => ({
|
|
598
|
+
export const GetVoiceProfileDomainResponseFilterSensitiveLog = (obj) => ({
|
|
692
599
|
...obj,
|
|
600
|
+
...(obj.VoiceProfileDomain && { VoiceProfileDomain: VoiceProfileDomainFilterSensitiveLog(obj.VoiceProfileDomain) }),
|
|
693
601
|
});
|
|
694
602
|
export const ListPhoneNumberOrdersResponseFilterSensitiveLog = (obj) => ({
|
|
695
603
|
...obj,
|
|
696
604
|
});
|
|
697
|
-
export const ListPhoneNumbersRequestFilterSensitiveLog = (obj) => ({
|
|
698
|
-
...obj,
|
|
699
|
-
});
|
|
700
605
|
export const ListPhoneNumbersResponseFilterSensitiveLog = (obj) => ({
|
|
701
606
|
...obj,
|
|
702
607
|
...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
|
|
703
608
|
});
|
|
704
|
-
export const ListProxySessionsRequestFilterSensitiveLog = (obj) => ({
|
|
705
|
-
...obj,
|
|
706
|
-
});
|
|
707
609
|
export const ListProxySessionsResponseFilterSensitiveLog = (obj) => ({
|
|
708
610
|
...obj,
|
|
709
611
|
});
|
|
710
|
-
export const ListSipMediaApplicationsRequestFilterSensitiveLog = (obj) => ({
|
|
711
|
-
...obj,
|
|
712
|
-
});
|
|
713
612
|
export const ListSipMediaApplicationsResponseFilterSensitiveLog = (obj) => ({
|
|
714
613
|
...obj,
|
|
715
614
|
});
|
|
716
|
-
export const
|
|
717
|
-
...obj,
|
|
718
|
-
});
|
|
719
|
-
export const ListSipRulesResponseFilterSensitiveLog = (obj) => ({
|
|
720
|
-
...obj,
|
|
721
|
-
});
|
|
722
|
-
export const ListSupportedPhoneNumberCountriesRequestFilterSensitiveLog = (obj) => ({
|
|
615
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
723
616
|
...obj,
|
|
617
|
+
...(obj.ResourceARN && { ResourceARN: SENSITIVE_STRING }),
|
|
724
618
|
});
|
|
725
|
-
export const
|
|
619
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
726
620
|
...obj,
|
|
621
|
+
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
727
622
|
});
|
|
728
|
-
export const
|
|
729
|
-
...obj,
|
|
730
|
-
});
|
|
731
|
-
export const ListVoiceConnectorGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
732
|
-
...obj,
|
|
733
|
-
});
|
|
734
|
-
export const ListVoiceConnectorGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
623
|
+
export const ListVoiceConnectorTerminationCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
735
624
|
...obj,
|
|
625
|
+
...(obj.Usernames && { Usernames: SENSITIVE_STRING }),
|
|
736
626
|
});
|
|
737
|
-
export const
|
|
627
|
+
export const VoiceProfileDomainSummaryFilterSensitiveLog = (obj) => ({
|
|
738
628
|
...obj,
|
|
629
|
+
...(obj.VoiceProfileDomainArn && { VoiceProfileDomainArn: SENSITIVE_STRING }),
|
|
739
630
|
});
|
|
740
|
-
export const
|
|
631
|
+
export const ListVoiceProfileDomainsResponseFilterSensitiveLog = (obj) => ({
|
|
741
632
|
...obj,
|
|
633
|
+
...(obj.VoiceProfileDomains && {
|
|
634
|
+
VoiceProfileDomains: obj.VoiceProfileDomains.map((item) => VoiceProfileDomainSummaryFilterSensitiveLog(item)),
|
|
635
|
+
}),
|
|
742
636
|
});
|
|
743
|
-
export const
|
|
637
|
+
export const VoiceProfileSummaryFilterSensitiveLog = (obj) => ({
|
|
744
638
|
...obj,
|
|
639
|
+
...(obj.VoiceProfileArn && { VoiceProfileArn: SENSITIVE_STRING }),
|
|
745
640
|
});
|
|
746
|
-
export const
|
|
641
|
+
export const ListVoiceProfilesResponseFilterSensitiveLog = (obj) => ({
|
|
747
642
|
...obj,
|
|
748
|
-
...(obj.
|
|
643
|
+
...(obj.VoiceProfiles && {
|
|
644
|
+
VoiceProfiles: obj.VoiceProfiles.map((item) => VoiceProfileSummaryFilterSensitiveLog(item)),
|
|
645
|
+
}),
|
|
749
646
|
});
|
|
750
647
|
export const PutSipMediaApplicationAlexaSkillConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
751
648
|
...obj,
|
|
@@ -759,12 +656,6 @@ export const PutSipMediaApplicationAlexaSkillConfigurationResponseFilterSensitiv
|
|
|
759
656
|
SipMediaApplicationAlexaSkillConfiguration: SipMediaApplicationAlexaSkillConfigurationFilterSensitiveLog(obj.SipMediaApplicationAlexaSkillConfiguration),
|
|
760
657
|
}),
|
|
761
658
|
});
|
|
762
|
-
export const PutSipMediaApplicationLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
763
|
-
...obj,
|
|
764
|
-
});
|
|
765
|
-
export const PutSipMediaApplicationLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
766
|
-
...obj,
|
|
767
|
-
});
|
|
768
659
|
export const PutVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
769
660
|
...obj,
|
|
770
661
|
...(obj.EmergencyCallingConfiguration && {
|
|
@@ -777,18 +668,6 @@ export const PutVoiceConnectorEmergencyCallingConfigurationResponseFilterSensiti
|
|
|
777
668
|
EmergencyCallingConfiguration: EmergencyCallingConfigurationFilterSensitiveLog(obj.EmergencyCallingConfiguration),
|
|
778
669
|
}),
|
|
779
670
|
});
|
|
780
|
-
export const PutVoiceConnectorLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
781
|
-
...obj,
|
|
782
|
-
});
|
|
783
|
-
export const PutVoiceConnectorLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
784
|
-
...obj,
|
|
785
|
-
});
|
|
786
|
-
export const PutVoiceConnectorOriginationRequestFilterSensitiveLog = (obj) => ({
|
|
787
|
-
...obj,
|
|
788
|
-
});
|
|
789
|
-
export const PutVoiceConnectorOriginationResponseFilterSensitiveLog = (obj) => ({
|
|
790
|
-
...obj,
|
|
791
|
-
});
|
|
792
671
|
export const PutVoiceConnectorProxyRequestFilterSensitiveLog = (obj) => ({
|
|
793
672
|
...obj,
|
|
794
673
|
...(obj.FallBackPhoneNumber && { FallBackPhoneNumber: SENSITIVE_STRING }),
|
|
@@ -799,9 +678,15 @@ export const PutVoiceConnectorProxyResponseFilterSensitiveLog = (obj) => ({
|
|
|
799
678
|
});
|
|
800
679
|
export const PutVoiceConnectorStreamingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
801
680
|
...obj,
|
|
681
|
+
...(obj.StreamingConfiguration && {
|
|
682
|
+
StreamingConfiguration: StreamingConfigurationFilterSensitiveLog(obj.StreamingConfiguration),
|
|
683
|
+
}),
|
|
802
684
|
});
|
|
803
685
|
export const PutVoiceConnectorStreamingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
804
686
|
...obj,
|
|
687
|
+
...(obj.StreamingConfiguration && {
|
|
688
|
+
StreamingConfiguration: StreamingConfigurationFilterSensitiveLog(obj.StreamingConfiguration),
|
|
689
|
+
}),
|
|
805
690
|
});
|
|
806
691
|
export const PutVoiceConnectorTerminationRequestFilterSensitiveLog = (obj) => ({
|
|
807
692
|
...obj,
|
|
@@ -828,15 +713,19 @@ export const RestorePhoneNumberResponseFilterSensitiveLog = (obj) => ({
|
|
|
828
713
|
...obj,
|
|
829
714
|
...(obj.PhoneNumber && { PhoneNumber: PhoneNumberFilterSensitiveLog(obj.PhoneNumber) }),
|
|
830
715
|
});
|
|
831
|
-
export const SearchAvailablePhoneNumbersRequestFilterSensitiveLog = (obj) => ({
|
|
832
|
-
...obj,
|
|
833
|
-
});
|
|
834
716
|
export const SearchAvailablePhoneNumbersResponseFilterSensitiveLog = (obj) => ({
|
|
835
717
|
...obj,
|
|
836
718
|
...(obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }),
|
|
837
719
|
});
|
|
838
|
-
export const
|
|
720
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
721
|
+
...obj,
|
|
722
|
+
...(obj.ResourceARN && { ResourceARN: SENSITIVE_STRING }),
|
|
723
|
+
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
724
|
+
});
|
|
725
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
839
726
|
...obj,
|
|
727
|
+
...(obj.ResourceARN && { ResourceARN: SENSITIVE_STRING }),
|
|
728
|
+
...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
|
|
840
729
|
});
|
|
841
730
|
export const UpdatePhoneNumberRequestFilterSensitiveLog = (obj) => ({
|
|
842
731
|
...obj,
|
|
@@ -851,9 +740,6 @@ export const UpdatePhoneNumberSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
|
851
740
|
...obj,
|
|
852
741
|
...(obj.CallingName && { CallingName: SENSITIVE_STRING }),
|
|
853
742
|
});
|
|
854
|
-
export const UpdateProxySessionRequestFilterSensitiveLog = (obj) => ({
|
|
855
|
-
...obj,
|
|
856
|
-
});
|
|
857
743
|
export const UpdateProxySessionResponseFilterSensitiveLog = (obj) => ({
|
|
858
744
|
...obj,
|
|
859
745
|
...(obj.ProxySession && { ProxySession: ProxySessionFilterSensitiveLog(obj.ProxySession) }),
|
|
@@ -872,26 +758,13 @@ export const UpdateSipMediaApplicationCallRequestFilterSensitiveLog = (obj) => (
|
|
|
872
758
|
...obj,
|
|
873
759
|
...(obj.Arguments && { Arguments: SENSITIVE_STRING }),
|
|
874
760
|
});
|
|
875
|
-
export const
|
|
876
|
-
...obj,
|
|
877
|
-
});
|
|
878
|
-
export const UpdateSipRuleRequestFilterSensitiveLog = (obj) => ({
|
|
879
|
-
...obj,
|
|
880
|
-
});
|
|
881
|
-
export const UpdateSipRuleResponseFilterSensitiveLog = (obj) => ({
|
|
882
|
-
...obj,
|
|
883
|
-
});
|
|
884
|
-
export const UpdateVoiceConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
885
|
-
...obj,
|
|
886
|
-
});
|
|
887
|
-
export const UpdateVoiceConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
888
|
-
...obj,
|
|
889
|
-
});
|
|
890
|
-
export const UpdateVoiceConnectorGroupRequestFilterSensitiveLog = (obj) => ({
|
|
761
|
+
export const UpdateVoiceProfileResponseFilterSensitiveLog = (obj) => ({
|
|
891
762
|
...obj,
|
|
763
|
+
...(obj.VoiceProfile && { VoiceProfile: VoiceProfileFilterSensitiveLog(obj.VoiceProfile) }),
|
|
892
764
|
});
|
|
893
|
-
export const
|
|
765
|
+
export const UpdateVoiceProfileDomainResponseFilterSensitiveLog = (obj) => ({
|
|
894
766
|
...obj,
|
|
767
|
+
...(obj.VoiceProfileDomain && { VoiceProfileDomain: VoiceProfileDomainFilterSensitiveLog(obj.VoiceProfileDomain) }),
|
|
895
768
|
});
|
|
896
769
|
export const ValidateE911AddressRequestFilterSensitiveLog = (obj) => ({
|
|
897
770
|
...obj,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
|
+
import { ListVoiceProfileDomainsCommand, } from "../commands/ListVoiceProfileDomainsCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListVoiceProfileDomainsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListVoiceProfileDomains(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof ChimeSDKVoiceClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
|
+
import { ListVoiceProfilesCommand, } from "../commands/ListVoiceProfilesCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListVoiceProfilesCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListVoiceProfiles(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof ChimeSDKVoiceClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -6,4 +6,6 @@ export * from "./ListSipMediaApplicationsPaginator";
|
|
|
6
6
|
export * from "./ListSipRulesPaginator";
|
|
7
7
|
export * from "./ListVoiceConnectorGroupsPaginator";
|
|
8
8
|
export * from "./ListVoiceConnectorsPaginator";
|
|
9
|
+
export * from "./ListVoiceProfileDomainsPaginator";
|
|
10
|
+
export * from "./ListVoiceProfilesPaginator";
|
|
9
11
|
export * from "./SearchAvailablePhoneNumbersPaginator";
|