@aws-sdk/client-athena 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 (64) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/Athena.d.ts +633 -190
  3. package/dist-types/ts3.4/AthenaClient.d.ts +326 -110
  4. package/dist-types/ts3.4/commands/BatchGetNamedQueryCommand.d.ts +36 -17
  5. package/dist-types/ts3.4/commands/BatchGetPreparedStatementCommand.d.ts +39 -17
  6. package/dist-types/ts3.4/commands/BatchGetQueryExecutionCommand.d.ts +39 -17
  7. package/dist-types/ts3.4/commands/CreateDataCatalogCommand.d.ts +35 -17
  8. package/dist-types/ts3.4/commands/CreateNamedQueryCommand.d.ts +35 -17
  9. package/dist-types/ts3.4/commands/CreatePreparedStatementCommand.d.ts +39 -17
  10. package/dist-types/ts3.4/commands/CreateWorkGroupCommand.d.ts +35 -17
  11. package/dist-types/ts3.4/commands/DeleteDataCatalogCommand.d.ts +35 -17
  12. package/dist-types/ts3.4/commands/DeleteNamedQueryCommand.d.ts +35 -17
  13. package/dist-types/ts3.4/commands/DeletePreparedStatementCommand.d.ts +39 -17
  14. package/dist-types/ts3.4/commands/DeleteWorkGroupCommand.d.ts +35 -17
  15. package/dist-types/ts3.4/commands/GetDataCatalogCommand.d.ts +32 -17
  16. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +32 -17
  17. package/dist-types/ts3.4/commands/GetNamedQueryCommand.d.ts +32 -17
  18. package/dist-types/ts3.4/commands/GetPreparedStatementCommand.d.ts +39 -17
  19. package/dist-types/ts3.4/commands/GetQueryExecutionCommand.d.ts +35 -17
  20. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +35 -17
  21. package/dist-types/ts3.4/commands/GetQueryRuntimeStatisticsCommand.d.ts +39 -17
  22. package/dist-types/ts3.4/commands/GetTableMetadataCommand.d.ts +35 -17
  23. package/dist-types/ts3.4/commands/GetWorkGroupCommand.d.ts +32 -17
  24. package/dist-types/ts3.4/commands/ListDataCatalogsCommand.d.ts +35 -17
  25. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +32 -17
  26. package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +36 -17
  27. package/dist-types/ts3.4/commands/ListNamedQueriesCommand.d.ts +35 -17
  28. package/dist-types/ts3.4/commands/ListPreparedStatementsCommand.d.ts +39 -17
  29. package/dist-types/ts3.4/commands/ListQueryExecutionsCommand.d.ts +36 -17
  30. package/dist-types/ts3.4/commands/ListTableMetadataCommand.d.ts +35 -17
  31. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  32. package/dist-types/ts3.4/commands/ListWorkGroupsCommand.d.ts +32 -17
  33. package/dist-types/ts3.4/commands/StartQueryExecutionCommand.d.ts +36 -17
  34. package/dist-types/ts3.4/commands/StopQueryExecutionCommand.d.ts +36 -17
  35. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  36. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +32 -17
  37. package/dist-types/ts3.4/commands/UpdateDataCatalogCommand.d.ts +35 -17
  38. package/dist-types/ts3.4/commands/UpdateNamedQueryCommand.d.ts +35 -17
  39. package/dist-types/ts3.4/commands/UpdatePreparedStatementCommand.d.ts +39 -17
  40. package/dist-types/ts3.4/commands/UpdateWorkGroupCommand.d.ts +35 -17
  41. package/dist-types/ts3.4/commands/index.d.ts +37 -37
  42. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  43. package/dist-types/ts3.4/index.d.ts +6 -6
  44. package/dist-types/ts3.4/models/AthenaServiceException.d.ts +7 -6
  45. package/dist-types/ts3.4/models/index.d.ts +1 -1
  46. package/dist-types/ts3.4/models/models_0.d.ts +877 -1133
  47. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +11 -4
  48. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  49. package/dist-types/ts3.4/pagination/ListDataCatalogsPaginator.d.ts +11 -4
  50. package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +11 -4
  51. package/dist-types/ts3.4/pagination/ListEngineVersionsPaginator.d.ts +11 -4
  52. package/dist-types/ts3.4/pagination/ListNamedQueriesPaginator.d.ts +11 -4
  53. package/dist-types/ts3.4/pagination/ListPreparedStatementsPaginator.d.ts +11 -4
  54. package/dist-types/ts3.4/pagination/ListQueryExecutionsPaginator.d.ts +11 -4
  55. package/dist-types/ts3.4/pagination/ListTableMetadataPaginator.d.ts +11 -4
  56. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +11 -4
  57. package/dist-types/ts3.4/pagination/ListWorkGroupsPaginator.d.ts +11 -4
  58. package/dist-types/ts3.4/pagination/index.d.ts +11 -11
  59. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +449 -113
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  64. package/package.json +34 -34
@@ -1,110 +1,326 @@
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 { BatchGetNamedQueryCommandInput, BatchGetNamedQueryCommandOutput } from "./commands/BatchGetNamedQueryCommand";
10
- import { BatchGetPreparedStatementCommandInput, BatchGetPreparedStatementCommandOutput } from "./commands/BatchGetPreparedStatementCommand";
11
- import { BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput } from "./commands/BatchGetQueryExecutionCommand";
12
- import { CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput } from "./commands/CreateDataCatalogCommand";
13
- import { CreateNamedQueryCommandInput, CreateNamedQueryCommandOutput } from "./commands/CreateNamedQueryCommand";
14
- import { CreatePreparedStatementCommandInput, CreatePreparedStatementCommandOutput } from "./commands/CreatePreparedStatementCommand";
15
- import { CreateWorkGroupCommandInput, CreateWorkGroupCommandOutput } from "./commands/CreateWorkGroupCommand";
16
- import { DeleteDataCatalogCommandInput, DeleteDataCatalogCommandOutput } from "./commands/DeleteDataCatalogCommand";
17
- import { DeleteNamedQueryCommandInput, DeleteNamedQueryCommandOutput } from "./commands/DeleteNamedQueryCommand";
18
- import { DeletePreparedStatementCommandInput, DeletePreparedStatementCommandOutput } from "./commands/DeletePreparedStatementCommand";
19
- import { DeleteWorkGroupCommandInput, DeleteWorkGroupCommandOutput } from "./commands/DeleteWorkGroupCommand";
20
- import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand";
21
- import { GetDataCatalogCommandInput, GetDataCatalogCommandOutput } from "./commands/GetDataCatalogCommand";
22
- import { GetNamedQueryCommandInput, GetNamedQueryCommandOutput } from "./commands/GetNamedQueryCommand";
23
- import { GetPreparedStatementCommandInput, GetPreparedStatementCommandOutput } from "./commands/GetPreparedStatementCommand";
24
- import { GetQueryExecutionCommandInput, GetQueryExecutionCommandOutput } from "./commands/GetQueryExecutionCommand";
25
- import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
26
- import { GetQueryRuntimeStatisticsCommandInput, GetQueryRuntimeStatisticsCommandOutput } from "./commands/GetQueryRuntimeStatisticsCommand";
27
- import { GetTableMetadataCommandInput, GetTableMetadataCommandOutput } from "./commands/GetTableMetadataCommand";
28
- import { GetWorkGroupCommandInput, GetWorkGroupCommandOutput } from "./commands/GetWorkGroupCommand";
29
- import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
30
- import { ListDataCatalogsCommandInput, ListDataCatalogsCommandOutput } from "./commands/ListDataCatalogsCommand";
31
- import { ListEngineVersionsCommandInput, ListEngineVersionsCommandOutput } from "./commands/ListEngineVersionsCommand";
32
- import { ListNamedQueriesCommandInput, ListNamedQueriesCommandOutput } from "./commands/ListNamedQueriesCommand";
33
- import { ListPreparedStatementsCommandInput, ListPreparedStatementsCommandOutput } from "./commands/ListPreparedStatementsCommand";
34
- import { ListQueryExecutionsCommandInput, ListQueryExecutionsCommandOutput } from "./commands/ListQueryExecutionsCommand";
35
- import { ListTableMetadataCommandInput, ListTableMetadataCommandOutput } from "./commands/ListTableMetadataCommand";
36
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
37
- import { ListWorkGroupsCommandInput, ListWorkGroupsCommandOutput } from "./commands/ListWorkGroupsCommand";
38
- import { StartQueryExecutionCommandInput, StartQueryExecutionCommandOutput } from "./commands/StartQueryExecutionCommand";
39
- import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from "./commands/StopQueryExecutionCommand";
40
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
41
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
42
- import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "./commands/UpdateDataCatalogCommand";
43
- import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "./commands/UpdateNamedQueryCommand";
44
- import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "./commands/UpdatePreparedStatementCommand";
45
- import { UpdateWorkGroupCommandInput, UpdateWorkGroupCommandOutput } from "./commands/UpdateWorkGroupCommand";
46
- export declare type ServiceInputTypes = BatchGetNamedQueryCommandInput | BatchGetPreparedStatementCommandInput | BatchGetQueryExecutionCommandInput | CreateDataCatalogCommandInput | CreateNamedQueryCommandInput | CreatePreparedStatementCommandInput | CreateWorkGroupCommandInput | DeleteDataCatalogCommandInput | DeleteNamedQueryCommandInput | DeletePreparedStatementCommandInput | DeleteWorkGroupCommandInput | GetDataCatalogCommandInput | GetDatabaseCommandInput | GetNamedQueryCommandInput | GetPreparedStatementCommandInput | GetQueryExecutionCommandInput | GetQueryResultsCommandInput | GetQueryRuntimeStatisticsCommandInput | GetTableMetadataCommandInput | GetWorkGroupCommandInput | ListDataCatalogsCommandInput | ListDatabasesCommandInput | ListEngineVersionsCommandInput | ListNamedQueriesCommandInput | ListPreparedStatementsCommandInput | ListQueryExecutionsCommandInput | ListTableMetadataCommandInput | ListTagsForResourceCommandInput | ListWorkGroupsCommandInput | StartQueryExecutionCommandInput | StopQueryExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataCatalogCommandInput | UpdateNamedQueryCommandInput | UpdatePreparedStatementCommandInput | UpdateWorkGroupCommandInput;
47
- export declare type ServiceOutputTypes = BatchGetNamedQueryCommandOutput | BatchGetPreparedStatementCommandOutput | BatchGetQueryExecutionCommandOutput | CreateDataCatalogCommandOutput | CreateNamedQueryCommandOutput | CreatePreparedStatementCommandOutput | CreateWorkGroupCommandOutput | DeleteDataCatalogCommandOutput | DeleteNamedQueryCommandOutput | DeletePreparedStatementCommandOutput | DeleteWorkGroupCommandOutput | GetDataCatalogCommandOutput | GetDatabaseCommandOutput | GetNamedQueryCommandOutput | GetPreparedStatementCommandOutput | GetQueryExecutionCommandOutput | GetQueryResultsCommandOutput | GetQueryRuntimeStatisticsCommandOutput | GetTableMetadataCommandOutput | GetWorkGroupCommandOutput | ListDataCatalogsCommandOutput | ListDatabasesCommandOutput | ListEngineVersionsCommandOutput | ListNamedQueriesCommandOutput | ListPreparedStatementsCommandOutput | ListQueryExecutionsCommandOutput | ListTableMetadataCommandOutput | ListTagsForResourceCommandOutput | ListWorkGroupsCommandOutput | StartQueryExecutionCommandOutput | StopQueryExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataCatalogCommandOutput | UpdateNamedQueryCommandOutput | UpdatePreparedStatementCommandOutput | UpdateWorkGroupCommandOutput;
48
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
49
-
50
- requestHandler?: __HttpHandler;
51
-
52
- sha256?: __HashConstructor;
53
-
54
- urlParser?: __UrlParser;
55
-
56
- bodyLengthChecker?: __BodyLengthCalculator;
57
-
58
- streamCollector?: __StreamCollector;
59
-
60
- base64Decoder?: __Decoder;
61
-
62
- base64Encoder?: __Encoder;
63
-
64
- utf8Decoder?: __Decoder;
65
-
66
- utf8Encoder?: __Encoder;
67
-
68
- runtime?: string;
69
-
70
- disableHostPrefix?: boolean;
71
-
72
- maxAttempts?: number | __Provider<number>;
73
-
74
- retryMode?: string | __Provider<string>;
75
-
76
- logger?: __Logger;
77
-
78
- useDualstackEndpoint?: boolean | __Provider<boolean>;
79
-
80
- useFipsEndpoint?: boolean | __Provider<boolean>;
81
-
82
- serviceId?: string;
83
-
84
- region?: string | __Provider<string>;
85
-
86
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
87
-
88
- regionInfoProvider?: RegionInfoProvider;
89
-
90
- defaultUserAgentProvider?: Provider<__UserAgent>;
91
-
92
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
93
- }
94
- declare type AthenaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
95
-
96
- export interface AthenaClientConfig extends AthenaClientConfigType {
97
- }
98
- declare type AthenaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
99
-
100
- export interface AthenaClientResolvedConfig extends AthenaClientResolvedConfigType {
101
- }
102
-
103
- export declare class AthenaClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AthenaClientResolvedConfig> {
104
-
105
- readonly config: AthenaClientResolvedConfig;
106
- constructor(configuration: AthenaClientConfig);
107
-
108
- destroy(): void;
109
- }
110
- 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
+ BatchGetNamedQueryCommandInput,
47
+ BatchGetNamedQueryCommandOutput,
48
+ } from "./commands/BatchGetNamedQueryCommand";
49
+ import {
50
+ BatchGetPreparedStatementCommandInput,
51
+ BatchGetPreparedStatementCommandOutput,
52
+ } from "./commands/BatchGetPreparedStatementCommand";
53
+ import {
54
+ BatchGetQueryExecutionCommandInput,
55
+ BatchGetQueryExecutionCommandOutput,
56
+ } from "./commands/BatchGetQueryExecutionCommand";
57
+ import {
58
+ CreateDataCatalogCommandInput,
59
+ CreateDataCatalogCommandOutput,
60
+ } from "./commands/CreateDataCatalogCommand";
61
+ import {
62
+ CreateNamedQueryCommandInput,
63
+ CreateNamedQueryCommandOutput,
64
+ } from "./commands/CreateNamedQueryCommand";
65
+ import {
66
+ CreatePreparedStatementCommandInput,
67
+ CreatePreparedStatementCommandOutput,
68
+ } from "./commands/CreatePreparedStatementCommand";
69
+ import {
70
+ CreateWorkGroupCommandInput,
71
+ CreateWorkGroupCommandOutput,
72
+ } from "./commands/CreateWorkGroupCommand";
73
+ import {
74
+ DeleteDataCatalogCommandInput,
75
+ DeleteDataCatalogCommandOutput,
76
+ } from "./commands/DeleteDataCatalogCommand";
77
+ import {
78
+ DeleteNamedQueryCommandInput,
79
+ DeleteNamedQueryCommandOutput,
80
+ } from "./commands/DeleteNamedQueryCommand";
81
+ import {
82
+ DeletePreparedStatementCommandInput,
83
+ DeletePreparedStatementCommandOutput,
84
+ } from "./commands/DeletePreparedStatementCommand";
85
+ import {
86
+ DeleteWorkGroupCommandInput,
87
+ DeleteWorkGroupCommandOutput,
88
+ } from "./commands/DeleteWorkGroupCommand";
89
+ import {
90
+ GetDatabaseCommandInput,
91
+ GetDatabaseCommandOutput,
92
+ } from "./commands/GetDatabaseCommand";
93
+ import {
94
+ GetDataCatalogCommandInput,
95
+ GetDataCatalogCommandOutput,
96
+ } from "./commands/GetDataCatalogCommand";
97
+ import {
98
+ GetNamedQueryCommandInput,
99
+ GetNamedQueryCommandOutput,
100
+ } from "./commands/GetNamedQueryCommand";
101
+ import {
102
+ GetPreparedStatementCommandInput,
103
+ GetPreparedStatementCommandOutput,
104
+ } from "./commands/GetPreparedStatementCommand";
105
+ import {
106
+ GetQueryExecutionCommandInput,
107
+ GetQueryExecutionCommandOutput,
108
+ } from "./commands/GetQueryExecutionCommand";
109
+ import {
110
+ GetQueryResultsCommandInput,
111
+ GetQueryResultsCommandOutput,
112
+ } from "./commands/GetQueryResultsCommand";
113
+ import {
114
+ GetQueryRuntimeStatisticsCommandInput,
115
+ GetQueryRuntimeStatisticsCommandOutput,
116
+ } from "./commands/GetQueryRuntimeStatisticsCommand";
117
+ import {
118
+ GetTableMetadataCommandInput,
119
+ GetTableMetadataCommandOutput,
120
+ } from "./commands/GetTableMetadataCommand";
121
+ import {
122
+ GetWorkGroupCommandInput,
123
+ GetWorkGroupCommandOutput,
124
+ } from "./commands/GetWorkGroupCommand";
125
+ import {
126
+ ListDatabasesCommandInput,
127
+ ListDatabasesCommandOutput,
128
+ } from "./commands/ListDatabasesCommand";
129
+ import {
130
+ ListDataCatalogsCommandInput,
131
+ ListDataCatalogsCommandOutput,
132
+ } from "./commands/ListDataCatalogsCommand";
133
+ import {
134
+ ListEngineVersionsCommandInput,
135
+ ListEngineVersionsCommandOutput,
136
+ } from "./commands/ListEngineVersionsCommand";
137
+ import {
138
+ ListNamedQueriesCommandInput,
139
+ ListNamedQueriesCommandOutput,
140
+ } from "./commands/ListNamedQueriesCommand";
141
+ import {
142
+ ListPreparedStatementsCommandInput,
143
+ ListPreparedStatementsCommandOutput,
144
+ } from "./commands/ListPreparedStatementsCommand";
145
+ import {
146
+ ListQueryExecutionsCommandInput,
147
+ ListQueryExecutionsCommandOutput,
148
+ } from "./commands/ListQueryExecutionsCommand";
149
+ import {
150
+ ListTableMetadataCommandInput,
151
+ ListTableMetadataCommandOutput,
152
+ } from "./commands/ListTableMetadataCommand";
153
+ import {
154
+ ListTagsForResourceCommandInput,
155
+ ListTagsForResourceCommandOutput,
156
+ } from "./commands/ListTagsForResourceCommand";
157
+ import {
158
+ ListWorkGroupsCommandInput,
159
+ ListWorkGroupsCommandOutput,
160
+ } from "./commands/ListWorkGroupsCommand";
161
+ import {
162
+ StartQueryExecutionCommandInput,
163
+ StartQueryExecutionCommandOutput,
164
+ } from "./commands/StartQueryExecutionCommand";
165
+ import {
166
+ StopQueryExecutionCommandInput,
167
+ StopQueryExecutionCommandOutput,
168
+ } from "./commands/StopQueryExecutionCommand";
169
+ import {
170
+ TagResourceCommandInput,
171
+ TagResourceCommandOutput,
172
+ } from "./commands/TagResourceCommand";
173
+ import {
174
+ UntagResourceCommandInput,
175
+ UntagResourceCommandOutput,
176
+ } from "./commands/UntagResourceCommand";
177
+ import {
178
+ UpdateDataCatalogCommandInput,
179
+ UpdateDataCatalogCommandOutput,
180
+ } from "./commands/UpdateDataCatalogCommand";
181
+ import {
182
+ UpdateNamedQueryCommandInput,
183
+ UpdateNamedQueryCommandOutput,
184
+ } from "./commands/UpdateNamedQueryCommand";
185
+ import {
186
+ UpdatePreparedStatementCommandInput,
187
+ UpdatePreparedStatementCommandOutput,
188
+ } from "./commands/UpdatePreparedStatementCommand";
189
+ import {
190
+ UpdateWorkGroupCommandInput,
191
+ UpdateWorkGroupCommandOutput,
192
+ } from "./commands/UpdateWorkGroupCommand";
193
+ export declare type ServiceInputTypes =
194
+ | BatchGetNamedQueryCommandInput
195
+ | BatchGetPreparedStatementCommandInput
196
+ | BatchGetQueryExecutionCommandInput
197
+ | CreateDataCatalogCommandInput
198
+ | CreateNamedQueryCommandInput
199
+ | CreatePreparedStatementCommandInput
200
+ | CreateWorkGroupCommandInput
201
+ | DeleteDataCatalogCommandInput
202
+ | DeleteNamedQueryCommandInput
203
+ | DeletePreparedStatementCommandInput
204
+ | DeleteWorkGroupCommandInput
205
+ | GetDataCatalogCommandInput
206
+ | GetDatabaseCommandInput
207
+ | GetNamedQueryCommandInput
208
+ | GetPreparedStatementCommandInput
209
+ | GetQueryExecutionCommandInput
210
+ | GetQueryResultsCommandInput
211
+ | GetQueryRuntimeStatisticsCommandInput
212
+ | GetTableMetadataCommandInput
213
+ | GetWorkGroupCommandInput
214
+ | ListDataCatalogsCommandInput
215
+ | ListDatabasesCommandInput
216
+ | ListEngineVersionsCommandInput
217
+ | ListNamedQueriesCommandInput
218
+ | ListPreparedStatementsCommandInput
219
+ | ListQueryExecutionsCommandInput
220
+ | ListTableMetadataCommandInput
221
+ | ListTagsForResourceCommandInput
222
+ | ListWorkGroupsCommandInput
223
+ | StartQueryExecutionCommandInput
224
+ | StopQueryExecutionCommandInput
225
+ | TagResourceCommandInput
226
+ | UntagResourceCommandInput
227
+ | UpdateDataCatalogCommandInput
228
+ | UpdateNamedQueryCommandInput
229
+ | UpdatePreparedStatementCommandInput
230
+ | UpdateWorkGroupCommandInput;
231
+ export declare type ServiceOutputTypes =
232
+ | BatchGetNamedQueryCommandOutput
233
+ | BatchGetPreparedStatementCommandOutput
234
+ | BatchGetQueryExecutionCommandOutput
235
+ | CreateDataCatalogCommandOutput
236
+ | CreateNamedQueryCommandOutput
237
+ | CreatePreparedStatementCommandOutput
238
+ | CreateWorkGroupCommandOutput
239
+ | DeleteDataCatalogCommandOutput
240
+ | DeleteNamedQueryCommandOutput
241
+ | DeletePreparedStatementCommandOutput
242
+ | DeleteWorkGroupCommandOutput
243
+ | GetDataCatalogCommandOutput
244
+ | GetDatabaseCommandOutput
245
+ | GetNamedQueryCommandOutput
246
+ | GetPreparedStatementCommandOutput
247
+ | GetQueryExecutionCommandOutput
248
+ | GetQueryResultsCommandOutput
249
+ | GetQueryRuntimeStatisticsCommandOutput
250
+ | GetTableMetadataCommandOutput
251
+ | GetWorkGroupCommandOutput
252
+ | ListDataCatalogsCommandOutput
253
+ | ListDatabasesCommandOutput
254
+ | ListEngineVersionsCommandOutput
255
+ | ListNamedQueriesCommandOutput
256
+ | ListPreparedStatementsCommandOutput
257
+ | ListQueryExecutionsCommandOutput
258
+ | ListTableMetadataCommandOutput
259
+ | ListTagsForResourceCommandOutput
260
+ | ListWorkGroupsCommandOutput
261
+ | StartQueryExecutionCommandOutput
262
+ | StopQueryExecutionCommandOutput
263
+ | TagResourceCommandOutput
264
+ | UntagResourceCommandOutput
265
+ | UpdateDataCatalogCommandOutput
266
+ | UpdateNamedQueryCommandOutput
267
+ | UpdatePreparedStatementCommandOutput
268
+ | UpdateWorkGroupCommandOutput;
269
+ export interface ClientDefaults
270
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
271
+ requestHandler?: __HttpHandler;
272
+ sha256?: __HashConstructor;
273
+ urlParser?: __UrlParser;
274
+ bodyLengthChecker?: __BodyLengthCalculator;
275
+ streamCollector?: __StreamCollector;
276
+ base64Decoder?: __Decoder;
277
+ base64Encoder?: __Encoder;
278
+ utf8Decoder?: __Decoder;
279
+ utf8Encoder?: __Encoder;
280
+ runtime?: string;
281
+ disableHostPrefix?: boolean;
282
+ maxAttempts?: number | __Provider<number>;
283
+ retryMode?: string | __Provider<string>;
284
+ logger?: __Logger;
285
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
286
+ useFipsEndpoint?: boolean | __Provider<boolean>;
287
+ serviceId?: string;
288
+ region?: string | __Provider<string>;
289
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
290
+ regionInfoProvider?: RegionInfoProvider;
291
+ defaultUserAgentProvider?: Provider<__UserAgent>;
292
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
293
+ }
294
+ declare type AthenaClientConfigType = Partial<
295
+ __SmithyConfiguration<__HttpHandlerOptions>
296
+ > &
297
+ ClientDefaults &
298
+ RegionInputConfig &
299
+ EndpointsInputConfig &
300
+ RetryInputConfig &
301
+ HostHeaderInputConfig &
302
+ AwsAuthInputConfig &
303
+ UserAgentInputConfig;
304
+ export interface AthenaClientConfig extends AthenaClientConfigType {}
305
+ declare type AthenaClientResolvedConfigType =
306
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
307
+ Required<ClientDefaults> &
308
+ RegionResolvedConfig &
309
+ EndpointsResolvedConfig &
310
+ RetryResolvedConfig &
311
+ HostHeaderResolvedConfig &
312
+ AwsAuthResolvedConfig &
313
+ UserAgentResolvedConfig;
314
+ export interface AthenaClientResolvedConfig
315
+ extends AthenaClientResolvedConfigType {}
316
+ export declare class AthenaClient extends __Client<
317
+ __HttpHandlerOptions,
318
+ ServiceInputTypes,
319
+ ServiceOutputTypes,
320
+ AthenaClientResolvedConfig
321
+ > {
322
+ readonly config: AthenaClientResolvedConfig;
323
+ constructor(configuration: AthenaClientConfig);
324
+ destroy(): void;
325
+ }
326
+ export {};
@@ -1,17 +1,36 @@
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 { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
4
- import { BatchGetNamedQueryInput, BatchGetNamedQueryOutput } from "../models/models_0";
5
- export interface BatchGetNamedQueryCommandInput extends BatchGetNamedQueryInput {
6
- }
7
- export interface BatchGetNamedQueryCommandOutput extends BatchGetNamedQueryOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class BatchGetNamedQueryCommand extends $Command<BatchGetNamedQueryCommandInput, BatchGetNamedQueryCommandOutput, AthenaClientResolvedConfig> {
11
- readonly input: BatchGetNamedQueryCommandInput;
12
- constructor(input: BatchGetNamedQueryCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetNamedQueryCommandInput, BatchGetNamedQueryCommandOutput>;
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
+ AthenaClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../AthenaClient";
13
+ import {
14
+ BatchGetNamedQueryInput,
15
+ BatchGetNamedQueryOutput,
16
+ } from "../models/models_0";
17
+ export interface BatchGetNamedQueryCommandInput
18
+ extends BatchGetNamedQueryInput {}
19
+ export interface BatchGetNamedQueryCommandOutput
20
+ extends BatchGetNamedQueryOutput,
21
+ __MetadataBearer {}
22
+ export declare class BatchGetNamedQueryCommand extends $Command<
23
+ BatchGetNamedQueryCommandInput,
24
+ BatchGetNamedQueryCommandOutput,
25
+ AthenaClientResolvedConfig
26
+ > {
27
+ readonly input: BatchGetNamedQueryCommandInput;
28
+ constructor(input: BatchGetNamedQueryCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: AthenaClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<BatchGetNamedQueryCommandInput, BatchGetNamedQueryCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -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 { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
4
- import { BatchGetPreparedStatementInput, BatchGetPreparedStatementOutput } from "../models/models_0";
5
- export interface BatchGetPreparedStatementCommandInput extends BatchGetPreparedStatementInput {
6
- }
7
- export interface BatchGetPreparedStatementCommandOutput extends BatchGetPreparedStatementOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class BatchGetPreparedStatementCommand extends $Command<BatchGetPreparedStatementCommandInput, BatchGetPreparedStatementCommandOutput, AthenaClientResolvedConfig> {
11
- readonly input: BatchGetPreparedStatementCommandInput;
12
- constructor(input: BatchGetPreparedStatementCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetPreparedStatementCommandInput, BatchGetPreparedStatementCommandOutput>;
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
+ AthenaClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../AthenaClient";
13
+ import {
14
+ BatchGetPreparedStatementInput,
15
+ BatchGetPreparedStatementOutput,
16
+ } from "../models/models_0";
17
+ export interface BatchGetPreparedStatementCommandInput
18
+ extends BatchGetPreparedStatementInput {}
19
+ export interface BatchGetPreparedStatementCommandOutput
20
+ extends BatchGetPreparedStatementOutput,
21
+ __MetadataBearer {}
22
+ export declare class BatchGetPreparedStatementCommand extends $Command<
23
+ BatchGetPreparedStatementCommandInput,
24
+ BatchGetPreparedStatementCommandOutput,
25
+ AthenaClientResolvedConfig
26
+ > {
27
+ readonly input: BatchGetPreparedStatementCommandInput;
28
+ constructor(input: BatchGetPreparedStatementCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: AthenaClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ BatchGetPreparedStatementCommandInput,
35
+ BatchGetPreparedStatementCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -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 { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
4
- import { BatchGetQueryExecutionInput, BatchGetQueryExecutionOutput } from "../models/models_0";
5
- export interface BatchGetQueryExecutionCommandInput extends BatchGetQueryExecutionInput {
6
- }
7
- export interface BatchGetQueryExecutionCommandOutput extends BatchGetQueryExecutionOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class BatchGetQueryExecutionCommand extends $Command<BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput, AthenaClientResolvedConfig> {
11
- readonly input: BatchGetQueryExecutionCommandInput;
12
- constructor(input: BatchGetQueryExecutionCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput>;
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
+ AthenaClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../AthenaClient";
13
+ import {
14
+ BatchGetQueryExecutionInput,
15
+ BatchGetQueryExecutionOutput,
16
+ } from "../models/models_0";
17
+ export interface BatchGetQueryExecutionCommandInput
18
+ extends BatchGetQueryExecutionInput {}
19
+ export interface BatchGetQueryExecutionCommandOutput
20
+ extends BatchGetQueryExecutionOutput,
21
+ __MetadataBearer {}
22
+ export declare class BatchGetQueryExecutionCommand extends $Command<
23
+ BatchGetQueryExecutionCommandInput,
24
+ BatchGetQueryExecutionCommandOutput,
25
+ AthenaClientResolvedConfig
26
+ > {
27
+ readonly input: BatchGetQueryExecutionCommandInput;
28
+ constructor(input: BatchGetQueryExecutionCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: AthenaClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ BatchGetQueryExecutionCommandInput,
35
+ BatchGetQueryExecutionCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }