@aws-sdk/client-redshift-data 3.50.0 → 3.53.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/RedshiftDataServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +103 -1
  5. package/dist-cjs/protocols/Aws_json1_1.js +115 -326
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/RedshiftDataServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +96 -1
  9. package/dist-es/protocols/Aws_json1_1.js +226 -353
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/RedshiftDataServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +51 -22
  13. package/dist-types/ts3.4/RedshiftData.d.ts +55 -0
  14. package/dist-types/ts3.4/RedshiftDataClient.d.ts +83 -0
  15. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  26. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  27. package/dist-types/ts3.4/index.d.ts +6 -0
  28. package/dist-types/ts3.4/models/RedshiftDataServiceException.d.ts +6 -0
  29. package/dist-types/ts3.4/models/index.d.ts +1 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +610 -0
  31. package/dist-types/ts3.4/pagination/DescribeTablePaginator.d.ts +4 -0
  32. package/dist-types/ts3.4/pagination/GetStatementResultPaginator.d.ts +4 -0
  33. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  34. package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +4 -0
  35. package/dist-types/ts3.4/pagination/ListSchemasPaginator.d.ts +4 -0
  36. package/dist-types/ts3.4/pagination/ListStatementsPaginator.d.ts +4 -0
  37. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +4 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  39. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +32 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  44. package/package.json +33 -33
@@ -3,3 +3,4 @@ export * from "./RedshiftDataClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { RedshiftDataServiceException } from "./models/RedshiftDataServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from RedshiftData service.
4
+ */
5
+ export declare class RedshiftDataServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,23 +1,32 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { RedshiftDataServiceException as __BaseException } from "./RedshiftDataServiceException";
2
3
  /**
3
4
  * <p>The number of active statements exceeds the limit.</p>
4
5
  */
5
- export interface ActiveStatementsExceededException extends __SmithyException, $MetadataBearer {
6
- name: "ActiveStatementsExceededException";
7
- $fault: "client";
6
+ export declare class ActiveStatementsExceededException extends __BaseException {
7
+ readonly name: "ActiveStatementsExceededException";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ActiveStatementsExceededException, __BaseException>);
9
14
  }
10
15
  /**
11
16
  * <p>An SQL statement encountered an environmental error while running.</p>
12
17
  */
13
- export interface BatchExecuteStatementException extends __SmithyException, $MetadataBearer {
14
- name: "BatchExecuteStatementException";
15
- $fault: "server";
18
+ export declare class BatchExecuteStatementException extends __BaseException {
19
+ readonly name: "BatchExecuteStatementException";
20
+ readonly $fault: "server";
16
21
  Message: string | undefined;
17
22
  /**
18
23
  * <p>Statement identifier of the exception.</p>
19
24
  */
20
25
  StatementId: string | undefined;
26
+ /**
27
+ * @internal
28
+ */
29
+ constructor(opts: __ExceptionOptionType<BatchExecuteStatementException, __BaseException>);
21
30
  }
22
31
  export interface BatchExecuteStatementInput {
23
32
  /**
@@ -91,13 +100,17 @@ export declare namespace BatchExecuteStatementOutput {
91
100
  /**
92
101
  * <p>The Amazon Redshift Data API operation failed due to invalid input. </p>
93
102
  */
94
- export interface ValidationException extends __SmithyException, $MetadataBearer {
95
- name: "ValidationException";
96
- $fault: "client";
103
+ export declare class ValidationException extends __BaseException {
104
+ readonly name: "ValidationException";
105
+ readonly $fault: "client";
97
106
  /**
98
107
  * <p>The exception message.</p>
99
108
  */
100
109
  Message?: string;
110
+ /**
111
+ * @internal
112
+ */
113
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
101
114
  }
102
115
  export interface CancelStatementRequest {
103
116
  /**
@@ -127,28 +140,36 @@ export declare namespace CancelStatementResponse {
127
140
  /**
128
141
  * <p>Connection to a database failed.</p>
129
142
  */
130
- export interface DatabaseConnectionException extends __SmithyException, $MetadataBearer {
131
- name: "DatabaseConnectionException";
132
- $fault: "server";
143
+ export declare class DatabaseConnectionException extends __BaseException {
144
+ readonly name: "DatabaseConnectionException";
145
+ readonly $fault: "server";
133
146
  Message: string | undefined;
147
+ /**
148
+ * @internal
149
+ */
150
+ constructor(opts: __ExceptionOptionType<DatabaseConnectionException, __BaseException>);
134
151
  }
135
152
  /**
136
153
  * <p>The Amazon Redshift Data API operation failed due to invalid input. </p>
137
154
  */
138
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
139
- name: "InternalServerException";
140
- $fault: "server";
155
+ export declare class InternalServerException extends __BaseException {
156
+ readonly name: "InternalServerException";
157
+ readonly $fault: "server";
141
158
  /**
142
159
  * <p>The exception message.</p>
143
160
  */
144
161
  Message: string | undefined;
162
+ /**
163
+ * @internal
164
+ */
165
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
145
166
  }
146
167
  /**
147
168
  * <p>The Amazon Redshift Data API operation failed due to a missing resource. </p>
148
169
  */
149
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
150
- name: "ResourceNotFoundException";
151
- $fault: "client";
170
+ export declare class ResourceNotFoundException extends __BaseException {
171
+ readonly name: "ResourceNotFoundException";
172
+ readonly $fault: "client";
152
173
  /**
153
174
  * <p>The exception message.</p>
154
175
  */
@@ -157,6 +178,10 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
157
178
  * <p>Resource identifier associated with the exception.</p>
158
179
  */
159
180
  ResourceId: string | undefined;
181
+ /**
182
+ * @internal
183
+ */
184
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
160
185
  }
161
186
  /**
162
187
  * <p>The properties (metadata) of a column. </p>
@@ -514,9 +539,9 @@ export declare namespace DescribeTableResponse {
514
539
  /**
515
540
  * <p>The SQL statement encountered an environmental error while running.</p>
516
541
  */
517
- export interface ExecuteStatementException extends __SmithyException, $MetadataBearer {
518
- name: "ExecuteStatementException";
519
- $fault: "server";
542
+ export declare class ExecuteStatementException extends __BaseException {
543
+ readonly name: "ExecuteStatementException";
544
+ readonly $fault: "server";
520
545
  /**
521
546
  * <p>The exception message.</p>
522
547
  */
@@ -525,6 +550,10 @@ export interface ExecuteStatementException extends __SmithyException, $MetadataB
525
550
  * <p>Statement identifier of the exception.</p>
526
551
  */
527
552
  StatementId: string | undefined;
553
+ /**
554
+ * @internal
555
+ */
556
+ constructor(opts: __ExceptionOptionType<ExecuteStatementException, __BaseException>);
528
557
  }
529
558
  export interface ExecuteStatementInput {
530
559
  /**
@@ -0,0 +1,55 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
3
+ import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
4
+ import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
5
+ import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
6
+ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
7
+ import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "./commands/GetStatementResultCommand";
8
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
9
+ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
10
+ import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
11
+ import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
12
+ import { RedshiftDataClient } from "./RedshiftDataClient";
13
+
14
+ export declare class RedshiftData extends RedshiftDataClient {
15
+
16
+ batchExecuteStatement(args: BatchExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<BatchExecuteStatementCommandOutput>;
17
+ batchExecuteStatement(args: BatchExecuteStatementCommandInput, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
18
+ batchExecuteStatement(args: BatchExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
19
+
20
+ cancelStatement(args: CancelStatementCommandInput, options?: __HttpHandlerOptions): Promise<CancelStatementCommandOutput>;
21
+ cancelStatement(args: CancelStatementCommandInput, cb: (err: any, data?: CancelStatementCommandOutput) => void): void;
22
+ cancelStatement(args: CancelStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelStatementCommandOutput) => void): void;
23
+
24
+ describeStatement(args: DescribeStatementCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStatementCommandOutput>;
25
+ describeStatement(args: DescribeStatementCommandInput, cb: (err: any, data?: DescribeStatementCommandOutput) => void): void;
26
+ describeStatement(args: DescribeStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStatementCommandOutput) => void): void;
27
+
28
+ describeTable(args: DescribeTableCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTableCommandOutput>;
29
+ describeTable(args: DescribeTableCommandInput, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
30
+ describeTable(args: DescribeTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
31
+
32
+ executeStatement(args: ExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteStatementCommandOutput>;
33
+ executeStatement(args: ExecuteStatementCommandInput, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
34
+ executeStatement(args: ExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
35
+
36
+ getStatementResult(args: GetStatementResultCommandInput, options?: __HttpHandlerOptions): Promise<GetStatementResultCommandOutput>;
37
+ getStatementResult(args: GetStatementResultCommandInput, cb: (err: any, data?: GetStatementResultCommandOutput) => void): void;
38
+ getStatementResult(args: GetStatementResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStatementResultCommandOutput) => void): void;
39
+
40
+ listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
41
+ listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
42
+ listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
43
+
44
+ listSchemas(args: ListSchemasCommandInput, options?: __HttpHandlerOptions): Promise<ListSchemasCommandOutput>;
45
+ listSchemas(args: ListSchemasCommandInput, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
46
+ listSchemas(args: ListSchemasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
47
+
48
+ listStatements(args: ListStatementsCommandInput, options?: __HttpHandlerOptions): Promise<ListStatementsCommandOutput>;
49
+ listStatements(args: ListStatementsCommandInput, cb: (err: any, data?: ListStatementsCommandOutput) => void): void;
50
+ listStatements(args: ListStatementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStatementsCommandOutput) => void): void;
51
+
52
+ listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
53
+ listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
54
+ listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
55
+ }
@@ -0,0 +1,83 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
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
+ import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
10
+ import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
11
+ import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
12
+ import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
13
+ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
14
+ import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "./commands/GetStatementResultCommand";
15
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
16
+ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
17
+ import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
18
+ import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
19
+ export declare type ServiceInputTypes = BatchExecuteStatementCommandInput | CancelStatementCommandInput | DescribeStatementCommandInput | DescribeTableCommandInput | ExecuteStatementCommandInput | GetStatementResultCommandInput | ListDatabasesCommandInput | ListSchemasCommandInput | ListStatementsCommandInput | ListTablesCommandInput;
20
+ export declare type ServiceOutputTypes = BatchExecuteStatementCommandOutput | CancelStatementCommandOutput | DescribeStatementCommandOutput | DescribeTableCommandOutput | ExecuteStatementCommandOutput | GetStatementResultCommandOutput | ListDatabasesCommandOutput | ListSchemasCommandOutput | ListStatementsCommandOutput | ListTablesCommandOutput;
21
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
22
+
23
+ requestHandler?: __HttpHandler;
24
+
25
+ sha256?: __HashConstructor;
26
+
27
+ urlParser?: __UrlParser;
28
+
29
+ bodyLengthChecker?: (body: any) => number | undefined;
30
+
31
+ streamCollector?: __StreamCollector;
32
+
33
+ base64Decoder?: __Decoder;
34
+
35
+ base64Encoder?: __Encoder;
36
+
37
+ utf8Decoder?: __Decoder;
38
+
39
+ utf8Encoder?: __Encoder;
40
+
41
+ runtime?: string;
42
+
43
+ disableHostPrefix?: boolean;
44
+
45
+ maxAttempts?: number | __Provider<number>;
46
+
47
+ retryMode?: string | __Provider<string>;
48
+
49
+ logger?: __Logger;
50
+
51
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
52
+
53
+ useFipsEndpoint?: boolean | __Provider<boolean>;
54
+
55
+ serviceId?: string;
56
+
57
+ region?: string | __Provider<string>;
58
+
59
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
60
+
61
+ regionInfoProvider?: RegionInfoProvider;
62
+
63
+ defaultUserAgentProvider?: Provider<__UserAgent>;
64
+
65
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
66
+ }
67
+ declare type RedshiftDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
68
+
69
+ export interface RedshiftDataClientConfig extends RedshiftDataClientConfigType {
70
+ }
71
+ declare type RedshiftDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
72
+
73
+ export interface RedshiftDataClientResolvedConfig extends RedshiftDataClientResolvedConfigType {
74
+ }
75
+
76
+ export declare class RedshiftDataClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RedshiftDataClientResolvedConfig> {
77
+
78
+ readonly config: RedshiftDataClientResolvedConfig;
79
+ constructor(configuration: RedshiftDataClientConfig);
80
+
81
+ destroy(): void;
82
+ }
83
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
+ export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput {
6
+ }
7
+ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
11
+ readonly input: BatchExecuteStatementCommandInput;
12
+ constructor(input: BatchExecuteStatementCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
+ export interface CancelStatementCommandInput extends CancelStatementRequest {
6
+ }
7
+ export interface CancelStatementCommandOutput extends CancelStatementResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CancelStatementCommand extends $Command<CancelStatementCommandInput, CancelStatementCommandOutput, RedshiftDataClientResolvedConfig> {
11
+ readonly input: CancelStatementCommandInput;
12
+ constructor(input: CancelStatementCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelStatementCommandInput, CancelStatementCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
+ export interface DescribeStatementCommandInput extends DescribeStatementRequest {
6
+ }
7
+ export interface DescribeStatementCommandOutput extends DescribeStatementResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeStatementCommand extends $Command<DescribeStatementCommandInput, DescribeStatementCommandOutput, RedshiftDataClientResolvedConfig> {
11
+ readonly input: DescribeStatementCommandInput;
12
+ constructor(input: DescribeStatementCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeStatementCommandInput, DescribeStatementCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
+ export interface DescribeTableCommandInput extends DescribeTableRequest {
6
+ }
7
+ export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeTableCommand extends $Command<DescribeTableCommandInput, DescribeTableCommandOutput, RedshiftDataClientResolvedConfig> {
11
+ readonly input: DescribeTableCommandInput;
12
+ constructor(input: DescribeTableCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTableCommandInput, DescribeTableCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
+ export interface ExecuteStatementCommandInput extends ExecuteStatementInput {
6
+ }
7
+ export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
11
+ readonly input: ExecuteStatementCommandInput;
12
+ constructor(input: ExecuteStatementCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteStatementCommandInput, ExecuteStatementCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
+ export interface GetStatementResultCommandInput extends GetStatementResultRequest {
6
+ }
7
+ export interface GetStatementResultCommandOutput extends GetStatementResultResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetStatementResultCommand extends $Command<GetStatementResultCommandInput, GetStatementResultCommandOutput, RedshiftDataClientResolvedConfig> {
11
+ readonly input: GetStatementResultCommandInput;
12
+ constructor(input: GetStatementResultCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetStatementResultCommandInput, GetStatementResultCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
+ export interface ListDatabasesCommandInput extends ListDatabasesRequest {
6
+ }
7
+ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListDatabasesCommand extends $Command<ListDatabasesCommandInput, ListDatabasesCommandOutput, RedshiftDataClientResolvedConfig> {
11
+ readonly input: ListDatabasesCommandInput;
12
+ constructor(input: ListDatabasesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatabasesCommandInput, ListDatabasesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
+ export interface ListSchemasCommandInput extends ListSchemasRequest {
6
+ }
7
+ export interface ListSchemasCommandOutput extends ListSchemasResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListSchemasCommand extends $Command<ListSchemasCommandInput, ListSchemasCommandOutput, RedshiftDataClientResolvedConfig> {
11
+ readonly input: ListSchemasCommandInput;
12
+ constructor(input: ListSchemasCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSchemasCommandInput, ListSchemasCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
+ export interface ListStatementsCommandInput extends ListStatementsRequest {
6
+ }
7
+ export interface ListStatementsCommandOutput extends ListStatementsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListStatementsCommand extends $Command<ListStatementsCommandInput, ListStatementsCommandOutput, RedshiftDataClientResolvedConfig> {
11
+ readonly input: ListStatementsCommandInput;
12
+ constructor(input: ListStatementsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStatementsCommandInput, ListStatementsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
4
+ import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
5
+ export interface ListTablesCommandInput extends ListTablesRequest {
6
+ }
7
+ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTablesCommand extends $Command<ListTablesCommandInput, ListTablesCommandOutput, RedshiftDataClientResolvedConfig> {
11
+ readonly input: ListTablesCommandInput;
12
+ constructor(input: ListTablesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTablesCommandInput, ListTablesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,10 @@
1
+ export * from "./BatchExecuteStatementCommand";
2
+ export * from "./CancelStatementCommand";
3
+ export * from "./DescribeStatementCommand";
4
+ export * from "./DescribeTableCommand";
5
+ export * from "./ExecuteStatementCommand";
6
+ export * from "./GetStatementResultCommand";
7
+ export * from "./ListDatabasesCommand";
8
+ export * from "./ListSchemasCommand";
9
+ export * from "./ListStatementsCommand";
10
+ export * from "./ListTablesCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./RedshiftData";
2
+ export * from "./RedshiftDataClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { RedshiftDataServiceException } from "./models/RedshiftDataServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class RedshiftDataServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";