channelSubtypeConfig: ChannelSubtypeConfigFilterSensitiveLog()

in clients/client-connectcampaignsv2/src/models/models_0.ts [2896:2955]


    channelSubtypeConfig: ChannelSubtypeConfigFilterSensitiveLog(obj.channelSubtypeConfig),
  }),
  ...(obj.source && { source: obj.source }),
  ...(obj.communicationTimeConfig && { communicationTimeConfig: obj.communicationTimeConfig }),
  ...(obj.communicationLimitsOverride && { communicationLimitsOverride: obj.communicationLimitsOverride }),
});

/**
 * @internal
 */
export const DescribeCampaignResponseFilterSensitiveLog = (obj: DescribeCampaignResponse): any => ({
  ...obj,
  ...(obj.campaign && { campaign: CampaignFilterSensitiveLog(obj.campaign) }),
});

/**
 * @internal
 */
export const EmailChannelSubtypeParametersFilterSensitiveLog = (obj: EmailChannelSubtypeParameters): any => ({
  ...obj,
  ...(obj.destinationEmailAddress && { destinationEmailAddress: SENSITIVE_STRING }),
  ...(obj.connectSourceEmailAddress && { connectSourceEmailAddress: SENSITIVE_STRING }),
  ...(obj.templateParameters && { templateParameters: SENSITIVE_STRING }),
});

/**
 * @internal
 */
export const SmsChannelSubtypeParametersFilterSensitiveLog = (obj: SmsChannelSubtypeParameters): any => ({
  ...obj,
  ...(obj.destinationPhoneNumber && { destinationPhoneNumber: SENSITIVE_STRING }),
  ...(obj.templateParameters && { templateParameters: SENSITIVE_STRING }),
});

/**
 * @internal
 */
export const TelephonyChannelSubtypeParametersFilterSensitiveLog = (obj: TelephonyChannelSubtypeParameters): any => ({
  ...obj,
  ...(obj.destinationPhoneNumber && { destinationPhoneNumber: SENSITIVE_STRING }),
  ...(obj.attributes && { attributes: SENSITIVE_STRING }),
});

/**
 * @internal
 */
export const ChannelSubtypeParametersFilterSensitiveLog = (obj: ChannelSubtypeParameters): any => {
  if (obj.telephony !== undefined)
    return { telephony: TelephonyChannelSubtypeParametersFilterSensitiveLog(obj.telephony) };
  if (obj.sms !== undefined) return { sms: SmsChannelSubtypeParametersFilterSensitiveLog(obj.sms) };
  if (obj.email !== undefined) return { email: EmailChannelSubtypeParametersFilterSensitiveLog(obj.email) };
  if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
};

/**
 * @internal
 */
export const OutboundRequestFilterSensitiveLog = (obj: OutboundRequest): any => ({
  ...obj,
  ...(obj.channelSubtypeParameters && {