@aws-sdk/client-connect 3.458.0 → 3.461.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 (153) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/Connect.js +26 -0
  3. package/dist-cjs/commands/AssociateAnalyticsDataSetCommand.js +51 -0
  4. package/dist-cjs/commands/AssociateFlowCommand.js +51 -0
  5. package/dist-cjs/commands/BatchAssociateAnalyticsDataSetCommand.js +51 -0
  6. package/dist-cjs/commands/BatchDisassociateAnalyticsDataSetCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateAnalyticsDataSetCommand.js +51 -0
  8. package/dist-cjs/commands/DisassociateFlowCommand.js +51 -0
  9. package/dist-cjs/commands/GetFlowAssociationCommand.js +51 -0
  10. package/dist-cjs/commands/ImportPhoneNumberCommand.js +51 -0
  11. package/dist-cjs/commands/ListAnalyticsDataAssociationsCommand.js +51 -0
  12. package/dist-cjs/commands/ListFlowAssociationsCommand.js +51 -0
  13. package/dist-cjs/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +51 -0
  14. package/dist-cjs/commands/SendChatIntegrationEventCommand.js +51 -0
  15. package/dist-cjs/commands/StartWebRTCContactCommand.js +52 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/models/models_0.js +11 -10
  18. package/dist-cjs/models/models_1.js +81 -51
  19. package/dist-cjs/models/models_2.js +72 -1
  20. package/dist-cjs/pagination/ListFlowAssociationsPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +2 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +1056 -31
  24. package/dist-es/Connect.js +26 -0
  25. package/dist-es/commands/AssociateAnalyticsDataSetCommand.js +47 -0
  26. package/dist-es/commands/AssociateFlowCommand.js +47 -0
  27. package/dist-es/commands/BatchAssociateAnalyticsDataSetCommand.js +47 -0
  28. package/dist-es/commands/BatchDisassociateAnalyticsDataSetCommand.js +47 -0
  29. package/dist-es/commands/DisassociateAnalyticsDataSetCommand.js +47 -0
  30. package/dist-es/commands/DisassociateFlowCommand.js +47 -0
  31. package/dist-es/commands/GetFlowAssociationCommand.js +47 -0
  32. package/dist-es/commands/ImportPhoneNumberCommand.js +47 -0
  33. package/dist-es/commands/ListAnalyticsDataAssociationsCommand.js +47 -0
  34. package/dist-es/commands/ListFlowAssociationsCommand.js +47 -0
  35. package/dist-es/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +47 -0
  36. package/dist-es/commands/SendChatIntegrationEventCommand.js +47 -0
  37. package/dist-es/commands/StartWebRTCContactCommand.js +48 -0
  38. package/dist-es/commands/index.js +13 -0
  39. package/dist-es/models/models_0.js +9 -8
  40. package/dist-es/models/models_1.js +79 -47
  41. package/dist-es/models/models_2.js +65 -0
  42. package/dist-es/pagination/ListFlowAssociationsPaginator.js +25 -0
  43. package/dist-es/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +25 -0
  44. package/dist-es/pagination/index.js +2 -0
  45. package/dist-es/protocols/Aws_restJson1.js +1019 -21
  46. package/dist-types/Connect.d.ts +91 -0
  47. package/dist-types/ConnectClient.d.ts +15 -2
  48. package/dist-types/commands/AssociateAnalyticsDataSetCommand.d.ts +95 -0
  49. package/dist-types/commands/AssociateFlowCommand.d.ts +92 -0
  50. package/dist-types/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +107 -0
  51. package/dist-types/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +102 -0
  52. package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateUserCommand.d.ts +1 -3
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
  55. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeRuleCommand.d.ts +2 -2
  58. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +1 -2
  60. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  61. package/dist-types/commands/DisassociateAnalyticsDataSetCommand.d.ts +89 -0
  62. package/dist-types/commands/DisassociateFlowCommand.d.ts +91 -0
  63. package/dist-types/commands/GetFlowAssociationCommand.d.ts +95 -0
  64. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +100 -0
  65. package/dist-types/commands/ListAnalyticsDataAssociationsCommand.d.ts +101 -0
  66. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +101 -0
  67. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +2 -2
  68. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +4 -2
  69. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +185 -0
  70. package/dist-types/commands/ListRulesCommand.d.ts +2 -2
  71. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  72. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -2
  73. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +125 -0
  74. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  75. package/dist-types/commands/StartContactEvaluationCommand.d.ts +1 -1
  76. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
  77. package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
  78. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  79. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
  80. package/dist-types/commands/StartWebRTCContactCommand.d.ts +137 -0
  81. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  82. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  83. package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
  84. package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  85. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  86. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  87. package/dist-types/commands/TransferContactCommand.d.ts +1 -1
  88. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  89. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
  90. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -1
  91. package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
  92. package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +1 -1
  93. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  94. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  95. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -2
  96. package/dist-types/commands/index.d.ts +13 -0
  97. package/dist-types/models/models_0.d.ts +271 -381
  98. package/dist-types/models/models_1.d.ts +3355 -3077
  99. package/dist-types/models/models_2.d.ts +1427 -2
  100. package/dist-types/pagination/ListFlowAssociationsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +7 -0
  102. package/dist-types/pagination/index.d.ts +2 -0
  103. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  104. package/dist-types/ts3.4/Connect.d.ts +233 -0
  105. package/dist-types/ts3.4/ConnectClient.d.ts +78 -0
  106. package/dist-types/ts3.4/commands/AssociateAnalyticsDataSetCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/AssociateFlowCommand.d.ts +38 -0
  108. package/dist-types/ts3.4/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +42 -0
  110. package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +4 -2
  115. package/dist-types/ts3.4/commands/DisassociateAnalyticsDataSetCommand.d.ts +38 -0
  116. package/dist-types/ts3.4/commands/DisassociateFlowCommand.d.ts +38 -0
  117. package/dist-types/ts3.4/commands/GetFlowAssociationCommand.d.ts +39 -0
  118. package/dist-types/ts3.4/commands/ImportPhoneNumberCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/ListAnalyticsDataAssociationsCommand.d.ts +42 -0
  120. package/dist-types/ts3.4/commands/ListFlowAssociationsCommand.d.ts +42 -0
  121. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +42 -0
  122. package/dist-types/ts3.4/commands/SendChatIntegrationEventCommand.d.ts +42 -0
  123. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/StartContactEvaluationCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +4 -2
  145. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  146. package/dist-types/ts3.4/models/models_0.d.ts +69 -94
  147. package/dist-types/ts3.4/models/models_1.d.ts +388 -256
  148. package/dist-types/ts3.4/models/models_2.d.ts +334 -0
  149. package/dist-types/ts3.4/pagination/ListFlowAssociationsPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  152. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  153. package/package.json +12 -12
@@ -0,0 +1,125 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { SendChatIntegrationEventRequest, SendChatIntegrationEventResponse } from "../models/models_2";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SendChatIntegrationEventCommand}.
14
+ */
15
+ export interface SendChatIntegrationEventCommandInput extends SendChatIntegrationEventRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SendChatIntegrationEventCommand}.
21
+ */
22
+ export interface SendChatIntegrationEventCommandOutput extends SendChatIntegrationEventResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Processes chat integration events from Amazon Web Services or external integrations to
27
+ * Amazon Connect. A chat integration event includes:</p>
28
+ * <ul>
29
+ * <li>
30
+ * <p>SourceId, DestinationId, and Subtype: a set of identifiers, uniquely representing a
31
+ * chat</p>
32
+ * </li>
33
+ * <li>
34
+ * <p> ChatEvent: details of the chat action to perform such as sending a message, event, or
35
+ * disconnecting from a chat</p>
36
+ * </li>
37
+ * </ul>
38
+ * <p>When a chat integration event is sent with chat identifiers that do not map to an active
39
+ * chat contact, a new chat contact is also created before handling chat action. </p>
40
+ * <p>Access to this API is currently restricted to Amazon Pinpoint for supporting SMS
41
+ * integration. </p>
42
+ * @example
43
+ * Use a bare-bones client and the command you need to make an API call.
44
+ * ```javascript
45
+ * import { ConnectClient, SendChatIntegrationEventCommand } from "@aws-sdk/client-connect"; // ES Modules import
46
+ * // const { ConnectClient, SendChatIntegrationEventCommand } = require("@aws-sdk/client-connect"); // CommonJS import
47
+ * const client = new ConnectClient(config);
48
+ * const input = { // SendChatIntegrationEventRequest
49
+ * SourceId: "STRING_VALUE", // required
50
+ * DestinationId: "STRING_VALUE", // required
51
+ * Subtype: "STRING_VALUE",
52
+ * Event: { // ChatEvent
53
+ * Type: "DISCONNECT" || "MESSAGE" || "EVENT", // required
54
+ * ContentType: "STRING_VALUE",
55
+ * Content: "STRING_VALUE",
56
+ * },
57
+ * NewSessionDetails: { // NewSessionDetails
58
+ * SupportedMessagingContentTypes: [ // SupportedMessagingContentTypes
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * ParticipantDetails: { // ParticipantDetails
62
+ * DisplayName: "STRING_VALUE", // required
63
+ * },
64
+ * Attributes: { // Attributes
65
+ * "<keys>": "STRING_VALUE",
66
+ * },
67
+ * StreamingConfiguration: { // ChatStreamingConfiguration
68
+ * StreamingEndpointArn: "STRING_VALUE", // required
69
+ * },
70
+ * },
71
+ * };
72
+ * const command = new SendChatIntegrationEventCommand(input);
73
+ * const response = await client.send(command);
74
+ * // { // SendChatIntegrationEventResponse
75
+ * // InitialContactId: "STRING_VALUE",
76
+ * // NewChatCreated: true || false,
77
+ * // };
78
+ *
79
+ * ```
80
+ *
81
+ * @param SendChatIntegrationEventCommandInput - {@link SendChatIntegrationEventCommandInput}
82
+ * @returns {@link SendChatIntegrationEventCommandOutput}
83
+ * @see {@link SendChatIntegrationEventCommandInput} for command's `input` shape.
84
+ * @see {@link SendChatIntegrationEventCommandOutput} for command's `response` shape.
85
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
86
+ *
87
+ * @throws {@link AccessDeniedException} (client fault)
88
+ * <p>You do not have sufficient permissions to perform this action.</p>
89
+ *
90
+ * @throws {@link InternalServiceException} (server fault)
91
+ * <p>Request processing failed because of an error or failure with the service.</p>
92
+ *
93
+ * @throws {@link InvalidRequestException} (client fault)
94
+ * <p>The request is not valid.</p>
95
+ *
96
+ * @throws {@link ResourceNotFoundException} (client fault)
97
+ * <p>The specified resource was not found.</p>
98
+ *
99
+ * @throws {@link ThrottlingException} (client fault)
100
+ * <p>The throttling limit has been exceeded.</p>
101
+ *
102
+ * @throws {@link ConnectServiceException}
103
+ * <p>Base exception class for all service exceptions from Connect service.</p>
104
+ *
105
+ */
106
+ export declare class SendChatIntegrationEventCommand extends $Command<SendChatIntegrationEventCommandInput, SendChatIntegrationEventCommandOutput, ConnectClientResolvedConfig> {
107
+ readonly input: SendChatIntegrationEventCommandInput;
108
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
109
+ /**
110
+ * @public
111
+ */
112
+ constructor(input: SendChatIntegrationEventCommandInput);
113
+ /**
114
+ * @internal
115
+ */
116
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendChatIntegrationEventCommandInput, SendChatIntegrationEventCommandOutput>;
117
+ /**
118
+ * @internal
119
+ */
120
+ private serialize;
121
+ /**
122
+ * @internal
123
+ */
124
+ private deserialize;
125
+ }
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { StartChatContactRequest, StartChatContactResponse } from "../models/models_1";
5
+ import { StartChatContactRequest, StartChatContactResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { StartContactEvaluationRequest, StartContactEvaluationResponse } from "../models/models_1";
5
+ import { StartContactEvaluationRequest, StartContactEvaluationResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { StartContactRecordingRequest, StartContactRecordingResponse } from "../models/models_1";
5
+ import { StartContactRecordingRequest, StartContactRecordingResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { StartContactStreamingRequest, StartContactStreamingResponse } from "../models/models_1";
5
+ import { StartContactStreamingRequest, StartContactStreamingResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { StartOutboundVoiceContactRequest, StartOutboundVoiceContactResponse } from "../models/models_1";
5
+ import { StartOutboundVoiceContactRequest, StartOutboundVoiceContactResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { StartTaskContactRequest, StartTaskContactResponse } from "../models/models_1";
5
+ import { StartTaskContactRequest, StartTaskContactResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -0,0 +1,137 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { StartWebRTCContactRequest, StartWebRTCContactResponse } from "../models/models_2";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartWebRTCContactCommand}.
14
+ */
15
+ export interface StartWebRTCContactCommandInput extends StartWebRTCContactRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartWebRTCContactCommand}.
21
+ */
22
+ export interface StartWebRTCContactCommandOutput extends StartWebRTCContactResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Places an inbound in-app, web, or video call to a contact, and then initiates the flow. It
27
+ * performs the actions in the flow that are specified (in ContactFlowId) and present in the Amazon Connect instance (specified as InstanceId).</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ConnectClient, StartWebRTCContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
32
+ * // const { ConnectClient, StartWebRTCContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
33
+ * const client = new ConnectClient(config);
34
+ * const input = { // StartWebRTCContactRequest
35
+ * Attributes: { // Attributes
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * ClientToken: "STRING_VALUE",
39
+ * ContactFlowId: "STRING_VALUE", // required
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * AllowedCapabilities: { // AllowedCapabilities
42
+ * Customer: { // ParticipantCapabilities
43
+ * Video: "SEND",
44
+ * },
45
+ * Agent: {
46
+ * Video: "SEND",
47
+ * },
48
+ * },
49
+ * ParticipantDetails: { // ParticipantDetails
50
+ * DisplayName: "STRING_VALUE", // required
51
+ * },
52
+ * RelatedContactId: "STRING_VALUE",
53
+ * References: { // ContactReferences
54
+ * "<keys>": { // Reference
55
+ * Value: "STRING_VALUE", // required
56
+ * Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
57
+ * },
58
+ * },
59
+ * Description: "STRING_VALUE",
60
+ * };
61
+ * const command = new StartWebRTCContactCommand(input);
62
+ * const response = await client.send(command);
63
+ * // { // StartWebRTCContactResponse
64
+ * // ConnectionData: { // ConnectionData
65
+ * // Attendee: { // Attendee
66
+ * // AttendeeId: "STRING_VALUE",
67
+ * // JoinToken: "STRING_VALUE",
68
+ * // },
69
+ * // Meeting: { // Meeting
70
+ * // MediaRegion: "STRING_VALUE",
71
+ * // MediaPlacement: { // MediaPlacement
72
+ * // AudioHostUrl: "STRING_VALUE",
73
+ * // AudioFallbackUrl: "STRING_VALUE",
74
+ * // SignalingUrl: "STRING_VALUE",
75
+ * // TurnControlUrl: "STRING_VALUE",
76
+ * // EventIngestionUrl: "STRING_VALUE",
77
+ * // },
78
+ * // MeetingFeatures: { // MeetingFeaturesConfiguration
79
+ * // Audio: { // AudioFeatures
80
+ * // EchoReduction: "AVAILABLE" || "UNAVAILABLE",
81
+ * // },
82
+ * // },
83
+ * // MeetingId: "STRING_VALUE",
84
+ * // },
85
+ * // },
86
+ * // ContactId: "STRING_VALUE",
87
+ * // ParticipantId: "STRING_VALUE",
88
+ * // ParticipantToken: "STRING_VALUE",
89
+ * // };
90
+ *
91
+ * ```
92
+ *
93
+ * @param StartWebRTCContactCommandInput - {@link StartWebRTCContactCommandInput}
94
+ * @returns {@link StartWebRTCContactCommandOutput}
95
+ * @see {@link StartWebRTCContactCommandInput} for command's `input` shape.
96
+ * @see {@link StartWebRTCContactCommandOutput} for command's `response` shape.
97
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
98
+ *
99
+ * @throws {@link InternalServiceException} (server fault)
100
+ * <p>Request processing failed because of an error or failure with the service.</p>
101
+ *
102
+ * @throws {@link InvalidParameterException} (client fault)
103
+ * <p>One or more of the specified parameters are not valid.</p>
104
+ *
105
+ * @throws {@link InvalidRequestException} (client fault)
106
+ * <p>The request is not valid.</p>
107
+ *
108
+ * @throws {@link LimitExceededException} (client fault)
109
+ * <p>The allowed limit for the resource has been exceeded.</p>
110
+ *
111
+ * @throws {@link ResourceNotFoundException} (client fault)
112
+ * <p>The specified resource was not found.</p>
113
+ *
114
+ * @throws {@link ConnectServiceException}
115
+ * <p>Base exception class for all service exceptions from Connect service.</p>
116
+ *
117
+ */
118
+ export declare class StartWebRTCContactCommand extends $Command<StartWebRTCContactCommandInput, StartWebRTCContactCommandOutput, ConnectClientResolvedConfig> {
119
+ readonly input: StartWebRTCContactCommandInput;
120
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
121
+ /**
122
+ * @public
123
+ */
124
+ constructor(input: StartWebRTCContactCommandInput);
125
+ /**
126
+ * @internal
127
+ */
128
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartWebRTCContactCommandInput, StartWebRTCContactCommandOutput>;
129
+ /**
130
+ * @internal
131
+ */
132
+ private serialize;
133
+ /**
134
+ * @internal
135
+ */
136
+ private deserialize;
137
+ }
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { StopContactRequest, StopContactResponse } from "../models/models_1";
5
+ import { StopContactRequest, StopContactResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { StopContactRecordingRequest, StopContactRecordingResponse } from "../models/models_1";
5
+ import { StopContactRecordingRequest, StopContactRecordingResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { StopContactStreamingRequest, StopContactStreamingResponse } from "../models/models_1";
5
+ import { StopContactStreamingRequest, StopContactStreamingResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { SubmitContactEvaluationRequest, SubmitContactEvaluationResponse } from "../models/models_1";
5
+ import { SubmitContactEvaluationRequest, SubmitContactEvaluationResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { SuspendContactRecordingRequest, SuspendContactRecordingResponse } from "../models/models_1";
5
+ import { SuspendContactRecordingRequest, SuspendContactRecordingResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { TagResourceRequest } from "../models/models_1";
5
+ import { TagResourceRequest } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { TransferContactRequest, TransferContactResponse } from "../models/models_1";
5
+ import { TransferContactRequest, TransferContactResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { UntagResourceRequest } from "../models/models_1";
5
+ import { UntagResourceRequest } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { UpdateAgentStatusRequest } from "../models/models_1";
5
+ import { UpdateAgentStatusRequest } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { UpdateContactAttributesRequest, UpdateContactAttributesResponse } from "../models/models_1";
5
+ import { UpdateContactAttributesRequest, UpdateContactAttributesResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { UpdateContactRequest, UpdateContactResponse } from "../models/models_1";
5
+ import { UpdateContactRequest, UpdateContactResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { UpdateContactEvaluationRequest, UpdateContactEvaluationResponse } from "../models/models_1";
5
+ import { UpdateContactEvaluationRequest, UpdateContactEvaluationResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { UpdateContactFlowContentRequest, UpdateContactFlowContentResponse } from "../models/models_1";
5
+ import { UpdateContactFlowContentRequest, UpdateContactFlowContentResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { UpdateContactFlowMetadataRequest, UpdateContactFlowMetadataResponse } from "../models/models_1";
5
+ import { UpdateContactFlowMetadataRequest, UpdateContactFlowMetadataResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { UpdateContactFlowModuleContentRequest } from "../models/models_1";
6
- import { UpdateContactFlowModuleContentResponse } from "../models/models_2";
5
+ import { UpdateContactFlowModuleContentRequest, UpdateContactFlowModuleContentResponse } from "../models/models_2";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -1,7 +1,9 @@
1
1
  export * from "./ActivateEvaluationFormCommand";
2
+ export * from "./AssociateAnalyticsDataSetCommand";
2
3
  export * from "./AssociateApprovedOriginCommand";
3
4
  export * from "./AssociateBotCommand";
4
5
  export * from "./AssociateDefaultVocabularyCommand";
6
+ export * from "./AssociateFlowCommand";
5
7
  export * from "./AssociateInstanceStorageConfigCommand";
6
8
  export * from "./AssociateLambdaFunctionCommand";
7
9
  export * from "./AssociateLexBotCommand";
@@ -10,6 +12,8 @@ export * from "./AssociateQueueQuickConnectsCommand";
10
12
  export * from "./AssociateRoutingProfileQueuesCommand";
11
13
  export * from "./AssociateSecurityKeyCommand";
12
14
  export * from "./AssociateTrafficDistributionGroupUserCommand";
15
+ export * from "./BatchAssociateAnalyticsDataSetCommand";
16
+ export * from "./BatchDisassociateAnalyticsDataSetCommand";
13
17
  export * from "./BatchGetFlowAssociationCommand";
14
18
  export * from "./BatchPutContactCommand";
15
19
  export * from "./ClaimPhoneNumberCommand";
@@ -81,8 +85,10 @@ export * from "./DescribeUserHierarchyGroupCommand";
81
85
  export * from "./DescribeUserHierarchyStructureCommand";
82
86
  export * from "./DescribeViewCommand";
83
87
  export * from "./DescribeVocabularyCommand";
88
+ export * from "./DisassociateAnalyticsDataSetCommand";
84
89
  export * from "./DisassociateApprovedOriginCommand";
85
90
  export * from "./DisassociateBotCommand";
91
+ export * from "./DisassociateFlowCommand";
86
92
  export * from "./DisassociateInstanceStorageConfigCommand";
87
93
  export * from "./DisassociateLambdaFunctionCommand";
88
94
  export * from "./DisassociateLexBotCommand";
@@ -96,12 +102,15 @@ export * from "./GetContactAttributesCommand";
96
102
  export * from "./GetCurrentMetricDataCommand";
97
103
  export * from "./GetCurrentUserDataCommand";
98
104
  export * from "./GetFederationTokenCommand";
105
+ export * from "./GetFlowAssociationCommand";
99
106
  export * from "./GetMetricDataCommand";
100
107
  export * from "./GetMetricDataV2Command";
101
108
  export * from "./GetPromptFileCommand";
102
109
  export * from "./GetTaskTemplateCommand";
103
110
  export * from "./GetTrafficDistributionCommand";
111
+ export * from "./ImportPhoneNumberCommand";
104
112
  export * from "./ListAgentStatusesCommand";
113
+ export * from "./ListAnalyticsDataAssociationsCommand";
105
114
  export * from "./ListApprovedOriginsCommand";
106
115
  export * from "./ListBotsCommand";
107
116
  export * from "./ListContactEvaluationsCommand";
@@ -111,6 +120,7 @@ export * from "./ListContactReferencesCommand";
111
120
  export * from "./ListDefaultVocabulariesCommand";
112
121
  export * from "./ListEvaluationFormVersionsCommand";
113
122
  export * from "./ListEvaluationFormsCommand";
123
+ export * from "./ListFlowAssociationsCommand";
114
124
  export * from "./ListHoursOfOperationsCommand";
115
125
  export * from "./ListInstanceAttributesCommand";
116
126
  export * from "./ListInstanceStorageConfigsCommand";
@@ -124,6 +134,7 @@ export * from "./ListPromptsCommand";
124
134
  export * from "./ListQueueQuickConnectsCommand";
125
135
  export * from "./ListQueuesCommand";
126
136
  export * from "./ListQuickConnectsCommand";
137
+ export * from "./ListRealtimeContactAnalysisSegmentsV2Command";
127
138
  export * from "./ListRoutingProfileQueuesCommand";
128
139
  export * from "./ListRoutingProfilesCommand";
129
140
  export * from "./ListRulesCommand";
@@ -155,12 +166,14 @@ export * from "./SearchRoutingProfilesCommand";
155
166
  export * from "./SearchSecurityProfilesCommand";
156
167
  export * from "./SearchUsersCommand";
157
168
  export * from "./SearchVocabulariesCommand";
169
+ export * from "./SendChatIntegrationEventCommand";
158
170
  export * from "./StartChatContactCommand";
159
171
  export * from "./StartContactEvaluationCommand";
160
172
  export * from "./StartContactRecordingCommand";
161
173
  export * from "./StartContactStreamingCommand";
162
174
  export * from "./StartOutboundVoiceContactCommand";
163
175
  export * from "./StartTaskContactCommand";
176
+ export * from "./StartWebRTCContactCommand";
164
177
  export * from "./StopContactCommand";
165
178
  export * from "./StopContactRecordingCommand";
166
179
  export * from "./StopContactStreamingCommand";