@aws-sdk/client-connect 3.699.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/dist-cjs/index.js +96 -47
- package/dist-es/commands/CreateContactCommand.js +1 -1
- package/dist-es/commands/StartEmailContactCommand.js +1 -1
- package/dist-es/commands/StartTaskContactCommand.js +1 -1
- package/dist-es/commands/UpdateContactCommand.js +1 -1
- package/dist-es/models/models_0.js +0 -5
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/models/models_2.js +5 -27
- package/dist-es/models/models_3.js +23 -0
- package/dist-es/protocols/Aws_restJson1.js +57 -8
- package/dist-types/commands/CreateContactCommand.d.ts +13 -2
- package/dist-types/commands/CreateEmailAddressCommand.d.ts +3 -1
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailAddressCommand.d.ts +1 -1
- package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -2
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeContactCommand.d.ts +10 -0
- 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 +1 -1
- package/dist-types/commands/ListAssociatedContactsCommand.d.ts +2 -1
- package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +1 -1
- package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -3
- package/dist-types/commands/SearchEmailAddressesCommand.d.ts +1 -1
- package/dist-types/commands/SendOutboundEmailCommand.d.ts +6 -1
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +3 -1
- package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
- package/dist-types/commands/StartEmailContactCommand.d.ts +14 -2
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +12 -1
- package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +2 -1
- package/dist-types/commands/StartTaskContactCommand.d.ts +12 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContactCommand.d.ts +12 -1
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +60 -118
- package/dist-types/models/models_1.d.ts +117 -71
- package/dist-types/models/models_2.d.ts +544 -718
- package/dist-types/models/models_3.d.ts +545 -246
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
- 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/models/models_0.d.ts +5 -21
- package/dist-types/ts3.4/models/models_1.d.ts +18 -6
- package/dist-types/ts3.4/models/models_2.d.ts +76 -97
- package/dist-types/ts3.4/models/models_3.d.ts +96 -58
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -1507,11 +1507,6 @@ var VocabularyState = {
|
|
|
1507
1507
|
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
1508
1508
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"
|
|
1509
1509
|
};
|
|
1510
|
-
var CreateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1511
|
-
...obj,
|
|
1512
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
1513
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
1514
|
-
}), "CreateContactRequestFilterSensitiveLog");
|
|
1515
1510
|
var CreateEmailAddressRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1516
1511
|
...obj,
|
|
1517
1512
|
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2086,6 +2081,11 @@ var RealTimeContactAnalysisPostContactSummaryStatus = {
|
|
|
2086
2081
|
COMPLETED: "COMPLETED",
|
|
2087
2082
|
FAILED: "FAILED"
|
|
2088
2083
|
};
|
|
2084
|
+
var RealTimeContactAnalysisSentimentLabel = {
|
|
2085
|
+
NEGATIVE: "NEGATIVE",
|
|
2086
|
+
NEUTRAL: "NEUTRAL",
|
|
2087
|
+
POSITIVE: "POSITIVE"
|
|
2088
|
+
};
|
|
2089
2089
|
var DescribeEmailAddressResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2090
2090
|
...obj,
|
|
2091
2091
|
...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2134,11 +2134,6 @@ var ListInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
2134
2134
|
|
|
2135
2135
|
// src/models/models_2.ts
|
|
2136
2136
|
|
|
2137
|
-
var RealTimeContactAnalysisSentimentLabel = {
|
|
2138
|
-
NEGATIVE: "NEGATIVE",
|
|
2139
|
-
NEUTRAL: "NEUTRAL",
|
|
2140
|
-
POSITIVE: "POSITIVE"
|
|
2141
|
-
};
|
|
2142
2137
|
var RealtimeContactAnalysisSegment;
|
|
2143
2138
|
((RealtimeContactAnalysisSegment3) => {
|
|
2144
2139
|
RealtimeContactAnalysisSegment3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -2369,8 +2364,8 @@ var _ConditionalOperationFailedException = class _ConditionalOperationFailedExce
|
|
|
2369
2364
|
__name(_ConditionalOperationFailedException, "ConditionalOperationFailedException");
|
|
2370
2365
|
var ConditionalOperationFailedException = _ConditionalOperationFailedException;
|
|
2371
2366
|
var EvaluationFormItem;
|
|
2372
|
-
((
|
|
2373
|
-
|
|
2367
|
+
((EvaluationFormItem3) => {
|
|
2368
|
+
EvaluationFormItem3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
2374
2369
|
if (value.Section !== void 0)
|
|
2375
2370
|
return visitor.Section(value.Section);
|
|
2376
2371
|
if (value.Question !== void 0)
|
|
@@ -2520,18 +2515,6 @@ var InboundEmailContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
2520
2515
|
...obj,
|
|
2521
2516
|
...obj.RawMessage && { RawMessage: InboundRawMessageFilterSensitiveLog(obj.RawMessage) }
|
|
2522
2517
|
}), "InboundEmailContentFilterSensitiveLog");
|
|
2523
|
-
var StartEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2524
|
-
...obj,
|
|
2525
|
-
...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
|
|
2526
|
-
...obj.DestinationEmailAddress && { DestinationEmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
2527
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
2528
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2529
|
-
...obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) },
|
|
2530
|
-
...obj.AdditionalRecipients && {
|
|
2531
|
-
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)
|
|
2532
|
-
},
|
|
2533
|
-
...obj.Attachments && { Attachments: import_smithy_client.SENSITIVE_STRING }
|
|
2534
|
-
}), "StartEmailContactRequestFilterSensitiveLog");
|
|
2535
2518
|
var StartOutboundEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2536
2519
|
...obj,
|
|
2537
2520
|
...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
|
|
@@ -2548,11 +2531,6 @@ var StartOutboundVoiceContactRequestFilterSensitiveLog = /* @__PURE__ */ __name(
|
|
|
2548
2531
|
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2549
2532
|
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2550
2533
|
}), "StartOutboundVoiceContactRequestFilterSensitiveLog");
|
|
2551
|
-
var StartTaskContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2552
|
-
...obj,
|
|
2553
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2554
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2555
|
-
}), "StartTaskContactRequestFilterSensitiveLog");
|
|
2556
2534
|
var StartWebRTCContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2557
2535
|
...obj,
|
|
2558
2536
|
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -2569,11 +2547,6 @@ var StartWebRTCContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj)
|
|
|
2569
2547
|
...obj,
|
|
2570
2548
|
...obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }
|
|
2571
2549
|
}), "StartWebRTCContactResponseFilterSensitiveLog");
|
|
2572
|
-
var UpdateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2573
|
-
...obj,
|
|
2574
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2575
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2576
|
-
}), "UpdateContactRequestFilterSensitiveLog");
|
|
2577
2550
|
var UpdateEmailAddressMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2578
2551
|
...obj,
|
|
2579
2552
|
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2595,6 +2568,11 @@ var UpdateViewMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
2595
2568
|
...obj,
|
|
2596
2569
|
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
2597
2570
|
}), "UpdateViewMetadataRequestFilterSensitiveLog");
|
|
2571
|
+
var CreateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2572
|
+
...obj,
|
|
2573
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2574
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2575
|
+
}), "CreateContactRequestFilterSensitiveLog");
|
|
2598
2576
|
|
|
2599
2577
|
// src/protocols/Aws_restJson1.ts
|
|
2600
2578
|
var se_ActivateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -3009,7 +2987,7 @@ var se_CreateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
3009
2987
|
Name: [],
|
|
3010
2988
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
3011
2989
|
RelatedContactId: [],
|
|
3012
|
-
SegmentAttributes: (_) => (
|
|
2990
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
3013
2991
|
UserInfo: (_) => (0, import_smithy_client._json)(_)
|
|
3014
2992
|
})
|
|
3015
2993
|
);
|
|
@@ -5607,7 +5585,7 @@ var se_StartChatContactCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
5607
5585
|
ParticipantDetails: (_) => (0, import_smithy_client._json)(_),
|
|
5608
5586
|
PersistentChat: (_) => (0, import_smithy_client._json)(_),
|
|
5609
5587
|
RelatedContactId: [],
|
|
5610
|
-
SegmentAttributes: (_) => (
|
|
5588
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
5611
5589
|
SupportedMessagingContentTypes: (_) => (0, import_smithy_client._json)(_)
|
|
5612
5590
|
})
|
|
5613
5591
|
);
|
|
@@ -5690,7 +5668,7 @@ var se_StartEmailContactCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
5690
5668
|
Name: [],
|
|
5691
5669
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
5692
5670
|
RelatedContactId: [],
|
|
5693
|
-
SegmentAttributes: (_) => (
|
|
5671
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context)
|
|
5694
5672
|
})
|
|
5695
5673
|
);
|
|
5696
5674
|
b.m("PUT").h(headers).b(body);
|
|
@@ -5714,7 +5692,7 @@ var se_StartOutboundChatContactCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
5714
5692
|
InstanceId: [],
|
|
5715
5693
|
ParticipantDetails: (_) => (0, import_smithy_client._json)(_),
|
|
5716
5694
|
RelatedContactId: [],
|
|
5717
|
-
SegmentAttributes: (_) => (
|
|
5695
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
5718
5696
|
SourceEndpoint: (_) => (0, import_smithy_client._json)(_),
|
|
5719
5697
|
SupportedMessagingContentTypes: (_) => (0, import_smithy_client._json)(_)
|
|
5720
5698
|
})
|
|
@@ -5808,7 +5786,7 @@ var se_StartTaskContactCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
5808
5786
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
5809
5787
|
RelatedContactId: [],
|
|
5810
5788
|
ScheduledTime: (_) => _.getTime() / 1e3,
|
|
5811
|
-
SegmentAttributes: (_) => (
|
|
5789
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
5812
5790
|
TaskTemplateId: []
|
|
5813
5791
|
})
|
|
5814
5792
|
);
|
|
@@ -6058,7 +6036,7 @@ var se_UpdateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
6058
6036
|
Description: [],
|
|
6059
6037
|
Name: [],
|
|
6060
6038
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
6061
|
-
SegmentAttributes: (_) => (
|
|
6039
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context)
|
|
6062
6040
|
})
|
|
6063
6041
|
);
|
|
6064
6042
|
b.m("POST").h(headers).b(body);
|
|
@@ -11194,6 +11172,31 @@ var se_SecurityProfileSearchCriteria = /* @__PURE__ */ __name((input, context) =
|
|
|
11194
11172
|
StringCondition: import_smithy_client._json
|
|
11195
11173
|
});
|
|
11196
11174
|
}, "se_SecurityProfileSearchCriteria");
|
|
11175
|
+
var se_SegmentAttributes = /* @__PURE__ */ __name((input, context) => {
|
|
11176
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
11177
|
+
if (value === null) {
|
|
11178
|
+
return acc;
|
|
11179
|
+
}
|
|
11180
|
+
acc[key] = se_SegmentAttributeValue(value, context);
|
|
11181
|
+
return acc;
|
|
11182
|
+
}, {});
|
|
11183
|
+
}, "se_SegmentAttributes");
|
|
11184
|
+
var se_SegmentAttributeValue = /* @__PURE__ */ __name((input, context) => {
|
|
11185
|
+
return (0, import_smithy_client.take)(input, {
|
|
11186
|
+
ValueInteger: [],
|
|
11187
|
+
ValueMap: (_) => se_SegmentAttributeValueMap(_, context),
|
|
11188
|
+
ValueString: []
|
|
11189
|
+
});
|
|
11190
|
+
}, "se_SegmentAttributeValue");
|
|
11191
|
+
var se_SegmentAttributeValueMap = /* @__PURE__ */ __name((input, context) => {
|
|
11192
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
11193
|
+
if (value === null) {
|
|
11194
|
+
return acc;
|
|
11195
|
+
}
|
|
11196
|
+
acc[key] = se_SegmentAttributeValue(value, context);
|
|
11197
|
+
return acc;
|
|
11198
|
+
}, {});
|
|
11199
|
+
}, "se_SegmentAttributeValueMap");
|
|
11197
11200
|
var se_Threshold = /* @__PURE__ */ __name((input, context) => {
|
|
11198
11201
|
return (0, import_smithy_client.take)(input, {
|
|
11199
11202
|
Comparison: [],
|
|
@@ -11427,7 +11430,7 @@ var de_Contact = /* @__PURE__ */ __name((output, context) => {
|
|
|
11427
11430
|
RelatedContactId: import_smithy_client.expectString,
|
|
11428
11431
|
RoutingCriteria: (_) => de_RoutingCriteria(_, context),
|
|
11429
11432
|
ScheduledTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
11430
|
-
SegmentAttributes:
|
|
11433
|
+
SegmentAttributes: (_) => de_SegmentAttributes(_, context),
|
|
11431
11434
|
SystemEndpoint: import_smithy_client._json,
|
|
11432
11435
|
Tags: import_smithy_client._json,
|
|
11433
11436
|
TotalPauseCount: import_smithy_client.expectInt32,
|
|
@@ -11442,7 +11445,6 @@ var de_ContactFlow = /* @__PURE__ */ __name((output, context) => {
|
|
|
11442
11445
|
Description: import_smithy_client.expectString,
|
|
11443
11446
|
FlowContentSha256: import_smithy_client.expectString,
|
|
11444
11447
|
Id: import_smithy_client.expectString,
|
|
11445
|
-
IsDefault: import_smithy_client.expectBoolean,
|
|
11446
11448
|
LastModifiedRegion: import_smithy_client.expectString,
|
|
11447
11449
|
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
11448
11450
|
Name: import_smithy_client.expectString,
|
|
@@ -12335,6 +12337,31 @@ var de_SecurityProfileSummaryList = /* @__PURE__ */ __name((output, context) =>
|
|
|
12335
12337
|
});
|
|
12336
12338
|
return retVal;
|
|
12337
12339
|
}, "de_SecurityProfileSummaryList");
|
|
12340
|
+
var de_SegmentAttributes = /* @__PURE__ */ __name((output, context) => {
|
|
12341
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
12342
|
+
if (value === null) {
|
|
12343
|
+
return acc;
|
|
12344
|
+
}
|
|
12345
|
+
acc[key] = de_SegmentAttributeValue(value, context);
|
|
12346
|
+
return acc;
|
|
12347
|
+
}, {});
|
|
12348
|
+
}, "de_SegmentAttributes");
|
|
12349
|
+
var de_SegmentAttributeValue = /* @__PURE__ */ __name((output, context) => {
|
|
12350
|
+
return (0, import_smithy_client.take)(output, {
|
|
12351
|
+
ValueInteger: import_smithy_client.expectInt32,
|
|
12352
|
+
ValueMap: (_) => de_SegmentAttributeValueMap(_, context),
|
|
12353
|
+
ValueString: import_smithy_client.expectString
|
|
12354
|
+
});
|
|
12355
|
+
}, "de_SegmentAttributeValue");
|
|
12356
|
+
var de_SegmentAttributeValueMap = /* @__PURE__ */ __name((output, context) => {
|
|
12357
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
12358
|
+
if (value === null) {
|
|
12359
|
+
return acc;
|
|
12360
|
+
}
|
|
12361
|
+
acc[key] = de_SegmentAttributeValue(value, context);
|
|
12362
|
+
return acc;
|
|
12363
|
+
}, {});
|
|
12364
|
+
}, "de_SegmentAttributeValueMap");
|
|
12338
12365
|
var de_Step = /* @__PURE__ */ __name((output, context) => {
|
|
12339
12366
|
return (0, import_smithy_client.take)(output, {
|
|
12340
12367
|
Expiry: (_) => de_Expiry(_, context),
|
|
@@ -13641,6 +13668,28 @@ var DescribeAuthenticationProfileCommand = _DescribeAuthenticationProfileCommand
|
|
|
13641
13668
|
|
|
13642
13669
|
// src/models/models_3.ts
|
|
13643
13670
|
|
|
13671
|
+
var StartEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13672
|
+
...obj,
|
|
13673
|
+
...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
|
|
13674
|
+
...obj.DestinationEmailAddress && { DestinationEmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
13675
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
13676
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13677
|
+
...obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) },
|
|
13678
|
+
...obj.AdditionalRecipients && {
|
|
13679
|
+
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)
|
|
13680
|
+
},
|
|
13681
|
+
...obj.Attachments && { Attachments: import_smithy_client.SENSITIVE_STRING }
|
|
13682
|
+
}), "StartEmailContactRequestFilterSensitiveLog");
|
|
13683
|
+
var StartTaskContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13684
|
+
...obj,
|
|
13685
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13686
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13687
|
+
}), "StartTaskContactRequestFilterSensitiveLog");
|
|
13688
|
+
var UpdateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13689
|
+
...obj,
|
|
13690
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13691
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13692
|
+
}), "UpdateContactRequestFilterSensitiveLog");
|
|
13644
13693
|
var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13645
13694
|
...obj,
|
|
13646
13695
|
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -17320,7 +17369,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17320
17369
|
ResourceInUseException,
|
|
17321
17370
|
TooManyRequestsException,
|
|
17322
17371
|
VocabularyState,
|
|
17323
|
-
CreateContactRequestFilterSensitiveLog,
|
|
17324
17372
|
CreateEmailAddressRequestFilterSensitiveLog,
|
|
17325
17373
|
CreateInstanceRequestFilterSensitiveLog,
|
|
17326
17374
|
UserIdentityInfoFilterSensitiveLog,
|
|
@@ -17367,6 +17415,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17367
17415
|
RealTimeContactAnalysisTimeData,
|
|
17368
17416
|
RealTimeContactAnalysisPostContactSummaryFailureCode,
|
|
17369
17417
|
RealTimeContactAnalysisPostContactSummaryStatus,
|
|
17418
|
+
RealTimeContactAnalysisSentimentLabel,
|
|
17370
17419
|
DescribeEmailAddressResponseFilterSensitiveLog,
|
|
17371
17420
|
InstanceFilterSensitiveLog,
|
|
17372
17421
|
DescribeInstanceResponseFilterSensitiveLog,
|
|
@@ -17377,7 +17426,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17377
17426
|
GetFederationTokenResponseFilterSensitiveLog,
|
|
17378
17427
|
InstanceSummaryFilterSensitiveLog,
|
|
17379
17428
|
ListInstancesResponseFilterSensitiveLog,
|
|
17380
|
-
RealTimeContactAnalysisSentimentLabel,
|
|
17381
17429
|
RealtimeContactAnalysisSegment,
|
|
17382
17430
|
RealTimeContactAnalysisStatus,
|
|
17383
17431
|
OutputTypeNotFoundException,
|
|
@@ -17433,20 +17481,21 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17433
17481
|
InboundAdditionalRecipientsFilterSensitiveLog,
|
|
17434
17482
|
InboundRawMessageFilterSensitiveLog,
|
|
17435
17483
|
InboundEmailContentFilterSensitiveLog,
|
|
17436
|
-
StartEmailContactRequestFilterSensitiveLog,
|
|
17437
17484
|
StartOutboundEmailContactRequestFilterSensitiveLog,
|
|
17438
17485
|
StartOutboundVoiceContactRequestFilterSensitiveLog,
|
|
17439
|
-
StartTaskContactRequestFilterSensitiveLog,
|
|
17440
17486
|
StartWebRTCContactRequestFilterSensitiveLog,
|
|
17441
17487
|
AttendeeFilterSensitiveLog,
|
|
17442
17488
|
ConnectionDataFilterSensitiveLog,
|
|
17443
17489
|
StartWebRTCContactResponseFilterSensitiveLog,
|
|
17444
|
-
UpdateContactRequestFilterSensitiveLog,
|
|
17445
17490
|
UpdateEmailAddressMetadataRequestFilterSensitiveLog,
|
|
17446
17491
|
UpdateUserIdentityInfoRequestFilterSensitiveLog,
|
|
17447
17492
|
UpdateViewContentRequestFilterSensitiveLog,
|
|
17448
17493
|
UpdateViewContentResponseFilterSensitiveLog,
|
|
17449
17494
|
UpdateViewMetadataRequestFilterSensitiveLog,
|
|
17495
|
+
CreateContactRequestFilterSensitiveLog,
|
|
17496
|
+
StartEmailContactRequestFilterSensitiveLog,
|
|
17497
|
+
StartTaskContactRequestFilterSensitiveLog,
|
|
17498
|
+
UpdateContactRequestFilterSensitiveLog,
|
|
17450
17499
|
ContactFilterSensitiveLog,
|
|
17451
17500
|
DescribeContactResponseFilterSensitiveLog
|
|
17452
17501
|
});
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { CreateContactRequestFilterSensitiveLog
|
|
5
|
+
import { CreateContactRequestFilterSensitiveLog } from "../models/models_2";
|
|
6
6
|
import { de_CreateContactCommand, se_CreateContactCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateContactCommand extends $Command
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { StartEmailContactRequestFilterSensitiveLog
|
|
5
|
+
import { StartEmailContactRequestFilterSensitiveLog } from "../models/models_3";
|
|
6
6
|
import { de_StartEmailContactCommand, se_StartEmailContactCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class StartEmailContactCommand extends $Command
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { StartTaskContactRequestFilterSensitiveLog
|
|
5
|
+
import { StartTaskContactRequestFilterSensitiveLog } from "../models/models_3";
|
|
6
6
|
import { de_StartTaskContactCommand, se_StartTaskContactCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class StartTaskContactCommand extends $Command
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { UpdateContactRequestFilterSensitiveLog
|
|
5
|
+
import { UpdateContactRequestFilterSensitiveLog } from "../models/models_3";
|
|
6
6
|
import { de_UpdateContactCommand, se_UpdateContactCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdateContactCommand extends $Command
|
|
@@ -677,11 +677,6 @@ export const VocabularyState = {
|
|
|
677
677
|
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
678
678
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
679
679
|
};
|
|
680
|
-
export const CreateContactRequestFilterSensitiveLog = (obj) => ({
|
|
681
|
-
...obj,
|
|
682
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
683
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
684
|
-
});
|
|
685
680
|
export const CreateEmailAddressRequestFilterSensitiveLog = (obj) => ({
|
|
686
681
|
...obj,
|
|
687
682
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
@@ -513,6 +513,11 @@ export const RealTimeContactAnalysisPostContactSummaryStatus = {
|
|
|
513
513
|
COMPLETED: "COMPLETED",
|
|
514
514
|
FAILED: "FAILED",
|
|
515
515
|
};
|
|
516
|
+
export const RealTimeContactAnalysisSentimentLabel = {
|
|
517
|
+
NEGATIVE: "NEGATIVE",
|
|
518
|
+
NEUTRAL: "NEUTRAL",
|
|
519
|
+
POSITIVE: "POSITIVE",
|
|
520
|
+
};
|
|
516
521
|
export const DescribeEmailAddressResponseFilterSensitiveLog = (obj) => ({
|
|
517
522
|
...obj,
|
|
518
523
|
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
@@ -1,11 +1,6 @@
|
|
|
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 const RealTimeContactAnalysisSentimentLabel = {
|
|
5
|
-
NEGATIVE: "NEGATIVE",
|
|
6
|
-
NEUTRAL: "NEUTRAL",
|
|
7
|
-
POSITIVE: "POSITIVE",
|
|
8
|
-
};
|
|
9
4
|
export var RealtimeContactAnalysisSegment;
|
|
10
5
|
(function (RealtimeContactAnalysisSegment) {
|
|
11
6
|
RealtimeContactAnalysisSegment.visit = (value, visitor) => {
|
|
@@ -357,18 +352,6 @@ export const InboundEmailContentFilterSensitiveLog = (obj) => ({
|
|
|
357
352
|
...obj,
|
|
358
353
|
...(obj.RawMessage && { RawMessage: InboundRawMessageFilterSensitiveLog(obj.RawMessage) }),
|
|
359
354
|
});
|
|
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
355
|
export const StartOutboundEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
373
356
|
...obj,
|
|
374
357
|
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|
|
@@ -385,11 +368,6 @@ export const StartOutboundVoiceContactRequestFilterSensitiveLog = (obj) => ({
|
|
|
385
368
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
386
369
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
387
370
|
});
|
|
388
|
-
export const StartTaskContactRequestFilterSensitiveLog = (obj) => ({
|
|
389
|
-
...obj,
|
|
390
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
391
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
392
|
-
});
|
|
393
371
|
export const StartWebRTCContactRequestFilterSensitiveLog = (obj) => ({
|
|
394
372
|
...obj,
|
|
395
373
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
@@ -406,11 +384,6 @@ export const StartWebRTCContactResponseFilterSensitiveLog = (obj) => ({
|
|
|
406
384
|
...obj,
|
|
407
385
|
...(obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }),
|
|
408
386
|
});
|
|
409
|
-
export const UpdateContactRequestFilterSensitiveLog = (obj) => ({
|
|
410
|
-
...obj,
|
|
411
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
412
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
413
|
-
});
|
|
414
387
|
export const UpdateEmailAddressMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
415
388
|
...obj,
|
|
416
389
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
@@ -432,3 +405,8 @@ export const UpdateViewMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
|
432
405
|
...obj,
|
|
433
406
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
434
407
|
});
|
|
408
|
+
export const CreateContactRequestFilterSensitiveLog = (obj) => ({
|
|
409
|
+
...obj,
|
|
410
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
411
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
412
|
+
});
|
|
@@ -1,4 +1,27 @@
|
|
|
1
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
|
+
});
|
|
2
25
|
export const ContactFilterSensitiveLog = (obj) => ({
|
|
3
26
|
...obj,
|
|
4
27
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
@@ -373,7 +373,7 @@ export const se_CreateContactCommand = async (input, context) => {
|
|
|
373
373
|
Name: [],
|
|
374
374
|
References: (_) => _json(_),
|
|
375
375
|
RelatedContactId: [],
|
|
376
|
-
SegmentAttributes: (_) =>
|
|
376
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
377
377
|
UserInfo: (_) => _json(_),
|
|
378
378
|
}));
|
|
379
379
|
b.m("PUT").h(headers).b(body);
|
|
@@ -2837,7 +2837,7 @@ export const se_StartChatContactCommand = async (input, context) => {
|
|
|
2837
2837
|
ParticipantDetails: (_) => _json(_),
|
|
2838
2838
|
PersistentChat: (_) => _json(_),
|
|
2839
2839
|
RelatedContactId: [],
|
|
2840
|
-
SegmentAttributes: (_) =>
|
|
2840
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
2841
2841
|
SupportedMessagingContentTypes: (_) => _json(_),
|
|
2842
2842
|
}));
|
|
2843
2843
|
b.m("PUT").h(headers).b(body);
|
|
@@ -2912,7 +2912,7 @@ export const se_StartEmailContactCommand = async (input, context) => {
|
|
|
2912
2912
|
Name: [],
|
|
2913
2913
|
References: (_) => _json(_),
|
|
2914
2914
|
RelatedContactId: [],
|
|
2915
|
-
SegmentAttributes: (_) =>
|
|
2915
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
2916
2916
|
}));
|
|
2917
2917
|
b.m("PUT").h(headers).b(body);
|
|
2918
2918
|
return b.build();
|
|
@@ -2934,7 +2934,7 @@ export const se_StartOutboundChatContactCommand = async (input, context) => {
|
|
|
2934
2934
|
InstanceId: [],
|
|
2935
2935
|
ParticipantDetails: (_) => _json(_),
|
|
2936
2936
|
RelatedContactId: [],
|
|
2937
|
-
SegmentAttributes: (_) =>
|
|
2937
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
2938
2938
|
SourceEndpoint: (_) => _json(_),
|
|
2939
2939
|
SupportedMessagingContentTypes: (_) => _json(_),
|
|
2940
2940
|
}));
|
|
@@ -3020,7 +3020,7 @@ export const se_StartTaskContactCommand = async (input, context) => {
|
|
|
3020
3020
|
References: (_) => _json(_),
|
|
3021
3021
|
RelatedContactId: [],
|
|
3022
3022
|
ScheduledTime: (_) => _.getTime() / 1000,
|
|
3023
|
-
SegmentAttributes: (_) =>
|
|
3023
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
3024
3024
|
TaskTemplateId: [],
|
|
3025
3025
|
}));
|
|
3026
3026
|
b.m("PUT").h(headers).b(body);
|
|
@@ -3246,7 +3246,7 @@ export const se_UpdateContactCommand = async (input, context) => {
|
|
|
3246
3246
|
Description: [],
|
|
3247
3247
|
Name: [],
|
|
3248
3248
|
References: (_) => _json(_),
|
|
3249
|
-
SegmentAttributes: (_) =>
|
|
3249
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
3250
3250
|
}));
|
|
3251
3251
|
b.m("POST").h(headers).b(body);
|
|
3252
3252
|
return b.build();
|
|
@@ -8325,6 +8325,31 @@ const se_SecurityProfileSearchCriteria = (input, context) => {
|
|
|
8325
8325
|
StringCondition: _json,
|
|
8326
8326
|
});
|
|
8327
8327
|
};
|
|
8328
|
+
const se_SegmentAttributes = (input, context) => {
|
|
8329
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
8330
|
+
if (value === null) {
|
|
8331
|
+
return acc;
|
|
8332
|
+
}
|
|
8333
|
+
acc[key] = se_SegmentAttributeValue(value, context);
|
|
8334
|
+
return acc;
|
|
8335
|
+
}, {});
|
|
8336
|
+
};
|
|
8337
|
+
const se_SegmentAttributeValue = (input, context) => {
|
|
8338
|
+
return take(input, {
|
|
8339
|
+
ValueInteger: [],
|
|
8340
|
+
ValueMap: (_) => se_SegmentAttributeValueMap(_, context),
|
|
8341
|
+
ValueString: [],
|
|
8342
|
+
});
|
|
8343
|
+
};
|
|
8344
|
+
const se_SegmentAttributeValueMap = (input, context) => {
|
|
8345
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
8346
|
+
if (value === null) {
|
|
8347
|
+
return acc;
|
|
8348
|
+
}
|
|
8349
|
+
acc[key] = se_SegmentAttributeValue(value, context);
|
|
8350
|
+
return acc;
|
|
8351
|
+
}, {});
|
|
8352
|
+
};
|
|
8328
8353
|
const se_Threshold = (input, context) => {
|
|
8329
8354
|
return take(input, {
|
|
8330
8355
|
Comparison: [],
|
|
@@ -8576,7 +8601,7 @@ const de_Contact = (output, context) => {
|
|
|
8576
8601
|
RelatedContactId: __expectString,
|
|
8577
8602
|
RoutingCriteria: (_) => de_RoutingCriteria(_, context),
|
|
8578
8603
|
ScheduledTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
8579
|
-
SegmentAttributes:
|
|
8604
|
+
SegmentAttributes: (_) => de_SegmentAttributes(_, context),
|
|
8580
8605
|
SystemEndpoint: _json,
|
|
8581
8606
|
Tags: _json,
|
|
8582
8607
|
TotalPauseCount: __expectInt32,
|
|
@@ -8591,7 +8616,6 @@ const de_ContactFlow = (output, context) => {
|
|
|
8591
8616
|
Description: __expectString,
|
|
8592
8617
|
FlowContentSha256: __expectString,
|
|
8593
8618
|
Id: __expectString,
|
|
8594
|
-
IsDefault: __expectBoolean,
|
|
8595
8619
|
LastModifiedRegion: __expectString,
|
|
8596
8620
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
8597
8621
|
Name: __expectString,
|
|
@@ -9550,6 +9574,31 @@ const de_SecurityProfileSummaryList = (output, context) => {
|
|
|
9550
9574
|
});
|
|
9551
9575
|
return retVal;
|
|
9552
9576
|
};
|
|
9577
|
+
const de_SegmentAttributes = (output, context) => {
|
|
9578
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
9579
|
+
if (value === null) {
|
|
9580
|
+
return acc;
|
|
9581
|
+
}
|
|
9582
|
+
acc[key] = de_SegmentAttributeValue(value, context);
|
|
9583
|
+
return acc;
|
|
9584
|
+
}, {});
|
|
9585
|
+
};
|
|
9586
|
+
const de_SegmentAttributeValue = (output, context) => {
|
|
9587
|
+
return take(output, {
|
|
9588
|
+
ValueInteger: __expectInt32,
|
|
9589
|
+
ValueMap: (_) => de_SegmentAttributeValueMap(_, context),
|
|
9590
|
+
ValueString: __expectString,
|
|
9591
|
+
});
|
|
9592
|
+
};
|
|
9593
|
+
const de_SegmentAttributeValueMap = (output, context) => {
|
|
9594
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
9595
|
+
if (value === null) {
|
|
9596
|
+
return acc;
|
|
9597
|
+
}
|
|
9598
|
+
acc[key] = de_SegmentAttributeValue(value, context);
|
|
9599
|
+
return acc;
|
|
9600
|
+
}, {});
|
|
9601
|
+
};
|
|
9553
9602
|
const de_Step = (output, context) => {
|
|
9554
9603
|
return take(output, {
|
|
9555
9604
|
Expiry: (_) => de_Expiry(_, context),
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateContactResponse } from "../models/models_0";
|
|
5
|
+
import { CreateContactRequest } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -27,7 +28,7 @@ declare const CreateContactCommand_base: {
|
|
|
27
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
|
-
* <p
|
|
31
|
+
* <p>Creates a new contact.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -62,6 +63,16 @@ declare const CreateContactCommand_base: {
|
|
|
62
63
|
* SegmentAttributes: { // SegmentAttributes
|
|
63
64
|
* "<keys>": { // SegmentAttributeValue
|
|
64
65
|
* ValueString: "STRING_VALUE",
|
|
66
|
+
* ValueMap: { // SegmentAttributeValueMap
|
|
67
|
+
* "<keys>": {
|
|
68
|
+
* ValueString: "STRING_VALUE",
|
|
69
|
+
* ValueMap: {
|
|
70
|
+
* "<keys>": "<SegmentAttributeValue>",
|
|
71
|
+
* },
|
|
72
|
+
* ValueInteger: Number("int"),
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* ValueInteger: Number("int"),
|
|
65
76
|
* },
|
|
66
77
|
* },
|
|
67
78
|
* };
|
|
@@ -27,7 +27,9 @@ declare const CreateEmailAddressCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p
|
|
30
|
+
* <p>Create new email address in the specified Amazon Connect instance. For more information
|
|
31
|
+
* about email addresses, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-email-address1.html">Create email addresses</a> in the
|
|
32
|
+
* Amazon Connect Administrator Guide.</p>
|
|
31
33
|
* @example
|
|
32
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
35
|
* ```javascript
|
|
@@ -2,7 +2,7 @@ import { Command as $Command } from "@smithy/smithy-client";
|
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
4
|
import { CreateEvaluationFormResponse } from "../models/models_0";
|
|
5
|
-
import { CreateEvaluationFormRequest } from "../models/
|
|
5
|
+
import { CreateEvaluationFormRequest } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|