@aws-sdk/client-connect 3.47.2 → 3.48.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-connect
package/README.md CHANGED
@@ -15,7 +15,7 @@ appropriate agents.</p>
15
15
  <p>There are limits to the number of Amazon Connect resources that you can create. There are also limits
16
16
  to the number of requests that you can make per second. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect
17
17
  Service Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
18
- <p>You can connect programmatically to an AWS service by using an endpoint. For a list of Amazon Connect
18
+ <p>You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect
19
19
  endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect
20
20
  Endpoints</a>.</p>
21
21
  <note>
@@ -777,6 +777,7 @@ const serializeAws_restJson1CreateUserHierarchyGroupCommand = async (input, cont
777
777
  body = JSON.stringify({
778
778
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
779
779
  ...(input.ParentGroupId !== undefined && input.ParentGroupId !== null && { ParentGroupId: input.ParentGroupId }),
780
+ ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
780
781
  });
781
782
  return new protocol_http_1.HttpRequest({
782
783
  protocol,
@@ -16073,6 +16074,9 @@ const deserializeAws_restJson1HierarchyGroup = (output, context) => {
16073
16074
  Id: smithy_client_1.expectString(output.Id),
16074
16075
  LevelId: smithy_client_1.expectString(output.LevelId),
16075
16076
  Name: smithy_client_1.expectString(output.Name),
16077
+ Tags: output.Tags !== undefined && output.Tags !== null
16078
+ ? deserializeAws_restJson1TagMap(output.Tags, context)
16079
+ : undefined,
16076
16080
  };
16077
16081
  };
16078
16082
  const deserializeAws_restJson1HierarchyGroupSummary = (output, context) => {
@@ -777,7 +777,7 @@ export var serializeAws_restJson1CreateUserHierarchyGroupCommand = function (inp
777
777
  else {
778
778
  throw new Error("No value provided for input HTTP label: InstanceId.");
779
779
  }
780
- body = JSON.stringify(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParentGroupId !== undefined && input.ParentGroupId !== null && { ParentGroupId: input.ParentGroupId })));
780
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParentGroupId !== undefined && input.ParentGroupId !== null && { ParentGroupId: input.ParentGroupId })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
781
781
  return [2, new __HttpRequest({
782
782
  protocol: protocol,
783
783
  hostname: hostname,
@@ -17954,6 +17954,9 @@ var deserializeAws_restJson1HierarchyGroup = function (output, context) {
17954
17954
  Id: __expectString(output.Id),
17955
17955
  LevelId: __expectString(output.LevelId),
17956
17956
  Name: __expectString(output.Name),
17957
+ Tags: output.Tags !== undefined && output.Tags !== null
17958
+ ? deserializeAws_restJson1TagMap(output.Tags, context)
17959
+ : undefined,
17957
17960
  };
17958
17961
  };
17959
17962
  var deserializeAws_restJson1HierarchyGroupSummary = function (output, context) {
@@ -137,7 +137,7 @@ import { ConnectClient } from "./ConnectClient";
137
137
  * <p>There are limits to the number of Amazon Connect resources that you can create. There are also limits
138
138
  * to the number of requests that you can make per second. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect
139
139
  * Service Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
140
- * <p>You can connect programmatically to an AWS service by using an endpoint. For a list of Amazon Connect
140
+ * <p>You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect
141
141
  * endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect
142
142
  * Endpoints</a>.</p>
143
143
  * <note>
@@ -246,7 +246,7 @@ export declare class Connect extends ConnectClient {
246
246
  createInstance(args: CreateInstanceCommandInput, cb: (err: any, data?: CreateInstanceCommandOutput) => void): void;
247
247
  createInstance(args: CreateInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInstanceCommandOutput) => void): void;
248
248
  /**
249
- * <p>Creates an AWS resource association with an Amazon Connect instance.</p>
249
+ * <p>Creates an Amazon Web Services resource association with an Amazon Connect instance.</p>
250
250
  */
251
251
  createIntegrationAssociation(args: CreateIntegrationAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateIntegrationAssociationCommandOutput>;
252
252
  createIntegrationAssociation(args: CreateIntegrationAssociationCommandInput, cb: (err: any, data?: CreateIntegrationAssociationCommandOutput) => void): void;
@@ -327,7 +327,7 @@ export declare class Connect extends ConnectClient {
327
327
  deleteInstance(args: DeleteInstanceCommandInput, cb: (err: any, data?: DeleteInstanceCommandOutput) => void): void;
328
328
  deleteInstance(args: DeleteInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInstanceCommandOutput) => void): void;
329
329
  /**
330
- * <p>Deletes an AWS resource association from an Amazon Connect instance. The association must not have
330
+ * <p>Deletes an Amazon Web Services resource association from an Amazon Connect instance. The association must not have
331
331
  * any use cases associated with it.</p>
332
332
  */
333
333
  deleteIntegrationAssociation(args: DeleteIntegrationAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIntegrationAssociationCommandOutput>;
@@ -654,7 +654,7 @@ export declare class Connect extends ConnectClient {
654
654
  listInstanceStorageConfigs(args: ListInstanceStorageConfigsCommandInput, cb: (err: any, data?: ListInstanceStorageConfigsCommandOutput) => void): void;
655
655
  listInstanceStorageConfigs(args: ListInstanceStorageConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInstanceStorageConfigsCommandOutput) => void): void;
656
656
  /**
657
- * <p>Provides summary information about the AWS resource associations for the specified Amazon Connect
657
+ * <p>Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect
658
658
  * instance.</p>
659
659
  */
660
660
  listIntegrationAssociations(args: ListIntegrationAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListIntegrationAssociationsCommandOutput>;
@@ -262,7 +262,7 @@ export interface ConnectClientResolvedConfig extends ConnectClientResolvedConfig
262
262
  * <p>There are limits to the number of Amazon Connect resources that you can create. There are also limits
263
263
  * to the number of requests that you can make per second. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect
264
264
  * Service Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
265
- * <p>You can connect programmatically to an AWS service by using an endpoint. For a list of Amazon Connect
265
+ * <p>You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect
266
266
  * endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect
267
267
  * Endpoints</a>.</p>
268
268
  * <note>
@@ -7,7 +7,7 @@ export interface CreateIntegrationAssociationCommandInput extends CreateIntegrat
7
7
  export interface CreateIntegrationAssociationCommandOutput extends CreateIntegrationAssociationResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an AWS resource association with an Amazon Connect instance.</p>
10
+ * <p>Creates an Amazon Web Services resource association with an Amazon Connect instance.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface DeleteIntegrationAssociationCommandInput extends DeleteIntegrat
7
7
  export interface DeleteIntegrationAssociationCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes an AWS resource association from an Amazon Connect instance. The association must not have
10
+ * <p>Deletes an Amazon Web Services resource association from an Amazon Connect instance. The association must not have
11
11
  * any use cases associated with it.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,7 @@ export interface ListIntegrationAssociationsCommandInput extends ListIntegration
7
7
  export interface ListIntegrationAssociationsCommandOutput extends ListIntegrationAssociationsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Provides summary information about the AWS resource associations for the specified Amazon Connect
10
+ * <p>Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect
11
11
  * instance.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -1561,6 +1561,12 @@ export interface CreateUserHierarchyGroupRequest {
1561
1561
  * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
1562
1562
  */
1563
1563
  InstanceId: string | undefined;
1564
+ /**
1565
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1566
+ */
1567
+ Tags?: {
1568
+ [key: string]: string;
1569
+ };
1564
1570
  }
1565
1571
  export declare namespace CreateUserHierarchyGroupRequest {
1566
1572
  /**
@@ -2814,6 +2820,12 @@ export interface HierarchyGroup {
2814
2820
  * <p>Information about the levels in the hierarchy group.</p>
2815
2821
  */
2816
2822
  HierarchyPath?: HierarchyPath;
2823
+ /**
2824
+ * <p>The tags used to organize, track, or control access for this resource.</p>
2825
+ */
2826
+ Tags?: {
2827
+ [key: string]: string;
2828
+ };
2817
2829
  }
2818
2830
  export declare namespace HierarchyGroup {
2819
2831
  /**
@@ -3134,8 +3146,8 @@ export declare namespace CurrentMetric {
3134
3146
  */
3135
3147
  export interface Filters {
3136
3148
  /**
3137
- * <p>The queues to use to filter the metrics. You can specify up to 100 queues per
3138
- * request.</p>
3149
+ * <p>The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues per
3150
+ * request. The <code>GetCurrentMetricsData</code> API in particular requires a queue when you include a <code>Filter</code> in your request. </p>
3139
3151
  */
3140
3152
  Queues?: string[];
3141
3153
  /**
@@ -348,7 +348,7 @@ export interface UpdateInstanceAttributeRequest {
348
348
  /**
349
349
  * <p>The type of attribute.</p>
350
350
  * <note>
351
- * <p>Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact AWS Support for allowlisting.</p>
351
+ * <p>Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact Amazon Web Services Support for allowlisting.</p>
352
352
  * </note>
353
353
  */
354
354
  AttributeType: InstanceAttributeType | string | undefined;
@@ -940,6 +940,10 @@ export interface CreateUserHierarchyGroupRequest {
940
940
  ParentGroupId?: string;
941
941
 
942
942
  InstanceId: string | undefined;
943
+
944
+ Tags?: {
945
+ [key: string]: string;
946
+ };
943
947
  }
944
948
  export declare namespace CreateUserHierarchyGroupRequest {
945
949
 
@@ -1699,6 +1703,10 @@ export interface HierarchyGroup {
1699
1703
  LevelId?: string;
1700
1704
 
1701
1705
  HierarchyPath?: HierarchyPath;
1706
+
1707
+ Tags?: {
1708
+ [key: string]: string;
1709
+ };
1702
1710
  }
1703
1711
  export declare namespace HierarchyGroup {
1704
1712
 
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.47.2",
4
+ "version": "3.48.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.47.2",
21
+ "@aws-sdk/client-sts": "3.48.0",
22
22
  "@aws-sdk/config-resolver": "3.47.2",
23
- "@aws-sdk/credential-provider-node": "3.47.2",
23
+ "@aws-sdk/credential-provider-node": "3.48.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.47.2",
25
25
  "@aws-sdk/hash-node": "3.47.2",
26
26
  "@aws-sdk/invalid-dependency": "3.47.2",