@aws-sdk/client-redshift-data 3.43.0 → 3.47.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.
@@ -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 { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
10
10
  import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
@@ -118,6 +118,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
118
118
  * @internal
119
119
  */
120
120
  defaultUserAgentProvider?: Provider<__UserAgent>;
121
+ /**
122
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
123
+ */
124
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
121
125
  }
122
126
  declare type RedshiftDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
123
127
  /**
@@ -13,13 +13,13 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
13
13
  * method, use one of the following combinations of request parameters: </p>
14
14
  * <ul>
15
15
  * <li>
16
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
17
- * cluster identifier that matches the cluster in the secret. </p>
16
+ * <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
17
+ * When connecting to a serverless endpoint, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
18
18
  * </li>
19
19
  * <li>
20
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
21
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
22
- * operation is required to use this method. </p>
20
+ * <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
21
+ * Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
22
+ * When connecting to a serverless endpoint, specify the database name. </p>
23
23
  * </li>
24
24
  * </ul>
25
25
  * @example
@@ -14,13 +14,13 @@ export interface DescribeTableCommandOutput extends DescribeTableResponse, __Met
14
14
  * following combinations of request parameters: </p>
15
15
  * <ul>
16
16
  * <li>
17
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
18
- * cluster identifier that matches the cluster in the secret. </p>
17
+ * <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
18
+ * When connecting to a serverless endpoint, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
19
19
  * </li>
20
20
  * <li>
21
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the database
22
- * user name. Permission to call the <code>redshift:GetClusterCredentials</code> operation is
23
- * required to use this method. </p>
21
+ * <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
22
+ * Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
23
+ * When connecting to a serverless endpoint, specify the database name. </p>
24
24
  * </li>
25
25
  * </ul>
26
26
  * @example
@@ -13,13 +13,13 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, _
13
13
  * method, use one of the following combinations of request parameters: </p>
14
14
  * <ul>
15
15
  * <li>
16
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
17
- * cluster identifier that matches the cluster in the secret. </p>
16
+ * <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
17
+ * When connecting to a serverless endpoint, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
18
18
  * </li>
19
19
  * <li>
20
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
21
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
22
- * operation is required to use this method. </p>
20
+ * <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
21
+ * Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
22
+ * When connecting to a serverless endpoint, specify the database name. </p>
23
23
  * </li>
24
24
  * </ul>
25
25
  * @example
@@ -13,13 +13,13 @@ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __Met
13
13
  * following combinations of request parameters: </p>
14
14
  * <ul>
15
15
  * <li>
16
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
17
- * cluster identifier that matches the cluster in the secret. </p>
16
+ * <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
17
+ * When connecting to a serverless endpoint, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
18
18
  * </li>
19
19
  * <li>
20
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
21
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
22
- * operation is required to use this method. </p>
20
+ * <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
21
+ * Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
22
+ * When connecting to a serverless endpoint, specify the database name. </p>
23
23
  * </li>
24
24
  * </ul>
25
25
  * @example
@@ -13,13 +13,13 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
13
13
  * following combinations of request parameters: </p>
14
14
  * <ul>
15
15
  * <li>
16
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
17
- * cluster identifier that matches the cluster in the secret. </p>
16
+ * <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
17
+ * When connecting to a serverless endpoint, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
18
18
  * </li>
19
19
  * <li>
20
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
21
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
22
- * operation is required to use this method. </p>
20
+ * <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
21
+ * Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
22
+ * When connecting to a serverless endpoint, specify the database name. </p>
23
23
  * </li>
24
24
  * </ul>
25
25
  * @example
@@ -14,13 +14,13 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
14
14
  * following combinations of request parameters: </p>
15
15
  * <ul>
16
16
  * <li>
17
- * <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
18
- * cluster identifier that matches the cluster in the secret. </p>
17
+ * <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
18
+ * When connecting to a serverless endpoint, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
19
19
  * </li>
20
20
  * <li>
21
- * <p>Temporary credentials - specify the cluster identifier, the database name, and the
22
- * database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
23
- * operation is required to use this method. </p>
21
+ * <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
22
+ * Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
23
+ * When connecting to a serverless endpoint, specify the database name. </p>
24
24
  * </li>
25
25
  * </ul>
26
26
  * @example
@@ -7,12 +7,6 @@ export interface ActiveStatementsExceededException extends __SmithyException, $M
7
7
  $fault: "client";
8
8
  Message?: string;
9
9
  }
10
- export declare namespace ActiveStatementsExceededException {
11
- /**
12
- * @internal
13
- */
14
- const filterSensitiveLog: (obj: ActiveStatementsExceededException) => any;
15
- }
16
10
  /**
17
11
  * <p>An SQL statement encountered an environmental error while running.</p>
18
12
  */
@@ -25,27 +19,21 @@ export interface BatchExecuteStatementException extends __SmithyException, $Meta
25
19
  */
26
20
  StatementId: string | undefined;
27
21
  }
28
- export declare namespace BatchExecuteStatementException {
29
- /**
30
- * @internal
31
- */
32
- const filterSensitiveLog: (obj: BatchExecuteStatementException) => any;
33
- }
34
22
  export interface BatchExecuteStatementInput {
35
23
  /**
36
24
  * <p>One or more SQL statements to run. </p>
37
25
  */
38
26
  Sqls: string[] | undefined;
39
27
  /**
40
- * <p>The cluster identifier. This parameter is required when authenticating using either Secrets Manager or temporary credentials. </p>
28
+ * <p>The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. </p>
41
29
  */
42
- ClusterIdentifier: string | undefined;
30
+ ClusterIdentifier?: string;
43
31
  /**
44
32
  * <p>The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. </p>
45
33
  */
46
34
  SecretArn?: string;
47
35
  /**
48
- * <p>The database user name. This parameter is required when authenticating using temporary credentials. </p>
36
+ * <p>The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials. </p>
49
37
  */
50
38
  DbUser?: string;
51
39
  /**
@@ -78,7 +66,7 @@ export interface BatchExecuteStatementOutput {
78
66
  */
79
67
  CreatedAt?: Date;
80
68
  /**
81
- * <p>The cluster identifier. </p>
69
+ * <p>The cluster identifier. This parameter is not returned when connecting to a serverless endpoint. </p>
82
70
  */
83
71
  ClusterIdentifier?: string;
84
72
  /**
@@ -111,12 +99,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
111
99
  */
112
100
  Message?: string;
113
101
  }
114
- export declare namespace ValidationException {
115
- /**
116
- * @internal
117
- */
118
- const filterSensitiveLog: (obj: ValidationException) => any;
119
- }
120
102
  export interface CancelStatementRequest {
121
103
  /**
122
104
  * <p>The identifier of the SQL statement to cancel. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
@@ -142,6 +124,14 @@ export declare namespace CancelStatementResponse {
142
124
  */
143
125
  const filterSensitiveLog: (obj: CancelStatementResponse) => any;
144
126
  }
127
+ /**
128
+ * <p>Connection to a database failed.</p>
129
+ */
130
+ export interface DatabaseConnectionException extends __SmithyException, $MetadataBearer {
131
+ name: "DatabaseConnectionException";
132
+ $fault: "server";
133
+ Message: string | undefined;
134
+ }
145
135
  /**
146
136
  * <p>The Amazon Redshift Data API operation failed due to invalid input. </p>
147
137
  */
@@ -153,12 +143,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
153
143
  */
154
144
  Message: string | undefined;
155
145
  }
156
- export declare namespace InternalServerException {
157
- /**
158
- * @internal
159
- */
160
- const filterSensitiveLog: (obj: InternalServerException) => any;
161
- }
162
146
  /**
163
147
  * <p>The Amazon Redshift Data API operation failed due to a missing resource. </p>
164
148
  */
@@ -174,12 +158,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
174
158
  */
175
159
  ResourceId: string | undefined;
176
160
  }
177
- export declare namespace ResourceNotFoundException {
178
- /**
179
- * @internal
180
- */
181
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
182
- }
183
161
  /**
184
162
  * <p>The properties (metadata) of a column. </p>
185
163
  */
@@ -348,7 +326,7 @@ export interface SubStatementData {
348
326
  */
349
327
  RedshiftQueryId?: number;
350
328
  /**
351
- * <p>A value that indicates whether the statement has a result set. The result set can be empty.</p>
329
+ * <p>A value that indicates whether the statement has a result set. The result set can be empty. The value is true for an empty result set.</p>
352
330
  */
353
331
  HasResultSet?: boolean;
354
332
  }
@@ -428,7 +406,8 @@ export interface DescribeStatementResponse {
428
406
  */
429
407
  RedshiftPid?: number;
430
408
  /**
431
- * <p>A value that indicates whether the statement has a result set. The result set can be empty. </p>
409
+ * <p>A value that indicates whether the statement has a result set. The result set can be empty. The value is true for an empty result set.
410
+ * The value is true if any substatement returns a result set.</p>
432
411
  */
433
412
  HasResultSet?: boolean;
434
413
  /**
@@ -467,15 +446,15 @@ export declare namespace DescribeStatementResponse {
467
446
  }
468
447
  export interface DescribeTableRequest {
469
448
  /**
470
- * <p>The cluster identifier. This parameter is required when authenticating using either Secrets Manager or temporary credentials. </p>
449
+ * <p>The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. </p>
471
450
  */
472
- ClusterIdentifier: string | undefined;
451
+ ClusterIdentifier?: string;
473
452
  /**
474
453
  * <p>The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. </p>
475
454
  */
476
455
  SecretArn?: string;
477
456
  /**
478
- * <p>The database user name. This parameter is required when authenticating using temporary credentials. </p>
457
+ * <p>The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials. </p>
479
458
  */
480
459
  DbUser?: string;
481
460
  /**
@@ -547,27 +526,21 @@ export interface ExecuteStatementException extends __SmithyException, $MetadataB
547
526
  */
548
527
  StatementId: string | undefined;
549
528
  }
550
- export declare namespace ExecuteStatementException {
551
- /**
552
- * @internal
553
- */
554
- const filterSensitiveLog: (obj: ExecuteStatementException) => any;
555
- }
556
529
  export interface ExecuteStatementInput {
557
530
  /**
558
531
  * <p>The SQL statement text to run. </p>
559
532
  */
560
533
  Sql: string | undefined;
561
534
  /**
562
- * <p>The cluster identifier. This parameter is required when authenticating using either Secrets Manager or temporary credentials. </p>
535
+ * <p>The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. </p>
563
536
  */
564
- ClusterIdentifier: string | undefined;
537
+ ClusterIdentifier?: string;
565
538
  /**
566
539
  * <p>The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. </p>
567
540
  */
568
541
  SecretArn?: string;
569
542
  /**
570
- * <p>The database user name. This parameter is required when authenticating using temporary credentials. </p>
543
+ * <p>The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials. </p>
571
544
  */
572
545
  DbUser?: string;
573
546
  /**
@@ -603,7 +576,7 @@ export interface ExecuteStatementOutput {
603
576
  */
604
577
  CreatedAt?: Date;
605
578
  /**
606
- * <p>The cluster identifier. </p>
579
+ * <p>The cluster identifier. This parameter is not returned when connecting to a serverless endpoint. </p>
607
580
  */
608
581
  ClusterIdentifier?: string;
609
582
  /**
@@ -772,9 +745,9 @@ export declare namespace GetStatementResultResponse {
772
745
  }
773
746
  export interface ListDatabasesRequest {
774
747
  /**
775
- * <p>The cluster identifier. This parameter is required when authenticating using either Secrets Manager or temporary credentials. </p>
748
+ * <p>The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. </p>
776
749
  */
777
- ClusterIdentifier: string | undefined;
750
+ ClusterIdentifier?: string;
778
751
  /**
779
752
  * <p>The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials. </p>
780
753
  */
@@ -784,7 +757,7 @@ export interface ListDatabasesRequest {
784
757
  */
785
758
  SecretArn?: string;
786
759
  /**
787
- * <p>The database user name. This parameter is required when authenticating using temporary credentials. </p>
760
+ * <p>The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials. </p>
788
761
  */
789
762
  DbUser?: string;
790
763
  /**
@@ -821,15 +794,15 @@ export declare namespace ListDatabasesResponse {
821
794
  }
822
795
  export interface ListSchemasRequest {
823
796
  /**
824
- * <p>The cluster identifier. This parameter is required when authenticating using either Secrets Manager or temporary credentials. </p>
797
+ * <p>The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. </p>
825
798
  */
826
- ClusterIdentifier: string | undefined;
799
+ ClusterIdentifier?: string;
827
800
  /**
828
801
  * <p>The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. </p>
829
802
  */
830
803
  SecretArn?: string;
831
804
  /**
832
- * <p>The database user name. This parameter is required when authenticating using temporary credentials. </p>
805
+ * <p>The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials. </p>
833
806
  */
834
807
  DbUser?: string;
835
808
  /**
@@ -1006,15 +979,15 @@ export declare namespace ListStatementsResponse {
1006
979
  }
1007
980
  export interface ListTablesRequest {
1008
981
  /**
1009
- * <p>The cluster identifier. This parameter is required when authenticating using either Secrets Manager or temporary credentials. </p>
982
+ * <p>The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. </p>
1010
983
  */
1011
- ClusterIdentifier: string | undefined;
984
+ ClusterIdentifier?: string;
1012
985
  /**
1013
986
  * <p>The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager. </p>
1014
987
  */
1015
988
  SecretArn?: string;
1016
989
  /**
1017
- * <p>The database user name. This parameter is required when authenticating using temporary credentials. </p>
990
+ * <p>The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials. </p>
1018
991
  */
1019
992
  DbUser?: string;
1020
993
  /**
@@ -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 { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
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: RedshiftDataClientConfig) => {
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 { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
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: RedshiftDataClientConfig) => {
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 { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
10
10
  import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
@@ -61,6 +61,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
61
61
  regionInfoProvider?: RegionInfoProvider;
62
62
 
63
63
  defaultUserAgentProvider?: Provider<__UserAgent>;
64
+
65
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
64
66
  }
65
67
  declare type RedshiftDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
66
68
 
@@ -5,10 +5,6 @@ export interface ActiveStatementsExceededException extends __SmithyException, $M
5
5
  $fault: "client";
6
6
  Message?: string;
7
7
  }
8
- export declare namespace ActiveStatementsExceededException {
9
-
10
- const filterSensitiveLog: (obj: ActiveStatementsExceededException) => any;
11
- }
12
8
 
13
9
  export interface BatchExecuteStatementException extends __SmithyException, $MetadataBearer {
14
10
  name: "BatchExecuteStatementException";
@@ -17,15 +13,11 @@ export interface BatchExecuteStatementException extends __SmithyException, $Meta
17
13
 
18
14
  StatementId: string | undefined;
19
15
  }
20
- export declare namespace BatchExecuteStatementException {
21
-
22
- const filterSensitiveLog: (obj: BatchExecuteStatementException) => any;
23
- }
24
16
  export interface BatchExecuteStatementInput {
25
17
 
26
18
  Sqls: string[] | undefined;
27
19
 
28
- ClusterIdentifier: string | undefined;
20
+ ClusterIdentifier?: string;
29
21
 
30
22
  SecretArn?: string;
31
23
 
@@ -66,10 +58,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
66
58
 
67
59
  Message?: string;
68
60
  }
69
- export declare namespace ValidationException {
70
-
71
- const filterSensitiveLog: (obj: ValidationException) => any;
72
- }
73
61
  export interface CancelStatementRequest {
74
62
 
75
63
  Id: string | undefined;
@@ -87,16 +75,18 @@ export declare namespace CancelStatementResponse {
87
75
  const filterSensitiveLog: (obj: CancelStatementResponse) => any;
88
76
  }
89
77
 
78
+ export interface DatabaseConnectionException extends __SmithyException, $MetadataBearer {
79
+ name: "DatabaseConnectionException";
80
+ $fault: "server";
81
+ Message: string | undefined;
82
+ }
83
+
90
84
  export interface InternalServerException extends __SmithyException, $MetadataBearer {
91
85
  name: "InternalServerException";
92
86
  $fault: "server";
93
87
 
94
88
  Message: string | undefined;
95
89
  }
96
- export declare namespace InternalServerException {
97
-
98
- const filterSensitiveLog: (obj: InternalServerException) => any;
99
- }
100
90
 
101
91
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
102
92
  name: "ResourceNotFoundException";
@@ -106,10 +96,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
106
96
 
107
97
  ResourceId: string | undefined;
108
98
  }
109
- export declare namespace ResourceNotFoundException {
110
-
111
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
112
- }
113
99
 
114
100
  export interface ColumnMetadata {
115
101
 
@@ -252,7 +238,7 @@ export declare namespace DescribeStatementResponse {
252
238
  }
253
239
  export interface DescribeTableRequest {
254
240
 
255
- ClusterIdentifier: string | undefined;
241
+ ClusterIdentifier?: string;
256
242
 
257
243
  SecretArn?: string;
258
244
 
@@ -295,15 +281,11 @@ export interface ExecuteStatementException extends __SmithyException, $MetadataB
295
281
 
296
282
  StatementId: string | undefined;
297
283
  }
298
- export declare namespace ExecuteStatementException {
299
-
300
- const filterSensitiveLog: (obj: ExecuteStatementException) => any;
301
- }
302
284
  export interface ExecuteStatementInput {
303
285
 
304
286
  Sql: string | undefined;
305
287
 
306
- ClusterIdentifier: string | undefined;
288
+ ClusterIdentifier?: string;
307
289
 
308
290
  SecretArn?: string;
309
291
 
@@ -453,7 +435,7 @@ export declare namespace GetStatementResultResponse {
453
435
  }
454
436
  export interface ListDatabasesRequest {
455
437
 
456
- ClusterIdentifier: string | undefined;
438
+ ClusterIdentifier?: string;
457
439
 
458
440
  Database: string | undefined;
459
441
 
@@ -481,7 +463,7 @@ export declare namespace ListDatabasesResponse {
481
463
  }
482
464
  export interface ListSchemasRequest {
483
465
 
484
- ClusterIdentifier: string | undefined;
466
+ ClusterIdentifier?: string;
485
467
 
486
468
  SecretArn?: string;
487
469
 
@@ -566,7 +548,7 @@ export declare namespace ListStatementsResponse {
566
548
  }
567
549
  export interface ListTablesRequest {
568
550
 
569
- ClusterIdentifier: string | undefined;
551
+ ClusterIdentifier?: string;
570
552
 
571
553
  SecretArn?: string;
572
554
 
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ 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>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;