@aws-sdk/client-connect 3.607.0 → 3.609.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 +38 -0
- package/dist-cjs/index.js +178 -0
- package/dist-es/Connect.js +6 -0
- package/dist-es/commands/DescribeAuthenticationProfileCommand.js +24 -0
- package/dist-es/commands/ListAuthenticationProfilesCommand.js +24 -0
- package/dist-es/commands/UpdateAuthenticationProfileCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/pagination/ListAuthenticationProfilesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +115 -0
- package/dist-types/Connect.d.ts +36 -1
- package/dist-types/ConnectClient.d.ts +20 -3
- package/dist-types/commands/DescribeAuthenticationProfileCommand.d.ts +95 -0
- package/dist-types/commands/ListAuthenticationProfilesCommand.d.ts +89 -0
- package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserProficienciesCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersCommand.d.ts +1 -2
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +1 -2
- package/dist-types/commands/UpdateAuthenticationProfileCommand.d.ts +85 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +15 -1
- package/dist-types/models/models_0.d.ts +114 -69
- package/dist-types/models/models_1.d.ts +143 -141
- package/dist-types/models/models_2.d.ts +194 -6
- package/dist-types/pagination/ListAuthenticationProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Connect.d.ts +51 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DescribeAuthenticationProfileCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListAuthenticationProfilesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserProficienciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateAuthenticationProfileCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -14
- package/dist-types/ts3.4/models/models_1.d.ts +31 -37
- package/dist-types/ts3.4/models/models_2.d.ts +44 -2
- package/dist-types/ts3.4/pagination/ListAuthenticationProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -6,6 +6,20 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
+
<ul>
|
|
10
|
+
<li>
|
|
11
|
+
<p>
|
|
12
|
+
<a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Service.html">Amazon Connect
|
|
13
|
+
actions</a>
|
|
14
|
+
</p>
|
|
15
|
+
</li>
|
|
16
|
+
<li>
|
|
17
|
+
<p>
|
|
18
|
+
<a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Service.html">Amazon Connect
|
|
19
|
+
data types</a>
|
|
20
|
+
</p>
|
|
21
|
+
</li>
|
|
22
|
+
</ul>
|
|
9
23
|
<p>Amazon Connect is a cloud-based contact center solution that you use to set up and
|
|
10
24
|
manage a customer contact center and provide reliable customer engagement at any scale.</p>
|
|
11
25
|
<p>Amazon Connect provides metrics and real-time reporting that enable you to optimize
|
|
@@ -780,6 +794,14 @@ DescribeAgentStatus
|
|
|
780
794
|
|
|
781
795
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/DescribeAgentStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DescribeAgentStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DescribeAgentStatusCommandOutput/)
|
|
782
796
|
|
|
797
|
+
</details>
|
|
798
|
+
<details>
|
|
799
|
+
<summary>
|
|
800
|
+
DescribeAuthenticationProfile
|
|
801
|
+
</summary>
|
|
802
|
+
|
|
803
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/DescribeAuthenticationProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DescribeAuthenticationProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DescribeAuthenticationProfileCommandOutput/)
|
|
804
|
+
|
|
783
805
|
</details>
|
|
784
806
|
<details>
|
|
785
807
|
<summary>
|
|
@@ -1196,6 +1218,14 @@ ListApprovedOrigins
|
|
|
1196
1218
|
|
|
1197
1219
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/ListApprovedOriginsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ListApprovedOriginsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ListApprovedOriginsCommandOutput/)
|
|
1198
1220
|
|
|
1221
|
+
</details>
|
|
1222
|
+
<details>
|
|
1223
|
+
<summary>
|
|
1224
|
+
ListAuthenticationProfiles
|
|
1225
|
+
</summary>
|
|
1226
|
+
|
|
1227
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/ListAuthenticationProfilesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ListAuthenticationProfilesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ListAuthenticationProfilesCommandOutput/)
|
|
1228
|
+
|
|
1199
1229
|
</details>
|
|
1200
1230
|
<details>
|
|
1201
1231
|
<summary>
|
|
@@ -1852,6 +1882,14 @@ UpdateAgentStatus
|
|
|
1852
1882
|
|
|
1853
1883
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/UpdateAgentStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/UpdateAgentStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/UpdateAgentStatusCommandOutput/)
|
|
1854
1884
|
|
|
1885
|
+
</details>
|
|
1886
|
+
<details>
|
|
1887
|
+
<summary>
|
|
1888
|
+
UpdateAuthenticationProfile
|
|
1889
|
+
</summary>
|
|
1890
|
+
|
|
1891
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/UpdateAuthenticationProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/UpdateAuthenticationProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/UpdateAuthenticationProfileCommandOutput/)
|
|
1892
|
+
|
|
1855
1893
|
</details>
|
|
1856
1894
|
<details>
|
|
1857
1895
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -129,6 +129,7 @@ __export(src_exports, {
|
|
|
129
129
|
DeleteViewVersionCommand: () => DeleteViewVersionCommand,
|
|
130
130
|
DeleteVocabularyCommand: () => DeleteVocabularyCommand,
|
|
131
131
|
DescribeAgentStatusCommand: () => DescribeAgentStatusCommand,
|
|
132
|
+
DescribeAuthenticationProfileCommand: () => DescribeAuthenticationProfileCommand,
|
|
132
133
|
DescribeContactCommand: () => DescribeContactCommand,
|
|
133
134
|
DescribeContactEvaluationCommand: () => DescribeContactEvaluationCommand,
|
|
134
135
|
DescribeContactFlowCommand: () => DescribeContactFlowCommand,
|
|
@@ -227,6 +228,7 @@ __export(src_exports, {
|
|
|
227
228
|
ListAgentStatusesCommand: () => ListAgentStatusesCommand,
|
|
228
229
|
ListAnalyticsDataAssociationsCommand: () => ListAnalyticsDataAssociationsCommand,
|
|
229
230
|
ListApprovedOriginsCommand: () => ListApprovedOriginsCommand,
|
|
231
|
+
ListAuthenticationProfilesCommand: () => ListAuthenticationProfilesCommand,
|
|
230
232
|
ListBotsCommand: () => ListBotsCommand,
|
|
231
233
|
ListContactEvaluationsCommand: () => ListContactEvaluationsCommand,
|
|
232
234
|
ListContactFlowModulesCommand: () => ListContactFlowModulesCommand,
|
|
@@ -384,6 +386,7 @@ __export(src_exports, {
|
|
|
384
386
|
UntagContactCommand: () => UntagContactCommand,
|
|
385
387
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
386
388
|
UpdateAgentStatusCommand: () => UpdateAgentStatusCommand,
|
|
389
|
+
UpdateAuthenticationProfileCommand: () => UpdateAuthenticationProfileCommand,
|
|
387
390
|
UpdateContactAttributesCommand: () => UpdateContactAttributesCommand,
|
|
388
391
|
UpdateContactCommand: () => UpdateContactCommand,
|
|
389
392
|
UpdateContactEvaluationCommand: () => UpdateContactEvaluationCommand,
|
|
@@ -459,6 +462,7 @@ __export(src_exports, {
|
|
|
459
462
|
paginateGetMetricDataV2: () => paginateGetMetricDataV2,
|
|
460
463
|
paginateListAgentStatuses: () => paginateListAgentStatuses,
|
|
461
464
|
paginateListApprovedOrigins: () => paginateListApprovedOrigins,
|
|
465
|
+
paginateListAuthenticationProfiles: () => paginateListAuthenticationProfiles,
|
|
462
466
|
paginateListBots: () => paginateListBots,
|
|
463
467
|
paginateListContactEvaluations: () => paginateListContactEvaluations,
|
|
464
468
|
paginateListContactFlowModules: () => paginateListContactFlowModules,
|
|
@@ -3440,6 +3444,16 @@ var se_DescribeAgentStatusCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
3440
3444
|
b.m("GET").h(headers).b(body);
|
|
3441
3445
|
return b.build();
|
|
3442
3446
|
}, "se_DescribeAgentStatusCommand");
|
|
3447
|
+
var se_DescribeAuthenticationProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3448
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
3449
|
+
const headers = {};
|
|
3450
|
+
b.bp("/authentication-profiles/{InstanceId}/{AuthenticationProfileId}");
|
|
3451
|
+
b.p("AuthenticationProfileId", () => input.AuthenticationProfileId, "{AuthenticationProfileId}", false);
|
|
3452
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
3453
|
+
let body;
|
|
3454
|
+
b.m("GET").h(headers).b(body);
|
|
3455
|
+
return b.build();
|
|
3456
|
+
}, "se_DescribeAuthenticationProfileCommand");
|
|
3443
3457
|
var se_DescribeContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3444
3458
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
3445
3459
|
const headers = {};
|
|
@@ -4090,6 +4104,19 @@ var se_ListApprovedOriginsCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
4090
4104
|
b.m("GET").h(headers).q(query).b(body);
|
|
4091
4105
|
return b.build();
|
|
4092
4106
|
}, "se_ListApprovedOriginsCommand");
|
|
4107
|
+
var se_ListAuthenticationProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
4108
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
4109
|
+
const headers = {};
|
|
4110
|
+
b.bp("/authentication-profiles-summary/{InstanceId}");
|
|
4111
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
4112
|
+
const query = (0, import_smithy_client.map)({
|
|
4113
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
4114
|
+
[_nT]: [, input[_NT]]
|
|
4115
|
+
});
|
|
4116
|
+
let body;
|
|
4117
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
4118
|
+
return b.build();
|
|
4119
|
+
}, "se_ListAuthenticationProfilesCommand");
|
|
4093
4120
|
var se_ListBotsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
4094
4121
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
4095
4122
|
const headers = {};
|
|
@@ -5446,6 +5473,27 @@ var se_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
5446
5473
|
b.m("POST").h(headers).b(body);
|
|
5447
5474
|
return b.build();
|
|
5448
5475
|
}, "se_UpdateAgentStatusCommand");
|
|
5476
|
+
var se_UpdateAuthenticationProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
5477
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
5478
|
+
const headers = {
|
|
5479
|
+
"content-type": "application/json"
|
|
5480
|
+
};
|
|
5481
|
+
b.bp("/authentication-profiles/{InstanceId}/{AuthenticationProfileId}");
|
|
5482
|
+
b.p("AuthenticationProfileId", () => input.AuthenticationProfileId, "{AuthenticationProfileId}", false);
|
|
5483
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
5484
|
+
let body;
|
|
5485
|
+
body = JSON.stringify(
|
|
5486
|
+
(0, import_smithy_client.take)(input, {
|
|
5487
|
+
AllowedIps: (_) => (0, import_smithy_client._json)(_),
|
|
5488
|
+
BlockedIps: (_) => (0, import_smithy_client._json)(_),
|
|
5489
|
+
Description: [],
|
|
5490
|
+
Name: [],
|
|
5491
|
+
PeriodicSessionDuration: []
|
|
5492
|
+
})
|
|
5493
|
+
);
|
|
5494
|
+
b.m("POST").h(headers).b(body);
|
|
5495
|
+
return b.build();
|
|
5496
|
+
}, "se_UpdateAuthenticationProfileCommand");
|
|
5449
5497
|
var se_UpdateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
5450
5498
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
5451
5499
|
const headers = {
|
|
@@ -7144,6 +7192,20 @@ var de_DescribeAgentStatusCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
7144
7192
|
Object.assign(contents, doc);
|
|
7145
7193
|
return contents;
|
|
7146
7194
|
}, "de_DescribeAgentStatusCommand");
|
|
7195
|
+
var de_DescribeAuthenticationProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7196
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7197
|
+
return de_CommandError(output, context);
|
|
7198
|
+
}
|
|
7199
|
+
const contents = (0, import_smithy_client.map)({
|
|
7200
|
+
$metadata: deserializeMetadata(output)
|
|
7201
|
+
});
|
|
7202
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
7203
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
7204
|
+
AuthenticationProfile: (_) => de_AuthenticationProfile(_, context)
|
|
7205
|
+
});
|
|
7206
|
+
Object.assign(contents, doc);
|
|
7207
|
+
return contents;
|
|
7208
|
+
}, "de_DescribeAuthenticationProfileCommand");
|
|
7147
7209
|
var de_DescribeContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7148
7210
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7149
7211
|
return de_CommandError(output, context);
|
|
@@ -7861,6 +7923,21 @@ var de_ListApprovedOriginsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
7861
7923
|
Object.assign(contents, doc);
|
|
7862
7924
|
return contents;
|
|
7863
7925
|
}, "de_ListApprovedOriginsCommand");
|
|
7926
|
+
var de_ListAuthenticationProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7927
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7928
|
+
return de_CommandError(output, context);
|
|
7929
|
+
}
|
|
7930
|
+
const contents = (0, import_smithy_client.map)({
|
|
7931
|
+
$metadata: deserializeMetadata(output)
|
|
7932
|
+
});
|
|
7933
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
7934
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
7935
|
+
AuthenticationProfileSummaryList: (_) => de_AuthenticationProfileSummaryList(_, context),
|
|
7936
|
+
NextToken: import_smithy_client.expectString
|
|
7937
|
+
});
|
|
7938
|
+
Object.assign(contents, doc);
|
|
7939
|
+
return contents;
|
|
7940
|
+
}, "de_ListAuthenticationProfilesCommand");
|
|
7864
7941
|
var de_ListBotsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7865
7942
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7866
7943
|
return de_CommandError(output, context);
|
|
@@ -9043,6 +9120,16 @@ var de_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
9043
9120
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
9044
9121
|
return contents;
|
|
9045
9122
|
}, "de_UpdateAgentStatusCommand");
|
|
9123
|
+
var de_UpdateAuthenticationProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
9124
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9125
|
+
return de_CommandError(output, context);
|
|
9126
|
+
}
|
|
9127
|
+
const contents = (0, import_smithy_client.map)({
|
|
9128
|
+
$metadata: deserializeMetadata(output)
|
|
9129
|
+
});
|
|
9130
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
9131
|
+
return contents;
|
|
9132
|
+
}, "de_UpdateAuthenticationProfileCommand");
|
|
9046
9133
|
var de_UpdateContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
9047
9134
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9048
9135
|
return de_CommandError(output, context);
|
|
@@ -10326,6 +10413,38 @@ var de_AudioQualityMetricsInfo = /* @__PURE__ */ __name((output, context) => {
|
|
|
10326
10413
|
QualityScore: import_smithy_client.limitedParseFloat32
|
|
10327
10414
|
});
|
|
10328
10415
|
}, "de_AudioQualityMetricsInfo");
|
|
10416
|
+
var de_AuthenticationProfile = /* @__PURE__ */ __name((output, context) => {
|
|
10417
|
+
return (0, import_smithy_client.take)(output, {
|
|
10418
|
+
AllowedIps: import_smithy_client._json,
|
|
10419
|
+
Arn: import_smithy_client.expectString,
|
|
10420
|
+
BlockedIps: import_smithy_client._json,
|
|
10421
|
+
CreatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10422
|
+
Description: import_smithy_client.expectString,
|
|
10423
|
+
Id: import_smithy_client.expectString,
|
|
10424
|
+
IsDefault: import_smithy_client.expectBoolean,
|
|
10425
|
+
LastModifiedRegion: import_smithy_client.expectString,
|
|
10426
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10427
|
+
MaxSessionDuration: import_smithy_client.expectInt32,
|
|
10428
|
+
Name: import_smithy_client.expectString,
|
|
10429
|
+
PeriodicSessionDuration: import_smithy_client.expectInt32
|
|
10430
|
+
});
|
|
10431
|
+
}, "de_AuthenticationProfile");
|
|
10432
|
+
var de_AuthenticationProfileSummary = /* @__PURE__ */ __name((output, context) => {
|
|
10433
|
+
return (0, import_smithy_client.take)(output, {
|
|
10434
|
+
Arn: import_smithy_client.expectString,
|
|
10435
|
+
Id: import_smithy_client.expectString,
|
|
10436
|
+
IsDefault: import_smithy_client.expectBoolean,
|
|
10437
|
+
LastModifiedRegion: import_smithy_client.expectString,
|
|
10438
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10439
|
+
Name: import_smithy_client.expectString
|
|
10440
|
+
});
|
|
10441
|
+
}, "de_AuthenticationProfileSummary");
|
|
10442
|
+
var de_AuthenticationProfileSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
10443
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
10444
|
+
return de_AuthenticationProfileSummary(entry, context);
|
|
10445
|
+
});
|
|
10446
|
+
return retVal;
|
|
10447
|
+
}, "de_AuthenticationProfileSummaryList");
|
|
10329
10448
|
var de_Contact = /* @__PURE__ */ __name((output, context) => {
|
|
10330
10449
|
return (0, import_smithy_client.take)(output, {
|
|
10331
10450
|
AgentInfo: (_) => de_AgentInfo(_, context),
|
|
@@ -12595,6 +12714,22 @@ var _DescribeAgentStatusCommand = class _DescribeAgentStatusCommand extends impo
|
|
|
12595
12714
|
__name(_DescribeAgentStatusCommand, "DescribeAgentStatusCommand");
|
|
12596
12715
|
var DescribeAgentStatusCommand = _DescribeAgentStatusCommand;
|
|
12597
12716
|
|
|
12717
|
+
// src/commands/DescribeAuthenticationProfileCommand.ts
|
|
12718
|
+
|
|
12719
|
+
|
|
12720
|
+
|
|
12721
|
+
var _DescribeAuthenticationProfileCommand = class _DescribeAuthenticationProfileCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
12722
|
+
...commonParams
|
|
12723
|
+
}).m(function(Command, cs, config, o) {
|
|
12724
|
+
return [
|
|
12725
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12726
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
12727
|
+
];
|
|
12728
|
+
}).s("AmazonConnectService", "DescribeAuthenticationProfile", {}).n("ConnectClient", "DescribeAuthenticationProfileCommand").f(void 0, void 0).ser(se_DescribeAuthenticationProfileCommand).de(de_DescribeAuthenticationProfileCommand).build() {
|
|
12729
|
+
};
|
|
12730
|
+
__name(_DescribeAuthenticationProfileCommand, "DescribeAuthenticationProfileCommand");
|
|
12731
|
+
var DescribeAuthenticationProfileCommand = _DescribeAuthenticationProfileCommand;
|
|
12732
|
+
|
|
12598
12733
|
// src/commands/DescribeContactCommand.ts
|
|
12599
12734
|
|
|
12600
12735
|
|
|
@@ -13427,6 +13562,22 @@ var _ListApprovedOriginsCommand = class _ListApprovedOriginsCommand extends impo
|
|
|
13427
13562
|
__name(_ListApprovedOriginsCommand, "ListApprovedOriginsCommand");
|
|
13428
13563
|
var ListApprovedOriginsCommand = _ListApprovedOriginsCommand;
|
|
13429
13564
|
|
|
13565
|
+
// src/commands/ListAuthenticationProfilesCommand.ts
|
|
13566
|
+
|
|
13567
|
+
|
|
13568
|
+
|
|
13569
|
+
var _ListAuthenticationProfilesCommand = class _ListAuthenticationProfilesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
13570
|
+
...commonParams
|
|
13571
|
+
}).m(function(Command, cs, config, o) {
|
|
13572
|
+
return [
|
|
13573
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
13574
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
13575
|
+
];
|
|
13576
|
+
}).s("AmazonConnectService", "ListAuthenticationProfiles", {}).n("ConnectClient", "ListAuthenticationProfilesCommand").f(void 0, void 0).ser(se_ListAuthenticationProfilesCommand).de(de_ListAuthenticationProfilesCommand).build() {
|
|
13577
|
+
};
|
|
13578
|
+
__name(_ListAuthenticationProfilesCommand, "ListAuthenticationProfilesCommand");
|
|
13579
|
+
var ListAuthenticationProfilesCommand = _ListAuthenticationProfilesCommand;
|
|
13580
|
+
|
|
13430
13581
|
// src/commands/ListBotsCommand.ts
|
|
13431
13582
|
|
|
13432
13583
|
|
|
@@ -14739,6 +14890,22 @@ var _UpdateAgentStatusCommand = class _UpdateAgentStatusCommand extends import_s
|
|
|
14739
14890
|
__name(_UpdateAgentStatusCommand, "UpdateAgentStatusCommand");
|
|
14740
14891
|
var UpdateAgentStatusCommand = _UpdateAgentStatusCommand;
|
|
14741
14892
|
|
|
14893
|
+
// src/commands/UpdateAuthenticationProfileCommand.ts
|
|
14894
|
+
|
|
14895
|
+
|
|
14896
|
+
|
|
14897
|
+
var _UpdateAuthenticationProfileCommand = class _UpdateAuthenticationProfileCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
14898
|
+
...commonParams
|
|
14899
|
+
}).m(function(Command, cs, config, o) {
|
|
14900
|
+
return [
|
|
14901
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
14902
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
14903
|
+
];
|
|
14904
|
+
}).s("AmazonConnectService", "UpdateAuthenticationProfile", {}).n("ConnectClient", "UpdateAuthenticationProfileCommand").f(void 0, void 0).ser(se_UpdateAuthenticationProfileCommand).de(de_UpdateAuthenticationProfileCommand).build() {
|
|
14905
|
+
};
|
|
14906
|
+
__name(_UpdateAuthenticationProfileCommand, "UpdateAuthenticationProfileCommand");
|
|
14907
|
+
var UpdateAuthenticationProfileCommand = _UpdateAuthenticationProfileCommand;
|
|
14908
|
+
|
|
14742
14909
|
// src/commands/UpdateContactAttributesCommand.ts
|
|
14743
14910
|
|
|
14744
14911
|
|
|
@@ -15532,6 +15699,7 @@ var commands = {
|
|
|
15532
15699
|
DeleteViewVersionCommand,
|
|
15533
15700
|
DeleteVocabularyCommand,
|
|
15534
15701
|
DescribeAgentStatusCommand,
|
|
15702
|
+
DescribeAuthenticationProfileCommand,
|
|
15535
15703
|
DescribeContactCommand,
|
|
15536
15704
|
DescribeContactEvaluationCommand,
|
|
15537
15705
|
DescribeContactFlowCommand,
|
|
@@ -15584,6 +15752,7 @@ var commands = {
|
|
|
15584
15752
|
ListAgentStatusesCommand,
|
|
15585
15753
|
ListAnalyticsDataAssociationsCommand,
|
|
15586
15754
|
ListApprovedOriginsCommand,
|
|
15755
|
+
ListAuthenticationProfilesCommand,
|
|
15587
15756
|
ListBotsCommand,
|
|
15588
15757
|
ListContactEvaluationsCommand,
|
|
15589
15758
|
ListContactFlowModulesCommand,
|
|
@@ -15666,6 +15835,7 @@ var commands = {
|
|
|
15666
15835
|
UntagContactCommand,
|
|
15667
15836
|
UntagResourceCommand,
|
|
15668
15837
|
UpdateAgentStatusCommand,
|
|
15838
|
+
UpdateAuthenticationProfileCommand,
|
|
15669
15839
|
UpdateContactCommand,
|
|
15670
15840
|
UpdateContactAttributesCommand,
|
|
15671
15841
|
UpdateContactEvaluationCommand,
|
|
@@ -15742,6 +15912,10 @@ var paginateListAgentStatuses = (0, import_core.createPaginator)(ConnectClient,
|
|
|
15742
15912
|
|
|
15743
15913
|
var paginateListApprovedOrigins = (0, import_core.createPaginator)(ConnectClient, ListApprovedOriginsCommand, "NextToken", "NextToken", "MaxResults");
|
|
15744
15914
|
|
|
15915
|
+
// src/pagination/ListAuthenticationProfilesPaginator.ts
|
|
15916
|
+
|
|
15917
|
+
var paginateListAuthenticationProfiles = (0, import_core.createPaginator)(ConnectClient, ListAuthenticationProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
15918
|
+
|
|
15745
15919
|
// src/pagination/ListBotsPaginator.ts
|
|
15746
15920
|
|
|
15747
15921
|
var paginateListBots = (0, import_core.createPaginator)(ConnectClient, ListBotsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -16036,6 +16210,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16036
16210
|
DeleteViewVersionCommand,
|
|
16037
16211
|
DeleteVocabularyCommand,
|
|
16038
16212
|
DescribeAgentStatusCommand,
|
|
16213
|
+
DescribeAuthenticationProfileCommand,
|
|
16039
16214
|
DescribeContactCommand,
|
|
16040
16215
|
DescribeContactEvaluationCommand,
|
|
16041
16216
|
DescribeContactFlowCommand,
|
|
@@ -16088,6 +16263,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16088
16263
|
ListAgentStatusesCommand,
|
|
16089
16264
|
ListAnalyticsDataAssociationsCommand,
|
|
16090
16265
|
ListApprovedOriginsCommand,
|
|
16266
|
+
ListAuthenticationProfilesCommand,
|
|
16091
16267
|
ListBotsCommand,
|
|
16092
16268
|
ListContactEvaluationsCommand,
|
|
16093
16269
|
ListContactFlowModulesCommand,
|
|
@@ -16170,6 +16346,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16170
16346
|
UntagContactCommand,
|
|
16171
16347
|
UntagResourceCommand,
|
|
16172
16348
|
UpdateAgentStatusCommand,
|
|
16349
|
+
UpdateAuthenticationProfileCommand,
|
|
16173
16350
|
UpdateContactAttributesCommand,
|
|
16174
16351
|
UpdateContactCommand,
|
|
16175
16352
|
UpdateContactEvaluationCommand,
|
|
@@ -16221,6 +16398,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16221
16398
|
paginateGetMetricDataV2,
|
|
16222
16399
|
paginateListAgentStatuses,
|
|
16223
16400
|
paginateListApprovedOrigins,
|
|
16401
|
+
paginateListAuthenticationProfiles,
|
|
16224
16402
|
paginateListBots,
|
|
16225
16403
|
paginateListContactEvaluations,
|
|
16226
16404
|
paginateListContactFlowModules,
|
package/dist-es/Connect.js
CHANGED
|
@@ -70,6 +70,7 @@ import { DeleteViewCommand } from "./commands/DeleteViewCommand";
|
|
|
70
70
|
import { DeleteViewVersionCommand, } from "./commands/DeleteViewVersionCommand";
|
|
71
71
|
import { DeleteVocabularyCommand, } from "./commands/DeleteVocabularyCommand";
|
|
72
72
|
import { DescribeAgentStatusCommand, } from "./commands/DescribeAgentStatusCommand";
|
|
73
|
+
import { DescribeAuthenticationProfileCommand, } from "./commands/DescribeAuthenticationProfileCommand";
|
|
73
74
|
import { DescribeContactCommand, } from "./commands/DescribeContactCommand";
|
|
74
75
|
import { DescribeContactEvaluationCommand, } from "./commands/DescribeContactEvaluationCommand";
|
|
75
76
|
import { DescribeContactFlowCommand, } from "./commands/DescribeContactFlowCommand";
|
|
@@ -122,6 +123,7 @@ import { ImportPhoneNumberCommand, } from "./commands/ImportPhoneNumberCommand";
|
|
|
122
123
|
import { ListAgentStatusesCommand, } from "./commands/ListAgentStatusesCommand";
|
|
123
124
|
import { ListAnalyticsDataAssociationsCommand, } from "./commands/ListAnalyticsDataAssociationsCommand";
|
|
124
125
|
import { ListApprovedOriginsCommand, } from "./commands/ListApprovedOriginsCommand";
|
|
126
|
+
import { ListAuthenticationProfilesCommand, } from "./commands/ListAuthenticationProfilesCommand";
|
|
125
127
|
import { ListBotsCommand } from "./commands/ListBotsCommand";
|
|
126
128
|
import { ListContactEvaluationsCommand, } from "./commands/ListContactEvaluationsCommand";
|
|
127
129
|
import { ListContactFlowModulesCommand, } from "./commands/ListContactFlowModulesCommand";
|
|
@@ -204,6 +206,7 @@ import { TransferContactCommand, } from "./commands/TransferContactCommand";
|
|
|
204
206
|
import { UntagContactCommand, } from "./commands/UntagContactCommand";
|
|
205
207
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
206
208
|
import { UpdateAgentStatusCommand, } from "./commands/UpdateAgentStatusCommand";
|
|
209
|
+
import { UpdateAuthenticationProfileCommand, } from "./commands/UpdateAuthenticationProfileCommand";
|
|
207
210
|
import { UpdateContactAttributesCommand, } from "./commands/UpdateContactAttributesCommand";
|
|
208
211
|
import { UpdateContactCommand, } from "./commands/UpdateContactCommand";
|
|
209
212
|
import { UpdateContactEvaluationCommand, } from "./commands/UpdateContactEvaluationCommand";
|
|
@@ -322,6 +325,7 @@ const commands = {
|
|
|
322
325
|
DeleteViewVersionCommand,
|
|
323
326
|
DeleteVocabularyCommand,
|
|
324
327
|
DescribeAgentStatusCommand,
|
|
328
|
+
DescribeAuthenticationProfileCommand,
|
|
325
329
|
DescribeContactCommand,
|
|
326
330
|
DescribeContactEvaluationCommand,
|
|
327
331
|
DescribeContactFlowCommand,
|
|
@@ -374,6 +378,7 @@ const commands = {
|
|
|
374
378
|
ListAgentStatusesCommand,
|
|
375
379
|
ListAnalyticsDataAssociationsCommand,
|
|
376
380
|
ListApprovedOriginsCommand,
|
|
381
|
+
ListAuthenticationProfilesCommand,
|
|
377
382
|
ListBotsCommand,
|
|
378
383
|
ListContactEvaluationsCommand,
|
|
379
384
|
ListContactFlowModulesCommand,
|
|
@@ -456,6 +461,7 @@ const commands = {
|
|
|
456
461
|
UntagContactCommand,
|
|
457
462
|
UntagResourceCommand,
|
|
458
463
|
UpdateAgentStatusCommand,
|
|
464
|
+
UpdateAuthenticationProfileCommand,
|
|
459
465
|
UpdateContactCommand,
|
|
460
466
|
UpdateContactAttributesCommand,
|
|
461
467
|
UpdateContactEvaluationCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeAuthenticationProfileCommand, se_DescribeAuthenticationProfileCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeAuthenticationProfileCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectService", "DescribeAuthenticationProfile", {})
|
|
19
|
+
.n("ConnectClient", "DescribeAuthenticationProfileCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeAuthenticationProfileCommand)
|
|
22
|
+
.de(de_DescribeAuthenticationProfileCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListAuthenticationProfilesCommand, se_ListAuthenticationProfilesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListAuthenticationProfilesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectService", "ListAuthenticationProfiles", {})
|
|
19
|
+
.n("ConnectClient", "ListAuthenticationProfilesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListAuthenticationProfilesCommand)
|
|
22
|
+
.de(de_ListAuthenticationProfilesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateAuthenticationProfileCommand, se_UpdateAuthenticationProfileCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateAuthenticationProfileCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectService", "UpdateAuthenticationProfile", {})
|
|
19
|
+
.n("ConnectClient", "UpdateAuthenticationProfileCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateAuthenticationProfileCommand)
|
|
22
|
+
.de(de_UpdateAuthenticationProfileCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -69,6 +69,7 @@ export * from "./DeleteViewCommand";
|
|
|
69
69
|
export * from "./DeleteViewVersionCommand";
|
|
70
70
|
export * from "./DeleteVocabularyCommand";
|
|
71
71
|
export * from "./DescribeAgentStatusCommand";
|
|
72
|
+
export * from "./DescribeAuthenticationProfileCommand";
|
|
72
73
|
export * from "./DescribeContactCommand";
|
|
73
74
|
export * from "./DescribeContactEvaluationCommand";
|
|
74
75
|
export * from "./DescribeContactFlowCommand";
|
|
@@ -121,6 +122,7 @@ export * from "./ImportPhoneNumberCommand";
|
|
|
121
122
|
export * from "./ListAgentStatusesCommand";
|
|
122
123
|
export * from "./ListAnalyticsDataAssociationsCommand";
|
|
123
124
|
export * from "./ListApprovedOriginsCommand";
|
|
125
|
+
export * from "./ListAuthenticationProfilesCommand";
|
|
124
126
|
export * from "./ListBotsCommand";
|
|
125
127
|
export * from "./ListContactEvaluationsCommand";
|
|
126
128
|
export * from "./ListContactFlowModulesCommand";
|
|
@@ -203,6 +205,7 @@ export * from "./TransferContactCommand";
|
|
|
203
205
|
export * from "./UntagContactCommand";
|
|
204
206
|
export * from "./UntagResourceCommand";
|
|
205
207
|
export * from "./UpdateAgentStatusCommand";
|
|
208
|
+
export * from "./UpdateAuthenticationProfileCommand";
|
|
206
209
|
export * from "./UpdateContactAttributesCommand";
|
|
207
210
|
export * from "./UpdateContactCommand";
|
|
208
211
|
export * from "./UpdateContactEvaluationCommand";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListAuthenticationProfilesCommand, } from "../commands/ListAuthenticationProfilesCommand";
|
|
3
|
+
import { ConnectClient } from "../ConnectClient";
|
|
4
|
+
export const paginateListAuthenticationProfiles = createPaginator(ConnectClient, ListAuthenticationProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -5,6 +5,7 @@ export * from "./GetMetricDataV2Paginator";
|
|
|
5
5
|
export * from "./Interfaces";
|
|
6
6
|
export * from "./ListAgentStatusesPaginator";
|
|
7
7
|
export * from "./ListApprovedOriginsPaginator";
|
|
8
|
+
export * from "./ListAuthenticationProfilesPaginator";
|
|
8
9
|
export * from "./ListBotsPaginator";
|
|
9
10
|
export * from "./ListContactEvaluationsPaginator";
|
|
10
11
|
export * from "./ListContactFlowModulesPaginator";
|