@aws-sdk/client-athena 3.50.0 → 3.53.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 (73) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/AthenaServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +77 -3
  5. package/dist-cjs/protocols/Aws_json1_1.js +267 -856
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/AthenaServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +70 -1
  9. package/dist-es/protocols/Aws_json1_1.js +619 -983
  10. package/dist-types/Athena.d.ts +0 -6
  11. package/dist-types/commands/GetQueryResultsCommand.d.ts +0 -6
  12. package/dist-types/index.d.ts +1 -0
  13. package/dist-types/models/AthenaServiceException.d.ts +10 -0
  14. package/dist-types/models/models_0.d.ts +52 -25
  15. package/dist-types/ts3.4/Athena.d.ts +175 -0
  16. package/dist-types/ts3.4/AthenaClient.d.ts +107 -0
  17. package/dist-types/ts3.4/commands/BatchGetNamedQueryCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/BatchGetQueryExecutionCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateDataCatalogCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateNamedQueryCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreatePreparedStatementCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateWorkGroupCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DeleteDataCatalogCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteNamedQueryCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeletePreparedStatementCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteWorkGroupCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/GetDataCatalogCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/GetNamedQueryCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/GetPreparedStatementCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/GetQueryExecutionCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/GetTableMetadataCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/GetWorkGroupCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/ListDataCatalogsCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/ListNamedQueriesCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/ListPreparedStatementsCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/ListQueryExecutionsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ListTableMetadataCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListWorkGroupsCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/StartQueryExecutionCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/StopQueryExecutionCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/UpdateDataCatalogCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/UpdatePreparedStatementCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/UpdateWorkGroupCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  52. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  53. package/dist-types/ts3.4/index.d.ts +6 -0
  54. package/dist-types/ts3.4/models/AthenaServiceException.d.ts +6 -0
  55. package/dist-types/ts3.4/models/index.d.ts +1 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +1180 -0
  57. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +4 -0
  58. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  59. package/dist-types/ts3.4/pagination/ListDataCatalogsPaginator.d.ts +4 -0
  60. package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +4 -0
  61. package/dist-types/ts3.4/pagination/ListNamedQueriesPaginator.d.ts +4 -0
  62. package/dist-types/ts3.4/pagination/ListPreparedStatementsPaginator.d.ts +4 -0
  63. package/dist-types/ts3.4/pagination/ListQueryExecutionsPaginator.d.ts +4 -0
  64. package/dist-types/ts3.4/pagination/ListTableMetadataPaginator.d.ts +4 -0
  65. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  66. package/dist-types/ts3.4/pagination/ListWorkGroupsPaginator.d.ts +4 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  68. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +104 -0
  69. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  70. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  71. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  72. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  73. package/package.json +33 -33
@@ -174,12 +174,6 @@ export declare class Athena extends AthenaClient {
174
174
  * <code>QueryExecutionId</code> from the Athena query results location in
175
175
  * Amazon S3. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Query Results</a> in the <i>Amazon Athena User Guide</i>. This request does not execute the query
176
176
  * but returns results. Use <a>StartQueryExecution</a> to run a query.</p>
177
- * <p>If the original query execution ran using an <a>ResultConfiguration$ExpectedBucketOwner</a> setting, the setting also
178
- * applies to Amazon S3 read operations when <code>GetQueryResults</code> is
179
- * called. If an expected bucket owner has been specified and the query results are in an
180
- * Amazon S3 bucket whose owner account ID is different from the expected
181
- * bucket owner, the <code>GetQueryResults</code> call fails with an Amazon S3
182
- * permissions error.</p>
183
177
  * <p>To stream query results successfully, the IAM principal with permission to call
184
178
  * <code>GetQueryResults</code> also must have permissions to the Amazon S3
185
179
  * <code>GetObject</code> action for the Athena query results location.</p>
@@ -11,12 +11,6 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsOutput, __M
11
11
  * <code>QueryExecutionId</code> from the Athena query results location in
12
12
  * Amazon S3. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Query Results</a> in the <i>Amazon Athena User Guide</i>. This request does not execute the query
13
13
  * but returns results. Use <a>StartQueryExecution</a> to run a query.</p>
14
- * <p>If the original query execution ran using an <a>ResultConfiguration$ExpectedBucketOwner</a> setting, the setting also
15
- * applies to Amazon S3 read operations when <code>GetQueryResults</code> is
16
- * called. If an expected bucket owner has been specified and the query results are in an
17
- * Amazon S3 bucket whose owner account ID is different from the expected
18
- * bucket owner, the <code>GetQueryResults</code> call fails with an Amazon S3
19
- * permissions error.</p>
20
14
  * <p>To stream query results successfully, the IAM principal with permission to call
21
15
  * <code>GetQueryResults</code> also must have permissions to the Amazon S3
22
16
  * <code>GetObject</code> action for the Athena query results location.</p>
@@ -3,3 +3,4 @@ export * from "./AthenaClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { AthenaServiceException } from "./models/AthenaServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Athena service.
4
+ */
5
+ export declare class AthenaServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AthenaServiceException as __BaseException } from "./AthenaServiceException";
2
3
  export interface BatchGetNamedQueryInput {
3
4
  /**
4
5
  * <p>An array of query IDs.</p>
@@ -92,24 +93,32 @@ export declare namespace BatchGetNamedQueryOutput {
92
93
  * <p>Indicates a platform issue, which may be due to a transient condition or
93
94
  * outage.</p>
94
95
  */
95
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
96
- name: "InternalServerException";
97
- $fault: "server";
96
+ export declare class InternalServerException extends __BaseException {
97
+ readonly name: "InternalServerException";
98
+ readonly $fault: "server";
98
99
  Message?: string;
100
+ /**
101
+ * @internal
102
+ */
103
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
99
104
  }
100
105
  /**
101
106
  * <p>Indicates that something is wrong with the input to the request. For example, a
102
107
  * required parameter may be missing or out of range.</p>
103
108
  */
104
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
105
- name: "InvalidRequestException";
106
- $fault: "client";
109
+ export declare class InvalidRequestException extends __BaseException {
110
+ readonly name: "InvalidRequestException";
111
+ readonly $fault: "client";
107
112
  /**
108
113
  * <p>The error code returned when the query execution failed to process, or when the
109
114
  * processing request for the named query failed.</p>
110
115
  */
111
116
  AthenaErrorCode?: string;
112
117
  Message?: string;
118
+ /**
119
+ * @internal
120
+ */
121
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
113
122
  }
114
123
  export interface BatchGetQueryExecutionInput {
115
124
  /**
@@ -229,7 +238,7 @@ export interface ResultConfiguration {
229
238
  * <p>The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by <a>ResultConfiguration$OutputLocation</a>.
230
239
  * If set, Athena uses the value for <code>ExpectedBucketOwner</code> when it
231
240
  * makes Amazon S3 calls to your specified output location. If the
232
- * <code>ExpectedBucketOwner</code>
241
+ * <code>ExpectedBucketOwner</code>
233
242
  * Amazon Web Services account ID does not match the actual owner of the Amazon S3
234
243
  * bucket, the call fails with a permissions error.</p>
235
244
  * <p>This is a client-side setting. If workgroup settings override client-side settings,
@@ -323,6 +332,12 @@ export interface AthenaError {
323
332
  * <b>3</b> - Unknown</p>
324
333
  */
325
334
  ErrorCategory?: number;
335
+ /**
336
+ * <p>An integer value that provides specific information about an Athena query
337
+ * error. For the meaning of specific values, see the <a href="https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference">Error Type Reference</a> in the <i>Amazon Athena User
338
+ * Guide</i>.</p>
339
+ */
340
+ ErrorType?: number;
326
341
  }
327
342
  export declare namespace AthenaError {
328
343
  /**
@@ -872,11 +887,15 @@ export declare namespace DeletePreparedStatementOutput {
872
887
  /**
873
888
  * <p>A resource, such as a workgroup, was not found.</p>
874
889
  */
875
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
876
- name: "ResourceNotFoundException";
877
- $fault: "client";
890
+ export declare class ResourceNotFoundException extends __BaseException {
891
+ readonly name: "ResourceNotFoundException";
892
+ readonly $fault: "client";
878
893
  Message?: string;
879
894
  ResourceName?: string;
895
+ /**
896
+ * @internal
897
+ */
898
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
880
899
  }
881
900
  export interface DeleteWorkGroupInput {
882
901
  /**
@@ -964,10 +983,14 @@ export declare namespace GetDatabaseOutput {
964
983
  * Lambda
965
984
  * <code>4XX</code> exception is returned in a <code>MetadataException</code>.</p>
966
985
  */
967
- export interface MetadataException extends __SmithyException, $MetadataBearer {
968
- name: "MetadataException";
969
- $fault: "client";
986
+ export declare class MetadataException extends __BaseException {
987
+ readonly name: "MetadataException";
988
+ readonly $fault: "client";
970
989
  Message?: string;
990
+ /**
991
+ * @internal
992
+ */
993
+ constructor(opts: __ExceptionOptionType<MetadataException, __BaseException>);
971
994
  }
972
995
  export interface GetDataCatalogInput {
973
996
  /**
@@ -2027,15 +2050,19 @@ export declare enum ThrottleReason {
2027
2050
  /**
2028
2051
  * <p>Indicates that the request was throttled.</p>
2029
2052
  */
2030
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
2031
- name: "TooManyRequestsException";
2032
- $fault: "client";
2053
+ export declare class TooManyRequestsException extends __BaseException {
2054
+ readonly name: "TooManyRequestsException";
2055
+ readonly $fault: "client";
2033
2056
  Message?: string;
2034
2057
  /**
2035
2058
  * <p>The reason for the query throttling, for example, when it exceeds the concurrent query
2036
2059
  * limit.</p>
2037
2060
  */
2038
2061
  Reason?: ThrottleReason | string;
2062
+ /**
2063
+ * @internal
2064
+ */
2065
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
2039
2066
  }
2040
2067
  export interface StopQueryExecutionInput {
2041
2068
  /**
@@ -2235,9 +2262,9 @@ export interface ResultConfigurationUpdates {
2235
2262
  * <p>If set to "true", indicates that the previously-specified query results location (also
2236
2263
  * known as a client-side setting) for queries in this workgroup should be ignored and set
2237
2264
  * to null. If set to "false" or not set, and a value is present in the
2238
- * <code>OutputLocation</code> in <code>ResultConfigurationUpdates</code> (the
2265
+ * <code>OutputLocation</code> in <code>ResultConfigurationUpdates</code> (the
2239
2266
  * client-side setting), the <code>OutputLocation</code> in the workgroup's
2240
- * <code>ResultConfiguration</code> is updated with the new value. For more
2267
+ * <code>ResultConfiguration</code> will be updated with the new value. For more
2241
2268
  * information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override
2242
2269
  * Client-Side Settings</a>.</p>
2243
2270
  */
@@ -2252,7 +2279,7 @@ export interface ResultConfigurationUpdates {
2252
2279
  * and set to null. If set to "false" or not set, and a value is present in the
2253
2280
  * <code>EncryptionConfiguration</code> in <code>ResultConfigurationUpdates</code> (the
2254
2281
  * client-side setting), the <code>EncryptionConfiguration</code> in the workgroup's
2255
- * <code>ResultConfiguration</code> is updated with the new value. For more
2282
+ * <code>ResultConfiguration</code> will be updated with the new value. For more
2256
2283
  * information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override
2257
2284
  * Client-Side Settings</a>.</p>
2258
2285
  */
@@ -2261,21 +2288,21 @@ export interface ResultConfigurationUpdates {
2261
2288
  * <p>The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by <a>ResultConfiguration$OutputLocation</a>.
2262
2289
  * If set, Athena uses the value for <code>ExpectedBucketOwner</code> when it
2263
2290
  * makes Amazon S3 calls to your specified output location. If the
2264
- * <code>ExpectedBucketOwner</code>
2291
+ * <code>ExpectedBucketOwner</code>
2265
2292
  * Amazon Web Services account ID does not match the actual owner of the Amazon S3
2266
2293
  * bucket, the call fails with a permissions error.</p>
2267
2294
  *
2268
2295
  * <p>If workgroup settings override client-side settings, then the query uses the
2269
- * <code>ExpectedBucketOwner</code> setting that is specified for the workgroup, and
2296
+ * <code>ExpectedBucketOwner</code> setting that is specified for the workgroup, and
2270
2297
  * also uses the location for storing query results specified in the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a> and <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override Client-Side Settings</a>.</p>
2271
2298
  */
2272
2299
  ExpectedBucketOwner?: string;
2273
2300
  /**
2274
2301
  * <p>If set to "true", removes the Amazon Web Services account ID previously specified for
2275
- * <a>ResultConfiguration$ExpectedBucketOwner</a>. If set to "false" or not
2302
+ * <a>ResultConfiguration$ExpectedBucketOwner</a>. If set to "false" or not
2276
2303
  * set, and a value is present in the <code>ExpectedBucketOwner</code> in
2277
- * <code>ResultConfigurationUpdates</code> (the client-side setting), the
2278
- * <code>ExpectedBucketOwner</code> in the workgroup's <code>ResultConfiguration</code>
2304
+ * <code>ResultConfigurationUpdates</code> (the client-side setting), the
2305
+ * <code>ExpectedBucketOwner</code> in the workgroup's <code>ResultConfiguration</code>
2279
2306
  * is updated with the new value. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override
2280
2307
  * Client-Side Settings</a>.</p>
2281
2308
  */
@@ -0,0 +1,175 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { AthenaClient } from "./AthenaClient";
3
+ import { BatchGetNamedQueryCommandInput, BatchGetNamedQueryCommandOutput } from "./commands/BatchGetNamedQueryCommand";
4
+ import { BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput } from "./commands/BatchGetQueryExecutionCommand";
5
+ import { CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput } from "./commands/CreateDataCatalogCommand";
6
+ import { CreateNamedQueryCommandInput, CreateNamedQueryCommandOutput } from "./commands/CreateNamedQueryCommand";
7
+ import { CreatePreparedStatementCommandInput, CreatePreparedStatementCommandOutput } from "./commands/CreatePreparedStatementCommand";
8
+ import { CreateWorkGroupCommandInput, CreateWorkGroupCommandOutput } from "./commands/CreateWorkGroupCommand";
9
+ import { DeleteDataCatalogCommandInput, DeleteDataCatalogCommandOutput } from "./commands/DeleteDataCatalogCommand";
10
+ import { DeleteNamedQueryCommandInput, DeleteNamedQueryCommandOutput } from "./commands/DeleteNamedQueryCommand";
11
+ import { DeletePreparedStatementCommandInput, DeletePreparedStatementCommandOutput } from "./commands/DeletePreparedStatementCommand";
12
+ import { DeleteWorkGroupCommandInput, DeleteWorkGroupCommandOutput } from "./commands/DeleteWorkGroupCommand";
13
+ import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand";
14
+ import { GetDataCatalogCommandInput, GetDataCatalogCommandOutput } from "./commands/GetDataCatalogCommand";
15
+ import { GetNamedQueryCommandInput, GetNamedQueryCommandOutput } from "./commands/GetNamedQueryCommand";
16
+ import { GetPreparedStatementCommandInput, GetPreparedStatementCommandOutput } from "./commands/GetPreparedStatementCommand";
17
+ import { GetQueryExecutionCommandInput, GetQueryExecutionCommandOutput } from "./commands/GetQueryExecutionCommand";
18
+ import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
19
+ import { GetTableMetadataCommandInput, GetTableMetadataCommandOutput } from "./commands/GetTableMetadataCommand";
20
+ import { GetWorkGroupCommandInput, GetWorkGroupCommandOutput } from "./commands/GetWorkGroupCommand";
21
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
22
+ import { ListDataCatalogsCommandInput, ListDataCatalogsCommandOutput } from "./commands/ListDataCatalogsCommand";
23
+ import { ListEngineVersionsCommandInput, ListEngineVersionsCommandOutput } from "./commands/ListEngineVersionsCommand";
24
+ import { ListNamedQueriesCommandInput, ListNamedQueriesCommandOutput } from "./commands/ListNamedQueriesCommand";
25
+ import { ListPreparedStatementsCommandInput, ListPreparedStatementsCommandOutput } from "./commands/ListPreparedStatementsCommand";
26
+ import { ListQueryExecutionsCommandInput, ListQueryExecutionsCommandOutput } from "./commands/ListQueryExecutionsCommand";
27
+ import { ListTableMetadataCommandInput, ListTableMetadataCommandOutput } from "./commands/ListTableMetadataCommand";
28
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
29
+ import { ListWorkGroupsCommandInput, ListWorkGroupsCommandOutput } from "./commands/ListWorkGroupsCommand";
30
+ import { StartQueryExecutionCommandInput, StartQueryExecutionCommandOutput } from "./commands/StartQueryExecutionCommand";
31
+ import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from "./commands/StopQueryExecutionCommand";
32
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
33
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
34
+ import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "./commands/UpdateDataCatalogCommand";
35
+ import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "./commands/UpdatePreparedStatementCommand";
36
+ import { UpdateWorkGroupCommandInput, UpdateWorkGroupCommandOutput } from "./commands/UpdateWorkGroupCommand";
37
+
38
+ export declare class Athena extends AthenaClient {
39
+
40
+ batchGetNamedQuery(args: BatchGetNamedQueryCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetNamedQueryCommandOutput>;
41
+ batchGetNamedQuery(args: BatchGetNamedQueryCommandInput, cb: (err: any, data?: BatchGetNamedQueryCommandOutput) => void): void;
42
+ batchGetNamedQuery(args: BatchGetNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetNamedQueryCommandOutput) => void): void;
43
+
44
+ batchGetQueryExecution(args: BatchGetQueryExecutionCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetQueryExecutionCommandOutput>;
45
+ batchGetQueryExecution(args: BatchGetQueryExecutionCommandInput, cb: (err: any, data?: BatchGetQueryExecutionCommandOutput) => void): void;
46
+ batchGetQueryExecution(args: BatchGetQueryExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetQueryExecutionCommandOutput) => void): void;
47
+
48
+ createDataCatalog(args: CreateDataCatalogCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataCatalogCommandOutput>;
49
+ createDataCatalog(args: CreateDataCatalogCommandInput, cb: (err: any, data?: CreateDataCatalogCommandOutput) => void): void;
50
+ createDataCatalog(args: CreateDataCatalogCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataCatalogCommandOutput) => void): void;
51
+
52
+ createNamedQuery(args: CreateNamedQueryCommandInput, options?: __HttpHandlerOptions): Promise<CreateNamedQueryCommandOutput>;
53
+ createNamedQuery(args: CreateNamedQueryCommandInput, cb: (err: any, data?: CreateNamedQueryCommandOutput) => void): void;
54
+ createNamedQuery(args: CreateNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNamedQueryCommandOutput) => void): void;
55
+
56
+ createPreparedStatement(args: CreatePreparedStatementCommandInput, options?: __HttpHandlerOptions): Promise<CreatePreparedStatementCommandOutput>;
57
+ createPreparedStatement(args: CreatePreparedStatementCommandInput, cb: (err: any, data?: CreatePreparedStatementCommandOutput) => void): void;
58
+ createPreparedStatement(args: CreatePreparedStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePreparedStatementCommandOutput) => void): void;
59
+
60
+ createWorkGroup(args: CreateWorkGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkGroupCommandOutput>;
61
+ createWorkGroup(args: CreateWorkGroupCommandInput, cb: (err: any, data?: CreateWorkGroupCommandOutput) => void): void;
62
+ createWorkGroup(args: CreateWorkGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkGroupCommandOutput) => void): void;
63
+
64
+ deleteDataCatalog(args: DeleteDataCatalogCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataCatalogCommandOutput>;
65
+ deleteDataCatalog(args: DeleteDataCatalogCommandInput, cb: (err: any, data?: DeleteDataCatalogCommandOutput) => void): void;
66
+ deleteDataCatalog(args: DeleteDataCatalogCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataCatalogCommandOutput) => void): void;
67
+
68
+ deleteNamedQuery(args: DeleteNamedQueryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNamedQueryCommandOutput>;
69
+ deleteNamedQuery(args: DeleteNamedQueryCommandInput, cb: (err: any, data?: DeleteNamedQueryCommandOutput) => void): void;
70
+ deleteNamedQuery(args: DeleteNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNamedQueryCommandOutput) => void): void;
71
+
72
+ deletePreparedStatement(args: DeletePreparedStatementCommandInput, options?: __HttpHandlerOptions): Promise<DeletePreparedStatementCommandOutput>;
73
+ deletePreparedStatement(args: DeletePreparedStatementCommandInput, cb: (err: any, data?: DeletePreparedStatementCommandOutput) => void): void;
74
+ deletePreparedStatement(args: DeletePreparedStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePreparedStatementCommandOutput) => void): void;
75
+
76
+ deleteWorkGroup(args: DeleteWorkGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkGroupCommandOutput>;
77
+ deleteWorkGroup(args: DeleteWorkGroupCommandInput, cb: (err: any, data?: DeleteWorkGroupCommandOutput) => void): void;
78
+ deleteWorkGroup(args: DeleteWorkGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkGroupCommandOutput) => void): void;
79
+
80
+ getDatabase(args: GetDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<GetDatabaseCommandOutput>;
81
+ getDatabase(args: GetDatabaseCommandInput, cb: (err: any, data?: GetDatabaseCommandOutput) => void): void;
82
+ getDatabase(args: GetDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDatabaseCommandOutput) => void): void;
83
+
84
+ getDataCatalog(args: GetDataCatalogCommandInput, options?: __HttpHandlerOptions): Promise<GetDataCatalogCommandOutput>;
85
+ getDataCatalog(args: GetDataCatalogCommandInput, cb: (err: any, data?: GetDataCatalogCommandOutput) => void): void;
86
+ getDataCatalog(args: GetDataCatalogCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataCatalogCommandOutput) => void): void;
87
+
88
+ getNamedQuery(args: GetNamedQueryCommandInput, options?: __HttpHandlerOptions): Promise<GetNamedQueryCommandOutput>;
89
+ getNamedQuery(args: GetNamedQueryCommandInput, cb: (err: any, data?: GetNamedQueryCommandOutput) => void): void;
90
+ getNamedQuery(args: GetNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNamedQueryCommandOutput) => void): void;
91
+
92
+ getPreparedStatement(args: GetPreparedStatementCommandInput, options?: __HttpHandlerOptions): Promise<GetPreparedStatementCommandOutput>;
93
+ getPreparedStatement(args: GetPreparedStatementCommandInput, cb: (err: any, data?: GetPreparedStatementCommandOutput) => void): void;
94
+ getPreparedStatement(args: GetPreparedStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPreparedStatementCommandOutput) => void): void;
95
+
96
+ getQueryExecution(args: GetQueryExecutionCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryExecutionCommandOutput>;
97
+ getQueryExecution(args: GetQueryExecutionCommandInput, cb: (err: any, data?: GetQueryExecutionCommandOutput) => void): void;
98
+ getQueryExecution(args: GetQueryExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryExecutionCommandOutput) => void): void;
99
+
100
+ getQueryResults(args: GetQueryResultsCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryResultsCommandOutput>;
101
+ getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
102
+ getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
103
+
104
+ getTableMetadata(args: GetTableMetadataCommandInput, options?: __HttpHandlerOptions): Promise<GetTableMetadataCommandOutput>;
105
+ getTableMetadata(args: GetTableMetadataCommandInput, cb: (err: any, data?: GetTableMetadataCommandOutput) => void): void;
106
+ getTableMetadata(args: GetTableMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableMetadataCommandOutput) => void): void;
107
+
108
+ getWorkGroup(args: GetWorkGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkGroupCommandOutput>;
109
+ getWorkGroup(args: GetWorkGroupCommandInput, cb: (err: any, data?: GetWorkGroupCommandOutput) => void): void;
110
+ getWorkGroup(args: GetWorkGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkGroupCommandOutput) => void): void;
111
+
112
+ listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
113
+ listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
114
+ listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
115
+
116
+ listDataCatalogs(args: ListDataCatalogsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataCatalogsCommandOutput>;
117
+ listDataCatalogs(args: ListDataCatalogsCommandInput, cb: (err: any, data?: ListDataCatalogsCommandOutput) => void): void;
118
+ listDataCatalogs(args: ListDataCatalogsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataCatalogsCommandOutput) => void): void;
119
+
120
+ listEngineVersions(args: ListEngineVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListEngineVersionsCommandOutput>;
121
+ listEngineVersions(args: ListEngineVersionsCommandInput, cb: (err: any, data?: ListEngineVersionsCommandOutput) => void): void;
122
+ listEngineVersions(args: ListEngineVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEngineVersionsCommandOutput) => void): void;
123
+
124
+ listNamedQueries(args: ListNamedQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListNamedQueriesCommandOutput>;
125
+ listNamedQueries(args: ListNamedQueriesCommandInput, cb: (err: any, data?: ListNamedQueriesCommandOutput) => void): void;
126
+ listNamedQueries(args: ListNamedQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNamedQueriesCommandOutput) => void): void;
127
+
128
+ listPreparedStatements(args: ListPreparedStatementsCommandInput, options?: __HttpHandlerOptions): Promise<ListPreparedStatementsCommandOutput>;
129
+ listPreparedStatements(args: ListPreparedStatementsCommandInput, cb: (err: any, data?: ListPreparedStatementsCommandOutput) => void): void;
130
+ listPreparedStatements(args: ListPreparedStatementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPreparedStatementsCommandOutput) => void): void;
131
+
132
+ listQueryExecutions(args: ListQueryExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListQueryExecutionsCommandOutput>;
133
+ listQueryExecutions(args: ListQueryExecutionsCommandInput, cb: (err: any, data?: ListQueryExecutionsCommandOutput) => void): void;
134
+ listQueryExecutions(args: ListQueryExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueryExecutionsCommandOutput) => void): void;
135
+
136
+ listTableMetadata(args: ListTableMetadataCommandInput, options?: __HttpHandlerOptions): Promise<ListTableMetadataCommandOutput>;
137
+ listTableMetadata(args: ListTableMetadataCommandInput, cb: (err: any, data?: ListTableMetadataCommandOutput) => void): void;
138
+ listTableMetadata(args: ListTableMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTableMetadataCommandOutput) => void): void;
139
+
140
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
141
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
142
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
143
+
144
+ listWorkGroups(args: ListWorkGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkGroupsCommandOutput>;
145
+ listWorkGroups(args: ListWorkGroupsCommandInput, cb: (err: any, data?: ListWorkGroupsCommandOutput) => void): void;
146
+ listWorkGroups(args: ListWorkGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkGroupsCommandOutput) => void): void;
147
+
148
+ startQueryExecution(args: StartQueryExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartQueryExecutionCommandOutput>;
149
+ startQueryExecution(args: StartQueryExecutionCommandInput, cb: (err: any, data?: StartQueryExecutionCommandOutput) => void): void;
150
+ startQueryExecution(args: StartQueryExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartQueryExecutionCommandOutput) => void): void;
151
+
152
+ stopQueryExecution(args: StopQueryExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StopQueryExecutionCommandOutput>;
153
+ stopQueryExecution(args: StopQueryExecutionCommandInput, cb: (err: any, data?: StopQueryExecutionCommandOutput) => void): void;
154
+ stopQueryExecution(args: StopQueryExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopQueryExecutionCommandOutput) => void): void;
155
+
156
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
157
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
158
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
159
+
160
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
161
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
162
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
163
+
164
+ updateDataCatalog(args: UpdateDataCatalogCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataCatalogCommandOutput>;
165
+ updateDataCatalog(args: UpdateDataCatalogCommandInput, cb: (err: any, data?: UpdateDataCatalogCommandOutput) => void): void;
166
+ updateDataCatalog(args: UpdateDataCatalogCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataCatalogCommandOutput) => void): void;
167
+
168
+ updatePreparedStatement(args: UpdatePreparedStatementCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePreparedStatementCommandOutput>;
169
+ updatePreparedStatement(args: UpdatePreparedStatementCommandInput, cb: (err: any, data?: UpdatePreparedStatementCommandOutput) => void): void;
170
+ updatePreparedStatement(args: UpdatePreparedStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePreparedStatementCommandOutput) => void): void;
171
+
172
+ updateWorkGroup(args: UpdateWorkGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkGroupCommandOutput>;
173
+ updateWorkGroup(args: UpdateWorkGroupCommandInput, cb: (err: any, data?: UpdateWorkGroupCommandOutput) => void): void;
174
+ updateWorkGroup(args: UpdateWorkGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkGroupCommandOutput) => void): void;
175
+ }
@@ -0,0 +1,107 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { BatchGetNamedQueryCommandInput, BatchGetNamedQueryCommandOutput } from "./commands/BatchGetNamedQueryCommand";
10
+ import { BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput } from "./commands/BatchGetQueryExecutionCommand";
11
+ import { CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput } from "./commands/CreateDataCatalogCommand";
12
+ import { CreateNamedQueryCommandInput, CreateNamedQueryCommandOutput } from "./commands/CreateNamedQueryCommand";
13
+ import { CreatePreparedStatementCommandInput, CreatePreparedStatementCommandOutput } from "./commands/CreatePreparedStatementCommand";
14
+ import { CreateWorkGroupCommandInput, CreateWorkGroupCommandOutput } from "./commands/CreateWorkGroupCommand";
15
+ import { DeleteDataCatalogCommandInput, DeleteDataCatalogCommandOutput } from "./commands/DeleteDataCatalogCommand";
16
+ import { DeleteNamedQueryCommandInput, DeleteNamedQueryCommandOutput } from "./commands/DeleteNamedQueryCommand";
17
+ import { DeletePreparedStatementCommandInput, DeletePreparedStatementCommandOutput } from "./commands/DeletePreparedStatementCommand";
18
+ import { DeleteWorkGroupCommandInput, DeleteWorkGroupCommandOutput } from "./commands/DeleteWorkGroupCommand";
19
+ import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand";
20
+ import { GetDataCatalogCommandInput, GetDataCatalogCommandOutput } from "./commands/GetDataCatalogCommand";
21
+ import { GetNamedQueryCommandInput, GetNamedQueryCommandOutput } from "./commands/GetNamedQueryCommand";
22
+ import { GetPreparedStatementCommandInput, GetPreparedStatementCommandOutput } from "./commands/GetPreparedStatementCommand";
23
+ import { GetQueryExecutionCommandInput, GetQueryExecutionCommandOutput } from "./commands/GetQueryExecutionCommand";
24
+ import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
25
+ import { GetTableMetadataCommandInput, GetTableMetadataCommandOutput } from "./commands/GetTableMetadataCommand";
26
+ import { GetWorkGroupCommandInput, GetWorkGroupCommandOutput } from "./commands/GetWorkGroupCommand";
27
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
28
+ import { ListDataCatalogsCommandInput, ListDataCatalogsCommandOutput } from "./commands/ListDataCatalogsCommand";
29
+ import { ListEngineVersionsCommandInput, ListEngineVersionsCommandOutput } from "./commands/ListEngineVersionsCommand";
30
+ import { ListNamedQueriesCommandInput, ListNamedQueriesCommandOutput } from "./commands/ListNamedQueriesCommand";
31
+ import { ListPreparedStatementsCommandInput, ListPreparedStatementsCommandOutput } from "./commands/ListPreparedStatementsCommand";
32
+ import { ListQueryExecutionsCommandInput, ListQueryExecutionsCommandOutput } from "./commands/ListQueryExecutionsCommand";
33
+ import { ListTableMetadataCommandInput, ListTableMetadataCommandOutput } from "./commands/ListTableMetadataCommand";
34
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
35
+ import { ListWorkGroupsCommandInput, ListWorkGroupsCommandOutput } from "./commands/ListWorkGroupsCommand";
36
+ import { StartQueryExecutionCommandInput, StartQueryExecutionCommandOutput } from "./commands/StartQueryExecutionCommand";
37
+ import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from "./commands/StopQueryExecutionCommand";
38
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
39
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
40
+ import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "./commands/UpdateDataCatalogCommand";
41
+ import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "./commands/UpdatePreparedStatementCommand";
42
+ import { UpdateWorkGroupCommandInput, UpdateWorkGroupCommandOutput } from "./commands/UpdateWorkGroupCommand";
43
+ export declare type ServiceInputTypes = BatchGetNamedQueryCommandInput | BatchGetQueryExecutionCommandInput | CreateDataCatalogCommandInput | CreateNamedQueryCommandInput | CreatePreparedStatementCommandInput | CreateWorkGroupCommandInput | DeleteDataCatalogCommandInput | DeleteNamedQueryCommandInput | DeletePreparedStatementCommandInput | DeleteWorkGroupCommandInput | GetDataCatalogCommandInput | GetDatabaseCommandInput | GetNamedQueryCommandInput | GetPreparedStatementCommandInput | GetQueryExecutionCommandInput | GetQueryResultsCommandInput | GetTableMetadataCommandInput | GetWorkGroupCommandInput | ListDataCatalogsCommandInput | ListDatabasesCommandInput | ListEngineVersionsCommandInput | ListNamedQueriesCommandInput | ListPreparedStatementsCommandInput | ListQueryExecutionsCommandInput | ListTableMetadataCommandInput | ListTagsForResourceCommandInput | ListWorkGroupsCommandInput | StartQueryExecutionCommandInput | StopQueryExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataCatalogCommandInput | UpdatePreparedStatementCommandInput | UpdateWorkGroupCommandInput;
44
+ export declare type ServiceOutputTypes = BatchGetNamedQueryCommandOutput | BatchGetQueryExecutionCommandOutput | CreateDataCatalogCommandOutput | CreateNamedQueryCommandOutput | CreatePreparedStatementCommandOutput | CreateWorkGroupCommandOutput | DeleteDataCatalogCommandOutput | DeleteNamedQueryCommandOutput | DeletePreparedStatementCommandOutput | DeleteWorkGroupCommandOutput | GetDataCatalogCommandOutput | GetDatabaseCommandOutput | GetNamedQueryCommandOutput | GetPreparedStatementCommandOutput | GetQueryExecutionCommandOutput | GetQueryResultsCommandOutput | GetTableMetadataCommandOutput | GetWorkGroupCommandOutput | ListDataCatalogsCommandOutput | ListDatabasesCommandOutput | ListEngineVersionsCommandOutput | ListNamedQueriesCommandOutput | ListPreparedStatementsCommandOutput | ListQueryExecutionsCommandOutput | ListTableMetadataCommandOutput | ListTagsForResourceCommandOutput | ListWorkGroupsCommandOutput | StartQueryExecutionCommandOutput | StopQueryExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataCatalogCommandOutput | UpdatePreparedStatementCommandOutput | UpdateWorkGroupCommandOutput;
45
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
46
+
47
+ requestHandler?: __HttpHandler;
48
+
49
+ sha256?: __HashConstructor;
50
+
51
+ urlParser?: __UrlParser;
52
+
53
+ bodyLengthChecker?: (body: any) => number | undefined;
54
+
55
+ streamCollector?: __StreamCollector;
56
+
57
+ base64Decoder?: __Decoder;
58
+
59
+ base64Encoder?: __Encoder;
60
+
61
+ utf8Decoder?: __Decoder;
62
+
63
+ utf8Encoder?: __Encoder;
64
+
65
+ runtime?: string;
66
+
67
+ disableHostPrefix?: boolean;
68
+
69
+ maxAttempts?: number | __Provider<number>;
70
+
71
+ retryMode?: string | __Provider<string>;
72
+
73
+ logger?: __Logger;
74
+
75
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
76
+
77
+ useFipsEndpoint?: boolean | __Provider<boolean>;
78
+
79
+ serviceId?: string;
80
+
81
+ region?: string | __Provider<string>;
82
+
83
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
84
+
85
+ regionInfoProvider?: RegionInfoProvider;
86
+
87
+ defaultUserAgentProvider?: Provider<__UserAgent>;
88
+
89
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
90
+ }
91
+ declare type AthenaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
92
+
93
+ export interface AthenaClientConfig extends AthenaClientConfigType {
94
+ }
95
+ declare type AthenaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
96
+
97
+ export interface AthenaClientResolvedConfig extends AthenaClientResolvedConfigType {
98
+ }
99
+
100
+ export declare class AthenaClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AthenaClientResolvedConfig> {
101
+
102
+ readonly config: AthenaClientResolvedConfig;
103
+ constructor(configuration: AthenaClientConfig);
104
+
105
+ destroy(): void;
106
+ }
107
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { 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
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { 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
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
4
+ import { CreateDataCatalogInput, CreateDataCatalogOutput } from "../models/models_0";
5
+ export interface CreateDataCatalogCommandInput extends CreateDataCatalogInput {
6
+ }
7
+ export interface CreateDataCatalogCommandOutput extends CreateDataCatalogOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateDataCatalogCommand extends $Command<CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput, AthenaClientResolvedConfig> {
11
+ readonly input: CreateDataCatalogCommandInput;
12
+ constructor(input: CreateDataCatalogCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
4
+ import { CreateNamedQueryInput, CreateNamedQueryOutput } from "../models/models_0";
5
+ export interface CreateNamedQueryCommandInput extends CreateNamedQueryInput {
6
+ }
7
+ export interface CreateNamedQueryCommandOutput extends CreateNamedQueryOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateNamedQueryCommand extends $Command<CreateNamedQueryCommandInput, CreateNamedQueryCommandOutput, AthenaClientResolvedConfig> {
11
+ readonly input: CreateNamedQueryCommandInput;
12
+ constructor(input: CreateNamedQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateNamedQueryCommandInput, CreateNamedQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
4
+ import { CreatePreparedStatementInput, CreatePreparedStatementOutput } from "../models/models_0";
5
+ export interface CreatePreparedStatementCommandInput extends CreatePreparedStatementInput {
6
+ }
7
+ export interface CreatePreparedStatementCommandOutput extends CreatePreparedStatementOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreatePreparedStatementCommand extends $Command<CreatePreparedStatementCommandInput, CreatePreparedStatementCommandOutput, AthenaClientResolvedConfig> {
11
+ readonly input: CreatePreparedStatementCommandInput;
12
+ constructor(input: CreatePreparedStatementCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePreparedStatementCommandInput, CreatePreparedStatementCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }