@aws-sdk/client-athena 3.298.0 → 3.300.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist-cjs/protocols/Aws_json1_1.js +7 -0
  2. package/dist-es/protocols/Aws_json1_1.js +7 -0
  3. package/dist-types/Athena.d.ts +18 -20
  4. package/dist-types/commands/BatchGetNamedQueryCommand.d.ts +5 -0
  5. package/dist-types/commands/BatchGetPreparedStatementCommand.d.ts +6 -0
  6. package/dist-types/commands/BatchGetQueryExecutionCommand.d.ts +5 -0
  7. package/dist-types/commands/CreateDataCatalogCommand.d.ts +14 -0
  8. package/dist-types/commands/CreateNamedQueryCommand.d.ts +8 -0
  9. package/dist-types/commands/CreateNotebookCommand.d.ts +5 -0
  10. package/dist-types/commands/CreatePreparedStatementCommand.d.ts +6 -0
  11. package/dist-types/commands/CreatePresignedNotebookUrlCommand.d.ts +6 -1
  12. package/dist-types/commands/CreateWorkGroupCommand.d.ts +39 -4
  13. package/dist-types/commands/DeleteDataCatalogCommand.d.ts +3 -0
  14. package/dist-types/commands/DeleteNamedQueryCommand.d.ts +3 -0
  15. package/dist-types/commands/DeleteNotebookCommand.d.ts +3 -0
  16. package/dist-types/commands/DeletePreparedStatementCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteWorkGroupCommand.d.ts +4 -0
  18. package/dist-types/commands/ExportNotebookCommand.d.ts +3 -0
  19. package/dist-types/commands/GetCalculationExecutionCodeCommand.d.ts +4 -2
  20. package/dist-types/commands/GetCalculationExecutionCommand.d.ts +3 -0
  21. package/dist-types/commands/GetCalculationExecutionStatusCommand.d.ts +3 -0
  22. package/dist-types/commands/GetDataCatalogCommand.d.ts +3 -0
  23. package/dist-types/commands/GetDatabaseCommand.d.ts +4 -0
  24. package/dist-types/commands/GetNamedQueryCommand.d.ts +3 -0
  25. package/dist-types/commands/GetNotebookMetadataCommand.d.ts +3 -0
  26. package/dist-types/commands/GetPreparedStatementCommand.d.ts +4 -0
  27. package/dist-types/commands/GetQueryExecutionCommand.d.ts +3 -0
  28. package/dist-types/commands/GetQueryResultsCommand.d.ts +8 -2
  29. package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +3 -0
  30. package/dist-types/commands/GetSessionCommand.d.ts +3 -0
  31. package/dist-types/commands/GetSessionStatusCommand.d.ts +3 -0
  32. package/dist-types/commands/GetTableMetadataCommand.d.ts +5 -0
  33. package/dist-types/commands/GetWorkGroupCommand.d.ts +3 -0
  34. package/dist-types/commands/ImportNotebookCommand.d.ts +7 -0
  35. package/dist-types/commands/ListApplicationDPUSizesCommand.d.ts +5 -1
  36. package/dist-types/commands/ListCalculationExecutionsCommand.d.ts +6 -0
  37. package/dist-types/commands/ListDataCatalogsCommand.d.ts +6 -1
  38. package/dist-types/commands/ListDatabasesCommand.d.ts +5 -0
  39. package/dist-types/commands/ListEngineVersionsCommand.d.ts +4 -0
  40. package/dist-types/commands/ListExecutorsCommand.d.ts +9 -3
  41. package/dist-types/commands/ListNamedQueriesCommand.d.ts +5 -0
  42. package/dist-types/commands/ListNotebookMetadataCommand.d.ts +8 -0
  43. package/dist-types/commands/ListNotebookSessionsCommand.d.ts +5 -0
  44. package/dist-types/commands/ListPreparedStatementsCommand.d.ts +5 -0
  45. package/dist-types/commands/ListQueryExecutionsCommand.d.ts +5 -0
  46. package/dist-types/commands/ListSessionsCommand.d.ts +6 -0
  47. package/dist-types/commands/ListTableMetadataCommand.d.ts +7 -0
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
  49. package/dist-types/commands/ListWorkGroupsCommand.d.ts +4 -0
  50. package/dist-types/commands/StartCalculationExecutionCommand.d.ts +10 -1
  51. package/dist-types/commands/StartQueryExecutionCommand.d.ts +29 -0
  52. package/dist-types/commands/StartSessionCommand.d.ts +15 -0
  53. package/dist-types/commands/StopCalculationExecutionCommand.d.ts +3 -0
  54. package/dist-types/commands/StopQueryExecutionCommand.d.ts +3 -0
  55. package/dist-types/commands/TagResourceCommand.d.ts +10 -1
  56. package/dist-types/commands/TerminateSessionCommand.d.ts +3 -0
  57. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  58. package/dist-types/commands/UpdateDataCatalogCommand.d.ts +8 -0
  59. package/dist-types/commands/UpdateNamedQueryCommand.d.ts +6 -0
  60. package/dist-types/commands/UpdateNotebookCommand.d.ts +7 -0
  61. package/dist-types/commands/UpdateNotebookMetadataCommand.d.ts +5 -0
  62. package/dist-types/commands/UpdatePreparedStatementCommand.d.ts +6 -0
  63. package/dist-types/commands/UpdateWorkGroupCommand.d.ts +39 -4
  64. package/dist-types/models/models_0.d.ts +72 -53
  65. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  66. package/package.json +12 -12
@@ -277,7 +277,7 @@ export declare enum EncryptionOption {
277
277
  }
278
278
  /**
279
279
  * @public
280
- * <p>If query results are encrypted in Amazon S3, indicates the encryption option
280
+ * <p>If query and calculation results are encrypted in Amazon S3, indicates the encryption option
281
281
  * used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and key
282
282
  * information.</p>
283
283
  */
@@ -299,24 +299,25 @@ export interface EncryptionConfiguration {
299
299
  }
300
300
  /**
301
301
  * @public
302
- * <p>The location in Amazon S3 where query results are stored and the encryption
303
- * option, if any, used for query results. These are known as "client-side settings". If
302
+ * <p>The location in Amazon S3 where query and calculation results are stored and the encryption
303
+ * option, if any, used for query and calculation results. These are known as "client-side settings". If
304
304
  * workgroup settings override client-side settings, then the query uses the workgroup
305
305
  * settings.</p>
306
306
  */
307
307
  export interface ResultConfiguration {
308
308
  /**
309
- * <p>The location in Amazon S3 where your query results are stored, such as
309
+ * <p>The location in Amazon S3 where your query and calculation results are stored, such as
310
310
  * <code>s3://path/to/query/bucket/</code>. To run the query, you must specify the
311
311
  * query results location using one of the ways: either for individual queries using either
312
312
  * this setting (client-side), or in the workgroup, using <a>WorkGroupConfiguration</a>. If none of them is set, Athena
313
- * 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">Query Results</a>. If
314
- * workgroup settings override client-side settings, then the query uses the settings
315
- * specified for the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>
313
+ * 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
314
+ * results, recent queries, and output files</a>. If workgroup settings override
315
+ * client-side settings, then the query uses the settings specified for the workgroup. See
316
+ * <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>
316
317
  */
317
318
  OutputLocation?: string;
318
319
  /**
319
- * <p>If query results are encrypted in Amazon S3, indicates the encryption option
320
+ * <p>If query and calculation results are encrypted in Amazon S3, indicates the encryption option
320
321
  * used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and key information.
321
322
  * This is a client-side setting. If workgroup settings override client-side settings, then
322
323
  * the query uses the encryption configuration that is specified for the workgroup, and
@@ -349,11 +350,13 @@ export interface ResultConfiguration {
349
350
  }
350
351
  /**
351
352
  * @public
352
- * <p>Specifies whether previous query results are reused, and if so, their maximum age.</p>
353
+ * <p>Specifies whether previous query results are reused, and if so, their maximum
354
+ * age.</p>
353
355
  */
354
356
  export interface ResultReuseByAgeConfiguration {
355
357
  /**
356
- * <p>True if previous query results can be reused when the query is run; otherwise, false. The default is false.</p>
358
+ * <p>True if previous query results can be reused when the query is run; otherwise, false.
359
+ * The default is false.</p>
357
360
  */
358
361
  Enabled: boolean | undefined;
359
362
  /**
@@ -367,7 +370,8 @@ export interface ResultReuseByAgeConfiguration {
367
370
  */
368
371
  export interface ResultReuseConfiguration {
369
372
  /**
370
- * <p>Specifies whether previous query results are reused, and if so, their maximum age.</p>
373
+ * <p>Specifies whether previous query results are reused, and if so, their maximum
374
+ * age.</p>
371
375
  */
372
376
  ResultReuseByAgeConfiguration?: ResultReuseByAgeConfiguration;
373
377
  }
@@ -385,7 +389,8 @@ export declare enum StatementType {
385
389
  */
386
390
  export interface ResultReuseInformation {
387
391
  /**
388
- * <p>True if a previous query result was reused; false if the result was generated from a new run of the query.</p>
392
+ * <p>True if a previous query result was reused; false if the result was generated from a
393
+ * new run of the query.</p>
389
394
  */
390
395
  ReusedPreviousResult: boolean | undefined;
391
396
  }
@@ -436,7 +441,8 @@ export interface QueryExecutionStatistics {
436
441
  */
437
442
  ServiceProcessingTimeInMillis?: number;
438
443
  /**
439
- * <p>Contains information about whether previous query results were reused for the query.</p>
444
+ * <p>Contains information about whether previous query results were reused for the
445
+ * query.</p>
440
446
  */
441
447
  ResultReuseInformation?: ResultReuseInformation;
442
448
  }
@@ -546,7 +552,7 @@ export interface QueryExecution {
546
552
  */
547
553
  StatementType?: StatementType | string;
548
554
  /**
549
- * <p>The location in Amazon S3 where query results were stored and the encryption
555
+ * <p>The location in Amazon S3 where query and calculation results are stored and the encryption
550
556
  * option, if any, used for query results. These are known as "client-side settings". If
551
557
  * workgroup settings override client-side settings, then the query uses the location for
552
558
  * the query results and the encryption configuration that are specified for the
@@ -629,7 +635,7 @@ export interface BatchGetQueryExecutionOutput {
629
635
  * which you define. For example, you can use tags to categorize Athena
630
636
  * workgroups or data catalogs by purpose, owner, or environment. Use a consistent set of
631
637
  * tag keys to make it easier to search and filter workgroups or data catalogs in your
632
- * account. For best practices, see <a href="https://aws.amazon.com/answers/account-management/aws-tagging-strategies/">Tagging Best Practices</a>. Tag keys can be from 1 to 128 UTF-8 Unicode
638
+ * account. For best practices, see <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging Best Practices</a>. Tag keys can be from 1 to 128 UTF-8 Unicode
633
639
  * characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use
634
640
  * letters and numbers representable in UTF-8, and the following characters: + - = . _ : /
635
641
  * @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you
@@ -947,7 +953,7 @@ export interface CustomerContentEncryptionConfiguration {
947
953
  /**
948
954
  * @public
949
955
  * <p>The configuration of the workgroup, which includes the location in Amazon S3
950
- * where query results are stored, the encryption option, if any, used for query results,
956
+ * where query and calculation results are stored, the encryption option, if any, used for query and calculation results,
951
957
  * whether the Amazon CloudWatch Metrics are enabled for the workgroup and whether
952
958
  * workgroup settings override query settings, and the data usage limits for the amount of
953
959
  * data scanned per query or per workgroup. The workgroup settings override is specified in
@@ -957,12 +963,11 @@ export interface CustomerContentEncryptionConfiguration {
957
963
  export interface WorkGroupConfiguration {
958
964
  /**
959
965
  * <p>The configuration for the workgroup, which includes the location in Amazon S3
960
- * where query results are stored and the encryption option, if any, used for query
961
- * results. To run the query, you must specify the query results location using one of the
966
+ * where query and calculation results are stored and the encryption option, if any, used for query and calculation results. To run the query, you must specify the query results location using one of the
962
967
  * ways: either in the workgroup using this setting, or for individual queries
963
968
  * (client-side), using <a>ResultConfiguration$OutputLocation</a>. If none of
964
969
  * them is set, Athena issues an error that no output location is provided. For
965
- * more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Query Results</a>.</p>
970
+ * more 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>
966
971
  */
967
972
  ResultConfiguration?: ResultConfiguration;
968
973
  /**
@@ -1000,13 +1005,20 @@ export interface WorkGroupConfiguration {
1000
1005
  */
1001
1006
  AdditionalConfiguration?: string;
1002
1007
  /**
1003
- * <p>Role used in a notebook session for accessing the user's resources.</p>
1008
+ * <p>Role used in a session for accessing the user's resources.</p>
1004
1009
  */
1005
1010
  ExecutionRole?: string;
1006
1011
  /**
1007
1012
  * <p>Specifies the KMS key that is used to encrypt the user's data stores in Athena.</p>
1008
1013
  */
1009
1014
  CustomerContentEncryptionConfiguration?: CustomerContentEncryptionConfiguration;
1015
+ /**
1016
+ * <p>Enforces a minimal level of encryption for the workgroup for query and calculation
1017
+ * results that are written to Amazon S3. When enabled, workgroup users can set
1018
+ * encryption only to the minimum level set by the administrator or higher when they submit queries.</p>
1019
+ * <p>The <code>EnforceWorkGroupConfiguration</code> setting takes precedence over the <code>EnableMinimumEncryptionConfiguration</code> flag. This means that if <code>EnforceWorkGroupConfiguration</code> is true, the <code>EnableMinimumEncryptionConfiguration</code> flag is ignored, and the workgroup configuration for encryption is used.</p>
1020
+ */
1021
+ EnableMinimumEncryptionConfiguration?: boolean;
1010
1022
  }
1011
1023
  /**
1012
1024
  * @public
@@ -1017,11 +1029,13 @@ export interface CreateWorkGroupInput {
1017
1029
  */
1018
1030
  Name: string | undefined;
1019
1031
  /**
1020
- * <p>Contains configuration information for creating an Athena SQL workgroup,
1021
- * which includes the location in Amazon S3 where query results are stored, the
1022
- * encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of
1023
- * bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings
1024
- * (specified with <code>EnforceWorkGroupConfiguration</code>) in the
1032
+ * <p>Contains configuration information for creating an Athena SQL workgroup or
1033
+ * Spark enabled Athena workgroup. Athena SQL workgroup
1034
+ * configuration includes the location in Amazon S3 where query and calculation results are stored,
1035
+ * the encryption configuration, if any, used for encrypting query results, whether the
1036
+ * Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the
1037
+ * amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's
1038
+ * settings (specified with <code>EnforceWorkGroupConfiguration</code>) in the
1025
1039
  * <code>WorkGroupConfiguration</code> override client-side settings. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>
1026
1040
  */
1027
1041
  Configuration?: WorkGroupConfiguration;
@@ -1109,7 +1123,7 @@ export interface DeleteWorkGroupInput {
1109
1123
  WorkGroup: string | undefined;
1110
1124
  /**
1111
1125
  * <p>The option to delete the workgroup and its contents even if the workgroup contains any
1112
- * named queries or query executions.</p>
1126
+ * named queries, query executions, or notebooks.</p>
1113
1127
  */
1114
1128
  RecursiveDeleteOption?: boolean;
1115
1129
  }
@@ -1327,7 +1341,7 @@ export interface GetCalculationExecutionCodeRequest {
1327
1341
  */
1328
1342
  export interface GetCalculationExecutionCodeResponse {
1329
1343
  /**
1330
- * <p>A pre-signed URL to the code that executed the calculation.</p>
1344
+ * <p>The unencrypted code that was executed for the calculation.</p>
1331
1345
  */
1332
1346
  CodeBlock?: string;
1333
1347
  }
@@ -1424,7 +1438,8 @@ export interface GetDataCatalogInput {
1424
1438
  * @public
1425
1439
  * <p>Contains information about a data catalog in an Amazon Web Services account.</p>
1426
1440
  * <note>
1427
- * <p>In the Athena console, data catalogs are listed as "data sources" on the <b>Data sources</b> page under the <b>Data source name</b> column.</p>
1441
+ * <p>In the Athena console, data catalogs are listed as "data sources" on
1442
+ * the <b>Data sources</b> page under the <b>Data source name</b> column.</p>
1428
1443
  * </note>
1429
1444
  */
1430
1445
  export interface DataCatalog {
@@ -1836,10 +1851,10 @@ export interface EngineConfiguration {
1836
1851
  DefaultExecutorDpuSize?: number;
1837
1852
  /**
1838
1853
  * <p>Contains additional notebook engine <code>MAP<string, string></code> parameter
1839
- * mappings in the form of key-value pairs. To specify an Amazon S3 URI that the
1840
- * Jupyter server will download and serve, specify a value for the <a>StartSessionRequest$NotebookVersion</a> field, and then add a key named
1841
- * <code>NotebookFileURI</code> to <code>AdditionalConfigs</code> that has value of the
1842
- * Amazon S3 URI.</p>
1854
+ * mappings in the form of key-value pairs. To specify an Athena notebook that
1855
+ * the Jupyter server will download and serve, specify a value for the <a>StartSessionRequest$NotebookVersion</a> field, and then add a key named
1856
+ * <code>NotebookId</code> to <code>AdditionalConfigs</code> that has the value of the
1857
+ * Athena notebook ID.</p>
1843
1858
  */
1844
1859
  AdditionalConfigs?: Record<string, string>;
1845
1860
  }
@@ -1861,7 +1876,7 @@ export interface SessionConfiguration {
1861
1876
  */
1862
1877
  IdleTimeoutSeconds?: number;
1863
1878
  /**
1864
- * <p>If query results are encrypted in Amazon S3, indicates the encryption option
1879
+ * <p>If query and calculation results are encrypted in Amazon S3, indicates the encryption option
1865
1880
  * used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and key
1866
1881
  * information.</p>
1867
1882
  */
@@ -1869,7 +1884,7 @@ export interface SessionConfiguration {
1869
1884
  }
1870
1885
  /**
1871
1886
  * @public
1872
- * <p>Contains statistics for a notebook session.</p>
1887
+ * <p>Contains statistics for a session.</p>
1873
1888
  */
1874
1889
  export interface SessionStatistics {
1875
1890
  /**
@@ -1892,7 +1907,7 @@ export declare enum SessionState {
1892
1907
  }
1893
1908
  /**
1894
1909
  * @public
1895
- * <p>Contains information about the status of a notebook session.</p>
1910
+ * <p>Contains information about the status of a session.</p>
1896
1911
  */
1897
1912
  export interface SessionStatus {
1898
1913
  /**
@@ -2123,8 +2138,7 @@ export interface WorkGroup {
2123
2138
  State?: WorkGroupState | string;
2124
2139
  /**
2125
2140
  * <p>The configuration of the workgroup, which includes the location in Amazon S3
2126
- * where query results are stored, the encryption configuration, if any, used for query
2127
- * results; whether the Amazon CloudWatch Metrics are enabled for the workgroup;
2141
+ * where query and calculation results are stored, the encryption configuration, if any, used for query and calculation results; whether the Amazon CloudWatch Metrics are enabled for the workgroup;
2128
2142
  * whether workgroup settings override client-side settings; and the data usage limits for
2129
2143
  * the amount of data scanned per query or per workgroup. The workgroup settings override
2130
2144
  * is specified in <code>EnforceWorkGroupConfiguration</code> (true/false) in the
@@ -2187,7 +2201,7 @@ export interface ImportNotebookInput {
2187
2201
  */
2188
2202
  export interface ImportNotebookOutput {
2189
2203
  /**
2190
- * <p>The ID of the notebook to import.</p>
2204
+ * <p>The ID assigned to the imported notebook.</p>
2191
2205
  */
2192
2206
  NotebookId?: string;
2193
2207
  }
@@ -2211,8 +2225,8 @@ export interface ListApplicationDPUSizesInput {
2211
2225
  */
2212
2226
  export interface ApplicationDPUSizes {
2213
2227
  /**
2214
- * <p>The name of the supported application runtime (for example, <code>Jupyter
2215
- * 1.0</code>).</p>
2228
+ * <p>The name of the supported application runtime (for example, <code>Athena notebook
2229
+ * version 1</code>).</p>
2216
2230
  */
2217
2231
  ApplicationRuntimeId?: string;
2218
2232
  /**
@@ -2797,7 +2811,7 @@ export interface ListSessionsRequest {
2797
2811
  }
2798
2812
  /**
2799
2813
  * @public
2800
- * <p>Contains summary information about a notebook session.</p>
2814
+ * <p>Contains summary information about a session.</p>
2801
2815
  */
2802
2816
  export interface SessionSummary {
2803
2817
  /**
@@ -3136,9 +3150,7 @@ export interface StartSessionRequest {
3136
3150
  */
3137
3151
  EngineConfiguration: EngineConfiguration | undefined;
3138
3152
  /**
3139
- * <p>The notebook version. This value is required only when requesting that a notebook
3140
- * server be started for the session. The only valid notebook version is
3141
- * <code>Jupyter1.0</code>.</p>
3153
+ * <p>The notebook version. This value is supplied automatically for notebook sessions in the Athena console and is not required for programmatic session access. The only valid notebook version is <code>Athena notebook version 1</code>. If you specify a value for <code>NotebookVersion</code>, you must also specify a value for <code>NotebookId</code>. See <a>EngineConfiguration$AdditionalConfigs</a>.</p>
3142
3154
  */
3143
3155
  NotebookVersion?: string;
3144
3156
  /**
@@ -3428,7 +3440,7 @@ export interface UpdateNotebookInput {
3428
3440
  */
3429
3441
  Type: NotebookType | string | undefined;
3430
3442
  /**
3431
- * <p>The ID of the session in which the notebook will be updated.</p>
3443
+ * <p>The active notebook session ID. Required if the notebook has an active session.</p>
3432
3444
  */
3433
3445
  SessionId?: string;
3434
3446
  /**
@@ -3510,12 +3522,12 @@ export interface UpdatePreparedStatementOutput {
3510
3522
  */
3511
3523
  export interface ResultConfigurationUpdates {
3512
3524
  /**
3513
- * <p>The location in Amazon S3 where your query results are stored, such as
3514
- * <code>s3://path/to/query/bucket/</code>. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Query Results</a> If
3515
- * workgroup settings override client-side settings, then the query uses the location for
3516
- * the query results and the encryption configuration that are specified for the workgroup.
3517
- * The "workgroup settings override" is specified in
3518
- * <code>EnforceWorkGroupConfiguration</code> (true/false) in the
3525
+ * <p>The location in Amazon S3 where your query and calculation results are stored, such as
3526
+ * <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
3527
+ * results, recent queries, and output files</a>. If workgroup settings override
3528
+ * client-side settings, then the query uses the location for the query results and the
3529
+ * encryption configuration that are specified for the workgroup. The "workgroup settings
3530
+ * override" is specified in <code>EnforceWorkGroupConfiguration</code> (true/false) in the
3519
3531
  * <code>WorkGroupConfiguration</code>. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>
3520
3532
  */
3521
3533
  OutputLocation?: string;
@@ -3531,7 +3543,7 @@ export interface ResultConfigurationUpdates {
3531
3543
  */
3532
3544
  RemoveOutputLocation?: boolean;
3533
3545
  /**
3534
- * <p>The encryption configuration for the query results.</p>
3546
+ * <p>The encryption configuration for query and calculation results.</p>
3535
3547
  */
3536
3548
  EncryptionConfiguration?: EncryptionConfiguration;
3537
3549
  /**
@@ -3585,7 +3597,7 @@ export interface ResultConfigurationUpdates {
3585
3597
  /**
3586
3598
  * @public
3587
3599
  * <p>The configuration information that will be updated for this workgroup, which includes
3588
- * the location in Amazon S3 where query results are stored, the encryption option,
3600
+ * the location in Amazon S3 where query and calculation results are stored, the encryption option,
3589
3601
  * if any, used for query results, whether the Amazon CloudWatch Metrics are enabled
3590
3602
  * for the workgroup, whether the workgroup settings override the client-side settings, and
3591
3603
  * the data usage limit for the amount of bytes scanned per query, if it is
@@ -3648,6 +3660,13 @@ export interface WorkGroupConfigurationUpdates {
3648
3660
  * <p>Specifies the KMS key that is used to encrypt the user's data stores in Athena.</p>
3649
3661
  */
3650
3662
  CustomerContentEncryptionConfiguration?: CustomerContentEncryptionConfiguration;
3663
+ /**
3664
+ * <p>Enforces a minimal level of encryption for the workgroup for query and calculation
3665
+ * results that are written to Amazon S3. When enabled, workgroup users can set
3666
+ * encryption only to the minimum level set by the administrator or higher when they submit queries. This setting does not apply to Spark-enabled workgroups.</p>
3667
+ * <p>The <code>EnforceWorkGroupConfiguration</code> setting takes precedence over the <code>EnableMinimumEncryptionConfiguration</code> flag. This means that if <code>EnforceWorkGroupConfiguration</code> is true, the <code>EnableMinimumEncryptionConfiguration</code> flag is ignored, and the workgroup configuration for encryption is used.</p>
3668
+ */
3669
+ EnableMinimumEncryptionConfiguration?: boolean;
3651
3670
  }
3652
3671
  /**
3653
3672
  * @public
@@ -242,6 +242,7 @@ export interface WorkGroupConfiguration {
242
242
  AdditionalConfiguration?: string;
243
243
  ExecutionRole?: string;
244
244
  CustomerContentEncryptionConfiguration?: CustomerContentEncryptionConfiguration;
245
+ EnableMinimumEncryptionConfiguration?: boolean;
245
246
  }
246
247
  export interface CreateWorkGroupInput {
247
248
  Name: string | undefined;
@@ -881,6 +882,7 @@ export interface WorkGroupConfigurationUpdates {
881
882
  AdditionalConfiguration?: string;
882
883
  ExecutionRole?: string;
883
884
  CustomerContentEncryptionConfiguration?: CustomerContentEncryptionConfiguration;
885
+ EnableMinimumEncryptionConfiguration?: boolean;
884
886
  }
885
887
  export interface UpdateWorkGroupInput {
886
888
  WorkGroup: string | undefined;
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.298.0",
4
+ "version": "3.300.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,23 +21,23 @@
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.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"