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