@aws-sdk/client-connect 3.410.0 → 3.414.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +2 -2
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +29 -28
|
@@ -411,6 +411,7 @@ exports.RulePublishStatus = {
|
|
|
411
411
|
};
|
|
412
412
|
exports.EventSourceName = {
|
|
413
413
|
OnContactEvaluationSubmit: "OnContactEvaluationSubmit",
|
|
414
|
+
OnMetricDataUpdate: "OnMetricDataUpdate",
|
|
414
415
|
OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable",
|
|
415
416
|
OnPostChatAnalysisAvailable: "OnPostChatAnalysisAvailable",
|
|
416
417
|
OnRealTimeCallAnalysisAvailable: "OnRealTimeCallAnalysisAvailable",
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
4
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const asPartial = (t) => t;
|
|
7
8
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
8
9
|
const extensionConfiguration = {
|
|
10
|
+
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
12
|
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
11
13
|
};
|
|
12
14
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
13
15
|
return {
|
|
14
16
|
...runtimeConfig,
|
|
17
|
+
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
15
18
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
19
|
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
17
20
|
};
|
|
@@ -394,6 +394,7 @@ export const RulePublishStatus = {
|
|
|
394
394
|
};
|
|
395
395
|
export const EventSourceName = {
|
|
396
396
|
OnContactEvaluationSubmit: "OnContactEvaluationSubmit",
|
|
397
|
+
OnMetricDataUpdate: "OnMetricDataUpdate",
|
|
397
398
|
OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable",
|
|
398
399
|
OnPostChatAnalysisAvailable: "OnPostChatAnalysisAvailable",
|
|
399
400
|
OnRealTimeCallAnalysisAvailable: "OnRealTimeCallAnalysisAvailable",
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
1
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
2
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
3
4
|
const asPartial = (t) => t;
|
|
4
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
5
6
|
const extensionConfiguration = {
|
|
7
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
9
|
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
8
10
|
};
|
|
9
11
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
10
12
|
return {
|
|
11
13
|
...runtimeConfig,
|
|
14
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
12
15
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
16
|
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
14
17
|
};
|
|
@@ -36,7 +36,7 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
|
|
|
36
36
|
* InstanceId: "STRING_VALUE", // required
|
|
37
37
|
* Name: "STRING_VALUE", // required
|
|
38
38
|
* TriggerEventSource: { // RuleTriggerEventSource
|
|
39
|
-
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit", // required
|
|
39
|
+
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
|
|
40
40
|
* IntegrationAssociationId: "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
42
|
* Function: "STRING_VALUE", // required
|
|
@@ -42,7 +42,7 @@ export interface DescribeRuleCommandOutput extends DescribeRuleResponse, __Metad
|
|
|
42
42
|
* // RuleId: "STRING_VALUE", // required
|
|
43
43
|
* // RuleArn: "STRING_VALUE", // required
|
|
44
44
|
* // TriggerEventSource: { // RuleTriggerEventSource
|
|
45
|
-
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit", // required
|
|
45
|
+
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
|
|
46
46
|
* // IntegrationAssociationId: "STRING_VALUE",
|
|
47
47
|
* // },
|
|
48
48
|
* // Function: "STRING_VALUE", // required
|
|
@@ -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",
|
|
36
|
+
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "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", // required
|
|
48
|
+
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
|
|
49
49
|
* // PublishStatus: "DRAFT" || "PUBLISHED", // required
|
|
50
50
|
* // ActionSummaries: [ // ActionSummaries // required
|
|
51
51
|
* // { // ActionSummary
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
|
-
export interface ConnectExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
7
|
+
export interface ConnectExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
7
8
|
}
|
|
@@ -2671,6 +2671,7 @@ export type RulePublishStatus = (typeof RulePublishStatus)[keyof typeof RulePubl
|
|
|
2671
2671
|
*/
|
|
2672
2672
|
export declare const EventSourceName: {
|
|
2673
2673
|
readonly OnContactEvaluationSubmit: "OnContactEvaluationSubmit";
|
|
2674
|
+
readonly OnMetricDataUpdate: "OnMetricDataUpdate";
|
|
2674
2675
|
readonly OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable";
|
|
2675
2676
|
readonly OnPostChatAnalysisAvailable: "OnPostChatAnalysisAvailable";
|
|
2676
2677
|
readonly OnRealTimeCallAnalysisAvailable: "OnRealTimeCallAnalysisAvailable";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
export interface ConnectExtensionConfiguration
|
|
4
5
|
extends HttpHandlerExtensionConfiguration,
|
|
5
|
-
DefaultExtensionConfiguration
|
|
6
|
+
DefaultExtensionConfiguration,
|
|
7
|
+
AwsRegionExtensionConfiguration {}
|
|
@@ -872,6 +872,7 @@ export type RulePublishStatus =
|
|
|
872
872
|
(typeof RulePublishStatus)[keyof typeof RulePublishStatus];
|
|
873
873
|
export declare const EventSourceName: {
|
|
874
874
|
readonly OnContactEvaluationSubmit: "OnContactEvaluationSubmit";
|
|
875
|
+
readonly OnMetricDataUpdate: "OnMetricDataUpdate";
|
|
875
876
|
readonly OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable";
|
|
876
877
|
readonly OnPostChatAnalysisAvailable: "OnPostChatAnalysisAvailable";
|
|
877
878
|
readonly OnRealTimeCallAnalysisAvailable: "OnRealTimeCallAnalysisAvailable";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.414.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,37 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/
|
|
32
|
-
"@aws-sdk/
|
|
33
|
-
"@aws-sdk/util-
|
|
34
|
-
"@aws-sdk/util-user-agent-
|
|
35
|
-
"@
|
|
36
|
-
"@smithy/
|
|
37
|
-
"@smithy/
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/middleware-
|
|
41
|
-
"@smithy/middleware-
|
|
42
|
-
"@smithy/middleware-
|
|
24
|
+
"@aws-sdk/client-sts": "3.414.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.414.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.413.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.413.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.413.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.413.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.413.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.413.0",
|
|
32
|
+
"@aws-sdk/types": "3.413.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.413.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.413.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.413.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.8",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.1.3",
|
|
38
|
+
"@smithy/hash-node": "^2.0.7",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.7",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.9",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.7",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.10",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.7",
|
|
43
44
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.1.
|
|
46
|
-
"@smithy/protocol-http": "^3.0.
|
|
47
|
-
"@smithy/smithy-client": "^2.1.
|
|
48
|
-
"@smithy/types": "^2.3.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.10",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.3",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.3",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.4",
|
|
49
|
+
"@smithy/types": "^2.3.1",
|
|
50
|
+
"@smithy/url-parser": "^2.0.7",
|
|
50
51
|
"@smithy/util-base64": "^2.0.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.8",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.10",
|
|
55
56
|
"@smithy/util-retry": "^2.0.0",
|
|
56
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
58
|
"tslib": "^2.5.0",
|