@aws-sdk/client-athena 3.231.0 → 3.234.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +1 -10
- package/dist-cjs/protocols/Aws_json1_1.js +6 -0
- package/dist-es/endpoint/ruleset.js +1 -10
- package/dist-es/protocols/Aws_json1_1.js +6 -0
- package/dist-types/Athena.d.ts +17 -15
- package/dist-types/AthenaClient.d.ts +2 -2
- package/dist-types/commands/CreateNamedQueryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNamedQueryCommand.d.ts +1 -1
- package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -3
- package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +5 -3
- package/dist-types/commands/ListNamedQueriesCommand.d.ts +1 -1
- package/dist-types/commands/ListQueryExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/StopCalculationExecutionCommand.d.ts +2 -2
- package/dist-types/commands/StopQueryExecutionCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +153 -153
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -2
- package/package.json +7 -7
|
@@ -6,7 +6,7 @@ exports.ruleSet = {
|
|
|
6
6
|
parameters: {
|
|
7
7
|
Region: {
|
|
8
8
|
builtIn: "AWS::Region",
|
|
9
|
-
required:
|
|
9
|
+
required: true,
|
|
10
10
|
documentation: "The AWS region used to dispatch the request.",
|
|
11
11
|
type: "String",
|
|
12
12
|
},
|
|
@@ -56,15 +56,6 @@ exports.ruleSet = {
|
|
|
56
56
|
},
|
|
57
57
|
],
|
|
58
58
|
},
|
|
59
|
-
{
|
|
60
|
-
fn: "parseURL",
|
|
61
|
-
argv: [
|
|
62
|
-
{
|
|
63
|
-
ref: "Endpoint",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
assign: "url",
|
|
67
|
-
},
|
|
68
59
|
],
|
|
69
60
|
type: "tree",
|
|
70
61
|
rules: [
|
|
@@ -1242,6 +1242,9 @@ const deserializeAws_json1_1GetCalculationExecutionCodeCommandError = async (out
|
|
|
1242
1242
|
case "InternalServerException":
|
|
1243
1243
|
case "com.amazonaws.athena#InternalServerException":
|
|
1244
1244
|
throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
|
|
1245
|
+
case "InvalidRequestException":
|
|
1246
|
+
case "com.amazonaws.athena#InvalidRequestException":
|
|
1247
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1245
1248
|
case "ResourceNotFoundException":
|
|
1246
1249
|
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
1247
1250
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -2532,6 +2535,9 @@ const deserializeAws_json1_1StopCalculationExecutionCommandError = async (output
|
|
|
2532
2535
|
case "InternalServerException":
|
|
2533
2536
|
case "com.amazonaws.athena#InternalServerException":
|
|
2534
2537
|
throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
|
|
2538
|
+
case "InvalidRequestException":
|
|
2539
|
+
case "com.amazonaws.athena#InvalidRequestException":
|
|
2540
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2535
2541
|
case "ResourceNotFoundException":
|
|
2536
2542
|
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2537
2543
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -3,7 +3,7 @@ export const ruleSet = {
|
|
|
3
3
|
parameters: {
|
|
4
4
|
Region: {
|
|
5
5
|
builtIn: "AWS::Region",
|
|
6
|
-
required:
|
|
6
|
+
required: true,
|
|
7
7
|
documentation: "The AWS region used to dispatch the request.",
|
|
8
8
|
type: "String",
|
|
9
9
|
},
|
|
@@ -53,15 +53,6 @@ export const ruleSet = {
|
|
|
53
53
|
},
|
|
54
54
|
],
|
|
55
55
|
},
|
|
56
|
-
{
|
|
57
|
-
fn: "parseURL",
|
|
58
|
-
argv: [
|
|
59
|
-
{
|
|
60
|
-
ref: "Endpoint",
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
assign: "url",
|
|
64
|
-
},
|
|
65
56
|
],
|
|
66
57
|
type: "tree",
|
|
67
58
|
rules: [
|
|
@@ -1160,6 +1160,9 @@ const deserializeAws_json1_1GetCalculationExecutionCodeCommandError = async (out
|
|
|
1160
1160
|
case "InternalServerException":
|
|
1161
1161
|
case "com.amazonaws.athena#InternalServerException":
|
|
1162
1162
|
throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
|
|
1163
|
+
case "InvalidRequestException":
|
|
1164
|
+
case "com.amazonaws.athena#InvalidRequestException":
|
|
1165
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1163
1166
|
case "ResourceNotFoundException":
|
|
1164
1167
|
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
1165
1168
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -2417,6 +2420,9 @@ const deserializeAws_json1_1StopCalculationExecutionCommandError = async (output
|
|
|
2417
2420
|
case "InternalServerException":
|
|
2418
2421
|
case "com.amazonaws.athena#InternalServerException":
|
|
2419
2422
|
throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
|
|
2423
|
+
case "InvalidRequestException":
|
|
2424
|
+
case "com.amazonaws.athena#InvalidRequestException":
|
|
2425
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2420
2426
|
case "ResourceNotFoundException":
|
|
2421
2427
|
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2422
2428
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
package/dist-types/Athena.d.ts
CHANGED
|
@@ -68,11 +68,11 @@ import { UpdateWorkGroupCommandInput, UpdateWorkGroupCommandOutput } from "./com
|
|
|
68
68
|
* in parallel—so results are fast, even with large datasets and complex queries. For more
|
|
69
69
|
* information, see <a href="http://docs.aws.amazon.com/athena/latest/ug/what-is.html">What is Amazon Athena</a> in the <i>Amazon Athena User
|
|
70
70
|
* Guide</i>.</p>
|
|
71
|
-
*
|
|
71
|
+
* <p>If you connect to Athena using the JDBC driver, use version 1.1.0 of the
|
|
72
72
|
* driver or later with the Amazon Athena API. Earlier version drivers do not
|
|
73
73
|
* support the API. For more information and to download the driver, see <a href="https://docs.aws.amazon.com/athena/latest/ug/connect-with-jdbc.html">Accessing
|
|
74
74
|
* Amazon Athena with JDBC</a>.</p>
|
|
75
|
-
*
|
|
75
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="https://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
76
76
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
77
77
|
* Guide</i>.</p>
|
|
78
78
|
*/
|
|
@@ -122,7 +122,7 @@ export declare class Athena extends AthenaClient {
|
|
|
122
122
|
/**
|
|
123
123
|
* <p>Creates a named query in the specified workgroup. Requires that you have access to the
|
|
124
124
|
* workgroup.</p>
|
|
125
|
-
*
|
|
125
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
126
126
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
127
127
|
* Guide</i>.</p>
|
|
128
128
|
*/
|
|
@@ -169,7 +169,7 @@ export declare class Athena extends AthenaClient {
|
|
|
169
169
|
/**
|
|
170
170
|
* <p>Deletes the named query if you have access to the workgroup in which the query was
|
|
171
171
|
* saved.</p>
|
|
172
|
-
*
|
|
172
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
173
173
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
174
174
|
* Guide</i>.</p>
|
|
175
175
|
*/
|
|
@@ -266,26 +266,28 @@ export declare class Athena extends AthenaClient {
|
|
|
266
266
|
* <code>QueryExecutionId</code> from the Athena query results location in
|
|
267
267
|
* 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
|
|
268
268
|
* but returns results. Use <a>StartQueryExecution</a> to run a query.</p>
|
|
269
|
-
*
|
|
269
|
+
* <p>To stream query results successfully, the IAM principal with permission to call
|
|
270
270
|
* <code>GetQueryResults</code> also must have permissions to the Amazon S3
|
|
271
271
|
* <code>GetObject</code> action for the Athena query results location.</p>
|
|
272
|
-
*
|
|
272
|
+
* <important>
|
|
273
273
|
* <p>IAM principals with permission to the Amazon S3
|
|
274
274
|
* <code>GetObject</code> action for the query results location are able to retrieve
|
|
275
275
|
* query results from Amazon S3 even if permission to the
|
|
276
276
|
* <code>GetQueryResults</code> action is denied. To restrict user or role access,
|
|
277
277
|
* ensure that Amazon S3 permissions to the Athena query location
|
|
278
278
|
* are denied.</p>
|
|
279
|
-
*
|
|
279
|
+
* </important>
|
|
280
280
|
*/
|
|
281
281
|
getQueryResults(args: GetQueryResultsCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryResultsCommandOutput>;
|
|
282
282
|
getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
|
|
283
283
|
getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
|
|
284
284
|
/**
|
|
285
285
|
* <p>Returns query execution runtime statistics related to a single execution of a query if
|
|
286
|
-
* you have access to the workgroup in which the query ran.
|
|
287
|
-
* statistics
|
|
288
|
-
* SUCCEEDED or FAILED state
|
|
286
|
+
* you have access to the workgroup in which the query ran. Query execution runtime
|
|
287
|
+
* statistics are returned only when <a>QueryExecutionStatus$State</a> is in a
|
|
288
|
+
* SUCCEEDED or FAILED state. Stage-level input and output row count and data size
|
|
289
|
+
* statistics are not shown when a query has row-level filters defined in Lake
|
|
290
|
+
* Formation.</p>
|
|
289
291
|
*/
|
|
290
292
|
getQueryRuntimeStatistics(args: GetQueryRuntimeStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryRuntimeStatisticsCommandOutput>;
|
|
291
293
|
getQueryRuntimeStatistics(args: GetQueryRuntimeStatisticsCommandInput, cb: (err: any, data?: GetQueryRuntimeStatisticsCommandOutput) => void): void;
|
|
@@ -368,7 +370,7 @@ export declare class Athena extends AthenaClient {
|
|
|
368
370
|
* <p>Provides a list of available query IDs only for queries saved in the specified
|
|
369
371
|
* workgroup. Requires that you have access to the specified workgroup. If a workgroup is
|
|
370
372
|
* not specified, lists the saved queries for the primary workgroup.</p>
|
|
371
|
-
*
|
|
373
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
372
374
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
373
375
|
* Guide</i>.</p>
|
|
374
376
|
*/
|
|
@@ -401,7 +403,7 @@ export declare class Athena extends AthenaClient {
|
|
|
401
403
|
* workgroup. If a workgroup is not specified, returns a list of query execution IDs for
|
|
402
404
|
* the primary workgroup. Requires you to have access to the workgroup in which the queries
|
|
403
405
|
* ran.</p>
|
|
404
|
-
*
|
|
406
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
405
407
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
406
408
|
* Guide</i>.</p>
|
|
407
409
|
*/
|
|
@@ -466,12 +468,12 @@ export declare class Athena extends AthenaClient {
|
|
|
466
468
|
* call on a calculation that is already in a terminal state (for example,
|
|
467
469
|
* <code>STOPPED</code>, <code>FAILED</code>, or <code>COMPLETED</code>) succeeds but
|
|
468
470
|
* has no effect.</p>
|
|
469
|
-
*
|
|
471
|
+
* <note>
|
|
470
472
|
* <p>Cancelling a calculation is done on a best effort basis. If a calculation cannot
|
|
471
473
|
* be cancelled, you can be charged for its completion. If you are concerned about
|
|
472
474
|
* being charged for a calculation that cannot be cancelled, consider terminating the
|
|
473
475
|
* session in which the calculation is running.</p>
|
|
474
|
-
*
|
|
476
|
+
* </note>
|
|
475
477
|
*/
|
|
476
478
|
stopCalculationExecution(args: StopCalculationExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StopCalculationExecutionCommandOutput>;
|
|
477
479
|
stopCalculationExecution(args: StopCalculationExecutionCommandInput, cb: (err: any, data?: StopCalculationExecutionCommandOutput) => void): void;
|
|
@@ -479,7 +481,7 @@ export declare class Athena extends AthenaClient {
|
|
|
479
481
|
/**
|
|
480
482
|
* <p>Stops a query execution. Requires you to have access to the workgroup in which the
|
|
481
483
|
* query ran.</p>
|
|
482
|
-
*
|
|
484
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
483
485
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
484
486
|
* Guide</i>.</p>
|
|
485
487
|
*/
|
|
@@ -190,11 +190,11 @@ export interface AthenaClientResolvedConfig extends AthenaClientResolvedConfigTy
|
|
|
190
190
|
* in parallel—so results are fast, even with large datasets and complex queries. For more
|
|
191
191
|
* information, see <a href="http://docs.aws.amazon.com/athena/latest/ug/what-is.html">What is Amazon Athena</a> in the <i>Amazon Athena User
|
|
192
192
|
* Guide</i>.</p>
|
|
193
|
-
*
|
|
193
|
+
* <p>If you connect to Athena using the JDBC driver, use version 1.1.0 of the
|
|
194
194
|
* driver or later with the Amazon Athena API. Earlier version drivers do not
|
|
195
195
|
* support the API. For more information and to download the driver, see <a href="https://docs.aws.amazon.com/athena/latest/ug/connect-with-jdbc.html">Accessing
|
|
196
196
|
* Amazon Athena with JDBC</a>.</p>
|
|
197
|
-
*
|
|
197
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="https://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
198
198
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
199
199
|
* Guide</i>.</p>
|
|
200
200
|
*/
|
|
@@ -10,7 +10,7 @@ export interface CreateNamedQueryCommandOutput extends CreateNamedQueryOutput, _
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a named query in the specified workgroup. Requires that you have access to the
|
|
12
12
|
* workgroup.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
14
14
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
15
15
|
* Guide</i>.</p>
|
|
16
16
|
* @example
|
|
@@ -10,7 +10,7 @@ export interface DeleteNamedQueryCommandOutput extends DeleteNamedQueryOutput, _
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the named query if you have access to the workgroup in which the query was
|
|
12
12
|
* saved.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
14
14
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
15
15
|
* Guide</i>.</p>
|
|
16
16
|
* @example
|
|
@@ -12,17 +12,17 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsOutput, __M
|
|
|
12
12
|
* <code>QueryExecutionId</code> from the Athena query results location in
|
|
13
13
|
* 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
|
|
14
14
|
* but returns results. Use <a>StartQueryExecution</a> to run a query.</p>
|
|
15
|
-
*
|
|
15
|
+
* <p>To stream query results successfully, the IAM principal with permission to call
|
|
16
16
|
* <code>GetQueryResults</code> also must have permissions to the Amazon S3
|
|
17
17
|
* <code>GetObject</code> action for the Athena query results location.</p>
|
|
18
|
-
*
|
|
18
|
+
* <important>
|
|
19
19
|
* <p>IAM principals with permission to the Amazon S3
|
|
20
20
|
* <code>GetObject</code> action for the query results location are able to retrieve
|
|
21
21
|
* query results from Amazon S3 even if permission to the
|
|
22
22
|
* <code>GetQueryResults</code> action is denied. To restrict user or role access,
|
|
23
23
|
* ensure that Amazon S3 permissions to the Athena query location
|
|
24
24
|
* are denied.</p>
|
|
25
|
-
*
|
|
25
|
+
* </important>
|
|
26
26
|
* @example
|
|
27
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
28
28
|
* ```javascript
|
|
@@ -9,9 +9,11 @@ export interface GetQueryRuntimeStatisticsCommandOutput extends GetQueryRuntimeS
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns query execution runtime statistics related to a single execution of a query if
|
|
12
|
-
* you have access to the workgroup in which the query ran.
|
|
13
|
-
* statistics
|
|
14
|
-
* SUCCEEDED or FAILED state
|
|
12
|
+
* you have access to the workgroup in which the query ran. Query execution runtime
|
|
13
|
+
* statistics are returned only when <a>QueryExecutionStatus$State</a> is in a
|
|
14
|
+
* SUCCEEDED or FAILED state. Stage-level input and output row count and data size
|
|
15
|
+
* statistics are not shown when a query has row-level filters defined in Lake
|
|
16
|
+
* Formation.</p>
|
|
15
17
|
* @example
|
|
16
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
19
|
* ```javascript
|
|
@@ -11,7 +11,7 @@ export interface ListNamedQueriesCommandOutput extends ListNamedQueriesOutput, _
|
|
|
11
11
|
* <p>Provides a list of available query IDs only for queries saved in the specified
|
|
12
12
|
* workgroup. Requires that you have access to the specified workgroup. If a workgroup is
|
|
13
13
|
* not specified, lists the saved queries for the primary workgroup.</p>
|
|
14
|
-
*
|
|
14
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
15
15
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
16
16
|
* Guide</i>.</p>
|
|
17
17
|
* @example
|
|
@@ -12,7 +12,7 @@ export interface ListQueryExecutionsCommandOutput extends ListQueryExecutionsOut
|
|
|
12
12
|
* workgroup. If a workgroup is not specified, returns a list of query execution IDs for
|
|
13
13
|
* the primary workgroup. Requires you to have access to the workgroup in which the queries
|
|
14
14
|
* ran.</p>
|
|
15
|
-
*
|
|
15
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
16
16
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
17
17
|
* Guide</i>.</p>
|
|
18
18
|
* @example
|
|
@@ -12,12 +12,12 @@ export interface StopCalculationExecutionCommandOutput extends StopCalculationEx
|
|
|
12
12
|
* call on a calculation that is already in a terminal state (for example,
|
|
13
13
|
* <code>STOPPED</code>, <code>FAILED</code>, or <code>COMPLETED</code>) succeeds but
|
|
14
14
|
* has no effect.</p>
|
|
15
|
-
*
|
|
15
|
+
* <note>
|
|
16
16
|
* <p>Cancelling a calculation is done on a best effort basis. If a calculation cannot
|
|
17
17
|
* be cancelled, you can be charged for its completion. If you are concerned about
|
|
18
18
|
* being charged for a calculation that cannot be cancelled, consider terminating the
|
|
19
19
|
* session in which the calculation is running.</p>
|
|
20
|
-
*
|
|
20
|
+
* </note>
|
|
21
21
|
* @example
|
|
22
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
23
|
* ```javascript
|
|
@@ -10,7 +10,7 @@ export interface StopQueryExecutionCommandOutput extends StopQueryExecutionOutpu
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Stops a query execution. Requires you to have access to the workgroup in which the
|
|
12
12
|
* query ran.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>For code samples using the Amazon Web Services SDK for Java, see <a href="http://docs.aws.amazon.com/athena/latest/ug/code-samples.html">Examples and
|
|
14
14
|
* Code Samples</a> in the <i>Amazon Athena User
|
|
15
15
|
* Guide</i>.</p>
|
|
16
16
|
* @example
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -170,19 +170,19 @@ export interface UnprocessedPreparedStatementName {
|
|
|
170
170
|
/**
|
|
171
171
|
* <p>The error message containing the reason why the prepared statement could not be
|
|
172
172
|
* returned. The following error messages are possible:</p>
|
|
173
|
-
*
|
|
173
|
+
* <ul>
|
|
174
174
|
* <li>
|
|
175
|
-
*
|
|
175
|
+
* <p>
|
|
176
176
|
* <code>INVALID_INPUT</code> - The name of the prepared statement that was
|
|
177
177
|
* provided is not valid (for example, the name is too long).</p>
|
|
178
178
|
* </li>
|
|
179
179
|
* <li>
|
|
180
|
-
*
|
|
180
|
+
* <p>
|
|
181
181
|
* <code>STATEMENT_NOT_FOUND</code> - A prepared statement with the name provided
|
|
182
182
|
* could not be found.</p>
|
|
183
183
|
* </li>
|
|
184
184
|
* <li>
|
|
185
|
-
*
|
|
185
|
+
* <p>
|
|
186
186
|
* <code>UNAUTHORIZED</code> - The requester does not have permission to access
|
|
187
187
|
* the workgroup that contains the prepared statement.</p>
|
|
188
188
|
* </li>
|
|
@@ -259,7 +259,7 @@ export interface EncryptionConfiguration {
|
|
|
259
259
|
* <p>Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (<code>SSE_S3</code>), server-side encryption with KMS-managed keys
|
|
260
260
|
* (<code>SSE_KMS</code>), or client-side encryption with KMS-managed keys
|
|
261
261
|
* (<code>CSE_KMS</code>) is used.</p>
|
|
262
|
-
*
|
|
262
|
+
* <p>If a query runs in a workgroup and the workgroup overrides client-side settings, then
|
|
263
263
|
* the workgroup's setting for encryption is used. It specifies whether query results must
|
|
264
264
|
* be encrypted, for all queries that run in this workgroup. </p>
|
|
265
265
|
*/
|
|
@@ -302,7 +302,7 @@ export interface ResultConfiguration {
|
|
|
302
302
|
* <code>ExpectedBucketOwner</code>
|
|
303
303
|
* Amazon Web Services account ID does not match the actual owner of the Amazon S3
|
|
304
304
|
* bucket, the call fails with a permissions error.</p>
|
|
305
|
-
*
|
|
305
|
+
* <p>This is a client-side setting. If workgroup settings override client-side settings,
|
|
306
306
|
* then the query uses the <code>ExpectedBucketOwner</code> setting that is specified for
|
|
307
307
|
* the workgroup, and also uses the location for storing query results specified in the
|
|
308
308
|
* workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>
|
|
@@ -417,11 +417,11 @@ export interface AthenaError {
|
|
|
417
417
|
/**
|
|
418
418
|
* <p>An integer value that specifies the category of a query failure error. The following
|
|
419
419
|
* list shows the category for each integer value.</p>
|
|
420
|
-
*
|
|
420
|
+
* <p>
|
|
421
421
|
* <b>1</b> - System</p>
|
|
422
|
-
*
|
|
422
|
+
* <p>
|
|
423
423
|
* <b>2</b> - User</p>
|
|
424
|
-
*
|
|
424
|
+
* <p>
|
|
425
425
|
* <b>3</b> - Other</p>
|
|
426
426
|
*/
|
|
427
427
|
ErrorCategory?: number;
|
|
@@ -460,11 +460,11 @@ export interface QueryExecutionStatus {
|
|
|
460
460
|
* <code>FAILED</code> indicates that the query experienced an error and did not
|
|
461
461
|
* complete processing. <code>CANCELLED</code> indicates that a user input interrupted
|
|
462
462
|
* query execution.</p>
|
|
463
|
-
*
|
|
463
|
+
* <note>
|
|
464
464
|
* <p>Athena automatically retries your queries in cases of certain
|
|
465
465
|
* transient errors. As a result, you may see the query state transition from
|
|
466
466
|
* <code>RUNNING</code> or <code>FAILED</code> to <code>QUEUED</code>. </p>
|
|
467
|
-
*
|
|
467
|
+
* </note>
|
|
468
468
|
*/
|
|
469
469
|
State?: QueryExecutionState | string;
|
|
470
470
|
/**
|
|
@@ -625,69 +625,69 @@ export interface CreateDataCatalogInput {
|
|
|
625
625
|
/**
|
|
626
626
|
* <p>Specifies the Lambda function or functions to use for creating the data
|
|
627
627
|
* catalog. This is a mapping whose values depend on the catalog type. </p>
|
|
628
|
-
*
|
|
628
|
+
* <ul>
|
|
629
629
|
* <li>
|
|
630
|
-
*
|
|
630
|
+
* <p>For the <code>HIVE</code> data catalog type, use the following syntax. The
|
|
631
631
|
* <code>metadata-function</code> parameter is required. <code>The
|
|
632
632
|
* sdk-version</code> parameter is optional and defaults to the currently
|
|
633
633
|
* supported version.</p>
|
|
634
|
-
*
|
|
634
|
+
* <p>
|
|
635
635
|
* <code>metadata-function=<i>lambda_arn</i>,
|
|
636
636
|
* sdk-version=<i>version_number</i>
|
|
637
637
|
* </code>
|
|
638
638
|
* </p>
|
|
639
639
|
* </li>
|
|
640
640
|
* <li>
|
|
641
|
-
*
|
|
641
|
+
* <p>For the <code>LAMBDA</code> data catalog type, use one of the following sets
|
|
642
642
|
* of required parameters, but not both.</p>
|
|
643
|
-
*
|
|
643
|
+
* <ul>
|
|
644
644
|
* <li>
|
|
645
|
-
*
|
|
645
|
+
* <p>If you have one Lambda function that processes metadata
|
|
646
646
|
* and another for reading the actual data, use the following syntax. Both
|
|
647
647
|
* parameters are required.</p>
|
|
648
|
-
*
|
|
648
|
+
* <p>
|
|
649
649
|
* <code>metadata-function=<i>lambda_arn</i>,
|
|
650
650
|
* record-function=<i>lambda_arn</i>
|
|
651
651
|
* </code>
|
|
652
652
|
* </p>
|
|
653
|
-
*
|
|
653
|
+
* </li>
|
|
654
654
|
* <li>
|
|
655
|
-
*
|
|
655
|
+
* <p> If you have a composite Lambda function that processes
|
|
656
656
|
* both metadata and data, use the following syntax to specify your Lambda function.</p>
|
|
657
|
-
*
|
|
657
|
+
* <p>
|
|
658
658
|
* <code>function=<i>lambda_arn</i>
|
|
659
659
|
* </code>
|
|
660
660
|
* </p>
|
|
661
|
-
*
|
|
661
|
+
* </li>
|
|
662
662
|
* </ul>
|
|
663
663
|
* </li>
|
|
664
664
|
* <li>
|
|
665
|
-
*
|
|
665
|
+
* <p>The <code>GLUE</code> type takes a catalog ID parameter and is required. The
|
|
666
666
|
* <code>
|
|
667
667
|
* <i>catalog_id</i>
|
|
668
668
|
* </code> is the account ID of the
|
|
669
669
|
* Amazon Web Services account to which the Glue Data Catalog
|
|
670
670
|
* belongs.</p>
|
|
671
|
-
*
|
|
671
|
+
* <p>
|
|
672
672
|
* <code>catalog-id=<i>catalog_id</i>
|
|
673
673
|
* </code>
|
|
674
674
|
* </p>
|
|
675
|
-
*
|
|
675
|
+
* <ul>
|
|
676
676
|
* <li>
|
|
677
|
-
*
|
|
677
|
+
* <p>The <code>GLUE</code> data catalog type also applies to the default
|
|
678
678
|
* <code>AwsDataCatalog</code> that already exists in your account, of
|
|
679
679
|
* which you can have only one and cannot modify.</p>
|
|
680
|
-
*
|
|
680
|
+
* </li>
|
|
681
681
|
* <li>
|
|
682
|
-
*
|
|
682
|
+
* <p>Queries that specify a Glue Data Catalog other than the default
|
|
683
683
|
* <code>AwsDataCatalog</code> must be run on Athena engine
|
|
684
684
|
* version 2.</p>
|
|
685
|
-
*
|
|
685
|
+
* </li>
|
|
686
686
|
* <li>
|
|
687
|
-
*
|
|
687
|
+
* <p>In Regions where Athena engine version 2 is not available,
|
|
688
688
|
* creating new Glue data catalogs results in an
|
|
689
689
|
* <code>INVALID_INPUT</code> error.</p>
|
|
690
|
-
*
|
|
690
|
+
* </li>
|
|
691
691
|
* </ul>
|
|
692
692
|
* </li>
|
|
693
693
|
* </ul>
|
|
@@ -722,12 +722,12 @@ export interface CreateNamedQueryInput {
|
|
|
722
722
|
* idempotent (executes only once). If another <code>CreateNamedQuery</code> request is
|
|
723
723
|
* received, the same response is returned and another query is not created. If a parameter
|
|
724
724
|
* has changed, for example, the <code>QueryString</code>, an error is returned.</p>
|
|
725
|
-
*
|
|
725
|
+
* <important>
|
|
726
726
|
* <p>This token is listed as not required because Amazon Web Services SDKs (for example
|
|
727
727
|
* the Amazon Web Services SDK for Java) auto-generate the token for users. If you are
|
|
728
728
|
* not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide
|
|
729
729
|
* this token or the action will fail.</p>
|
|
730
|
-
*
|
|
730
|
+
* </important>
|
|
731
731
|
*/
|
|
732
732
|
ClientRequestToken?: string;
|
|
733
733
|
/**
|
|
@@ -754,12 +754,12 @@ export interface CreateNotebookInput {
|
|
|
754
754
|
/**
|
|
755
755
|
* <p>A unique case-sensitive string used to ensure the request to create the notebook is
|
|
756
756
|
* idempotent (executes only once).</p>
|
|
757
|
-
*
|
|
757
|
+
* <important>
|
|
758
758
|
* <p>This token is listed as not required because Amazon Web Services SDKs (for example
|
|
759
759
|
* the Amazon Web Services SDK for Java) auto-generate the token for you. If you are not
|
|
760
760
|
* using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide
|
|
761
761
|
* this token or the action will fail.</p>
|
|
762
|
-
*
|
|
762
|
+
* </important>
|
|
763
763
|
*/
|
|
764
764
|
ClientRequestToken?: string;
|
|
765
765
|
}
|
|
@@ -1107,23 +1107,23 @@ export interface CalculationStatus {
|
|
|
1107
1107
|
CompletionDateTime?: Date;
|
|
1108
1108
|
/**
|
|
1109
1109
|
* <p>The state of the calculation execution. A description of each state follows.</p>
|
|
1110
|
-
*
|
|
1110
|
+
* <p>
|
|
1111
1111
|
* <code>CREATING</code> - The calculation is in the process of being created.</p>
|
|
1112
|
-
*
|
|
1112
|
+
* <p>
|
|
1113
1113
|
* <code>CREATED</code> - The calculation has been created and is ready to run.</p>
|
|
1114
|
-
*
|
|
1114
|
+
* <p>
|
|
1115
1115
|
* <code>QUEUED</code> - The calculation has been queued for processing.</p>
|
|
1116
|
-
*
|
|
1116
|
+
* <p>
|
|
1117
1117
|
* <code>RUNNING</code> - The calculation is running.</p>
|
|
1118
|
-
*
|
|
1118
|
+
* <p>
|
|
1119
1119
|
* <code>CANCELING</code> - A request to cancel the calculation has been received and the
|
|
1120
1120
|
* system is working to stop it.</p>
|
|
1121
|
-
*
|
|
1121
|
+
* <p>
|
|
1122
1122
|
* <code>CANCELED</code> - The calculation is no longer running as the result of a cancel
|
|
1123
1123
|
* request.</p>
|
|
1124
|
-
*
|
|
1124
|
+
* <p>
|
|
1125
1125
|
* <code>COMPLETED</code> - The calculation has completed without error.</p>
|
|
1126
|
-
*
|
|
1126
|
+
* <p>
|
|
1127
1127
|
* <code>FAILED</code> - The calculation failed and is no longer running.</p>
|
|
1128
1128
|
*/
|
|
1129
1129
|
State?: CalculationExecutionState | string;
|
|
@@ -1272,64 +1272,64 @@ export interface DataCatalog {
|
|
|
1272
1272
|
/**
|
|
1273
1273
|
* <p>Specifies the Lambda function or functions to use for the data catalog.
|
|
1274
1274
|
* This is a mapping whose values depend on the catalog type. </p>
|
|
1275
|
-
*
|
|
1275
|
+
* <ul>
|
|
1276
1276
|
* <li>
|
|
1277
|
-
*
|
|
1277
|
+
* <p>For the <code>HIVE</code> data catalog type, use the following syntax. The
|
|
1278
1278
|
* <code>metadata-function</code> parameter is required. <code>The
|
|
1279
1279
|
* sdk-version</code> parameter is optional and defaults to the currently
|
|
1280
1280
|
* supported version.</p>
|
|
1281
|
-
*
|
|
1281
|
+
* <p>
|
|
1282
1282
|
* <code>metadata-function=<i>lambda_arn</i>,
|
|
1283
1283
|
* sdk-version=<i>version_number</i>
|
|
1284
1284
|
* </code>
|
|
1285
1285
|
* </p>
|
|
1286
1286
|
* </li>
|
|
1287
1287
|
* <li>
|
|
1288
|
-
*
|
|
1288
|
+
* <p>For the <code>LAMBDA</code> data catalog type, use one of the following sets
|
|
1289
1289
|
* of required parameters, but not both.</p>
|
|
1290
|
-
*
|
|
1290
|
+
* <ul>
|
|
1291
1291
|
* <li>
|
|
1292
|
-
*
|
|
1292
|
+
* <p>If you have one Lambda function that processes metadata
|
|
1293
1293
|
* and another for reading the actual data, use the following syntax. Both
|
|
1294
1294
|
* parameters are required.</p>
|
|
1295
|
-
*
|
|
1295
|
+
* <p>
|
|
1296
1296
|
* <code>metadata-function=<i>lambda_arn</i>,
|
|
1297
1297
|
* record-function=<i>lambda_arn</i>
|
|
1298
1298
|
* </code>
|
|
1299
1299
|
* </p>
|
|
1300
|
-
*
|
|
1300
|
+
* </li>
|
|
1301
1301
|
* <li>
|
|
1302
|
-
*
|
|
1302
|
+
* <p> If you have a composite Lambda function that processes
|
|
1303
1303
|
* both metadata and data, use the following syntax to specify your Lambda function.</p>
|
|
1304
|
-
*
|
|
1304
|
+
* <p>
|
|
1305
1305
|
* <code>function=<i>lambda_arn</i>
|
|
1306
1306
|
* </code>
|
|
1307
1307
|
* </p>
|
|
1308
|
-
*
|
|
1308
|
+
* </li>
|
|
1309
1309
|
* </ul>
|
|
1310
1310
|
* </li>
|
|
1311
1311
|
* <li>
|
|
1312
|
-
*
|
|
1312
|
+
* <p>The <code>GLUE</code> type takes a catalog ID parameter and is required. The
|
|
1313
1313
|
* <code>
|
|
1314
1314
|
* <i>catalog_id</i>
|
|
1315
1315
|
* </code> is the account ID of the
|
|
1316
1316
|
* Amazon Web Services account to which the Glue catalog
|
|
1317
1317
|
* belongs.</p>
|
|
1318
|
-
*
|
|
1318
|
+
* <p>
|
|
1319
1319
|
* <code>catalog-id=<i>catalog_id</i>
|
|
1320
1320
|
* </code>
|
|
1321
1321
|
* </p>
|
|
1322
|
-
*
|
|
1322
|
+
* <ul>
|
|
1323
1323
|
* <li>
|
|
1324
|
-
*
|
|
1324
|
+
* <p>The <code>GLUE</code> data catalog type also applies to the default
|
|
1325
1325
|
* <code>AwsDataCatalog</code> that already exists in your account, of
|
|
1326
1326
|
* which you can have only one and cannot modify.</p>
|
|
1327
|
-
*
|
|
1327
|
+
* </li>
|
|
1328
1328
|
* <li>
|
|
1329
|
-
*
|
|
1329
|
+
* <p>Queries that specify a Glue Data Catalog other than the default
|
|
1330
1330
|
* <code>AwsDataCatalog</code> must be run on Athena engine
|
|
1331
1331
|
* version 2.</p>
|
|
1332
|
-
*
|
|
1332
|
+
* </li>
|
|
1333
1333
|
* </ul>
|
|
1334
1334
|
* </li>
|
|
1335
1335
|
* </ul>
|
|
@@ -1683,23 +1683,23 @@ export interface SessionStatus {
|
|
|
1683
1683
|
IdleSinceDateTime?: Date;
|
|
1684
1684
|
/**
|
|
1685
1685
|
* <p>The state of the session. A description of each state follows.</p>
|
|
1686
|
-
*
|
|
1686
|
+
* <p>
|
|
1687
1687
|
* <code>CREATING</code> - The session is being started, including acquiring
|
|
1688
1688
|
* resources.</p>
|
|
1689
|
-
*
|
|
1689
|
+
* <p>
|
|
1690
1690
|
* <code>CREATED</code> - The session has been started.</p>
|
|
1691
|
-
*
|
|
1691
|
+
* <p>
|
|
1692
1692
|
* <code>IDLE</code> - The session is able to accept a calculation.</p>
|
|
1693
|
-
*
|
|
1693
|
+
* <p>
|
|
1694
1694
|
* <code>BUSY</code> - The session is processing another task and is unable to accept a
|
|
1695
1695
|
* calculation.</p>
|
|
1696
|
-
*
|
|
1696
|
+
* <p>
|
|
1697
1697
|
* <code>TERMINATING</code> - The session is in the process of shutting down.</p>
|
|
1698
|
-
*
|
|
1698
|
+
* <p>
|
|
1699
1699
|
* <code>TERMINATED</code> - The session and its resources are no longer running.</p>
|
|
1700
|
-
*
|
|
1700
|
+
* <p>
|
|
1701
1701
|
* <code>DEGRADED</code> - The session has no healthy coordinators.</p>
|
|
1702
|
-
*
|
|
1702
|
+
* <p>
|
|
1703
1703
|
* <code>FAILED</code> - Due to a failure, the session and its resources are no longer
|
|
1704
1704
|
* running.</p>
|
|
1705
1705
|
*/
|
|
@@ -1912,12 +1912,12 @@ export interface ImportNotebookInput {
|
|
|
1912
1912
|
/**
|
|
1913
1913
|
* <p>A unique case-sensitive string used to ensure the request to import the notebook is
|
|
1914
1914
|
* idempotent (executes only once).</p>
|
|
1915
|
-
*
|
|
1915
|
+
* <important>
|
|
1916
1916
|
* <p>This token is listed as not required because Amazon Web Services SDKs (for example
|
|
1917
1917
|
* the Amazon Web Services SDK for Java) auto-generate the token for you. If you are not
|
|
1918
1918
|
* using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide
|
|
1919
1919
|
* this token or the action will fail.</p>
|
|
1920
|
-
*
|
|
1920
|
+
* </important>
|
|
1921
1921
|
*/
|
|
1922
1922
|
ClientRequestToken?: string;
|
|
1923
1923
|
}
|
|
@@ -1972,23 +1972,23 @@ export interface ListCalculationExecutionsRequest {
|
|
|
1972
1972
|
/**
|
|
1973
1973
|
* <p>A filter for a specific calculation execution state. A description of each state
|
|
1974
1974
|
* follows.</p>
|
|
1975
|
-
*
|
|
1975
|
+
* <p>
|
|
1976
1976
|
* <code>CREATING</code> - The calculation is in the process of being created.</p>
|
|
1977
|
-
*
|
|
1977
|
+
* <p>
|
|
1978
1978
|
* <code>CREATED</code> - The calculation has been created and is ready to run.</p>
|
|
1979
|
-
*
|
|
1979
|
+
* <p>
|
|
1980
1980
|
* <code>QUEUED</code> - The calculation has been queued for processing.</p>
|
|
1981
|
-
*
|
|
1981
|
+
* <p>
|
|
1982
1982
|
* <code>RUNNING</code> - The calculation is running.</p>
|
|
1983
|
-
*
|
|
1983
|
+
* <p>
|
|
1984
1984
|
* <code>CANCELING</code> - A request to cancel the calculation has been received and the
|
|
1985
1985
|
* system is working to stop it.</p>
|
|
1986
|
-
*
|
|
1986
|
+
* <p>
|
|
1987
1987
|
* <code>CANCELED</code> - The calculation is no longer running as the result of a cancel
|
|
1988
1988
|
* request.</p>
|
|
1989
|
-
*
|
|
1989
|
+
* <p>
|
|
1990
1990
|
* <code>COMPLETED</code> - The calculation has completed without error.</p>
|
|
1991
|
-
*
|
|
1991
|
+
* <p>
|
|
1992
1992
|
* <code>FAILED</code> - The calculation failed and is no longer running.</p>
|
|
1993
1993
|
*/
|
|
1994
1994
|
StateFilter?: CalculationExecutionState | string;
|
|
@@ -2138,18 +2138,18 @@ export interface ListExecutorsRequest {
|
|
|
2138
2138
|
SessionId: string | undefined;
|
|
2139
2139
|
/**
|
|
2140
2140
|
* <p>A filter for a specific executor state. A description of each state follows.</p>
|
|
2141
|
-
*
|
|
2141
|
+
* <p>
|
|
2142
2142
|
* <code>CREATING</code> - The executor is being started, including acquiring
|
|
2143
2143
|
* resources.</p>
|
|
2144
|
-
*
|
|
2144
|
+
* <p>
|
|
2145
2145
|
* <code>CREATED</code> - The executor has been started.</p>
|
|
2146
|
-
*
|
|
2146
|
+
* <p>
|
|
2147
2147
|
* <code>REGISTERED</code> - The executor has been registered.</p>
|
|
2148
|
-
*
|
|
2148
|
+
* <p>
|
|
2149
2149
|
* <code>TERMINATING</code> - The executor is in the process of shutting down.</p>
|
|
2150
|
-
*
|
|
2150
|
+
* <p>
|
|
2151
2151
|
* <code>TERMINATED</code> - The executor is no longer running.</p>
|
|
2152
|
-
*
|
|
2152
|
+
* <p>
|
|
2153
2153
|
* <code>FAILED</code> - Due to a failure, the executor is no longer running.</p>
|
|
2154
2154
|
*/
|
|
2155
2155
|
ExecutorStateFilter?: ExecutorState | string;
|
|
@@ -2192,18 +2192,18 @@ export interface ExecutorsSummary {
|
|
|
2192
2192
|
TerminationDateTime?: number;
|
|
2193
2193
|
/**
|
|
2194
2194
|
* <p>The processing state of the executor. A description of each state follows.</p>
|
|
2195
|
-
*
|
|
2195
|
+
* <p>
|
|
2196
2196
|
* <code>CREATING</code> - The executor is being started, including acquiring
|
|
2197
2197
|
* resources.</p>
|
|
2198
|
-
*
|
|
2198
|
+
* <p>
|
|
2199
2199
|
* <code>CREATED</code> - The executor has been started.</p>
|
|
2200
|
-
*
|
|
2200
|
+
* <p>
|
|
2201
2201
|
* <code>REGISTERED</code> - The executor has been registered.</p>
|
|
2202
|
-
*
|
|
2202
|
+
* <p>
|
|
2203
2203
|
* <code>TERMINATING</code> - The executor is in the process of shutting down.</p>
|
|
2204
|
-
*
|
|
2204
|
+
* <p>
|
|
2205
2205
|
* <code>TERMINATED</code> - The executor is no longer running.</p>
|
|
2206
|
-
*
|
|
2206
|
+
* <p>
|
|
2207
2207
|
* <code>FAILED</code> - Due to a failure, the executor is no longer running.</p>
|
|
2208
2208
|
*/
|
|
2209
2209
|
ExecutorState?: ExecutorState | string;
|
|
@@ -2417,23 +2417,23 @@ export interface ListSessionsRequest {
|
|
|
2417
2417
|
WorkGroup: string | undefined;
|
|
2418
2418
|
/**
|
|
2419
2419
|
* <p>A filter for a specific session state. A description of each state follows.</p>
|
|
2420
|
-
*
|
|
2420
|
+
* <p>
|
|
2421
2421
|
* <code>CREATING</code> - The session is being started, including acquiring
|
|
2422
2422
|
* resources.</p>
|
|
2423
|
-
*
|
|
2423
|
+
* <p>
|
|
2424
2424
|
* <code>CREATED</code> - The session has been started.</p>
|
|
2425
|
-
*
|
|
2425
|
+
* <p>
|
|
2426
2426
|
* <code>IDLE</code> - The session is able to accept a calculation.</p>
|
|
2427
|
-
*
|
|
2427
|
+
* <p>
|
|
2428
2428
|
* <code>BUSY</code> - The session is processing another task and is unable to accept a
|
|
2429
2429
|
* calculation.</p>
|
|
2430
|
-
*
|
|
2430
|
+
* <p>
|
|
2431
2431
|
* <code>TERMINATING</code> - The session is in the process of shutting down.</p>
|
|
2432
|
-
*
|
|
2432
|
+
* <p>
|
|
2433
2433
|
* <code>TERMINATED</code> - The session and its resources are no longer running.</p>
|
|
2434
|
-
*
|
|
2434
|
+
* <p>
|
|
2435
2435
|
* <code>DEGRADED</code> - The session has no healthy coordinators.</p>
|
|
2436
|
-
*
|
|
2436
|
+
* <p>
|
|
2437
2437
|
* <code>FAILED</code> - Due to a failure, the session and its resources are no longer
|
|
2438
2438
|
* running.</p>
|
|
2439
2439
|
*/
|
|
@@ -2638,12 +2638,12 @@ export interface StartCalculationExecutionRequest {
|
|
|
2638
2638
|
* <code>StartCalculationExecutionRequest</code> is received, the same response is
|
|
2639
2639
|
* returned and another calculation is not created. If a parameter has changed, an error is
|
|
2640
2640
|
* returned.</p>
|
|
2641
|
-
*
|
|
2641
|
+
* <important>
|
|
2642
2642
|
* <p>This token is listed as not required because Amazon Web Services SDKs (for example
|
|
2643
2643
|
* the Amazon Web Services SDK for Java) auto-generate the token for users. If you are
|
|
2644
2644
|
* not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide
|
|
2645
2645
|
* this token or the action will fail.</p>
|
|
2646
|
-
*
|
|
2646
|
+
* </important>
|
|
2647
2647
|
*/
|
|
2648
2648
|
ClientRequestToken?: string;
|
|
2649
2649
|
}
|
|
@@ -2655,21 +2655,21 @@ export interface StartCalculationExecutionResponse {
|
|
|
2655
2655
|
/**
|
|
2656
2656
|
* <p>
|
|
2657
2657
|
* <code>CREATING</code> - The calculation is in the process of being created.</p>
|
|
2658
|
-
*
|
|
2658
|
+
* <p>
|
|
2659
2659
|
* <code>CREATED</code> - The calculation has been created and is ready to run.</p>
|
|
2660
|
-
*
|
|
2660
|
+
* <p>
|
|
2661
2661
|
* <code>QUEUED</code> - The calculation has been queued for processing.</p>
|
|
2662
|
-
*
|
|
2662
|
+
* <p>
|
|
2663
2663
|
* <code>RUNNING</code> - The calculation is running.</p>
|
|
2664
|
-
*
|
|
2664
|
+
* <p>
|
|
2665
2665
|
* <code>CANCELING</code> - A request to cancel the calculation has been received and the
|
|
2666
2666
|
* system is working to stop it.</p>
|
|
2667
|
-
*
|
|
2667
|
+
* <p>
|
|
2668
2668
|
* <code>CANCELED</code> - The calculation is no longer running as the result of a cancel
|
|
2669
2669
|
* request.</p>
|
|
2670
|
-
*
|
|
2670
|
+
* <p>
|
|
2671
2671
|
* <code>COMPLETED</code> - The calculation has completed without error.</p>
|
|
2672
|
-
*
|
|
2672
|
+
* <p>
|
|
2673
2673
|
* <code>FAILED</code> - The calculation failed and is no longer running.</p>
|
|
2674
2674
|
*/
|
|
2675
2675
|
State?: CalculationExecutionState | string;
|
|
@@ -2684,12 +2684,12 @@ export interface StartQueryExecutionInput {
|
|
|
2684
2684
|
* idempotent (executes only once). If another <code>StartQueryExecution</code> request is
|
|
2685
2685
|
* received, the same response is returned and another query is not created. If a parameter
|
|
2686
2686
|
* has changed, for example, the <code>QueryString</code>, an error is returned.</p>
|
|
2687
|
-
*
|
|
2687
|
+
* <important>
|
|
2688
2688
|
* <p>This token is listed as not required because Amazon Web Services SDKs (for example
|
|
2689
2689
|
* the Amazon Web Services SDK for Java) auto-generate the token for users. If you are
|
|
2690
2690
|
* not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide
|
|
2691
2691
|
* this token or the action will fail.</p>
|
|
2692
|
-
*
|
|
2692
|
+
* </important>
|
|
2693
2693
|
*/
|
|
2694
2694
|
ClientRequestToken?: string;
|
|
2695
2695
|
/**
|
|
@@ -2764,12 +2764,12 @@ export interface StartSessionRequest {
|
|
|
2764
2764
|
* idempotent (executes only once). If another <code>StartSessionRequest</code> is
|
|
2765
2765
|
* received, the same response is returned and another session is not created. If a
|
|
2766
2766
|
* parameter has changed, an error is returned.</p>
|
|
2767
|
-
*
|
|
2767
|
+
* <important>
|
|
2768
2768
|
* <p>This token is listed as not required because Amazon Web Services SDKs (for example
|
|
2769
2769
|
* the Amazon Web Services SDK for Java) auto-generate the token for users. If you are
|
|
2770
2770
|
* not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide
|
|
2771
2771
|
* this token or the action will fail.</p>
|
|
2772
|
-
*
|
|
2772
|
+
* </important>
|
|
2773
2773
|
*/
|
|
2774
2774
|
ClientRequestToken?: string;
|
|
2775
2775
|
}
|
|
@@ -2780,23 +2780,23 @@ export interface StartSessionResponse {
|
|
|
2780
2780
|
SessionId?: string;
|
|
2781
2781
|
/**
|
|
2782
2782
|
* <p>The state of the session. A description of each state follows.</p>
|
|
2783
|
-
*
|
|
2783
|
+
* <p>
|
|
2784
2784
|
* <code>CREATING</code> - The session is being started, including acquiring
|
|
2785
2785
|
* resources.</p>
|
|
2786
|
-
*
|
|
2786
|
+
* <p>
|
|
2787
2787
|
* <code>CREATED</code> - The session has been started.</p>
|
|
2788
|
-
*
|
|
2788
|
+
* <p>
|
|
2789
2789
|
* <code>IDLE</code> - The session is able to accept a calculation.</p>
|
|
2790
|
-
*
|
|
2790
|
+
* <p>
|
|
2791
2791
|
* <code>BUSY</code> - The session is processing another task and is unable to accept a
|
|
2792
2792
|
* calculation.</p>
|
|
2793
|
-
*
|
|
2793
|
+
* <p>
|
|
2794
2794
|
* <code>TERMINATING</code> - The session is in the process of shutting down.</p>
|
|
2795
|
-
*
|
|
2795
|
+
* <p>
|
|
2796
2796
|
* <code>TERMINATED</code> - The session and its resources are no longer running.</p>
|
|
2797
|
-
*
|
|
2797
|
+
* <p>
|
|
2798
2798
|
* <code>DEGRADED</code> - The session has no healthy coordinators.</p>
|
|
2799
|
-
*
|
|
2799
|
+
* <p>
|
|
2800
2800
|
* <code>FAILED</code> - Due to a failure, the session and its resources are no longer
|
|
2801
2801
|
* running.</p>
|
|
2802
2802
|
*/
|
|
@@ -2812,21 +2812,21 @@ export interface StopCalculationExecutionResponse {
|
|
|
2812
2812
|
/**
|
|
2813
2813
|
* <p>
|
|
2814
2814
|
* <code>CREATING</code> - The calculation is in the process of being created.</p>
|
|
2815
|
-
*
|
|
2815
|
+
* <p>
|
|
2816
2816
|
* <code>CREATED</code> - The calculation has been created and is ready to run.</p>
|
|
2817
|
-
*
|
|
2817
|
+
* <p>
|
|
2818
2818
|
* <code>QUEUED</code> - The calculation has been queued for processing.</p>
|
|
2819
|
-
*
|
|
2819
|
+
* <p>
|
|
2820
2820
|
* <code>RUNNING</code> - The calculation is running.</p>
|
|
2821
|
-
*
|
|
2821
|
+
* <p>
|
|
2822
2822
|
* <code>CANCELING</code> - A request to cancel the calculation has been received and the
|
|
2823
2823
|
* system is working to stop it.</p>
|
|
2824
|
-
*
|
|
2824
|
+
* <p>
|
|
2825
2825
|
* <code>CANCELED</code> - The calculation is no longer running as the result of a cancel
|
|
2826
2826
|
* request.</p>
|
|
2827
|
-
*
|
|
2827
|
+
* <p>
|
|
2828
2828
|
* <code>COMPLETED</code> - The calculation has completed without error.</p>
|
|
2829
|
-
*
|
|
2829
|
+
* <p>
|
|
2830
2830
|
* <code>FAILED</code> - The calculation failed and is no longer running.</p>
|
|
2831
2831
|
*/
|
|
2832
2832
|
State?: CalculationExecutionState | string;
|
|
@@ -2861,23 +2861,23 @@ export interface TerminateSessionRequest {
|
|
|
2861
2861
|
export interface TerminateSessionResponse {
|
|
2862
2862
|
/**
|
|
2863
2863
|
* <p>The state of the session. A description of each state follows.</p>
|
|
2864
|
-
*
|
|
2864
|
+
* <p>
|
|
2865
2865
|
* <code>CREATING</code> - The session is being started, including acquiring
|
|
2866
2866
|
* resources.</p>
|
|
2867
|
-
*
|
|
2867
|
+
* <p>
|
|
2868
2868
|
* <code>CREATED</code> - The session has been started.</p>
|
|
2869
|
-
*
|
|
2869
|
+
* <p>
|
|
2870
2870
|
* <code>IDLE</code> - The session is able to accept a calculation.</p>
|
|
2871
|
-
*
|
|
2871
|
+
* <p>
|
|
2872
2872
|
* <code>BUSY</code> - The session is processing another task and is unable to accept a
|
|
2873
2873
|
* calculation.</p>
|
|
2874
|
-
*
|
|
2874
|
+
* <p>
|
|
2875
2875
|
* <code>TERMINATING</code> - The session is in the process of shutting down.</p>
|
|
2876
|
-
*
|
|
2876
|
+
* <p>
|
|
2877
2877
|
* <code>TERMINATED</code> - The session and its resources are no longer running.</p>
|
|
2878
|
-
*
|
|
2878
|
+
* <p>
|
|
2879
2879
|
* <code>DEGRADED</code> - The session has no healthy coordinators.</p>
|
|
2880
|
-
*
|
|
2880
|
+
* <p>
|
|
2881
2881
|
* <code>FAILED</code> - Due to a failure, the session and its resources are no longer
|
|
2882
2882
|
* running.</p>
|
|
2883
2883
|
*/
|
|
@@ -2917,40 +2917,40 @@ export interface UpdateDataCatalogInput {
|
|
|
2917
2917
|
/**
|
|
2918
2918
|
* <p>Specifies the Lambda function or functions to use for updating the data
|
|
2919
2919
|
* catalog. This is a mapping whose values depend on the catalog type. </p>
|
|
2920
|
-
*
|
|
2920
|
+
* <ul>
|
|
2921
2921
|
* <li>
|
|
2922
|
-
*
|
|
2922
|
+
* <p>For the <code>HIVE</code> data catalog type, use the following syntax. The
|
|
2923
2923
|
* <code>metadata-function</code> parameter is required. <code>The
|
|
2924
2924
|
* sdk-version</code> parameter is optional and defaults to the currently
|
|
2925
2925
|
* supported version.</p>
|
|
2926
|
-
*
|
|
2926
|
+
* <p>
|
|
2927
2927
|
* <code>metadata-function=<i>lambda_arn</i>,
|
|
2928
2928
|
* sdk-version=<i>version_number</i>
|
|
2929
2929
|
* </code>
|
|
2930
2930
|
* </p>
|
|
2931
2931
|
* </li>
|
|
2932
2932
|
* <li>
|
|
2933
|
-
*
|
|
2933
|
+
* <p>For the <code>LAMBDA</code> data catalog type, use one of the following sets
|
|
2934
2934
|
* of required parameters, but not both.</p>
|
|
2935
|
-
*
|
|
2935
|
+
* <ul>
|
|
2936
2936
|
* <li>
|
|
2937
|
-
*
|
|
2937
|
+
* <p>If you have one Lambda function that processes metadata
|
|
2938
2938
|
* and another for reading the actual data, use the following syntax. Both
|
|
2939
2939
|
* parameters are required.</p>
|
|
2940
|
-
*
|
|
2940
|
+
* <p>
|
|
2941
2941
|
* <code>metadata-function=<i>lambda_arn</i>,
|
|
2942
2942
|
* record-function=<i>lambda_arn</i>
|
|
2943
2943
|
* </code>
|
|
2944
2944
|
* </p>
|
|
2945
|
-
*
|
|
2945
|
+
* </li>
|
|
2946
2946
|
* <li>
|
|
2947
|
-
*
|
|
2947
|
+
* <p> If you have a composite Lambda function that processes
|
|
2948
2948
|
* both metadata and data, use the following syntax to specify your Lambda function.</p>
|
|
2949
|
-
*
|
|
2949
|
+
* <p>
|
|
2950
2950
|
* <code>function=<i>lambda_arn</i>
|
|
2951
2951
|
* </code>
|
|
2952
2952
|
* </p>
|
|
2953
|
-
*
|
|
2953
|
+
* </li>
|
|
2954
2954
|
* </ul>
|
|
2955
2955
|
* </li>
|
|
2956
2956
|
* </ul>
|
|
@@ -2987,12 +2987,12 @@ export interface UpdateNotebookInput {
|
|
|
2987
2987
|
/**
|
|
2988
2988
|
* <p>The updated content for the notebook.</p>
|
|
2989
2989
|
*/
|
|
2990
|
-
Payload
|
|
2990
|
+
Payload: string | undefined;
|
|
2991
2991
|
/**
|
|
2992
2992
|
* <p>The notebook content type. Currently, the only valid type is
|
|
2993
2993
|
* <code>IPYNB</code>.</p>
|
|
2994
2994
|
*/
|
|
2995
|
-
Type
|
|
2995
|
+
Type: NotebookType | string | undefined;
|
|
2996
2996
|
/**
|
|
2997
2997
|
* <p>The ID of the session in which the notebook will be updated.</p>
|
|
2998
2998
|
*/
|
|
@@ -3000,12 +3000,12 @@ export interface UpdateNotebookInput {
|
|
|
3000
3000
|
/**
|
|
3001
3001
|
* <p>A unique case-sensitive string used to ensure the request to create the notebook is
|
|
3002
3002
|
* idempotent (executes only once).</p>
|
|
3003
|
-
*
|
|
3003
|
+
* <important>
|
|
3004
3004
|
* <p>This token is listed as not required because Amazon Web Services SDKs (for example
|
|
3005
3005
|
* the Amazon Web Services SDK for Java) auto-generate the token for you. If you are not
|
|
3006
3006
|
* using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide
|
|
3007
3007
|
* this token or the action will fail.</p>
|
|
3008
|
-
*
|
|
3008
|
+
* </important>
|
|
3009
3009
|
*/
|
|
3010
3010
|
ClientRequestToken?: string;
|
|
3011
3011
|
}
|
|
@@ -3019,12 +3019,12 @@ export interface UpdateNotebookMetadataInput {
|
|
|
3019
3019
|
/**
|
|
3020
3020
|
* <p>A unique case-sensitive string used to ensure the request to create the notebook is
|
|
3021
3021
|
* idempotent (executes only once).</p>
|
|
3022
|
-
*
|
|
3022
|
+
* <important>
|
|
3023
3023
|
* <p>This token is listed as not required because Amazon Web Services SDKs (for example
|
|
3024
3024
|
* the Amazon Web Services SDK for Java) auto-generate the token for you. If you are not
|
|
3025
3025
|
* using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide
|
|
3026
3026
|
* this token or the action will fail.</p>
|
|
3027
|
-
*
|
|
3027
|
+
* </important>
|
|
3028
3028
|
*/
|
|
3029
3029
|
ClientRequestToken?: string;
|
|
3030
3030
|
/**
|
|
@@ -3102,7 +3102,7 @@ export interface ResultConfigurationUpdates {
|
|
|
3102
3102
|
* <code>ExpectedBucketOwner</code>
|
|
3103
3103
|
* Amazon Web Services account ID does not match the actual owner of the Amazon S3
|
|
3104
3104
|
* bucket, the call fails with a permissions error.</p>
|
|
3105
|
-
*
|
|
3105
|
+
* <p>If workgroup settings override client-side settings, then the query uses the
|
|
3106
3106
|
* <code>ExpectedBucketOwner</code> setting that is specified for the workgroup, and
|
|
3107
3107
|
* 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>
|
|
3108
3108
|
*/
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -839,8 +839,8 @@ export interface UpdateNamedQueryInput {
|
|
|
839
839
|
export interface UpdateNamedQueryOutput {}
|
|
840
840
|
export interface UpdateNotebookInput {
|
|
841
841
|
NotebookId: string | undefined;
|
|
842
|
-
Payload
|
|
843
|
-
Type
|
|
842
|
+
Payload: string | undefined;
|
|
843
|
+
Type: NotebookType | string | undefined;
|
|
844
844
|
SessionId?: string;
|
|
845
845
|
ClientRequestToken?: string;
|
|
846
846
|
}
|
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.
|
|
4
|
+
"version": "3.234.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.234.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.234.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.234.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.226.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"@aws-sdk/node-config-provider": "3.226.0",
|
|
39
39
|
"@aws-sdk/node-http-handler": "3.226.0",
|
|
40
40
|
"@aws-sdk/protocol-http": "3.226.0",
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
+
"@aws-sdk/smithy-client": "3.234.0",
|
|
42
42
|
"@aws-sdk/types": "3.226.0",
|
|
43
43
|
"@aws-sdk/url-parser": "3.226.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.234.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.234.0",
|
|
49
49
|
"@aws-sdk/util-endpoints": "3.226.0",
|
|
50
50
|
"@aws-sdk/util-retry": "3.229.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|