@aws-sdk/client-connect 3.462.0 → 3.468.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/protocols/Aws_restJson1.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreateInstanceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeInstanceCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +34 -36
|
@@ -608,6 +608,7 @@ const se_CreateInstanceCommand = async (input, context) => {
|
|
|
608
608
|
InboundCallsEnabled: [],
|
|
609
609
|
InstanceAlias: [],
|
|
610
610
|
OutboundCallsEnabled: [],
|
|
611
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
611
612
|
}));
|
|
612
613
|
return new protocol_http_1.HttpRequest({
|
|
613
614
|
protocol,
|
|
@@ -16798,6 +16799,7 @@ const de_Instance = (output, context) => {
|
|
|
16798
16799
|
OutboundCallsEnabled: smithy_client_1.expectBoolean,
|
|
16799
16800
|
ServiceRole: smithy_client_1.expectString,
|
|
16800
16801
|
StatusReason: smithy_client_1._json,
|
|
16802
|
+
Tags: smithy_client_1._json,
|
|
16801
16803
|
});
|
|
16802
16804
|
};
|
|
16803
16805
|
const de_InstanceSummary = (output, context) => {
|
|
@@ -572,6 +572,7 @@ export const se_CreateInstanceCommand = async (input, context) => {
|
|
|
572
572
|
InboundCallsEnabled: [],
|
|
573
573
|
InstanceAlias: [],
|
|
574
574
|
OutboundCallsEnabled: [],
|
|
575
|
+
Tags: (_) => _json(_),
|
|
575
576
|
}));
|
|
576
577
|
return new __HttpRequest({
|
|
577
578
|
protocol,
|
|
@@ -16332,6 +16333,7 @@ const de_Instance = (output, context) => {
|
|
|
16332
16333
|
OutboundCallsEnabled: __expectBoolean,
|
|
16333
16334
|
ServiceRole: __expectString,
|
|
16334
16335
|
StatusReason: _json,
|
|
16336
|
+
Tags: _json,
|
|
16335
16337
|
});
|
|
16336
16338
|
};
|
|
16337
16339
|
const de_InstanceSummary = (output, context) => {
|
|
@@ -43,6 +43,9 @@ export interface CreateInstanceCommandOutput extends CreateInstanceResponse, __M
|
|
|
43
43
|
* DirectoryId: "STRING_VALUE",
|
|
44
44
|
* InboundCallsEnabled: true || false, // required
|
|
45
45
|
* OutboundCallsEnabled: true || false, // required
|
|
46
|
+
* Tags: { // TagMap
|
|
47
|
+
* "<keys>": "STRING_VALUE",
|
|
48
|
+
* },
|
|
46
49
|
* };
|
|
47
50
|
* const command = new CreateInstanceCommand(input);
|
|
48
51
|
* const response = await client.send(command);
|
|
@@ -55,6 +55,9 @@ export interface DescribeInstanceCommandOutput extends DescribeInstanceResponse,
|
|
|
55
55
|
* // InboundCallsEnabled: true || false,
|
|
56
56
|
* // OutboundCallsEnabled: true || false,
|
|
57
57
|
* // InstanceAccessUrl: "STRING_VALUE",
|
|
58
|
+
* // Tags: { // TagMap
|
|
59
|
+
* // "<keys>": "STRING_VALUE",
|
|
60
|
+
* // },
|
|
58
61
|
* // },
|
|
59
62
|
* // };
|
|
60
63
|
*
|
|
@@ -2395,6 +2395,11 @@ export interface CreateInstanceRequest {
|
|
|
2395
2395
|
* <p>Your contact center allows outbound calls.</p>
|
|
2396
2396
|
*/
|
|
2397
2397
|
OutboundCallsEnabled: boolean | undefined;
|
|
2398
|
+
/**
|
|
2399
|
+
* @public
|
|
2400
|
+
* <p>The tags used to organize, track, or control access for this resource. For example, <code>\{ "tags": \{"key1":"value1", "key2":"value2"\} \}</code>.</p>
|
|
2401
|
+
*/
|
|
2402
|
+
Tags?: Record<string, string>;
|
|
2398
2403
|
}
|
|
2399
2404
|
/**
|
|
2400
2405
|
* @public
|
|
@@ -5684,6 +5689,11 @@ export interface Instance {
|
|
|
5684
5689
|
* <p>This URL allows contact center users to access the Amazon Connect admin website.</p>
|
|
5685
5690
|
*/
|
|
5686
5691
|
InstanceAccessUrl?: string;
|
|
5692
|
+
/**
|
|
5693
|
+
* @public
|
|
5694
|
+
* <p>The tags of an instance.</p>
|
|
5695
|
+
*/
|
|
5696
|
+
Tags?: Record<string, string>;
|
|
5687
5697
|
}
|
|
5688
5698
|
/**
|
|
5689
5699
|
* @public
|
|
@@ -798,6 +798,7 @@ export interface CreateInstanceRequest {
|
|
|
798
798
|
DirectoryId?: string;
|
|
799
799
|
InboundCallsEnabled: boolean | undefined;
|
|
800
800
|
OutboundCallsEnabled: boolean | undefined;
|
|
801
|
+
Tags?: Record<string, string>;
|
|
801
802
|
}
|
|
802
803
|
export interface CreateInstanceResponse {
|
|
803
804
|
Id?: string;
|
|
@@ -1687,6 +1688,7 @@ export interface Instance {
|
|
|
1687
1688
|
InboundCallsEnabled?: boolean;
|
|
1688
1689
|
OutboundCallsEnabled?: boolean;
|
|
1689
1690
|
InstanceAccessUrl?: string;
|
|
1691
|
+
Tags?: Record<string, string>;
|
|
1690
1692
|
}
|
|
1691
1693
|
export interface DescribeInstanceResponse {
|
|
1692
1694
|
Instance?: Instance;
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
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.468.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",
|
|
8
|
-
"build:docs": "typedoc",
|
|
9
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
11
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -21,41 +20,41 @@
|
|
|
21
20
|
"dependencies": {
|
|
22
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^2.0.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.
|
|
39
|
-
"@smithy/hash-node": "^2.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0.
|
|
44
|
-
"@smithy/middleware-serde": "^2.0.
|
|
45
|
-
"@smithy/middleware-stack": "^2.0.
|
|
46
|
-
"@smithy/node-config-provider": "^2.1.
|
|
47
|
-
"@smithy/node-http-handler": "^2.1
|
|
48
|
-
"@smithy/protocol-http": "^3.0.
|
|
49
|
-
"@smithy/smithy-client": "^2.1.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0.
|
|
23
|
+
"@aws-sdk/client-sts": "3.468.0",
|
|
24
|
+
"@aws-sdk/core": "3.468.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.468.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.468.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.468.0",
|
|
32
|
+
"@aws-sdk/types": "3.468.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.468.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.468.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.20",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
|
+
"@smithy/hash-node": "^2.0.17",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.15",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.17",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.2.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.23",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.15",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.9",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.7",
|
|
46
|
+
"@smithy/node-http-handler": "^2.2.1",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.11",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.18",
|
|
49
|
+
"@smithy/types": "^2.7.0",
|
|
50
|
+
"@smithy/url-parser": "^2.0.15",
|
|
52
51
|
"@smithy/util-base64": "^2.0.1",
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.0.
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.0.1",
|
|
54
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
57
|
-
"@smithy/util-endpoints": "^1.0.
|
|
58
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.22",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.28",
|
|
56
|
+
"@smithy/util-endpoints": "^1.0.6",
|
|
57
|
+
"@smithy/util-retry": "^2.0.8",
|
|
59
58
|
"@smithy/util-utf8": "^2.0.2",
|
|
60
59
|
"tslib": "^2.5.0",
|
|
61
60
|
"uuid": "^8.3.2"
|
|
@@ -68,7 +67,6 @@
|
|
|
68
67
|
"concurrently": "7.0.0",
|
|
69
68
|
"downlevel-dts": "0.10.1",
|
|
70
69
|
"rimraf": "3.0.2",
|
|
71
|
-
"typedoc": "0.23.23",
|
|
72
70
|
"typescript": "~4.9.5"
|
|
73
71
|
},
|
|
74
72
|
"engines": {
|