@aws-sdk/client-athena 3.451.0 → 3.454.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/README.md +0 -3
- package/dist-types/Athena.d.ts +0 -3
- package/dist-types/AthenaClient.d.ts +0 -3
- package/dist-types/commands/BatchGetQueryExecutionCommand.d.ts +1 -0
- package/dist-types/commands/CancelCapacityReservationCommand.d.ts +4 -1
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -1
- package/dist-types/commands/CreateNamedQueryCommand.d.ts +0 -3
- package/dist-types/commands/DeleteCapacityReservationCommand.d.ts +5 -1
- package/dist-types/commands/DeleteNamedQueryCommand.d.ts +0 -3
- package/dist-types/commands/GetCapacityAssignmentConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetQueryExecutionCommand.d.ts +1 -0
- package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +1 -0
- package/dist-types/commands/ListNamedQueriesCommand.d.ts +0 -3
- package/dist-types/commands/ListQueryExecutionsCommand.d.ts +1 -4
- package/dist-types/commands/PutCapacityAssignmentConfigurationCommand.d.ts +3 -1
- package/dist-types/commands/StartCalculationExecutionCommand.d.ts +7 -0
- package/dist-types/commands/StopQueryExecutionCommand.d.ts +0 -3
- package/dist-types/commands/TagResourceCommand.d.ts +10 -8
- package/dist-types/commands/UpdateCapacityReservationCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -3
- package/dist-types/models/models_0.d.ts +136 -100
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,9 +17,6 @@ Guide</i>.</p>
|
|
|
17
17
|
driver or later with the Amazon Athena API. Earlier version drivers do not
|
|
18
18
|
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
|
|
19
19
|
Amazon Athena with JDBC</a>.</p>
|
|
20
|
-
<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
|
|
21
|
-
Code Samples</a> in the <i>Amazon Athena User
|
|
22
|
-
Guide</i>.</p>
|
|
23
20
|
|
|
24
21
|
## Installing
|
|
25
22
|
|
package/dist-types/Athena.d.ts
CHANGED
|
@@ -491,9 +491,6 @@ export interface Athena {
|
|
|
491
491
|
* driver or later with the Amazon Athena API. Earlier version drivers do not
|
|
492
492
|
* 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
|
|
493
493
|
* Amazon Athena with JDBC</a>.</p>
|
|
494
|
-
* <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
|
|
495
|
-
* Code Samples</a> in the <i>Amazon Athena User
|
|
496
|
-
* Guide</i>.</p>
|
|
497
494
|
*/
|
|
498
495
|
export declare class Athena extends AthenaClient implements Athena {
|
|
499
496
|
}
|
|
@@ -231,9 +231,6 @@ export interface AthenaClientResolvedConfig extends AthenaClientResolvedConfigTy
|
|
|
231
231
|
* driver or later with the Amazon Athena API. Earlier version drivers do not
|
|
232
232
|
* 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
|
|
233
233
|
* Amazon Athena with JDBC</a>.</p>
|
|
234
|
-
* <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
|
|
235
|
-
* Code Samples</a> in the <i>Amazon Athena User
|
|
236
|
-
* Guide</i>.</p>
|
|
237
234
|
*/
|
|
238
235
|
export declare class AthenaClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AthenaClientResolvedConfig> {
|
|
239
236
|
/**
|
|
@@ -87,6 +87,7 @@ export interface BatchGetQueryExecutionCommandOutput extends BatchGetQueryExecut
|
|
|
87
87
|
* // DataManifestLocation: "STRING_VALUE",
|
|
88
88
|
* // TotalExecutionTimeInMillis: Number("long"),
|
|
89
89
|
* // QueryQueueTimeInMillis: Number("long"),
|
|
90
|
+
* // ServicePreProcessingTimeInMillis: Number("long"),
|
|
90
91
|
* // QueryPlanningTimeInMillis: Number("long"),
|
|
91
92
|
* // ServiceProcessingTimeInMillis: Number("long"),
|
|
92
93
|
* // ResultReuseInformation: { // ResultReuseInformation
|
|
@@ -23,7 +23,10 @@ export interface CancelCapacityReservationCommandOutput extends CancelCapacityRe
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Cancels the capacity reservation with the specified name. Cancelled reservations
|
|
26
|
+
* <p>Cancels the capacity reservation with the specified name. Cancelled reservations
|
|
27
|
+
* remain in your account and will be deleted 45 days after cancellation. During the 45
|
|
28
|
+
* days, you cannot re-purpose or reuse a reservation that has been cancelled, but you can
|
|
29
|
+
* refer to its tags and view it for historical reference. </p>
|
|
27
30
|
* @example
|
|
28
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
32
|
* ```javascript
|
|
@@ -23,7 +23,8 @@ export interface CreateCapacityReservationCommandOutput extends CreateCapacityRe
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a capacity reservation with the specified name and number of requested data
|
|
26
|
+
* <p>Creates a capacity reservation with the specified name and number of requested data
|
|
27
|
+
* processing units.</p>
|
|
27
28
|
* @example
|
|
28
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
30
|
* ```javascript
|
|
@@ -25,9 +25,6 @@ export interface CreateNamedQueryCommandOutput extends CreateNamedQueryOutput, _
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Creates a named query in the specified workgroup. Requires that you have access to the
|
|
27
27
|
* workgroup.</p>
|
|
28
|
-
* <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
|
|
29
|
-
* Code Samples</a> in the <i>Amazon Athena User
|
|
30
|
-
* Guide</i>.</p>
|
|
31
28
|
* @example
|
|
32
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
30
|
* ```javascript
|
|
@@ -23,7 +23,11 @@ export interface DeleteCapacityReservationCommandOutput extends DeleteCapacityRe
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Deletes a cancelled capacity reservation. A reservation must be cancelled before it
|
|
26
|
+
* <p>Deletes a cancelled capacity reservation. A reservation must be cancelled before it
|
|
27
|
+
* can be deleted. A deleted reservation is immediately removed from your account and can
|
|
28
|
+
* no longer be referenced, including by its ARN. A deleted reservation cannot be called by
|
|
29
|
+
* <code>GetCapacityReservation</code>, and deleted reservations do not appear in the
|
|
30
|
+
* output of <code>ListCapacityReservations</code>.</p>
|
|
27
31
|
* @example
|
|
28
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
33
|
* ```javascript
|
|
@@ -25,9 +25,6 @@ export interface DeleteNamedQueryCommandOutput extends DeleteNamedQueryOutput, _
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes the named query if you have access to the workgroup in which the query was
|
|
27
27
|
* saved.</p>
|
|
28
|
-
* <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
|
|
29
|
-
* Code Samples</a> in the <i>Amazon Athena User
|
|
30
|
-
* Guide</i>.</p>
|
|
31
28
|
* @example
|
|
32
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
30
|
* ```javascript
|
|
@@ -23,7 +23,8 @@ export interface GetCapacityAssignmentConfigurationCommandOutput extends GetCapa
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Gets the capacity assignment configuration for a capacity reservation, if one
|
|
26
|
+
* <p>Gets the capacity assignment configuration for a capacity reservation, if one
|
|
27
|
+
* exists.</p>
|
|
27
28
|
* @example
|
|
28
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
30
|
* ```javascript
|
|
@@ -81,6 +81,7 @@ export interface GetQueryExecutionCommandOutput extends GetQueryExecutionOutput,
|
|
|
81
81
|
* // DataManifestLocation: "STRING_VALUE",
|
|
82
82
|
* // TotalExecutionTimeInMillis: Number("long"),
|
|
83
83
|
* // QueryQueueTimeInMillis: Number("long"),
|
|
84
|
+
* // ServicePreProcessingTimeInMillis: Number("long"),
|
|
84
85
|
* // QueryPlanningTimeInMillis: Number("long"),
|
|
85
86
|
* // ServiceProcessingTimeInMillis: Number("long"),
|
|
86
87
|
* // ResultReuseInformation: { // ResultReuseInformation
|
|
@@ -44,6 +44,7 @@ export interface GetQueryRuntimeStatisticsCommandOutput extends GetQueryRuntimeS
|
|
|
44
44
|
* // QueryRuntimeStatistics: { // QueryRuntimeStatistics
|
|
45
45
|
* // Timeline: { // QueryRuntimeStatisticsTimeline
|
|
46
46
|
* // QueryQueueTimeInMillis: Number("long"),
|
|
47
|
+
* // ServicePreProcessingTimeInMillis: Number("long"),
|
|
47
48
|
* // QueryPlanningTimeInMillis: Number("long"),
|
|
48
49
|
* // EngineExecutionTimeInMillis: Number("long"),
|
|
49
50
|
* // ServiceProcessingTimeInMillis: Number("long"),
|
|
@@ -26,9 +26,6 @@ export interface ListNamedQueriesCommandOutput extends ListNamedQueriesOutput, _
|
|
|
26
26
|
* <p>Provides a list of available query IDs only for queries saved in the specified
|
|
27
27
|
* workgroup. Requires that you have access to the specified workgroup. If a workgroup is
|
|
28
28
|
* not specified, lists the saved queries for the primary workgroup.</p>
|
|
29
|
-
* <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
|
|
30
|
-
* Code Samples</a> in the <i>Amazon Athena User
|
|
31
|
-
* Guide</i>.</p>
|
|
32
29
|
* @example
|
|
33
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
31
|
* ```javascript
|
|
@@ -24,12 +24,9 @@ export interface ListQueryExecutionsCommandOutput extends ListQueryExecutionsOut
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Provides a list of available query execution IDs for the queries in the specified
|
|
27
|
-
* workgroup. If a workgroup is not specified, returns a list of query execution IDs for
|
|
27
|
+
* workgroup. Athena keeps a query history for 45 days. If a workgroup is not specified, returns a list of query execution IDs for
|
|
28
28
|
* the primary workgroup. Requires you to have access to the workgroup in which the queries
|
|
29
29
|
* ran.</p>
|
|
30
|
-
* <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
|
|
31
|
-
* Code Samples</a> in the <i>Amazon Athena User
|
|
32
|
-
* Guide</i>.</p>
|
|
33
30
|
* @example
|
|
34
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
32
|
* ```javascript
|
|
@@ -23,7 +23,9 @@ export interface PutCapacityAssignmentConfigurationCommandOutput extends PutCapa
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Puts a new capacity assignment configuration for a specified capacity reservation. If
|
|
26
|
+
* <p>Puts a new capacity assignment configuration for a specified capacity reservation. If
|
|
27
|
+
* a capacity assignment configuration already exists for the capacity reservation,
|
|
28
|
+
* replaces the existing capacity assignment configuration.</p>
|
|
27
29
|
* @example
|
|
28
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
31
|
* ```javascript
|
|
@@ -25,6 +25,13 @@ export interface StartCalculationExecutionCommandOutput extends StartCalculation
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Submits calculations for execution within a session. You can supply the code to run as
|
|
27
27
|
* an inline code block within the request.</p>
|
|
28
|
+
* <note>
|
|
29
|
+
* <p>The request syntax requires the
|
|
30
|
+
* <a>StartCalculationExecutionRequest$CodeBlock</a> parameter or the <a>CalculationConfiguration$CodeBlock</a>
|
|
31
|
+
* parameter, but not both. Because
|
|
32
|
+
* <a>CalculationConfiguration$CodeBlock</a> is deprecated, use the
|
|
33
|
+
* <a>StartCalculationExecutionRequest$CodeBlock</a> parameter instead.</p>
|
|
34
|
+
* </note>
|
|
28
35
|
* @example
|
|
29
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
37
|
* ```javascript
|
|
@@ -25,9 +25,6 @@ export interface StopQueryExecutionCommandOutput extends StopQueryExecutionOutpu
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Stops a query execution. Requires you to have access to the workgroup in which the
|
|
27
27
|
* query ran.</p>
|
|
28
|
-
* <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
|
|
29
|
-
* Code Samples</a> in the <i>Amazon Athena User
|
|
30
|
-
* Guide</i>.</p>
|
|
31
28
|
* @example
|
|
32
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
30
|
* ```javascript
|
|
@@ -24,14 +24,16 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Adds one or more tags to an Athena resource. A tag is a label that you
|
|
27
|
-
* assign to a resource. Each tag consists of a key and an optional value, both of which
|
|
28
|
-
* example, you can use tags to categorize Athena workgroups,
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
27
|
+
* assign to a resource. Each tag consists of a key and an optional value, both of which
|
|
28
|
+
* you define. For example, you can use tags to categorize Athena workgroups,
|
|
29
|
+
* data catalogs, or capacity reservations by purpose, owner, or environment. Use a
|
|
30
|
+
* consistent set of tag keys to make it easier to search and filter the resources in your
|
|
31
|
+
* account. For best practices, see <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging
|
|
32
|
+
* Best Practices</a>. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and
|
|
33
|
+
* tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and
|
|
34
|
+
* numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys
|
|
35
|
+
* and values are case-sensitive. Tag keys must be unique per resource. If you specify more
|
|
36
|
+
* than one tag, separate them by commas.</p>
|
|
35
37
|
* @example
|
|
36
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
39
|
* ```javascript
|
|
@@ -23,7 +23,8 @@ export interface UpdateCapacityReservationCommandOutput extends UpdateCapacityRe
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Updates the number of requested data processing units for the capacity reservation
|
|
26
|
+
* <p>Updates the number of requested data processing units for the capacity reservation
|
|
27
|
+
* with the specified name.</p>
|
|
27
28
|
* @example
|
|
28
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
30
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,9 +10,6 @@
|
|
|
10
10
|
* driver or later with the Amazon Athena API. Earlier version drivers do not
|
|
11
11
|
* 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
|
|
12
12
|
* Amazon Athena with JDBC</a>.</p>
|
|
13
|
-
* <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
|
|
14
|
-
* Code Samples</a> in the <i>Amazon Athena User
|
|
15
|
-
* Guide</i>.</p>
|
|
16
13
|
*
|
|
17
14
|
* @packageDocumentation
|
|
18
15
|
*/
|
|
@@ -318,9 +318,9 @@ export declare const EncryptionOption: {
|
|
|
318
318
|
export type EncryptionOption = (typeof EncryptionOption)[keyof typeof EncryptionOption];
|
|
319
319
|
/**
|
|
320
320
|
* @public
|
|
321
|
-
* <p>If query and calculation results are encrypted in Amazon S3, indicates the
|
|
322
|
-
* used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and
|
|
323
|
-
* information.</p>
|
|
321
|
+
* <p>If query and calculation results are encrypted in Amazon S3, indicates the
|
|
322
|
+
* encryption option used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and
|
|
323
|
+
* key information.</p>
|
|
324
324
|
*/
|
|
325
325
|
export interface EncryptionConfiguration {
|
|
326
326
|
/**
|
|
@@ -342,16 +342,16 @@ export interface EncryptionConfiguration {
|
|
|
342
342
|
}
|
|
343
343
|
/**
|
|
344
344
|
* @public
|
|
345
|
-
* <p>The location in Amazon S3 where query and calculation results are stored and
|
|
346
|
-
* option, if any, used for query and calculation results. These are known
|
|
347
|
-
* workgroup settings override client-side settings, then the
|
|
348
|
-
* settings.</p>
|
|
345
|
+
* <p>The location in Amazon S3 where query and calculation results are stored and
|
|
346
|
+
* the encryption option, if any, used for query and calculation results. These are known
|
|
347
|
+
* as "client-side settings". If workgroup settings override client-side settings, then the
|
|
348
|
+
* query uses the workgroup settings.</p>
|
|
349
349
|
*/
|
|
350
350
|
export interface ResultConfiguration {
|
|
351
351
|
/**
|
|
352
352
|
* @public
|
|
353
|
-
* <p>The location in Amazon S3 where your query and calculation results are stored,
|
|
354
|
-
*
|
|
353
|
+
* <p>The location in Amazon S3 where your query and calculation results are stored,
|
|
354
|
+
* such as <code>s3://path/to/query/bucket/</code>. To run the query, you must specify the
|
|
355
355
|
* query results location using one of the ways: either for individual queries using either
|
|
356
356
|
* this setting (client-side), or in the workgroup, using <a>WorkGroupConfiguration</a>. If none of them is set, Athena
|
|
357
357
|
* issues an error that no output location is provided. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Working with query
|
|
@@ -362,11 +362,13 @@ export interface ResultConfiguration {
|
|
|
362
362
|
OutputLocation?: string;
|
|
363
363
|
/**
|
|
364
364
|
* @public
|
|
365
|
-
* <p>If query and calculation results are encrypted in Amazon S3, indicates the
|
|
366
|
-
* used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and
|
|
367
|
-
* This is a client-side setting. If workgroup settings override
|
|
368
|
-
* the query uses the encryption configuration that is specified
|
|
369
|
-
* also uses the location for storing query results specified in the
|
|
365
|
+
* <p>If query and calculation results are encrypted in Amazon S3, indicates the
|
|
366
|
+
* encryption option used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and
|
|
367
|
+
* key information. This is a client-side setting. If workgroup settings override
|
|
368
|
+
* client-side settings, then the query uses the encryption configuration that is specified
|
|
369
|
+
* for the workgroup, and also uses the location for storing query results specified in the
|
|
370
|
+
* workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>
|
|
371
|
+
* and <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override Client-Side Settings</a>.</p>
|
|
370
372
|
*/
|
|
371
373
|
EncryptionConfiguration?: EncryptionConfiguration;
|
|
372
374
|
/**
|
|
@@ -489,6 +491,11 @@ export interface QueryExecutionStatistics {
|
|
|
489
491
|
* add the query back to the queue.</p>
|
|
490
492
|
*/
|
|
491
493
|
QueryQueueTimeInMillis?: number;
|
|
494
|
+
/**
|
|
495
|
+
* @public
|
|
496
|
+
* <p>The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.</p>
|
|
497
|
+
*/
|
|
498
|
+
ServicePreProcessingTimeInMillis?: number;
|
|
492
499
|
/**
|
|
493
500
|
* @public
|
|
494
501
|
* <p>The number of milliseconds that Athena took to plan the query processing
|
|
@@ -634,11 +641,11 @@ export interface QueryExecution {
|
|
|
634
641
|
StatementType?: StatementType;
|
|
635
642
|
/**
|
|
636
643
|
* @public
|
|
637
|
-
* <p>The location in Amazon S3 where query and calculation results are stored and
|
|
638
|
-
* option, if any, used for query results. These are known as "client-side
|
|
639
|
-
* workgroup settings override client-side settings, then the query uses the
|
|
640
|
-
* the query results and the encryption configuration that are specified for
|
|
641
|
-
* workgroup.</p>
|
|
644
|
+
* <p>The location in Amazon S3 where query and calculation results are stored and
|
|
645
|
+
* the encryption option, if any, used for query results. These are known as "client-side
|
|
646
|
+
* settings". If workgroup settings override client-side settings, then the query uses the
|
|
647
|
+
* location for the query results and the encryption configuration that are specified for
|
|
648
|
+
* the workgroup.</p>
|
|
642
649
|
*/
|
|
643
650
|
ResultConfiguration?: ResultConfiguration;
|
|
644
651
|
/**
|
|
@@ -676,7 +683,8 @@ export interface QueryExecution {
|
|
|
676
683
|
/**
|
|
677
684
|
* @public
|
|
678
685
|
* <p>A list of values for the parameters in a query. The values are applied sequentially to
|
|
679
|
-
* the parameters in the query in the order in which the parameters occur. The list of
|
|
686
|
+
* the parameters in the query in the order in which the parameters occur. The list of
|
|
687
|
+
* parameters is not returned in the response.</p>
|
|
680
688
|
*/
|
|
681
689
|
ExecutionParameters?: string[];
|
|
682
690
|
/**
|
|
@@ -741,15 +749,16 @@ export interface CancelCapacityReservationOutput {
|
|
|
741
749
|
/**
|
|
742
750
|
* @public
|
|
743
751
|
* <p>A label that you assign to a resource. Athena resources include
|
|
744
|
-
* workgroups, data catalogs, and capacity reservations. Each tag consists of a key and an
|
|
745
|
-
* which you define. For example, you can use tags to categorize
|
|
746
|
-
*
|
|
747
|
-
* tag keys to make it easier to search and filter the resources in your
|
|
748
|
-
*
|
|
749
|
-
*
|
|
750
|
-
*
|
|
751
|
-
*
|
|
752
|
-
*
|
|
752
|
+
* workgroups, data catalogs, and capacity reservations. Each tag consists of a key and an
|
|
753
|
+
* optional value, both of which you define. For example, you can use tags to categorize
|
|
754
|
+
* Athena resources by purpose, owner, or environment. Use a consistent set
|
|
755
|
+
* of tag keys to make it easier to search and filter the resources in your account. For
|
|
756
|
+
* best practices, see <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging
|
|
757
|
+
* Best Practices</a>. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and
|
|
758
|
+
* tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and
|
|
759
|
+
* numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys
|
|
760
|
+
* and values are case-sensitive. Tag keys must be unique per resource. If you specify more
|
|
761
|
+
* than one tag, separate them by commas. </p>
|
|
753
762
|
*/
|
|
754
763
|
export interface Tag {
|
|
755
764
|
/**
|
|
@@ -886,16 +895,6 @@ export interface CreateDataCatalogInput {
|
|
|
886
895
|
* <code>AwsDataCatalog</code> that already exists in your account, of
|
|
887
896
|
* which you can have only one and cannot modify.</p>
|
|
888
897
|
* </li>
|
|
889
|
-
* <li>
|
|
890
|
-
* <p>Queries that specify a Glue Data Catalog other than the default
|
|
891
|
-
* <code>AwsDataCatalog</code> must be run on Athena engine
|
|
892
|
-
* version 2.</p>
|
|
893
|
-
* </li>
|
|
894
|
-
* <li>
|
|
895
|
-
* <p>In Regions where Athena engine version 2 is not available,
|
|
896
|
-
* creating new Glue data catalogs results in an
|
|
897
|
-
* <code>INVALID_INPUT</code> error.</p>
|
|
898
|
-
* </li>
|
|
899
898
|
* </ul>
|
|
900
899
|
* </li>
|
|
901
900
|
* </ul>
|
|
@@ -1115,34 +1114,36 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
1115
1114
|
}
|
|
1116
1115
|
/**
|
|
1117
1116
|
* @public
|
|
1118
|
-
* <p>Specifies the KMS key that is used to encrypt the user's data stores
|
|
1117
|
+
* <p>Specifies the customer managed KMS key that is used to encrypt the user's data stores
|
|
1118
|
+
* in Athena. When an Amazon Web Services managed key is used, this value is
|
|
1119
|
+
* null. This setting does not apply to Athena SQL workgroups.</p>
|
|
1119
1120
|
*/
|
|
1120
1121
|
export interface CustomerContentEncryptionConfiguration {
|
|
1121
1122
|
/**
|
|
1122
1123
|
* @public
|
|
1123
|
-
* <p>The KMS key that is used to encrypt the user's data stores in Athena.</p>
|
|
1124
|
+
* <p>The customer managed KMS key that is used to encrypt the user's data stores in Athena.</p>
|
|
1124
1125
|
*/
|
|
1125
1126
|
KmsKey: string | undefined;
|
|
1126
1127
|
}
|
|
1127
1128
|
/**
|
|
1128
1129
|
* @public
|
|
1129
1130
|
* <p>The configuration of the workgroup, which includes the location in Amazon S3
|
|
1130
|
-
* where query and calculation results are stored, the encryption option, if any, used for
|
|
1131
|
-
* whether the Amazon CloudWatch Metrics are enabled for
|
|
1132
|
-
* workgroup settings override query settings, and the data usage
|
|
1133
|
-
* data scanned per query or per workgroup. The workgroup settings
|
|
1134
|
-
*
|
|
1131
|
+
* where query and calculation results are stored, the encryption option, if any, used for
|
|
1132
|
+
* query and calculation results, whether the Amazon CloudWatch Metrics are enabled for
|
|
1133
|
+
* the workgroup and whether workgroup settings override query settings, and the data usage
|
|
1134
|
+
* limits for the amount of data scanned per query or per workgroup. The workgroup settings
|
|
1135
|
+
* override is specified in <code>EnforceWorkGroupConfiguration</code> (true/false) in the
|
|
1135
1136
|
* <code>WorkGroupConfiguration</code>. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>. </p>
|
|
1136
1137
|
*/
|
|
1137
1138
|
export interface WorkGroupConfiguration {
|
|
1138
1139
|
/**
|
|
1139
1140
|
* @public
|
|
1140
1141
|
* <p>The configuration for the workgroup, which includes the location in Amazon S3
|
|
1141
|
-
* where query and calculation results are stored and the encryption option, if any, used
|
|
1142
|
-
*
|
|
1143
|
-
*
|
|
1144
|
-
* them is set, Athena issues an error that no output location is provided. For
|
|
1145
|
-
*
|
|
1142
|
+
* where query and calculation results are stored and the encryption option, if any, used
|
|
1143
|
+
* for query and calculation results. To run the query, you must specify the query results
|
|
1144
|
+
* location using one of the ways: either in the workgroup using this setting, or for
|
|
1145
|
+
* individual queries (client-side), using <a>ResultConfiguration$OutputLocation</a>. If none of them is set, Athena issues an error that no output location is provided. For more
|
|
1146
|
+
* information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Working with query results, recent queries, and output files</a>.</p>
|
|
1146
1147
|
*/
|
|
1147
1148
|
ResultConfiguration?: ResultConfiguration;
|
|
1148
1149
|
/**
|
|
@@ -1187,7 +1188,8 @@ export interface WorkGroupConfiguration {
|
|
|
1187
1188
|
AdditionalConfiguration?: string;
|
|
1188
1189
|
/**
|
|
1189
1190
|
* @public
|
|
1190
|
-
* <p>Role used in a session for accessing the user's resources
|
|
1191
|
+
* <p>Role used in a Spark session for accessing the user's resources. This property applies
|
|
1192
|
+
* only to Spark-enabled workgroups.</p>
|
|
1191
1193
|
*/
|
|
1192
1194
|
ExecutionRole?: string;
|
|
1193
1195
|
/**
|
|
@@ -1199,8 +1201,13 @@ export interface WorkGroupConfiguration {
|
|
|
1199
1201
|
* @public
|
|
1200
1202
|
* <p>Enforces a minimal level of encryption for the workgroup for query and calculation
|
|
1201
1203
|
* results that are written to Amazon S3. When enabled, workgroup users can set
|
|
1202
|
-
* encryption only to the minimum level set by the administrator or higher when they submit
|
|
1203
|
-
*
|
|
1204
|
+
* encryption only to the minimum level set by the administrator or higher when they submit
|
|
1205
|
+
* queries.</p>
|
|
1206
|
+
* <p>The <code>EnforceWorkGroupConfiguration</code> setting takes precedence over the
|
|
1207
|
+
* <code>EnableMinimumEncryptionConfiguration</code> flag. This means that if
|
|
1208
|
+
* <code>EnforceWorkGroupConfiguration</code> is true, the
|
|
1209
|
+
* <code>EnableMinimumEncryptionConfiguration</code> flag is ignored, and the workgroup
|
|
1210
|
+
* configuration for encryption is used.</p>
|
|
1204
1211
|
*/
|
|
1205
1212
|
EnableMinimumEncryptionConfiguration?: boolean;
|
|
1206
1213
|
}
|
|
@@ -1217,12 +1224,12 @@ export interface CreateWorkGroupInput {
|
|
|
1217
1224
|
* @public
|
|
1218
1225
|
* <p>Contains configuration information for creating an Athena SQL workgroup or
|
|
1219
1226
|
* Spark enabled Athena workgroup. Athena SQL workgroup
|
|
1220
|
-
* configuration includes the location in Amazon S3 where query and calculation
|
|
1221
|
-
* the encryption configuration, if any, used for encrypting query
|
|
1222
|
-
*
|
|
1223
|
-
* amount of bytes scanned (cutoff) per query, if it is specified, and
|
|
1224
|
-
* settings (specified with <code>EnforceWorkGroupConfiguration</code>)
|
|
1225
|
-
*
|
|
1227
|
+
* configuration includes the location in Amazon S3 where query and calculation
|
|
1228
|
+
* results are stored, the encryption configuration, if any, used for encrypting query
|
|
1229
|
+
* results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the
|
|
1230
|
+
* limit for the amount of bytes scanned (cutoff) per query, if it is specified, and
|
|
1231
|
+
* whether workgroup's settings (specified with <code>EnforceWorkGroupConfiguration</code>)
|
|
1232
|
+
* in the <code>WorkGroupConfiguration</code> override client-side settings. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>
|
|
1226
1233
|
*/
|
|
1227
1234
|
Configuration?: WorkGroupConfiguration;
|
|
1228
1235
|
/**
|
|
@@ -1625,7 +1632,8 @@ export interface GetCalculationExecutionStatusResponse {
|
|
|
1625
1632
|
export interface GetCapacityAssignmentConfigurationInput {
|
|
1626
1633
|
/**
|
|
1627
1634
|
* @public
|
|
1628
|
-
* <p>The name of the capacity reservation to retrieve the capacity assignment configuration
|
|
1635
|
+
* <p>The name of the capacity reservation to retrieve the capacity assignment configuration
|
|
1636
|
+
* for.</p>
|
|
1629
1637
|
*/
|
|
1630
1638
|
CapacityReservationName: string | undefined;
|
|
1631
1639
|
}
|
|
@@ -1642,7 +1650,11 @@ export interface CapacityAssignment {
|
|
|
1642
1650
|
}
|
|
1643
1651
|
/**
|
|
1644
1652
|
* @public
|
|
1645
|
-
* <p>Assigns Athena workgroups (and hence their queries) to capacity
|
|
1653
|
+
* <p>Assigns Athena workgroups (and hence their queries) to capacity
|
|
1654
|
+
* reservations. A capacity reservation can have only one capacity assignment
|
|
1655
|
+
* configuration, but the capacity assignment configuration can be made up of multiple
|
|
1656
|
+
* individual assignments. Each assignment specifies how Athena queries can
|
|
1657
|
+
* consume capacity from the capacity reservation that their workgroup is mapped to.</p>
|
|
1646
1658
|
*/
|
|
1647
1659
|
export interface CapacityAssignmentConfiguration {
|
|
1648
1660
|
/**
|
|
@@ -1662,7 +1674,8 @@ export interface CapacityAssignmentConfiguration {
|
|
|
1662
1674
|
export interface GetCapacityAssignmentConfigurationOutput {
|
|
1663
1675
|
/**
|
|
1664
1676
|
* @public
|
|
1665
|
-
* <p>The requested capacity assignment configuration for the specified capacity
|
|
1677
|
+
* <p>The requested capacity assignment configuration for the specified capacity
|
|
1678
|
+
* reservation.</p>
|
|
1666
1679
|
*/
|
|
1667
1680
|
CapacityAssignmentConfiguration: CapacityAssignmentConfiguration | undefined;
|
|
1668
1681
|
}
|
|
@@ -1691,7 +1704,8 @@ export declare const CapacityAllocationStatus: {
|
|
|
1691
1704
|
export type CapacityAllocationStatus = (typeof CapacityAllocationStatus)[keyof typeof CapacityAllocationStatus];
|
|
1692
1705
|
/**
|
|
1693
1706
|
* @public
|
|
1694
|
-
* <p>Contains the submission time of a single allocation request for a capacity reservation
|
|
1707
|
+
* <p>Contains the submission time of a single allocation request for a capacity reservation
|
|
1708
|
+
* and the most recent status of the attempted allocation.</p>
|
|
1695
1709
|
*/
|
|
1696
1710
|
export interface CapacityAllocation {
|
|
1697
1711
|
/**
|
|
@@ -1733,7 +1747,9 @@ export declare const CapacityReservationStatus: {
|
|
|
1733
1747
|
export type CapacityReservationStatus = (typeof CapacityReservationStatus)[keyof typeof CapacityReservationStatus];
|
|
1734
1748
|
/**
|
|
1735
1749
|
* @public
|
|
1736
|
-
* <p>A reservation for a specified number of data processing units (DPUs). When a
|
|
1750
|
+
* <p>A reservation for a specified number of data processing units (DPUs). When a
|
|
1751
|
+
* reservation is initially created, it has no DPUs. Athena allocates DPUs
|
|
1752
|
+
* until the allocated amount equals the requested amount.</p>
|
|
1737
1753
|
*/
|
|
1738
1754
|
export interface CapacityReservation {
|
|
1739
1755
|
/**
|
|
@@ -1758,7 +1774,8 @@ export interface CapacityReservation {
|
|
|
1758
1774
|
AllocatedDpus: number | undefined;
|
|
1759
1775
|
/**
|
|
1760
1776
|
* @public
|
|
1761
|
-
* <p>Contains the submission time of a single allocation request for a capacity reservation
|
|
1777
|
+
* <p>Contains the submission time of a single allocation request for a capacity reservation
|
|
1778
|
+
* and the most recent status of the attempted allocation.</p>
|
|
1762
1779
|
*/
|
|
1763
1780
|
LastAllocation?: CapacityAllocation;
|
|
1764
1781
|
/**
|
|
@@ -1941,11 +1958,6 @@ export interface DataCatalog {
|
|
|
1941
1958
|
* <code>AwsDataCatalog</code> that already exists in your account, of
|
|
1942
1959
|
* which you can have only one and cannot modify.</p>
|
|
1943
1960
|
* </li>
|
|
1944
|
-
* <li>
|
|
1945
|
-
* <p>Queries that specify a Glue Data Catalog other than the default
|
|
1946
|
-
* <code>AwsDataCatalog</code> must be run on Athena engine
|
|
1947
|
-
* version 2.</p>
|
|
1948
|
-
* </li>
|
|
1949
1961
|
* </ul>
|
|
1950
1962
|
* </li>
|
|
1951
1963
|
* </ul>
|
|
@@ -2266,6 +2278,13 @@ export interface QueryRuntimeStatisticsTimeline {
|
|
|
2266
2278
|
* add the query back to the queue.</p>
|
|
2267
2279
|
*/
|
|
2268
2280
|
QueryQueueTimeInMillis?: number;
|
|
2281
|
+
/**
|
|
2282
|
+
* @public
|
|
2283
|
+
* <p>
|
|
2284
|
+
* The number of milliseconds that Athena spends on preprocessing before it submits the query to the engine.
|
|
2285
|
+
* </p>
|
|
2286
|
+
*/
|
|
2287
|
+
ServicePreProcessingTimeInMillis?: number;
|
|
2269
2288
|
/**
|
|
2270
2289
|
* @public
|
|
2271
2290
|
* <p>The number of milliseconds that Athena took to plan the query processing
|
|
@@ -2310,8 +2329,8 @@ export interface EngineConfiguration {
|
|
|
2310
2329
|
/**
|
|
2311
2330
|
* @public
|
|
2312
2331
|
* <p>The number of DPUs to use for the coordinator. A coordinator is a special executor
|
|
2313
|
-
* that orchestrates processing work and manages other executors in a notebook
|
|
2314
|
-
*
|
|
2332
|
+
* that orchestrates processing work and manages other executors in a notebook session. The
|
|
2333
|
+
* default is 1.</p>
|
|
2315
2334
|
*/
|
|
2316
2335
|
CoordinatorDpuSize?: number;
|
|
2317
2336
|
/**
|
|
@@ -2322,7 +2341,8 @@ export interface EngineConfiguration {
|
|
|
2322
2341
|
/**
|
|
2323
2342
|
* @public
|
|
2324
2343
|
* <p>The default number of DPUs to use for executors. An executor is the smallest unit of
|
|
2325
|
-
* compute that a notebook session can request from Athena. The default is
|
|
2344
|
+
* compute that a notebook session can request from Athena. The default is
|
|
2345
|
+
* 1.</p>
|
|
2326
2346
|
*/
|
|
2327
2347
|
DefaultExecutorDpuSize?: number;
|
|
2328
2348
|
/**
|
|
@@ -2336,7 +2356,8 @@ export interface EngineConfiguration {
|
|
|
2336
2356
|
AdditionalConfigs?: Record<string, string>;
|
|
2337
2357
|
/**
|
|
2338
2358
|
* @public
|
|
2339
|
-
* <p>Specifies custom jar files and Spark properties for use cases like cluster encryption,
|
|
2359
|
+
* <p>Specifies custom jar files and Spark properties for use cases like cluster encryption,
|
|
2360
|
+
* table formats, and general Spark tuning.</p>
|
|
2340
2361
|
*/
|
|
2341
2362
|
SparkProperties?: Record<string, string>;
|
|
2342
2363
|
}
|
|
@@ -2347,7 +2368,8 @@ export interface EngineConfiguration {
|
|
|
2347
2368
|
export interface SessionConfiguration {
|
|
2348
2369
|
/**
|
|
2349
2370
|
* @public
|
|
2350
|
-
* <p>The ARN of the execution role used
|
|
2371
|
+
* <p>The ARN of the execution role used in a Spark session to access user resources. This
|
|
2372
|
+
* property applies only to Spark-enabled workgroups.</p>
|
|
2351
2373
|
*/
|
|
2352
2374
|
ExecutionRole?: string;
|
|
2353
2375
|
/**
|
|
@@ -2362,9 +2384,9 @@ export interface SessionConfiguration {
|
|
|
2362
2384
|
IdleTimeoutSeconds?: number;
|
|
2363
2385
|
/**
|
|
2364
2386
|
* @public
|
|
2365
|
-
* <p>If query and calculation results are encrypted in Amazon S3, indicates the
|
|
2366
|
-
* used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and
|
|
2367
|
-
* information.</p>
|
|
2387
|
+
* <p>If query and calculation results are encrypted in Amazon S3, indicates the
|
|
2388
|
+
* encryption option used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and
|
|
2389
|
+
* key information.</p>
|
|
2368
2390
|
*/
|
|
2369
2391
|
EncryptionConfiguration?: EncryptionConfiguration;
|
|
2370
2392
|
}
|
|
@@ -2671,11 +2693,12 @@ export interface WorkGroup {
|
|
|
2671
2693
|
/**
|
|
2672
2694
|
* @public
|
|
2673
2695
|
* <p>The configuration of the workgroup, which includes the location in Amazon S3
|
|
2674
|
-
* where query and calculation results are stored, the encryption configuration, if any,
|
|
2675
|
-
*
|
|
2676
|
-
*
|
|
2677
|
-
*
|
|
2678
|
-
*
|
|
2696
|
+
* where query and calculation results are stored, the encryption configuration, if any,
|
|
2697
|
+
* used for query and calculation results; whether the Amazon CloudWatch Metrics are
|
|
2698
|
+
* enabled for the workgroup; whether workgroup settings override client-side settings; and
|
|
2699
|
+
* the data usage limits for the amount of data scanned per query or per workgroup. The
|
|
2700
|
+
* workgroup settings override is specified in <code>EnforceWorkGroupConfiguration</code>
|
|
2701
|
+
* (true/false) in the <code>WorkGroupConfiguration</code>. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>
|
|
2679
2702
|
*/
|
|
2680
2703
|
Configuration?: WorkGroupConfiguration;
|
|
2681
2704
|
/**
|
|
@@ -3684,7 +3707,8 @@ export interface ListWorkGroupsOutput {
|
|
|
3684
3707
|
export interface PutCapacityAssignmentConfigurationInput {
|
|
3685
3708
|
/**
|
|
3686
3709
|
* @public
|
|
3687
|
-
* <p>The name of the capacity reservation to put a capacity assignment configuration
|
|
3710
|
+
* <p>The name of the capacity reservation to put a capacity assignment configuration
|
|
3711
|
+
* for.</p>
|
|
3688
3712
|
*/
|
|
3689
3713
|
CapacityReservationName: string | undefined;
|
|
3690
3714
|
/**
|
|
@@ -3732,7 +3756,7 @@ export interface StartCalculationExecutionRequest {
|
|
|
3732
3756
|
CalculationConfiguration?: CalculationConfiguration;
|
|
3733
3757
|
/**
|
|
3734
3758
|
* @public
|
|
3735
|
-
* <p>A string that contains the code of the calculation.</p>
|
|
3759
|
+
* <p>A string that contains the code of the calculation. Use this parameter instead of <a>CalculationConfiguration$CodeBlock</a>, which is deprecated.</p>
|
|
3736
3760
|
*/
|
|
3737
3761
|
CodeBlock?: string;
|
|
3738
3762
|
/**
|
|
@@ -3881,7 +3905,11 @@ export interface StartSessionRequest {
|
|
|
3881
3905
|
EngineConfiguration: EngineConfiguration | undefined;
|
|
3882
3906
|
/**
|
|
3883
3907
|
* @public
|
|
3884
|
-
* <p>The notebook version. This value is supplied automatically for notebook sessions in
|
|
3908
|
+
* <p>The notebook version. This value is supplied automatically for notebook sessions in
|
|
3909
|
+
* the Athena console and is not required for programmatic session access. The
|
|
3910
|
+
* only valid notebook version is <code>Athena notebook version 1</code>. If
|
|
3911
|
+
* you specify a value for <code>NotebookVersion</code>, you must also specify a value for
|
|
3912
|
+
* <code>NotebookId</code>. See <a>EngineConfiguration$AdditionalConfigs</a>.</p>
|
|
3885
3913
|
*/
|
|
3886
3914
|
NotebookVersion?: string;
|
|
3887
3915
|
/**
|
|
@@ -3996,8 +4024,8 @@ export interface StopQueryExecutionOutput {
|
|
|
3996
4024
|
export interface TagResourceInput {
|
|
3997
4025
|
/**
|
|
3998
4026
|
* @public
|
|
3999
|
-
* <p>Specifies the ARN of the Athena resource to
|
|
4000
|
-
*
|
|
4027
|
+
* <p>Specifies the ARN of the Athena resource to which tags are to be
|
|
4028
|
+
* added.</p>
|
|
4001
4029
|
*/
|
|
4002
4030
|
ResourceARN: string | undefined;
|
|
4003
4031
|
/**
|
|
@@ -4307,8 +4335,8 @@ export interface UpdatePreparedStatementOutput {
|
|
|
4307
4335
|
export interface ResultConfigurationUpdates {
|
|
4308
4336
|
/**
|
|
4309
4337
|
* @public
|
|
4310
|
-
* <p>The location in Amazon S3 where your query and calculation results are stored,
|
|
4311
|
-
*
|
|
4338
|
+
* <p>The location in Amazon S3 where your query and calculation results are stored,
|
|
4339
|
+
* such as <code>s3://path/to/query/bucket/</code>. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Working with query
|
|
4312
4340
|
* results, recent queries, and output files</a>. If workgroup settings override
|
|
4313
4341
|
* client-side settings, then the query uses the location for the query results and the
|
|
4314
4342
|
* encryption configuration that are specified for the workgroup. The "workgroup settings
|
|
@@ -4389,11 +4417,11 @@ export interface ResultConfigurationUpdates {
|
|
|
4389
4417
|
/**
|
|
4390
4418
|
* @public
|
|
4391
4419
|
* <p>The configuration information that will be updated for this workgroup, which includes
|
|
4392
|
-
* the location in Amazon S3 where query and calculation results are stored, the
|
|
4393
|
-
* if any, used for query results, whether the Amazon CloudWatch
|
|
4394
|
-
* for the workgroup, whether the workgroup settings override the
|
|
4395
|
-
* the data usage limit for the amount of bytes scanned per
|
|
4396
|
-
* specified.</p>
|
|
4420
|
+
* the location in Amazon S3 where query and calculation results are stored, the
|
|
4421
|
+
* encryption option, if any, used for query results, whether the Amazon CloudWatch
|
|
4422
|
+
* Metrics are enabled for the workgroup, whether the workgroup settings override the
|
|
4423
|
+
* client-side settings, and the data usage limit for the amount of bytes scanned per
|
|
4424
|
+
* query, if it is specified.</p>
|
|
4397
4425
|
*/
|
|
4398
4426
|
export interface WorkGroupConfigurationUpdates {
|
|
4399
4427
|
/**
|
|
@@ -4455,20 +4483,28 @@ export interface WorkGroupConfigurationUpdates {
|
|
|
4455
4483
|
AdditionalConfiguration?: string;
|
|
4456
4484
|
/**
|
|
4457
4485
|
* @public
|
|
4458
|
-
* <p>
|
|
4486
|
+
* <p>The ARN of the execution role used to access user resources. This property applies
|
|
4487
|
+
* only to Spark-enabled workgroups.</p>
|
|
4459
4488
|
*/
|
|
4460
4489
|
ExecutionRole?: string;
|
|
4461
4490
|
/**
|
|
4462
4491
|
* @public
|
|
4463
|
-
* <p>Specifies the KMS key that is used to encrypt the user's data stores
|
|
4492
|
+
* <p>Specifies the customer managed KMS key that is used to encrypt the user's data stores
|
|
4493
|
+
* in Athena. When an Amazon Web Services managed key is used, this value is
|
|
4494
|
+
* null. This setting does not apply to Athena SQL workgroups.</p>
|
|
4464
4495
|
*/
|
|
4465
4496
|
CustomerContentEncryptionConfiguration?: CustomerContentEncryptionConfiguration;
|
|
4466
4497
|
/**
|
|
4467
4498
|
* @public
|
|
4468
4499
|
* <p>Enforces a minimal level of encryption for the workgroup for query and calculation
|
|
4469
4500
|
* results that are written to Amazon S3. When enabled, workgroup users can set
|
|
4470
|
-
* encryption only to the minimum level set by the administrator or higher when they submit
|
|
4471
|
-
*
|
|
4501
|
+
* encryption only to the minimum level set by the administrator or higher when they submit
|
|
4502
|
+
* queries. This setting does not apply to Spark-enabled workgroups.</p>
|
|
4503
|
+
* <p>The <code>EnforceWorkGroupConfiguration</code> setting takes precedence over the
|
|
4504
|
+
* <code>EnableMinimumEncryptionConfiguration</code> flag. This means that if
|
|
4505
|
+
* <code>EnforceWorkGroupConfiguration</code> is true, the
|
|
4506
|
+
* <code>EnableMinimumEncryptionConfiguration</code> flag is ignored, and the workgroup
|
|
4507
|
+
* configuration for encryption is used.</p>
|
|
4472
4508
|
*/
|
|
4473
4509
|
EnableMinimumEncryptionConfiguration?: boolean;
|
|
4474
4510
|
}
|
|
@@ -114,6 +114,7 @@ export interface QueryExecutionStatistics {
|
|
|
114
114
|
DataManifestLocation?: string;
|
|
115
115
|
TotalExecutionTimeInMillis?: number;
|
|
116
116
|
QueryQueueTimeInMillis?: number;
|
|
117
|
+
ServicePreProcessingTimeInMillis?: number;
|
|
117
118
|
QueryPlanningTimeInMillis?: number;
|
|
118
119
|
ServiceProcessingTimeInMillis?: number;
|
|
119
120
|
ResultReuseInformation?: ResultReuseInformation;
|
|
@@ -528,6 +529,7 @@ export interface QueryRuntimeStatisticsRows {
|
|
|
528
529
|
}
|
|
529
530
|
export interface QueryRuntimeStatisticsTimeline {
|
|
530
531
|
QueryQueueTimeInMillis?: number;
|
|
532
|
+
ServicePreProcessingTimeInMillis?: number;
|
|
531
533
|
QueryPlanningTimeInMillis?: number;
|
|
532
534
|
EngineExecutionTimeInMillis?: number;
|
|
533
535
|
ServiceProcessingTimeInMillis?: number;
|
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.454.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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.454.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.451.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.451.0",
|