@aws-sdk/client-athena 3.52.0 → 3.54.1

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 (38) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/Athena.js +15 -0
  3. package/dist-cjs/commands/UpdateNamedQueryCommand.js +36 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/index.js +3 -0
  6. package/dist-cjs/models/AthenaServiceException.js +11 -0
  7. package/dist-cjs/models/models_0.js +99 -3
  8. package/dist-cjs/protocols/Aws_json1_1.js +349 -856
  9. package/dist-es/Athena.js +15 -0
  10. package/dist-es/commands/UpdateNamedQueryCommand.js +39 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/index.js +1 -0
  13. package/dist-es/models/AthenaServiceException.js +12 -0
  14. package/dist-es/models/models_0.js +86 -1
  15. package/dist-es/protocols/Aws_json1_1.js +710 -986
  16. package/dist-types/Athena.d.ts +7 -0
  17. package/dist-types/AthenaClient.d.ts +5 -4
  18. package/dist-types/commands/UpdateNamedQueryCommand.d.ts +35 -0
  19. package/dist-types/commands/index.d.ts +1 -0
  20. package/dist-types/index.d.ts +1 -0
  21. package/dist-types/models/AthenaServiceException.d.ts +10 -0
  22. package/dist-types/models/models_0.d.ts +127 -23
  23. package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
  24. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  25. package/dist-types/runtimeConfig.d.ts +1 -1
  26. package/dist-types/runtimeConfig.native.d.ts +1 -1
  27. package/dist-types/ts3.4/Athena.d.ts +5 -0
  28. package/dist-types/ts3.4/AthenaClient.d.ts +5 -4
  29. package/dist-types/ts3.4/commands/UpdateNamedQueryCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/index.d.ts +1 -0
  32. package/dist-types/ts3.4/models/AthenaServiceException.d.ts +6 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +65 -16
  34. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
  35. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  36. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  37. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  38. package/package.json +27 -27
@@ -32,6 +32,7 @@ import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from
32
32
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
33
33
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
34
34
  import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "./commands/UpdateDataCatalogCommand";
35
+ import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "./commands/UpdateNamedQueryCommand";
35
36
  import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "./commands/UpdatePreparedStatementCommand";
36
37
  import { UpdateWorkGroupCommandInput, UpdateWorkGroupCommandOutput } from "./commands/UpdateWorkGroupCommand";
37
38
  /**
@@ -317,6 +318,12 @@ export declare class Athena extends AthenaClient {
317
318
  updateDataCatalog(args: UpdateDataCatalogCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataCatalogCommandOutput>;
318
319
  updateDataCatalog(args: UpdateDataCatalogCommandInput, cb: (err: any, data?: UpdateDataCatalogCommandOutput) => void): void;
319
320
  updateDataCatalog(args: UpdateDataCatalogCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataCatalogCommandOutput) => void): void;
321
+ /**
322
+ * <p>Updates a <a>NamedQuery</a> object. The database or workgroup cannot be updated.</p>
323
+ */
324
+ updateNamedQuery(args: UpdateNamedQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNamedQueryCommandOutput>;
325
+ updateNamedQuery(args: UpdateNamedQueryCommandInput, cb: (err: any, data?: UpdateNamedQueryCommandOutput) => void): void;
326
+ updateNamedQuery(args: UpdateNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNamedQueryCommandOutput) => void): void;
320
327
  /**
321
328
  * <p>Updates a prepared statement.</p>
322
329
  */
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
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";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { BatchGetNamedQueryCommandInput, BatchGetNamedQueryCommandOutput } from "./commands/BatchGetNamedQueryCommand";
10
10
  import { BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput } from "./commands/BatchGetQueryExecutionCommand";
11
11
  import { CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput } from "./commands/CreateDataCatalogCommand";
@@ -38,10 +38,11 @@ import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from
38
38
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
39
39
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
40
40
  import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "./commands/UpdateDataCatalogCommand";
41
+ import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "./commands/UpdateNamedQueryCommand";
41
42
  import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "./commands/UpdatePreparedStatementCommand";
42
43
  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;
44
+ 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 | UpdateNamedQueryCommandInput | UpdatePreparedStatementCommandInput | UpdateWorkGroupCommandInput;
45
+ 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 | UpdateNamedQueryCommandOutput | UpdatePreparedStatementCommandOutput | UpdateWorkGroupCommandOutput;
45
46
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
46
47
  /**
47
48
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -62,7 +63,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
62
63
  * A function that can calculate the length of a request body.
63
64
  * @internal
64
65
  */
65
- bodyLengthChecker?: (body: any) => number | undefined;
66
+ bodyLengthChecker?: __BodyLengthCalculator;
66
67
  /**
67
68
  * A function that converts a stream into an array of bytes.
68
69
  * @internal
@@ -0,0 +1,35 @@
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 { UpdateNamedQueryInput, UpdateNamedQueryOutput } from "../models/models_0";
5
+ export interface UpdateNamedQueryCommandInput extends UpdateNamedQueryInput {
6
+ }
7
+ export interface UpdateNamedQueryCommandOutput extends UpdateNamedQueryOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates a <a>NamedQuery</a> object. The database or workgroup cannot be updated.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AthenaClient, UpdateNamedQueryCommand } from "@aws-sdk/client-athena"; // ES Modules import
15
+ * // const { AthenaClient, UpdateNamedQueryCommand } = require("@aws-sdk/client-athena"); // CommonJS import
16
+ * const client = new AthenaClient(config);
17
+ * const command = new UpdateNamedQueryCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateNamedQueryCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateNamedQueryCommandOutput} for command's `response` shape.
23
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateNamedQueryCommand extends $Command<UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput, AthenaClientResolvedConfig> {
27
+ readonly input: UpdateNamedQueryCommandInput;
28
+ constructor(input: UpdateNamedQueryCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -30,5 +30,6 @@ export * from "./StopQueryExecutionCommand";
30
30
  export * from "./TagResourceCommand";
31
31
  export * from "./UntagResourceCommand";
32
32
  export * from "./UpdateDataCatalogCommand";
33
+ export * from "./UpdateNamedQueryCommand";
33
34
  export * from "./UpdatePreparedStatementCommand";
34
35
  export * from "./UpdateWorkGroupCommand";
@@ -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,33 @@
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";
3
+ export declare enum S3AclOption {
4
+ BUCKET_OWNER_FULL_CONTROL = "BUCKET_OWNER_FULL_CONTROL"
5
+ }
6
+ /**
7
+ * <p>Indicates that an Amazon S3 canned ACL should be set to control ownership of
8
+ * stored query results. When Athena stores query results in Amazon S3,
9
+ * the canned ACL is set with the <code>x-amz-acl</code> request header. For more
10
+ * information about S3 Object Ownership, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html#object-ownership-overview">Object Ownership settings</a> in the <i>Amazon S3 User
11
+ * Guide</i>.</p>
12
+ */
13
+ export interface AclConfiguration {
14
+ /**
15
+ * <p>The Amazon S3 canned ACL that Athena should specify when storing
16
+ * query results. Currently the only supported canned ACL is
17
+ * <code>BUCKET_OWNER_FULL_CONTROL</code>. If a query runs in a workgroup and the
18
+ * workgroup overrides client-side settings, then the Amazon S3 canned ACL
19
+ * specified in the workgroup's settings is used for all queries that run in the workgroup.
20
+ * For more information about Amazon S3 canned ACLs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl">Canned ACL</a> in the <i>Amazon S3 User
21
+ * Guide</i>.</p>
22
+ */
23
+ S3AclOption: S3AclOption | string | undefined;
24
+ }
25
+ export declare namespace AclConfiguration {
26
+ /**
27
+ * @internal
28
+ */
29
+ const filterSensitiveLog: (obj: AclConfiguration) => any;
30
+ }
2
31
  export interface BatchGetNamedQueryInput {
3
32
  /**
4
33
  * <p>An array of query IDs.</p>
@@ -12,8 +41,8 @@ export declare namespace BatchGetNamedQueryInput {
12
41
  const filterSensitiveLog: (obj: BatchGetNamedQueryInput) => any;
13
42
  }
14
43
  /**
15
- * <p>A query, where <code>QueryString</code> is the list of SQL query statements that
16
- * comprise the query.</p>
44
+ * <p>A query, where <code>QueryString</code> contains the SQL statements that
45
+ * make up the query.</p>
17
46
  */
18
47
  export interface NamedQuery {
19
48
  /**
@@ -29,7 +58,7 @@ export interface NamedQuery {
29
58
  */
30
59
  Database: string | undefined;
31
60
  /**
32
- * <p>The SQL query statements that comprise the query.</p>
61
+ * <p>The SQL statements that make up the query.</p>
33
62
  */
34
63
  QueryString: string | undefined;
35
64
  /**
@@ -92,24 +121,32 @@ export declare namespace BatchGetNamedQueryOutput {
92
121
  * <p>Indicates a platform issue, which may be due to a transient condition or
93
122
  * outage.</p>
94
123
  */
95
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
96
- name: "InternalServerException";
97
- $fault: "server";
124
+ export declare class InternalServerException extends __BaseException {
125
+ readonly name: "InternalServerException";
126
+ readonly $fault: "server";
98
127
  Message?: string;
128
+ /**
129
+ * @internal
130
+ */
131
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
99
132
  }
100
133
  /**
101
134
  * <p>Indicates that something is wrong with the input to the request. For example, a
102
135
  * required parameter may be missing or out of range.</p>
103
136
  */
104
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
105
- name: "InvalidRequestException";
106
- $fault: "client";
137
+ export declare class InvalidRequestException extends __BaseException {
138
+ readonly name: "InvalidRequestException";
139
+ readonly $fault: "client";
107
140
  /**
108
141
  * <p>The error code returned when the query execution failed to process, or when the
109
142
  * processing request for the named query failed.</p>
110
143
  */
111
144
  AthenaErrorCode?: string;
112
145
  Message?: string;
146
+ /**
147
+ * @internal
148
+ */
149
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
113
150
  }
114
151
  export interface BatchGetQueryExecutionInput {
115
152
  /**
@@ -239,6 +276,15 @@ export interface ResultConfiguration {
239
276
  * and <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override Client-Side Settings</a>.</p>
240
277
  */
241
278
  ExpectedBucketOwner?: string;
279
+ /**
280
+ * <p>Indicates that an Amazon S3 canned ACL should be set to control ownership of
281
+ * stored query results. Currently the only supported canned ACL is
282
+ * <code>BUCKET_OWNER_FULL_CONTROL</code>. This is a client-side setting. If workgroup
283
+ * settings override client-side settings, then the query uses the ACL configuration that
284
+ * is specified for the workgroup, and also uses the location for storing query results
285
+ * specified in the workgroup. For more information, 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>
286
+ */
287
+ AclConfiguration?: AclConfiguration;
242
288
  }
243
289
  export declare namespace ResultConfiguration {
244
290
  /**
@@ -308,7 +354,7 @@ export declare namespace QueryExecutionStatistics {
308
354
  * <code>AthenaError</code> feature provides standardized error information to help you
309
355
  * understand failed queries and take steps after a query failure occurs.
310
356
  * <code>AthenaError</code> includes an <code>ErrorCategory</code> field that specifies
311
- * whether the cause of the failed query is due to system error, user error, or unknown
357
+ * whether the cause of the failed query is due to system error, user error, or other
312
358
  * error.</p>
313
359
  */
314
360
  export interface AthenaError {
@@ -320,7 +366,7 @@ export interface AthenaError {
320
366
  * <p>
321
367
  * <b>2</b> - User</p>
322
368
  * <p>
323
- * <b>3</b> - Unknown</p>
369
+ * <b>3</b> - Other</p>
324
370
  */
325
371
  ErrorCategory?: number;
326
372
  /**
@@ -878,11 +924,15 @@ export declare namespace DeletePreparedStatementOutput {
878
924
  /**
879
925
  * <p>A resource, such as a workgroup, was not found.</p>
880
926
  */
881
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
882
- name: "ResourceNotFoundException";
883
- $fault: "client";
927
+ export declare class ResourceNotFoundException extends __BaseException {
928
+ readonly name: "ResourceNotFoundException";
929
+ readonly $fault: "client";
884
930
  Message?: string;
885
931
  ResourceName?: string;
932
+ /**
933
+ * @internal
934
+ */
935
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
886
936
  }
887
937
  export interface DeleteWorkGroupInput {
888
938
  /**
@@ -970,10 +1020,14 @@ export declare namespace GetDatabaseOutput {
970
1020
  * Lambda
971
1021
  * <code>4XX</code> exception is returned in a <code>MetadataException</code>.</p>
972
1022
  */
973
- export interface MetadataException extends __SmithyException, $MetadataBearer {
974
- name: "MetadataException";
975
- $fault: "client";
1023
+ export declare class MetadataException extends __BaseException {
1024
+ readonly name: "MetadataException";
1025
+ readonly $fault: "client";
976
1026
  Message?: string;
1027
+ /**
1028
+ * @internal
1029
+ */
1030
+ constructor(opts: __ExceptionOptionType<MetadataException, __BaseException>);
977
1031
  }
978
1032
  export interface GetDataCatalogInput {
979
1033
  /**
@@ -1314,7 +1368,7 @@ export declare namespace Datum {
1314
1368
  const filterSensitiveLog: (obj: Datum) => any;
1315
1369
  }
1316
1370
  /**
1317
- * <p>The rows that comprise a query result table.</p>
1371
+ * <p>The rows that make up a query result table.</p>
1318
1372
  */
1319
1373
  export interface Row {
1320
1374
  /**
@@ -1329,7 +1383,7 @@ export declare namespace Row {
1329
1383
  const filterSensitiveLog: (obj: Row) => any;
1330
1384
  }
1331
1385
  /**
1332
- * <p>The metadata and rows that comprise a query result set. The metadata describes the
1386
+ * <p>The metadata and rows that make up a query result set. The metadata describes the
1333
1387
  * column structure and data types. To return a <code>ResultSet</code> object, use <a>GetQueryResults</a>.</p>
1334
1388
  */
1335
1389
  export interface ResultSet {
@@ -2033,15 +2087,19 @@ export declare enum ThrottleReason {
2033
2087
  /**
2034
2088
  * <p>Indicates that the request was throttled.</p>
2035
2089
  */
2036
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
2037
- name: "TooManyRequestsException";
2038
- $fault: "client";
2090
+ export declare class TooManyRequestsException extends __BaseException {
2091
+ readonly name: "TooManyRequestsException";
2092
+ readonly $fault: "client";
2039
2093
  Message?: string;
2040
2094
  /**
2041
2095
  * <p>The reason for the query throttling, for example, when it exceeds the concurrent query
2042
2096
  * limit.</p>
2043
2097
  */
2044
2098
  Reason?: ThrottleReason | string;
2099
+ /**
2100
+ * @internal
2101
+ */
2102
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
2045
2103
  }
2046
2104
  export interface StopQueryExecutionInput {
2047
2105
  /**
@@ -2190,6 +2248,38 @@ export declare namespace UpdateDataCatalogOutput {
2190
2248
  */
2191
2249
  const filterSensitiveLog: (obj: UpdateDataCatalogOutput) => any;
2192
2250
  }
2251
+ export interface UpdateNamedQueryInput {
2252
+ /**
2253
+ * <p>The unique identifier (UUID) of the query.</p>
2254
+ */
2255
+ NamedQueryId: string | undefined;
2256
+ /**
2257
+ * <p>The name of the query.</p>
2258
+ */
2259
+ Name: string | undefined;
2260
+ /**
2261
+ * <p>The query description.</p>
2262
+ */
2263
+ Description?: string;
2264
+ /**
2265
+ * <p>The contents of the query with all query statements.</p>
2266
+ */
2267
+ QueryString: string | undefined;
2268
+ }
2269
+ export declare namespace UpdateNamedQueryInput {
2270
+ /**
2271
+ * @internal
2272
+ */
2273
+ const filterSensitiveLog: (obj: UpdateNamedQueryInput) => any;
2274
+ }
2275
+ export interface UpdateNamedQueryOutput {
2276
+ }
2277
+ export declare namespace UpdateNamedQueryOutput {
2278
+ /**
2279
+ * @internal
2280
+ */
2281
+ const filterSensitiveLog: (obj: UpdateNamedQueryOutput) => any;
2282
+ }
2193
2283
  export interface UpdatePreparedStatementInput {
2194
2284
  /**
2195
2285
  * <p>The name of the prepared statement.</p>
@@ -2286,6 +2376,20 @@ export interface ResultConfigurationUpdates {
2286
2376
  * Client-Side Settings</a>.</p>
2287
2377
  */
2288
2378
  RemoveExpectedBucketOwner?: boolean;
2379
+ /**
2380
+ * <p>The ACL configuration for the query results.</p>
2381
+ */
2382
+ AclConfiguration?: AclConfiguration;
2383
+ /**
2384
+ * <p>If set to <code>true</code>, indicates that the previously-specified ACL configuration
2385
+ * for queries in this workgroup should be ignored and set to null. If set to
2386
+ * <code>false</code> or not set, and a value is present in the
2387
+ * <code>AclConfiguration</code> of <code>ResultConfigurationUpdates</code>, the
2388
+ * <code>AclConfiguration</code> in the workgroup's <code>ResultConfiguration</code> is
2389
+ * 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
2390
+ * Client-Side Settings</a>.</p>
2391
+ */
2392
+ RemoveAclConfiguration?: boolean;
2289
2393
  }
2290
2394
  export declare namespace ResultConfigurationUpdates {
2291
2395
  /**
@@ -32,6 +32,7 @@ import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from
32
32
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
33
33
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
34
34
  import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "../commands/UpdateDataCatalogCommand";
35
+ import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "../commands/UpdateNamedQueryCommand";
35
36
  import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "../commands/UpdatePreparedStatementCommand";
36
37
  import { UpdateWorkGroupCommandInput, UpdateWorkGroupCommandOutput } from "../commands/UpdateWorkGroupCommand";
37
38
  export declare const serializeAws_json1_1BatchGetNamedQueryCommand: (input: BatchGetNamedQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -66,6 +67,7 @@ export declare const serializeAws_json1_1StopQueryExecutionCommand: (input: Stop
66
67
  export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
68
  export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
69
  export declare const serializeAws_json1_1UpdateDataCatalogCommand: (input: UpdateDataCatalogCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
+ export declare const serializeAws_json1_1UpdateNamedQueryCommand: (input: UpdateNamedQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
71
  export declare const serializeAws_json1_1UpdatePreparedStatementCommand: (input: UpdatePreparedStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
72
  export declare const serializeAws_json1_1UpdateWorkGroupCommand: (input: UpdateWorkGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
73
  export declare const deserializeAws_json1_1BatchGetNamedQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetNamedQueryCommandOutput>;
@@ -100,5 +102,6 @@ export declare const deserializeAws_json1_1StopQueryExecutionCommand: (output: _
100
102
  export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
101
103
  export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
102
104
  export declare const deserializeAws_json1_1UpdateDataCatalogCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDataCatalogCommandOutput>;
105
+ export declare const deserializeAws_json1_1UpdateNamedQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateNamedQueryCommandOutput>;
103
106
  export declare const deserializeAws_json1_1UpdatePreparedStatementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePreparedStatementCommandOutput>;
104
107
  export declare const deserializeAws_json1_1UpdateWorkGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkGroupCommandOutput>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AthenaClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AthenaClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AthenaClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -32,6 +32,7 @@ import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from
32
32
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
33
33
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
34
34
  import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "./commands/UpdateDataCatalogCommand";
35
+ import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "./commands/UpdateNamedQueryCommand";
35
36
  import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "./commands/UpdatePreparedStatementCommand";
36
37
  import { UpdateWorkGroupCommandInput, UpdateWorkGroupCommandOutput } from "./commands/UpdateWorkGroupCommand";
37
38
 
@@ -165,6 +166,10 @@ export declare class Athena extends AthenaClient {
165
166
  updateDataCatalog(args: UpdateDataCatalogCommandInput, cb: (err: any, data?: UpdateDataCatalogCommandOutput) => void): void;
166
167
  updateDataCatalog(args: UpdateDataCatalogCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataCatalogCommandOutput) => void): void;
167
168
 
169
+ updateNamedQuery(args: UpdateNamedQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNamedQueryCommandOutput>;
170
+ updateNamedQuery(args: UpdateNamedQueryCommandInput, cb: (err: any, data?: UpdateNamedQueryCommandOutput) => void): void;
171
+ updateNamedQuery(args: UpdateNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNamedQueryCommandOutput) => void): void;
172
+
168
173
  updatePreparedStatement(args: UpdatePreparedStatementCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePreparedStatementCommandOutput>;
169
174
  updatePreparedStatement(args: UpdatePreparedStatementCommandInput, cb: (err: any, data?: UpdatePreparedStatementCommandOutput) => void): void;
170
175
  updatePreparedStatement(args: UpdatePreparedStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePreparedStatementCommandOutput) => void): void;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
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";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { BatchGetNamedQueryCommandInput, BatchGetNamedQueryCommandOutput } from "./commands/BatchGetNamedQueryCommand";
10
10
  import { BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput } from "./commands/BatchGetQueryExecutionCommand";
11
11
  import { CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput } from "./commands/CreateDataCatalogCommand";
@@ -38,10 +38,11 @@ import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from
38
38
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
39
39
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
40
40
  import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "./commands/UpdateDataCatalogCommand";
41
+ import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "./commands/UpdateNamedQueryCommand";
41
42
  import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "./commands/UpdatePreparedStatementCommand";
42
43
  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;
44
+ 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 | UpdateNamedQueryCommandInput | UpdatePreparedStatementCommandInput | UpdateWorkGroupCommandInput;
45
+ 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 | UpdateNamedQueryCommandOutput | UpdatePreparedStatementCommandOutput | UpdateWorkGroupCommandOutput;
45
46
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
46
47
 
47
48
  requestHandler?: __HttpHandler;
@@ -50,7 +51,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
50
51
 
51
52
  urlParser?: __UrlParser;
52
53
 
53
- bodyLengthChecker?: (body: any) => number | undefined;
54
+ bodyLengthChecker?: __BodyLengthCalculator;
54
55
 
55
56
  streamCollector?: __StreamCollector;
56
57
 
@@ -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 { UpdateNamedQueryInput, UpdateNamedQueryOutput } from "../models/models_0";
5
+ export interface UpdateNamedQueryCommandInput extends UpdateNamedQueryInput {
6
+ }
7
+ export interface UpdateNamedQueryCommandOutput extends UpdateNamedQueryOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateNamedQueryCommand extends $Command<UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput, AthenaClientResolvedConfig> {
11
+ readonly input: UpdateNamedQueryCommandInput;
12
+ constructor(input: UpdateNamedQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -30,5 +30,6 @@ export * from "./StopQueryExecutionCommand";
30
30
  export * from "./TagResourceCommand";
31
31
  export * from "./UntagResourceCommand";
32
32
  export * from "./UpdateDataCatalogCommand";
33
+ export * from "./UpdateNamedQueryCommand";
33
34
  export * from "./UpdatePreparedStatementCommand";
34
35
  export * from "./UpdateWorkGroupCommand";
@@ -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,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class AthenaServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }