@aws-sdk/client-redshift-data 3.1086.0 → 3.1088.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.
- package/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/RedshiftData.d.ts +43 -51
- package/dist-types/ts3.4/RedshiftDataClient.d.ts +8 -24
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetStatementResultV2Command.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +3 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -2
- package/dist-types/ts3.4/models/errors.d.ts +9 -33
- package/dist-types/ts3.4/models/models_0.d.ts +2 -8
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListSchemasPaginator.d.ts +1 -4
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -35,214 +35,206 @@ import {
|
|
|
35
35
|
ListDatabasesCommandInput,
|
|
36
36
|
ListDatabasesCommandOutput,
|
|
37
37
|
} from "./commands/ListDatabasesCommand";
|
|
38
|
-
import {
|
|
39
|
-
ListSchemasCommandInput,
|
|
40
|
-
ListSchemasCommandOutput,
|
|
41
|
-
} from "./commands/ListSchemasCommand";
|
|
38
|
+
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
42
39
|
import {
|
|
43
40
|
ListStatementsCommandInput,
|
|
44
41
|
ListStatementsCommandOutput,
|
|
45
42
|
} from "./commands/ListStatementsCommand";
|
|
46
|
-
import {
|
|
47
|
-
ListTablesCommandInput,
|
|
48
|
-
ListTablesCommandOutput,
|
|
49
|
-
} from "./commands/ListTablesCommand";
|
|
43
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
50
44
|
import { RedshiftDataClient } from "./RedshiftDataClient";
|
|
51
45
|
export interface RedshiftData {
|
|
52
46
|
batchExecuteStatement(
|
|
53
47
|
args: BatchExecuteStatementCommandInput,
|
|
54
|
-
options?: __HttpHandlerOptions
|
|
48
|
+
options?: __HttpHandlerOptions,
|
|
55
49
|
): Promise<BatchExecuteStatementCommandOutput>;
|
|
56
50
|
batchExecuteStatement(
|
|
57
51
|
args: BatchExecuteStatementCommandInput,
|
|
58
|
-
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
|
|
52
|
+
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void,
|
|
59
53
|
): void;
|
|
60
54
|
batchExecuteStatement(
|
|
61
55
|
args: BatchExecuteStatementCommandInput,
|
|
62
56
|
options: __HttpHandlerOptions,
|
|
63
|
-
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
|
|
57
|
+
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void,
|
|
64
58
|
): void;
|
|
65
59
|
cancelStatement(
|
|
66
60
|
args: CancelStatementCommandInput,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
61
|
+
options?: __HttpHandlerOptions,
|
|
68
62
|
): Promise<CancelStatementCommandOutput>;
|
|
69
63
|
cancelStatement(
|
|
70
64
|
args: CancelStatementCommandInput,
|
|
71
|
-
cb: (err: any, data?: CancelStatementCommandOutput) => void
|
|
65
|
+
cb: (err: any, data?: CancelStatementCommandOutput) => void,
|
|
72
66
|
): void;
|
|
73
67
|
cancelStatement(
|
|
74
68
|
args: CancelStatementCommandInput,
|
|
75
69
|
options: __HttpHandlerOptions,
|
|
76
|
-
cb: (err: any, data?: CancelStatementCommandOutput) => void
|
|
70
|
+
cb: (err: any, data?: CancelStatementCommandOutput) => void,
|
|
77
71
|
): void;
|
|
78
72
|
describeStatement(
|
|
79
73
|
args: DescribeStatementCommandInput,
|
|
80
|
-
options?: __HttpHandlerOptions
|
|
74
|
+
options?: __HttpHandlerOptions,
|
|
81
75
|
): Promise<DescribeStatementCommandOutput>;
|
|
82
76
|
describeStatement(
|
|
83
77
|
args: DescribeStatementCommandInput,
|
|
84
|
-
cb: (err: any, data?: DescribeStatementCommandOutput) => void
|
|
78
|
+
cb: (err: any, data?: DescribeStatementCommandOutput) => void,
|
|
85
79
|
): void;
|
|
86
80
|
describeStatement(
|
|
87
81
|
args: DescribeStatementCommandInput,
|
|
88
82
|
options: __HttpHandlerOptions,
|
|
89
|
-
cb: (err: any, data?: DescribeStatementCommandOutput) => void
|
|
83
|
+
cb: (err: any, data?: DescribeStatementCommandOutput) => void,
|
|
90
84
|
): void;
|
|
91
85
|
describeTable(
|
|
92
86
|
args: DescribeTableCommandInput,
|
|
93
|
-
options?: __HttpHandlerOptions
|
|
87
|
+
options?: __HttpHandlerOptions,
|
|
94
88
|
): Promise<DescribeTableCommandOutput>;
|
|
95
89
|
describeTable(
|
|
96
90
|
args: DescribeTableCommandInput,
|
|
97
|
-
cb: (err: any, data?: DescribeTableCommandOutput) => void
|
|
91
|
+
cb: (err: any, data?: DescribeTableCommandOutput) => void,
|
|
98
92
|
): void;
|
|
99
93
|
describeTable(
|
|
100
94
|
args: DescribeTableCommandInput,
|
|
101
95
|
options: __HttpHandlerOptions,
|
|
102
|
-
cb: (err: any, data?: DescribeTableCommandOutput) => void
|
|
96
|
+
cb: (err: any, data?: DescribeTableCommandOutput) => void,
|
|
103
97
|
): void;
|
|
104
98
|
executeStatement(
|
|
105
99
|
args: ExecuteStatementCommandInput,
|
|
106
|
-
options?: __HttpHandlerOptions
|
|
100
|
+
options?: __HttpHandlerOptions,
|
|
107
101
|
): Promise<ExecuteStatementCommandOutput>;
|
|
108
102
|
executeStatement(
|
|
109
103
|
args: ExecuteStatementCommandInput,
|
|
110
|
-
cb: (err: any, data?: ExecuteStatementCommandOutput) => void
|
|
104
|
+
cb: (err: any, data?: ExecuteStatementCommandOutput) => void,
|
|
111
105
|
): void;
|
|
112
106
|
executeStatement(
|
|
113
107
|
args: ExecuteStatementCommandInput,
|
|
114
108
|
options: __HttpHandlerOptions,
|
|
115
|
-
cb: (err: any, data?: ExecuteStatementCommandOutput) => void
|
|
109
|
+
cb: (err: any, data?: ExecuteStatementCommandOutput) => void,
|
|
116
110
|
): void;
|
|
117
111
|
getStatementResult(
|
|
118
112
|
args: GetStatementResultCommandInput,
|
|
119
|
-
options?: __HttpHandlerOptions
|
|
113
|
+
options?: __HttpHandlerOptions,
|
|
120
114
|
): Promise<GetStatementResultCommandOutput>;
|
|
121
115
|
getStatementResult(
|
|
122
116
|
args: GetStatementResultCommandInput,
|
|
123
|
-
cb: (err: any, data?: GetStatementResultCommandOutput) => void
|
|
117
|
+
cb: (err: any, data?: GetStatementResultCommandOutput) => void,
|
|
124
118
|
): void;
|
|
125
119
|
getStatementResult(
|
|
126
120
|
args: GetStatementResultCommandInput,
|
|
127
121
|
options: __HttpHandlerOptions,
|
|
128
|
-
cb: (err: any, data?: GetStatementResultCommandOutput) => void
|
|
122
|
+
cb: (err: any, data?: GetStatementResultCommandOutput) => void,
|
|
129
123
|
): void;
|
|
130
124
|
getStatementResultV2(
|
|
131
125
|
args: GetStatementResultV2CommandInput,
|
|
132
|
-
options?: __HttpHandlerOptions
|
|
126
|
+
options?: __HttpHandlerOptions,
|
|
133
127
|
): Promise<GetStatementResultV2CommandOutput>;
|
|
134
128
|
getStatementResultV2(
|
|
135
129
|
args: GetStatementResultV2CommandInput,
|
|
136
|
-
cb: (err: any, data?: GetStatementResultV2CommandOutput) => void
|
|
130
|
+
cb: (err: any, data?: GetStatementResultV2CommandOutput) => void,
|
|
137
131
|
): void;
|
|
138
132
|
getStatementResultV2(
|
|
139
133
|
args: GetStatementResultV2CommandInput,
|
|
140
134
|
options: __HttpHandlerOptions,
|
|
141
|
-
cb: (err: any, data?: GetStatementResultV2CommandOutput) => void
|
|
135
|
+
cb: (err: any, data?: GetStatementResultV2CommandOutput) => void,
|
|
142
136
|
): void;
|
|
143
137
|
listDatabases(
|
|
144
138
|
args: ListDatabasesCommandInput,
|
|
145
|
-
options?: __HttpHandlerOptions
|
|
139
|
+
options?: __HttpHandlerOptions,
|
|
146
140
|
): Promise<ListDatabasesCommandOutput>;
|
|
147
141
|
listDatabases(
|
|
148
142
|
args: ListDatabasesCommandInput,
|
|
149
|
-
cb: (err: any, data?: ListDatabasesCommandOutput) => void
|
|
143
|
+
cb: (err: any, data?: ListDatabasesCommandOutput) => void,
|
|
150
144
|
): void;
|
|
151
145
|
listDatabases(
|
|
152
146
|
args: ListDatabasesCommandInput,
|
|
153
147
|
options: __HttpHandlerOptions,
|
|
154
|
-
cb: (err: any, data?: ListDatabasesCommandOutput) => void
|
|
148
|
+
cb: (err: any, data?: ListDatabasesCommandOutput) => void,
|
|
155
149
|
): void;
|
|
156
150
|
listSchemas(
|
|
157
151
|
args: ListSchemasCommandInput,
|
|
158
|
-
options?: __HttpHandlerOptions
|
|
152
|
+
options?: __HttpHandlerOptions,
|
|
159
153
|
): Promise<ListSchemasCommandOutput>;
|
|
160
154
|
listSchemas(
|
|
161
155
|
args: ListSchemasCommandInput,
|
|
162
|
-
cb: (err: any, data?: ListSchemasCommandOutput) => void
|
|
156
|
+
cb: (err: any, data?: ListSchemasCommandOutput) => void,
|
|
163
157
|
): void;
|
|
164
158
|
listSchemas(
|
|
165
159
|
args: ListSchemasCommandInput,
|
|
166
160
|
options: __HttpHandlerOptions,
|
|
167
|
-
cb: (err: any, data?: ListSchemasCommandOutput) => void
|
|
161
|
+
cb: (err: any, data?: ListSchemasCommandOutput) => void,
|
|
168
162
|
): void;
|
|
169
163
|
listStatements(): Promise<ListStatementsCommandOutput>;
|
|
170
164
|
listStatements(
|
|
171
165
|
args: ListStatementsCommandInput,
|
|
172
|
-
options?: __HttpHandlerOptions
|
|
166
|
+
options?: __HttpHandlerOptions,
|
|
173
167
|
): Promise<ListStatementsCommandOutput>;
|
|
174
168
|
listStatements(
|
|
175
169
|
args: ListStatementsCommandInput,
|
|
176
|
-
cb: (err: any, data?: ListStatementsCommandOutput) => void
|
|
170
|
+
cb: (err: any, data?: ListStatementsCommandOutput) => void,
|
|
177
171
|
): void;
|
|
178
172
|
listStatements(
|
|
179
173
|
args: ListStatementsCommandInput,
|
|
180
174
|
options: __HttpHandlerOptions,
|
|
181
|
-
cb: (err: any, data?: ListStatementsCommandOutput) => void
|
|
175
|
+
cb: (err: any, data?: ListStatementsCommandOutput) => void,
|
|
182
176
|
): void;
|
|
183
177
|
listTables(
|
|
184
178
|
args: ListTablesCommandInput,
|
|
185
|
-
options?: __HttpHandlerOptions
|
|
179
|
+
options?: __HttpHandlerOptions,
|
|
186
180
|
): Promise<ListTablesCommandOutput>;
|
|
187
181
|
listTables(
|
|
188
182
|
args: ListTablesCommandInput,
|
|
189
|
-
cb: (err: any, data?: ListTablesCommandOutput) => void
|
|
183
|
+
cb: (err: any, data?: ListTablesCommandOutput) => void,
|
|
190
184
|
): void;
|
|
191
185
|
listTables(
|
|
192
186
|
args: ListTablesCommandInput,
|
|
193
187
|
options: __HttpHandlerOptions,
|
|
194
|
-
cb: (err: any, data?: ListTablesCommandOutput) => void
|
|
188
|
+
cb: (err: any, data?: ListTablesCommandOutput) => void,
|
|
195
189
|
): void;
|
|
196
190
|
paginateDescribeTable(
|
|
197
191
|
args: DescribeTableCommandInput,
|
|
198
192
|
paginationConfig?: Pick<
|
|
199
193
|
PaginationConfiguration,
|
|
200
194
|
Exclude<keyof PaginationConfiguration, "client">
|
|
201
|
-
|
|
195
|
+
>,
|
|
202
196
|
): Paginator<DescribeTableCommandOutput>;
|
|
203
197
|
paginateGetStatementResult(
|
|
204
198
|
args: GetStatementResultCommandInput,
|
|
205
199
|
paginationConfig?: Pick<
|
|
206
200
|
PaginationConfiguration,
|
|
207
201
|
Exclude<keyof PaginationConfiguration, "client">
|
|
208
|
-
|
|
202
|
+
>,
|
|
209
203
|
): Paginator<GetStatementResultCommandOutput>;
|
|
210
204
|
paginateGetStatementResultV2(
|
|
211
205
|
args: GetStatementResultV2CommandInput,
|
|
212
206
|
paginationConfig?: Pick<
|
|
213
207
|
PaginationConfiguration,
|
|
214
208
|
Exclude<keyof PaginationConfiguration, "client">
|
|
215
|
-
|
|
209
|
+
>,
|
|
216
210
|
): Paginator<GetStatementResultV2CommandOutput>;
|
|
217
211
|
paginateListDatabases(
|
|
218
212
|
args: ListDatabasesCommandInput,
|
|
219
213
|
paginationConfig?: Pick<
|
|
220
214
|
PaginationConfiguration,
|
|
221
215
|
Exclude<keyof PaginationConfiguration, "client">
|
|
222
|
-
|
|
216
|
+
>,
|
|
223
217
|
): Paginator<ListDatabasesCommandOutput>;
|
|
224
218
|
paginateListSchemas(
|
|
225
219
|
args: ListSchemasCommandInput,
|
|
226
220
|
paginationConfig?: Pick<
|
|
227
221
|
PaginationConfiguration,
|
|
228
222
|
Exclude<keyof PaginationConfiguration, "client">
|
|
229
|
-
|
|
223
|
+
>,
|
|
230
224
|
): Paginator<ListSchemasCommandOutput>;
|
|
231
225
|
paginateListStatements(
|
|
232
226
|
args?: ListStatementsCommandInput,
|
|
233
227
|
paginationConfig?: Pick<
|
|
234
228
|
PaginationConfiguration,
|
|
235
229
|
Exclude<keyof PaginationConfiguration, "client">
|
|
236
|
-
|
|
230
|
+
>,
|
|
237
231
|
): Paginator<ListStatementsCommandOutput>;
|
|
238
232
|
paginateListTables(
|
|
239
233
|
args: ListTablesCommandInput,
|
|
240
234
|
paginationConfig?: Pick<
|
|
241
235
|
PaginationConfiguration,
|
|
242
236
|
Exclude<keyof PaginationConfiguration, "client">
|
|
243
|
-
|
|
237
|
+
>,
|
|
244
238
|
): Paginator<ListTablesCommandOutput>;
|
|
245
239
|
}
|
|
246
|
-
export declare class RedshiftData
|
|
247
|
-
extends RedshiftDataClient
|
|
248
|
-
implements RedshiftData {}
|
|
240
|
+
export declare class RedshiftData extends RedshiftDataClient implements RedshiftData {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -68,18 +65,12 @@ import {
|
|
|
68
65
|
ListDatabasesCommandInput,
|
|
69
66
|
ListDatabasesCommandOutput,
|
|
70
67
|
} from "./commands/ListDatabasesCommand";
|
|
71
|
-
import {
|
|
72
|
-
ListSchemasCommandInput,
|
|
73
|
-
ListSchemasCommandOutput,
|
|
74
|
-
} from "./commands/ListSchemasCommand";
|
|
68
|
+
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
75
69
|
import {
|
|
76
70
|
ListStatementsCommandInput,
|
|
77
71
|
ListStatementsCommandOutput,
|
|
78
72
|
} from "./commands/ListStatementsCommand";
|
|
79
|
-
import {
|
|
80
|
-
ListTablesCommandInput,
|
|
81
|
-
ListTablesCommandOutput,
|
|
82
|
-
} from "./commands/ListTablesCommand";
|
|
73
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
83
74
|
import {
|
|
84
75
|
ClientInputEndpointParameters,
|
|
85
76
|
ClientResolvedEndpointParameters,
|
|
@@ -111,8 +102,7 @@ export type ServiceOutputTypes =
|
|
|
111
102
|
| ListSchemasCommandOutput
|
|
112
103
|
| ListStatementsCommandOutput
|
|
113
104
|
| ListTablesCommandOutput;
|
|
114
|
-
export interface ClientDefaults
|
|
115
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
105
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
116
106
|
requestHandler?: __HttpHandlerUserInput;
|
|
117
107
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
118
108
|
urlParser?: __UrlParser;
|
|
@@ -137,9 +127,7 @@ export interface ClientDefaults
|
|
|
137
127
|
extensions?: RuntimeExtension[];
|
|
138
128
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
139
129
|
}
|
|
140
|
-
export type RedshiftDataClientConfigType = Partial<
|
|
141
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
142
|
-
> &
|
|
130
|
+
export type RedshiftDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
143
131
|
ClientDefaults &
|
|
144
132
|
UserAgentInputConfig &
|
|
145
133
|
RetryInputConfig &
|
|
@@ -148,8 +136,7 @@ export type RedshiftDataClientConfigType = Partial<
|
|
|
148
136
|
EndpointInputConfig<EndpointParameters> &
|
|
149
137
|
HttpAuthSchemeInputConfig &
|
|
150
138
|
ClientInputEndpointParameters;
|
|
151
|
-
export interface RedshiftDataClientConfig
|
|
152
|
-
extends RedshiftDataClientConfigType {}
|
|
139
|
+
export interface RedshiftDataClientConfig extends RedshiftDataClientConfigType {}
|
|
153
140
|
export type RedshiftDataClientResolvedConfigType =
|
|
154
141
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
155
142
|
Required<ClientDefaults> &
|
|
@@ -161,8 +148,7 @@ export type RedshiftDataClientResolvedConfigType =
|
|
|
161
148
|
EndpointResolvedConfig<EndpointParameters> &
|
|
162
149
|
HttpAuthSchemeResolvedConfig &
|
|
163
150
|
ClientResolvedEndpointParameters;
|
|
164
|
-
export interface RedshiftDataClientResolvedConfig
|
|
165
|
-
extends RedshiftDataClientResolvedConfigType {}
|
|
151
|
+
export interface RedshiftDataClientResolvedConfig extends RedshiftDataClientResolvedConfigType {}
|
|
166
152
|
export declare class RedshiftDataClient extends __Client<
|
|
167
153
|
__HttpHandlerOptions,
|
|
168
154
|
ServiceInputTypes,
|
|
@@ -170,8 +156,6 @@ export declare class RedshiftDataClient extends __Client<
|
|
|
170
156
|
RedshiftDataClientResolvedConfig
|
|
171
157
|
> {
|
|
172
158
|
readonly config: RedshiftDataClientResolvedConfig;
|
|
173
|
-
constructor(
|
|
174
|
-
...[configuration]: __CheckOptionalClientConfig<RedshiftDataClientConfig>
|
|
175
|
-
);
|
|
159
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<RedshiftDataClientConfig>);
|
|
176
160
|
destroy(): void;
|
|
177
161
|
}
|
|
@@ -7,17 +7,10 @@ import { RedshiftDataHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: RedshiftDataHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: RedshiftDataHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): RedshiftDataHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { RedshiftDataClientResolvedConfig } from "../RedshiftDataClient";
|
|
15
|
-
export interface RedshiftDataHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface RedshiftDataHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface RedshiftDataHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface RedshiftDataHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
RedshiftDataClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
RedshiftDataHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultRedshiftDataHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: RedshiftDataClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<RedshiftDataHttpAuthSchemeParameters>;
|
|
31
|
-
export interface RedshiftDataHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<RedshiftDataHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface RedshiftDataHttpAuthSchemeProvider extends HttpAuthSchemeProvider<RedshiftDataHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultRedshiftDataHttpAuthSchemeProvider: RedshiftDataHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: RedshiftDataHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: RedshiftDataHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./RedshiftDataClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
RedshiftDataClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
BatchExecuteStatementInput,
|
|
4
|
-
BatchExecuteStatementOutput,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface BatchExecuteStatementCommandInput
|
|
8
|
-
extends BatchExecuteStatementInput {}
|
|
4
|
+
export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput {}
|
|
9
5
|
export interface BatchExecuteStatementCommandOutput
|
|
10
|
-
extends BatchExecuteStatementOutput,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends BatchExecuteStatementOutput, __MetadataBearer {}
|
|
12
7
|
declare const BatchExecuteStatementCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: BatchExecuteStatementCommandInput
|
|
9
|
+
input: BatchExecuteStatementCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
BatchExecuteStatementCommandInput,
|
|
17
12
|
BatchExecuteStatementCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const BatchExecuteStatementCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: BatchExecuteStatementCommandInput
|
|
18
|
+
input: BatchExecuteStatementCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
BatchExecuteStatementCommandInput,
|
|
26
21
|
BatchExecuteStatementCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CancelStatementRequest,
|
|
4
|
-
CancelStatementResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface CancelStatementCommandInput extends CancelStatementRequest {}
|
|
8
|
-
export interface CancelStatementCommandOutput
|
|
9
|
-
extends CancelStatementResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface CancelStatementCommandOutput extends CancelStatementResponse, __MetadataBearer {}
|
|
11
6
|
declare const CancelStatementCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: CancelStatementCommandInput
|
|
8
|
+
input: CancelStatementCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
CancelStatementCommandInput,
|
|
16
11
|
CancelStatementCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const CancelStatementCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: CancelStatementCommandInput
|
|
17
|
+
input: CancelStatementCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
CancelStatementCommandInput,
|
|
25
20
|
CancelStatementCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
DescribeStatementRequest,
|
|
4
|
-
DescribeStatementResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface DescribeStatementCommandInput
|
|
8
|
-
extends DescribeStatementRequest {}
|
|
4
|
+
export interface DescribeStatementCommandInput extends DescribeStatementRequest {}
|
|
9
5
|
export interface DescribeStatementCommandOutput
|
|
10
|
-
extends DescribeStatementResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends DescribeStatementResponse, __MetadataBearer {}
|
|
12
7
|
declare const DescribeStatementCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: DescribeStatementCommandInput
|
|
9
|
+
input: DescribeStatementCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
DescribeStatementCommandInput,
|
|
17
12
|
DescribeStatementCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const DescribeStatementCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: DescribeStatementCommandInput
|
|
18
|
+
input: DescribeStatementCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
DescribeStatementCommandInput,
|
|
26
21
|
DescribeStatementCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
DescribeTableRequest,
|
|
4
|
-
DescribeTableResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface DescribeTableCommandInput extends DescribeTableRequest {}
|
|
8
|
-
export interface DescribeTableCommandOutput
|
|
9
|
-
extends DescribeTableResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {}
|
|
11
6
|
declare const DescribeTableCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: DescribeTableCommandInput
|
|
8
|
+
input: DescribeTableCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
DescribeTableCommandInput,
|
|
16
11
|
DescribeTableCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const DescribeTableCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: DescribeTableCommandInput
|
|
17
|
+
input: DescribeTableCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
DescribeTableCommandInput,
|
|
25
20
|
DescribeTableCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ExecuteStatementInput,
|
|
4
|
-
ExecuteStatementOutput,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface ExecuteStatementCommandInput extends ExecuteStatementInput {}
|
|
8
|
-
export interface ExecuteStatementCommandOutput
|
|
9
|
-
extends ExecuteStatementOutput,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {}
|
|
11
6
|
declare const ExecuteStatementCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: ExecuteStatementCommandInput
|
|
8
|
+
input: ExecuteStatementCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
ExecuteStatementCommandInput,
|
|
16
11
|
ExecuteStatementCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const ExecuteStatementCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: ExecuteStatementCommandInput
|
|
17
|
+
input: ExecuteStatementCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
ExecuteStatementCommandInput,
|
|
25
20
|
ExecuteStatementCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetStatementResultRequest,
|
|
4
|
-
GetStatementResultResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface GetStatementResultCommandInput
|
|
8
|
-
extends GetStatementResultRequest {}
|
|
4
|
+
export interface GetStatementResultCommandInput extends GetStatementResultRequest {}
|
|
9
5
|
export interface GetStatementResultCommandOutput
|
|
10
|
-
extends GetStatementResultResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends GetStatementResultResponse, __MetadataBearer {}
|
|
12
7
|
declare const GetStatementResultCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: GetStatementResultCommandInput
|
|
9
|
+
input: GetStatementResultCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
GetStatementResultCommandInput,
|
|
17
12
|
GetStatementResultCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const GetStatementResultCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: GetStatementResultCommandInput
|
|
18
|
+
input: GetStatementResultCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
GetStatementResultCommandInput,
|
|
26
21
|
GetStatementResultCommandOutput,
|