@aws-sdk/client-athena 3.927.0 → 3.928.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/index.js +1900 -2342
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/AthenaClient.js +2 -0
- package/dist-es/commands/BatchGetNamedQueryCommand.js +3 -9
- package/dist-es/commands/BatchGetPreparedStatementCommand.js +3 -9
- package/dist-es/commands/BatchGetQueryExecutionCommand.js +3 -9
- package/dist-es/commands/CancelCapacityReservationCommand.js +3 -9
- package/dist-es/commands/CreateCapacityReservationCommand.js +3 -9
- package/dist-es/commands/CreateDataCatalogCommand.js +3 -9
- package/dist-es/commands/CreateNamedQueryCommand.js +3 -9
- package/dist-es/commands/CreateNotebookCommand.js +3 -9
- package/dist-es/commands/CreatePreparedStatementCommand.js +3 -9
- package/dist-es/commands/CreatePresignedNotebookUrlCommand.js +3 -9
- package/dist-es/commands/CreateWorkGroupCommand.js +3 -9
- package/dist-es/commands/DeleteCapacityReservationCommand.js +3 -9
- package/dist-es/commands/DeleteDataCatalogCommand.js +3 -9
- package/dist-es/commands/DeleteNamedQueryCommand.js +3 -9
- package/dist-es/commands/DeleteNotebookCommand.js +3 -9
- package/dist-es/commands/DeletePreparedStatementCommand.js +3 -9
- package/dist-es/commands/DeleteWorkGroupCommand.js +3 -9
- package/dist-es/commands/ExportNotebookCommand.js +3 -9
- package/dist-es/commands/GetCalculationExecutionCodeCommand.js +3 -9
- package/dist-es/commands/GetCalculationExecutionCommand.js +3 -9
- package/dist-es/commands/GetCalculationExecutionStatusCommand.js +3 -9
- package/dist-es/commands/GetCapacityAssignmentConfigurationCommand.js +3 -9
- package/dist-es/commands/GetCapacityReservationCommand.js +3 -9
- package/dist-es/commands/GetDataCatalogCommand.js +3 -9
- package/dist-es/commands/GetDatabaseCommand.js +3 -9
- package/dist-es/commands/GetNamedQueryCommand.js +3 -9
- package/dist-es/commands/GetNotebookMetadataCommand.js +3 -9
- package/dist-es/commands/GetPreparedStatementCommand.js +3 -9
- package/dist-es/commands/GetQueryExecutionCommand.js +3 -9
- package/dist-es/commands/GetQueryResultsCommand.js +3 -9
- package/dist-es/commands/GetQueryRuntimeStatisticsCommand.js +3 -9
- package/dist-es/commands/GetSessionCommand.js +3 -9
- package/dist-es/commands/GetSessionStatusCommand.js +3 -9
- package/dist-es/commands/GetTableMetadataCommand.js +3 -9
- package/dist-es/commands/GetWorkGroupCommand.js +3 -9
- package/dist-es/commands/ImportNotebookCommand.js +3 -9
- package/dist-es/commands/ListApplicationDPUSizesCommand.js +3 -9
- package/dist-es/commands/ListCalculationExecutionsCommand.js +3 -9
- package/dist-es/commands/ListCapacityReservationsCommand.js +3 -9
- package/dist-es/commands/ListDataCatalogsCommand.js +3 -9
- package/dist-es/commands/ListDatabasesCommand.js +3 -9
- package/dist-es/commands/ListEngineVersionsCommand.js +3 -9
- package/dist-es/commands/ListExecutorsCommand.js +3 -9
- package/dist-es/commands/ListNamedQueriesCommand.js +3 -9
- package/dist-es/commands/ListNotebookMetadataCommand.js +3 -9
- package/dist-es/commands/ListNotebookSessionsCommand.js +3 -9
- package/dist-es/commands/ListPreparedStatementsCommand.js +3 -9
- package/dist-es/commands/ListQueryExecutionsCommand.js +3 -9
- package/dist-es/commands/ListSessionsCommand.js +3 -9
- package/dist-es/commands/ListTableMetadataCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListWorkGroupsCommand.js +3 -9
- package/dist-es/commands/PutCapacityAssignmentConfigurationCommand.js +3 -9
- package/dist-es/commands/StartCalculationExecutionCommand.js +3 -9
- package/dist-es/commands/StartQueryExecutionCommand.js +3 -9
- package/dist-es/commands/StartSessionCommand.js +3 -9
- package/dist-es/commands/StopCalculationExecutionCommand.js +3 -9
- package/dist-es/commands/StopQueryExecutionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TerminateSessionCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateCapacityReservationCommand.js +3 -9
- package/dist-es/commands/UpdateDataCatalogCommand.js +3 -9
- package/dist-es/commands/UpdateNamedQueryCommand.js +3 -9
- package/dist-es/commands/UpdateNotebookCommand.js +3 -9
- package/dist-es/commands/UpdateNotebookMetadataCommand.js +3 -9
- package/dist-es/commands/UpdatePreparedStatementCommand.js +3 -9
- package/dist-es/commands/UpdateWorkGroupCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1754 -0
- package/dist-types/AthenaClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +313 -0
- package/dist-types/ts3.4/AthenaClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +318 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -1852
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -614
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -821
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_1Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.athena",
|
|
32
|
+
serviceTarget: "AmazonAthena",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "Athena",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
package/dist-es/AthenaClient.js
CHANGED
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class AthenaClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { BatchGetNamedQuery } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchGetNamedQueryCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "BatchGetNamedQuery", {})
|
|
17
13
|
.n("AthenaClient", "BatchGetNamedQueryCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchGetNamedQueryCommand)
|
|
20
|
-
.de(de_BatchGetNamedQueryCommand)
|
|
14
|
+
.sc(BatchGetNamedQuery)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { BatchGetPreparedStatement } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchGetPreparedStatementCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "BatchGetPreparedStatement", {})
|
|
17
13
|
.n("AthenaClient", "BatchGetPreparedStatementCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchGetPreparedStatementCommand)
|
|
20
|
-
.de(de_BatchGetPreparedStatementCommand)
|
|
14
|
+
.sc(BatchGetPreparedStatement)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { BatchGetQueryExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchGetQueryExecutionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "BatchGetQueryExecution", {})
|
|
17
13
|
.n("AthenaClient", "BatchGetQueryExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchGetQueryExecutionCommand)
|
|
20
|
-
.de(de_BatchGetQueryExecutionCommand)
|
|
14
|
+
.sc(BatchGetQueryExecution)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CancelCapacityReservation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CancelCapacityReservationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "CancelCapacityReservation", {})
|
|
17
13
|
.n("AthenaClient", "CancelCapacityReservationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CancelCapacityReservationCommand)
|
|
20
|
-
.de(de_CancelCapacityReservationCommand)
|
|
14
|
+
.sc(CancelCapacityReservation)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateCapacityReservation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateCapacityReservationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "CreateCapacityReservation", {})
|
|
17
13
|
.n("AthenaClient", "CreateCapacityReservationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateCapacityReservationCommand)
|
|
20
|
-
.de(de_CreateCapacityReservationCommand)
|
|
14
|
+
.sc(CreateCapacityReservation)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateDataCatalog } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateDataCatalogCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "CreateDataCatalog", {})
|
|
17
13
|
.n("AthenaClient", "CreateDataCatalogCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateDataCatalogCommand)
|
|
20
|
-
.de(de_CreateDataCatalogCommand)
|
|
14
|
+
.sc(CreateDataCatalog)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateNamedQuery } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateNamedQueryCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "CreateNamedQuery", {})
|
|
17
13
|
.n("AthenaClient", "CreateNamedQueryCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateNamedQueryCommand)
|
|
20
|
-
.de(de_CreateNamedQueryCommand)
|
|
14
|
+
.sc(CreateNamedQuery)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateNotebook } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateNotebookCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "CreateNotebook", {})
|
|
17
13
|
.n("AthenaClient", "CreateNotebookCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateNotebookCommand)
|
|
20
|
-
.de(de_CreateNotebookCommand)
|
|
14
|
+
.sc(CreateNotebook)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreatePreparedStatement } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreatePreparedStatementCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "CreatePreparedStatement", {})
|
|
17
13
|
.n("AthenaClient", "CreatePreparedStatementCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreatePreparedStatementCommand)
|
|
20
|
-
.de(de_CreatePreparedStatementCommand)
|
|
14
|
+
.sc(CreatePreparedStatement)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreatePresignedNotebookUrl } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreatePresignedNotebookUrlCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "CreatePresignedNotebookUrl", {})
|
|
17
13
|
.n("AthenaClient", "CreatePresignedNotebookUrlCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreatePresignedNotebookUrlCommand)
|
|
20
|
-
.de(de_CreatePresignedNotebookUrlCommand)
|
|
14
|
+
.sc(CreatePresignedNotebookUrl)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateWorkGroup } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateWorkGroupCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "CreateWorkGroup", {})
|
|
17
13
|
.n("AthenaClient", "CreateWorkGroupCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateWorkGroupCommand)
|
|
20
|
-
.de(de_CreateWorkGroupCommand)
|
|
14
|
+
.sc(CreateWorkGroup)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteCapacityReservation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteCapacityReservationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "DeleteCapacityReservation", {})
|
|
17
13
|
.n("AthenaClient", "DeleteCapacityReservationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteCapacityReservationCommand)
|
|
20
|
-
.de(de_DeleteCapacityReservationCommand)
|
|
14
|
+
.sc(DeleteCapacityReservation)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteDataCatalog } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteDataCatalogCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "DeleteDataCatalog", {})
|
|
17
13
|
.n("AthenaClient", "DeleteDataCatalogCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteDataCatalogCommand)
|
|
20
|
-
.de(de_DeleteDataCatalogCommand)
|
|
14
|
+
.sc(DeleteDataCatalog)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteNamedQuery } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteNamedQueryCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "DeleteNamedQuery", {})
|
|
17
13
|
.n("AthenaClient", "DeleteNamedQueryCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteNamedQueryCommand)
|
|
20
|
-
.de(de_DeleteNamedQueryCommand)
|
|
14
|
+
.sc(DeleteNamedQuery)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteNotebook } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteNotebookCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "DeleteNotebook", {})
|
|
17
13
|
.n("AthenaClient", "DeleteNotebookCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteNotebookCommand)
|
|
20
|
-
.de(de_DeleteNotebookCommand)
|
|
14
|
+
.sc(DeleteNotebook)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeletePreparedStatement } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeletePreparedStatementCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "DeletePreparedStatement", {})
|
|
17
13
|
.n("AthenaClient", "DeletePreparedStatementCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeletePreparedStatementCommand)
|
|
20
|
-
.de(de_DeletePreparedStatementCommand)
|
|
14
|
+
.sc(DeletePreparedStatement)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteWorkGroup } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteWorkGroupCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "DeleteWorkGroup", {})
|
|
17
13
|
.n("AthenaClient", "DeleteWorkGroupCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteWorkGroupCommand)
|
|
20
|
-
.de(de_DeleteWorkGroupCommand)
|
|
14
|
+
.sc(DeleteWorkGroup)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ExportNotebook } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ExportNotebookCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "ExportNotebook", {})
|
|
17
13
|
.n("AthenaClient", "ExportNotebookCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ExportNotebookCommand)
|
|
20
|
-
.de(de_ExportNotebookCommand)
|
|
14
|
+
.sc(ExportNotebook)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetCalculationExecutionCode } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetCalculationExecutionCodeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "GetCalculationExecutionCode", {})
|
|
17
13
|
.n("AthenaClient", "GetCalculationExecutionCodeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetCalculationExecutionCodeCommand)
|
|
20
|
-
.de(de_GetCalculationExecutionCodeCommand)
|
|
14
|
+
.sc(GetCalculationExecutionCode)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetCalculationExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetCalculationExecutionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "GetCalculationExecution", {})
|
|
17
13
|
.n("AthenaClient", "GetCalculationExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetCalculationExecutionCommand)
|
|
20
|
-
.de(de_GetCalculationExecutionCommand)
|
|
14
|
+
.sc(GetCalculationExecution)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetCalculationExecutionStatus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetCalculationExecutionStatusCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "GetCalculationExecutionStatus", {})
|
|
17
13
|
.n("AthenaClient", "GetCalculationExecutionStatusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetCalculationExecutionStatusCommand)
|
|
20
|
-
.de(de_GetCalculationExecutionStatusCommand)
|
|
14
|
+
.sc(GetCalculationExecutionStatus)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetCapacityAssignmentConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetCapacityAssignmentConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonAthena", "GetCapacityAssignmentConfiguration", {})
|
|
17
13
|
.n("AthenaClient", "GetCapacityAssignmentConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetCapacityAssignmentConfigurationCommand)
|
|
20
|
-
.de(de_GetCapacityAssignmentConfigurationCommand)
|
|
14
|
+
.sc(GetCapacityAssignmentConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|