@aws-sdk/client-connect 3.465.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.
@@ -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,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.465.0",
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",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.465.0",
24
- "@aws-sdk/core": "3.465.0",
25
- "@aws-sdk/credential-provider-node": "3.465.0",
26
- "@aws-sdk/middleware-host-header": "3.465.0",
27
- "@aws-sdk/middleware-logger": "3.465.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.465.0",
29
- "@aws-sdk/middleware-signing": "3.465.0",
30
- "@aws-sdk/middleware-user-agent": "3.465.0",
31
- "@aws-sdk/region-config-resolver": "3.465.0",
32
- "@aws-sdk/types": "3.465.0",
33
- "@aws-sdk/util-endpoints": "3.465.0",
34
- "@aws-sdk/util-user-agent-browser": "3.465.0",
35
- "@aws-sdk/util-user-agent-node": "3.465.0",
36
- "@smithy/config-resolver": "^2.0.18",
37
- "@smithy/fetch-http-handler": "^2.2.6",
38
- "@smithy/hash-node": "^2.0.15",
39
- "@smithy/invalid-dependency": "^2.0.13",
40
- "@smithy/middleware-content-length": "^2.0.15",
41
- "@smithy/middleware-endpoint": "^2.2.0",
42
- "@smithy/middleware-retry": "^2.0.20",
43
- "@smithy/middleware-serde": "^2.0.13",
44
- "@smithy/middleware-stack": "^2.0.7",
45
- "@smithy/node-config-provider": "^2.1.5",
46
- "@smithy/node-http-handler": "^2.1.9",
47
- "@smithy/protocol-http": "^3.0.9",
48
- "@smithy/smithy-client": "^2.1.15",
49
- "@smithy/types": "^2.5.0",
50
- "@smithy/url-parser": "^2.0.13",
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",
51
51
  "@smithy/util-base64": "^2.0.1",
52
- "@smithy/util-body-length-browser": "^2.0.0",
52
+ "@smithy/util-body-length-browser": "^2.0.1",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.19",
55
- "@smithy/util-defaults-mode-node": "^2.0.25",
56
- "@smithy/util-endpoints": "^1.0.4",
57
- "@smithy/util-retry": "^2.0.6",
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",
58
58
  "@smithy/util-utf8": "^2.0.2",
59
59
  "tslib": "^2.5.0",
60
60
  "uuid": "^8.3.2"