@aws-sdk/client-athena 3.936.0 → 3.938.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 (31) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +143 -28
  3. package/dist-es/Athena.js +4 -0
  4. package/dist-es/commands/GetResourceDashboardCommand.js +16 -0
  5. package/dist-es/commands/GetSessionEndpointCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/schemas/schemas_0.js +117 -28
  8. package/dist-types/Athena.d.ts +14 -0
  9. package/dist-types/AthenaClient.d.ts +4 -2
  10. package/dist-types/commands/BatchGetQueryExecutionCommand.d.ts +1 -0
  11. package/dist-types/commands/CreateWorkGroupCommand.d.ts +40 -0
  12. package/dist-types/commands/GetQueryExecutionCommand.d.ts +1 -0
  13. package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +2 -2
  14. package/dist-types/commands/GetResourceDashboardCommand.d.ts +85 -0
  15. package/dist-types/commands/GetSessionCommand.d.ts +31 -1
  16. package/dist-types/commands/GetSessionEndpointCommand.d.ts +87 -0
  17. package/dist-types/commands/GetWorkGroupCommand.d.ts +40 -0
  18. package/dist-types/commands/StartQueryExecutionCommand.d.ts +19 -0
  19. package/dist-types/commands/StartSessionCommand.d.ts +38 -1
  20. package/dist-types/commands/UpdateWorkGroupCommand.d.ts +40 -0
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/models/models_0.d.ts +271 -40
  23. package/dist-types/schemas/schemas_0.d.ts +15 -1
  24. package/dist-types/ts3.4/Athena.d.ts +34 -0
  25. package/dist-types/ts3.4/AthenaClient.d.ts +12 -0
  26. package/dist-types/ts3.4/commands/GetResourceDashboardCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +58 -7
  30. package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  31. package/package.json +1 -1
@@ -508,6 +508,11 @@ export interface QueryExecutionStatistics {
508
508
  * @public
509
509
  */
510
510
  ResultReuseInformation?: ResultReuseInformation | undefined;
511
+ /**
512
+ * <p>The number of Data Processing Units (DPUs) that Athena used to run the query.</p>
513
+ * @public
514
+ */
515
+ DpuCount?: number | undefined;
511
516
  }
512
517
  /**
513
518
  * <p>Provides information about an Athena query error. The
@@ -564,9 +569,9 @@ export interface QueryExecutionStatus {
564
569
  * complete processing. <code>CANCELLED</code> indicates that a user input interrupted
565
570
  * query execution.</p>
566
571
  * <note>
567
- * <p>Athena automatically retries your queries in cases of certain
568
- * transient errors. As a result, you may see the query state transition from
569
- * <code>RUNNING</code> or <code>FAILED</code> to <code>QUEUED</code>. </p>
572
+ * <p>For queries that experience certain transient errors, the state transitions from
573
+ * <code>RUNNING</code> back to <code>QUEUED</code>. The <code>FAILED</code> state
574
+ * is always terminal with no automatic retry. </p>
570
575
  * </note>
571
576
  * @public
572
577
  */
@@ -611,8 +616,8 @@ export interface QueryExecution {
611
616
  * <p>The type of query statement that was run. <code>DDL</code> indicates DDL query
612
617
  * statements. <code>DML</code> indicates DML (Data Manipulation Language) query
613
618
  * statements, such as <code>CREATE TABLE AS SELECT</code>. <code>UTILITY</code> indicates
614
- * query statements other than DDL and DML, such as <code>SHOW CREATE TABLE</code>, or
615
- * <code>DESCRIBE TABLE</code>.</p>
619
+ * query statements other than DDL and DML, such as <code>SHOW CREATE TABLE</code>,
620
+ * <code>EXPLAIN</code>, <code>DESCRIBE</code>, or <code>SHOW TABLES</code>.</p>
616
621
  * @public
617
622
  */
618
623
  StatementType?: StatementType | undefined;
@@ -1317,6 +1322,68 @@ export interface CustomerContentEncryptionConfiguration {
1317
1322
  */
1318
1323
  KmsKey: string | undefined;
1319
1324
  }
1325
+ /**
1326
+ * <p>A classification refers to a set of specific configurations.</p>
1327
+ * @public
1328
+ */
1329
+ export interface Classification {
1330
+ /**
1331
+ * <p>The name of the configuration classification.</p>
1332
+ * @public
1333
+ */
1334
+ Name?: string | undefined;
1335
+ /**
1336
+ * <p>A set of properties specified within a configuration classification.</p>
1337
+ * @public
1338
+ */
1339
+ Properties?: Record<string, string> | undefined;
1340
+ }
1341
+ /**
1342
+ * <p>Contains data processing unit (DPU) configuration settings and parameter mappings for
1343
+ * a notebook engine.</p>
1344
+ * @public
1345
+ */
1346
+ export interface EngineConfiguration {
1347
+ /**
1348
+ * <p>The number of DPUs to use for the coordinator. A coordinator is a special executor
1349
+ * that orchestrates processing work and manages other executors in a notebook session. The
1350
+ * default is 1.</p>
1351
+ * @public
1352
+ */
1353
+ CoordinatorDpuSize?: number | undefined;
1354
+ /**
1355
+ * <p>The maximum number of DPUs that can run concurrently.</p>
1356
+ * @public
1357
+ */
1358
+ MaxConcurrentDpus?: number | undefined;
1359
+ /**
1360
+ * <p>The default number of DPUs to use for executors. An executor is the smallest unit of
1361
+ * compute that a notebook session can request from Athena. The default is
1362
+ * 1.</p>
1363
+ * @public
1364
+ */
1365
+ DefaultExecutorDpuSize?: number | undefined;
1366
+ /**
1367
+ * <p>Contains additional notebook engine <code>MAP<string, string></code> parameter
1368
+ * mappings in the form of key-value pairs. To specify an Athena notebook that
1369
+ * the Jupyter server will download and serve, specify a value for the <a>StartSessionRequest$NotebookVersion</a> field, and then add a key named
1370
+ * <code>NotebookId</code> to <code>AdditionalConfigs</code> that has the value of the
1371
+ * Athena notebook ID.</p>
1372
+ * @public
1373
+ */
1374
+ AdditionalConfigs?: Record<string, string> | undefined;
1375
+ /**
1376
+ * <p>Specifies custom jar files and Spark properties for use cases like cluster encryption,
1377
+ * table formats, and general Spark tuning.</p>
1378
+ * @public
1379
+ */
1380
+ SparkProperties?: Record<string, string> | undefined;
1381
+ /**
1382
+ * <p>The configuration classifications that can be specified for the engine.</p>
1383
+ * @public
1384
+ */
1385
+ Classifications?: Classification[] | undefined;
1386
+ }
1320
1387
  /**
1321
1388
  * <p>Specifies whether the workgroup is IAM Identity Center supported.</p>
1322
1389
  * @public
@@ -1333,6 +1400,95 @@ export interface IdentityCenterConfiguration {
1333
1400
  */
1334
1401
  IdentityCenterInstanceArn?: string | undefined;
1335
1402
  }
1403
+ /**
1404
+ * <p>Configuration settings for delivering logs to Amazon CloudWatch log groups.</p>
1405
+ * @public
1406
+ */
1407
+ export interface CloudWatchLoggingConfiguration {
1408
+ /**
1409
+ * <p>Enables CloudWatch logging.</p>
1410
+ * @public
1411
+ */
1412
+ Enabled: boolean | undefined;
1413
+ /**
1414
+ * <p>The name of the log group in Amazon CloudWatch Logs where you want to publish
1415
+ * your logs.</p>
1416
+ * @public
1417
+ */
1418
+ LogGroup?: string | undefined;
1419
+ /**
1420
+ * <p>Prefix for the CloudWatch log stream name.</p>
1421
+ * @public
1422
+ */
1423
+ LogStreamNamePrefix?: string | undefined;
1424
+ /**
1425
+ * <p>The types of logs that you want to publish to CloudWatch.</p>
1426
+ * @public
1427
+ */
1428
+ LogTypes?: Record<string, string[]> | undefined;
1429
+ }
1430
+ /**
1431
+ * <p>Configuration settings for delivering logs to Amazon S3 buckets.</p>
1432
+ * @public
1433
+ */
1434
+ export interface ManagedLoggingConfiguration {
1435
+ /**
1436
+ * <p>Enables mamanged log persistence.</p>
1437
+ * @public
1438
+ */
1439
+ Enabled: boolean | undefined;
1440
+ /**
1441
+ * <p>The KMS key ARN to encrypt the logs stored in managed log persistence.</p>
1442
+ * @public
1443
+ */
1444
+ KmsKey?: string | undefined;
1445
+ }
1446
+ /**
1447
+ * <p>Configuration settings for delivering logs to Amazon S3 buckets.</p>
1448
+ * @public
1449
+ */
1450
+ export interface S3LoggingConfiguration {
1451
+ /**
1452
+ * <p>Enables S3 log delivery.</p>
1453
+ * @public
1454
+ */
1455
+ Enabled: boolean | undefined;
1456
+ /**
1457
+ * <p>The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.</p>
1458
+ * @public
1459
+ */
1460
+ KmsKey?: string | undefined;
1461
+ /**
1462
+ * <p>The Amazon S3 destination URI for log publishing.</p>
1463
+ * @public
1464
+ */
1465
+ LogLocation?: string | undefined;
1466
+ }
1467
+ /**
1468
+ * <p>Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets,
1469
+ * Amazon CloudWatch log groups etc.</p>
1470
+ * @public
1471
+ */
1472
+ export interface MonitoringConfiguration {
1473
+ /**
1474
+ * <p>Configuration settings for delivering logs to Amazon CloudWatch log groups.
1475
+ * </p>
1476
+ * @public
1477
+ */
1478
+ CloudWatchLoggingConfiguration?: CloudWatchLoggingConfiguration | undefined;
1479
+ /**
1480
+ * <p>Configuration settings for managed log persistence.
1481
+ * </p>
1482
+ * @public
1483
+ */
1484
+ ManagedLoggingConfiguration?: ManagedLoggingConfiguration | undefined;
1485
+ /**
1486
+ * <p>Configuration settings for delivering logs to Amazon S3 buckets.
1487
+ * </p>
1488
+ * @public
1489
+ */
1490
+ S3LoggingConfiguration?: S3LoggingConfiguration | undefined;
1491
+ }
1336
1492
  /**
1337
1493
  * <p>The configuration of the workgroup, which includes the location in Amazon S3
1338
1494
  * where query and calculation results are stored, the encryption option, if any, used for
@@ -1362,7 +1518,9 @@ export interface WorkGroupConfiguration {
1362
1518
  ManagedQueryResultsConfiguration?: ManagedQueryResultsConfiguration | undefined;
1363
1519
  /**
1364
1520
  * <p>If set to "true", the settings for the workgroup override client-side settings. If set
1365
- * to "false", client-side settings are used. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override Client-Side Settings</a>.</p>
1521
+ * to "false", client-side settings are used. This property is not required for Apache
1522
+ * Spark enabled workgroups. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override
1523
+ * Client-Side Settings</a>.</p>
1366
1524
  * @public
1367
1525
  */
1368
1526
  EnforceWorkGroupConfiguration?: boolean | undefined;
@@ -1408,6 +1566,18 @@ export interface WorkGroupConfiguration {
1408
1566
  * @public
1409
1567
  */
1410
1568
  ExecutionRole?: string | undefined;
1569
+ /**
1570
+ * <p>Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets,
1571
+ * Amazon CloudWatch log groups etc.</p>
1572
+ * @public
1573
+ */
1574
+ MonitoringConfiguration?: MonitoringConfiguration | undefined;
1575
+ /**
1576
+ * <p>Contains data processing unit (DPU) configuration settings and parameter mappings for
1577
+ * a notebook engine.</p>
1578
+ * @public
1579
+ */
1580
+ EngineConfiguration?: EngineConfiguration | undefined;
1411
1581
  /**
1412
1582
  * <p>Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.</p>
1413
1583
  * @public
@@ -2396,53 +2566,32 @@ export interface QueryRuntimeStatisticsTimeline {
2396
2566
  /**
2397
2567
  * @public
2398
2568
  */
2399
- export interface GetSessionRequest {
2569
+ export interface GetResourceDashboardRequest {
2400
2570
  /**
2401
- * <p>The session ID.</p>
2571
+ * <p>The The Amazon Resource Name (ARN) for a session.</p>
2402
2572
  * @public
2403
2573
  */
2404
- SessionId: string | undefined;
2574
+ ResourceARN: string | undefined;
2405
2575
  }
2406
2576
  /**
2407
- * <p>Contains data processing unit (DPU) configuration settings and parameter mappings for
2408
- * a notebook engine.</p>
2409
2577
  * @public
2410
2578
  */
2411
- export interface EngineConfiguration {
2412
- /**
2413
- * <p>The number of DPUs to use for the coordinator. A coordinator is a special executor
2414
- * that orchestrates processing work and manages other executors in a notebook session. The
2415
- * default is 1.</p>
2416
- * @public
2417
- */
2418
- CoordinatorDpuSize?: number | undefined;
2419
- /**
2420
- * <p>The maximum number of DPUs that can run concurrently.</p>
2421
- * @public
2422
- */
2423
- MaxConcurrentDpus: number | undefined;
2424
- /**
2425
- * <p>The default number of DPUs to use for executors. An executor is the smallest unit of
2426
- * compute that a notebook session can request from Athena. The default is
2427
- * 1.</p>
2428
- * @public
2429
- */
2430
- DefaultExecutorDpuSize?: number | undefined;
2579
+ export interface GetResourceDashboardResponse {
2431
2580
  /**
2432
- * <p>Contains additional notebook engine <code>MAP<string, string></code> parameter
2433
- * mappings in the form of key-value pairs. To specify an Athena notebook that
2434
- * the Jupyter server will download and serve, specify a value for the <a>StartSessionRequest$NotebookVersion</a> field, and then add a key named
2435
- * <code>NotebookId</code> to <code>AdditionalConfigs</code> that has the value of the
2436
- * Athena notebook ID.</p>
2581
+ * <p>The Live UI/Persistence UI url for a session.</p>
2437
2582
  * @public
2438
2583
  */
2439
- AdditionalConfigs?: Record<string, string> | undefined;
2584
+ Url: string | undefined;
2585
+ }
2586
+ /**
2587
+ * @public
2588
+ */
2589
+ export interface GetSessionRequest {
2440
2590
  /**
2441
- * <p>Specifies custom jar files and Spark properties for use cases like cluster encryption,
2442
- * table formats, and general Spark tuning.</p>
2591
+ * <p>The session ID.</p>
2443
2592
  * @public
2444
2593
  */
2445
- SparkProperties?: Record<string, string> | undefined;
2594
+ SessionId: string | undefined;
2446
2595
  }
2447
2596
  /**
2448
2597
  * <p>Contains session configuration information.</p>
@@ -2466,6 +2615,11 @@ export interface SessionConfiguration {
2466
2615
  * @public
2467
2616
  */
2468
2617
  IdleTimeoutSeconds?: number | undefined;
2618
+ /**
2619
+ * <p>The idle timeout in seconds for the session.</p>
2620
+ * @public
2621
+ */
2622
+ SessionIdleTimeoutInMinutes?: number | undefined;
2469
2623
  /**
2470
2624
  * <p>If query and calculation results are encrypted in Amazon S3, indicates the
2471
2625
  * encryption option used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and
@@ -2577,6 +2731,12 @@ export interface GetSessionResponse {
2577
2731
  * @public
2578
2732
  */
2579
2733
  NotebookVersion?: string | undefined;
2734
+ /**
2735
+ * <p>Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets,
2736
+ * Amazon CloudWatch log groups etc.</p>
2737
+ * @public
2738
+ */
2739
+ MonitoringConfiguration?: MonitoringConfiguration | undefined;
2580
2740
  /**
2581
2741
  * <p>Contains the workgroup configuration information used by the session.</p>
2582
2742
  * @public
@@ -2593,6 +2753,36 @@ export interface GetSessionResponse {
2593
2753
  */
2594
2754
  Statistics?: SessionStatistics | undefined;
2595
2755
  }
2756
+ /**
2757
+ * @public
2758
+ */
2759
+ export interface GetSessionEndpointRequest {
2760
+ /**
2761
+ * <p>The session ID.</p>
2762
+ * @public
2763
+ */
2764
+ SessionId: string | undefined;
2765
+ }
2766
+ /**
2767
+ * @public
2768
+ */
2769
+ export interface GetSessionEndpointResponse {
2770
+ /**
2771
+ * <p>The endpoint for connecting to the session.</p>
2772
+ * @public
2773
+ */
2774
+ EndpointUrl: string | undefined;
2775
+ /**
2776
+ * <p>Authentication token for the connection</p>
2777
+ * @public
2778
+ */
2779
+ AuthToken: string | undefined;
2780
+ /**
2781
+ * <p>Expiration time of the auth token.</p>
2782
+ * @public
2783
+ */
2784
+ AuthTokenExpirationTime: Date | undefined;
2785
+ }
2596
2786
  /**
2597
2787
  * @public
2598
2788
  */
@@ -4006,6 +4196,12 @@ export interface StartQueryExecutionInput {
4006
4196
  * @public
4007
4197
  */
4008
4198
  ResultReuseConfiguration?: ResultReuseConfiguration | undefined;
4199
+ /**
4200
+ * <p>Contains data processing unit (DPU) configuration settings and parameter mappings for
4201
+ * a notebook engine.</p>
4202
+ * @public
4203
+ */
4204
+ EngineConfiguration?: EngineConfiguration | undefined;
4009
4205
  }
4010
4206
  /**
4011
4207
  * @public
@@ -4037,6 +4233,19 @@ export interface StartSessionRequest {
4037
4233
  * @public
4038
4234
  */
4039
4235
  EngineConfiguration: EngineConfiguration | undefined;
4236
+ /**
4237
+ * <p>The ARN of the execution role used to access user resources for Spark sessions and
4238
+ * Identity Center enabled workgroups. This property applies only to Spark enabled
4239
+ * workgroups and Identity Center enabled workgroups.</p>
4240
+ * @public
4241
+ */
4242
+ ExecutionRole?: string | undefined;
4243
+ /**
4244
+ * <p>Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets,
4245
+ * Amazon CloudWatch log groups etc.</p>
4246
+ * @public
4247
+ */
4248
+ MonitoringConfiguration?: MonitoringConfiguration | undefined;
4040
4249
  /**
4041
4250
  * <p>The notebook version. This value is supplied automatically for notebook sessions in
4042
4251
  * the Athena console and is not required for programmatic session access. The
@@ -4065,6 +4274,16 @@ export interface StartSessionRequest {
4065
4274
  * @public
4066
4275
  */
4067
4276
  ClientRequestToken?: string | undefined;
4277
+ /**
4278
+ * <p>A list of comma separated tags to add to the session that is created.</p>
4279
+ * @public
4280
+ */
4281
+ Tags?: Tag[] | undefined;
4282
+ /**
4283
+ * <p>Copies the tags from the Workgroup to the Session when.</p>
4284
+ * @public
4285
+ */
4286
+ CopyWorkGroupTags?: boolean | undefined;
4068
4287
  }
4069
4288
  /**
4070
4289
  * @public
@@ -4678,6 +4897,18 @@ export interface WorkGroupConfigurationUpdates {
4678
4897
  * @public
4679
4898
  */
4680
4899
  QueryResultsS3AccessGrantsConfiguration?: QueryResultsS3AccessGrantsConfiguration | undefined;
4900
+ /**
4901
+ * <p>Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets,
4902
+ * Amazon CloudWatch log groups etc.</p>
4903
+ * @public
4904
+ */
4905
+ MonitoringConfiguration?: MonitoringConfiguration | undefined;
4906
+ /**
4907
+ * <p>Contains data processing unit (DPU) configuration settings and parameter mappings for
4908
+ * a notebook engine.</p>
4909
+ * @public
4910
+ */
4911
+ EngineConfiguration?: EngineConfiguration | undefined;
4681
4912
  }
4682
4913
  /**
4683
4914
  * @public
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
1
+ import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var AclConfiguration: StaticStructureSchema;
3
3
  export declare var ApplicationDPUSizes: StaticStructureSchema;
4
4
  export declare var AthenaError: StaticStructureSchema;
@@ -19,6 +19,8 @@ export declare var CapacityAllocation: StaticStructureSchema;
19
19
  export declare var CapacityAssignment: StaticStructureSchema;
20
20
  export declare var CapacityAssignmentConfiguration: StaticStructureSchema;
21
21
  export declare var CapacityReservation: StaticStructureSchema;
22
+ export declare var Classification: StaticStructureSchema;
23
+ export declare var CloudWatchLoggingConfiguration: StaticStructureSchema;
22
24
  export declare var Column: StaticStructureSchema;
23
25
  export declare var ColumnInfo: StaticStructureSchema;
24
26
  export declare var CreateCapacityReservationInput: StaticStructureSchema;
@@ -85,6 +87,10 @@ export declare var GetQueryResultsInput: StaticStructureSchema;
85
87
  export declare var GetQueryResultsOutput: StaticStructureSchema;
86
88
  export declare var GetQueryRuntimeStatisticsInput: StaticStructureSchema;
87
89
  export declare var GetQueryRuntimeStatisticsOutput: StaticStructureSchema;
90
+ export declare var GetResourceDashboardRequest: StaticStructureSchema;
91
+ export declare var GetResourceDashboardResponse: StaticStructureSchema;
92
+ export declare var GetSessionEndpointRequest: StaticStructureSchema;
93
+ export declare var GetSessionEndpointResponse: StaticStructureSchema;
88
94
  export declare var GetSessionRequest: StaticStructureSchema;
89
95
  export declare var GetSessionResponse: StaticStructureSchema;
90
96
  export declare var GetSessionStatusRequest: StaticStructureSchema;
@@ -130,10 +136,12 @@ export declare var ListTagsForResourceInput: StaticStructureSchema;
130
136
  export declare var ListTagsForResourceOutput: StaticStructureSchema;
131
137
  export declare var ListWorkGroupsInput: StaticStructureSchema;
132
138
  export declare var ListWorkGroupsOutput: StaticStructureSchema;
139
+ export declare var ManagedLoggingConfiguration: StaticStructureSchema;
133
140
  export declare var ManagedQueryResultsConfiguration: StaticStructureSchema;
134
141
  export declare var ManagedQueryResultsConfigurationUpdates: StaticStructureSchema;
135
142
  export declare var ManagedQueryResultsEncryptionConfiguration: StaticStructureSchema;
136
143
  export declare var MetadataException: StaticErrorSchema;
144
+ export declare var MonitoringConfiguration: StaticStructureSchema;
137
145
  export declare var NamedQuery: StaticStructureSchema;
138
146
  export declare var NotebookMetadata: StaticStructureSchema;
139
147
  export declare var NotebookSessionSummary: StaticStructureSchema;
@@ -160,6 +168,7 @@ export declare var ResultReuseInformation: StaticStructureSchema;
160
168
  export declare var ResultSet: StaticStructureSchema;
161
169
  export declare var ResultSetMetadata: StaticStructureSchema;
162
170
  export declare var Row: StaticStructureSchema;
171
+ export declare var S3LoggingConfiguration: StaticStructureSchema;
163
172
  export declare var SessionAlreadyExistsException: StaticErrorSchema;
164
173
  export declare var SessionConfiguration: StaticStructureSchema;
165
174
  export declare var SessionStatistics: StaticStructureSchema;
@@ -211,6 +220,7 @@ export declare var ApplicationDPUSizesList: StaticListSchema;
211
220
  export declare var CalculationsList: StaticListSchema;
212
221
  export declare var CapacityAssignmentsList: StaticListSchema;
213
222
  export declare var CapacityReservationsList: StaticListSchema;
223
+ export declare var ClassificationList: StaticListSchema;
214
224
  export declare var ColumnInfoList: StaticListSchema;
215
225
  export declare var ColumnList: StaticListSchema;
216
226
  export declare var DatabaseList: StaticListSchema;
@@ -219,6 +229,7 @@ export declare var datumList: StaticListSchema;
219
229
  export declare var EngineVersionsList: StaticListSchema;
220
230
  export declare var ExecutionParameters: number;
221
231
  export declare var ExecutorsSummaryList: StaticListSchema;
232
+ export declare var LogTypeValuesList: number;
222
233
  export declare var NamedQueryIdList: number;
223
234
  export declare var NamedQueryList: StaticListSchema;
224
235
  export declare var NotebookMetadataArray: StaticListSchema;
@@ -242,6 +253,7 @@ export declare var UnprocessedPreparedStatementNameList: StaticListSchema;
242
253
  export declare var UnprocessedQueryExecutionIdList: StaticListSchema;
243
254
  export declare var WorkGroupNamesList: number;
244
255
  export declare var WorkGroupsList: StaticListSchema;
256
+ export declare var LogTypesMap: StaticMapSchema;
245
257
  export declare var ParametersMap: number;
246
258
  export declare var BatchGetNamedQuery: StaticOperationSchema;
247
259
  export declare var BatchGetPreparedStatement: StaticOperationSchema;
@@ -274,7 +286,9 @@ export declare var GetPreparedStatement: StaticOperationSchema;
274
286
  export declare var GetQueryExecution: StaticOperationSchema;
275
287
  export declare var GetQueryResults: StaticOperationSchema;
276
288
  export declare var GetQueryRuntimeStatistics: StaticOperationSchema;
289
+ export declare var GetResourceDashboard: StaticOperationSchema;
277
290
  export declare var GetSession: StaticOperationSchema;
291
+ export declare var GetSessionEndpoint: StaticOperationSchema;
278
292
  export declare var GetSessionStatus: StaticOperationSchema;
279
293
  export declare var GetTableMetadata: StaticOperationSchema;
280
294
  export declare var GetWorkGroup: StaticOperationSchema;
@@ -124,10 +124,18 @@ import {
124
124
  GetQueryRuntimeStatisticsCommandInput,
125
125
  GetQueryRuntimeStatisticsCommandOutput,
126
126
  } from "./commands/GetQueryRuntimeStatisticsCommand";
127
+ import {
128
+ GetResourceDashboardCommandInput,
129
+ GetResourceDashboardCommandOutput,
130
+ } from "./commands/GetResourceDashboardCommand";
127
131
  import {
128
132
  GetSessionCommandInput,
129
133
  GetSessionCommandOutput,
130
134
  } from "./commands/GetSessionCommand";
135
+ import {
136
+ GetSessionEndpointCommandInput,
137
+ GetSessionEndpointCommandOutput,
138
+ } from "./commands/GetSessionEndpointCommand";
131
139
  import {
132
140
  GetSessionStatusCommandInput,
133
141
  GetSessionStatusCommandOutput,
@@ -682,6 +690,19 @@ export interface Athena {
682
690
  options: __HttpHandlerOptions,
683
691
  cb: (err: any, data?: GetQueryRuntimeStatisticsCommandOutput) => void
684
692
  ): void;
693
+ getResourceDashboard(
694
+ args: GetResourceDashboardCommandInput,
695
+ options?: __HttpHandlerOptions
696
+ ): Promise<GetResourceDashboardCommandOutput>;
697
+ getResourceDashboard(
698
+ args: GetResourceDashboardCommandInput,
699
+ cb: (err: any, data?: GetResourceDashboardCommandOutput) => void
700
+ ): void;
701
+ getResourceDashboard(
702
+ args: GetResourceDashboardCommandInput,
703
+ options: __HttpHandlerOptions,
704
+ cb: (err: any, data?: GetResourceDashboardCommandOutput) => void
705
+ ): void;
685
706
  getSession(
686
707
  args: GetSessionCommandInput,
687
708
  options?: __HttpHandlerOptions
@@ -695,6 +716,19 @@ export interface Athena {
695
716
  options: __HttpHandlerOptions,
696
717
  cb: (err: any, data?: GetSessionCommandOutput) => void
697
718
  ): void;
719
+ getSessionEndpoint(
720
+ args: GetSessionEndpointCommandInput,
721
+ options?: __HttpHandlerOptions
722
+ ): Promise<GetSessionEndpointCommandOutput>;
723
+ getSessionEndpoint(
724
+ args: GetSessionEndpointCommandInput,
725
+ cb: (err: any, data?: GetSessionEndpointCommandOutput) => void
726
+ ): void;
727
+ getSessionEndpoint(
728
+ args: GetSessionEndpointCommandInput,
729
+ options: __HttpHandlerOptions,
730
+ cb: (err: any, data?: GetSessionEndpointCommandOutput) => void
731
+ ): void;
698
732
  getSessionStatus(
699
733
  args: GetSessionStatusCommandInput,
700
734
  options?: __HttpHandlerOptions
@@ -172,10 +172,18 @@ import {
172
172
  GetQueryRuntimeStatisticsCommandInput,
173
173
  GetQueryRuntimeStatisticsCommandOutput,
174
174
  } from "./commands/GetQueryRuntimeStatisticsCommand";
175
+ import {
176
+ GetResourceDashboardCommandInput,
177
+ GetResourceDashboardCommandOutput,
178
+ } from "./commands/GetResourceDashboardCommand";
175
179
  import {
176
180
  GetSessionCommandInput,
177
181
  GetSessionCommandOutput,
178
182
  } from "./commands/GetSessionCommand";
183
+ import {
184
+ GetSessionEndpointCommandInput,
185
+ GetSessionEndpointCommandOutput,
186
+ } from "./commands/GetSessionEndpointCommand";
179
187
  import {
180
188
  GetSessionStatusCommandInput,
181
189
  GetSessionStatusCommandOutput,
@@ -359,7 +367,9 @@ export type ServiceInputTypes =
359
367
  | GetQueryExecutionCommandInput
360
368
  | GetQueryResultsCommandInput
361
369
  | GetQueryRuntimeStatisticsCommandInput
370
+ | GetResourceDashboardCommandInput
362
371
  | GetSessionCommandInput
372
+ | GetSessionEndpointCommandInput
363
373
  | GetSessionStatusCommandInput
364
374
  | GetTableMetadataCommandInput
365
375
  | GetWorkGroupCommandInput
@@ -428,7 +438,9 @@ export type ServiceOutputTypes =
428
438
  | GetQueryExecutionCommandOutput
429
439
  | GetQueryResultsCommandOutput
430
440
  | GetQueryRuntimeStatisticsCommandOutput
441
+ | GetResourceDashboardCommandOutput
431
442
  | GetSessionCommandOutput
443
+ | GetSessionEndpointCommandOutput
432
444
  | GetSessionStatusCommandOutput
433
445
  | GetTableMetadataCommandOutput
434
446
  | GetWorkGroupCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AthenaClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AthenaClient";
8
+ import {
9
+ GetResourceDashboardRequest,
10
+ GetResourceDashboardResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetResourceDashboardCommandInput
15
+ extends GetResourceDashboardRequest {}
16
+ export interface GetResourceDashboardCommandOutput
17
+ extends GetResourceDashboardResponse,
18
+ __MetadataBearer {}
19
+ declare const GetResourceDashboardCommand_base: {
20
+ new (
21
+ input: GetResourceDashboardCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetResourceDashboardCommandInput,
24
+ GetResourceDashboardCommandOutput,
25
+ AthenaClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetResourceDashboardCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetResourceDashboardCommandInput,
33
+ GetResourceDashboardCommandOutput,
34
+ AthenaClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetResourceDashboardCommand extends GetResourceDashboardCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetResourceDashboardRequest;
44
+ output: GetResourceDashboardResponse;
45
+ };
46
+ sdk: {
47
+ input: GetResourceDashboardCommandInput;
48
+ output: GetResourceDashboardCommandOutput;
49
+ };
50
+ };
51
+ }