@aws-sdk/client-chime-sdk-voice 3.312.0 → 3.315.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.
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateVoiceConnectorRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { de_CreateVoiceConnectorCommand, se_CreateVoiceConnectorCommand } from "../protocols/Aws_restJson1";
5
6
  export class CreateVoiceConnectorCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
@@ -26,7 +27,7 @@ export class CreateVoiceConnectorCommand extends $Command {
26
27
  logger,
27
28
  clientName,
28
29
  commandName,
29
- inputFilterSensitiveLog: (_) => _,
30
+ inputFilterSensitiveLog: CreateVoiceConnectorRequestFilterSensitiveLog,
30
31
  outputFilterSensitiveLog: (_) => _,
31
32
  };
32
33
  const { requestHandler } = configuration;
@@ -399,9 +399,15 @@ export const SipMediaApplicationEndpointFilterSensitiveLog = (obj) => ({
399
399
  ...obj,
400
400
  ...(obj.LambdaArn && { LambdaArn: SENSITIVE_STRING }),
401
401
  });
402
+ export const TagFilterSensitiveLog = (obj) => ({
403
+ ...obj,
404
+ ...(obj.Key && { Key: SENSITIVE_STRING }),
405
+ ...(obj.Value && { Value: SENSITIVE_STRING }),
406
+ });
402
407
  export const CreateSipMediaApplicationRequestFilterSensitiveLog = (obj) => ({
403
408
  ...obj,
404
409
  ...(obj.Endpoints && { Endpoints: obj.Endpoints.map((item) => SipMediaApplicationEndpointFilterSensitiveLog(item)) }),
410
+ ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
405
411
  });
406
412
  export const SipMediaApplicationFilterSensitiveLog = (obj) => ({
407
413
  ...obj,
@@ -420,6 +426,10 @@ export const CreateSipMediaApplicationCallRequestFilterSensitiveLog = (obj) => (
420
426
  ...(obj.SipHeaders && { SipHeaders: SENSITIVE_STRING }),
421
427
  ...(obj.ArgumentsMap && { ArgumentsMap: SENSITIVE_STRING }),
422
428
  });
429
+ export const CreateVoiceConnectorRequestFilterSensitiveLog = (obj) => ({
430
+ ...obj,
431
+ ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
432
+ });
423
433
  export const VoiceProfileFilterSensitiveLog = (obj) => ({
424
434
  ...obj,
425
435
  ...(obj.VoiceProfileArn && { VoiceProfileArn: SENSITIVE_STRING }),
@@ -432,11 +442,6 @@ export const ServerSideEncryptionConfigurationFilterSensitiveLog = (obj) => ({
432
442
  ...obj,
433
443
  ...(obj.KmsKeyArn && { KmsKeyArn: SENSITIVE_STRING }),
434
444
  });
435
- export const TagFilterSensitiveLog = (obj) => ({
436
- ...obj,
437
- ...(obj.Key && { Key: SENSITIVE_STRING }),
438
- ...(obj.Value && { Value: SENSITIVE_STRING }),
439
- });
440
445
  export const CreateVoiceProfileDomainRequestFilterSensitiveLog = (obj) => ({
441
446
  ...obj,
442
447
  ...(obj.ServerSideEncryptionConfiguration && {