@aws-sdk/client-connect 3.696.0 → 3.701.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 +88 -0
- package/dist-cjs/index.js +1021 -119
- package/dist-es/Connect.js +22 -0
- package/dist-es/commands/CreateContactCommand.js +23 -0
- package/dist-es/commands/CreateEmailAddressCommand.js +23 -0
- package/dist-es/commands/DeleteEmailAddressCommand.js +22 -0
- package/dist-es/commands/DescribeContactCommand.js +1 -1
- package/dist-es/commands/DescribeEmailAddressCommand.js +23 -0
- package/dist-es/commands/ListAssociatedContactsCommand.js +22 -0
- package/dist-es/commands/SearchEmailAddressesCommand.js +23 -0
- package/dist-es/commands/SendOutboundEmailCommand.js +23 -0
- package/dist-es/commands/StartEmailContactCommand.js +23 -0
- package/dist-es/commands/StartOutboundEmailContactCommand.js +23 -0
- package/dist-es/commands/StartTaskContactCommand.js +1 -1
- package/dist-es/commands/UpdateContactCommand.js +1 -1
- package/dist-es/commands/UpdateEmailAddressMetadataCommand.js +23 -0
- package/dist-es/commands/UpdateQueueOutboundEmailConfigCommand.js +22 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +67 -24
- package/dist-es/models/models_1.js +24 -40
- package/dist-es/models/models_2.js +142 -19
- package/dist-es/models/models_3.js +33 -0
- package/dist-es/protocols/Aws_restJson1.js +470 -10
- package/dist-types/Connect.d.ts +77 -0
- package/dist-types/ConnectClient.d.ts +13 -2
- package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
- package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
- package/dist-types/commands/BatchPutContactCommand.d.ts +2 -2
- package/dist-types/commands/CreateContactCommand.d.ts +139 -0
- package/dist-types/commands/CreateEmailAddressCommand.d.ts +111 -0
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateQueueCommand.d.ts +3 -0
- package/dist-types/commands/CreateRoutingProfileCommand.d.ts +2 -2
- package/dist-types/commands/CreateRuleCommand.d.ts +5 -2
- package/dist-types/commands/CreateTaskTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DeleteEmailAddressCommand.d.ts +91 -0
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeAgentStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactCommand.d.ts +39 -4
- package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -2
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEmailAddressCommand.d.ts +99 -0
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQueueCommand.d.ts +3 -0
- package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +5 -2
- package/dist-types/commands/DisassociateFlowCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/GetAttachedFileCommand.d.ts +1 -1
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -2
- package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -2
- package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
- package/dist-types/commands/GetMetricDataCommand.d.ts +2 -2
- package/dist-types/commands/GetTaskTemplateCommand.d.ts +2 -1
- package/dist-types/commands/ListAssociatedContactsCommand.d.ts +103 -0
- package/dist-types/commands/ListContactReferencesCommand.d.ts +7 -2
- package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +3 -2
- package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -2
- package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -2
- package/dist-types/commands/SearchAgentStatusesCommand.d.ts +2 -1
- package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +2 -1
- package/dist-types/commands/SearchContactFlowsCommand.d.ts +3 -4
- package/dist-types/commands/SearchContactsCommand.d.ts +20 -4
- package/dist-types/commands/SearchEmailAddressesCommand.d.ts +146 -0
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -1
- package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +2 -1
- package/dist-types/commands/SearchPromptsCommand.d.ts +2 -1
- package/dist-types/commands/SearchQueuesCommand.d.ts +5 -1
- package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -1
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -2
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
- package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -1
- package/dist-types/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/commands/SendOutboundEmailCommand.d.ts +135 -0
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +4 -2
- package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
- package/dist-types/commands/StartEmailContactCommand.d.ts +162 -0
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +14 -3
- package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +129 -0
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -2
- package/dist-types/commands/StartTaskContactCommand.d.ts +22 -3
- package/dist-types/commands/StartWebRTCContactCommand.d.ts +5 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContactCommand.d.ts +22 -3
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +98 -0
- package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +2 -1
- package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +94 -0
- package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRuleCommand.d.ts +5 -2
- package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +4 -2
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +317 -321
- package/dist-types/models/models_1.d.ts +567 -624
- package/dist-types/models/models_2.d.ts +3704 -3854
- package/dist-types/models/models_3.d.ts +1650 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
- package/dist-types/ts3.4/Connect.d.ts +187 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateEmailAddressCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEmailAddressCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeAgentStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEmailAddressCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAssociatedContactsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchEmailAddressesCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SendOutboundEmailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartOutboundEmailContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateEmailAddressMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +122 -90
- package/dist-types/ts3.4/models/models_1.d.ts +155 -213
- package/dist-types/ts3.4/models/models_2.d.ts +436 -296
- package/dist-types/ts3.4/models/models_3.d.ts +363 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
- package/package.json +4 -4
|
@@ -105,19 +105,23 @@ export const ContactState = {
|
|
|
105
105
|
};
|
|
106
106
|
export const Channel = {
|
|
107
107
|
CHAT: "CHAT",
|
|
108
|
+
EMAIL: "EMAIL",
|
|
108
109
|
TASK: "TASK",
|
|
109
110
|
VOICE: "VOICE",
|
|
110
111
|
};
|
|
111
112
|
export const ContactInitiationMethod = {
|
|
113
|
+
AGENT_REPLY: "AGENT_REPLY",
|
|
112
114
|
API: "API",
|
|
113
115
|
CALLBACK: "CALLBACK",
|
|
114
116
|
DISCONNECT: "DISCONNECT",
|
|
115
117
|
EXTERNAL_OUTBOUND: "EXTERNAL_OUTBOUND",
|
|
118
|
+
FLOW: "FLOW",
|
|
116
119
|
INBOUND: "INBOUND",
|
|
117
120
|
MONITOR: "MONITOR",
|
|
118
121
|
OUTBOUND: "OUTBOUND",
|
|
119
122
|
QUEUE_TRANSFER: "QUEUE_TRANSFER",
|
|
120
123
|
TRANSFER: "TRANSFER",
|
|
124
|
+
WEBRTC_API: "WEBRTC_API",
|
|
121
125
|
};
|
|
122
126
|
export const ScreenShareCapability = {
|
|
123
127
|
SEND: "SEND",
|
|
@@ -170,6 +174,18 @@ export class InvalidRequestException extends __BaseException {
|
|
|
170
174
|
this.Reason = opts.Reason;
|
|
171
175
|
}
|
|
172
176
|
}
|
|
177
|
+
export const AttachedFileServiceQuotaExceededExceptionReason = {
|
|
178
|
+
TOTAL_FILE_COUNT_EXCEEDED: "TOTAL_FILE_COUNT_EXCEEDED",
|
|
179
|
+
TOTAL_FILE_SIZE_EXCEEDED: "TOTAL_FILE_SIZE_EXCEEDED",
|
|
180
|
+
};
|
|
181
|
+
export var ServiceQuotaExceededExceptionReason;
|
|
182
|
+
(function (ServiceQuotaExceededExceptionReason) {
|
|
183
|
+
ServiceQuotaExceededExceptionReason.visit = (value, visitor) => {
|
|
184
|
+
if (value.AttachedFileServiceQuotaExceededExceptionReason !== undefined)
|
|
185
|
+
return visitor.AttachedFileServiceQuotaExceededExceptionReason(value.AttachedFileServiceQuotaExceededExceptionReason);
|
|
186
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
187
|
+
};
|
|
188
|
+
})(ServiceQuotaExceededExceptionReason || (ServiceQuotaExceededExceptionReason = {}));
|
|
173
189
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
174
190
|
constructor(opts) {
|
|
175
191
|
super({
|
|
@@ -181,6 +197,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
181
197
|
this.$fault = "client";
|
|
182
198
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
183
199
|
this.Message = opts.Message;
|
|
200
|
+
this.Reason = opts.Reason;
|
|
184
201
|
}
|
|
185
202
|
}
|
|
186
203
|
export class LimitExceededException extends __BaseException {
|
|
@@ -232,6 +249,8 @@ export const VocabularyLanguageCode = {
|
|
|
232
249
|
ZH_CN: "zh-CN",
|
|
233
250
|
};
|
|
234
251
|
export const FlowAssociationResourceType = {
|
|
252
|
+
INBOUND_EMAIL: "INBOUND_EMAIL",
|
|
253
|
+
OUTBOUND_EMAIL: "OUTBOUND_EMAIL",
|
|
235
254
|
SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER",
|
|
236
255
|
};
|
|
237
256
|
export const InstanceStorageResourceType = {
|
|
@@ -241,6 +260,7 @@ export const InstanceStorageResourceType = {
|
|
|
241
260
|
CHAT_TRANSCRIPTS: "CHAT_TRANSCRIPTS",
|
|
242
261
|
CONTACT_EVALUATIONS: "CONTACT_EVALUATIONS",
|
|
243
262
|
CONTACT_TRACE_RECORDS: "CONTACT_TRACE_RECORDS",
|
|
263
|
+
EMAIL_MESSAGES: "EMAIL_MESSAGES",
|
|
244
264
|
MEDIA_STREAMS: "MEDIA_STREAMS",
|
|
245
265
|
REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS",
|
|
246
266
|
REAL_TIME_CONTACT_ANALYSIS_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS",
|
|
@@ -275,13 +295,17 @@ export const FileStatusType = {
|
|
|
275
295
|
};
|
|
276
296
|
export const FileUseCaseType = {
|
|
277
297
|
ATTACHMENT: "ATTACHMENT",
|
|
298
|
+
EMAIL_MESSAGE: "EMAIL_MESSAGE",
|
|
278
299
|
};
|
|
279
300
|
export const ListFlowAssociationResourceType = {
|
|
301
|
+
INBOUND_EMAIL: "INBOUND_EMAIL",
|
|
302
|
+
OUTBOUND_EMAIL: "OUTBOUND_EMAIL",
|
|
280
303
|
VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER",
|
|
281
304
|
};
|
|
282
305
|
export const EndpointType = {
|
|
283
306
|
CONNECT_PHONENUMBER_ARN: "CONNECT_PHONENUMBER_ARN",
|
|
284
307
|
CONTACT_FLOW: "CONTACT_FLOW",
|
|
308
|
+
EMAIL_ADDRESS: "EMAIL_ADDRESS",
|
|
285
309
|
TELEPHONE_NUMBER: "TELEPHONE_NUMBER",
|
|
286
310
|
VOIP: "VOIP",
|
|
287
311
|
};
|
|
@@ -323,6 +347,40 @@ export class DuplicateResourceException extends __BaseException {
|
|
|
323
347
|
this.Message = opts.Message;
|
|
324
348
|
}
|
|
325
349
|
}
|
|
350
|
+
export class ConflictException extends __BaseException {
|
|
351
|
+
constructor(opts) {
|
|
352
|
+
super({
|
|
353
|
+
name: "ConflictException",
|
|
354
|
+
$fault: "client",
|
|
355
|
+
...opts,
|
|
356
|
+
});
|
|
357
|
+
this.name = "ConflictException";
|
|
358
|
+
this.$fault = "client";
|
|
359
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
360
|
+
this.Message = opts.Message;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
export const InitiateAs = {
|
|
364
|
+
CONNECTED_TO_USER: "CONNECTED_TO_USER",
|
|
365
|
+
};
|
|
366
|
+
export const ReferenceStatus = {
|
|
367
|
+
APPROVED: "APPROVED",
|
|
368
|
+
AVAILABLE: "AVAILABLE",
|
|
369
|
+
DELETED: "DELETED",
|
|
370
|
+
FAILED: "FAILED",
|
|
371
|
+
PROCESSING: "PROCESSING",
|
|
372
|
+
REJECTED: "REJECTED",
|
|
373
|
+
};
|
|
374
|
+
export const ReferenceType = {
|
|
375
|
+
ATTACHMENT: "ATTACHMENT",
|
|
376
|
+
CONTACT_ANALYSIS: "CONTACT_ANALYSIS",
|
|
377
|
+
DATE: "DATE",
|
|
378
|
+
EMAIL: "EMAIL",
|
|
379
|
+
EMAIL_MESSAGE: "EMAIL_MESSAGE",
|
|
380
|
+
NUMBER: "NUMBER",
|
|
381
|
+
STRING: "STRING",
|
|
382
|
+
URL: "URL",
|
|
383
|
+
};
|
|
326
384
|
export const ContactFlowStatus = {
|
|
327
385
|
PUBLISHED: "PUBLISHED",
|
|
328
386
|
SAVED: "SAVED",
|
|
@@ -442,6 +500,7 @@ export const IntegrationType = {
|
|
|
442
500
|
FILE_SCANNER: "FILE_SCANNER",
|
|
443
501
|
PINPOINT_APP: "PINPOINT_APP",
|
|
444
502
|
Q_MESSAGE_TEMPLATES: "Q_MESSAGE_TEMPLATES",
|
|
503
|
+
SES_IDENTITY: "SES_IDENTITY",
|
|
445
504
|
VOICE_ID: "VOICE_ID",
|
|
446
505
|
WISDOM_ASSISTANT: "WISDOM_ASSISTANT",
|
|
447
506
|
WISDOM_KNOWLEDGE_BASE: "WISDOM_KNOWLEDGE_BASE",
|
|
@@ -486,14 +545,6 @@ export const NotificationContentType = {
|
|
|
486
545
|
export const NotificationDeliveryType = {
|
|
487
546
|
EMAIL: "EMAIL",
|
|
488
547
|
};
|
|
489
|
-
export const ReferenceType = {
|
|
490
|
-
ATTACHMENT: "ATTACHMENT",
|
|
491
|
-
DATE: "DATE",
|
|
492
|
-
EMAIL: "EMAIL",
|
|
493
|
-
NUMBER: "NUMBER",
|
|
494
|
-
STRING: "STRING",
|
|
495
|
-
URL: "URL",
|
|
496
|
-
};
|
|
497
548
|
export const RulePublishStatus = {
|
|
498
549
|
DRAFT: "DRAFT",
|
|
499
550
|
PUBLISHED: "PUBLISHED",
|
|
@@ -516,10 +567,12 @@ export const TaskTemplateFieldType = {
|
|
|
516
567
|
DATE_TIME: "DATE_TIME",
|
|
517
568
|
DESCRIPTION: "DESCRIPTION",
|
|
518
569
|
EMAIL: "EMAIL",
|
|
570
|
+
EXPIRY_DURATION: "EXPIRY_DURATION",
|
|
519
571
|
NAME: "NAME",
|
|
520
572
|
NUMBER: "NUMBER",
|
|
521
573
|
QUICK_CONNECT: "QUICK_CONNECT",
|
|
522
574
|
SCHEDULED_TIME: "SCHEDULED_TIME",
|
|
575
|
+
SELF_ASSIGN: "SELF_ASSIGN",
|
|
523
576
|
SINGLE_SELECT: "SINGLE_SELECT",
|
|
524
577
|
TEXT: "TEXT",
|
|
525
578
|
TEXT_AREA: "TEXT_AREA",
|
|
@@ -624,22 +677,12 @@ export const VocabularyState = {
|
|
|
624
677
|
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
625
678
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
626
679
|
};
|
|
627
|
-
export const
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
ERROR: "ERROR",
|
|
634
|
-
FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED",
|
|
635
|
-
HUMAN_ANSWERED: "HUMAN_ANSWERED",
|
|
636
|
-
SIT_TONE_BUSY: "SIT_TONE_BUSY",
|
|
637
|
-
SIT_TONE_DETECTED: "SIT_TONE_DETECTED",
|
|
638
|
-
SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER",
|
|
639
|
-
UNDETECTED: "UNDETECTED",
|
|
640
|
-
VOICEMAIL_BEEP: "VOICEMAIL_BEEP",
|
|
641
|
-
VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP",
|
|
642
|
-
};
|
|
680
|
+
export const CreateEmailAddressRequestFilterSensitiveLog = (obj) => ({
|
|
681
|
+
...obj,
|
|
682
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
683
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
684
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
685
|
+
});
|
|
643
686
|
export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
644
687
|
...obj,
|
|
645
688
|
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export const AnsweringMachineDetectionStatus = {
|
|
5
|
+
AMD_ERROR: "AMD_ERROR",
|
|
6
|
+
AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE",
|
|
7
|
+
AMD_UNANSWERED: "AMD_UNANSWERED",
|
|
8
|
+
AMD_UNRESOLVED: "AMD_UNRESOLVED",
|
|
9
|
+
ANSWERED: "ANSWERED",
|
|
10
|
+
ERROR: "ERROR",
|
|
11
|
+
FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED",
|
|
12
|
+
HUMAN_ANSWERED: "HUMAN_ANSWERED",
|
|
13
|
+
SIT_TONE_BUSY: "SIT_TONE_BUSY",
|
|
14
|
+
SIT_TONE_DETECTED: "SIT_TONE_DETECTED",
|
|
15
|
+
SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER",
|
|
16
|
+
UNDETECTED: "UNDETECTED",
|
|
17
|
+
VOICEMAIL_BEEP: "VOICEMAIL_BEEP",
|
|
18
|
+
VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP",
|
|
19
|
+
};
|
|
4
20
|
export const RoutingCriteriaStepStatus = {
|
|
5
21
|
ACTIVE: "ACTIVE",
|
|
6
22
|
EXPIRED: "EXPIRED",
|
|
@@ -433,10 +449,6 @@ export const LexVersion = {
|
|
|
433
449
|
V1: "V1",
|
|
434
450
|
V2: "V2",
|
|
435
451
|
};
|
|
436
|
-
export const ReferenceStatus = {
|
|
437
|
-
APPROVED: "APPROVED",
|
|
438
|
-
REJECTED: "REJECTED",
|
|
439
|
-
};
|
|
440
452
|
export var ReferenceSummary;
|
|
441
453
|
(function (ReferenceSummary) {
|
|
442
454
|
ReferenceSummary.visit = (value, visitor) => {
|
|
@@ -444,6 +456,8 @@ export var ReferenceSummary;
|
|
|
444
456
|
return visitor.Url(value.Url);
|
|
445
457
|
if (value.Attachment !== undefined)
|
|
446
458
|
return visitor.Attachment(value.Attachment);
|
|
459
|
+
if (value.EmailMessage !== undefined)
|
|
460
|
+
return visitor.EmailMessage(value.EmailMessage);
|
|
447
461
|
if (value.String !== undefined)
|
|
448
462
|
return visitor.String(value.String);
|
|
449
463
|
if (value.Number !== undefined)
|
|
@@ -504,42 +518,12 @@ export const RealTimeContactAnalysisSentimentLabel = {
|
|
|
504
518
|
NEUTRAL: "NEUTRAL",
|
|
505
519
|
POSITIVE: "POSITIVE",
|
|
506
520
|
};
|
|
507
|
-
export
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
return visitor.Categories(value.Categories);
|
|
514
|
-
if (value.Issues !== undefined)
|
|
515
|
-
return visitor.Issues(value.Issues);
|
|
516
|
-
if (value.Event !== undefined)
|
|
517
|
-
return visitor.Event(value.Event);
|
|
518
|
-
if (value.Attachments !== undefined)
|
|
519
|
-
return visitor.Attachments(value.Attachments);
|
|
520
|
-
if (value.PostContactSummary !== undefined)
|
|
521
|
-
return visitor.PostContactSummary(value.PostContactSummary);
|
|
522
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
523
|
-
};
|
|
524
|
-
})(RealtimeContactAnalysisSegment || (RealtimeContactAnalysisSegment = {}));
|
|
525
|
-
export const RealTimeContactAnalysisStatus = {
|
|
526
|
-
COMPLETED: "COMPLETED",
|
|
527
|
-
FAILED: "FAILED",
|
|
528
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
529
|
-
};
|
|
530
|
-
export class OutputTypeNotFoundException extends __BaseException {
|
|
531
|
-
constructor(opts) {
|
|
532
|
-
super({
|
|
533
|
-
name: "OutputTypeNotFoundException",
|
|
534
|
-
$fault: "client",
|
|
535
|
-
...opts,
|
|
536
|
-
});
|
|
537
|
-
this.name = "OutputTypeNotFoundException";
|
|
538
|
-
this.$fault = "client";
|
|
539
|
-
Object.setPrototypeOf(this, OutputTypeNotFoundException.prototype);
|
|
540
|
-
this.Message = opts.Message;
|
|
541
|
-
}
|
|
542
|
-
}
|
|
521
|
+
export const DescribeEmailAddressResponseFilterSensitiveLog = (obj) => ({
|
|
522
|
+
...obj,
|
|
523
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
524
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
525
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
526
|
+
});
|
|
543
527
|
export const InstanceFilterSensitiveLog = (obj) => ({
|
|
544
528
|
...obj,
|
|
545
529
|
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
@@ -1,16 +1,39 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
|
|
4
|
-
export
|
|
4
|
+
export var RealtimeContactAnalysisSegment;
|
|
5
|
+
(function (RealtimeContactAnalysisSegment) {
|
|
6
|
+
RealtimeContactAnalysisSegment.visit = (value, visitor) => {
|
|
7
|
+
if (value.Transcript !== undefined)
|
|
8
|
+
return visitor.Transcript(value.Transcript);
|
|
9
|
+
if (value.Categories !== undefined)
|
|
10
|
+
return visitor.Categories(value.Categories);
|
|
11
|
+
if (value.Issues !== undefined)
|
|
12
|
+
return visitor.Issues(value.Issues);
|
|
13
|
+
if (value.Event !== undefined)
|
|
14
|
+
return visitor.Event(value.Event);
|
|
15
|
+
if (value.Attachments !== undefined)
|
|
16
|
+
return visitor.Attachments(value.Attachments);
|
|
17
|
+
if (value.PostContactSummary !== undefined)
|
|
18
|
+
return visitor.PostContactSummary(value.PostContactSummary);
|
|
19
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
20
|
+
};
|
|
21
|
+
})(RealtimeContactAnalysisSegment || (RealtimeContactAnalysisSegment = {}));
|
|
22
|
+
export const RealTimeContactAnalysisStatus = {
|
|
23
|
+
COMPLETED: "COMPLETED",
|
|
24
|
+
FAILED: "FAILED",
|
|
25
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
26
|
+
};
|
|
27
|
+
export class OutputTypeNotFoundException extends __BaseException {
|
|
5
28
|
constructor(opts) {
|
|
6
29
|
super({
|
|
7
|
-
name: "
|
|
30
|
+
name: "OutputTypeNotFoundException",
|
|
8
31
|
$fault: "client",
|
|
9
32
|
...opts,
|
|
10
33
|
});
|
|
11
|
-
this.name = "
|
|
34
|
+
this.name = "OutputTypeNotFoundException";
|
|
12
35
|
this.$fault = "client";
|
|
13
|
-
Object.setPrototypeOf(this,
|
|
36
|
+
Object.setPrototypeOf(this, OutputTypeNotFoundException.prototype);
|
|
14
37
|
this.Message = opts.Message;
|
|
15
38
|
}
|
|
16
39
|
}
|
|
@@ -69,11 +92,29 @@ export const ChatEventType = {
|
|
|
69
92
|
EVENT: "EVENT",
|
|
70
93
|
MESSAGE: "MESSAGE",
|
|
71
94
|
};
|
|
95
|
+
export const OutboundMessageSourceType = {
|
|
96
|
+
RAW: "RAW",
|
|
97
|
+
TEMPLATE: "TEMPLATE",
|
|
98
|
+
};
|
|
99
|
+
export const TrafficType = {
|
|
100
|
+
CAMPAIGN: "CAMPAIGN",
|
|
101
|
+
GENERAL: "GENERAL",
|
|
102
|
+
};
|
|
72
103
|
export const VoiceRecordingTrack = {
|
|
73
104
|
ALL: "ALL",
|
|
74
105
|
FROM_AGENT: "FROM_AGENT",
|
|
75
106
|
TO_AGENT: "TO_AGENT",
|
|
76
107
|
};
|
|
108
|
+
export const InboundMessageSourceType = {
|
|
109
|
+
RAW: "RAW",
|
|
110
|
+
};
|
|
111
|
+
export const EmailHeaderType = {
|
|
112
|
+
IN_REPLY_TO: "IN_REPLY_TO",
|
|
113
|
+
MESSAGE_ID: "MESSAGE_ID",
|
|
114
|
+
REFERENCES: "REFERENCES",
|
|
115
|
+
X_SES_SPAM_VERDICT: "X_SES_SPAM_VERDICT",
|
|
116
|
+
X_SES_VIRUS_VERDICT: "X_SES_VIRUS_VERDICT",
|
|
117
|
+
};
|
|
77
118
|
export class DestinationNotAllowedException extends __BaseException {
|
|
78
119
|
constructor(opts) {
|
|
79
120
|
super({
|
|
@@ -100,10 +141,6 @@ export class OutboundContactNotPermittedException extends __BaseException {
|
|
|
100
141
|
this.Message = opts.Message;
|
|
101
142
|
}
|
|
102
143
|
}
|
|
103
|
-
export const TrafficType = {
|
|
104
|
-
CAMPAIGN: "CAMPAIGN",
|
|
105
|
-
GENERAL: "GENERAL",
|
|
106
|
-
};
|
|
107
144
|
export const MeetingFeatureStatus = {
|
|
108
145
|
AVAILABLE: "AVAILABLE",
|
|
109
146
|
UNAVAILABLE: "UNAVAILABLE",
|
|
@@ -150,6 +187,19 @@ export var UpdateParticipantRoleConfigChannelInfo;
|
|
|
150
187
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
151
188
|
};
|
|
152
189
|
})(UpdateParticipantRoleConfigChannelInfo || (UpdateParticipantRoleConfigChannelInfo = {}));
|
|
190
|
+
export class ConditionalOperationFailedException extends __BaseException {
|
|
191
|
+
constructor(opts) {
|
|
192
|
+
super({
|
|
193
|
+
name: "ConditionalOperationFailedException",
|
|
194
|
+
$fault: "client",
|
|
195
|
+
...opts,
|
|
196
|
+
});
|
|
197
|
+
this.name = "ConditionalOperationFailedException";
|
|
198
|
+
this.$fault = "client";
|
|
199
|
+
Object.setPrototypeOf(this, ConditionalOperationFailedException.prototype);
|
|
200
|
+
this.Message = opts.Message;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
153
203
|
export var EvaluationFormItem;
|
|
154
204
|
(function (EvaluationFormItem) {
|
|
155
205
|
EvaluationFormItem.visit = (value, visitor) => {
|
|
@@ -207,17 +257,43 @@ export const SearchableContactAttributesFilterSensitiveLog = (obj) => ({
|
|
|
207
257
|
Criteria: obj.Criteria.map((item) => SearchableContactAttributesCriteriaFilterSensitiveLog(item)),
|
|
208
258
|
}),
|
|
209
259
|
});
|
|
260
|
+
export const SearchableSegmentAttributesCriteriaFilterSensitiveLog = (obj) => ({
|
|
261
|
+
...obj,
|
|
262
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
263
|
+
...(obj.Values && { Values: SENSITIVE_STRING }),
|
|
264
|
+
});
|
|
265
|
+
export const SearchableSegmentAttributesFilterSensitiveLog = (obj) => ({
|
|
266
|
+
...obj,
|
|
267
|
+
...(obj.Criteria && {
|
|
268
|
+
Criteria: obj.Criteria.map((item) => SearchableSegmentAttributesCriteriaFilterSensitiveLog(item)),
|
|
269
|
+
}),
|
|
270
|
+
});
|
|
210
271
|
export const SearchCriteriaFilterSensitiveLog = (obj) => ({
|
|
211
272
|
...obj,
|
|
212
273
|
...(obj.ContactAnalysis && { ContactAnalysis: ContactAnalysisFilterSensitiveLog(obj.ContactAnalysis) }),
|
|
213
274
|
...(obj.SearchableContactAttributes && {
|
|
214
275
|
SearchableContactAttributes: SearchableContactAttributesFilterSensitiveLog(obj.SearchableContactAttributes),
|
|
215
276
|
}),
|
|
277
|
+
...(obj.SearchableSegmentAttributes && {
|
|
278
|
+
SearchableSegmentAttributes: SearchableSegmentAttributesFilterSensitiveLog(obj.SearchableSegmentAttributes),
|
|
279
|
+
}),
|
|
216
280
|
});
|
|
217
281
|
export const SearchContactsRequestFilterSensitiveLog = (obj) => ({
|
|
218
282
|
...obj,
|
|
219
283
|
...(obj.SearchCriteria && { SearchCriteria: SearchCriteriaFilterSensitiveLog(obj.SearchCriteria) }),
|
|
220
284
|
});
|
|
285
|
+
export const EmailAddressMetadataFilterSensitiveLog = (obj) => ({
|
|
286
|
+
...obj,
|
|
287
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
288
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
289
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
290
|
+
});
|
|
291
|
+
export const SearchEmailAddressesResponseFilterSensitiveLog = (obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
...(obj.EmailAddresses && {
|
|
294
|
+
EmailAddresses: obj.EmailAddresses.map((item) => EmailAddressMetadataFilterSensitiveLog(item)),
|
|
295
|
+
}),
|
|
296
|
+
});
|
|
221
297
|
export const UserIdentityInfoLiteFilterSensitiveLog = (obj) => ({
|
|
222
298
|
...obj,
|
|
223
299
|
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
@@ -231,12 +307,63 @@ export const SearchUsersResponseFilterSensitiveLog = (obj) => ({
|
|
|
231
307
|
...obj,
|
|
232
308
|
...(obj.Users && { Users: obj.Users.map((item) => UserSearchSummaryFilterSensitiveLog(item)) }),
|
|
233
309
|
});
|
|
234
|
-
export const
|
|
310
|
+
export const EmailAddressInfoFilterSensitiveLog = (obj) => ({
|
|
235
311
|
...obj,
|
|
236
|
-
...(obj.
|
|
237
|
-
...(obj.
|
|
312
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
313
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
238
314
|
});
|
|
239
|
-
export const
|
|
315
|
+
export const OutboundAdditionalRecipientsFilterSensitiveLog = (obj) => ({
|
|
316
|
+
...obj,
|
|
317
|
+
...(obj.CcEmailAddresses && {
|
|
318
|
+
CcEmailAddresses: obj.CcEmailAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item)),
|
|
319
|
+
}),
|
|
320
|
+
});
|
|
321
|
+
export const OutboundRawMessageFilterSensitiveLog = (obj) => ({
|
|
322
|
+
...obj,
|
|
323
|
+
...(obj.Subject && { Subject: SENSITIVE_STRING }),
|
|
324
|
+
...(obj.Body && { Body: SENSITIVE_STRING }),
|
|
325
|
+
});
|
|
326
|
+
export const OutboundEmailContentFilterSensitiveLog = (obj) => ({
|
|
327
|
+
...obj,
|
|
328
|
+
...(obj.RawMessage && { RawMessage: OutboundRawMessageFilterSensitiveLog(obj.RawMessage) }),
|
|
329
|
+
});
|
|
330
|
+
export const SendOutboundEmailRequestFilterSensitiveLog = (obj) => ({
|
|
331
|
+
...obj,
|
|
332
|
+
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|
|
333
|
+
...(obj.DestinationEmailAddress && {
|
|
334
|
+
DestinationEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.DestinationEmailAddress),
|
|
335
|
+
}),
|
|
336
|
+
...(obj.AdditionalRecipients && {
|
|
337
|
+
AdditionalRecipients: OutboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients),
|
|
338
|
+
}),
|
|
339
|
+
...(obj.EmailMessage && { EmailMessage: OutboundEmailContentFilterSensitiveLog(obj.EmailMessage) }),
|
|
340
|
+
});
|
|
341
|
+
export const InboundAdditionalRecipientsFilterSensitiveLog = (obj) => ({
|
|
342
|
+
...obj,
|
|
343
|
+
...(obj.ToAddresses && { ToAddresses: obj.ToAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item)) }),
|
|
344
|
+
...(obj.CcAddresses && { CcAddresses: obj.CcAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item)) }),
|
|
345
|
+
});
|
|
346
|
+
export const InboundRawMessageFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
...(obj.Subject && { Subject: SENSITIVE_STRING }),
|
|
349
|
+
...(obj.Body && { Body: SENSITIVE_STRING }),
|
|
350
|
+
});
|
|
351
|
+
export const InboundEmailContentFilterSensitiveLog = (obj) => ({
|
|
352
|
+
...obj,
|
|
353
|
+
...(obj.RawMessage && { RawMessage: InboundRawMessageFilterSensitiveLog(obj.RawMessage) }),
|
|
354
|
+
});
|
|
355
|
+
export const StartOutboundEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
356
|
+
...obj,
|
|
357
|
+
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|
|
358
|
+
...(obj.DestinationEmailAddress && {
|
|
359
|
+
DestinationEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.DestinationEmailAddress),
|
|
360
|
+
}),
|
|
361
|
+
...(obj.AdditionalRecipients && {
|
|
362
|
+
AdditionalRecipients: OutboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients),
|
|
363
|
+
}),
|
|
364
|
+
...(obj.EmailMessage && { EmailMessage: OutboundEmailContentFilterSensitiveLog(obj.EmailMessage) }),
|
|
365
|
+
});
|
|
366
|
+
export const StartOutboundVoiceContactRequestFilterSensitiveLog = (obj) => ({
|
|
240
367
|
...obj,
|
|
241
368
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
242
369
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
@@ -257,10 +384,10 @@ export const StartWebRTCContactResponseFilterSensitiveLog = (obj) => ({
|
|
|
257
384
|
...obj,
|
|
258
385
|
...(obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }),
|
|
259
386
|
});
|
|
260
|
-
export const
|
|
387
|
+
export const UpdateEmailAddressMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
261
388
|
...obj,
|
|
262
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
263
389
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
390
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
264
391
|
});
|
|
265
392
|
export const UpdateUserIdentityInfoRequestFilterSensitiveLog = (obj) => ({
|
|
266
393
|
...obj,
|
|
@@ -278,12 +405,8 @@ export const UpdateViewMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
|
278
405
|
...obj,
|
|
279
406
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
280
407
|
});
|
|
281
|
-
export const
|
|
408
|
+
export const CreateContactRequestFilterSensitiveLog = (obj) => ({
|
|
282
409
|
...obj,
|
|
283
410
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
284
411
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
285
412
|
});
|
|
286
|
-
export const DescribeContactResponseFilterSensitiveLog = (obj) => ({
|
|
287
|
-
...obj,
|
|
288
|
-
...(obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }),
|
|
289
|
-
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { EmailAddressInfoFilterSensitiveLog, InboundAdditionalRecipientsFilterSensitiveLog, InboundEmailContentFilterSensitiveLog, } from "./models_2";
|
|
3
|
+
export const StartEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
4
|
+
...obj,
|
|
5
|
+
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|
|
6
|
+
...(obj.DestinationEmailAddress && { DestinationEmailAddress: SENSITIVE_STRING }),
|
|
7
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
8
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
9
|
+
...(obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) }),
|
|
10
|
+
...(obj.AdditionalRecipients && {
|
|
11
|
+
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients),
|
|
12
|
+
}),
|
|
13
|
+
...(obj.Attachments && { Attachments: SENSITIVE_STRING }),
|
|
14
|
+
});
|
|
15
|
+
export const StartTaskContactRequestFilterSensitiveLog = (obj) => ({
|
|
16
|
+
...obj,
|
|
17
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
18
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
19
|
+
});
|
|
20
|
+
export const UpdateContactRequestFilterSensitiveLog = (obj) => ({
|
|
21
|
+
...obj,
|
|
22
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
23
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
24
|
+
});
|
|
25
|
+
export const ContactFilterSensitiveLog = (obj) => ({
|
|
26
|
+
...obj,
|
|
27
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
28
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
29
|
+
});
|
|
30
|
+
export const DescribeContactResponseFilterSensitiveLog = (obj) => ({
|
|
31
|
+
...obj,
|
|
32
|
+
...(obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }),
|
|
33
|
+
});
|