@aws-sdk/client-connect 3.883.0 → 3.885.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 +41 -8
- package/dist-es/commands/SearchContactsCommand.js +2 -2
- package/dist-es/commands/UpdateParticipantAuthenticationCommand.js +1 -1
- package/dist-es/models/models_2.js +8 -6
- package/dist-es/models/models_3.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +25 -0
- package/dist-types/commands/CreateContactCommand.d.ts +8 -0
- package/dist-types/commands/CreatePredefinedAttributeCommand.d.ts +29 -4
- package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactCommand.d.ts +8 -0
- package/dist-types/commands/DescribePredefinedAttributeCommand.d.ts +25 -4
- package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +2 -1
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -2
- package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +18 -4
- package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +25 -4
- package/dist-types/commands/StartChatContactCommand.d.ts +8 -0
- package/dist-types/commands/StartEmailContactCommand.d.ts +8 -0
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +8 -0
- package/dist-types/commands/StartTaskContactCommand.d.ts +8 -0
- package/dist-types/commands/UpdateContactCommand.d.ts +8 -0
- package/dist-types/commands/UpdateParticipantAuthenticationCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +29 -4
- package/dist-types/models/models_0.d.ts +27 -16
- package/dist-types/models/models_1.d.ts +48 -47
- package/dist-types/models/models_2.d.ts +54 -45
- package/dist-types/models/models_3.d.ts +892 -823
- package/dist-types/ts3.4/commands/DeleteIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateParticipantAuthenticationCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +6 -5
- package/dist-types/ts3.4/models/models_1.d.ts +10 -12
- package/dist-types/ts3.4/models/models_2.d.ts +17 -11
- package/dist-types/ts3.4/models/models_3.d.ts +107 -91
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -76,6 +76,7 @@ __export(index_exports, {
|
|
|
76
76
|
ContactMetricValue: () => ContactMetricValue,
|
|
77
77
|
ContactNotFoundException: () => ContactNotFoundException,
|
|
78
78
|
ContactRecordingType: () => ContactRecordingType,
|
|
79
|
+
ContactSearchSummaryFilterSensitiveLog: () => ContactSearchSummaryFilterSensitiveLog,
|
|
79
80
|
ContactState: () => ContactState,
|
|
80
81
|
CreateAgentStatusCommand: () => CreateAgentStatusCommand,
|
|
81
82
|
CreateContactCommand: () => CreateContactCommand,
|
|
@@ -379,6 +380,7 @@ __export(index_exports, {
|
|
|
379
380
|
SearchContactsCommand: () => SearchContactsCommand,
|
|
380
381
|
SearchContactsMatchType: () => SearchContactsMatchType,
|
|
381
382
|
SearchContactsRequestFilterSensitiveLog: () => SearchContactsRequestFilterSensitiveLog,
|
|
383
|
+
SearchContactsResponseFilterSensitiveLog: () => SearchContactsResponseFilterSensitiveLog,
|
|
382
384
|
SearchContactsTimeRangeType: () => SearchContactsTimeRangeType,
|
|
383
385
|
SearchCriteriaFilterSensitiveLog: () => SearchCriteriaFilterSensitiveLog,
|
|
384
386
|
SearchEmailAddressesCommand: () => SearchEmailAddressesCommand,
|
|
@@ -2611,6 +2613,14 @@ var SearchContactsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
2611
2613
|
...obj,
|
|
2612
2614
|
...obj.SearchCriteria && { SearchCriteria: SearchCriteriaFilterSensitiveLog(obj.SearchCriteria) }
|
|
2613
2615
|
}), "SearchContactsRequestFilterSensitiveLog");
|
|
2616
|
+
var ContactSearchSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2617
|
+
...obj,
|
|
2618
|
+
...obj.SegmentAttributes && { SegmentAttributes: import_smithy_client.SENSITIVE_STRING }
|
|
2619
|
+
}), "ContactSearchSummaryFilterSensitiveLog");
|
|
2620
|
+
var SearchContactsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2621
|
+
...obj,
|
|
2622
|
+
...obj.Contacts && { Contacts: obj.Contacts.map((item) => ContactSearchSummaryFilterSensitiveLog(item)) }
|
|
2623
|
+
}), "SearchContactsResponseFilterSensitiveLog");
|
|
2614
2624
|
var EmailAddressMetadataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2615
2625
|
...obj,
|
|
2616
2626
|
...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2718,12 +2728,6 @@ var UpdateEmailAddressMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name
|
|
|
2718
2728
|
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
2719
2729
|
...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }
|
|
2720
2730
|
}), "UpdateEmailAddressMetadataRequestFilterSensitiveLog");
|
|
2721
|
-
var UpdateParticipantAuthenticationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2722
|
-
...obj,
|
|
2723
|
-
...obj.Code && { Code: import_smithy_client.SENSITIVE_STRING },
|
|
2724
|
-
...obj.Error && { Error: import_smithy_client.SENSITIVE_STRING },
|
|
2725
|
-
...obj.ErrorDescription && { ErrorDescription: import_smithy_client.SENSITIVE_STRING }
|
|
2726
|
-
}), "UpdateParticipantAuthenticationRequestFilterSensitiveLog");
|
|
2727
2731
|
|
|
2728
2732
|
// src/models/models_3.ts
|
|
2729
2733
|
|
|
@@ -2762,6 +2766,12 @@ var EvaluationFormItem;
|
|
|
2762
2766
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
2763
2767
|
}, "visit");
|
|
2764
2768
|
})(EvaluationFormItem || (EvaluationFormItem = {}));
|
|
2769
|
+
var UpdateParticipantAuthenticationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2770
|
+
...obj,
|
|
2771
|
+
...obj.Code && { Code: import_smithy_client.SENSITIVE_STRING },
|
|
2772
|
+
...obj.Error && { Error: import_smithy_client.SENSITIVE_STRING },
|
|
2773
|
+
...obj.ErrorDescription && { ErrorDescription: import_smithy_client.SENSITIVE_STRING }
|
|
2774
|
+
}), "UpdateParticipantAuthenticationRequestFilterSensitiveLog");
|
|
2765
2775
|
var UpdateUserIdentityInfoRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2766
2776
|
...obj,
|
|
2767
2777
|
...obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }
|
|
@@ -3478,7 +3488,9 @@ var se_CreatePredefinedAttributeCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
3478
3488
|
let body;
|
|
3479
3489
|
body = JSON.stringify(
|
|
3480
3490
|
(0, import_smithy_client.take)(input, {
|
|
3491
|
+
AttributeConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AttributeConfiguration"),
|
|
3481
3492
|
Name: [],
|
|
3493
|
+
Purposes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Purposes"),
|
|
3482
3494
|
Values: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Values")
|
|
3483
3495
|
})
|
|
3484
3496
|
);
|
|
@@ -6844,6 +6856,8 @@ var se_UpdatePredefinedAttributeCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
6844
6856
|
let body;
|
|
6845
6857
|
body = JSON.stringify(
|
|
6846
6858
|
(0, import_smithy_client.take)(input, {
|
|
6859
|
+
AttributeConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AttributeConfiguration"),
|
|
6860
|
+
Purposes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Purposes"),
|
|
6847
6861
|
Values: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Values")
|
|
6848
6862
|
})
|
|
6849
6863
|
);
|
|
@@ -11872,11 +11886,18 @@ var se_SegmentAttributes = /* @__PURE__ */ __name((input, context) => {
|
|
|
11872
11886
|
}, "se_SegmentAttributes");
|
|
11873
11887
|
var se_SegmentAttributeValue = /* @__PURE__ */ __name((input, context) => {
|
|
11874
11888
|
return (0, import_smithy_client.take)(input, {
|
|
11889
|
+
ValueArn: [],
|
|
11875
11890
|
ValueInteger: [],
|
|
11891
|
+
ValueList: /* @__PURE__ */ __name((_) => se_SegmentAttributeValueList(_, context), "ValueList"),
|
|
11876
11892
|
ValueMap: /* @__PURE__ */ __name((_) => se_SegmentAttributeValueMap(_, context), "ValueMap"),
|
|
11877
11893
|
ValueString: []
|
|
11878
11894
|
});
|
|
11879
11895
|
}, "se_SegmentAttributeValue");
|
|
11896
|
+
var se_SegmentAttributeValueList = /* @__PURE__ */ __name((input, context) => {
|
|
11897
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
11898
|
+
return se_SegmentAttributeValue(entry, context);
|
|
11899
|
+
});
|
|
11900
|
+
}, "se_SegmentAttributeValueList");
|
|
11880
11901
|
var se_SegmentAttributeValueMap = /* @__PURE__ */ __name((input, context) => {
|
|
11881
11902
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
11882
11903
|
if (value === null) {
|
|
@@ -12766,9 +12787,11 @@ var de_ParticipantMetrics = /* @__PURE__ */ __name((output, context) => {
|
|
|
12766
12787
|
}, "de_ParticipantMetrics");
|
|
12767
12788
|
var de_PredefinedAttribute = /* @__PURE__ */ __name((output, context) => {
|
|
12768
12789
|
return (0, import_smithy_client.take)(output, {
|
|
12790
|
+
AttributeConfiguration: import_smithy_client._json,
|
|
12769
12791
|
LastModifiedRegion: import_smithy_client.expectString,
|
|
12770
12792
|
LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),
|
|
12771
12793
|
Name: import_smithy_client.expectString,
|
|
12794
|
+
Purposes: import_smithy_client._json,
|
|
12772
12795
|
Values: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "Values")
|
|
12773
12796
|
});
|
|
12774
12797
|
}, "de_PredefinedAttribute");
|
|
@@ -13168,11 +13191,19 @@ var de_SegmentAttributes = /* @__PURE__ */ __name((output, context) => {
|
|
|
13168
13191
|
}, "de_SegmentAttributes");
|
|
13169
13192
|
var de_SegmentAttributeValue = /* @__PURE__ */ __name((output, context) => {
|
|
13170
13193
|
return (0, import_smithy_client.take)(output, {
|
|
13194
|
+
ValueArn: import_smithy_client.expectString,
|
|
13171
13195
|
ValueInteger: import_smithy_client.expectInt32,
|
|
13196
|
+
ValueList: /* @__PURE__ */ __name((_) => de_SegmentAttributeValueList(_, context), "ValueList"),
|
|
13172
13197
|
ValueMap: /* @__PURE__ */ __name((_) => de_SegmentAttributeValueMap(_, context), "ValueMap"),
|
|
13173
13198
|
ValueString: import_smithy_client.expectString
|
|
13174
13199
|
});
|
|
13175
13200
|
}, "de_SegmentAttributeValue");
|
|
13201
|
+
var de_SegmentAttributeValueList = /* @__PURE__ */ __name((output, context) => {
|
|
13202
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
13203
|
+
return de_SegmentAttributeValue(entry, context);
|
|
13204
|
+
});
|
|
13205
|
+
return retVal;
|
|
13206
|
+
}, "de_SegmentAttributeValueList");
|
|
13176
13207
|
var de_SegmentAttributeValueMap = /* @__PURE__ */ __name((output, context) => {
|
|
13177
13208
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
13178
13209
|
if (value === null) {
|
|
@@ -16359,7 +16390,7 @@ var SearchContactsCommand = class extends import_smithy_client.Command.classBuil
|
|
|
16359
16390
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16360
16391
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
16361
16392
|
];
|
|
16362
|
-
}).s("AmazonConnectService", "SearchContacts", {}).n("ConnectClient", "SearchContactsCommand").f(SearchContactsRequestFilterSensitiveLog,
|
|
16393
|
+
}).s("AmazonConnectService", "SearchContacts", {}).n("ConnectClient", "SearchContactsCommand").f(SearchContactsRequestFilterSensitiveLog, SearchContactsResponseFilterSensitiveLog).ser(se_SearchContactsCommand).de(de_SearchContactsCommand).build() {
|
|
16363
16394
|
static {
|
|
16364
16395
|
__name(this, "SearchContactsCommand");
|
|
16365
16396
|
}
|
|
@@ -18785,6 +18816,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
18785
18816
|
SearchableSegmentAttributesFilterSensitiveLog,
|
|
18786
18817
|
SearchCriteriaFilterSensitiveLog,
|
|
18787
18818
|
SearchContactsRequestFilterSensitiveLog,
|
|
18819
|
+
ContactSearchSummaryFilterSensitiveLog,
|
|
18820
|
+
SearchContactsResponseFilterSensitiveLog,
|
|
18788
18821
|
EmailAddressMetadataFilterSensitiveLog,
|
|
18789
18822
|
SearchEmailAddressesResponseFilterSensitiveLog,
|
|
18790
18823
|
UserIdentityInfoLiteFilterSensitiveLog,
|
|
@@ -18805,13 +18838,13 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
18805
18838
|
ConnectionDataFilterSensitiveLog,
|
|
18806
18839
|
StartWebRTCContactResponseFilterSensitiveLog,
|
|
18807
18840
|
UpdateEmailAddressMetadataRequestFilterSensitiveLog,
|
|
18808
|
-
UpdateParticipantAuthenticationRequestFilterSensitiveLog,
|
|
18809
18841
|
TimerEligibleParticipantRoles,
|
|
18810
18842
|
ParticipantTimerType,
|
|
18811
18843
|
ParticipantTimerAction,
|
|
18812
18844
|
ParticipantTimerValue,
|
|
18813
18845
|
UpdateParticipantRoleConfigChannelInfo,
|
|
18814
18846
|
EvaluationFormItem,
|
|
18847
|
+
UpdateParticipantAuthenticationRequestFilterSensitiveLog,
|
|
18815
18848
|
UpdateUserIdentityInfoRequestFilterSensitiveLog,
|
|
18816
18849
|
UpdateViewContentRequestFilterSensitiveLog,
|
|
18817
18850
|
UpdateViewContentResponseFilterSensitiveLog,
|
|
@@ -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 { SearchContactsRequestFilterSensitiveLog, } from "../models/models_2";
|
|
5
|
+
import { SearchContactsRequestFilterSensitiveLog, SearchContactsResponseFilterSensitiveLog, } from "../models/models_2";
|
|
6
6
|
import { de_SearchContactsCommand, se_SearchContactsCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class SearchContactsCommand extends $Command
|
|
@@ -16,7 +16,7 @@ export class SearchContactsCommand extends $Command
|
|
|
16
16
|
})
|
|
17
17
|
.s("AmazonConnectService", "SearchContacts", {})
|
|
18
18
|
.n("ConnectClient", "SearchContactsCommand")
|
|
19
|
-
.f(SearchContactsRequestFilterSensitiveLog,
|
|
19
|
+
.f(SearchContactsRequestFilterSensitiveLog, SearchContactsResponseFilterSensitiveLog)
|
|
20
20
|
.ser(se_SearchContactsCommand)
|
|
21
21
|
.de(de_SearchContactsCommand)
|
|
22
22
|
.build() {
|
|
@@ -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 { UpdateParticipantAuthenticationRequestFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { UpdateParticipantAuthenticationRequestFilterSensitiveLog, } from "../models/models_3";
|
|
6
6
|
import { de_UpdateParticipantAuthenticationCommand, se_UpdateParticipantAuthenticationCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdateParticipantAuthenticationCommand extends $Command
|
|
@@ -312,6 +312,14 @@ export const SearchContactsRequestFilterSensitiveLog = (obj) => ({
|
|
|
312
312
|
...obj,
|
|
313
313
|
...(obj.SearchCriteria && { SearchCriteria: SearchCriteriaFilterSensitiveLog(obj.SearchCriteria) }),
|
|
314
314
|
});
|
|
315
|
+
export const ContactSearchSummaryFilterSensitiveLog = (obj) => ({
|
|
316
|
+
...obj,
|
|
317
|
+
...(obj.SegmentAttributes && { SegmentAttributes: SENSITIVE_STRING }),
|
|
318
|
+
});
|
|
319
|
+
export const SearchContactsResponseFilterSensitiveLog = (obj) => ({
|
|
320
|
+
...obj,
|
|
321
|
+
...(obj.Contacts && { Contacts: obj.Contacts.map((item) => ContactSearchSummaryFilterSensitiveLog(item)) }),
|
|
322
|
+
});
|
|
315
323
|
export const EmailAddressMetadataFilterSensitiveLog = (obj) => ({
|
|
316
324
|
...obj,
|
|
317
325
|
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
@@ -419,9 +427,3 @@ export const UpdateEmailAddressMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
|
419
427
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
420
428
|
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
421
429
|
});
|
|
422
|
-
export const UpdateParticipantAuthenticationRequestFilterSensitiveLog = (obj) => ({
|
|
423
|
-
...obj,
|
|
424
|
-
...(obj.Code && { Code: SENSITIVE_STRING }),
|
|
425
|
-
...(obj.Error && { Error: SENSITIVE_STRING }),
|
|
426
|
-
...(obj.ErrorDescription && { ErrorDescription: SENSITIVE_STRING }),
|
|
427
|
-
});
|
|
@@ -40,6 +40,12 @@ export var EvaluationFormItem;
|
|
|
40
40
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
41
41
|
};
|
|
42
42
|
})(EvaluationFormItem || (EvaluationFormItem = {}));
|
|
43
|
+
export const UpdateParticipantAuthenticationRequestFilterSensitiveLog = (obj) => ({
|
|
44
|
+
...obj,
|
|
45
|
+
...(obj.Code && { Code: SENSITIVE_STRING }),
|
|
46
|
+
...(obj.Error && { Error: SENSITIVE_STRING }),
|
|
47
|
+
...(obj.ErrorDescription && { ErrorDescription: SENSITIVE_STRING }),
|
|
48
|
+
});
|
|
43
49
|
export const UpdateUserIdentityInfoRequestFilterSensitiveLog = (obj) => ({
|
|
44
50
|
...obj,
|
|
45
51
|
...(obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }),
|
|
@@ -596,7 +596,9 @@ export const se_CreatePredefinedAttributeCommand = async (input, context) => {
|
|
|
596
596
|
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
597
597
|
let body;
|
|
598
598
|
body = JSON.stringify(take(input, {
|
|
599
|
+
AttributeConfiguration: (_) => _json(_),
|
|
599
600
|
Name: [],
|
|
601
|
+
Purposes: (_) => _json(_),
|
|
600
602
|
Values: (_) => _json(_),
|
|
601
603
|
}));
|
|
602
604
|
b.m("PUT").h(headers).b(body);
|
|
@@ -3762,6 +3764,8 @@ export const se_UpdatePredefinedAttributeCommand = async (input, context) => {
|
|
|
3762
3764
|
b.p("Name", () => input.Name, "{Name}", false);
|
|
3763
3765
|
let body;
|
|
3764
3766
|
body = JSON.stringify(take(input, {
|
|
3767
|
+
AttributeConfiguration: (_) => _json(_),
|
|
3768
|
+
Purposes: (_) => _json(_),
|
|
3765
3769
|
Values: (_) => _json(_),
|
|
3766
3770
|
}));
|
|
3767
3771
|
b.m("POST").h(headers).b(body);
|
|
@@ -8771,11 +8775,20 @@ const se_SegmentAttributes = (input, context) => {
|
|
|
8771
8775
|
};
|
|
8772
8776
|
const se_SegmentAttributeValue = (input, context) => {
|
|
8773
8777
|
return take(input, {
|
|
8778
|
+
ValueArn: [],
|
|
8774
8779
|
ValueInteger: [],
|
|
8780
|
+
ValueList: (_) => se_SegmentAttributeValueList(_, context),
|
|
8775
8781
|
ValueMap: (_) => se_SegmentAttributeValueMap(_, context),
|
|
8776
8782
|
ValueString: [],
|
|
8777
8783
|
});
|
|
8778
8784
|
};
|
|
8785
|
+
const se_SegmentAttributeValueList = (input, context) => {
|
|
8786
|
+
return input
|
|
8787
|
+
.filter((e) => e != null)
|
|
8788
|
+
.map((entry) => {
|
|
8789
|
+
return se_SegmentAttributeValue(entry, context);
|
|
8790
|
+
});
|
|
8791
|
+
};
|
|
8779
8792
|
const se_SegmentAttributeValueMap = (input, context) => {
|
|
8780
8793
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
8781
8794
|
if (value === null) {
|
|
@@ -9723,9 +9736,11 @@ const de_ParticipantMetrics = (output, context) => {
|
|
|
9723
9736
|
};
|
|
9724
9737
|
const de_PredefinedAttribute = (output, context) => {
|
|
9725
9738
|
return take(output, {
|
|
9739
|
+
AttributeConfiguration: _json,
|
|
9726
9740
|
LastModifiedRegion: __expectString,
|
|
9727
9741
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9728
9742
|
Name: __expectString,
|
|
9743
|
+
Purposes: _json,
|
|
9729
9744
|
Values: (_) => _json(__expectUnion(_)),
|
|
9730
9745
|
});
|
|
9731
9746
|
};
|
|
@@ -10157,11 +10172,21 @@ const de_SegmentAttributes = (output, context) => {
|
|
|
10157
10172
|
};
|
|
10158
10173
|
const de_SegmentAttributeValue = (output, context) => {
|
|
10159
10174
|
return take(output, {
|
|
10175
|
+
ValueArn: __expectString,
|
|
10160
10176
|
ValueInteger: __expectInt32,
|
|
10177
|
+
ValueList: (_) => de_SegmentAttributeValueList(_, context),
|
|
10161
10178
|
ValueMap: (_) => de_SegmentAttributeValueMap(_, context),
|
|
10162
10179
|
ValueString: __expectString,
|
|
10163
10180
|
});
|
|
10164
10181
|
};
|
|
10182
|
+
const de_SegmentAttributeValueList = (output, context) => {
|
|
10183
|
+
const retVal = (output || [])
|
|
10184
|
+
.filter((e) => e != null)
|
|
10185
|
+
.map((entry) => {
|
|
10186
|
+
return de_SegmentAttributeValue(entry, context);
|
|
10187
|
+
});
|
|
10188
|
+
return retVal;
|
|
10189
|
+
};
|
|
10165
10190
|
const de_SegmentAttributeValueMap = (output, context) => {
|
|
10166
10191
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
10167
10192
|
if (value === null) {
|
|
@@ -92,9 +92,17 @@ declare const CreateContactCommand_base: {
|
|
|
92
92
|
* "<keys>": "<SegmentAttributeValue>",
|
|
93
93
|
* },
|
|
94
94
|
* ValueInteger: Number("int"),
|
|
95
|
+
* ValueList: [ // SegmentAttributeValueList
|
|
96
|
+
* "<SegmentAttributeValue>",
|
|
97
|
+
* ],
|
|
98
|
+
* ValueArn: "STRING_VALUE",
|
|
95
99
|
* },
|
|
96
100
|
* },
|
|
97
101
|
* ValueInteger: Number("int"),
|
|
102
|
+
* ValueList: [
|
|
103
|
+
* "<SegmentAttributeValue>",
|
|
104
|
+
* ],
|
|
105
|
+
* ValueArn: "STRING_VALUE",
|
|
98
106
|
* },
|
|
99
107
|
* },
|
|
100
108
|
* PreviousContactId: "STRING_VALUE",
|
|
@@ -27,10 +27,29 @@ declare const CreatePredefinedAttributeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new predefined attribute for the specified Amazon Connect instance. <i>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>Creates a new predefined attribute for the specified Amazon Connect instance. A <i>predefined
|
|
31
|
+
* attribute</i> is made up of a name and a value.</p>
|
|
32
|
+
* <p>For the predefined attributes per instance quota, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#connect-quotas">Amazon Connect quotas</a>.</p>
|
|
33
|
+
* <p>
|
|
34
|
+
* <b>Use cases</b>
|
|
35
|
+
* </p>
|
|
36
|
+
* <p>Following are common uses cases for this API:</p>
|
|
37
|
+
* <ul>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>Create an attribute for routing proficiency (for example, agent certification) that has
|
|
40
|
+
* predefined values (for example, a list of possible certifications). For more information, see
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
|
|
42
|
+
* predefined attributes for routing contacts to agents</a>.</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>Create an attribute for business unit name that has a list of predefined business unit
|
|
46
|
+
* names used in your organization. This is a use case where information for a contact varies between transfers or conferences. For more information, see
|
|
47
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/use-contact-segment-attributes.html">Use contact segment attributes</a>.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* </ul>
|
|
50
|
+
* <p>
|
|
51
|
+
* <b>Endpoints</b>: See <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect endpoints and
|
|
52
|
+
* quotas</a>.</p>
|
|
34
53
|
* @example
|
|
35
54
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
55
|
* ```javascript
|
|
@@ -45,6 +64,12 @@ declare const CreatePredefinedAttributeCommand_base: {
|
|
|
45
64
|
* "STRING_VALUE",
|
|
46
65
|
* ],
|
|
47
66
|
* },
|
|
67
|
+
* Purposes: [ // PredefinedAttributePurposeNameList
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* AttributeConfiguration: { // InputPredefinedAttributeConfiguration
|
|
71
|
+
* EnableValueValidationOnAssociation: true || false,
|
|
72
|
+
* },
|
|
48
73
|
* };
|
|
49
74
|
* const command = new CreatePredefinedAttributeCommand(input);
|
|
50
75
|
* const response = await client.send(command);
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { DeleteIntegrationAssociationRequest } from "../models/
|
|
4
|
+
import { DeleteIntegrationAssociationRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -336,9 +336,17 @@ declare const DescribeContactCommand_base: {
|
|
|
336
336
|
* // "<keys>": "<SegmentAttributeValue>",
|
|
337
337
|
* // },
|
|
338
338
|
* // ValueInteger: Number("int"),
|
|
339
|
+
* // ValueList: [ // SegmentAttributeValueList
|
|
340
|
+
* // "<SegmentAttributeValue>",
|
|
341
|
+
* // ],
|
|
342
|
+
* // ValueArn: "STRING_VALUE",
|
|
339
343
|
* // },
|
|
340
344
|
* // },
|
|
341
345
|
* // ValueInteger: Number("int"),
|
|
346
|
+
* // ValueList: [
|
|
347
|
+
* // "<SegmentAttributeValue>",
|
|
348
|
+
* // ],
|
|
349
|
+
* // ValueArn: "STRING_VALUE",
|
|
342
350
|
* // },
|
|
343
351
|
* // },
|
|
344
352
|
* // Recordings: [ // Recordings
|
|
@@ -27,10 +27,24 @@ declare const DescribePredefinedAttributeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes a predefined attribute for the specified Amazon Connect instance. <i>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>Describes a predefined attribute for the specified Amazon Connect instance. A <i>predefined
|
|
31
|
+
* attribute</i> is made up of a name and a value. You can use predefined attributes for:</p>
|
|
32
|
+
* <ul>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>Routing proficiency (for example, agent certification) that has
|
|
35
|
+
* predefined values (for example, a list of possible certifications). For more information, see
|
|
36
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
|
|
37
|
+
* predefined attributes for routing contacts to agents</a>.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>Contact information that varies between transfers or conferences, such as the name of the business unit handling the contact. For more information, see
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/use-contact-segment-attributes.html">Use contact segment attributes</a>.</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* </ul>
|
|
44
|
+
* <p>For the predefined attributes per instance quota, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#connect-quotas">Amazon Connect quotas</a>.</p>
|
|
45
|
+
* <p>
|
|
46
|
+
* <b>Endpoints</b>: See <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect endpoints and
|
|
47
|
+
* quotas</a>.</p>
|
|
34
48
|
* @example
|
|
35
49
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
50
|
* ```javascript
|
|
@@ -51,6 +65,13 @@ declare const DescribePredefinedAttributeCommand_base: {
|
|
|
51
65
|
* // "STRING_VALUE",
|
|
52
66
|
* // ],
|
|
53
67
|
* // },
|
|
68
|
+
* // Purposes: [ // PredefinedAttributePurposeNameList
|
|
69
|
+
* // "STRING_VALUE",
|
|
70
|
+
* // ],
|
|
71
|
+
* // AttributeConfiguration: { // PredefinedAttributeConfiguration
|
|
72
|
+
* // EnableValueValidationOnAssociation: true || false,
|
|
73
|
+
* // IsReadOnly: true || false,
|
|
74
|
+
* // },
|
|
54
75
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
55
76
|
* // LastModifiedRegion: "STRING_VALUE",
|
|
56
77
|
* // },
|
|
@@ -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 { ListInstanceStorageConfigsRequest
|
|
4
|
+
import { ListInstanceStorageConfigsRequest } from "../models/models_1";
|
|
5
|
+
import { ListInstanceStorageConfigsResponse } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
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 { ListIntegrationAssociationsRequest } from "../models/
|
|
5
|
-
import { ListIntegrationAssociationsResponse } from "../models/models_2";
|
|
4
|
+
import { ListIntegrationAssociationsRequest, ListIntegrationAssociationsResponse } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -27,10 +27,24 @@ declare const ListPredefinedAttributesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists predefined attributes for the specified Amazon Connect instance. <i>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>Lists predefined attributes for the specified Amazon Connect instance. A <i>predefined
|
|
31
|
+
* attribute</i> is made up of a name and a value. You can use predefined attributes for:</p>
|
|
32
|
+
* <ul>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>Routing proficiency (for example, agent certification) that has
|
|
35
|
+
* predefined values (for example, a list of possible certifications). For more information, see
|
|
36
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
|
|
37
|
+
* predefined attributes for routing contacts to agents</a>.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>Contact information that varies between transfers or conferences, such as the name of the business unit handling the contact. For more information, see
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/use-contact-segment-attributes.html">Use contact segment attributes</a>.</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* </ul>
|
|
44
|
+
* <p>For the predefined attributes per instance quota, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#connect-quotas">Amazon Connect quotas</a>.</p>
|
|
45
|
+
* <p>
|
|
46
|
+
* <b>Endpoints</b>: See <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect endpoints and
|
|
47
|
+
* quotas</a>.</p>
|
|
34
48
|
* @example
|
|
35
49
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
50
|
* ```javascript
|
|
@@ -28,10 +28,24 @@ declare const SearchPredefinedAttributesCommand_base: {
|
|
|
28
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
|
-
* <p>Searches predefined attributes that meet certain criteria. <i>
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
31
|
+
* <p>Searches predefined attributes that meet certain criteria. A <i>predefined
|
|
32
|
+
* attribute</i> is made up of a name and a value. You can use predefined attributes for:</p>
|
|
33
|
+
* <ul>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>Routing proficiency (for example, agent certification) that has
|
|
36
|
+
* predefined values (for example, a list of possible certifications). For more information, see
|
|
37
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
|
|
38
|
+
* predefined attributes for routing contacts to agents</a>.</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>Contact information that varies between transfers or conferences, such as the name of the business unit handling the contact. For more information, see
|
|
42
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/use-contact-segment-attributes.html">Use contact segment attributes</a>.</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* </ul>
|
|
45
|
+
* <p>For the predefined attributes per instance quota, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#connect-quotas">Amazon Connect quotas</a>.</p>
|
|
46
|
+
* <p>
|
|
47
|
+
* <b>Endpoints</b>: See <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect endpoints and
|
|
48
|
+
* quotas</a>.</p>
|
|
35
49
|
* @example
|
|
36
50
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
51
|
* ```javascript
|
|
@@ -79,6 +93,13 @@ declare const SearchPredefinedAttributesCommand_base: {
|
|
|
79
93
|
* // "STRING_VALUE",
|
|
80
94
|
* // ],
|
|
81
95
|
* // },
|
|
96
|
+
* // Purposes: [ // PredefinedAttributePurposeNameList
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // AttributeConfiguration: { // PredefinedAttributeConfiguration
|
|
100
|
+
* // EnableValueValidationOnAssociation: true || false,
|
|
101
|
+
* // IsReadOnly: true || false,
|
|
102
|
+
* // },
|
|
82
103
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
83
104
|
* // LastModifiedRegion: "STRING_VALUE",
|
|
84
105
|
* // },
|
|
@@ -100,9 +100,17 @@ declare const StartChatContactCommand_base: {
|
|
|
100
100
|
* "<keys>": "<SegmentAttributeValue>",
|
|
101
101
|
* },
|
|
102
102
|
* ValueInteger: Number("int"),
|
|
103
|
+
* ValueList: [ // SegmentAttributeValueList
|
|
104
|
+
* "<SegmentAttributeValue>",
|
|
105
|
+
* ],
|
|
106
|
+
* ValueArn: "STRING_VALUE",
|
|
103
107
|
* },
|
|
104
108
|
* },
|
|
105
109
|
* ValueInteger: Number("int"),
|
|
110
|
+
* ValueList: [
|
|
111
|
+
* "<SegmentAttributeValue>",
|
|
112
|
+
* ],
|
|
113
|
+
* ValueArn: "STRING_VALUE",
|
|
106
114
|
* },
|
|
107
115
|
* },
|
|
108
116
|
* CustomerId: "STRING_VALUE",
|
|
@@ -100,9 +100,17 @@ declare const StartEmailContactCommand_base: {
|
|
|
100
100
|
* "<keys>": "<SegmentAttributeValue>",
|
|
101
101
|
* },
|
|
102
102
|
* ValueInteger: Number("int"),
|
|
103
|
+
* ValueList: [ // SegmentAttributeValueList
|
|
104
|
+
* "<SegmentAttributeValue>",
|
|
105
|
+
* ],
|
|
106
|
+
* ValueArn: "STRING_VALUE",
|
|
103
107
|
* },
|
|
104
108
|
* },
|
|
105
109
|
* ValueInteger: Number("int"),
|
|
110
|
+
* ValueList: [
|
|
111
|
+
* "<SegmentAttributeValue>",
|
|
112
|
+
* ],
|
|
113
|
+
* ValueArn: "STRING_VALUE",
|
|
106
114
|
* },
|
|
107
115
|
* },
|
|
108
116
|
* ClientToken: "STRING_VALUE",
|
|
@@ -79,9 +79,17 @@ declare const StartOutboundChatContactCommand_base: {
|
|
|
79
79
|
* "<keys>": "<SegmentAttributeValue>",
|
|
80
80
|
* },
|
|
81
81
|
* ValueInteger: Number("int"),
|
|
82
|
+
* ValueList: [ // SegmentAttributeValueList
|
|
83
|
+
* "<SegmentAttributeValue>",
|
|
84
|
+
* ],
|
|
85
|
+
* ValueArn: "STRING_VALUE",
|
|
82
86
|
* },
|
|
83
87
|
* },
|
|
84
88
|
* ValueInteger: Number("int"),
|
|
89
|
+
* ValueList: [
|
|
90
|
+
* "<SegmentAttributeValue>",
|
|
91
|
+
* ],
|
|
92
|
+
* ValueArn: "STRING_VALUE",
|
|
85
93
|
* },
|
|
86
94
|
* },
|
|
87
95
|
* Attributes: { // Attributes
|
|
@@ -118,9 +118,17 @@ declare const StartTaskContactCommand_base: {
|
|
|
118
118
|
* "<keys>": "<SegmentAttributeValue>",
|
|
119
119
|
* },
|
|
120
120
|
* ValueInteger: Number("int"),
|
|
121
|
+
* ValueList: [ // SegmentAttributeValueList
|
|
122
|
+
* "<SegmentAttributeValue>",
|
|
123
|
+
* ],
|
|
124
|
+
* ValueArn: "STRING_VALUE",
|
|
121
125
|
* },
|
|
122
126
|
* },
|
|
123
127
|
* ValueInteger: Number("int"),
|
|
128
|
+
* ValueList: [
|
|
129
|
+
* "<SegmentAttributeValue>",
|
|
130
|
+
* ],
|
|
131
|
+
* ValueArn: "STRING_VALUE",
|
|
124
132
|
* },
|
|
125
133
|
* },
|
|
126
134
|
* };
|
|
@@ -65,9 +65,17 @@ declare const UpdateContactCommand_base: {
|
|
|
65
65
|
* "<keys>": "<SegmentAttributeValue>",
|
|
66
66
|
* },
|
|
67
67
|
* ValueInteger: Number("int"),
|
|
68
|
+
* ValueList: [ // SegmentAttributeValueList
|
|
69
|
+
* "<SegmentAttributeValue>",
|
|
70
|
+
* ],
|
|
71
|
+
* ValueArn: "STRING_VALUE",
|
|
68
72
|
* },
|
|
69
73
|
* },
|
|
70
74
|
* ValueInteger: Number("int"),
|
|
75
|
+
* ValueList: [
|
|
76
|
+
* "<SegmentAttributeValue>",
|
|
77
|
+
* ],
|
|
78
|
+
* ValueArn: "STRING_VALUE",
|
|
71
79
|
* },
|
|
72
80
|
* },
|
|
73
81
|
* QueueInfo: { // QueueInfoInput
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { UpdateParticipantAuthenticationRequest, UpdateParticipantAuthenticationResponse } from "../models/
|
|
4
|
+
import { UpdateParticipantAuthenticationRequest, UpdateParticipantAuthenticationResponse } from "../models/models_3";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|