@aws-sdk/client-connect 3.48.0 → 3.49.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.
Files changed (91) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +2 -3
  3. package/dist-cjs/Connect.js +90 -0
  4. package/dist-cjs/commands/AssociateDefaultVocabularyCommand.js +36 -0
  5. package/dist-cjs/commands/CreateVocabularyCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteVocabularyCommand.js +36 -0
  7. package/dist-cjs/commands/DescribeVocabularyCommand.js +36 -0
  8. package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +36 -0
  9. package/dist-cjs/commands/SearchVocabulariesCommand.js +36 -0
  10. package/dist-cjs/commands/StartOutboundVoiceContactCommand.js +3 -3
  11. package/dist-cjs/commands/StartTaskContactCommand.js +3 -3
  12. package/dist-cjs/commands/StopContactCommand.js +3 -3
  13. package/dist-cjs/commands/StopContactRecordingCommand.js +3 -3
  14. package/dist-cjs/commands/StopContactStreamingCommand.js +3 -3
  15. package/dist-cjs/commands/SuspendContactRecordingCommand.js +3 -3
  16. package/dist-cjs/commands/index.js +6 -0
  17. package/dist-cjs/models/models_0.js +127 -95
  18. package/dist-cjs/models/models_1.js +91 -1
  19. package/dist-cjs/pagination/ListDefaultVocabulariesPaginator.js +35 -0
  20. package/dist-cjs/pagination/SearchVocabulariesPaginator.js +35 -0
  21. package/dist-cjs/pagination/index.js +2 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +796 -7
  23. package/dist-es/Connect.js +90 -0
  24. package/dist-es/commands/AssociateDefaultVocabularyCommand.js +39 -0
  25. package/dist-es/commands/CreateVocabularyCommand.js +39 -0
  26. package/dist-es/commands/DeleteVocabularyCommand.js +39 -0
  27. package/dist-es/commands/DescribeVocabularyCommand.js +39 -0
  28. package/dist-es/commands/ListDefaultVocabulariesCommand.js +39 -0
  29. package/dist-es/commands/SearchVocabulariesCommand.js +39 -0
  30. package/dist-es/commands/StartOutboundVoiceContactCommand.js +1 -1
  31. package/dist-es/commands/StartTaskContactCommand.js +1 -1
  32. package/dist-es/commands/StopContactCommand.js +1 -1
  33. package/dist-es/commands/StopContactRecordingCommand.js +1 -1
  34. package/dist-es/commands/StopContactStreamingCommand.js +1 -1
  35. package/dist-es/commands/SuspendContactRecordingCommand.js +1 -1
  36. package/dist-es/commands/index.js +6 -0
  37. package/dist-es/models/models_0.js +91 -61
  38. package/dist-es/models/models_1.js +61 -0
  39. package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +74 -0
  40. package/dist-es/pagination/SearchVocabulariesPaginator.js +74 -0
  41. package/dist-es/pagination/index.js +2 -0
  42. package/dist-es/protocols/Aws_restJson1.js +946 -64
  43. package/dist-types/Connect.d.ts +62 -15
  44. package/dist-types/ConnectClient.d.ts +10 -5
  45. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +35 -0
  46. package/dist-types/commands/CreateVocabularyCommand.d.ts +37 -0
  47. package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +2 -2
  48. package/dist-types/commands/DeleteVocabularyCommand.d.ts +35 -0
  49. package/dist-types/commands/DescribeVocabularyCommand.d.ts +35 -0
  50. package/dist-types/commands/ListBotsCommand.d.ts +2 -2
  51. package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +35 -0
  52. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  53. package/dist-types/commands/SearchVocabulariesCommand.d.ts +35 -0
  54. package/dist-types/commands/StartChatContactCommand.d.ts +4 -1
  55. package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
  56. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +4 -3
  57. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
  58. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  59. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  60. package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
  61. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  62. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  63. package/dist-types/commands/index.d.ts +6 -0
  64. package/dist-types/models/models_0.d.ts +433 -347
  65. package/dist-types/models/models_1.d.ts +337 -2
  66. package/dist-types/pagination/ListDefaultVocabulariesPaginator.d.ts +4 -0
  67. package/dist-types/pagination/SearchVocabulariesPaginator.d.ts +4 -0
  68. package/dist-types/pagination/index.d.ts +2 -0
  69. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  70. package/dist-types/ts3.4/Connect.d.ts +30 -0
  71. package/dist-types/ts3.4/ConnectClient.d.ts +8 -2
  72. package/dist-types/ts3.4/commands/AssociateDefaultVocabularyCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +236 -182
  86. package/dist-types/ts3.4/models/models_1.d.ts +184 -1
  87. package/dist-types/ts3.4/pagination/ListDefaultVocabulariesPaginator.d.ts +4 -0
  88. package/dist-types/ts3.4/pagination/SearchVocabulariesPaginator.d.ts +4 -0
  89. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  90. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  91. package/package.json +39 -33
@@ -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 two situations:</p>
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
- * streaming</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
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/models_0";
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
- * <code>TrafficType</code> = <code>CAMPAIGN</code>, you must submit a service quota increase request. For more information, see
27
- * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a> in the <i>Amazon Connect Administrator Guide</i>. </p>
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/models_0";
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/models_0";
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/models_0";
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/models_0";
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/models_0";
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
- * contact flows, agent status, and hours of operation.</p>
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";