@aws-sdk/client-athena 3.218.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 +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartSessionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class StartSessionCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartSessionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "AthenaClient";
|
|
28
|
+
const commandName = "StartSessionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.StartSessionRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.StartSessionResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StartSessionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StartSessionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.StartSessionCommand = StartSessionCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StopCalculationExecutionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class StopCalculationExecutionCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopCalculationExecutionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "AthenaClient";
|
|
28
|
+
const commandName = "StopCalculationExecutionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.StopCalculationExecutionRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.StopCalculationExecutionResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StopCalculationExecutionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StopCalculationExecutionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.StopCalculationExecutionCommand = StopCalculationExecutionCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TerminateSessionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class TerminateSessionCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TerminateSessionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "AthenaClient";
|
|
28
|
+
const commandName = "TerminateSessionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.TerminateSessionRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.TerminateSessionResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1TerminateSessionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1TerminateSessionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.TerminateSessionCommand = TerminateSessionCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateNotebookCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class UpdateNotebookCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateNotebookCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "AthenaClient";
|
|
28
|
+
const commandName = "UpdateNotebookCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.UpdateNotebookInputFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.UpdateNotebookOutputFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateNotebookCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateNotebookCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateNotebookCommand = UpdateNotebookCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateNotebookMetadataCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class UpdateNotebookMetadataCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateNotebookMetadataCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "AthenaClient";
|
|
28
|
+
const commandName = "UpdateNotebookMetadataCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.UpdateNotebookMetadataInputFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.UpdateNotebookMetadataOutputFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateNotebookMetadataCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateNotebookMetadataCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateNotebookMetadataCommand = UpdateNotebookMetadataCommand;
|
|
@@ -6,35 +6,58 @@ tslib_1.__exportStar(require("./BatchGetPreparedStatementCommand"), exports);
|
|
|
6
6
|
tslib_1.__exportStar(require("./BatchGetQueryExecutionCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./CreateDataCatalogCommand"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./CreateNamedQueryCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateNotebookCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./CreatePreparedStatementCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./CreatePresignedNotebookUrlCommand"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./CreateWorkGroupCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./DeleteDataCatalogCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./DeleteNamedQueryCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DeleteNotebookCommand"), exports);
|
|
13
16
|
tslib_1.__exportStar(require("./DeletePreparedStatementCommand"), exports);
|
|
14
17
|
tslib_1.__exportStar(require("./DeleteWorkGroupCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./ExportNotebookCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./GetCalculationExecutionCodeCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./GetCalculationExecutionCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./GetCalculationExecutionStatusCommand"), exports);
|
|
15
22
|
tslib_1.__exportStar(require("./GetDataCatalogCommand"), exports);
|
|
16
23
|
tslib_1.__exportStar(require("./GetDatabaseCommand"), exports);
|
|
17
24
|
tslib_1.__exportStar(require("./GetNamedQueryCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./GetNotebookMetadataCommand"), exports);
|
|
18
26
|
tslib_1.__exportStar(require("./GetPreparedStatementCommand"), exports);
|
|
19
27
|
tslib_1.__exportStar(require("./GetQueryExecutionCommand"), exports);
|
|
20
28
|
tslib_1.__exportStar(require("./GetQueryResultsCommand"), exports);
|
|
21
29
|
tslib_1.__exportStar(require("./GetQueryRuntimeStatisticsCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./GetSessionCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./GetSessionStatusCommand"), exports);
|
|
22
32
|
tslib_1.__exportStar(require("./GetTableMetadataCommand"), exports);
|
|
23
33
|
tslib_1.__exportStar(require("./GetWorkGroupCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./ImportNotebookCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./ListApplicationDPUSizesCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./ListCalculationExecutionsCommand"), exports);
|
|
24
37
|
tslib_1.__exportStar(require("./ListDataCatalogsCommand"), exports);
|
|
25
38
|
tslib_1.__exportStar(require("./ListDatabasesCommand"), exports);
|
|
26
39
|
tslib_1.__exportStar(require("./ListEngineVersionsCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./ListExecutorsCommand"), exports);
|
|
27
41
|
tslib_1.__exportStar(require("./ListNamedQueriesCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./ListNotebookMetadataCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./ListNotebookSessionsCommand"), exports);
|
|
28
44
|
tslib_1.__exportStar(require("./ListPreparedStatementsCommand"), exports);
|
|
29
45
|
tslib_1.__exportStar(require("./ListQueryExecutionsCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./ListSessionsCommand"), exports);
|
|
30
47
|
tslib_1.__exportStar(require("./ListTableMetadataCommand"), exports);
|
|
31
48
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
32
49
|
tslib_1.__exportStar(require("./ListWorkGroupsCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./StartCalculationExecutionCommand"), exports);
|
|
33
51
|
tslib_1.__exportStar(require("./StartQueryExecutionCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./StartSessionCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./StopCalculationExecutionCommand"), exports);
|
|
34
54
|
tslib_1.__exportStar(require("./StopQueryExecutionCommand"), exports);
|
|
35
55
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./TerminateSessionCommand"), exports);
|
|
36
57
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
37
58
|
tslib_1.__exportStar(require("./UpdateDataCatalogCommand"), exports);
|
|
38
59
|
tslib_1.__exportStar(require("./UpdateNamedQueryCommand"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./UpdateNotebookCommand"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./UpdateNotebookMetadataCommand"), exports);
|
|
39
62
|
tslib_1.__exportStar(require("./UpdatePreparedStatementCommand"), exports);
|
|
40
63
|
tslib_1.__exportStar(require("./UpdateWorkGroupCommand"), exports);
|