@aws-sdk/client-redshift-data 3.50.0 → 3.51.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 (32) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/RedshiftData.d.ts +55 -0
  3. package/dist-types/ts3.4/RedshiftDataClient.d.ts +83 -0
  4. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +17 -0
  5. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +17 -0
  6. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +17 -0
  7. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +17 -0
  8. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +17 -0
  9. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +17 -0
  10. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +17 -0
  11. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +17 -0
  12. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +17 -0
  13. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +17 -0
  14. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  15. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  16. package/dist-types/ts3.4/index.d.ts +5 -0
  17. package/dist-types/ts3.4/models/index.d.ts +1 -0
  18. package/dist-types/ts3.4/models/models_0.d.ts +595 -0
  19. package/dist-types/ts3.4/pagination/DescribeTablePaginator.d.ts +4 -0
  20. package/dist-types/ts3.4/pagination/GetStatementResultPaginator.d.ts +4 -0
  21. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  22. package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +4 -0
  23. package/dist-types/ts3.4/pagination/ListSchemasPaginator.d.ts +4 -0
  24. package/dist-types/ts3.4/pagination/ListStatementsPaginator.d.ts +4 -0
  25. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +4 -0
  26. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  27. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +32 -0
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  32. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-redshift-data
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-redshift-data
@@ -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,5 @@
1
+ export * from "./RedshiftData";
2
+ export * from "./RedshiftDataClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,595 @@
1
+ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+
3
+ export interface ActiveStatementsExceededException extends __SmithyException, $MetadataBearer {
4
+ name: "ActiveStatementsExceededException";
5
+ $fault: "client";
6
+ Message?: string;
7
+ }
8
+
9
+ export interface BatchExecuteStatementException extends __SmithyException, $MetadataBearer {
10
+ name: "BatchExecuteStatementException";
11
+ $fault: "server";
12
+ Message: string | undefined;
13
+
14
+ StatementId: string | undefined;
15
+ }
16
+ export interface BatchExecuteStatementInput {
17
+
18
+ Sqls: string[] | undefined;
19
+
20
+ ClusterIdentifier?: string;
21
+
22
+ SecretArn?: string;
23
+
24
+ DbUser?: string;
25
+
26
+ Database: string | undefined;
27
+
28
+ WithEvent?: boolean;
29
+
30
+ StatementName?: string;
31
+ }
32
+ export declare namespace BatchExecuteStatementInput {
33
+
34
+ const filterSensitiveLog: (obj: BatchExecuteStatementInput) => any;
35
+ }
36
+ export interface BatchExecuteStatementOutput {
37
+
38
+ Id?: string;
39
+
40
+ CreatedAt?: Date;
41
+
42
+ ClusterIdentifier?: string;
43
+
44
+ DbUser?: string;
45
+
46
+ Database?: string;
47
+
48
+ SecretArn?: string;
49
+ }
50
+ export declare namespace BatchExecuteStatementOutput {
51
+
52
+ const filterSensitiveLog: (obj: BatchExecuteStatementOutput) => any;
53
+ }
54
+
55
+ export interface ValidationException extends __SmithyException, $MetadataBearer {
56
+ name: "ValidationException";
57
+ $fault: "client";
58
+
59
+ Message?: string;
60
+ }
61
+ export interface CancelStatementRequest {
62
+
63
+ Id: string | undefined;
64
+ }
65
+ export declare namespace CancelStatementRequest {
66
+
67
+ const filterSensitiveLog: (obj: CancelStatementRequest) => any;
68
+ }
69
+ export interface CancelStatementResponse {
70
+
71
+ Status?: boolean;
72
+ }
73
+ export declare namespace CancelStatementResponse {
74
+
75
+ const filterSensitiveLog: (obj: CancelStatementResponse) => any;
76
+ }
77
+
78
+ export interface DatabaseConnectionException extends __SmithyException, $MetadataBearer {
79
+ name: "DatabaseConnectionException";
80
+ $fault: "server";
81
+ Message: string | undefined;
82
+ }
83
+
84
+ export interface InternalServerException extends __SmithyException, $MetadataBearer {
85
+ name: "InternalServerException";
86
+ $fault: "server";
87
+
88
+ Message: string | undefined;
89
+ }
90
+
91
+ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
92
+ name: "ResourceNotFoundException";
93
+ $fault: "client";
94
+
95
+ Message: string | undefined;
96
+
97
+ ResourceId: string | undefined;
98
+ }
99
+
100
+ export interface ColumnMetadata {
101
+
102
+ isCaseSensitive?: boolean;
103
+
104
+ isCurrency?: boolean;
105
+
106
+ isSigned?: boolean;
107
+
108
+ label?: string;
109
+
110
+ name?: string;
111
+
112
+ nullable?: number;
113
+
114
+ precision?: number;
115
+
116
+ scale?: number;
117
+
118
+ schemaName?: string;
119
+
120
+ tableName?: string;
121
+
122
+ typeName?: string;
123
+
124
+ length?: number;
125
+
126
+ columnDefault?: string;
127
+ }
128
+ export declare namespace ColumnMetadata {
129
+
130
+ const filterSensitiveLog: (obj: ColumnMetadata) => any;
131
+ }
132
+ export interface DescribeStatementRequest {
133
+
134
+ Id: string | undefined;
135
+ }
136
+ export declare namespace DescribeStatementRequest {
137
+
138
+ const filterSensitiveLog: (obj: DescribeStatementRequest) => any;
139
+ }
140
+
141
+ export interface SqlParameter {
142
+
143
+ name: string | undefined;
144
+
145
+ value: string | undefined;
146
+ }
147
+ export declare namespace SqlParameter {
148
+
149
+ const filterSensitiveLog: (obj: SqlParameter) => any;
150
+ }
151
+ export declare enum StatusString {
152
+ ABORTED = "ABORTED",
153
+ ALL = "ALL",
154
+ FAILED = "FAILED",
155
+ FINISHED = "FINISHED",
156
+ PICKED = "PICKED",
157
+ STARTED = "STARTED",
158
+ SUBMITTED = "SUBMITTED"
159
+ }
160
+ export declare enum StatementStatusString {
161
+ ABORTED = "ABORTED",
162
+ FAILED = "FAILED",
163
+ FINISHED = "FINISHED",
164
+ PICKED = "PICKED",
165
+ STARTED = "STARTED",
166
+ SUBMITTED = "SUBMITTED"
167
+ }
168
+
169
+ export interface SubStatementData {
170
+
171
+ Id: string | undefined;
172
+
173
+ Duration?: number;
174
+
175
+ Error?: string;
176
+
177
+ Status?: StatementStatusString | string;
178
+
179
+ CreatedAt?: Date;
180
+
181
+ UpdatedAt?: Date;
182
+
183
+ QueryString?: string;
184
+
185
+ ResultRows?: number;
186
+
187
+ ResultSize?: number;
188
+
189
+ RedshiftQueryId?: number;
190
+
191
+ HasResultSet?: boolean;
192
+ }
193
+ export declare namespace SubStatementData {
194
+
195
+ const filterSensitiveLog: (obj: SubStatementData) => any;
196
+ }
197
+ export interface DescribeStatementResponse {
198
+
199
+ Id: string | undefined;
200
+
201
+ SecretArn?: string;
202
+
203
+ DbUser?: string;
204
+
205
+ Database?: string;
206
+
207
+ ClusterIdentifier?: string;
208
+
209
+ Duration?: number;
210
+
211
+ Error?: string;
212
+
213
+ Status?: StatusString | string;
214
+
215
+ CreatedAt?: Date;
216
+
217
+ UpdatedAt?: Date;
218
+
219
+ RedshiftPid?: number;
220
+
221
+ HasResultSet?: boolean;
222
+
223
+ QueryString?: string;
224
+
225
+ ResultRows?: number;
226
+
227
+ ResultSize?: number;
228
+
229
+ RedshiftQueryId?: number;
230
+
231
+ QueryParameters?: SqlParameter[];
232
+
233
+ SubStatements?: SubStatementData[];
234
+ }
235
+ export declare namespace DescribeStatementResponse {
236
+
237
+ const filterSensitiveLog: (obj: DescribeStatementResponse) => any;
238
+ }
239
+ export interface DescribeTableRequest {
240
+
241
+ ClusterIdentifier?: string;
242
+
243
+ SecretArn?: string;
244
+
245
+ DbUser?: string;
246
+
247
+ Database: string | undefined;
248
+
249
+ ConnectedDatabase?: string;
250
+
251
+ Schema?: string;
252
+
253
+ Table?: string;
254
+
255
+ NextToken?: string;
256
+
257
+ MaxResults?: number;
258
+ }
259
+ export declare namespace DescribeTableRequest {
260
+
261
+ const filterSensitiveLog: (obj: DescribeTableRequest) => any;
262
+ }
263
+ export interface DescribeTableResponse {
264
+
265
+ TableName?: string;
266
+
267
+ ColumnList?: ColumnMetadata[];
268
+
269
+ NextToken?: string;
270
+ }
271
+ export declare namespace DescribeTableResponse {
272
+
273
+ const filterSensitiveLog: (obj: DescribeTableResponse) => any;
274
+ }
275
+
276
+ export interface ExecuteStatementException extends __SmithyException, $MetadataBearer {
277
+ name: "ExecuteStatementException";
278
+ $fault: "server";
279
+
280
+ Message: string | undefined;
281
+
282
+ StatementId: string | undefined;
283
+ }
284
+ export interface ExecuteStatementInput {
285
+
286
+ Sql: string | undefined;
287
+
288
+ ClusterIdentifier?: string;
289
+
290
+ SecretArn?: string;
291
+
292
+ DbUser?: string;
293
+
294
+ Database: string | undefined;
295
+
296
+ WithEvent?: boolean;
297
+
298
+ StatementName?: string;
299
+
300
+ Parameters?: SqlParameter[];
301
+ }
302
+ export declare namespace ExecuteStatementInput {
303
+
304
+ const filterSensitiveLog: (obj: ExecuteStatementInput) => any;
305
+ }
306
+ export interface ExecuteStatementOutput {
307
+
308
+ Id?: string;
309
+
310
+ CreatedAt?: Date;
311
+
312
+ ClusterIdentifier?: string;
313
+
314
+ DbUser?: string;
315
+
316
+ Database?: string;
317
+
318
+ SecretArn?: string;
319
+ }
320
+ export declare namespace ExecuteStatementOutput {
321
+
322
+ const filterSensitiveLog: (obj: ExecuteStatementOutput) => any;
323
+ }
324
+
325
+ export declare type Field = Field.BlobValueMember | Field.BooleanValueMember | Field.DoubleValueMember | Field.IsNullMember | Field.LongValueMember | Field.StringValueMember | Field.$UnknownMember;
326
+ export declare namespace Field {
327
+
328
+ interface IsNullMember {
329
+ isNull: boolean;
330
+ booleanValue?: never;
331
+ longValue?: never;
332
+ doubleValue?: never;
333
+ stringValue?: never;
334
+ blobValue?: never;
335
+ $unknown?: never;
336
+ }
337
+
338
+ interface BooleanValueMember {
339
+ isNull?: never;
340
+ booleanValue: boolean;
341
+ longValue?: never;
342
+ doubleValue?: never;
343
+ stringValue?: never;
344
+ blobValue?: never;
345
+ $unknown?: never;
346
+ }
347
+
348
+ interface LongValueMember {
349
+ isNull?: never;
350
+ booleanValue?: never;
351
+ longValue: number;
352
+ doubleValue?: never;
353
+ stringValue?: never;
354
+ blobValue?: never;
355
+ $unknown?: never;
356
+ }
357
+
358
+ interface DoubleValueMember {
359
+ isNull?: never;
360
+ booleanValue?: never;
361
+ longValue?: never;
362
+ doubleValue: number;
363
+ stringValue?: never;
364
+ blobValue?: never;
365
+ $unknown?: never;
366
+ }
367
+
368
+ interface StringValueMember {
369
+ isNull?: never;
370
+ booleanValue?: never;
371
+ longValue?: never;
372
+ doubleValue?: never;
373
+ stringValue: string;
374
+ blobValue?: never;
375
+ $unknown?: never;
376
+ }
377
+
378
+ interface BlobValueMember {
379
+ isNull?: never;
380
+ booleanValue?: never;
381
+ longValue?: never;
382
+ doubleValue?: never;
383
+ stringValue?: never;
384
+ blobValue: Uint8Array;
385
+ $unknown?: never;
386
+ }
387
+ interface $UnknownMember {
388
+ isNull?: never;
389
+ booleanValue?: never;
390
+ longValue?: never;
391
+ doubleValue?: never;
392
+ stringValue?: never;
393
+ blobValue?: never;
394
+ $unknown: [
395
+ string,
396
+ any
397
+ ];
398
+ }
399
+ interface Visitor<T> {
400
+ isNull: (value: boolean) => T;
401
+ booleanValue: (value: boolean) => T;
402
+ longValue: (value: number) => T;
403
+ doubleValue: (value: number) => T;
404
+ stringValue: (value: string) => T;
405
+ blobValue: (value: Uint8Array) => T;
406
+ _: (name: string, value: any) => T;
407
+ }
408
+ const visit: <T>(value: Field, visitor: Visitor<T>) => T;
409
+
410
+ const filterSensitiveLog: (obj: Field) => any;
411
+ }
412
+ export interface GetStatementResultRequest {
413
+
414
+ Id: string | undefined;
415
+
416
+ NextToken?: string;
417
+ }
418
+ export declare namespace GetStatementResultRequest {
419
+
420
+ const filterSensitiveLog: (obj: GetStatementResultRequest) => any;
421
+ }
422
+ export interface GetStatementResultResponse {
423
+
424
+ Records: Field[][] | undefined;
425
+
426
+ ColumnMetadata?: ColumnMetadata[];
427
+
428
+ TotalNumRows?: number;
429
+
430
+ NextToken?: string;
431
+ }
432
+ export declare namespace GetStatementResultResponse {
433
+
434
+ const filterSensitiveLog: (obj: GetStatementResultResponse) => any;
435
+ }
436
+ export interface ListDatabasesRequest {
437
+
438
+ ClusterIdentifier?: string;
439
+
440
+ Database: string | undefined;
441
+
442
+ SecretArn?: string;
443
+
444
+ DbUser?: string;
445
+
446
+ NextToken?: string;
447
+
448
+ MaxResults?: number;
449
+ }
450
+ export declare namespace ListDatabasesRequest {
451
+
452
+ const filterSensitiveLog: (obj: ListDatabasesRequest) => any;
453
+ }
454
+ export interface ListDatabasesResponse {
455
+
456
+ Databases?: string[];
457
+
458
+ NextToken?: string;
459
+ }
460
+ export declare namespace ListDatabasesResponse {
461
+
462
+ const filterSensitiveLog: (obj: ListDatabasesResponse) => any;
463
+ }
464
+ export interface ListSchemasRequest {
465
+
466
+ ClusterIdentifier?: string;
467
+
468
+ SecretArn?: string;
469
+
470
+ DbUser?: string;
471
+
472
+ Database: string | undefined;
473
+
474
+ ConnectedDatabase?: string;
475
+
476
+ SchemaPattern?: string;
477
+
478
+ NextToken?: string;
479
+
480
+ MaxResults?: number;
481
+ }
482
+ export declare namespace ListSchemasRequest {
483
+
484
+ const filterSensitiveLog: (obj: ListSchemasRequest) => any;
485
+ }
486
+ export interface ListSchemasResponse {
487
+
488
+ Schemas?: string[];
489
+
490
+ NextToken?: string;
491
+ }
492
+ export declare namespace ListSchemasResponse {
493
+
494
+ const filterSensitiveLog: (obj: ListSchemasResponse) => any;
495
+ }
496
+ export interface ListStatementsRequest {
497
+
498
+ NextToken?: string;
499
+
500
+ MaxResults?: number;
501
+
502
+ StatementName?: string;
503
+
504
+ Status?: StatusString | string;
505
+
506
+ RoleLevel?: boolean;
507
+ }
508
+ export declare namespace ListStatementsRequest {
509
+
510
+ const filterSensitiveLog: (obj: ListStatementsRequest) => any;
511
+ }
512
+
513
+ export interface StatementData {
514
+
515
+ Id: string | undefined;
516
+
517
+ QueryString?: string;
518
+
519
+ QueryStrings?: string[];
520
+
521
+ SecretArn?: string;
522
+
523
+ Status?: StatusString | string;
524
+
525
+ StatementName?: string;
526
+
527
+ CreatedAt?: Date;
528
+
529
+ UpdatedAt?: Date;
530
+
531
+ QueryParameters?: SqlParameter[];
532
+
533
+ IsBatchStatement?: boolean;
534
+ }
535
+ export declare namespace StatementData {
536
+
537
+ const filterSensitiveLog: (obj: StatementData) => any;
538
+ }
539
+ export interface ListStatementsResponse {
540
+
541
+ Statements: StatementData[] | undefined;
542
+
543
+ NextToken?: string;
544
+ }
545
+ export declare namespace ListStatementsResponse {
546
+
547
+ const filterSensitiveLog: (obj: ListStatementsResponse) => any;
548
+ }
549
+ export interface ListTablesRequest {
550
+
551
+ ClusterIdentifier?: string;
552
+
553
+ SecretArn?: string;
554
+
555
+ DbUser?: string;
556
+
557
+ Database: string | undefined;
558
+
559
+ ConnectedDatabase?: string;
560
+
561
+ SchemaPattern?: string;
562
+
563
+ TablePattern?: string;
564
+
565
+ NextToken?: string;
566
+
567
+ MaxResults?: number;
568
+ }
569
+ export declare namespace ListTablesRequest {
570
+
571
+ const filterSensitiveLog: (obj: ListTablesRequest) => any;
572
+ }
573
+
574
+ export interface TableMember {
575
+
576
+ name?: string;
577
+
578
+ type?: string;
579
+
580
+ schema?: string;
581
+ }
582
+ export declare namespace TableMember {
583
+
584
+ const filterSensitiveLog: (obj: TableMember) => any;
585
+ }
586
+ export interface ListTablesResponse {
587
+
588
+ Tables?: TableMember[];
589
+
590
+ NextToken?: string;
591
+ }
592
+ export declare namespace ListTablesResponse {
593
+
594
+ const filterSensitiveLog: (obj: ListTablesResponse) => any;
595
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { DescribeTableCommandInput, DescribeTableCommandOutput } from "../commands/DescribeTableCommand";
3
+ import { RedshiftDataPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateDescribeTable(config: RedshiftDataPaginationConfiguration, input: DescribeTableCommandInput, ...additionalArguments: any): Paginator<DescribeTableCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "../commands/GetStatementResultCommand";
3
+ import { RedshiftDataPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateGetStatementResult(config: RedshiftDataPaginationConfiguration, input: GetStatementResultCommandInput, ...additionalArguments: any): Paginator<GetStatementResultCommandOutput>;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { RedshiftData } from "../RedshiftData";
3
+ import { RedshiftDataClient } from "../RedshiftDataClient";
4
+ export interface RedshiftDataPaginationConfiguration extends PaginationConfiguration {
5
+ client: RedshiftData | RedshiftDataClient;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../commands/ListDatabasesCommand";
3
+ import { RedshiftDataPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListDatabases(config: RedshiftDataPaginationConfiguration, input: ListDatabasesCommandInput, ...additionalArguments: any): Paginator<ListDatabasesCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
3
+ import { RedshiftDataPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListSchemas(config: RedshiftDataPaginationConfiguration, input: ListSchemasCommandInput, ...additionalArguments: any): Paginator<ListSchemasCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListStatementsCommandInput, ListStatementsCommandOutput } from "../commands/ListStatementsCommand";
3
+ import { RedshiftDataPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListStatements(config: RedshiftDataPaginationConfiguration, input: ListStatementsCommandInput, ...additionalArguments: any): Paginator<ListStatementsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
3
+ import { RedshiftDataPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListTables(config: RedshiftDataPaginationConfiguration, input: ListTablesCommandInput, ...additionalArguments: any): Paginator<ListTablesCommandOutput>;
@@ -0,0 +1,7 @@
1
+ export * from "./DescribeTablePaginator";
2
+ export * from "./GetStatementResultPaginator";
3
+ export * from "./Interfaces";
4
+ export * from "./ListDatabasesPaginator";
5
+ export * from "./ListSchemasPaginator";
6
+ export * from "./ListStatementsPaginator";
7
+ export * from "./ListTablesPaginator";
@@ -0,0 +1,32 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "../commands/BatchExecuteStatementCommand";
4
+ import { CancelStatementCommandInput, CancelStatementCommandOutput } from "../commands/CancelStatementCommand";
5
+ import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "../commands/DescribeStatementCommand";
6
+ import { DescribeTableCommandInput, DescribeTableCommandOutput } from "../commands/DescribeTableCommand";
7
+ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "../commands/ExecuteStatementCommand";
8
+ import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "../commands/GetStatementResultCommand";
9
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../commands/ListDatabasesCommand";
10
+ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
11
+ import { ListStatementsCommandInput, ListStatementsCommandOutput } from "../commands/ListStatementsCommand";
12
+ import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
13
+ export declare const serializeAws_json1_1BatchExecuteStatementCommand: (input: BatchExecuteStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
14
+ export declare const serializeAws_json1_1CancelStatementCommand: (input: CancelStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ export declare const serializeAws_json1_1DescribeStatementCommand: (input: DescribeStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
16
+ export declare const serializeAws_json1_1DescribeTableCommand: (input: DescribeTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
+ export declare const serializeAws_json1_1ExecuteStatementCommand: (input: ExecuteStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
+ export declare const serializeAws_json1_1GetStatementResultCommand: (input: GetStatementResultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ export declare const serializeAws_json1_1ListDatabasesCommand: (input: ListDatabasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
+ export declare const serializeAws_json1_1ListSchemasCommand: (input: ListSchemasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
+ export declare const serializeAws_json1_1ListStatementsCommand: (input: ListStatementsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
+ export declare const serializeAws_json1_1ListTablesCommand: (input: ListTablesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
+ export declare const deserializeAws_json1_1BatchExecuteStatementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchExecuteStatementCommandOutput>;
24
+ export declare const deserializeAws_json1_1CancelStatementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelStatementCommandOutput>;
25
+ export declare const deserializeAws_json1_1DescribeStatementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeStatementCommandOutput>;
26
+ export declare const deserializeAws_json1_1DescribeTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTableCommandOutput>;
27
+ export declare const deserializeAws_json1_1ExecuteStatementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExecuteStatementCommandOutput>;
28
+ export declare const deserializeAws_json1_1GetStatementResultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStatementResultCommandOutput>;
29
+ export declare const deserializeAws_json1_1ListDatabasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDatabasesCommandOutput>;
30
+ export declare const deserializeAws_json1_1ListSchemasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSchemasCommandOutput>;
31
+ export declare const deserializeAws_json1_1ListStatementsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStatementsCommandOutput>;
32
+ export declare const deserializeAws_json1_1ListTablesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTablesCommandOutput>;
@@ -0,0 +1,38 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
+
4
+ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<any>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };
@@ -0,0 +1,38 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
+
4
+ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };
@@ -0,0 +1,37 @@
1
+ import { RedshiftDataClientConfig } from "./RedshiftDataClient";
2
+
3
+ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
4
+ runtime: string;
5
+ sha256: import("@aws-sdk/types").HashConstructor;
6
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
+ apiVersion: string;
8
+ urlParser: import("@aws-sdk/types").UrlParser;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ streamCollector: import("@aws-sdk/types").StreamCollector;
11
+ base64Decoder: import("@aws-sdk/types").Decoder;
12
+ base64Encoder: import("@aws-sdk/types").Encoder;
13
+ utf8Decoder: import("@aws-sdk/types").Decoder;
14
+ utf8Encoder: import("@aws-sdk/types").Encoder;
15
+ disableHostPrefix: boolean;
16
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
18
+ logger: import("@aws-sdk/types").Logger;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
+ serviceId: string;
22
+ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
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>;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -0,0 +1,11 @@
1
+ import { Logger as __Logger } from "@aws-sdk/types";
2
+ import { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
+
4
+ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
5
+ apiVersion: string;
6
+ disableHostPrefix: boolean;
7
+ logger: __Logger;
8
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
9
+ serviceId: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift-data",
3
3
  "description": "AWS SDK for JavaScript Redshift Data Client for Node.js, Browser and React Native",
4
- "version": "3.50.0",
4
+ "version": "3.51.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,21 +18,21 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.50.0",
22
- "@aws-sdk/config-resolver": "3.50.0",
23
- "@aws-sdk/credential-provider-node": "3.50.0",
21
+ "@aws-sdk/client-sts": "3.51.0",
22
+ "@aws-sdk/config-resolver": "3.51.0",
23
+ "@aws-sdk/credential-provider-node": "3.51.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.50.0",
25
25
  "@aws-sdk/hash-node": "3.50.0",
26
26
  "@aws-sdk/invalid-dependency": "3.50.0",
27
27
  "@aws-sdk/middleware-content-length": "3.50.0",
28
28
  "@aws-sdk/middleware-host-header": "3.50.0",
29
29
  "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.50.0",
30
+ "@aws-sdk/middleware-retry": "3.51.0",
31
31
  "@aws-sdk/middleware-serde": "3.50.0",
32
32
  "@aws-sdk/middleware-signing": "3.50.0",
33
33
  "@aws-sdk/middleware-stack": "3.50.0",
34
34
  "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.50.0",
35
+ "@aws-sdk/node-config-provider": "3.51.0",
36
36
  "@aws-sdk/node-http-handler": "3.50.0",
37
37
  "@aws-sdk/protocol-http": "3.50.0",
38
38
  "@aws-sdk/smithy-client": "3.50.0",
@@ -43,9 +43,9 @@
43
43
  "@aws-sdk/util-body-length-browser": "3.49.0",
44
44
  "@aws-sdk/util-body-length-node": "3.49.0",
45
45
  "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.50.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.50.0",
48
+ "@aws-sdk/util-user-agent-node": "3.51.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.49.0",
50
50
  "@aws-sdk/util-utf8-node": "3.49.0",
51
51
  "tslib": "^2.3.0"