@aws-sdk/client-connect 3.46.0 → 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.
@@ -1,19 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
17
  export var getRuntimeConfig = function (config) {
16
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
17
21
  var clientSharedValues = getSharedRuntimeConfig(config);
18
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
19
28
  };
@@ -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>;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateApprovedOriginCommandInput, AssociateApprovedOriginCommandOutput } from "./commands/AssociateApprovedOriginCommand";
10
10
  import { AssociateBotCommandInput, AssociateBotCommandOutput } from "./commands/AssociateBotCommand";
@@ -236,6 +236,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
236
236
  * @internal
237
237
  */
238
238
  defaultUserAgentProvider?: Provider<__UserAgent>;
239
+ /**
240
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
241
+ */
242
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
239
243
  }
240
244
  declare type ConnectClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
241
245
  /**
@@ -258,7 +262,7 @@ export interface ConnectClientResolvedConfig extends ConnectClientResolvedConfig
258
262
  * <p>There are limits to the number of Amazon Connect resources that you can create. There are also limits
259
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
260
264
  * Service Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
261
- * <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
262
266
  * endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect
263
267
  * Endpoints</a>.</p>
264
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.
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
7
7
  $fault: "client";
8
8
  Message?: string;
9
9
  }
10
- export declare namespace AccessDeniedException {
11
- /**
12
- * @internal
13
- */
14
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
15
- }
16
10
  /**
17
11
  * <p>Information about the agent who accepted the contact.</p>
18
12
  */
@@ -140,12 +134,6 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
140
134
  */
141
135
  Message?: string;
142
136
  }
143
- export declare namespace InternalServiceException {
144
- /**
145
- * @internal
146
- */
147
- const filterSensitiveLog: (obj: InternalServiceException) => any;
148
- }
149
137
  /**
150
138
  * <p>One or more of the specified parameters are not valid.</p>
151
139
  */
@@ -157,12 +145,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
157
145
  */
158
146
  Message?: string;
159
147
  }
160
- export declare namespace InvalidParameterException {
161
- /**
162
- * @internal
163
- */
164
- const filterSensitiveLog: (obj: InvalidParameterException) => any;
165
- }
166
148
  /**
167
149
  * <p>The request is not valid.</p>
168
150
  */
@@ -174,12 +156,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
174
156
  */
175
157
  Message?: string;
176
158
  }
177
- export declare namespace InvalidRequestException {
178
- /**
179
- * @internal
180
- */
181
- const filterSensitiveLog: (obj: InvalidRequestException) => any;
182
- }
183
159
  /**
184
160
  * <p>A resource already has that name.</p>
185
161
  */
@@ -188,12 +164,6 @@ export interface ResourceConflictException extends __SmithyException, $MetadataB
188
164
  $fault: "client";
189
165
  Message?: string;
190
166
  }
191
- export declare namespace ResourceConflictException {
192
- /**
193
- * @internal
194
- */
195
- const filterSensitiveLog: (obj: ResourceConflictException) => any;
196
- }
197
167
  /**
198
168
  * <p>The specified resource was not found.</p>
199
169
  */
@@ -205,12 +175,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
205
175
  */
206
176
  Message?: string;
207
177
  }
208
- export declare namespace ResourceNotFoundException {
209
- /**
210
- * @internal
211
- */
212
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
213
- }
214
178
  /**
215
179
  * <p>The service quota has been exceeded.</p>
216
180
  */
@@ -219,12 +183,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
219
183
  $fault: "client";
220
184
  Message?: string;
221
185
  }
222
- export declare namespace ServiceQuotaExceededException {
223
- /**
224
- * @internal
225
- */
226
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
227
- }
228
186
  /**
229
187
  * <p>The throttling limit has been exceeded.</p>
230
188
  */
@@ -233,12 +191,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
233
191
  $fault: "client";
234
192
  Message?: string;
235
193
  }
236
- export declare namespace ThrottlingException {
237
- /**
238
- * @internal
239
- */
240
- const filterSensitiveLog: (obj: ThrottlingException) => any;
241
- }
242
194
  /**
243
195
  * <p>Configuration information of an Amazon Lex bot.</p>
244
196
  */
@@ -304,12 +256,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
304
256
  */
305
257
  Message?: string;
306
258
  }
307
- export declare namespace LimitExceededException {
308
- /**
309
- * @internal
310
- */
311
- const filterSensitiveLog: (obj: LimitExceededException) => any;
312
- }
313
259
  export declare enum InstanceStorageResourceType {
314
260
  AGENT_EVENTS = "AGENT_EVENTS",
315
261
  CALL_RECORDINGS = "CALL_RECORDINGS",
@@ -707,12 +653,6 @@ export interface DuplicateResourceException extends __SmithyException, $Metadata
707
653
  $fault: "client";
708
654
  Message?: string;
709
655
  }
710
- export declare namespace DuplicateResourceException {
711
- /**
712
- * @internal
713
- */
714
- const filterSensitiveLog: (obj: DuplicateResourceException) => any;
715
- }
716
656
  export declare enum ContactFlowType {
717
657
  AGENT_HOLD = "AGENT_HOLD",
718
658
  AGENT_TRANSFER = "AGENT_TRANSFER",
@@ -801,12 +741,6 @@ export interface InvalidContactFlowException extends __SmithyException, $Metadat
801
741
  */
802
742
  problems?: ProblemDetail[];
803
743
  }
804
- export declare namespace InvalidContactFlowException {
805
- /**
806
- * @internal
807
- */
808
- const filterSensitiveLog: (obj: InvalidContactFlowException) => any;
809
- }
810
744
  export interface CreateContactFlowModuleRequest {
811
745
  /**
812
746
  * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
@@ -866,12 +800,6 @@ export interface IdempotencyException extends __SmithyException, $MetadataBearer
866
800
  $fault: "client";
867
801
  Message?: string;
868
802
  }
869
- export declare namespace IdempotencyException {
870
- /**
871
- * @internal
872
- */
873
- const filterSensitiveLog: (obj: IdempotencyException) => any;
874
- }
875
803
  /**
876
804
  * <p>The problems with the module. Please fix before trying again.</p>
877
805
  */
@@ -880,12 +808,6 @@ export interface InvalidContactFlowModuleException extends __SmithyException, $M
880
808
  $fault: "client";
881
809
  Problems?: ProblemDetail[];
882
810
  }
883
- export declare namespace InvalidContactFlowModuleException {
884
- /**
885
- * @internal
886
- */
887
- const filterSensitiveLog: (obj: InvalidContactFlowModuleException) => any;
888
- }
889
811
  export declare enum HoursOfOperationDays {
890
812
  FRIDAY = "FRIDAY",
891
813
  MONDAY = "MONDAY",
@@ -1639,6 +1561,12 @@ export interface CreateUserHierarchyGroupRequest {
1639
1561
  * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
1640
1562
  */
1641
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
+ };
1642
1570
  }
1643
1571
  export declare namespace CreateUserHierarchyGroupRequest {
1644
1572
  /**
@@ -1803,12 +1731,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
1803
1731
  */
1804
1732
  ResourceId?: string;
1805
1733
  }
1806
- export declare namespace ResourceInUseException {
1807
- /**
1808
- * @internal
1809
- */
1810
- const filterSensitiveLog: (obj: ResourceInUseException) => any;
1811
- }
1812
1734
  export interface DeleteUseCaseRequest {
1813
1735
  /**
1814
1736
  * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
@@ -2022,12 +1944,6 @@ export interface ContactFlowNotPublishedException extends __SmithyException, $Me
2022
1944
  $fault: "client";
2023
1945
  Message?: string;
2024
1946
  }
2025
- export declare namespace ContactFlowNotPublishedException {
2026
- /**
2027
- * @internal
2028
- */
2029
- const filterSensitiveLog: (obj: ContactFlowNotPublishedException) => any;
2030
- }
2031
1947
  export interface DescribeContactFlowRequest {
2032
1948
  /**
2033
1949
  * <p>The identifier of the Amazon Connect instance.</p>
@@ -2904,6 +2820,12 @@ export interface HierarchyGroup {
2904
2820
  * <p>Information about the levels in the hierarchy group.</p>
2905
2821
  */
2906
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
+ };
2907
2829
  }
2908
2830
  export declare namespace HierarchyGroup {
2909
2831
  /**
@@ -3224,8 +3146,8 @@ export declare namespace CurrentMetric {
3224
3146
  */
3225
3147
  export interface Filters {
3226
3148
  /**
3227
- * <p>The queues to use to filter the metrics. You can specify up to 100 queues per
3228
- * 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>
3229
3151
  */
3230
3152
  Queues?: string[];
3231
3153
  /**
@@ -3537,12 +3459,6 @@ export interface UserNotFoundException extends __SmithyException, $MetadataBeare
3537
3459
  $fault: "client";
3538
3460
  Message?: string;
3539
3461
  }
3540
- export declare namespace UserNotFoundException {
3541
- /**
3542
- * @internal
3543
- */
3544
- const filterSensitiveLog: (obj: UserNotFoundException) => any;
3545
- }
3546
3462
  export declare enum HistoricalMetricName {
3547
3463
  ABANDON_TIME = "ABANDON_TIME",
3548
3464
  AFTER_CONTACT_WORK_TIME = "AFTER_CONTACT_WORK_TIME",
@@ -5979,12 +5895,6 @@ export interface DestinationNotAllowedException extends __SmithyException, $Meta
5979
5895
  */
5980
5896
  Message?: string;
5981
5897
  }
5982
- export declare namespace DestinationNotAllowedException {
5983
- /**
5984
- * @internal
5985
- */
5986
- const filterSensitiveLog: (obj: DestinationNotAllowedException) => any;
5987
- }
5988
5898
  /**
5989
5899
  * <p>The contact is not permitted.</p>
5990
5900
  */
@@ -5996,12 +5906,6 @@ export interface OutboundContactNotPermittedException extends __SmithyException,
5996
5906
  */
5997
5907
  Message?: string;
5998
5908
  }
5999
- export declare namespace OutboundContactNotPermittedException {
6000
- /**
6001
- * @internal
6002
- */
6003
- const filterSensitiveLog: (obj: OutboundContactNotPermittedException) => any;
6004
- }
6005
5909
  /**
6006
5910
  * <p>Configuration of the answering machine detection.</p>
6007
5911
  */
@@ -6211,12 +6115,6 @@ export interface ContactNotFoundException extends __SmithyException, $MetadataBe
6211
6115
  */
6212
6116
  Message?: string;
6213
6117
  }
6214
- export declare namespace ContactNotFoundException {
6215
- /**
6216
- * @internal
6217
- */
6218
- const filterSensitiveLog: (obj: ContactNotFoundException) => any;
6219
- }
6220
6118
  export interface StopContactRequest {
6221
6119
  /**
6222
6120
  * <p>The ID of the contact.</p>
@@ -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;
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { ConnectClientConfig } from "./ConnectClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { ConnectClientConfig } from "./ConnectClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateApprovedOriginCommandInput, AssociateApprovedOriginCommandOutput } from "./commands/AssociateApprovedOriginCommand";
10
10
  import { AssociateBotCommandInput, AssociateBotCommandOutput } from "./commands/AssociateBotCommand";
@@ -179,6 +179,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
179
179
  regionInfoProvider?: RegionInfoProvider;
180
180
 
181
181
  defaultUserAgentProvider?: Provider<__UserAgent>;
182
+
183
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
182
184
  }
183
185
  declare type ConnectClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
184
186