@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,100 @@
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 { ImportPhoneNumberRequest, ImportPhoneNumberResponse } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ImportPhoneNumberCommand}.
14
+ */
15
+ export interface ImportPhoneNumberCommandInput extends ImportPhoneNumberRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ImportPhoneNumberCommand}.
21
+ */
22
+ export interface ImportPhoneNumberCommandOutput extends ImportPhoneNumberResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an
27
+ * Amazon Connect instance. You can call this API only in the same Amazon Web Services Region
28
+ * where the Amazon Connect instance was created.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { ConnectClient, ImportPhoneNumberCommand } from "@aws-sdk/client-connect"; // ES Modules import
33
+ * // const { ConnectClient, ImportPhoneNumberCommand } = require("@aws-sdk/client-connect"); // CommonJS import
34
+ * const client = new ConnectClient(config);
35
+ * const input = { // ImportPhoneNumberRequest
36
+ * InstanceId: "STRING_VALUE", // required
37
+ * SourcePhoneNumberArn: "STRING_VALUE", // required
38
+ * PhoneNumberDescription: "STRING_VALUE",
39
+ * Tags: { // TagMap
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * ClientToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ImportPhoneNumberCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ImportPhoneNumberResponse
47
+ * // PhoneNumberId: "STRING_VALUE",
48
+ * // PhoneNumberArn: "STRING_VALUE",
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param ImportPhoneNumberCommandInput - {@link ImportPhoneNumberCommandInput}
54
+ * @returns {@link ImportPhoneNumberCommandOutput}
55
+ * @see {@link ImportPhoneNumberCommandInput} for command's `input` shape.
56
+ * @see {@link ImportPhoneNumberCommandOutput} for command's `response` shape.
57
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You do not have sufficient permissions to perform this action.</p>
61
+ *
62
+ * @throws {@link IdempotencyException} (client fault)
63
+ * <p>An entity with the same name already exists.</p>
64
+ *
65
+ * @throws {@link InternalServiceException} (server fault)
66
+ * <p>Request processing failed because of an error or failure with the service.</p>
67
+ *
68
+ * @throws {@link InvalidParameterException} (client fault)
69
+ * <p>One or more of the specified parameters are not valid.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The specified resource was not found.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The throttling limit has been exceeded.</p>
76
+ *
77
+ * @throws {@link ConnectServiceException}
78
+ * <p>Base exception class for all service exceptions from Connect service.</p>
79
+ *
80
+ */
81
+ export declare class ImportPhoneNumberCommand extends $Command<ImportPhoneNumberCommandInput, ImportPhoneNumberCommandOutput, ConnectClientResolvedConfig> {
82
+ readonly input: ImportPhoneNumberCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: ImportPhoneNumberCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportPhoneNumberCommandInput, ImportPhoneNumberCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -0,0 +1,101 @@
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 { ListAnalyticsDataAssociationsRequest, ListAnalyticsDataAssociationsResponse } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAnalyticsDataAssociationsCommand}.
14
+ */
15
+ export interface ListAnalyticsDataAssociationsCommandInput extends ListAnalyticsDataAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAnalyticsDataAssociationsCommand}.
21
+ */
22
+ export interface ListAnalyticsDataAssociationsCommandOutput extends ListAnalyticsDataAssociationsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>This API is in preview release for Amazon Connect and is subject to change.</p>
27
+ * <p>Lists the association status of requested dataset ID for a given Amazon Connect
28
+ * instance.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { ConnectClient, ListAnalyticsDataAssociationsCommand } from "@aws-sdk/client-connect"; // ES Modules import
33
+ * // const { ConnectClient, ListAnalyticsDataAssociationsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
34
+ * const client = new ConnectClient(config);
35
+ * const input = { // ListAnalyticsDataAssociationsRequest
36
+ * InstanceId: "STRING_VALUE", // required
37
+ * DataSetId: "STRING_VALUE",
38
+ * NextToken: "STRING_VALUE",
39
+ * MaxResults: Number("int"),
40
+ * };
41
+ * const command = new ListAnalyticsDataAssociationsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListAnalyticsDataAssociationsResponse
44
+ * // Results: [ // AnalyticsDataAssociationResults
45
+ * // { // AnalyticsDataAssociationResult
46
+ * // DataSetId: "STRING_VALUE",
47
+ * // TargetAccountId: "STRING_VALUE",
48
+ * // ResourceShareId: "STRING_VALUE",
49
+ * // ResourceShareArn: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // NextToken: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param ListAnalyticsDataAssociationsCommandInput - {@link ListAnalyticsDataAssociationsCommandInput}
58
+ * @returns {@link ListAnalyticsDataAssociationsCommandOutput}
59
+ * @see {@link ListAnalyticsDataAssociationsCommandInput} for command's `input` shape.
60
+ * @see {@link ListAnalyticsDataAssociationsCommandOutput} for command's `response` shape.
61
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
62
+ *
63
+ * @throws {@link InternalServiceException} (server fault)
64
+ * <p>Request processing failed because of an error or failure with the service.</p>
65
+ *
66
+ * @throws {@link InvalidParameterException} (client fault)
67
+ * <p>One or more of the specified parameters are not valid.</p>
68
+ *
69
+ * @throws {@link InvalidRequestException} (client fault)
70
+ * <p>The request is not valid.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource was not found.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The throttling limit has been exceeded.</p>
77
+ *
78
+ * @throws {@link ConnectServiceException}
79
+ * <p>Base exception class for all service exceptions from Connect service.</p>
80
+ *
81
+ */
82
+ export declare class ListAnalyticsDataAssociationsCommand extends $Command<ListAnalyticsDataAssociationsCommandInput, ListAnalyticsDataAssociationsCommandOutput, ConnectClientResolvedConfig> {
83
+ readonly input: ListAnalyticsDataAssociationsCommandInput;
84
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
+ /**
86
+ * @public
87
+ */
88
+ constructor(input: ListAnalyticsDataAssociationsCommandInput);
89
+ /**
90
+ * @internal
91
+ */
92
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAnalyticsDataAssociationsCommandInput, ListAnalyticsDataAssociationsCommandOutput>;
93
+ /**
94
+ * @internal
95
+ */
96
+ private serialize;
97
+ /**
98
+ * @internal
99
+ */
100
+ private deserialize;
101
+ }
@@ -0,0 +1,101 @@
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 { ListFlowAssociationsRequest, ListFlowAssociationsResponse } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListFlowAssociationsCommand}.
14
+ */
15
+ export interface ListFlowAssociationsCommandInput extends ListFlowAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListFlowAssociationsCommand}.
21
+ */
22
+ export interface ListFlowAssociationsCommandOutput extends ListFlowAssociationsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List the flow association based on the filters.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ConnectClient, ListFlowAssociationsCommand } from "@aws-sdk/client-connect"; // ES Modules import
31
+ * // const { ConnectClient, ListFlowAssociationsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
32
+ * const client = new ConnectClient(config);
33
+ * const input = { // ListFlowAssociationsRequest
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * ResourceType: "VOICE_PHONE_NUMBER",
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
39
+ * const command = new ListFlowAssociationsCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListFlowAssociationsResponse
42
+ * // FlowAssociationSummaryList: [ // FlowAssociationSummaryList
43
+ * // { // FlowAssociationSummary
44
+ * // ResourceId: "STRING_VALUE",
45
+ * // FlowId: "STRING_VALUE",
46
+ * // ResourceType: "VOICE_PHONE_NUMBER",
47
+ * // },
48
+ * // ],
49
+ * // NextToken: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListFlowAssociationsCommandInput - {@link ListFlowAssociationsCommandInput}
55
+ * @returns {@link ListFlowAssociationsCommandOutput}
56
+ * @see {@link ListFlowAssociationsCommandInput} for command's `input` shape.
57
+ * @see {@link ListFlowAssociationsCommandOutput} for command's `response` shape.
58
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You do not have sufficient permissions to perform this action.</p>
62
+ *
63
+ * @throws {@link InternalServiceException} (server fault)
64
+ * <p>Request processing failed because of an error or failure with the service.</p>
65
+ *
66
+ * @throws {@link InvalidParameterException} (client fault)
67
+ * <p>One or more of the specified parameters are not valid.</p>
68
+ *
69
+ * @throws {@link InvalidRequestException} (client fault)
70
+ * <p>The request is not valid.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource was not found.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The throttling limit has been exceeded.</p>
77
+ *
78
+ * @throws {@link ConnectServiceException}
79
+ * <p>Base exception class for all service exceptions from Connect service.</p>
80
+ *
81
+ */
82
+ export declare class ListFlowAssociationsCommand extends $Command<ListFlowAssociationsCommandInput, ListFlowAssociationsCommandOutput, ConnectClientResolvedConfig> {
83
+ readonly input: ListFlowAssociationsCommandInput;
84
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
+ /**
86
+ * @public
87
+ */
88
+ constructor(input: ListFlowAssociationsCommandInput);
89
+ /**
90
+ * @internal
91
+ */
92
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListFlowAssociationsCommandInput, ListFlowAssociationsCommandOutput>;
93
+ /**
94
+ * @internal
95
+ */
96
+ private serialize;
97
+ /**
98
+ * @internal
99
+ */
100
+ private deserialize;
101
+ }
@@ -53,7 +53,7 @@ export interface ListPhoneNumbersCommandOutput extends ListPhoneNumbersResponse,
53
53
  * const input = { // ListPhoneNumbersRequest
54
54
  * InstanceId: "STRING_VALUE", // required
55
55
  * PhoneNumberTypes: [ // PhoneNumberTypes
56
- * "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID",
56
+ * "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID" || "SHORT_CODE",
57
57
  * ],
58
58
  * PhoneNumberCountryCodes: [ // PhoneNumberCountryCodes
59
59
  * "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW",
@@ -69,7 +69,7 @@ export interface ListPhoneNumbersCommandOutput extends ListPhoneNumbersResponse,
69
69
  * // Id: "STRING_VALUE",
70
70
  * // Arn: "STRING_VALUE",
71
71
  * // PhoneNumber: "STRING_VALUE",
72
- * // PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID",
72
+ * // PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID" || "SHORT_CODE",
73
73
  * // PhoneNumberCountryCode: "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW",
74
74
  * // },
75
75
  * // ],
@@ -56,7 +56,7 @@ export interface ListPhoneNumbersV2CommandOutput extends ListPhoneNumbersV2Respo
56
56
  * "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW",
57
57
  * ],
58
58
  * PhoneNumberTypes: [ // PhoneNumberTypes
59
- * "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID",
59
+ * "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID" || "SHORT_CODE",
60
60
  * ],
61
61
  * PhoneNumberPrefix: "STRING_VALUE",
62
62
  * };
@@ -70,9 +70,11 @@ export interface ListPhoneNumbersV2CommandOutput extends ListPhoneNumbersV2Respo
70
70
  * // PhoneNumberArn: "STRING_VALUE",
71
71
  * // PhoneNumber: "STRING_VALUE",
72
72
  * // PhoneNumberCountryCode: "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW",
73
- * // PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID",
73
+ * // PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID" || "SHORT_CODE",
74
74
  * // TargetArn: "STRING_VALUE",
75
75
  * // InstanceId: "STRING_VALUE",
76
+ * // PhoneNumberDescription: "STRING_VALUE",
77
+ * // SourcePhoneNumberArn: "STRING_VALUE",
76
78
  * // },
77
79
  * // ],
78
80
  * // };
@@ -0,0 +1,185 @@
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 { ListRealtimeContactAnalysisSegmentsV2Request, ListRealtimeContactAnalysisSegmentsV2Response } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRealtimeContactAnalysisSegmentsV2Command}.
14
+ */
15
+ export interface ListRealtimeContactAnalysisSegmentsV2CommandInput extends ListRealtimeContactAnalysisSegmentsV2Request {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRealtimeContactAnalysisSegmentsV2Command}.
21
+ */
22
+ export interface ListRealtimeContactAnalysisSegmentsV2CommandOutput extends ListRealtimeContactAnalysisSegmentsV2Response, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Provides a list of analysis segments for a real-time analysis session. </p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ConnectClient, ListRealtimeContactAnalysisSegmentsV2Command } from "@aws-sdk/client-connect"; // ES Modules import
31
+ * // const { ConnectClient, ListRealtimeContactAnalysisSegmentsV2Command } = require("@aws-sdk/client-connect"); // CommonJS import
32
+ * const client = new ConnectClient(config);
33
+ * const input = { // ListRealtimeContactAnalysisSegmentsV2Request
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * ContactId: "STRING_VALUE", // required
36
+ * MaxResults: Number("int"),
37
+ * NextToken: "STRING_VALUE",
38
+ * OutputType: "Raw" || "Redacted", // required
39
+ * SegmentTypes: [ // RealTimeContactAnalysisSegmentTypes // required
40
+ * "Transcript" || "Categories" || "Issues" || "Event" || "Attachments",
41
+ * ],
42
+ * };
43
+ * const command = new ListRealtimeContactAnalysisSegmentsV2Command(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListRealtimeContactAnalysisSegmentsV2Response
46
+ * // Channel: "VOICE" || "CHAT", // required
47
+ * // Status: "IN_PROGRESS" || "FAILED" || "COMPLETED", // required
48
+ * // Segments: [ // RealtimeContactAnalysisSegments // required
49
+ * // { // RealtimeContactAnalysisSegment Union: only one key present
50
+ * // Transcript: { // RealTimeContactAnalysisSegmentTranscript
51
+ * // Id: "STRING_VALUE", // required
52
+ * // ParticipantId: "STRING_VALUE", // required
53
+ * // ParticipantRole: "AGENT" || "CUSTOMER" || "SYSTEM" || "CUSTOM_BOT", // required
54
+ * // DisplayName: "STRING_VALUE",
55
+ * // Content: "STRING_VALUE", // required
56
+ * // ContentType: "STRING_VALUE",
57
+ * // Time: { // RealTimeContactAnalysisTimeData Union: only one key present
58
+ * // AbsoluteTime: new Date("TIMESTAMP"),
59
+ * // },
60
+ * // Redaction: { // RealTimeContactAnalysisTranscriptItemRedaction
61
+ * // CharacterOffsets: [ // RealTimeContactAnalysisCharacterIntervals
62
+ * // { // RealTimeContactAnalysisCharacterInterval
63
+ * // BeginOffsetChar: Number("int"), // required
64
+ * // EndOffsetChar: Number("int"), // required
65
+ * // },
66
+ * // ],
67
+ * // },
68
+ * // Sentiment: "POSITIVE" || "NEGATIVE" || "NEUTRAL",
69
+ * // },
70
+ * // Categories: { // RealTimeContactAnalysisSegmentCategories
71
+ * // MatchedDetails: { // RealTimeContactAnalysisMatchedDetails // required
72
+ * // "<keys>": { // RealTimeContactAnalysisCategoryDetails
73
+ * // PointsOfInterest: [ // RealTimeContactAnalysisPointsOfInterest // required
74
+ * // { // RealTimeContactAnalysisPointOfInterest
75
+ * // TranscriptItems: [ // RealTimeContactAnalysisTranscriptItemsWithCharacterOffsets
76
+ * // { // RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
77
+ * // Id: "STRING_VALUE", // required
78
+ * // CharacterOffsets: {
79
+ * // BeginOffsetChar: Number("int"), // required
80
+ * // EndOffsetChar: Number("int"), // required
81
+ * // },
82
+ * // },
83
+ * // ],
84
+ * // },
85
+ * // ],
86
+ * // },
87
+ * // },
88
+ * // },
89
+ * // Issues: { // RealTimeContactAnalysisSegmentIssues
90
+ * // IssuesDetected: [ // RealTimeContactAnalysisIssuesDetected // required
91
+ * // { // RealTimeContactAnalysisIssueDetected
92
+ * // TranscriptItems: [ // RealTimeContactAnalysisTranscriptItemsWithContent // required
93
+ * // { // RealTimeContactAnalysisTranscriptItemWithContent
94
+ * // Content: "STRING_VALUE",
95
+ * // Id: "STRING_VALUE", // required
96
+ * // CharacterOffsets: "<RealTimeContactAnalysisCharacterInterval>",
97
+ * // },
98
+ * // ],
99
+ * // },
100
+ * // ],
101
+ * // },
102
+ * // Event: { // RealTimeContactAnalysisSegmentEvent
103
+ * // Id: "STRING_VALUE", // required
104
+ * // ParticipantId: "STRING_VALUE",
105
+ * // ParticipantRole: "AGENT" || "CUSTOMER" || "SYSTEM" || "CUSTOM_BOT",
106
+ * // DisplayName: "STRING_VALUE",
107
+ * // EventType: "STRING_VALUE", // required
108
+ * // Time: {// Union: only one key present
109
+ * // AbsoluteTime: new Date("TIMESTAMP"),
110
+ * // },
111
+ * // },
112
+ * // Attachments: { // RealTimeContactAnalysisSegmentAttachments
113
+ * // Id: "STRING_VALUE", // required
114
+ * // ParticipantId: "STRING_VALUE", // required
115
+ * // ParticipantRole: "AGENT" || "CUSTOMER" || "SYSTEM" || "CUSTOM_BOT", // required
116
+ * // DisplayName: "STRING_VALUE",
117
+ * // Attachments: [ // RealTimeContactAnalysisAttachments // required
118
+ * // { // RealTimeContactAnalysisAttachment
119
+ * // AttachmentName: "STRING_VALUE", // required
120
+ * // ContentType: "STRING_VALUE",
121
+ * // AttachmentId: "STRING_VALUE", // required
122
+ * // Status: "APPROVED" || "REJECTED" || "IN_PROGRESS",
123
+ * // },
124
+ * // ],
125
+ * // Time: {// Union: only one key present
126
+ * // AbsoluteTime: new Date("TIMESTAMP"),
127
+ * // },
128
+ * // },
129
+ * // },
130
+ * // ],
131
+ * // NextToken: "STRING_VALUE",
132
+ * // };
133
+ *
134
+ * ```
135
+ *
136
+ * @param ListRealtimeContactAnalysisSegmentsV2CommandInput - {@link ListRealtimeContactAnalysisSegmentsV2CommandInput}
137
+ * @returns {@link ListRealtimeContactAnalysisSegmentsV2CommandOutput}
138
+ * @see {@link ListRealtimeContactAnalysisSegmentsV2CommandInput} for command's `input` shape.
139
+ * @see {@link ListRealtimeContactAnalysisSegmentsV2CommandOutput} for command's `response` shape.
140
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
141
+ *
142
+ * @throws {@link AccessDeniedException} (client fault)
143
+ * <p>You do not have sufficient permissions to perform this action.</p>
144
+ *
145
+ * @throws {@link InternalServiceException} (server fault)
146
+ * <p>Request processing failed because of an error or failure with the service.</p>
147
+ *
148
+ * @throws {@link InvalidRequestException} (client fault)
149
+ * <p>The request is not valid.</p>
150
+ *
151
+ * @throws {@link OutputTypeNotFoundException} (client fault)
152
+ * <p>Thrown for analyzed content when requested OutputType was not enabled for a given contact.
153
+ * For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction
154
+ * policy set in Contact flow.</p>
155
+ *
156
+ * @throws {@link ResourceNotFoundException} (client fault)
157
+ * <p>The specified resource was not found.</p>
158
+ *
159
+ * @throws {@link ThrottlingException} (client fault)
160
+ * <p>The throttling limit has been exceeded.</p>
161
+ *
162
+ * @throws {@link ConnectServiceException}
163
+ * <p>Base exception class for all service exceptions from Connect service.</p>
164
+ *
165
+ */
166
+ export declare class ListRealtimeContactAnalysisSegmentsV2Command extends $Command<ListRealtimeContactAnalysisSegmentsV2CommandInput, ListRealtimeContactAnalysisSegmentsV2CommandOutput, ConnectClientResolvedConfig> {
167
+ readonly input: ListRealtimeContactAnalysisSegmentsV2CommandInput;
168
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
169
+ /**
170
+ * @public
171
+ */
172
+ constructor(input: ListRealtimeContactAnalysisSegmentsV2CommandInput);
173
+ /**
174
+ * @internal
175
+ */
176
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRealtimeContactAnalysisSegmentsV2CommandInput, ListRealtimeContactAnalysisSegmentsV2CommandOutput>;
177
+ /**
178
+ * @internal
179
+ */
180
+ private serialize;
181
+ /**
182
+ * @internal
183
+ */
184
+ private deserialize;
185
+ }
@@ -33,7 +33,7 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
33
33
  * const input = { // ListRulesRequest
34
34
  * InstanceId: "STRING_VALUE", // required
35
35
  * PublishStatus: "DRAFT" || "PUBLISHED",
36
- * EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate",
36
+ * EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate",
37
37
  * MaxResults: Number("int"),
38
38
  * NextToken: "STRING_VALUE",
39
39
  * };
@@ -45,7 +45,7 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
45
45
  * // Name: "STRING_VALUE", // required
46
46
  * // RuleId: "STRING_VALUE", // required
47
47
  * // RuleArn: "STRING_VALUE", // required
48
- * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
48
+ * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
49
49
  * // PublishStatus: "DRAFT" || "PUBLISHED", // required
50
50
  * // ActionSummaries: [ // ActionSummaries // required
51
51
  * // { // ActionSummary
@@ -27,7 +27,7 @@ export interface ReleasePhoneNumberCommandOutput extends __MetadataBearer {
27
27
  * can call this API only in the Amazon Web Services Region where the number was claimed.</p>
28
28
  * <important>
29
29
  * <p>To release phone numbers from a traffic distribution group, use the <code>ReleasePhoneNumber</code> API, not the
30
- * Amazon Connect console.</p>
30
+ * Amazon Connect admin website.</p>
31
31
  * <p>After releasing a phone number, the phone number enters into a cooldown period of 30 days.
32
32
  * It cannot be searched for or claimed again until the period has ended. If you accidentally
33
33
  * release a phone number, contact Amazon Web Services Support.</p>
@@ -36,7 +36,7 @@ export interface SearchAvailablePhoneNumbersCommandOutput extends SearchAvailabl
36
36
  * TargetArn: "STRING_VALUE",
37
37
  * InstanceId: "STRING_VALUE",
38
38
  * PhoneNumberCountryCode: "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW", // required
39
- * PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID", // required
39
+ * PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID" || "SHORT_CODE", // required
40
40
  * PhoneNumberPrefix: "STRING_VALUE",
41
41
  * MaxResults: Number("int"),
42
42
  * NextToken: "STRING_VALUE",
@@ -49,7 +49,7 @@ export interface SearchAvailablePhoneNumbersCommandOutput extends SearchAvailabl
49
49
  * // { // AvailableNumberSummary
50
50
  * // PhoneNumber: "STRING_VALUE",
51
51
  * // PhoneNumberCountryCode: "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW",
52
- * // PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID",
52
+ * // PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID" || "SHORT_CODE",
53
53
  * // },
54
54
  * // ],
55
55
  * // };