@aws-sdk/client-redshift-data 3.169.0 → 3.171.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 (33) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/RedshiftData.d.ts +174 -55
  3. package/dist-types/ts3.4/RedshiftDataClient.d.ts +165 -83
  4. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +39 -17
  5. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +35 -17
  6. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +36 -17
  7. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +35 -17
  8. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +35 -17
  9. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +36 -17
  10. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +35 -17
  11. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +32 -17
  12. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +35 -17
  13. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +32 -17
  14. package/dist-types/ts3.4/commands/index.d.ts +10 -10
  15. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  16. package/dist-types/ts3.4/index.d.ts +6 -6
  17. package/dist-types/ts3.4/models/RedshiftDataServiceException.d.ts +7 -6
  18. package/dist-types/ts3.4/models/index.d.ts +1 -1
  19. package/dist-types/ts3.4/models/models_0.d.ts +436 -578
  20. package/dist-types/ts3.4/pagination/DescribeTablePaginator.d.ts +11 -4
  21. package/dist-types/ts3.4/pagination/GetStatementResultPaginator.d.ts +11 -4
  22. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  23. package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +11 -4
  24. package/dist-types/ts3.4/pagination/ListSchemasPaginator.d.ts +11 -4
  25. package/dist-types/ts3.4/pagination/ListStatementsPaginator.d.ts +11 -4
  26. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -4
  27. package/dist-types/ts3.4/pagination/index.d.ts +7 -7
  28. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +125 -32
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  33. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-redshift-data
9
+
10
+
11
+
12
+
13
+
14
+ # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-redshift-data
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-redshift-data
@@ -1,55 +1,174 @@
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
- }
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ BatchExecuteStatementCommandInput,
4
+ BatchExecuteStatementCommandOutput,
5
+ } from "./commands/BatchExecuteStatementCommand";
6
+ import {
7
+ CancelStatementCommandInput,
8
+ CancelStatementCommandOutput,
9
+ } from "./commands/CancelStatementCommand";
10
+ import {
11
+ DescribeStatementCommandInput,
12
+ DescribeStatementCommandOutput,
13
+ } from "./commands/DescribeStatementCommand";
14
+ import {
15
+ DescribeTableCommandInput,
16
+ DescribeTableCommandOutput,
17
+ } from "./commands/DescribeTableCommand";
18
+ import {
19
+ ExecuteStatementCommandInput,
20
+ ExecuteStatementCommandOutput,
21
+ } from "./commands/ExecuteStatementCommand";
22
+ import {
23
+ GetStatementResultCommandInput,
24
+ GetStatementResultCommandOutput,
25
+ } from "./commands/GetStatementResultCommand";
26
+ import {
27
+ ListDatabasesCommandInput,
28
+ ListDatabasesCommandOutput,
29
+ } from "./commands/ListDatabasesCommand";
30
+ import {
31
+ ListSchemasCommandInput,
32
+ ListSchemasCommandOutput,
33
+ } from "./commands/ListSchemasCommand";
34
+ import {
35
+ ListStatementsCommandInput,
36
+ ListStatementsCommandOutput,
37
+ } from "./commands/ListStatementsCommand";
38
+ import {
39
+ ListTablesCommandInput,
40
+ ListTablesCommandOutput,
41
+ } from "./commands/ListTablesCommand";
42
+ import { RedshiftDataClient } from "./RedshiftDataClient";
43
+ export declare class RedshiftData extends RedshiftDataClient {
44
+ batchExecuteStatement(
45
+ args: BatchExecuteStatementCommandInput,
46
+ options?: __HttpHandlerOptions
47
+ ): Promise<BatchExecuteStatementCommandOutput>;
48
+ batchExecuteStatement(
49
+ args: BatchExecuteStatementCommandInput,
50
+ cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
51
+ ): void;
52
+ batchExecuteStatement(
53
+ args: BatchExecuteStatementCommandInput,
54
+ options: __HttpHandlerOptions,
55
+ cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
56
+ ): void;
57
+ cancelStatement(
58
+ args: CancelStatementCommandInput,
59
+ options?: __HttpHandlerOptions
60
+ ): Promise<CancelStatementCommandOutput>;
61
+ cancelStatement(
62
+ args: CancelStatementCommandInput,
63
+ cb: (err: any, data?: CancelStatementCommandOutput) => void
64
+ ): void;
65
+ cancelStatement(
66
+ args: CancelStatementCommandInput,
67
+ options: __HttpHandlerOptions,
68
+ cb: (err: any, data?: CancelStatementCommandOutput) => void
69
+ ): void;
70
+ describeStatement(
71
+ args: DescribeStatementCommandInput,
72
+ options?: __HttpHandlerOptions
73
+ ): Promise<DescribeStatementCommandOutput>;
74
+ describeStatement(
75
+ args: DescribeStatementCommandInput,
76
+ cb: (err: any, data?: DescribeStatementCommandOutput) => void
77
+ ): void;
78
+ describeStatement(
79
+ args: DescribeStatementCommandInput,
80
+ options: __HttpHandlerOptions,
81
+ cb: (err: any, data?: DescribeStatementCommandOutput) => void
82
+ ): void;
83
+ describeTable(
84
+ args: DescribeTableCommandInput,
85
+ options?: __HttpHandlerOptions
86
+ ): Promise<DescribeTableCommandOutput>;
87
+ describeTable(
88
+ args: DescribeTableCommandInput,
89
+ cb: (err: any, data?: DescribeTableCommandOutput) => void
90
+ ): void;
91
+ describeTable(
92
+ args: DescribeTableCommandInput,
93
+ options: __HttpHandlerOptions,
94
+ cb: (err: any, data?: DescribeTableCommandOutput) => void
95
+ ): void;
96
+ executeStatement(
97
+ args: ExecuteStatementCommandInput,
98
+ options?: __HttpHandlerOptions
99
+ ): Promise<ExecuteStatementCommandOutput>;
100
+ executeStatement(
101
+ args: ExecuteStatementCommandInput,
102
+ cb: (err: any, data?: ExecuteStatementCommandOutput) => void
103
+ ): void;
104
+ executeStatement(
105
+ args: ExecuteStatementCommandInput,
106
+ options: __HttpHandlerOptions,
107
+ cb: (err: any, data?: ExecuteStatementCommandOutput) => void
108
+ ): void;
109
+ getStatementResult(
110
+ args: GetStatementResultCommandInput,
111
+ options?: __HttpHandlerOptions
112
+ ): Promise<GetStatementResultCommandOutput>;
113
+ getStatementResult(
114
+ args: GetStatementResultCommandInput,
115
+ cb: (err: any, data?: GetStatementResultCommandOutput) => void
116
+ ): void;
117
+ getStatementResult(
118
+ args: GetStatementResultCommandInput,
119
+ options: __HttpHandlerOptions,
120
+ cb: (err: any, data?: GetStatementResultCommandOutput) => void
121
+ ): void;
122
+ listDatabases(
123
+ args: ListDatabasesCommandInput,
124
+ options?: __HttpHandlerOptions
125
+ ): Promise<ListDatabasesCommandOutput>;
126
+ listDatabases(
127
+ args: ListDatabasesCommandInput,
128
+ cb: (err: any, data?: ListDatabasesCommandOutput) => void
129
+ ): void;
130
+ listDatabases(
131
+ args: ListDatabasesCommandInput,
132
+ options: __HttpHandlerOptions,
133
+ cb: (err: any, data?: ListDatabasesCommandOutput) => void
134
+ ): void;
135
+ listSchemas(
136
+ args: ListSchemasCommandInput,
137
+ options?: __HttpHandlerOptions
138
+ ): Promise<ListSchemasCommandOutput>;
139
+ listSchemas(
140
+ args: ListSchemasCommandInput,
141
+ cb: (err: any, data?: ListSchemasCommandOutput) => void
142
+ ): void;
143
+ listSchemas(
144
+ args: ListSchemasCommandInput,
145
+ options: __HttpHandlerOptions,
146
+ cb: (err: any, data?: ListSchemasCommandOutput) => void
147
+ ): void;
148
+ listStatements(
149
+ args: ListStatementsCommandInput,
150
+ options?: __HttpHandlerOptions
151
+ ): Promise<ListStatementsCommandOutput>;
152
+ listStatements(
153
+ args: ListStatementsCommandInput,
154
+ cb: (err: any, data?: ListStatementsCommandOutput) => void
155
+ ): void;
156
+ listStatements(
157
+ args: ListStatementsCommandInput,
158
+ options: __HttpHandlerOptions,
159
+ cb: (err: any, data?: ListStatementsCommandOutput) => void
160
+ ): void;
161
+ listTables(
162
+ args: ListTablesCommandInput,
163
+ options?: __HttpHandlerOptions
164
+ ): Promise<ListTablesCommandOutput>;
165
+ listTables(
166
+ args: ListTablesCommandInput,
167
+ cb: (err: any, data?: ListTablesCommandOutput) => void
168
+ ): void;
169
+ listTables(
170
+ args: ListTablesCommandInput,
171
+ options: __HttpHandlerOptions,
172
+ cb: (err: any, data?: ListTablesCommandOutput) => void
173
+ ): void;
174
+ }
@@ -1,83 +1,165 @@
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 { BodyLengthCalculator as __BodyLengthCalculator, 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?: __BodyLengthCalculator;
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 {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ BatchExecuteStatementCommandInput,
47
+ BatchExecuteStatementCommandOutput,
48
+ } from "./commands/BatchExecuteStatementCommand";
49
+ import {
50
+ CancelStatementCommandInput,
51
+ CancelStatementCommandOutput,
52
+ } from "./commands/CancelStatementCommand";
53
+ import {
54
+ DescribeStatementCommandInput,
55
+ DescribeStatementCommandOutput,
56
+ } from "./commands/DescribeStatementCommand";
57
+ import {
58
+ DescribeTableCommandInput,
59
+ DescribeTableCommandOutput,
60
+ } from "./commands/DescribeTableCommand";
61
+ import {
62
+ ExecuteStatementCommandInput,
63
+ ExecuteStatementCommandOutput,
64
+ } from "./commands/ExecuteStatementCommand";
65
+ import {
66
+ GetStatementResultCommandInput,
67
+ GetStatementResultCommandOutput,
68
+ } from "./commands/GetStatementResultCommand";
69
+ import {
70
+ ListDatabasesCommandInput,
71
+ ListDatabasesCommandOutput,
72
+ } from "./commands/ListDatabasesCommand";
73
+ import {
74
+ ListSchemasCommandInput,
75
+ ListSchemasCommandOutput,
76
+ } from "./commands/ListSchemasCommand";
77
+ import {
78
+ ListStatementsCommandInput,
79
+ ListStatementsCommandOutput,
80
+ } from "./commands/ListStatementsCommand";
81
+ import {
82
+ ListTablesCommandInput,
83
+ ListTablesCommandOutput,
84
+ } from "./commands/ListTablesCommand";
85
+ export declare type ServiceInputTypes =
86
+ | BatchExecuteStatementCommandInput
87
+ | CancelStatementCommandInput
88
+ | DescribeStatementCommandInput
89
+ | DescribeTableCommandInput
90
+ | ExecuteStatementCommandInput
91
+ | GetStatementResultCommandInput
92
+ | ListDatabasesCommandInput
93
+ | ListSchemasCommandInput
94
+ | ListStatementsCommandInput
95
+ | ListTablesCommandInput;
96
+ export declare type ServiceOutputTypes =
97
+ | BatchExecuteStatementCommandOutput
98
+ | CancelStatementCommandOutput
99
+ | DescribeStatementCommandOutput
100
+ | DescribeTableCommandOutput
101
+ | ExecuteStatementCommandOutput
102
+ | GetStatementResultCommandOutput
103
+ | ListDatabasesCommandOutput
104
+ | ListSchemasCommandOutput
105
+ | ListStatementsCommandOutput
106
+ | ListTablesCommandOutput;
107
+ export interface ClientDefaults
108
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
109
+ requestHandler?: __HttpHandler;
110
+ sha256?: __HashConstructor;
111
+ urlParser?: __UrlParser;
112
+ bodyLengthChecker?: __BodyLengthCalculator;
113
+ streamCollector?: __StreamCollector;
114
+ base64Decoder?: __Decoder;
115
+ base64Encoder?: __Encoder;
116
+ utf8Decoder?: __Decoder;
117
+ utf8Encoder?: __Encoder;
118
+ runtime?: string;
119
+ disableHostPrefix?: boolean;
120
+ maxAttempts?: number | __Provider<number>;
121
+ retryMode?: string | __Provider<string>;
122
+ logger?: __Logger;
123
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
124
+ useFipsEndpoint?: boolean | __Provider<boolean>;
125
+ serviceId?: string;
126
+ region?: string | __Provider<string>;
127
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
128
+ regionInfoProvider?: RegionInfoProvider;
129
+ defaultUserAgentProvider?: Provider<__UserAgent>;
130
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
131
+ }
132
+ declare type RedshiftDataClientConfigType = Partial<
133
+ __SmithyConfiguration<__HttpHandlerOptions>
134
+ > &
135
+ ClientDefaults &
136
+ RegionInputConfig &
137
+ EndpointsInputConfig &
138
+ RetryInputConfig &
139
+ HostHeaderInputConfig &
140
+ AwsAuthInputConfig &
141
+ UserAgentInputConfig;
142
+ export interface RedshiftDataClientConfig
143
+ extends RedshiftDataClientConfigType {}
144
+ declare type RedshiftDataClientResolvedConfigType =
145
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
146
+ Required<ClientDefaults> &
147
+ RegionResolvedConfig &
148
+ EndpointsResolvedConfig &
149
+ RetryResolvedConfig &
150
+ HostHeaderResolvedConfig &
151
+ AwsAuthResolvedConfig &
152
+ UserAgentResolvedConfig;
153
+ export interface RedshiftDataClientResolvedConfig
154
+ extends RedshiftDataClientResolvedConfigType {}
155
+ export declare class RedshiftDataClient extends __Client<
156
+ __HttpHandlerOptions,
157
+ ServiceInputTypes,
158
+ ServiceOutputTypes,
159
+ RedshiftDataClientResolvedConfig
160
+ > {
161
+ readonly config: RedshiftDataClientResolvedConfig;
162
+ constructor(configuration: RedshiftDataClientConfig);
163
+ destroy(): void;
164
+ }
165
+ export {};
@@ -1,17 +1,39 @@
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
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ BatchExecuteStatementInput,
10
+ BatchExecuteStatementOutput,
11
+ } from "../models/models_0";
12
+ import {
13
+ RedshiftDataClientResolvedConfig,
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ } from "../RedshiftDataClient";
17
+ export interface BatchExecuteStatementCommandInput
18
+ extends BatchExecuteStatementInput {}
19
+ export interface BatchExecuteStatementCommandOutput
20
+ extends BatchExecuteStatementOutput,
21
+ __MetadataBearer {}
22
+ export declare class BatchExecuteStatementCommand extends $Command<
23
+ BatchExecuteStatementCommandInput,
24
+ BatchExecuteStatementCommandOutput,
25
+ RedshiftDataClientResolvedConfig
26
+ > {
27
+ readonly input: BatchExecuteStatementCommandInput;
28
+ constructor(input: BatchExecuteStatementCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: RedshiftDataClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ BatchExecuteStatementCommandInput,
35
+ BatchExecuteStatementCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -1,17 +1,35 @@
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
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CancelStatementRequest,
10
+ CancelStatementResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ RedshiftDataClientResolvedConfig,
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ } from "../RedshiftDataClient";
17
+ export interface CancelStatementCommandInput extends CancelStatementRequest {}
18
+ export interface CancelStatementCommandOutput
19
+ extends CancelStatementResponse,
20
+ __MetadataBearer {}
21
+ export declare class CancelStatementCommand extends $Command<
22
+ CancelStatementCommandInput,
23
+ CancelStatementCommandOutput,
24
+ RedshiftDataClientResolvedConfig
25
+ > {
26
+ readonly input: CancelStatementCommandInput;
27
+ constructor(input: CancelStatementCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: RedshiftDataClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<CancelStatementCommandInput, CancelStatementCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }