@aws-sdk/client-athena 3.216.0 → 3.221.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Athena.js +345 -0
- package/dist-cjs/commands/CreateNotebookCommand.js +46 -0
- package/dist-cjs/commands/CreatePresignedNotebookUrlCommand.js +46 -0
- package/dist-cjs/commands/DeleteNotebookCommand.js +46 -0
- package/dist-cjs/commands/ExportNotebookCommand.js +46 -0
- package/dist-cjs/commands/GetCalculationExecutionCodeCommand.js +46 -0
- package/dist-cjs/commands/GetCalculationExecutionCommand.js +46 -0
- package/dist-cjs/commands/GetCalculationExecutionStatusCommand.js +46 -0
- package/dist-cjs/commands/GetNotebookMetadataCommand.js +46 -0
- package/dist-cjs/commands/GetSessionCommand.js +46 -0
- package/dist-cjs/commands/GetSessionStatusCommand.js +46 -0
- package/dist-cjs/commands/ImportNotebookCommand.js +46 -0
- package/dist-cjs/commands/ListApplicationDPUSizesCommand.js +46 -0
- package/dist-cjs/commands/ListCalculationExecutionsCommand.js +46 -0
- package/dist-cjs/commands/ListExecutorsCommand.js +46 -0
- package/dist-cjs/commands/ListNotebookMetadataCommand.js +46 -0
- package/dist-cjs/commands/ListNotebookSessionsCommand.js +46 -0
- package/dist-cjs/commands/ListSessionsCommand.js +46 -0
- package/dist-cjs/commands/StartCalculationExecutionCommand.js +46 -0
- package/dist-cjs/commands/StartSessionCommand.js +46 -0
- package/dist-cjs/commands/StopCalculationExecutionCommand.js +46 -0
- package/dist-cjs/commands/TerminateSessionCommand.js +46 -0
- package/dist-cjs/commands/UpdateNotebookCommand.js +46 -0
- package/dist-cjs/commands/UpdateNotebookMetadataCommand.js +46 -0
- package/dist-cjs/commands/index.js +23 -0
- package/dist-cjs/models/models_0.js +322 -18
- package/dist-cjs/pagination/ListApplicationDPUSizesPaginator.js +36 -0
- package/dist-cjs/pagination/ListCalculationExecutionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListExecutorsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSessionsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1908 -183
- package/dist-es/Athena.js +345 -0
- package/dist-es/commands/CreateNotebookCommand.js +42 -0
- package/dist-es/commands/CreatePresignedNotebookUrlCommand.js +42 -0
- package/dist-es/commands/DeleteNotebookCommand.js +42 -0
- package/dist-es/commands/ExportNotebookCommand.js +42 -0
- package/dist-es/commands/GetCalculationExecutionCodeCommand.js +42 -0
- package/dist-es/commands/GetCalculationExecutionCommand.js +42 -0
- package/dist-es/commands/GetCalculationExecutionStatusCommand.js +42 -0
- package/dist-es/commands/GetNotebookMetadataCommand.js +42 -0
- package/dist-es/commands/GetSessionCommand.js +42 -0
- package/dist-es/commands/GetSessionStatusCommand.js +42 -0
- package/dist-es/commands/ImportNotebookCommand.js +42 -0
- package/dist-es/commands/ListApplicationDPUSizesCommand.js +42 -0
- package/dist-es/commands/ListCalculationExecutionsCommand.js +42 -0
- package/dist-es/commands/ListExecutorsCommand.js +42 -0
- package/dist-es/commands/ListNotebookMetadataCommand.js +42 -0
- package/dist-es/commands/ListNotebookSessionsCommand.js +42 -0
- package/dist-es/commands/ListSessionsCommand.js +42 -0
- package/dist-es/commands/StartCalculationExecutionCommand.js +42 -0
- package/dist-es/commands/StartSessionCommand.js +42 -0
- package/dist-es/commands/StopCalculationExecutionCommand.js +42 -0
- package/dist-es/commands/TerminateSessionCommand.js +42 -0
- package/dist-es/commands/UpdateNotebookCommand.js +42 -0
- package/dist-es/commands/UpdateNotebookMetadataCommand.js +42 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/models/models_0.js +254 -14
- package/dist-es/pagination/ListApplicationDPUSizesPaginator.js +32 -0
- package/dist-es/pagination/ListCalculationExecutionsPaginator.js +32 -0
- package/dist-es/pagination/ListExecutorsPaginator.js +32 -0
- package/dist-es/pagination/ListSessionsPaginator.js +32 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +1835 -157
- package/dist-types/Athena.d.ts +212 -8
- package/dist-types/AthenaClient.d.ts +25 -2
- package/dist-types/commands/BatchGetPreparedStatementCommand.d.ts +5 -1
- package/dist-types/commands/CreateNotebookCommand.d.ts +39 -0
- package/dist-types/commands/CreatePresignedNotebookUrlCommand.d.ts +39 -0
- package/dist-types/commands/CreateWorkGroupCommand.d.ts +4 -1
- package/dist-types/commands/DeleteNotebookCommand.d.ts +37 -0
- package/dist-types/commands/ExportNotebookCommand.d.ts +37 -0
- package/dist-types/commands/GetCalculationExecutionCodeCommand.d.ts +38 -0
- package/dist-types/commands/GetCalculationExecutionCommand.d.ts +37 -0
- package/dist-types/commands/GetCalculationExecutionStatusCommand.d.ts +37 -0
- package/dist-types/commands/GetNotebookMetadataCommand.d.ts +37 -0
- package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +4 -4
- package/dist-types/commands/GetSessionCommand.d.ts +38 -0
- package/dist-types/commands/GetSessionStatusCommand.d.ts +37 -0
- package/dist-types/commands/ImportNotebookCommand.d.ts +39 -0
- package/dist-types/commands/ListApplicationDPUSizesCommand.d.ts +38 -0
- package/dist-types/commands/ListCalculationExecutionsCommand.d.ts +38 -0
- package/dist-types/commands/ListExecutorsCommand.d.ts +39 -0
- package/dist-types/commands/ListNotebookMetadataCommand.d.ts +37 -0
- package/dist-types/commands/ListNotebookSessionsCommand.d.ts +40 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +40 -0
- package/dist-types/commands/StartCalculationExecutionCommand.d.ts +38 -0
- package/dist-types/commands/StartSessionCommand.d.ts +38 -0
- package/dist-types/commands/StopCalculationExecutionCommand.d.ts +46 -0
- package/dist-types/commands/TerminateSessionCommand.d.ts +41 -0
- package/dist-types/commands/UpdateNotebookCommand.d.ts +37 -0
- package/dist-types/commands/UpdateNotebookMetadataCommand.d.ts +37 -0
- package/dist-types/commands/UpdateWorkGroupCommand.d.ts +5 -2
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/models/models_0.d.ts +1511 -101
- package/dist-types/pagination/ListApplicationDPUSizesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCalculationExecutionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExecutorsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +69 -0
- package/dist-types/ts3.4/Athena.d.ts +391 -0
- package/dist-types/ts3.4/AthenaClient.d.ts +138 -0
- package/dist-types/ts3.4/commands/CreateNotebookCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreatePresignedNotebookUrlCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteNotebookCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ExportNotebookCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetCalculationExecutionCodeCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetCalculationExecutionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetCalculationExecutionStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetNotebookMetadataCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetSessionStatusCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ImportNotebookCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListApplicationDPUSizesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListCalculationExecutionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListExecutorsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListNotebookMetadataCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListNotebookSessionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StartCalculationExecutionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StopCalculationExecutionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateNotebookCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateNotebookMetadataCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/models/models_0.d.ts +538 -21
- package/dist-types/ts3.4/pagination/ListApplicationDPUSizesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCalculationExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExecutorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +276 -0
- package/package.json +3 -3
|
@@ -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 { StartSessionRequest, StartSessionResponse } from "../models/models_0";
|
|
6
|
+
export interface StartSessionCommandInput extends StartSessionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface StartSessionCommandOutput extends StartSessionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a session for running calculations within a workgroup. The session is ready
|
|
12
|
+
* when it reaches an <code>IDLE</code> state.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { AthenaClient, StartSessionCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
17
|
+
* // const { AthenaClient, StartSessionCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
18
|
+
* const client = new AthenaClient(config);
|
|
19
|
+
* const command = new StartSessionCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link StartSessionCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link StartSessionCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class StartSessionCommand extends $Command<StartSessionCommandInput, StartSessionCommandOutput, AthenaClientResolvedConfig> {
|
|
29
|
+
readonly input: StartSessionCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: StartSessionCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSessionCommandInput, StartSessionCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { StopCalculationExecutionRequest, StopCalculationExecutionResponse } from "../models/models_0";
|
|
6
|
+
export interface StopCalculationExecutionCommandInput extends StopCalculationExecutionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface StopCalculationExecutionCommandOutput extends StopCalculationExecutionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Requests the cancellation of a calculation. A <code>StopCalculationExecution</code>
|
|
12
|
+
* call on a calculation that is already in a terminal state (for example,
|
|
13
|
+
* <code>STOPPED</code>, <code>FAILED</code>, or <code>COMPLETED</code>) succeeds but
|
|
14
|
+
* has no effect.</p>
|
|
15
|
+
* <note>
|
|
16
|
+
* <p>Cancelling a calculation is done on a best effort basis. If a calculation cannot
|
|
17
|
+
* be cancelled, you can be charged for its completion. If you are concerned about
|
|
18
|
+
* being charged for a calculation that cannot be cancelled, consider terminating the
|
|
19
|
+
* session in which the calculation is running.</p>
|
|
20
|
+
* </note>
|
|
21
|
+
* @example
|
|
22
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
+
* ```javascript
|
|
24
|
+
* import { AthenaClient, StopCalculationExecutionCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
25
|
+
* // const { AthenaClient, StopCalculationExecutionCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
26
|
+
* const client = new AthenaClient(config);
|
|
27
|
+
* const command = new StopCalculationExecutionCommand(input);
|
|
28
|
+
* const response = await client.send(command);
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @see {@link StopCalculationExecutionCommandInput} for command's `input` shape.
|
|
32
|
+
* @see {@link StopCalculationExecutionCommandOutput} for command's `response` shape.
|
|
33
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
export declare class StopCalculationExecutionCommand extends $Command<StopCalculationExecutionCommandInput, StopCalculationExecutionCommandOutput, AthenaClientResolvedConfig> {
|
|
37
|
+
readonly input: StopCalculationExecutionCommandInput;
|
|
38
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
|
+
constructor(input: StopCalculationExecutionCommandInput);
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopCalculationExecutionCommandInput, StopCalculationExecutionCommandOutput>;
|
|
44
|
+
private serialize;
|
|
45
|
+
private deserialize;
|
|
46
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { TerminateSessionRequest, TerminateSessionResponse } from "../models/models_0";
|
|
6
|
+
export interface TerminateSessionCommandInput extends TerminateSessionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface TerminateSessionCommandOutput extends TerminateSessionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Terminates an active session. A <code>TerminateSession</code> call on a session that
|
|
12
|
+
* is already inactive (for example, in a <code>FAILED</code>, <code>TERMINATED</code> or
|
|
13
|
+
* <code>TERMINATING</code> state) succeeds but has no effect. Calculations running in
|
|
14
|
+
* the session when <code>TerminateSession</code> is called are forcefully stopped, but may
|
|
15
|
+
* display as <code>FAILED</code> instead of <code>STOPPED</code>.</p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { AthenaClient, TerminateSessionCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
20
|
+
* // const { AthenaClient, TerminateSessionCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
21
|
+
* const client = new AthenaClient(config);
|
|
22
|
+
* const command = new TerminateSessionCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link TerminateSessionCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link TerminateSessionCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class TerminateSessionCommand extends $Command<TerminateSessionCommandInput, TerminateSessionCommandOutput, AthenaClientResolvedConfig> {
|
|
32
|
+
readonly input: TerminateSessionCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
|
+
constructor(input: TerminateSessionCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TerminateSessionCommandInput, TerminateSessionCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -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 { UpdateNotebookInput, UpdateNotebookOutput } from "../models/models_0";
|
|
6
|
+
export interface UpdateNotebookCommandInput extends UpdateNotebookInput {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateNotebookCommandOutput extends UpdateNotebookOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates the contents of a Spark notebook.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { AthenaClient, UpdateNotebookCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
16
|
+
* // const { AthenaClient, UpdateNotebookCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
17
|
+
* const client = new AthenaClient(config);
|
|
18
|
+
* const command = new UpdateNotebookCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UpdateNotebookCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UpdateNotebookCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UpdateNotebookCommand extends $Command<UpdateNotebookCommandInput, UpdateNotebookCommandOutput, AthenaClientResolvedConfig> {
|
|
28
|
+
readonly input: UpdateNotebookCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateNotebookCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateNotebookCommandInput, UpdateNotebookCommandOutput>;
|
|
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 { UpdateNotebookMetadataInput, UpdateNotebookMetadataOutput } from "../models/models_0";
|
|
6
|
+
export interface UpdateNotebookMetadataCommandInput extends UpdateNotebookMetadataInput {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateNotebookMetadataCommandOutput extends UpdateNotebookMetadataOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates the metadata for a notebook.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { AthenaClient, UpdateNotebookMetadataCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
16
|
+
* // const { AthenaClient, UpdateNotebookMetadataCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
17
|
+
* const client = new AthenaClient(config);
|
|
18
|
+
* const command = new UpdateNotebookMetadataCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UpdateNotebookMetadataCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UpdateNotebookMetadataCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UpdateNotebookMetadataCommand extends $Command<UpdateNotebookMetadataCommandInput, UpdateNotebookMetadataCommandOutput, AthenaClientResolvedConfig> {
|
|
28
|
+
readonly input: UpdateNotebookMetadataCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateNotebookMetadataCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateNotebookMetadataCommandInput, UpdateNotebookMetadataCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -8,8 +8,11 @@ export interface UpdateWorkGroupCommandInput extends UpdateWorkGroupInput {
|
|
|
8
8
|
export interface UpdateWorkGroupCommandOutput extends UpdateWorkGroupOutput, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Updates the workgroup with the specified name. The workgroup's name cannot be
|
|
12
|
-
*
|
|
11
|
+
* <p>Updates the workgroup with the specified name. The workgroup's name cannot be changed.
|
|
12
|
+
* Only one of <code>ConfigurationsUpdates</code> or <code>ConfigurationUpdates</code> can
|
|
13
|
+
* be specified; <code>ConfigurationsUpdates</code> for a workgroup with multi engine
|
|
14
|
+
* support (for example, an Apache Spark enabled workgroup) or
|
|
15
|
+
* <code>ConfigurationUpdates</code> for an Athena SQL workgroup.</p>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
18
|
* ```javascript
|
|
@@ -3,35 +3,58 @@ export * from "./BatchGetPreparedStatementCommand";
|
|
|
3
3
|
export * from "./BatchGetQueryExecutionCommand";
|
|
4
4
|
export * from "./CreateDataCatalogCommand";
|
|
5
5
|
export * from "./CreateNamedQueryCommand";
|
|
6
|
+
export * from "./CreateNotebookCommand";
|
|
6
7
|
export * from "./CreatePreparedStatementCommand";
|
|
8
|
+
export * from "./CreatePresignedNotebookUrlCommand";
|
|
7
9
|
export * from "./CreateWorkGroupCommand";
|
|
8
10
|
export * from "./DeleteDataCatalogCommand";
|
|
9
11
|
export * from "./DeleteNamedQueryCommand";
|
|
12
|
+
export * from "./DeleteNotebookCommand";
|
|
10
13
|
export * from "./DeletePreparedStatementCommand";
|
|
11
14
|
export * from "./DeleteWorkGroupCommand";
|
|
15
|
+
export * from "./ExportNotebookCommand";
|
|
16
|
+
export * from "./GetCalculationExecutionCodeCommand";
|
|
17
|
+
export * from "./GetCalculationExecutionCommand";
|
|
18
|
+
export * from "./GetCalculationExecutionStatusCommand";
|
|
12
19
|
export * from "./GetDataCatalogCommand";
|
|
13
20
|
export * from "./GetDatabaseCommand";
|
|
14
21
|
export * from "./GetNamedQueryCommand";
|
|
22
|
+
export * from "./GetNotebookMetadataCommand";
|
|
15
23
|
export * from "./GetPreparedStatementCommand";
|
|
16
24
|
export * from "./GetQueryExecutionCommand";
|
|
17
25
|
export * from "./GetQueryResultsCommand";
|
|
18
26
|
export * from "./GetQueryRuntimeStatisticsCommand";
|
|
27
|
+
export * from "./GetSessionCommand";
|
|
28
|
+
export * from "./GetSessionStatusCommand";
|
|
19
29
|
export * from "./GetTableMetadataCommand";
|
|
20
30
|
export * from "./GetWorkGroupCommand";
|
|
31
|
+
export * from "./ImportNotebookCommand";
|
|
32
|
+
export * from "./ListApplicationDPUSizesCommand";
|
|
33
|
+
export * from "./ListCalculationExecutionsCommand";
|
|
21
34
|
export * from "./ListDataCatalogsCommand";
|
|
22
35
|
export * from "./ListDatabasesCommand";
|
|
23
36
|
export * from "./ListEngineVersionsCommand";
|
|
37
|
+
export * from "./ListExecutorsCommand";
|
|
24
38
|
export * from "./ListNamedQueriesCommand";
|
|
39
|
+
export * from "./ListNotebookMetadataCommand";
|
|
40
|
+
export * from "./ListNotebookSessionsCommand";
|
|
25
41
|
export * from "./ListPreparedStatementsCommand";
|
|
26
42
|
export * from "./ListQueryExecutionsCommand";
|
|
43
|
+
export * from "./ListSessionsCommand";
|
|
27
44
|
export * from "./ListTableMetadataCommand";
|
|
28
45
|
export * from "./ListTagsForResourceCommand";
|
|
29
46
|
export * from "./ListWorkGroupsCommand";
|
|
47
|
+
export * from "./StartCalculationExecutionCommand";
|
|
30
48
|
export * from "./StartQueryExecutionCommand";
|
|
49
|
+
export * from "./StartSessionCommand";
|
|
50
|
+
export * from "./StopCalculationExecutionCommand";
|
|
31
51
|
export * from "./StopQueryExecutionCommand";
|
|
32
52
|
export * from "./TagResourceCommand";
|
|
53
|
+
export * from "./TerminateSessionCommand";
|
|
33
54
|
export * from "./UntagResourceCommand";
|
|
34
55
|
export * from "./UpdateDataCatalogCommand";
|
|
35
56
|
export * from "./UpdateNamedQueryCommand";
|
|
57
|
+
export * from "./UpdateNotebookCommand";
|
|
58
|
+
export * from "./UpdateNotebookMetadataCommand";
|
|
36
59
|
export * from "./UpdatePreparedStatementCommand";
|
|
37
60
|
export * from "./UpdateWorkGroupCommand";
|