@aws-sdk/client-connect 3.48.0 → 3.52.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/CHANGELOG.md +35 -0
- package/README.md +2 -3
- package/dist-cjs/Connect.js +90 -0
- package/dist-cjs/commands/AssociateDefaultVocabularyCommand.js +36 -0
- package/dist-cjs/commands/CreateVocabularyCommand.js +36 -0
- package/dist-cjs/commands/DeleteVocabularyCommand.js +36 -0
- package/dist-cjs/commands/DescribeVocabularyCommand.js +36 -0
- package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +36 -0
- package/dist-cjs/commands/SearchVocabulariesCommand.js +36 -0
- package/dist-cjs/commands/StartOutboundVoiceContactCommand.js +3 -3
- package/dist-cjs/commands/StartTaskContactCommand.js +3 -3
- package/dist-cjs/commands/StopContactCommand.js +3 -3
- package/dist-cjs/commands/StopContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/StopContactStreamingCommand.js +3 -3
- package/dist-cjs/commands/SuspendContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +127 -95
- package/dist-cjs/models/models_1.js +91 -1
- package/dist-cjs/pagination/ListDefaultVocabulariesPaginator.js +35 -0
- package/dist-cjs/pagination/SearchVocabulariesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +796 -7
- package/dist-es/Connect.js +90 -0
- package/dist-es/commands/AssociateDefaultVocabularyCommand.js +39 -0
- package/dist-es/commands/CreateVocabularyCommand.js +39 -0
- package/dist-es/commands/DeleteVocabularyCommand.js +39 -0
- package/dist-es/commands/DescribeVocabularyCommand.js +39 -0
- package/dist-es/commands/ListDefaultVocabulariesCommand.js +39 -0
- package/dist-es/commands/SearchVocabulariesCommand.js +39 -0
- package/dist-es/commands/StartOutboundVoiceContactCommand.js +1 -1
- package/dist-es/commands/StartTaskContactCommand.js +1 -1
- package/dist-es/commands/StopContactCommand.js +1 -1
- package/dist-es/commands/StopContactRecordingCommand.js +1 -1
- package/dist-es/commands/StopContactStreamingCommand.js +1 -1
- package/dist-es/commands/SuspendContactRecordingCommand.js +1 -1
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +91 -61
- package/dist-es/models/models_1.js +61 -0
- package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +74 -0
- package/dist-es/pagination/SearchVocabulariesPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +946 -64
- package/dist-types/Connect.d.ts +62 -15
- package/dist-types/ConnectClient.d.ts +10 -5
- package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +35 -0
- package/dist-types/commands/CreateVocabularyCommand.d.ts +37 -0
- package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +35 -0
- package/dist-types/commands/DescribeVocabularyCommand.d.ts +35 -0
- package/dist-types/commands/ListBotsCommand.d.ts +2 -2
- package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +35 -0
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +35 -0
- package/dist-types/commands/StartChatContactCommand.d.ts +4 -1
- package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +4 -3
- package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
- package/dist-types/commands/StopContactCommand.d.ts +1 -1
- package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
- package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +433 -347
- package/dist-types/models/models_1.d.ts +337 -2
- package/dist-types/pagination/ListDefaultVocabulariesPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchVocabulariesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +30 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/AssociateDefaultVocabularyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +236 -182
- package/dist-types/ts3.4/models/models_1.d.ts +184 -1
- package/dist-types/ts3.4/pagination/ListDefaultVocabulariesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchVocabulariesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
- package/package.json +40 -34
|
@@ -13,7 +13,7 @@ export interface StartChatContactCommandOutput extends StartChatContactResponse,
|
|
|
13
13
|
* <p>When a new chat contact is successfully created, clients must subscribe to the participant’s
|
|
14
14
|
* connection for the created chat within 5 minutes. This is achieved by invoking <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a> with WEBSOCKET and CONNECTION_CREDENTIALS. </p>
|
|
15
15
|
*
|
|
16
|
-
* <p>A 429 error occurs in
|
|
16
|
+
* <p>A 429 error occurs in the following situations:</p>
|
|
17
17
|
* <ul>
|
|
18
18
|
* <li>
|
|
19
19
|
* <p>API rate limit is exceeded. API TPS throttling returns a <code>TooManyRequests</code>
|
|
@@ -25,6 +25,9 @@ export interface StartChatContactCommandOutput extends StartChatContactResponse,
|
|
|
25
25
|
* <code>LimitExceededException</code>.</p>
|
|
26
26
|
* </li>
|
|
27
27
|
* </ul>
|
|
28
|
+
* <p>If you use the <code>ChatDurationInMinutes</code> parameter and receive a 400 error, your account may
|
|
29
|
+
* not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support.
|
|
30
|
+
* </p>
|
|
28
31
|
*
|
|
29
32
|
* <p>For more information about chat, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat.html">Chat</a> in the <i>Amazon Connect Administrator
|
|
30
33
|
* Guide</i>.</p>
|
|
@@ -9,7 +9,7 @@ export interface StartContactStreamingCommandOutput extends StartContactStreamin
|
|
|
9
9
|
/**
|
|
10
10
|
* <p> Initiates real-time message streaming for a new chat contact.</p>
|
|
11
11
|
* <p> For more information about message streaming, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html">Enable real-time chat message
|
|
12
|
-
*
|
|
12
|
+
* streaming</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { StartOutboundVoiceContactRequest, StartOutboundVoiceContactResponse } from "../models/
|
|
4
|
+
import { StartOutboundVoiceContactRequest, StartOutboundVoiceContactResponse } from "../models/models_1";
|
|
5
5
|
export interface StartOutboundVoiceContactCommandInput extends StartOutboundVoiceContactRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface StartOutboundVoiceContactCommandOutput extends StartOutboundVoiceContactResponse, __MetadataBearer {
|
|
@@ -23,8 +23,9 @@ export interface StartOutboundVoiceContactCommandOutput extends StartOutboundVoi
|
|
|
23
23
|
* </note>
|
|
24
24
|
* <note>
|
|
25
25
|
* <p>Campaign calls are not allowed by default. Before you can make a call with
|
|
26
|
-
*
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a>
|
|
26
|
+
* <code>TrafficType</code> = <code>CAMPAIGN</code>, you must submit a service quota increase
|
|
27
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a>
|
|
28
|
+
* in the <i>Amazon Connect Administrator Guide</i>. </p>
|
|
28
29
|
* </note>
|
|
29
30
|
* @example
|
|
30
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { StartTaskContactRequest, StartTaskContactResponse } from "../models/
|
|
4
|
+
import { StartTaskContactRequest, StartTaskContactResponse } from "../models/models_1";
|
|
5
5
|
export interface StartTaskContactCommandInput extends StartTaskContactRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface StartTaskContactCommandOutput extends StartTaskContactResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { StopContactRequest, StopContactResponse } from "../models/
|
|
4
|
+
import { StopContactRequest, StopContactResponse } from "../models/models_1";
|
|
5
5
|
export interface StopContactCommandInput extends StopContactRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface StopContactCommandOutput extends StopContactResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { StopContactRecordingRequest, StopContactRecordingResponse } from "../models/
|
|
4
|
+
import { StopContactRecordingRequest, StopContactRecordingResponse } from "../models/models_1";
|
|
5
5
|
export interface StopContactRecordingCommandInput extends StopContactRecordingRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface StopContactRecordingCommandOutput extends StopContactRecordingResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { StopContactStreamingRequest, StopContactStreamingResponse } from "../models/
|
|
4
|
+
import { StopContactStreamingRequest, StopContactStreamingResponse } from "../models/models_1";
|
|
5
5
|
export interface StopContactStreamingCommandInput extends StopContactStreamingRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface StopContactStreamingCommandOutput extends StopContactStreamingResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { SuspendContactRecordingRequest, SuspendContactRecordingResponse } from "../models/
|
|
4
|
+
import { SuspendContactRecordingRequest, SuspendContactRecordingResponse } from "../models/models_1";
|
|
5
5
|
export interface SuspendContactRecordingCommandInput extends SuspendContactRecordingRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface SuspendContactRecordingCommandOutput extends SuspendContactRecordingResponse, __MetadataBearer {
|
|
@@ -8,8 +8,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Adds the specified tags to the specified resource.</p>
|
|
11
|
-
* <p>The supported resource types are users, routing profiles, queues, quick connects,
|
|
12
|
-
*
|
|
11
|
+
* <p>The supported resource types are users, routing profiles, queues, quick connects, contact
|
|
12
|
+
* flows, agent status, and hours of operation.</p>
|
|
13
13
|
* <p>For sample policies that use tags, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security_iam_id-based-policy-examples.html">Amazon Connect Identity-Based
|
|
14
14
|
* Policy Examples</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
15
15
|
* @example
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AssociateApprovedOriginCommand";
|
|
2
2
|
export * from "./AssociateBotCommand";
|
|
3
|
+
export * from "./AssociateDefaultVocabularyCommand";
|
|
3
4
|
export * from "./AssociateInstanceStorageConfigCommand";
|
|
4
5
|
export * from "./AssociateLambdaFunctionCommand";
|
|
5
6
|
export * from "./AssociateLexBotCommand";
|
|
@@ -19,6 +20,7 @@ export * from "./CreateSecurityProfileCommand";
|
|
|
19
20
|
export * from "./CreateUseCaseCommand";
|
|
20
21
|
export * from "./CreateUserCommand";
|
|
21
22
|
export * from "./CreateUserHierarchyGroupCommand";
|
|
23
|
+
export * from "./CreateVocabularyCommand";
|
|
22
24
|
export * from "./DeleteContactFlowCommand";
|
|
23
25
|
export * from "./DeleteContactFlowModuleCommand";
|
|
24
26
|
export * from "./DeleteHoursOfOperationCommand";
|
|
@@ -29,6 +31,7 @@ export * from "./DeleteSecurityProfileCommand";
|
|
|
29
31
|
export * from "./DeleteUseCaseCommand";
|
|
30
32
|
export * from "./DeleteUserCommand";
|
|
31
33
|
export * from "./DeleteUserHierarchyGroupCommand";
|
|
34
|
+
export * from "./DeleteVocabularyCommand";
|
|
32
35
|
export * from "./DescribeAgentStatusCommand";
|
|
33
36
|
export * from "./DescribeContactCommand";
|
|
34
37
|
export * from "./DescribeContactFlowCommand";
|
|
@@ -44,6 +47,7 @@ export * from "./DescribeSecurityProfileCommand";
|
|
|
44
47
|
export * from "./DescribeUserCommand";
|
|
45
48
|
export * from "./DescribeUserHierarchyGroupCommand";
|
|
46
49
|
export * from "./DescribeUserHierarchyStructureCommand";
|
|
50
|
+
export * from "./DescribeVocabularyCommand";
|
|
47
51
|
export * from "./DisassociateApprovedOriginCommand";
|
|
48
52
|
export * from "./DisassociateBotCommand";
|
|
49
53
|
export * from "./DisassociateInstanceStorageConfigCommand";
|
|
@@ -62,6 +66,7 @@ export * from "./ListBotsCommand";
|
|
|
62
66
|
export * from "./ListContactFlowModulesCommand";
|
|
63
67
|
export * from "./ListContactFlowsCommand";
|
|
64
68
|
export * from "./ListContactReferencesCommand";
|
|
69
|
+
export * from "./ListDefaultVocabulariesCommand";
|
|
65
70
|
export * from "./ListHoursOfOperationsCommand";
|
|
66
71
|
export * from "./ListInstanceAttributesCommand";
|
|
67
72
|
export * from "./ListInstanceStorageConfigsCommand";
|
|
@@ -84,6 +89,7 @@ export * from "./ListUseCasesCommand";
|
|
|
84
89
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
85
90
|
export * from "./ListUsersCommand";
|
|
86
91
|
export * from "./ResumeContactRecordingCommand";
|
|
92
|
+
export * from "./SearchVocabulariesCommand";
|
|
87
93
|
export * from "./StartChatContactCommand";
|
|
88
94
|
export * from "./StartContactRecordingCommand";
|
|
89
95
|
export * from "./StartContactStreamingCommand";
|