@aws-sdk/client-connect 3.695.0 → 3.699.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 +968 -115
- 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/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 +72 -24
- package/dist-es/models/models_1.js +24 -45
- package/dist-es/models/models_2.js +162 -17
- package/dist-es/models/models_3.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +417 -6
- 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 +128 -0
- package/dist-types/commands/CreateEmailAddressCommand.d.ts +109 -0
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- 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/DeleteViewVersionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -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 +29 -4
- package/dist-types/commands/DescribeContactEvaluationCommand.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 +102 -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 +2 -1
- 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 +2 -1
- 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 +130 -0
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +1 -1
- package/dist-types/commands/StartEmailContactCommand.d.ts +150 -0
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +2 -2
- package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +128 -0
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -2
- package/dist-types/commands/StartTaskContactCommand.d.ts +10 -2
- package/dist-types/commands/StartWebRTCContactCommand.d.ts +5 -2
- package/dist-types/commands/UpdateContactCommand.d.ts +10 -2
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +97 -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 +389 -335
- package/dist-types/models/models_1.d.ts +560 -663
- package/dist-types/models/models_2.d.ts +3752 -3728
- package/dist-types/models/models_3.d.ts +1351 -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 +50 -0
- package/dist-types/ts3.4/commands/CreateEmailAddressCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEmailAddressCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +1 -1
- 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/StartEmailContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartOutboundEmailContactCommand.d.ts +51 -0
- 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 +143 -95
- package/dist-types/ts3.4/models/models_1.d.ts +160 -230
- package/dist-types/ts3.4/models/models_2.d.ts +451 -290
- package/dist-types/ts3.4/models/models_3.d.ts +325 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
- package/package.json +35 -35
|
@@ -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,17 @@ 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
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
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 CreateContactRequestFilterSensitiveLog = (obj) => ({
|
|
681
|
+
...obj,
|
|
682
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
683
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
684
|
+
});
|
|
685
|
+
export const CreateEmailAddressRequestFilterSensitiveLog = (obj) => ({
|
|
686
|
+
...obj,
|
|
687
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
688
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
689
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
690
|
+
});
|
|
643
691
|
export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
644
692
|
...obj,
|
|
645
693
|
...(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)
|
|
@@ -499,47 +513,12 @@ export const RealTimeContactAnalysisPostContactSummaryStatus = {
|
|
|
499
513
|
COMPLETED: "COMPLETED",
|
|
500
514
|
FAILED: "FAILED",
|
|
501
515
|
};
|
|
502
|
-
export const
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
(function (RealtimeContactAnalysisSegment) {
|
|
509
|
-
RealtimeContactAnalysisSegment.visit = (value, visitor) => {
|
|
510
|
-
if (value.Transcript !== undefined)
|
|
511
|
-
return visitor.Transcript(value.Transcript);
|
|
512
|
-
if (value.Categories !== undefined)
|
|
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
|
-
}
|
|
516
|
+
export const DescribeEmailAddressResponseFilterSensitiveLog = (obj) => ({
|
|
517
|
+
...obj,
|
|
518
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
519
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
520
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
521
|
+
});
|
|
543
522
|
export const InstanceFilterSensitiveLog = (obj) => ({
|
|
544
523
|
...obj,
|
|
545
524
|
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
@@ -1,16 +1,44 @@
|
|
|
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 const RealTimeContactAnalysisSentimentLabel = {
|
|
5
|
+
NEGATIVE: "NEGATIVE",
|
|
6
|
+
NEUTRAL: "NEUTRAL",
|
|
7
|
+
POSITIVE: "POSITIVE",
|
|
8
|
+
};
|
|
9
|
+
export var RealtimeContactAnalysisSegment;
|
|
10
|
+
(function (RealtimeContactAnalysisSegment) {
|
|
11
|
+
RealtimeContactAnalysisSegment.visit = (value, visitor) => {
|
|
12
|
+
if (value.Transcript !== undefined)
|
|
13
|
+
return visitor.Transcript(value.Transcript);
|
|
14
|
+
if (value.Categories !== undefined)
|
|
15
|
+
return visitor.Categories(value.Categories);
|
|
16
|
+
if (value.Issues !== undefined)
|
|
17
|
+
return visitor.Issues(value.Issues);
|
|
18
|
+
if (value.Event !== undefined)
|
|
19
|
+
return visitor.Event(value.Event);
|
|
20
|
+
if (value.Attachments !== undefined)
|
|
21
|
+
return visitor.Attachments(value.Attachments);
|
|
22
|
+
if (value.PostContactSummary !== undefined)
|
|
23
|
+
return visitor.PostContactSummary(value.PostContactSummary);
|
|
24
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
25
|
+
};
|
|
26
|
+
})(RealtimeContactAnalysisSegment || (RealtimeContactAnalysisSegment = {}));
|
|
27
|
+
export const RealTimeContactAnalysisStatus = {
|
|
28
|
+
COMPLETED: "COMPLETED",
|
|
29
|
+
FAILED: "FAILED",
|
|
30
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
31
|
+
};
|
|
32
|
+
export class OutputTypeNotFoundException extends __BaseException {
|
|
5
33
|
constructor(opts) {
|
|
6
34
|
super({
|
|
7
|
-
name: "
|
|
35
|
+
name: "OutputTypeNotFoundException",
|
|
8
36
|
$fault: "client",
|
|
9
37
|
...opts,
|
|
10
38
|
});
|
|
11
|
-
this.name = "
|
|
39
|
+
this.name = "OutputTypeNotFoundException";
|
|
12
40
|
this.$fault = "client";
|
|
13
|
-
Object.setPrototypeOf(this,
|
|
41
|
+
Object.setPrototypeOf(this, OutputTypeNotFoundException.prototype);
|
|
14
42
|
this.Message = opts.Message;
|
|
15
43
|
}
|
|
16
44
|
}
|
|
@@ -69,11 +97,29 @@ export const ChatEventType = {
|
|
|
69
97
|
EVENT: "EVENT",
|
|
70
98
|
MESSAGE: "MESSAGE",
|
|
71
99
|
};
|
|
100
|
+
export const OutboundMessageSourceType = {
|
|
101
|
+
RAW: "RAW",
|
|
102
|
+
TEMPLATE: "TEMPLATE",
|
|
103
|
+
};
|
|
104
|
+
export const TrafficType = {
|
|
105
|
+
CAMPAIGN: "CAMPAIGN",
|
|
106
|
+
GENERAL: "GENERAL",
|
|
107
|
+
};
|
|
72
108
|
export const VoiceRecordingTrack = {
|
|
73
109
|
ALL: "ALL",
|
|
74
110
|
FROM_AGENT: "FROM_AGENT",
|
|
75
111
|
TO_AGENT: "TO_AGENT",
|
|
76
112
|
};
|
|
113
|
+
export const InboundMessageSourceType = {
|
|
114
|
+
RAW: "RAW",
|
|
115
|
+
};
|
|
116
|
+
export const EmailHeaderType = {
|
|
117
|
+
IN_REPLY_TO: "IN_REPLY_TO",
|
|
118
|
+
MESSAGE_ID: "MESSAGE_ID",
|
|
119
|
+
REFERENCES: "REFERENCES",
|
|
120
|
+
X_SES_SPAM_VERDICT: "X_SES_SPAM_VERDICT",
|
|
121
|
+
X_SES_VIRUS_VERDICT: "X_SES_VIRUS_VERDICT",
|
|
122
|
+
};
|
|
77
123
|
export class DestinationNotAllowedException extends __BaseException {
|
|
78
124
|
constructor(opts) {
|
|
79
125
|
super({
|
|
@@ -100,10 +146,6 @@ export class OutboundContactNotPermittedException extends __BaseException {
|
|
|
100
146
|
this.Message = opts.Message;
|
|
101
147
|
}
|
|
102
148
|
}
|
|
103
|
-
export const TrafficType = {
|
|
104
|
-
CAMPAIGN: "CAMPAIGN",
|
|
105
|
-
GENERAL: "GENERAL",
|
|
106
|
-
};
|
|
107
149
|
export const MeetingFeatureStatus = {
|
|
108
150
|
AVAILABLE: "AVAILABLE",
|
|
109
151
|
UNAVAILABLE: "UNAVAILABLE",
|
|
@@ -150,6 +192,19 @@ export var UpdateParticipantRoleConfigChannelInfo;
|
|
|
150
192
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
151
193
|
};
|
|
152
194
|
})(UpdateParticipantRoleConfigChannelInfo || (UpdateParticipantRoleConfigChannelInfo = {}));
|
|
195
|
+
export class ConditionalOperationFailedException extends __BaseException {
|
|
196
|
+
constructor(opts) {
|
|
197
|
+
super({
|
|
198
|
+
name: "ConditionalOperationFailedException",
|
|
199
|
+
$fault: "client",
|
|
200
|
+
...opts,
|
|
201
|
+
});
|
|
202
|
+
this.name = "ConditionalOperationFailedException";
|
|
203
|
+
this.$fault = "client";
|
|
204
|
+
Object.setPrototypeOf(this, ConditionalOperationFailedException.prototype);
|
|
205
|
+
this.Message = opts.Message;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
153
208
|
export var EvaluationFormItem;
|
|
154
209
|
(function (EvaluationFormItem) {
|
|
155
210
|
EvaluationFormItem.visit = (value, visitor) => {
|
|
@@ -207,17 +262,43 @@ export const SearchableContactAttributesFilterSensitiveLog = (obj) => ({
|
|
|
207
262
|
Criteria: obj.Criteria.map((item) => SearchableContactAttributesCriteriaFilterSensitiveLog(item)),
|
|
208
263
|
}),
|
|
209
264
|
});
|
|
265
|
+
export const SearchableSegmentAttributesCriteriaFilterSensitiveLog = (obj) => ({
|
|
266
|
+
...obj,
|
|
267
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
268
|
+
...(obj.Values && { Values: SENSITIVE_STRING }),
|
|
269
|
+
});
|
|
270
|
+
export const SearchableSegmentAttributesFilterSensitiveLog = (obj) => ({
|
|
271
|
+
...obj,
|
|
272
|
+
...(obj.Criteria && {
|
|
273
|
+
Criteria: obj.Criteria.map((item) => SearchableSegmentAttributesCriteriaFilterSensitiveLog(item)),
|
|
274
|
+
}),
|
|
275
|
+
});
|
|
210
276
|
export const SearchCriteriaFilterSensitiveLog = (obj) => ({
|
|
211
277
|
...obj,
|
|
212
278
|
...(obj.ContactAnalysis && { ContactAnalysis: ContactAnalysisFilterSensitiveLog(obj.ContactAnalysis) }),
|
|
213
279
|
...(obj.SearchableContactAttributes && {
|
|
214
280
|
SearchableContactAttributes: SearchableContactAttributesFilterSensitiveLog(obj.SearchableContactAttributes),
|
|
215
281
|
}),
|
|
282
|
+
...(obj.SearchableSegmentAttributes && {
|
|
283
|
+
SearchableSegmentAttributes: SearchableSegmentAttributesFilterSensitiveLog(obj.SearchableSegmentAttributes),
|
|
284
|
+
}),
|
|
216
285
|
});
|
|
217
286
|
export const SearchContactsRequestFilterSensitiveLog = (obj) => ({
|
|
218
287
|
...obj,
|
|
219
288
|
...(obj.SearchCriteria && { SearchCriteria: SearchCriteriaFilterSensitiveLog(obj.SearchCriteria) }),
|
|
220
289
|
});
|
|
290
|
+
export const EmailAddressMetadataFilterSensitiveLog = (obj) => ({
|
|
291
|
+
...obj,
|
|
292
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
293
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
294
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
295
|
+
});
|
|
296
|
+
export const SearchEmailAddressesResponseFilterSensitiveLog = (obj) => ({
|
|
297
|
+
...obj,
|
|
298
|
+
...(obj.EmailAddresses && {
|
|
299
|
+
EmailAddresses: obj.EmailAddresses.map((item) => EmailAddressMetadataFilterSensitiveLog(item)),
|
|
300
|
+
}),
|
|
301
|
+
});
|
|
221
302
|
export const UserIdentityInfoLiteFilterSensitiveLog = (obj) => ({
|
|
222
303
|
...obj,
|
|
223
304
|
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
@@ -231,6 +312,74 @@ export const SearchUsersResponseFilterSensitiveLog = (obj) => ({
|
|
|
231
312
|
...obj,
|
|
232
313
|
...(obj.Users && { Users: obj.Users.map((item) => UserSearchSummaryFilterSensitiveLog(item)) }),
|
|
233
314
|
});
|
|
315
|
+
export const EmailAddressInfoFilterSensitiveLog = (obj) => ({
|
|
316
|
+
...obj,
|
|
317
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
318
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
319
|
+
});
|
|
320
|
+
export const OutboundAdditionalRecipientsFilterSensitiveLog = (obj) => ({
|
|
321
|
+
...obj,
|
|
322
|
+
...(obj.CcEmailAddresses && {
|
|
323
|
+
CcEmailAddresses: obj.CcEmailAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item)),
|
|
324
|
+
}),
|
|
325
|
+
});
|
|
326
|
+
export const OutboundRawMessageFilterSensitiveLog = (obj) => ({
|
|
327
|
+
...obj,
|
|
328
|
+
...(obj.Subject && { Subject: SENSITIVE_STRING }),
|
|
329
|
+
...(obj.Body && { Body: SENSITIVE_STRING }),
|
|
330
|
+
});
|
|
331
|
+
export const OutboundEmailContentFilterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
...(obj.RawMessage && { RawMessage: OutboundRawMessageFilterSensitiveLog(obj.RawMessage) }),
|
|
334
|
+
});
|
|
335
|
+
export const SendOutboundEmailRequestFilterSensitiveLog = (obj) => ({
|
|
336
|
+
...obj,
|
|
337
|
+
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|
|
338
|
+
...(obj.DestinationEmailAddress && {
|
|
339
|
+
DestinationEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.DestinationEmailAddress),
|
|
340
|
+
}),
|
|
341
|
+
...(obj.AdditionalRecipients && {
|
|
342
|
+
AdditionalRecipients: OutboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients),
|
|
343
|
+
}),
|
|
344
|
+
...(obj.EmailMessage && { EmailMessage: OutboundEmailContentFilterSensitiveLog(obj.EmailMessage) }),
|
|
345
|
+
});
|
|
346
|
+
export const InboundAdditionalRecipientsFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
...(obj.ToAddresses && { ToAddresses: obj.ToAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item)) }),
|
|
349
|
+
...(obj.CcAddresses && { CcAddresses: obj.CcAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item)) }),
|
|
350
|
+
});
|
|
351
|
+
export const InboundRawMessageFilterSensitiveLog = (obj) => ({
|
|
352
|
+
...obj,
|
|
353
|
+
...(obj.Subject && { Subject: SENSITIVE_STRING }),
|
|
354
|
+
...(obj.Body && { Body: SENSITIVE_STRING }),
|
|
355
|
+
});
|
|
356
|
+
export const InboundEmailContentFilterSensitiveLog = (obj) => ({
|
|
357
|
+
...obj,
|
|
358
|
+
...(obj.RawMessage && { RawMessage: InboundRawMessageFilterSensitiveLog(obj.RawMessage) }),
|
|
359
|
+
});
|
|
360
|
+
export const StartEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
361
|
+
...obj,
|
|
362
|
+
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|
|
363
|
+
...(obj.DestinationEmailAddress && { DestinationEmailAddress: SENSITIVE_STRING }),
|
|
364
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
365
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
366
|
+
...(obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) }),
|
|
367
|
+
...(obj.AdditionalRecipients && {
|
|
368
|
+
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients),
|
|
369
|
+
}),
|
|
370
|
+
...(obj.Attachments && { Attachments: SENSITIVE_STRING }),
|
|
371
|
+
});
|
|
372
|
+
export const StartOutboundEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
373
|
+
...obj,
|
|
374
|
+
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|
|
375
|
+
...(obj.DestinationEmailAddress && {
|
|
376
|
+
DestinationEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.DestinationEmailAddress),
|
|
377
|
+
}),
|
|
378
|
+
...(obj.AdditionalRecipients && {
|
|
379
|
+
AdditionalRecipients: OutboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients),
|
|
380
|
+
}),
|
|
381
|
+
...(obj.EmailMessage && { EmailMessage: OutboundEmailContentFilterSensitiveLog(obj.EmailMessage) }),
|
|
382
|
+
});
|
|
234
383
|
export const StartOutboundVoiceContactRequestFilterSensitiveLog = (obj) => ({
|
|
235
384
|
...obj,
|
|
236
385
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
@@ -262,6 +411,11 @@ export const UpdateContactRequestFilterSensitiveLog = (obj) => ({
|
|
|
262
411
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
263
412
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
264
413
|
});
|
|
414
|
+
export const UpdateEmailAddressMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
415
|
+
...obj,
|
|
416
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
417
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
418
|
+
});
|
|
265
419
|
export const UpdateUserIdentityInfoRequestFilterSensitiveLog = (obj) => ({
|
|
266
420
|
...obj,
|
|
267
421
|
...(obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }),
|
|
@@ -278,12 +432,3 @@ export const UpdateViewMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
|
278
432
|
...obj,
|
|
279
433
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
280
434
|
});
|
|
281
|
-
export const ContactFilterSensitiveLog = (obj) => ({
|
|
282
|
-
...obj,
|
|
283
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
284
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
285
|
-
});
|
|
286
|
-
export const DescribeContactResponseFilterSensitiveLog = (obj) => ({
|
|
287
|
-
...obj,
|
|
288
|
-
...(obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }),
|
|
289
|
-
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const ContactFilterSensitiveLog = (obj) => ({
|
|
3
|
+
...obj,
|
|
4
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
5
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
6
|
+
});
|
|
7
|
+
export const DescribeContactResponseFilterSensitiveLog = (obj) => ({
|
|
8
|
+
...obj,
|
|
9
|
+
...(obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }),
|
|
10
|
+
});
|