@aws-sdk/client-athena 3.218.0 → 3.222.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 (135) hide show
  1. package/dist-cjs/Athena.js +345 -0
  2. package/dist-cjs/commands/CreateNotebookCommand.js +46 -0
  3. package/dist-cjs/commands/CreatePresignedNotebookUrlCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteNotebookCommand.js +46 -0
  5. package/dist-cjs/commands/ExportNotebookCommand.js +46 -0
  6. package/dist-cjs/commands/GetCalculationExecutionCodeCommand.js +46 -0
  7. package/dist-cjs/commands/GetCalculationExecutionCommand.js +46 -0
  8. package/dist-cjs/commands/GetCalculationExecutionStatusCommand.js +46 -0
  9. package/dist-cjs/commands/GetNotebookMetadataCommand.js +46 -0
  10. package/dist-cjs/commands/GetSessionCommand.js +46 -0
  11. package/dist-cjs/commands/GetSessionStatusCommand.js +46 -0
  12. package/dist-cjs/commands/ImportNotebookCommand.js +46 -0
  13. package/dist-cjs/commands/ListApplicationDPUSizesCommand.js +46 -0
  14. package/dist-cjs/commands/ListCalculationExecutionsCommand.js +46 -0
  15. package/dist-cjs/commands/ListExecutorsCommand.js +46 -0
  16. package/dist-cjs/commands/ListNotebookMetadataCommand.js +46 -0
  17. package/dist-cjs/commands/ListNotebookSessionsCommand.js +46 -0
  18. package/dist-cjs/commands/ListSessionsCommand.js +46 -0
  19. package/dist-cjs/commands/StartCalculationExecutionCommand.js +46 -0
  20. package/dist-cjs/commands/StartSessionCommand.js +46 -0
  21. package/dist-cjs/commands/StopCalculationExecutionCommand.js +46 -0
  22. package/dist-cjs/commands/TerminateSessionCommand.js +46 -0
  23. package/dist-cjs/commands/UpdateNotebookCommand.js +46 -0
  24. package/dist-cjs/commands/UpdateNotebookMetadataCommand.js +46 -0
  25. package/dist-cjs/commands/index.js +23 -0
  26. package/dist-cjs/models/models_0.js +322 -18
  27. package/dist-cjs/pagination/ListApplicationDPUSizesPaginator.js +36 -0
  28. package/dist-cjs/pagination/ListCalculationExecutionsPaginator.js +36 -0
  29. package/dist-cjs/pagination/ListExecutorsPaginator.js +36 -0
  30. package/dist-cjs/pagination/ListSessionsPaginator.js +36 -0
  31. package/dist-cjs/pagination/index.js +4 -0
  32. package/dist-cjs/protocols/Aws_json1_1.js +1908 -183
  33. package/dist-es/Athena.js +345 -0
  34. package/dist-es/commands/CreateNotebookCommand.js +42 -0
  35. package/dist-es/commands/CreatePresignedNotebookUrlCommand.js +42 -0
  36. package/dist-es/commands/DeleteNotebookCommand.js +42 -0
  37. package/dist-es/commands/ExportNotebookCommand.js +42 -0
  38. package/dist-es/commands/GetCalculationExecutionCodeCommand.js +42 -0
  39. package/dist-es/commands/GetCalculationExecutionCommand.js +42 -0
  40. package/dist-es/commands/GetCalculationExecutionStatusCommand.js +42 -0
  41. package/dist-es/commands/GetNotebookMetadataCommand.js +42 -0
  42. package/dist-es/commands/GetSessionCommand.js +42 -0
  43. package/dist-es/commands/GetSessionStatusCommand.js +42 -0
  44. package/dist-es/commands/ImportNotebookCommand.js +42 -0
  45. package/dist-es/commands/ListApplicationDPUSizesCommand.js +42 -0
  46. package/dist-es/commands/ListCalculationExecutionsCommand.js +42 -0
  47. package/dist-es/commands/ListExecutorsCommand.js +42 -0
  48. package/dist-es/commands/ListNotebookMetadataCommand.js +42 -0
  49. package/dist-es/commands/ListNotebookSessionsCommand.js +42 -0
  50. package/dist-es/commands/ListSessionsCommand.js +42 -0
  51. package/dist-es/commands/StartCalculationExecutionCommand.js +42 -0
  52. package/dist-es/commands/StartSessionCommand.js +42 -0
  53. package/dist-es/commands/StopCalculationExecutionCommand.js +42 -0
  54. package/dist-es/commands/TerminateSessionCommand.js +42 -0
  55. package/dist-es/commands/UpdateNotebookCommand.js +42 -0
  56. package/dist-es/commands/UpdateNotebookMetadataCommand.js +42 -0
  57. package/dist-es/commands/index.js +23 -0
  58. package/dist-es/models/models_0.js +254 -14
  59. package/dist-es/pagination/ListApplicationDPUSizesPaginator.js +32 -0
  60. package/dist-es/pagination/ListCalculationExecutionsPaginator.js +32 -0
  61. package/dist-es/pagination/ListExecutorsPaginator.js +32 -0
  62. package/dist-es/pagination/ListSessionsPaginator.js +32 -0
  63. package/dist-es/pagination/index.js +4 -0
  64. package/dist-es/protocols/Aws_json1_1.js +1835 -157
  65. package/dist-types/Athena.d.ts +212 -8
  66. package/dist-types/AthenaClient.d.ts +25 -2
  67. package/dist-types/commands/BatchGetPreparedStatementCommand.d.ts +5 -1
  68. package/dist-types/commands/CreateNotebookCommand.d.ts +39 -0
  69. package/dist-types/commands/CreatePresignedNotebookUrlCommand.d.ts +39 -0
  70. package/dist-types/commands/CreateWorkGroupCommand.d.ts +4 -1
  71. package/dist-types/commands/DeleteNotebookCommand.d.ts +37 -0
  72. package/dist-types/commands/ExportNotebookCommand.d.ts +37 -0
  73. package/dist-types/commands/GetCalculationExecutionCodeCommand.d.ts +38 -0
  74. package/dist-types/commands/GetCalculationExecutionCommand.d.ts +37 -0
  75. package/dist-types/commands/GetCalculationExecutionStatusCommand.d.ts +37 -0
  76. package/dist-types/commands/GetNotebookMetadataCommand.d.ts +37 -0
  77. package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +4 -4
  78. package/dist-types/commands/GetSessionCommand.d.ts +38 -0
  79. package/dist-types/commands/GetSessionStatusCommand.d.ts +37 -0
  80. package/dist-types/commands/ImportNotebookCommand.d.ts +39 -0
  81. package/dist-types/commands/ListApplicationDPUSizesCommand.d.ts +38 -0
  82. package/dist-types/commands/ListCalculationExecutionsCommand.d.ts +38 -0
  83. package/dist-types/commands/ListExecutorsCommand.d.ts +39 -0
  84. package/dist-types/commands/ListNotebookMetadataCommand.d.ts +37 -0
  85. package/dist-types/commands/ListNotebookSessionsCommand.d.ts +40 -0
  86. package/dist-types/commands/ListSessionsCommand.d.ts +40 -0
  87. package/dist-types/commands/StartCalculationExecutionCommand.d.ts +38 -0
  88. package/dist-types/commands/StartSessionCommand.d.ts +38 -0
  89. package/dist-types/commands/StopCalculationExecutionCommand.d.ts +46 -0
  90. package/dist-types/commands/TerminateSessionCommand.d.ts +41 -0
  91. package/dist-types/commands/UpdateNotebookCommand.d.ts +37 -0
  92. package/dist-types/commands/UpdateNotebookMetadataCommand.d.ts +37 -0
  93. package/dist-types/commands/UpdateWorkGroupCommand.d.ts +5 -2
  94. package/dist-types/commands/index.d.ts +23 -0
  95. package/dist-types/models/models_0.d.ts +1511 -101
  96. package/dist-types/pagination/ListApplicationDPUSizesPaginator.d.ts +4 -0
  97. package/dist-types/pagination/ListCalculationExecutionsPaginator.d.ts +4 -0
  98. package/dist-types/pagination/ListExecutorsPaginator.d.ts +4 -0
  99. package/dist-types/pagination/ListSessionsPaginator.d.ts +4 -0
  100. package/dist-types/pagination/index.d.ts +4 -0
  101. package/dist-types/protocols/Aws_json1_1.d.ts +69 -0
  102. package/dist-types/ts3.4/Athena.d.ts +391 -0
  103. package/dist-types/ts3.4/AthenaClient.d.ts +138 -0
  104. package/dist-types/ts3.4/commands/CreateNotebookCommand.d.ts +34 -0
  105. package/dist-types/ts3.4/commands/CreatePresignedNotebookUrlCommand.d.ts +41 -0
  106. package/dist-types/ts3.4/commands/DeleteNotebookCommand.d.ts +34 -0
  107. package/dist-types/ts3.4/commands/ExportNotebookCommand.d.ts +34 -0
  108. package/dist-types/ts3.4/commands/GetCalculationExecutionCodeCommand.d.ts +41 -0
  109. package/dist-types/ts3.4/commands/GetCalculationExecutionCommand.d.ts +41 -0
  110. package/dist-types/ts3.4/commands/GetCalculationExecutionStatusCommand.d.ts +41 -0
  111. package/dist-types/ts3.4/commands/GetNotebookMetadataCommand.d.ts +38 -0
  112. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +34 -0
  113. package/dist-types/ts3.4/commands/GetSessionStatusCommand.d.ts +37 -0
  114. package/dist-types/ts3.4/commands/ImportNotebookCommand.d.ts +34 -0
  115. package/dist-types/ts3.4/commands/ListApplicationDPUSizesCommand.d.ts +41 -0
  116. package/dist-types/ts3.4/commands/ListCalculationExecutionsCommand.d.ts +41 -0
  117. package/dist-types/ts3.4/commands/ListExecutorsCommand.d.ts +37 -0
  118. package/dist-types/ts3.4/commands/ListNotebookMetadataCommand.d.ts +41 -0
  119. package/dist-types/ts3.4/commands/ListNotebookSessionsCommand.d.ts +41 -0
  120. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +34 -0
  121. package/dist-types/ts3.4/commands/StartCalculationExecutionCommand.d.ts +41 -0
  122. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +34 -0
  123. package/dist-types/ts3.4/commands/StopCalculationExecutionCommand.d.ts +41 -0
  124. package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +37 -0
  125. package/dist-types/ts3.4/commands/UpdateNotebookCommand.d.ts +34 -0
  126. package/dist-types/ts3.4/commands/UpdateNotebookMetadataCommand.d.ts +41 -0
  127. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +538 -21
  129. package/dist-types/ts3.4/pagination/ListApplicationDPUSizesPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/ListCalculationExecutionsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListExecutorsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  134. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +276 -0
  135. package/package.json +29 -28
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { ExportNotebookInput, ExportNotebookOutput } from "../models/models_0";
6
+ export interface ExportNotebookCommandInput extends ExportNotebookInput {
7
+ }
8
+ export interface ExportNotebookCommandOutput extends ExportNotebookOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Exports the specified notebook and its metadata.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { AthenaClient, ExportNotebookCommand } from "@aws-sdk/client-athena"; // ES Modules import
16
+ * // const { AthenaClient, ExportNotebookCommand } = require("@aws-sdk/client-athena"); // CommonJS import
17
+ * const client = new AthenaClient(config);
18
+ * const command = new ExportNotebookCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ExportNotebookCommandInput} for command's `input` shape.
23
+ * @see {@link ExportNotebookCommandOutput} for command's `response` shape.
24
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ExportNotebookCommand extends $Command<ExportNotebookCommandInput, ExportNotebookCommandOutput, AthenaClientResolvedConfig> {
28
+ readonly input: ExportNotebookCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ExportNotebookCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExportNotebookCommandInput, ExportNotebookCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { GetCalculationExecutionCodeRequest, GetCalculationExecutionCodeResponse } from "../models/models_0";
6
+ export interface GetCalculationExecutionCodeCommandInput extends GetCalculationExecutionCodeRequest {
7
+ }
8
+ export interface GetCalculationExecutionCodeCommandOutput extends GetCalculationExecutionCodeResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves a pre-signed URL to a copy of the code that was executed for the
12
+ * calculation.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { AthenaClient, GetCalculationExecutionCodeCommand } from "@aws-sdk/client-athena"; // ES Modules import
17
+ * // const { AthenaClient, GetCalculationExecutionCodeCommand } = require("@aws-sdk/client-athena"); // CommonJS import
18
+ * const client = new AthenaClient(config);
19
+ * const command = new GetCalculationExecutionCodeCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link GetCalculationExecutionCodeCommandInput} for command's `input` shape.
24
+ * @see {@link GetCalculationExecutionCodeCommandOutput} for command's `response` shape.
25
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class GetCalculationExecutionCodeCommand extends $Command<GetCalculationExecutionCodeCommandInput, GetCalculationExecutionCodeCommandOutput, AthenaClientResolvedConfig> {
29
+ readonly input: GetCalculationExecutionCodeCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetCalculationExecutionCodeCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCalculationExecutionCodeCommandInput, GetCalculationExecutionCodeCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { GetCalculationExecutionRequest, GetCalculationExecutionResponse } from "../models/models_0";
6
+ export interface GetCalculationExecutionCommandInput extends GetCalculationExecutionRequest {
7
+ }
8
+ export interface GetCalculationExecutionCommandOutput extends GetCalculationExecutionResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Describes a previously submitted calculation execution.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { AthenaClient, GetCalculationExecutionCommand } from "@aws-sdk/client-athena"; // ES Modules import
16
+ * // const { AthenaClient, GetCalculationExecutionCommand } = require("@aws-sdk/client-athena"); // CommonJS import
17
+ * const client = new AthenaClient(config);
18
+ * const command = new GetCalculationExecutionCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link GetCalculationExecutionCommandInput} for command's `input` shape.
23
+ * @see {@link GetCalculationExecutionCommandOutput} for command's `response` shape.
24
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class GetCalculationExecutionCommand extends $Command<GetCalculationExecutionCommandInput, GetCalculationExecutionCommandOutput, AthenaClientResolvedConfig> {
28
+ readonly input: GetCalculationExecutionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetCalculationExecutionCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCalculationExecutionCommandInput, GetCalculationExecutionCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { GetCalculationExecutionStatusRequest, GetCalculationExecutionStatusResponse } from "../models/models_0";
6
+ export interface GetCalculationExecutionStatusCommandInput extends GetCalculationExecutionStatusRequest {
7
+ }
8
+ export interface GetCalculationExecutionStatusCommandOutput extends GetCalculationExecutionStatusResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets the status of a current calculation.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { AthenaClient, GetCalculationExecutionStatusCommand } from "@aws-sdk/client-athena"; // ES Modules import
16
+ * // const { AthenaClient, GetCalculationExecutionStatusCommand } = require("@aws-sdk/client-athena"); // CommonJS import
17
+ * const client = new AthenaClient(config);
18
+ * const command = new GetCalculationExecutionStatusCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link GetCalculationExecutionStatusCommandInput} for command's `input` shape.
23
+ * @see {@link GetCalculationExecutionStatusCommandOutput} for command's `response` shape.
24
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class GetCalculationExecutionStatusCommand extends $Command<GetCalculationExecutionStatusCommandInput, GetCalculationExecutionStatusCommandOutput, AthenaClientResolvedConfig> {
28
+ readonly input: GetCalculationExecutionStatusCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetCalculationExecutionStatusCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCalculationExecutionStatusCommandInput, GetCalculationExecutionStatusCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { GetNotebookMetadataInput, GetNotebookMetadataOutput } from "../models/models_0";
6
+ export interface GetNotebookMetadataCommandInput extends GetNotebookMetadataInput {
7
+ }
8
+ export interface GetNotebookMetadataCommandOutput extends GetNotebookMetadataOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves notebook metadata for the specified notebook ID.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { AthenaClient, GetNotebookMetadataCommand } from "@aws-sdk/client-athena"; // ES Modules import
16
+ * // const { AthenaClient, GetNotebookMetadataCommand } = require("@aws-sdk/client-athena"); // CommonJS import
17
+ * const client = new AthenaClient(config);
18
+ * const command = new GetNotebookMetadataCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link GetNotebookMetadataCommandInput} for command's `input` shape.
23
+ * @see {@link GetNotebookMetadataCommandOutput} for command's `response` shape.
24
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class GetNotebookMetadataCommand extends $Command<GetNotebookMetadataCommandInput, GetNotebookMetadataCommandOutput, AthenaClientResolvedConfig> {
28
+ readonly input: GetNotebookMetadataCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetNotebookMetadataCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetNotebookMetadataCommandInput, GetNotebookMetadataCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -8,10 +8,10 @@ export interface GetQueryRuntimeStatisticsCommandInput extends GetQueryRuntimeSt
8
8
  export interface GetQueryRuntimeStatisticsCommandOutput extends GetQueryRuntimeStatisticsOutput, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Returns query execution runtime statistics related to a single execution of a query if you
12
- * have access to the workgroup in which the query ran. The query execution runtime statistics
13
- * is returned only when <a>QueryExecutionStatus$State</a> is in a SUCCEEDED
14
- * or FAILED state.</p>
11
+ * <p>Returns query execution runtime statistics related to a single execution of a query if
12
+ * you have access to the workgroup in which the query ran. The query execution runtime
13
+ * statistics is returned only when <a>QueryExecutionStatus$State</a> is in a
14
+ * SUCCEEDED or FAILED state.</p>
15
15
  * @example
16
16
  * Use a bare-bones client and the command you need to make an API call.
17
17
  * ```javascript
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
6
+ export interface GetSessionCommandInput extends GetSessionRequest {
7
+ }
8
+ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets the full details of a previously created session, including the session status
12
+ * and configuration.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { AthenaClient, GetSessionCommand } from "@aws-sdk/client-athena"; // ES Modules import
17
+ * // const { AthenaClient, GetSessionCommand } = require("@aws-sdk/client-athena"); // CommonJS import
18
+ * const client = new AthenaClient(config);
19
+ * const command = new GetSessionCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link GetSessionCommandInput} for command's `input` shape.
24
+ * @see {@link GetSessionCommandOutput} for command's `response` shape.
25
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class GetSessionCommand extends $Command<GetSessionCommandInput, GetSessionCommandOutput, AthenaClientResolvedConfig> {
29
+ readonly input: GetSessionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetSessionCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSessionCommandInput, GetSessionCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { GetSessionStatusRequest, GetSessionStatusResponse } from "../models/models_0";
6
+ export interface GetSessionStatusCommandInput extends GetSessionStatusRequest {
7
+ }
8
+ export interface GetSessionStatusCommandOutput extends GetSessionStatusResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets the current status of a session.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { AthenaClient, GetSessionStatusCommand } from "@aws-sdk/client-athena"; // ES Modules import
16
+ * // const { AthenaClient, GetSessionStatusCommand } = require("@aws-sdk/client-athena"); // CommonJS import
17
+ * const client = new AthenaClient(config);
18
+ * const command = new GetSessionStatusCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link GetSessionStatusCommandInput} for command's `input` shape.
23
+ * @see {@link GetSessionStatusCommandOutput} for command's `response` shape.
24
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class GetSessionStatusCommand extends $Command<GetSessionStatusCommandInput, GetSessionStatusCommandOutput, AthenaClientResolvedConfig> {
28
+ readonly input: GetSessionStatusCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetSessionStatusCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSessionStatusCommandInput, GetSessionStatusCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { ImportNotebookInput, ImportNotebookOutput } from "../models/models_0";
6
+ export interface ImportNotebookCommandInput extends ImportNotebookInput {
7
+ }
8
+ export interface ImportNotebookCommandOutput extends ImportNotebookOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Imports a single <code>ipynb</code> file to a Spark enabled workgroup. The maximum
12
+ * file size that can be imported is 10 megabytes. If an <code>ipynb</code> file with the
13
+ * same name already exists in the workgroup, throws an error.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { AthenaClient, ImportNotebookCommand } from "@aws-sdk/client-athena"; // ES Modules import
18
+ * // const { AthenaClient, ImportNotebookCommand } = require("@aws-sdk/client-athena"); // CommonJS import
19
+ * const client = new AthenaClient(config);
20
+ * const command = new ImportNotebookCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link ImportNotebookCommandInput} for command's `input` shape.
25
+ * @see {@link ImportNotebookCommandOutput} for command's `response` shape.
26
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class ImportNotebookCommand extends $Command<ImportNotebookCommandInput, ImportNotebookCommandOutput, AthenaClientResolvedConfig> {
30
+ readonly input: ImportNotebookCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: ImportNotebookCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportNotebookCommandInput, ImportNotebookCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { ListApplicationDPUSizesInput, ListApplicationDPUSizesOutput } from "../models/models_0";
6
+ export interface ListApplicationDPUSizesCommandInput extends ListApplicationDPUSizesInput {
7
+ }
8
+ export interface ListApplicationDPUSizesCommandOutput extends ListApplicationDPUSizesOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Returns the supported DPU sizes for the supported application runtimes (for example,
12
+ * <code>Jupyter 1.0</code>). </p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { AthenaClient, ListApplicationDPUSizesCommand } from "@aws-sdk/client-athena"; // ES Modules import
17
+ * // const { AthenaClient, ListApplicationDPUSizesCommand } = require("@aws-sdk/client-athena"); // CommonJS import
18
+ * const client = new AthenaClient(config);
19
+ * const command = new ListApplicationDPUSizesCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ListApplicationDPUSizesCommandInput} for command's `input` shape.
24
+ * @see {@link ListApplicationDPUSizesCommandOutput} for command's `response` shape.
25
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class ListApplicationDPUSizesCommand extends $Command<ListApplicationDPUSizesCommandInput, ListApplicationDPUSizesCommandOutput, AthenaClientResolvedConfig> {
29
+ readonly input: ListApplicationDPUSizesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListApplicationDPUSizesCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListApplicationDPUSizesCommandInput, ListApplicationDPUSizesCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { ListCalculationExecutionsRequest, ListCalculationExecutionsResponse } from "../models/models_0";
6
+ export interface ListCalculationExecutionsCommandInput extends ListCalculationExecutionsRequest {
7
+ }
8
+ export interface ListCalculationExecutionsCommandOutput extends ListCalculationExecutionsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Lists the calculations that have been submitted to a session in descending order.
12
+ * Newer calculations are listed first; older calculations are listed later.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { AthenaClient, ListCalculationExecutionsCommand } from "@aws-sdk/client-athena"; // ES Modules import
17
+ * // const { AthenaClient, ListCalculationExecutionsCommand } = require("@aws-sdk/client-athena"); // CommonJS import
18
+ * const client = new AthenaClient(config);
19
+ * const command = new ListCalculationExecutionsCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ListCalculationExecutionsCommandInput} for command's `input` shape.
24
+ * @see {@link ListCalculationExecutionsCommandOutput} for command's `response` shape.
25
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class ListCalculationExecutionsCommand extends $Command<ListCalculationExecutionsCommandInput, ListCalculationExecutionsCommandOutput, AthenaClientResolvedConfig> {
29
+ readonly input: ListCalculationExecutionsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListCalculationExecutionsCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCalculationExecutionsCommandInput, ListCalculationExecutionsCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { ListExecutorsRequest, ListExecutorsResponse } from "../models/models_0";
6
+ export interface ListExecutorsCommandInput extends ListExecutorsRequest {
7
+ }
8
+ export interface ListExecutorsCommandOutput extends ListExecutorsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Lists, in descending order, the executors that have been submitted to a session. Newer
12
+ * executors are listed first; older executors are listed later. The result can be
13
+ * optionally filtered by state.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { AthenaClient, ListExecutorsCommand } from "@aws-sdk/client-athena"; // ES Modules import
18
+ * // const { AthenaClient, ListExecutorsCommand } = require("@aws-sdk/client-athena"); // CommonJS import
19
+ * const client = new AthenaClient(config);
20
+ * const command = new ListExecutorsCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link ListExecutorsCommandInput} for command's `input` shape.
25
+ * @see {@link ListExecutorsCommandOutput} for command's `response` shape.
26
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class ListExecutorsCommand extends $Command<ListExecutorsCommandInput, ListExecutorsCommandOutput, AthenaClientResolvedConfig> {
30
+ readonly input: ListExecutorsCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: ListExecutorsCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListExecutorsCommandInput, ListExecutorsCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { ListNotebookMetadataInput, ListNotebookMetadataOutput } from "../models/models_0";
6
+ export interface ListNotebookMetadataCommandInput extends ListNotebookMetadataInput {
7
+ }
8
+ export interface ListNotebookMetadataCommandOutput extends ListNotebookMetadataOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Displays the notebook files for the specified workgroup in paginated format.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { AthenaClient, ListNotebookMetadataCommand } from "@aws-sdk/client-athena"; // ES Modules import
16
+ * // const { AthenaClient, ListNotebookMetadataCommand } = require("@aws-sdk/client-athena"); // CommonJS import
17
+ * const client = new AthenaClient(config);
18
+ * const command = new ListNotebookMetadataCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListNotebookMetadataCommandInput} for command's `input` shape.
23
+ * @see {@link ListNotebookMetadataCommandOutput} for command's `response` shape.
24
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListNotebookMetadataCommand extends $Command<ListNotebookMetadataCommandInput, ListNotebookMetadataCommandOutput, AthenaClientResolvedConfig> {
28
+ readonly input: ListNotebookMetadataCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListNotebookMetadataCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListNotebookMetadataCommandInput, ListNotebookMetadataCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,40 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { ListNotebookSessionsRequest, ListNotebookSessionsResponse } from "../models/models_0";
6
+ export interface ListNotebookSessionsCommandInput extends ListNotebookSessionsRequest {
7
+ }
8
+ export interface ListNotebookSessionsCommandOutput extends ListNotebookSessionsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Lists, in descending order, the sessions that have been created in a notebook that are
12
+ * in an active state like <code>CREATING</code>, <code>CREATED</code>, <code>IDLE</code>
13
+ * or <code>BUSY</code>. Newer sessions are listed first; older sessions are listed
14
+ * later.</p>
15
+ * @example
16
+ * Use a bare-bones client and the command you need to make an API call.
17
+ * ```javascript
18
+ * import { AthenaClient, ListNotebookSessionsCommand } from "@aws-sdk/client-athena"; // ES Modules import
19
+ * // const { AthenaClient, ListNotebookSessionsCommand } = require("@aws-sdk/client-athena"); // CommonJS import
20
+ * const client = new AthenaClient(config);
21
+ * const command = new ListNotebookSessionsCommand(input);
22
+ * const response = await client.send(command);
23
+ * ```
24
+ *
25
+ * @see {@link ListNotebookSessionsCommandInput} for command's `input` shape.
26
+ * @see {@link ListNotebookSessionsCommandOutput} for command's `response` shape.
27
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
28
+ *
29
+ */
30
+ export declare class ListNotebookSessionsCommand extends $Command<ListNotebookSessionsCommandInput, ListNotebookSessionsCommandOutput, AthenaClientResolvedConfig> {
31
+ readonly input: ListNotebookSessionsCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
+ constructor(input: ListNotebookSessionsCommandInput);
34
+ /**
35
+ * @internal
36
+ */
37
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListNotebookSessionsCommandInput, ListNotebookSessionsCommandOutput>;
38
+ private serialize;
39
+ private deserialize;
40
+ }
@@ -0,0 +1,40 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { ListSessionsRequest, ListSessionsResponse } from "../models/models_0";
6
+ export interface ListSessionsCommandInput extends ListSessionsRequest {
7
+ }
8
+ export interface ListSessionsCommandOutput extends ListSessionsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Lists the sessions in a workgroup that are in an active state like
12
+ * <code>CREATING</code>, <code>CREATED</code>, <code>IDLE</code>, or
13
+ * <code>BUSY</code>. Newer sessions are listed first; older sessions are listed
14
+ * later.</p>
15
+ * @example
16
+ * Use a bare-bones client and the command you need to make an API call.
17
+ * ```javascript
18
+ * import { AthenaClient, ListSessionsCommand } from "@aws-sdk/client-athena"; // ES Modules import
19
+ * // const { AthenaClient, ListSessionsCommand } = require("@aws-sdk/client-athena"); // CommonJS import
20
+ * const client = new AthenaClient(config);
21
+ * const command = new ListSessionsCommand(input);
22
+ * const response = await client.send(command);
23
+ * ```
24
+ *
25
+ * @see {@link ListSessionsCommandInput} for command's `input` shape.
26
+ * @see {@link ListSessionsCommandOutput} for command's `response` shape.
27
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
28
+ *
29
+ */
30
+ export declare class ListSessionsCommand extends $Command<ListSessionsCommandInput, ListSessionsCommandOutput, AthenaClientResolvedConfig> {
31
+ readonly input: ListSessionsCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
+ constructor(input: ListSessionsCommandInput);
34
+ /**
35
+ * @internal
36
+ */
37
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSessionsCommandInput, ListSessionsCommandOutput>;
38
+ private serialize;
39
+ private deserialize;
40
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { StartCalculationExecutionRequest, StartCalculationExecutionResponse } from "../models/models_0";
6
+ export interface StartCalculationExecutionCommandInput extends StartCalculationExecutionRequest {
7
+ }
8
+ export interface StartCalculationExecutionCommandOutput extends StartCalculationExecutionResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Submits calculations for execution within a session. You can supply the code to run as
12
+ * an inline code block within the request or as an Amazon S3 URL.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { AthenaClient, StartCalculationExecutionCommand } from "@aws-sdk/client-athena"; // ES Modules import
17
+ * // const { AthenaClient, StartCalculationExecutionCommand } = require("@aws-sdk/client-athena"); // CommonJS import
18
+ * const client = new AthenaClient(config);
19
+ * const command = new StartCalculationExecutionCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link StartCalculationExecutionCommandInput} for command's `input` shape.
24
+ * @see {@link StartCalculationExecutionCommandOutput} for command's `response` shape.
25
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class StartCalculationExecutionCommand extends $Command<StartCalculationExecutionCommandInput, StartCalculationExecutionCommandOutput, AthenaClientResolvedConfig> {
29
+ readonly input: StartCalculationExecutionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: StartCalculationExecutionCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartCalculationExecutionCommandInput, StartCalculationExecutionCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }