@aws-sdk/client-emr-serverless 3.927.0 → 3.929.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 +1024 -968
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/EMRServerlessClient.js +2 -0
- package/dist-es/commands/CancelJobRunCommand.js +3 -9
- package/dist-es/commands/CreateApplicationCommand.js +3 -10
- package/dist-es/commands/DeleteApplicationCommand.js +3 -9
- package/dist-es/commands/GetApplicationCommand.js +3 -10
- package/dist-es/commands/GetDashboardForJobRunCommand.js +3 -9
- package/dist-es/commands/GetJobRunCommand.js +3 -10
- package/dist-es/commands/ListApplicationsCommand.js +3 -9
- package/dist-es/commands/ListJobRunAttemptsCommand.js +3 -9
- package/dist-es/commands/ListJobRunsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/StartApplicationCommand.js +3 -9
- package/dist-es/commands/StartJobRunCommand.js +3 -10
- package/dist-es/commands/StopApplicationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateApplicationCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -78
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +991 -0
- package/dist-types/EMRServerlessClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -52
- 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 +112 -0
- package/dist-types/ts3.4/EMRServerlessClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -29
- 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 +119 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -759
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -197
|
@@ -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,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.emrserverless" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "EMR Serverless",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -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 EMRServerlessClient 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 { CancelJobRun } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CancelJobRunCommand 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("AwsToledoWebService", "CancelJobRun", {})
|
|
17
13
|
.n("EMRServerlessClient", "CancelJobRunCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CancelJobRunCommand)
|
|
20
|
-
.de(de_CancelJobRunCommand)
|
|
14
|
+
.sc(CancelJobRun)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +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 {
|
|
6
|
-
import { de_CreateApplicationCommand, se_CreateApplicationCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateApplication } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateApplicationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsToledoWebService", "CreateApplication", {})
|
|
18
13
|
.n("EMRServerlessClient", "CreateApplicationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateApplicationCommand)
|
|
21
|
-
.de(de_CreateApplicationCommand)
|
|
14
|
+
.sc(CreateApplication)
|
|
22
15
|
.build() {
|
|
23
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 { DeleteApplication } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteApplicationCommand 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("AwsToledoWebService", "DeleteApplication", {})
|
|
17
13
|
.n("EMRServerlessClient", "DeleteApplicationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteApplicationCommand)
|
|
20
|
-
.de(de_DeleteApplicationCommand)
|
|
14
|
+
.sc(DeleteApplication)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +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 {
|
|
6
|
-
import { de_GetApplicationCommand, se_GetApplicationCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetApplication } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetApplicationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsToledoWebService", "GetApplication", {})
|
|
18
13
|
.n("EMRServerlessClient", "GetApplicationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetApplicationCommand)
|
|
21
|
-
.de(de_GetApplicationCommand)
|
|
14
|
+
.sc(GetApplication)
|
|
22
15
|
.build() {
|
|
23
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 { GetDashboardForJobRun } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetDashboardForJobRunCommand 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("AwsToledoWebService", "GetDashboardForJobRun", {})
|
|
17
13
|
.n("EMRServerlessClient", "GetDashboardForJobRunCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetDashboardForJobRunCommand)
|
|
20
|
-
.de(de_GetDashboardForJobRunCommand)
|
|
14
|
+
.sc(GetDashboardForJobRun)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +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 {
|
|
6
|
-
import { de_GetJobRunCommand, se_GetJobRunCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetJobRun } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetJobRunCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsToledoWebService", "GetJobRun", {})
|
|
18
13
|
.n("EMRServerlessClient", "GetJobRunCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetJobRunCommand)
|
|
21
|
-
.de(de_GetJobRunCommand)
|
|
14
|
+
.sc(GetJobRun)
|
|
22
15
|
.build() {
|
|
23
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 { ListApplications } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListApplicationsCommand 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("AwsToledoWebService", "ListApplications", {})
|
|
17
13
|
.n("EMRServerlessClient", "ListApplicationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListApplicationsCommand)
|
|
20
|
-
.de(de_ListApplicationsCommand)
|
|
14
|
+
.sc(ListApplications)
|
|
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 { ListJobRunAttempts } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListJobRunAttemptsCommand 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("AwsToledoWebService", "ListJobRunAttempts", {})
|
|
17
13
|
.n("EMRServerlessClient", "ListJobRunAttemptsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListJobRunAttemptsCommand)
|
|
20
|
-
.de(de_ListJobRunAttemptsCommand)
|
|
14
|
+
.sc(ListJobRunAttempts)
|
|
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 { ListJobRuns } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListJobRunsCommand 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("AwsToledoWebService", "ListJobRuns", {})
|
|
17
13
|
.n("EMRServerlessClient", "ListJobRunsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListJobRunsCommand)
|
|
20
|
-
.de(de_ListJobRunsCommand)
|
|
14
|
+
.sc(ListJobRuns)
|
|
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 { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand 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("AwsToledoWebService", "ListTagsForResource", {})
|
|
17
13
|
.n("EMRServerlessClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
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 { StartApplication } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartApplicationCommand 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("AwsToledoWebService", "StartApplication", {})
|
|
17
13
|
.n("EMRServerlessClient", "StartApplicationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartApplicationCommand)
|
|
20
|
-
.de(de_StartApplicationCommand)
|
|
14
|
+
.sc(StartApplication)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +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 {
|
|
6
|
-
import { de_StartJobRunCommand, se_StartJobRunCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { StartJobRun } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class StartJobRunCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsToledoWebService", "StartJobRun", {})
|
|
18
13
|
.n("EMRServerlessClient", "StartJobRunCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_StartJobRunCommand)
|
|
21
|
-
.de(de_StartJobRunCommand)
|
|
14
|
+
.sc(StartJobRun)
|
|
22
15
|
.build() {
|
|
23
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 { StopApplication } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopApplicationCommand 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("AwsToledoWebService", "StopApplication", {})
|
|
17
13
|
.n("EMRServerlessClient", "StopApplicationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopApplicationCommand)
|
|
20
|
-
.de(de_StopApplicationCommand)
|
|
14
|
+
.sc(StopApplication)
|
|
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 { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand 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("AwsToledoWebService", "TagResource", {})
|
|
17
13
|
.n("EMRServerlessClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
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 { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand 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("AwsToledoWebService", "UntagResource", {})
|
|
17
13
|
.n("EMRServerlessClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +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 {
|
|
6
|
-
import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateApplication } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateApplicationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsToledoWebService", "UpdateApplication", {})
|
|
18
13
|
.n("EMRServerlessClient", "UpdateApplicationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateApplicationCommand)
|
|
21
|
-
.de(de_UpdateApplicationCommand)
|
|
14
|
+
.sc(UpdateApplication)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
|
|
3
2
|
export const Architecture = {
|
|
4
3
|
ARM64: "ARM64",
|
|
@@ -98,80 +97,3 @@ export const JobRunState = {
|
|
|
98
97
|
SUBMITTED: "SUBMITTED",
|
|
99
98
|
SUCCESS: "SUCCESS",
|
|
100
99
|
};
|
|
101
|
-
export const HiveFilterSensitiveLog = (obj) => ({
|
|
102
|
-
...obj,
|
|
103
|
-
...(obj.query && { query: SENSITIVE_STRING }),
|
|
104
|
-
...(obj.initQueryFile && { initQueryFile: SENSITIVE_STRING }),
|
|
105
|
-
...(obj.parameters && { parameters: SENSITIVE_STRING }),
|
|
106
|
-
});
|
|
107
|
-
export const SparkSubmitFilterSensitiveLog = (obj) => ({
|
|
108
|
-
...obj,
|
|
109
|
-
...(obj.entryPoint && { entryPoint: SENSITIVE_STRING }),
|
|
110
|
-
...(obj.entryPointArguments && { entryPointArguments: SENSITIVE_STRING }),
|
|
111
|
-
...(obj.sparkSubmitParameters && { sparkSubmitParameters: SENSITIVE_STRING }),
|
|
112
|
-
});
|
|
113
|
-
export const JobDriverFilterSensitiveLog = (obj) => {
|
|
114
|
-
if (obj.sparkSubmit !== undefined)
|
|
115
|
-
return { sparkSubmit: SparkSubmitFilterSensitiveLog(obj.sparkSubmit) };
|
|
116
|
-
if (obj.hive !== undefined)
|
|
117
|
-
return { hive: HiveFilterSensitiveLog(obj.hive) };
|
|
118
|
-
if (obj.$unknown !== undefined)
|
|
119
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
120
|
-
};
|
|
121
|
-
export const ConfigurationFilterSensitiveLog = (obj) => ({
|
|
122
|
-
...obj,
|
|
123
|
-
...(obj.properties && { properties: SENSITIVE_STRING }),
|
|
124
|
-
...(obj.configurations && {
|
|
125
|
-
configurations: obj.configurations.map((item) => ConfigurationFilterSensitiveLog(item)),
|
|
126
|
-
}),
|
|
127
|
-
});
|
|
128
|
-
export const ApplicationFilterSensitiveLog = (obj) => ({
|
|
129
|
-
...obj,
|
|
130
|
-
...(obj.runtimeConfiguration && {
|
|
131
|
-
runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
|
|
132
|
-
}),
|
|
133
|
-
});
|
|
134
|
-
export const ConfigurationOverridesFilterSensitiveLog = (obj) => ({
|
|
135
|
-
...obj,
|
|
136
|
-
...(obj.applicationConfiguration && {
|
|
137
|
-
applicationConfiguration: obj.applicationConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
|
|
138
|
-
}),
|
|
139
|
-
});
|
|
140
|
-
export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
141
|
-
...obj,
|
|
142
|
-
...(obj.runtimeConfiguration && {
|
|
143
|
-
runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
|
|
144
|
-
}),
|
|
145
|
-
});
|
|
146
|
-
export const UpdateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
147
|
-
...obj,
|
|
148
|
-
...(obj.runtimeConfiguration && {
|
|
149
|
-
runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
|
|
150
|
-
}),
|
|
151
|
-
});
|
|
152
|
-
export const GetApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
153
|
-
...obj,
|
|
154
|
-
...(obj.application && { application: ApplicationFilterSensitiveLog(obj.application) }),
|
|
155
|
-
});
|
|
156
|
-
export const JobRunFilterSensitiveLog = (obj) => ({
|
|
157
|
-
...obj,
|
|
158
|
-
...(obj.configurationOverrides && {
|
|
159
|
-
configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
|
|
160
|
-
}),
|
|
161
|
-
...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
|
|
162
|
-
});
|
|
163
|
-
export const StartJobRunRequestFilterSensitiveLog = (obj) => ({
|
|
164
|
-
...obj,
|
|
165
|
-
...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
|
|
166
|
-
...(obj.configurationOverrides && {
|
|
167
|
-
configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
|
|
168
|
-
}),
|
|
169
|
-
});
|
|
170
|
-
export const UpdateApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
171
|
-
...obj,
|
|
172
|
-
...(obj.application && { application: ApplicationFilterSensitiveLog(obj.application) }),
|
|
173
|
-
});
|
|
174
|
-
export const GetJobRunResponseFilterSensitiveLog = (obj) => ({
|
|
175
|
-
...obj,
|
|
176
|
-
...(obj.jobRun && { jobRun: JobRunFilterSensitiveLog(obj.jobRun) }),
|
|
177
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.emrserverless" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "EMR Serverless",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|