@aws-sdk/client-athena 3.49.0 → 3.50.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 +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +7 -0
  3. package/dist-es/protocols/Aws_json1_1.js +9 -5
  4. package/dist-types/Athena.d.ts +6 -0
  5. package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -0
  6. package/dist-types/models/models_0.d.ts +39 -2
  7. package/package.json +25 -25
  8. package/dist-types/ts3.4/Athena.d.ts +0 -175
  9. package/dist-types/ts3.4/AthenaClient.d.ts +0 -107
  10. package/dist-types/ts3.4/commands/BatchGetNamedQueryCommand.d.ts +0 -17
  11. package/dist-types/ts3.4/commands/BatchGetQueryExecutionCommand.d.ts +0 -17
  12. package/dist-types/ts3.4/commands/CreateDataCatalogCommand.d.ts +0 -17
  13. package/dist-types/ts3.4/commands/CreateNamedQueryCommand.d.ts +0 -17
  14. package/dist-types/ts3.4/commands/CreatePreparedStatementCommand.d.ts +0 -17
  15. package/dist-types/ts3.4/commands/CreateWorkGroupCommand.d.ts +0 -17
  16. package/dist-types/ts3.4/commands/DeleteDataCatalogCommand.d.ts +0 -17
  17. package/dist-types/ts3.4/commands/DeleteNamedQueryCommand.d.ts +0 -17
  18. package/dist-types/ts3.4/commands/DeletePreparedStatementCommand.d.ts +0 -17
  19. package/dist-types/ts3.4/commands/DeleteWorkGroupCommand.d.ts +0 -17
  20. package/dist-types/ts3.4/commands/GetDataCatalogCommand.d.ts +0 -17
  21. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +0 -17
  22. package/dist-types/ts3.4/commands/GetNamedQueryCommand.d.ts +0 -17
  23. package/dist-types/ts3.4/commands/GetPreparedStatementCommand.d.ts +0 -17
  24. package/dist-types/ts3.4/commands/GetQueryExecutionCommand.d.ts +0 -17
  25. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +0 -17
  26. package/dist-types/ts3.4/commands/GetTableMetadataCommand.d.ts +0 -17
  27. package/dist-types/ts3.4/commands/GetWorkGroupCommand.d.ts +0 -17
  28. package/dist-types/ts3.4/commands/ListDataCatalogsCommand.d.ts +0 -17
  29. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +0 -17
  30. package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +0 -17
  31. package/dist-types/ts3.4/commands/ListNamedQueriesCommand.d.ts +0 -17
  32. package/dist-types/ts3.4/commands/ListPreparedStatementsCommand.d.ts +0 -17
  33. package/dist-types/ts3.4/commands/ListQueryExecutionsCommand.d.ts +0 -17
  34. package/dist-types/ts3.4/commands/ListTableMetadataCommand.d.ts +0 -17
  35. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -17
  36. package/dist-types/ts3.4/commands/ListWorkGroupsCommand.d.ts +0 -17
  37. package/dist-types/ts3.4/commands/StartQueryExecutionCommand.d.ts +0 -17
  38. package/dist-types/ts3.4/commands/StopQueryExecutionCommand.d.ts +0 -17
  39. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -17
  40. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -17
  41. package/dist-types/ts3.4/commands/UpdateDataCatalogCommand.d.ts +0 -17
  42. package/dist-types/ts3.4/commands/UpdatePreparedStatementCommand.d.ts +0 -17
  43. package/dist-types/ts3.4/commands/UpdateWorkGroupCommand.d.ts +0 -17
  44. package/dist-types/ts3.4/commands/index.d.ts +0 -34
  45. package/dist-types/ts3.4/endpoints.d.ts +0 -2
  46. package/dist-types/ts3.4/index.d.ts +0 -5
  47. package/dist-types/ts3.4/models/index.d.ts +0 -1
  48. package/dist-types/ts3.4/models/models_0.d.ts +0 -1161
  49. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +0 -4
  50. package/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -6
  51. package/dist-types/ts3.4/pagination/ListDataCatalogsPaginator.d.ts +0 -4
  52. package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +0 -4
  53. package/dist-types/ts3.4/pagination/ListNamedQueriesPaginator.d.ts +0 -4
  54. package/dist-types/ts3.4/pagination/ListPreparedStatementsPaginator.d.ts +0 -4
  55. package/dist-types/ts3.4/pagination/ListQueryExecutionsPaginator.d.ts +0 -4
  56. package/dist-types/ts3.4/pagination/ListTableMetadataPaginator.d.ts +0 -4
  57. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +0 -4
  58. package/dist-types/ts3.4/pagination/ListWorkGroupsPaginator.d.ts +0 -4
  59. package/dist-types/ts3.4/pagination/index.d.ts +0 -10
  60. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -104
  61. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -38
  62. package/dist-types/ts3.4/runtimeConfig.d.ts +0 -38
  63. package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -37
  64. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -11
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 02/04/2022 ([#3280](https://github.com/aws/aws-sdk-js-v3/issues/3280)) ([63d7f8c](https://github.com/aws/aws-sdk-js-v3/commit/63d7f8c539e0fd782fa5bf997bd6ac2730e4bfda))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
7
18
 
8
19
 
@@ -2607,6 +2607,8 @@ const serializeAws_json1_1ResultConfiguration = (input, context) => {
2607
2607
  input.EncryptionConfiguration !== null && {
2608
2608
  EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
2609
2609
  }),
2610
+ ...(input.ExpectedBucketOwner !== undefined &&
2611
+ input.ExpectedBucketOwner !== null && { ExpectedBucketOwner: input.ExpectedBucketOwner }),
2610
2612
  ...(input.OutputLocation !== undefined &&
2611
2613
  input.OutputLocation !== null && { OutputLocation: input.OutputLocation }),
2612
2614
  };
@@ -2617,12 +2619,16 @@ const serializeAws_json1_1ResultConfigurationUpdates = (input, context) => {
2617
2619
  input.EncryptionConfiguration !== null && {
2618
2620
  EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
2619
2621
  }),
2622
+ ...(input.ExpectedBucketOwner !== undefined &&
2623
+ input.ExpectedBucketOwner !== null && { ExpectedBucketOwner: input.ExpectedBucketOwner }),
2620
2624
  ...(input.OutputLocation !== undefined &&
2621
2625
  input.OutputLocation !== null && { OutputLocation: input.OutputLocation }),
2622
2626
  ...(input.RemoveEncryptionConfiguration !== undefined &&
2623
2627
  input.RemoveEncryptionConfiguration !== null && {
2624
2628
  RemoveEncryptionConfiguration: input.RemoveEncryptionConfiguration,
2625
2629
  }),
2630
+ ...(input.RemoveExpectedBucketOwner !== undefined &&
2631
+ input.RemoveExpectedBucketOwner !== null && { RemoveExpectedBucketOwner: input.RemoveExpectedBucketOwner }),
2626
2632
  ...(input.RemoveOutputLocation !== undefined &&
2627
2633
  input.RemoveOutputLocation !== null && { RemoveOutputLocation: input.RemoveOutputLocation }),
2628
2634
  };
@@ -3245,6 +3251,7 @@ const deserializeAws_json1_1ResultConfiguration = (output, context) => {
3245
3251
  EncryptionConfiguration: output.EncryptionConfiguration !== undefined && output.EncryptionConfiguration !== null
3246
3252
  ? deserializeAws_json1_1EncryptionConfiguration(output.EncryptionConfiguration, context)
3247
3253
  : undefined,
3254
+ ExpectedBucketOwner: smithy_client_1.expectString(output.ExpectedBucketOwner),
3248
3255
  OutputLocation: smithy_client_1.expectString(output.OutputLocation),
3249
3256
  };
3250
3257
  };
@@ -2827,21 +2827,24 @@ var serializeAws_json1_1QueryExecutionIdList = function (input, context) {
2827
2827
  });
2828
2828
  };
2829
2829
  var serializeAws_json1_1ResultConfiguration = function (input, context) {
2830
- return __assign(__assign({}, (input.EncryptionConfiguration !== undefined &&
2830
+ return __assign(__assign(__assign({}, (input.EncryptionConfiguration !== undefined &&
2831
2831
  input.EncryptionConfiguration !== null && {
2832
2832
  EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
2833
- })), (input.OutputLocation !== undefined &&
2833
+ })), (input.ExpectedBucketOwner !== undefined &&
2834
+ input.ExpectedBucketOwner !== null && { ExpectedBucketOwner: input.ExpectedBucketOwner })), (input.OutputLocation !== undefined &&
2834
2835
  input.OutputLocation !== null && { OutputLocation: input.OutputLocation }));
2835
2836
  };
2836
2837
  var serializeAws_json1_1ResultConfigurationUpdates = function (input, context) {
2837
- return __assign(__assign(__assign(__assign({}, (input.EncryptionConfiguration !== undefined &&
2838
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.EncryptionConfiguration !== undefined &&
2838
2839
  input.EncryptionConfiguration !== null && {
2839
2840
  EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
2840
- })), (input.OutputLocation !== undefined &&
2841
+ })), (input.ExpectedBucketOwner !== undefined &&
2842
+ input.ExpectedBucketOwner !== null && { ExpectedBucketOwner: input.ExpectedBucketOwner })), (input.OutputLocation !== undefined &&
2841
2843
  input.OutputLocation !== null && { OutputLocation: input.OutputLocation })), (input.RemoveEncryptionConfiguration !== undefined &&
2842
2844
  input.RemoveEncryptionConfiguration !== null && {
2843
2845
  RemoveEncryptionConfiguration: input.RemoveEncryptionConfiguration,
2844
- })), (input.RemoveOutputLocation !== undefined &&
2846
+ })), (input.RemoveExpectedBucketOwner !== undefined &&
2847
+ input.RemoveExpectedBucketOwner !== null && { RemoveExpectedBucketOwner: input.RemoveExpectedBucketOwner })), (input.RemoveOutputLocation !== undefined &&
2845
2848
  input.RemoveOutputLocation !== null && { RemoveOutputLocation: input.RemoveOutputLocation }));
2846
2849
  };
2847
2850
  var serializeAws_json1_1StartQueryExecutionInput = function (input, context) {
@@ -3416,6 +3419,7 @@ var deserializeAws_json1_1ResultConfiguration = function (output, context) {
3416
3419
  EncryptionConfiguration: output.EncryptionConfiguration !== undefined && output.EncryptionConfiguration !== null
3417
3420
  ? deserializeAws_json1_1EncryptionConfiguration(output.EncryptionConfiguration, context)
3418
3421
  : undefined,
3422
+ ExpectedBucketOwner: __expectString(output.ExpectedBucketOwner),
3419
3423
  OutputLocation: __expectString(output.OutputLocation),
3420
3424
  };
3421
3425
  };
@@ -174,6 +174,12 @@ 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>
177
183
  * <p>To stream query results successfully, the IAM principal with permission to call
178
184
  * <code>GetQueryResults</code> also must have permissions to the Amazon S3
179
185
  * <code>GetObject</code> action for the Athena query results location.</p>
@@ -11,6 +11,12 @@ 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>
14
20
  * <p>To stream query results successfully, the IAM principal with permission to call
15
21
  * <code>GetQueryResults</code> also must have permissions to the Amazon S3
16
22
  * <code>GetObject</code> action for the Athena query results location.</p>
@@ -225,6 +225,20 @@ export interface ResultConfiguration {
225
225
  * 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>
226
226
  */
227
227
  EncryptionConfiguration?: EncryptionConfiguration;
228
+ /**
229
+ * <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
+ * If set, Athena uses the value for <code>ExpectedBucketOwner</code> when it
231
+ * makes Amazon S3 calls to your specified output location. If the
232
+ * <code>ExpectedBucketOwner</code>
233
+ * Amazon Web Services account ID does not match the actual owner of the Amazon S3
234
+ * bucket, the call fails with a permissions error.</p>
235
+ * <p>This is a client-side setting. If workgroup settings override client-side settings,
236
+ * then the query uses the <code>ExpectedBucketOwner</code> setting that is specified for
237
+ * the workgroup, and also uses the location for storing query results specified in the
238
+ * workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>
239
+ * and <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override Client-Side Settings</a>.</p>
240
+ */
241
+ ExpectedBucketOwner?: string;
228
242
  }
229
243
  export declare namespace ResultConfiguration {
230
244
  /**
@@ -2223,7 +2237,7 @@ export interface ResultConfigurationUpdates {
2223
2237
  * to null. If set to "false" or not set, and a value is present in the
2224
2238
  * <code>OutputLocation</code> in <code>ResultConfigurationUpdates</code> (the
2225
2239
  * client-side setting), the <code>OutputLocation</code> in the workgroup's
2226
- * <code>ResultConfiguration</code> will be updated with the new value. For more
2240
+ * <code>ResultConfiguration</code> is updated with the new value. For more
2227
2241
  * information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override
2228
2242
  * Client-Side Settings</a>.</p>
2229
2243
  */
@@ -2238,11 +2252,34 @@ export interface ResultConfigurationUpdates {
2238
2252
  * and set to null. If set to "false" or not set, and a value is present in the
2239
2253
  * <code>EncryptionConfiguration</code> in <code>ResultConfigurationUpdates</code> (the
2240
2254
  * client-side setting), the <code>EncryptionConfiguration</code> in the workgroup's
2241
- * <code>ResultConfiguration</code> will be updated with the new value. For more
2255
+ * <code>ResultConfiguration</code> is updated with the new value. For more
2242
2256
  * information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override
2243
2257
  * Client-Side Settings</a>.</p>
2244
2258
  */
2245
2259
  RemoveEncryptionConfiguration?: boolean;
2260
+ /**
2261
+ * <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
+ * If set, Athena uses the value for <code>ExpectedBucketOwner</code> when it
2263
+ * makes Amazon S3 calls to your specified output location. If the
2264
+ * <code>ExpectedBucketOwner</code>
2265
+ * Amazon Web Services account ID does not match the actual owner of the Amazon S3
2266
+ * bucket, the call fails with a permissions error.</p>
2267
+ *
2268
+ * <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
2270
+ * 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
+ */
2272
+ ExpectedBucketOwner?: string;
2273
+ /**
2274
+ * <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
2276
+ * 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>
2279
+ * 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
+ * Client-Side Settings</a>.</p>
2281
+ */
2282
+ RemoveExpectedBucketOwner?: boolean;
2246
2283
  }
2247
2284
  export declare namespace ResultConfigurationUpdates {
2248
2285
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-athena",
3
3
  "description": "AWS SDK for JavaScript Athena Client for Node.js, Browser and React Native",
4
- "version": "3.49.0",
4
+ "version": "3.50.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.49.0",
22
- "@aws-sdk/config-resolver": "3.49.0",
23
- "@aws-sdk/credential-provider-node": "3.49.0",
24
- "@aws-sdk/fetch-http-handler": "3.49.0",
25
- "@aws-sdk/hash-node": "3.49.0",
26
- "@aws-sdk/invalid-dependency": "3.49.0",
27
- "@aws-sdk/middleware-content-length": "3.49.0",
28
- "@aws-sdk/middleware-host-header": "3.49.0",
29
- "@aws-sdk/middleware-logger": "3.49.0",
30
- "@aws-sdk/middleware-retry": "3.49.0",
31
- "@aws-sdk/middleware-serde": "3.49.0",
32
- "@aws-sdk/middleware-signing": "3.49.0",
33
- "@aws-sdk/middleware-stack": "3.49.0",
34
- "@aws-sdk/middleware-user-agent": "3.49.0",
35
- "@aws-sdk/node-config-provider": "3.49.0",
36
- "@aws-sdk/node-http-handler": "3.49.0",
37
- "@aws-sdk/protocol-http": "3.49.0",
38
- "@aws-sdk/smithy-client": "3.49.0",
39
- "@aws-sdk/types": "3.49.0",
40
- "@aws-sdk/url-parser": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.50.0",
22
+ "@aws-sdk/config-resolver": "3.50.0",
23
+ "@aws-sdk/credential-provider-node": "3.50.0",
24
+ "@aws-sdk/fetch-http-handler": "3.50.0",
25
+ "@aws-sdk/hash-node": "3.50.0",
26
+ "@aws-sdk/invalid-dependency": "3.50.0",
27
+ "@aws-sdk/middleware-content-length": "3.50.0",
28
+ "@aws-sdk/middleware-host-header": "3.50.0",
29
+ "@aws-sdk/middleware-logger": "3.50.0",
30
+ "@aws-sdk/middleware-retry": "3.50.0",
31
+ "@aws-sdk/middleware-serde": "3.50.0",
32
+ "@aws-sdk/middleware-signing": "3.50.0",
33
+ "@aws-sdk/middleware-stack": "3.50.0",
34
+ "@aws-sdk/middleware-user-agent": "3.50.0",
35
+ "@aws-sdk/node-config-provider": "3.50.0",
36
+ "@aws-sdk/node-http-handler": "3.50.0",
37
+ "@aws-sdk/protocol-http": "3.50.0",
38
+ "@aws-sdk/smithy-client": "3.50.0",
39
+ "@aws-sdk/types": "3.50.0",
40
+ "@aws-sdk/url-parser": "3.50.0",
41
41
  "@aws-sdk/util-base64-browser": "3.49.0",
42
42
  "@aws-sdk/util-base64-node": "3.49.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.49.0",
44
44
  "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.49.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.49.0",
47
- "@aws-sdk/util-user-agent-browser": "3.49.0",
48
- "@aws-sdk/util-user-agent-node": "3.49.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.50.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.50.0",
48
+ "@aws-sdk/util-user-agent-node": "3.50.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.49.0",
50
50
  "@aws-sdk/util-utf8-node": "3.49.0",
51
51
  "tslib": "^2.3.0",
@@ -1,175 +0,0 @@
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
- }
@@ -1,107 +0,0 @@
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 {};
@@ -1,17 +0,0 @@
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,17 +0,0 @@
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,17 +0,0 @@
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
- }