@aws-sdk/client-athena 3.323.0 → 3.326.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 (68) hide show
  1. package/dist-types/commands/BatchGetNamedQueryCommand.d.ts +22 -0
  2. package/dist-types/commands/BatchGetPreparedStatementCommand.d.ts +21 -0
  3. package/dist-types/commands/BatchGetQueryExecutionCommand.d.ts +73 -0
  4. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +4 -0
  5. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +4 -0
  6. package/dist-types/commands/CreateDataCatalogCommand.d.ts +4 -0
  7. package/dist-types/commands/CreateNamedQueryCommand.d.ts +6 -0
  8. package/dist-types/commands/CreateNotebookCommand.d.ts +6 -0
  9. package/dist-types/commands/CreatePreparedStatementCommand.d.ts +4 -0
  10. package/dist-types/commands/CreatePresignedNotebookUrlCommand.d.ts +8 -0
  11. package/dist-types/commands/CreateWorkGroupCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteDataCatalogCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteNamedQueryCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteNotebookCommand.d.ts +4 -0
  15. package/dist-types/commands/DeletePreparedStatementCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteWorkGroupCommand.d.ts +4 -0
  17. package/dist-types/commands/ExportNotebookCommand.d.ts +14 -0
  18. package/dist-types/commands/GetCalculationExecutionCodeCommand.d.ts +6 -0
  19. package/dist-types/commands/GetCalculationExecutionCommand.d.ts +25 -0
  20. package/dist-types/commands/GetCalculationExecutionStatusCommand.d.ts +15 -0
  21. package/dist-types/commands/GetCapacityAssignmentConfigurationCommand.d.ts +15 -0
  22. package/dist-types/commands/GetCapacityReservationCommand.d.ts +19 -0
  23. package/dist-types/commands/GetDataCatalogCommand.d.ts +13 -0
  24. package/dist-types/commands/GetDatabaseCommand.d.ts +12 -0
  25. package/dist-types/commands/GetNamedQueryCommand.d.ts +13 -0
  26. package/dist-types/commands/GetNotebookMetadataCommand.d.ts +13 -0
  27. package/dist-types/commands/GetPreparedStatementCommand.d.ts +12 -0
  28. package/dist-types/commands/GetQueryExecutionCommand.d.ts +64 -0
  29. package/dist-types/commands/GetQueryResultsCommand.d.ts +34 -0
  30. package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +63 -0
  31. package/dist-types/commands/GetSessionCommand.d.ts +38 -0
  32. package/dist-types/commands/GetSessionStatusCommand.d.ts +14 -0
  33. package/dist-types/commands/GetTableMetadataCommand.d.ts +28 -0
  34. package/dist-types/commands/GetWorkGroupCommand.d.ts +38 -0
  35. package/dist-types/commands/ImportNotebookCommand.d.ts +6 -0
  36. package/dist-types/commands/ListApplicationDPUSizesCommand.d.ts +14 -0
  37. package/dist-types/commands/ListCalculationExecutionsCommand.d.ts +18 -0
  38. package/dist-types/commands/ListCapacityReservationsCommand.d.ts +22 -0
  39. package/dist-types/commands/ListDataCatalogsCommand.d.ts +12 -0
  40. package/dist-types/commands/ListDatabasesCommand.d.ts +15 -0
  41. package/dist-types/commands/ListEngineVersionsCommand.d.ts +12 -0
  42. package/dist-types/commands/ListExecutorsCommand.d.ts +17 -0
  43. package/dist-types/commands/ListNamedQueriesCommand.d.ts +9 -0
  44. package/dist-types/commands/ListNotebookMetadataCommand.d.ts +16 -0
  45. package/dist-types/commands/ListNotebookSessionsCommand.d.ts +12 -0
  46. package/dist-types/commands/ListPreparedStatementsCommand.d.ts +12 -0
  47. package/dist-types/commands/ListQueryExecutionsCommand.d.ts +9 -0
  48. package/dist-types/commands/ListSessionsCommand.d.ts +25 -0
  49. package/dist-types/commands/ListTableMetadataCommand.d.ts +31 -0
  50. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
  51. package/dist-types/commands/ListWorkGroupsCommand.d.ts +18 -0
  52. package/dist-types/commands/PutCapacityAssignmentConfigurationCommand.d.ts +4 -0
  53. package/dist-types/commands/StartCalculationExecutionCommand.d.ts +7 -0
  54. package/dist-types/commands/StartQueryExecutionCommand.d.ts +6 -0
  55. package/dist-types/commands/StartSessionCommand.d.ts +7 -0
  56. package/dist-types/commands/StopCalculationExecutionCommand.d.ts +6 -0
  57. package/dist-types/commands/StopQueryExecutionCommand.d.ts +4 -0
  58. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  59. package/dist-types/commands/TerminateSessionCommand.d.ts +6 -0
  60. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  61. package/dist-types/commands/UpdateCapacityReservationCommand.d.ts +4 -0
  62. package/dist-types/commands/UpdateDataCatalogCommand.d.ts +4 -0
  63. package/dist-types/commands/UpdateNamedQueryCommand.d.ts +4 -0
  64. package/dist-types/commands/UpdateNotebookCommand.d.ts +4 -0
  65. package/dist-types/commands/UpdateNotebookMetadataCommand.d.ts +4 -0
  66. package/dist-types/commands/UpdatePreparedStatementCommand.d.ts +4 -0
  67. package/dist-types/commands/UpdateWorkGroupCommand.d.ts +4 -0
  68. package/package.json +16 -16
@@ -32,6 +32,17 @@ export interface GetNamedQueryCommandOutput extends GetNamedQueryOutput, __Metad
32
32
  * };
33
33
  * const command = new GetNamedQueryCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetNamedQueryOutput
36
+ * // NamedQuery: { // NamedQuery
37
+ * // Name: "STRING_VALUE", // required
38
+ * // Description: "STRING_VALUE",
39
+ * // Database: "STRING_VALUE", // required
40
+ * // QueryString: "STRING_VALUE", // required
41
+ * // NamedQueryId: "STRING_VALUE",
42
+ * // WorkGroup: "STRING_VALUE",
43
+ * // },
44
+ * // };
45
+ *
35
46
  * ```
36
47
  *
37
48
  * @param GetNamedQueryCommandInput - {@link GetNamedQueryCommandInput}
@@ -48,6 +59,8 @@ export interface GetNamedQueryCommandOutput extends GetNamedQueryOutput, __Metad
48
59
  * <p>Indicates that something is wrong with the input to the request. For example, a
49
60
  * required parameter may be missing or out of range.</p>
50
61
  *
62
+ * @throws {@link AthenaServiceException}
63
+ * <p>Base exception class for all service exceptions from Athena service.</p>
51
64
  *
52
65
  */
53
66
  export declare class GetNamedQueryCommand extends $Command<GetNamedQueryCommandInput, GetNamedQueryCommandOutput, AthenaClientResolvedConfig> {
@@ -31,6 +31,17 @@ export interface GetNotebookMetadataCommandOutput extends GetNotebookMetadataOut
31
31
  * };
32
32
  * const command = new GetNotebookMetadataCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetNotebookMetadataOutput
35
+ * // NotebookMetadata: { // NotebookMetadata
36
+ * // NotebookId: "STRING_VALUE",
37
+ * // Name: "STRING_VALUE",
38
+ * // WorkGroup: "STRING_VALUE",
39
+ * // CreationTime: new Date("TIMESTAMP"),
40
+ * // Type: "IPYNB",
41
+ * // LastModifiedTime: new Date("TIMESTAMP"),
42
+ * // },
43
+ * // };
44
+ *
34
45
  * ```
35
46
  *
36
47
  * @param GetNotebookMetadataCommandInput - {@link GetNotebookMetadataCommandInput}
@@ -50,6 +61,8 @@ export interface GetNotebookMetadataCommandOutput extends GetNotebookMetadataOut
50
61
  * @throws {@link TooManyRequestsException} (client fault)
51
62
  * <p>Indicates that the request was throttled.</p>
52
63
  *
64
+ * @throws {@link AthenaServiceException}
65
+ * <p>Base exception class for all service exceptions from Athena service.</p>
53
66
  *
54
67
  */
55
68
  export declare class GetNotebookMetadataCommand extends $Command<GetNotebookMetadataCommandInput, GetNotebookMetadataCommandOutput, AthenaClientResolvedConfig> {
@@ -33,6 +33,16 @@ export interface GetPreparedStatementCommandOutput extends GetPreparedStatementO
33
33
  * };
34
34
  * const command = new GetPreparedStatementCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetPreparedStatementOutput
37
+ * // PreparedStatement: { // PreparedStatement
38
+ * // StatementName: "STRING_VALUE",
39
+ * // QueryStatement: "STRING_VALUE",
40
+ * // WorkGroupName: "STRING_VALUE",
41
+ * // Description: "STRING_VALUE",
42
+ * // LastModifiedTime: new Date("TIMESTAMP"),
43
+ * // },
44
+ * // };
45
+ *
36
46
  * ```
37
47
  *
38
48
  * @param GetPreparedStatementCommandInput - {@link GetPreparedStatementCommandInput}
@@ -52,6 +62,8 @@ export interface GetPreparedStatementCommandOutput extends GetPreparedStatementO
52
62
  * @throws {@link ResourceNotFoundException} (client fault)
53
63
  * <p>A resource, such as a workgroup, was not found.</p>
54
64
  *
65
+ * @throws {@link AthenaServiceException}
66
+ * <p>Base exception class for all service exceptions from Athena service.</p>
55
67
  *
56
68
  */
57
69
  export declare class GetPreparedStatementCommand extends $Command<GetPreparedStatementCommandInput, GetPreparedStatementCommandOutput, AthenaClientResolvedConfig> {
@@ -33,6 +33,68 @@ export interface GetQueryExecutionCommandOutput extends GetQueryExecutionOutput,
33
33
  * };
34
34
  * const command = new GetQueryExecutionCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetQueryExecutionOutput
37
+ * // QueryExecution: { // QueryExecution
38
+ * // QueryExecutionId: "STRING_VALUE",
39
+ * // Query: "STRING_VALUE",
40
+ * // StatementType: "DDL" || "DML" || "UTILITY",
41
+ * // ResultConfiguration: { // ResultConfiguration
42
+ * // OutputLocation: "STRING_VALUE",
43
+ * // EncryptionConfiguration: { // EncryptionConfiguration
44
+ * // EncryptionOption: "SSE_S3" || "SSE_KMS" || "CSE_KMS", // required
45
+ * // KmsKey: "STRING_VALUE",
46
+ * // },
47
+ * // ExpectedBucketOwner: "STRING_VALUE",
48
+ * // AclConfiguration: { // AclConfiguration
49
+ * // S3AclOption: "BUCKET_OWNER_FULL_CONTROL", // required
50
+ * // },
51
+ * // },
52
+ * // ResultReuseConfiguration: { // ResultReuseConfiguration
53
+ * // ResultReuseByAgeConfiguration: { // ResultReuseByAgeConfiguration
54
+ * // Enabled: true || false, // required
55
+ * // MaxAgeInMinutes: Number("int"),
56
+ * // },
57
+ * // },
58
+ * // QueryExecutionContext: { // QueryExecutionContext
59
+ * // Database: "STRING_VALUE",
60
+ * // Catalog: "STRING_VALUE",
61
+ * // },
62
+ * // Status: { // QueryExecutionStatus
63
+ * // State: "QUEUED" || "RUNNING" || "SUCCEEDED" || "FAILED" || "CANCELLED",
64
+ * // StateChangeReason: "STRING_VALUE",
65
+ * // SubmissionDateTime: new Date("TIMESTAMP"),
66
+ * // CompletionDateTime: new Date("TIMESTAMP"),
67
+ * // AthenaError: { // AthenaError
68
+ * // ErrorCategory: Number("int"),
69
+ * // ErrorType: Number("int"),
70
+ * // Retryable: true || false,
71
+ * // ErrorMessage: "STRING_VALUE",
72
+ * // },
73
+ * // },
74
+ * // Statistics: { // QueryExecutionStatistics
75
+ * // EngineExecutionTimeInMillis: Number("long"),
76
+ * // DataScannedInBytes: Number("long"),
77
+ * // DataManifestLocation: "STRING_VALUE",
78
+ * // TotalExecutionTimeInMillis: Number("long"),
79
+ * // QueryQueueTimeInMillis: Number("long"),
80
+ * // QueryPlanningTimeInMillis: Number("long"),
81
+ * // ServiceProcessingTimeInMillis: Number("long"),
82
+ * // ResultReuseInformation: { // ResultReuseInformation
83
+ * // ReusedPreviousResult: true || false, // required
84
+ * // },
85
+ * // },
86
+ * // WorkGroup: "STRING_VALUE",
87
+ * // EngineVersion: { // EngineVersion
88
+ * // SelectedEngineVersion: "STRING_VALUE",
89
+ * // EffectiveEngineVersion: "STRING_VALUE",
90
+ * // },
91
+ * // ExecutionParameters: [ // ExecutionParameters
92
+ * // "STRING_VALUE",
93
+ * // ],
94
+ * // SubstatementType: "STRING_VALUE",
95
+ * // },
96
+ * // };
97
+ *
36
98
  * ```
37
99
  *
38
100
  * @param GetQueryExecutionCommandInput - {@link GetQueryExecutionCommandInput}
@@ -49,6 +111,8 @@ export interface GetQueryExecutionCommandOutput extends GetQueryExecutionOutput,
49
111
  * <p>Indicates that something is wrong with the input to the request. For example, a
50
112
  * required parameter may be missing or out of range.</p>
51
113
  *
114
+ * @throws {@link AthenaServiceException}
115
+ * <p>Base exception class for all service exceptions from Athena service.</p>
52
116
  *
53
117
  */
54
118
  export declare class GetQueryExecutionCommand extends $Command<GetQueryExecutionCommandInput, GetQueryExecutionCommandOutput, AthenaClientResolvedConfig> {
@@ -48,6 +48,38 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsOutput, __M
48
48
  * };
49
49
  * const command = new GetQueryResultsCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // { // GetQueryResultsOutput
52
+ * // UpdateCount: Number("long"),
53
+ * // ResultSet: { // ResultSet
54
+ * // Rows: [ // RowList
55
+ * // { // Row
56
+ * // Data: [ // datumList
57
+ * // { // Datum
58
+ * // VarCharValue: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // },
62
+ * // ],
63
+ * // ResultSetMetadata: { // ResultSetMetadata
64
+ * // ColumnInfo: [ // ColumnInfoList
65
+ * // { // ColumnInfo
66
+ * // CatalogName: "STRING_VALUE",
67
+ * // SchemaName: "STRING_VALUE",
68
+ * // TableName: "STRING_VALUE",
69
+ * // Name: "STRING_VALUE", // required
70
+ * // Label: "STRING_VALUE",
71
+ * // Type: "STRING_VALUE", // required
72
+ * // Precision: Number("int"),
73
+ * // Scale: Number("int"),
74
+ * // Nullable: "NOT_NULL" || "NULLABLE" || "UNKNOWN",
75
+ * // CaseSensitive: true || false,
76
+ * // },
77
+ * // ],
78
+ * // },
79
+ * // },
80
+ * // NextToken: "STRING_VALUE",
81
+ * // };
82
+ *
51
83
  * ```
52
84
  *
53
85
  * @param GetQueryResultsCommandInput - {@link GetQueryResultsCommandInput}
@@ -67,6 +99,8 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsOutput, __M
67
99
  * @throws {@link TooManyRequestsException} (client fault)
68
100
  * <p>Indicates that the request was throttled.</p>
69
101
  *
102
+ * @throws {@link AthenaServiceException}
103
+ * <p>Base exception class for all service exceptions from Athena service.</p>
70
104
  *
71
105
  */
72
106
  export declare class GetQueryResultsCommand extends $Command<GetQueryResultsCommandInput, GetQueryResultsCommandOutput, AthenaClientResolvedConfig> {
@@ -36,6 +36,67 @@ export interface GetQueryRuntimeStatisticsCommandOutput extends GetQueryRuntimeS
36
36
  * };
37
37
  * const command = new GetQueryRuntimeStatisticsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // GetQueryRuntimeStatisticsOutput
40
+ * // QueryRuntimeStatistics: { // QueryRuntimeStatistics
41
+ * // Timeline: { // QueryRuntimeStatisticsTimeline
42
+ * // QueryQueueTimeInMillis: Number("long"),
43
+ * // QueryPlanningTimeInMillis: Number("long"),
44
+ * // EngineExecutionTimeInMillis: Number("long"),
45
+ * // ServiceProcessingTimeInMillis: Number("long"),
46
+ * // TotalExecutionTimeInMillis: Number("long"),
47
+ * // },
48
+ * // Rows: { // QueryRuntimeStatisticsRows
49
+ * // InputRows: Number("long"),
50
+ * // InputBytes: Number("long"),
51
+ * // OutputBytes: Number("long"),
52
+ * // OutputRows: Number("long"),
53
+ * // },
54
+ * // OutputStage: { // QueryStage
55
+ * // StageId: Number("long"),
56
+ * // State: "STRING_VALUE",
57
+ * // OutputBytes: Number("long"),
58
+ * // OutputRows: Number("long"),
59
+ * // InputBytes: Number("long"),
60
+ * // InputRows: Number("long"),
61
+ * // ExecutionTime: Number("long"),
62
+ * // QueryStagePlan: { // QueryStagePlanNode
63
+ * // Name: "STRING_VALUE",
64
+ * // Identifier: "STRING_VALUE",
65
+ * // Children: [ // QueryStagePlanNodes
66
+ * // {
67
+ * // Name: "STRING_VALUE",
68
+ * // Identifier: "STRING_VALUE",
69
+ * // Children: [
70
+ * // "<QueryStagePlanNode>",
71
+ * // ],
72
+ * // RemoteSources: [ // StringList
73
+ * // "STRING_VALUE",
74
+ * // ],
75
+ * // },
76
+ * // ],
77
+ * // RemoteSources: [
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // },
81
+ * // SubStages: [ // QueryStages
82
+ * // {
83
+ * // StageId: Number("long"),
84
+ * // State: "STRING_VALUE",
85
+ * // OutputBytes: Number("long"),
86
+ * // OutputRows: Number("long"),
87
+ * // InputBytes: Number("long"),
88
+ * // InputRows: Number("long"),
89
+ * // ExecutionTime: Number("long"),
90
+ * // QueryStagePlan: "<QueryStagePlanNode>",
91
+ * // SubStages: [
92
+ * // "<QueryStage>",
93
+ * // ],
94
+ * // },
95
+ * // ],
96
+ * // },
97
+ * // },
98
+ * // };
99
+ *
39
100
  * ```
40
101
  *
41
102
  * @param GetQueryRuntimeStatisticsCommandInput - {@link GetQueryRuntimeStatisticsCommandInput}
@@ -52,6 +113,8 @@ export interface GetQueryRuntimeStatisticsCommandOutput extends GetQueryRuntimeS
52
113
  * <p>Indicates that something is wrong with the input to the request. For example, a
53
114
  * required parameter may be missing or out of range.</p>
54
115
  *
116
+ * @throws {@link AthenaServiceException}
117
+ * <p>Base exception class for all service exceptions from Athena service.</p>
55
118
  *
56
119
  */
57
120
  export declare class GetQueryRuntimeStatisticsCommand extends $Command<GetQueryRuntimeStatisticsCommandInput, GetQueryRuntimeStatisticsCommandOutput, AthenaClientResolvedConfig> {
@@ -32,6 +32,42 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
32
32
  * };
33
33
  * const command = new GetSessionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetSessionResponse
36
+ * // SessionId: "STRING_VALUE",
37
+ * // Description: "STRING_VALUE",
38
+ * // WorkGroup: "STRING_VALUE",
39
+ * // EngineVersion: "STRING_VALUE",
40
+ * // EngineConfiguration: { // EngineConfiguration
41
+ * // CoordinatorDpuSize: Number("int"),
42
+ * // MaxConcurrentDpus: Number("int"), // required
43
+ * // DefaultExecutorDpuSize: Number("int"),
44
+ * // AdditionalConfigs: { // ParametersMap
45
+ * // "<keys>": "STRING_VALUE",
46
+ * // },
47
+ * // },
48
+ * // NotebookVersion: "STRING_VALUE",
49
+ * // SessionConfiguration: { // SessionConfiguration
50
+ * // ExecutionRole: "STRING_VALUE",
51
+ * // WorkingDirectory: "STRING_VALUE",
52
+ * // IdleTimeoutSeconds: Number("long"),
53
+ * // EncryptionConfiguration: { // EncryptionConfiguration
54
+ * // EncryptionOption: "SSE_S3" || "SSE_KMS" || "CSE_KMS", // required
55
+ * // KmsKey: "STRING_VALUE",
56
+ * // },
57
+ * // },
58
+ * // Status: { // SessionStatus
59
+ * // StartDateTime: new Date("TIMESTAMP"),
60
+ * // LastModifiedDateTime: new Date("TIMESTAMP"),
61
+ * // EndDateTime: new Date("TIMESTAMP"),
62
+ * // IdleSinceDateTime: new Date("TIMESTAMP"),
63
+ * // State: "CREATING" || "CREATED" || "IDLE" || "BUSY" || "TERMINATING" || "TERMINATED" || "DEGRADED" || "FAILED",
64
+ * // StateChangeReason: "STRING_VALUE",
65
+ * // },
66
+ * // Statistics: { // SessionStatistics
67
+ * // DpuExecutionInMillis: Number("long"),
68
+ * // },
69
+ * // };
70
+ *
35
71
  * ```
36
72
  *
37
73
  * @param GetSessionCommandInput - {@link GetSessionCommandInput}
@@ -51,6 +87,8 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
51
87
  * @throws {@link ResourceNotFoundException} (client fault)
52
88
  * <p>A resource, such as a workgroup, was not found.</p>
53
89
  *
90
+ * @throws {@link AthenaServiceException}
91
+ * <p>Base exception class for all service exceptions from Athena service.</p>
54
92
  *
55
93
  */
56
94
  export declare class GetSessionCommand extends $Command<GetSessionCommandInput, GetSessionCommandOutput, AthenaClientResolvedConfig> {
@@ -31,6 +31,18 @@ export interface GetSessionStatusCommandOutput extends GetSessionStatusResponse,
31
31
  * };
32
32
  * const command = new GetSessionStatusCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetSessionStatusResponse
35
+ * // SessionId: "STRING_VALUE",
36
+ * // Status: { // SessionStatus
37
+ * // StartDateTime: new Date("TIMESTAMP"),
38
+ * // LastModifiedDateTime: new Date("TIMESTAMP"),
39
+ * // EndDateTime: new Date("TIMESTAMP"),
40
+ * // IdleSinceDateTime: new Date("TIMESTAMP"),
41
+ * // State: "CREATING" || "CREATED" || "IDLE" || "BUSY" || "TERMINATING" || "TERMINATED" || "DEGRADED" || "FAILED",
42
+ * // StateChangeReason: "STRING_VALUE",
43
+ * // },
44
+ * // };
45
+ *
34
46
  * ```
35
47
  *
36
48
  * @param GetSessionStatusCommandInput - {@link GetSessionStatusCommandInput}
@@ -50,6 +62,8 @@ export interface GetSessionStatusCommandOutput extends GetSessionStatusResponse,
50
62
  * @throws {@link ResourceNotFoundException} (client fault)
51
63
  * <p>A resource, such as a workgroup, was not found.</p>
52
64
  *
65
+ * @throws {@link AthenaServiceException}
66
+ * <p>Base exception class for all service exceptions from Athena service.</p>
53
67
  *
54
68
  */
55
69
  export declare class GetSessionStatusCommand extends $Command<GetSessionStatusCommandInput, GetSessionStatusCommandOutput, AthenaClientResolvedConfig> {
@@ -33,6 +33,32 @@ export interface GetTableMetadataCommandOutput extends GetTableMetadataOutput, _
33
33
  * };
34
34
  * const command = new GetTableMetadataCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetTableMetadataOutput
37
+ * // TableMetadata: { // TableMetadata
38
+ * // Name: "STRING_VALUE", // required
39
+ * // CreateTime: new Date("TIMESTAMP"),
40
+ * // LastAccessTime: new Date("TIMESTAMP"),
41
+ * // TableType: "STRING_VALUE",
42
+ * // Columns: [ // ColumnList
43
+ * // { // Column
44
+ * // Name: "STRING_VALUE", // required
45
+ * // Type: "STRING_VALUE",
46
+ * // Comment: "STRING_VALUE",
47
+ * // },
48
+ * // ],
49
+ * // PartitionKeys: [
50
+ * // {
51
+ * // Name: "STRING_VALUE", // required
52
+ * // Type: "STRING_VALUE",
53
+ * // Comment: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // Parameters: { // ParametersMap
57
+ * // "<keys>": "STRING_VALUE",
58
+ * // },
59
+ * // },
60
+ * // };
61
+ *
36
62
  * ```
37
63
  *
38
64
  * @param GetTableMetadataCommandInput - {@link GetTableMetadataCommandInput}
@@ -57,6 +83,8 @@ export interface GetTableMetadataCommandOutput extends GetTableMetadataOutput, _
57
83
  * Lambda
58
84
  * <code>4XX</code> exception is returned in a <code>MetadataException</code>.</p>
59
85
  *
86
+ * @throws {@link AthenaServiceException}
87
+ * <p>Base exception class for all service exceptions from Athena service.</p>
60
88
  *
61
89
  */
62
90
  export declare class GetTableMetadataCommand extends $Command<GetTableMetadataCommandInput, GetTableMetadataCommandOutput, AthenaClientResolvedConfig> {
@@ -31,6 +31,42 @@ export interface GetWorkGroupCommandOutput extends GetWorkGroupOutput, __Metadat
31
31
  * };
32
32
  * const command = new GetWorkGroupCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetWorkGroupOutput
35
+ * // WorkGroup: { // WorkGroup
36
+ * // Name: "STRING_VALUE", // required
37
+ * // State: "ENABLED" || "DISABLED",
38
+ * // Configuration: { // WorkGroupConfiguration
39
+ * // ResultConfiguration: { // ResultConfiguration
40
+ * // OutputLocation: "STRING_VALUE",
41
+ * // EncryptionConfiguration: { // EncryptionConfiguration
42
+ * // EncryptionOption: "SSE_S3" || "SSE_KMS" || "CSE_KMS", // required
43
+ * // KmsKey: "STRING_VALUE",
44
+ * // },
45
+ * // ExpectedBucketOwner: "STRING_VALUE",
46
+ * // AclConfiguration: { // AclConfiguration
47
+ * // S3AclOption: "BUCKET_OWNER_FULL_CONTROL", // required
48
+ * // },
49
+ * // },
50
+ * // EnforceWorkGroupConfiguration: true || false,
51
+ * // PublishCloudWatchMetricsEnabled: true || false,
52
+ * // BytesScannedCutoffPerQuery: Number("long"),
53
+ * // RequesterPaysEnabled: true || false,
54
+ * // EngineVersion: { // EngineVersion
55
+ * // SelectedEngineVersion: "STRING_VALUE",
56
+ * // EffectiveEngineVersion: "STRING_VALUE",
57
+ * // },
58
+ * // AdditionalConfiguration: "STRING_VALUE",
59
+ * // ExecutionRole: "STRING_VALUE",
60
+ * // CustomerContentEncryptionConfiguration: { // CustomerContentEncryptionConfiguration
61
+ * // KmsKey: "STRING_VALUE", // required
62
+ * // },
63
+ * // EnableMinimumEncryptionConfiguration: true || false,
64
+ * // },
65
+ * // Description: "STRING_VALUE",
66
+ * // CreationTime: new Date("TIMESTAMP"),
67
+ * // },
68
+ * // };
69
+ *
34
70
  * ```
35
71
  *
36
72
  * @param GetWorkGroupCommandInput - {@link GetWorkGroupCommandInput}
@@ -47,6 +83,8 @@ export interface GetWorkGroupCommandOutput extends GetWorkGroupOutput, __Metadat
47
83
  * <p>Indicates that something is wrong with the input to the request. For example, a
48
84
  * required parameter may be missing or out of range.</p>
49
85
  *
86
+ * @throws {@link AthenaServiceException}
87
+ * <p>Base exception class for all service exceptions from Athena service.</p>
50
88
  *
51
89
  */
52
90
  export declare class GetWorkGroupCommand extends $Command<GetWorkGroupCommandInput, GetWorkGroupCommandOutput, AthenaClientResolvedConfig> {
@@ -37,6 +37,10 @@ export interface ImportNotebookCommandOutput extends ImportNotebookOutput, __Met
37
37
  * };
38
38
  * const command = new ImportNotebookCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // ImportNotebookOutput
41
+ * // NotebookId: "STRING_VALUE",
42
+ * // };
43
+ *
40
44
  * ```
41
45
  *
42
46
  * @param ImportNotebookCommandInput - {@link ImportNotebookCommandInput}
@@ -56,6 +60,8 @@ export interface ImportNotebookCommandOutput extends ImportNotebookOutput, __Met
56
60
  * @throws {@link TooManyRequestsException} (client fault)
57
61
  * <p>Indicates that the request was throttled.</p>
58
62
  *
63
+ * @throws {@link AthenaServiceException}
64
+ * <p>Base exception class for all service exceptions from Athena service.</p>
59
65
  *
60
66
  */
61
67
  export declare class ImportNotebookCommand extends $Command<ImportNotebookCommandInput, ImportNotebookCommandOutput, AthenaClientResolvedConfig> {
@@ -33,6 +33,18 @@ export interface ListApplicationDPUSizesCommandOutput extends ListApplicationDPU
33
33
  * };
34
34
  * const command = new ListApplicationDPUSizesCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListApplicationDPUSizesOutput
37
+ * // ApplicationDPUSizes: [ // ApplicationDPUSizesList
38
+ * // { // ApplicationDPUSizes
39
+ * // ApplicationRuntimeId: "STRING_VALUE",
40
+ * // SupportedDPUSizes: [ // SupportedDPUSizeList
41
+ * // Number("int"),
42
+ * // ],
43
+ * // },
44
+ * // ],
45
+ * // NextToken: "STRING_VALUE",
46
+ * // };
47
+ *
36
48
  * ```
37
49
  *
38
50
  * @param ListApplicationDPUSizesCommandInput - {@link ListApplicationDPUSizesCommandInput}
@@ -52,6 +64,8 @@ export interface ListApplicationDPUSizesCommandOutput extends ListApplicationDPU
52
64
  * @throws {@link TooManyRequestsException} (client fault)
53
65
  * <p>Indicates that the request was throttled.</p>
54
66
  *
67
+ * @throws {@link AthenaServiceException}
68
+ * <p>Base exception class for all service exceptions from Athena service.</p>
55
69
  *
56
70
  */
57
71
  export declare class ListApplicationDPUSizesCommand extends $Command<ListApplicationDPUSizesCommandInput, ListApplicationDPUSizesCommandOutput, AthenaClientResolvedConfig> {
@@ -35,6 +35,22 @@ export interface ListCalculationExecutionsCommandOutput extends ListCalculationE
35
35
  * };
36
36
  * const command = new ListCalculationExecutionsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListCalculationExecutionsResponse
39
+ * // NextToken: "STRING_VALUE",
40
+ * // Calculations: [ // CalculationsList
41
+ * // { // CalculationSummary
42
+ * // CalculationExecutionId: "STRING_VALUE",
43
+ * // Description: "STRING_VALUE",
44
+ * // Status: { // CalculationStatus
45
+ * // SubmissionDateTime: new Date("TIMESTAMP"),
46
+ * // CompletionDateTime: new Date("TIMESTAMP"),
47
+ * // State: "CREATING" || "CREATED" || "QUEUED" || "RUNNING" || "CANCELING" || "CANCELED" || "COMPLETED" || "FAILED",
48
+ * // StateChangeReason: "STRING_VALUE",
49
+ * // },
50
+ * // },
51
+ * // ],
52
+ * // };
53
+ *
38
54
  * ```
39
55
  *
40
56
  * @param ListCalculationExecutionsCommandInput - {@link ListCalculationExecutionsCommandInput}
@@ -54,6 +70,8 @@ export interface ListCalculationExecutionsCommandOutput extends ListCalculationE
54
70
  * @throws {@link ResourceNotFoundException} (client fault)
55
71
  * <p>A resource, such as a workgroup, was not found.</p>
56
72
  *
73
+ * @throws {@link AthenaServiceException}
74
+ * <p>Base exception class for all service exceptions from Athena service.</p>
57
75
  *
58
76
  */
59
77
  export declare class ListCalculationExecutionsCommand extends $Command<ListCalculationExecutionsCommandInput, ListCalculationExecutionsCommandOutput, AthenaClientResolvedConfig> {
@@ -32,6 +32,26 @@ export interface ListCapacityReservationsCommandOutput extends ListCapacityReser
32
32
  * };
33
33
  * const command = new ListCapacityReservationsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListCapacityReservationsOutput
36
+ * // NextToken: "STRING_VALUE",
37
+ * // CapacityReservations: [ // CapacityReservationsList // required
38
+ * // { // CapacityReservation
39
+ * // Name: "STRING_VALUE", // required
40
+ * // Status: "PENDING" || "ACTIVE" || "CANCELLING" || "CANCELLED" || "FAILED" || "UPDATE_PENDING", // required
41
+ * // TargetDpus: Number("int"), // required
42
+ * // AllocatedDpus: Number("int"), // required
43
+ * // LastAllocation: { // CapacityAllocation
44
+ * // Status: "PENDING" || "SUCCEEDED" || "FAILED", // required
45
+ * // StatusMessage: "STRING_VALUE",
46
+ * // RequestTime: new Date("TIMESTAMP"), // required
47
+ * // RequestCompletionTime: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // LastSuccessfulAllocationTime: new Date("TIMESTAMP"),
50
+ * // CreationTime: new Date("TIMESTAMP"), // required
51
+ * // },
52
+ * // ],
53
+ * // };
54
+ *
35
55
  * ```
36
56
  *
37
57
  * @param ListCapacityReservationsCommandInput - {@link ListCapacityReservationsCommandInput}
@@ -48,6 +68,8 @@ export interface ListCapacityReservationsCommandOutput extends ListCapacityReser
48
68
  * <p>Indicates that something is wrong with the input to the request. For example, a
49
69
  * required parameter may be missing or out of range.</p>
50
70
  *
71
+ * @throws {@link AthenaServiceException}
72
+ * <p>Base exception class for all service exceptions from Athena service.</p>
51
73
  *
52
74
  */
53
75
  export declare class ListCapacityReservationsCommand extends $Command<ListCapacityReservationsCommandInput, ListCapacityReservationsCommandOutput, AthenaClientResolvedConfig> {
@@ -36,6 +36,16 @@ export interface ListDataCatalogsCommandOutput extends ListDataCatalogsOutput, _
36
36
  * };
37
37
  * const command = new ListDataCatalogsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListDataCatalogsOutput
40
+ * // DataCatalogsSummary: [ // DataCatalogSummaryList
41
+ * // { // DataCatalogSummary
42
+ * // CatalogName: "STRING_VALUE",
43
+ * // Type: "LAMBDA" || "GLUE" || "HIVE",
44
+ * // },
45
+ * // ],
46
+ * // NextToken: "STRING_VALUE",
47
+ * // };
48
+ *
39
49
  * ```
40
50
  *
41
51
  * @param ListDataCatalogsCommandInput - {@link ListDataCatalogsCommandInput}
@@ -52,6 +62,8 @@ export interface ListDataCatalogsCommandOutput extends ListDataCatalogsOutput, _
52
62
  * <p>Indicates that something is wrong with the input to the request. For example, a
53
63
  * required parameter may be missing or out of range.</p>
54
64
  *
65
+ * @throws {@link AthenaServiceException}
66
+ * <p>Base exception class for all service exceptions from Athena service.</p>
55
67
  *
56
68
  */
57
69
  export declare class ListDataCatalogsCommand extends $Command<ListDataCatalogsCommandInput, ListDataCatalogsCommandOutput, AthenaClientResolvedConfig> {
@@ -33,6 +33,19 @@ export interface ListDatabasesCommandOutput extends ListDatabasesOutput, __Metad
33
33
  * };
34
34
  * const command = new ListDatabasesCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListDatabasesOutput
37
+ * // DatabaseList: [ // DatabaseList
38
+ * // { // Database
39
+ * // Name: "STRING_VALUE", // required
40
+ * // Description: "STRING_VALUE",
41
+ * // Parameters: { // ParametersMap
42
+ * // "<keys>": "STRING_VALUE",
43
+ * // },
44
+ * // },
45
+ * // ],
46
+ * // NextToken: "STRING_VALUE",
47
+ * // };
48
+ *
36
49
  * ```
37
50
  *
38
51
  * @param ListDatabasesCommandInput - {@link ListDatabasesCommandInput}
@@ -57,6 +70,8 @@ export interface ListDatabasesCommandOutput extends ListDatabasesOutput, __Metad
57
70
  * Lambda
58
71
  * <code>4XX</code> exception is returned in a <code>MetadataException</code>.</p>
59
72
  *
73
+ * @throws {@link AthenaServiceException}
74
+ * <p>Base exception class for all service exceptions from Athena service.</p>
60
75
  *
61
76
  */
62
77
  export declare class ListDatabasesCommand extends $Command<ListDatabasesCommandInput, ListDatabasesCommandOutput, AthenaClientResolvedConfig> {
@@ -33,6 +33,16 @@ export interface ListEngineVersionsCommandOutput extends ListEngineVersionsOutpu
33
33
  * };
34
34
  * const command = new ListEngineVersionsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListEngineVersionsOutput
37
+ * // EngineVersions: [ // EngineVersionsList
38
+ * // { // EngineVersion
39
+ * // SelectedEngineVersion: "STRING_VALUE",
40
+ * // EffectiveEngineVersion: "STRING_VALUE",
41
+ * // },
42
+ * // ],
43
+ * // NextToken: "STRING_VALUE",
44
+ * // };
45
+ *
36
46
  * ```
37
47
  *
38
48
  * @param ListEngineVersionsCommandInput - {@link ListEngineVersionsCommandInput}
@@ -49,6 +59,8 @@ export interface ListEngineVersionsCommandOutput extends ListEngineVersionsOutpu
49
59
  * <p>Indicates that something is wrong with the input to the request. For example, a
50
60
  * required parameter may be missing or out of range.</p>
51
61
  *
62
+ * @throws {@link AthenaServiceException}
63
+ * <p>Base exception class for all service exceptions from Athena service.</p>
52
64
  *
53
65
  */
54
66
  export declare class ListEngineVersionsCommand extends $Command<ListEngineVersionsCommandInput, ListEngineVersionsCommandOutput, AthenaClientResolvedConfig> {