@aws-sdk/client-emr 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 +2335 -2621
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/EMRClient.js +2 -0
- package/dist-es/commands/AddInstanceFleetCommand.js +3 -9
- package/dist-es/commands/AddInstanceGroupsCommand.js +3 -9
- package/dist-es/commands/AddJobFlowStepsCommand.js +3 -9
- package/dist-es/commands/AddTagsCommand.js +3 -9
- package/dist-es/commands/CancelStepsCommand.js +3 -9
- package/dist-es/commands/CreatePersistentAppUICommand.js +3 -9
- package/dist-es/commands/CreateSecurityConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateStudioCommand.js +3 -9
- package/dist-es/commands/CreateStudioSessionMappingCommand.js +3 -9
- package/dist-es/commands/DeleteSecurityConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteStudioCommand.js +3 -9
- package/dist-es/commands/DeleteStudioSessionMappingCommand.js +3 -9
- package/dist-es/commands/DescribeClusterCommand.js +3 -9
- package/dist-es/commands/DescribeJobFlowsCommand.js +3 -9
- package/dist-es/commands/DescribeNotebookExecutionCommand.js +3 -9
- package/dist-es/commands/DescribePersistentAppUICommand.js +3 -9
- package/dist-es/commands/DescribeReleaseLabelCommand.js +3 -9
- package/dist-es/commands/DescribeSecurityConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeStepCommand.js +3 -9
- package/dist-es/commands/DescribeStudioCommand.js +3 -9
- package/dist-es/commands/GetAutoTerminationPolicyCommand.js +3 -9
- package/dist-es/commands/GetBlockPublicAccessConfigurationCommand.js +3 -9
- package/dist-es/commands/GetClusterSessionCredentialsCommand.js +3 -10
- package/dist-es/commands/GetManagedScalingPolicyCommand.js +3 -9
- package/dist-es/commands/GetOnClusterAppUIPresignedURLCommand.js +3 -9
- package/dist-es/commands/GetPersistentAppUIPresignedURLCommand.js +3 -9
- package/dist-es/commands/GetStudioSessionMappingCommand.js +3 -9
- package/dist-es/commands/ListBootstrapActionsCommand.js +3 -9
- package/dist-es/commands/ListClustersCommand.js +3 -9
- package/dist-es/commands/ListInstanceFleetsCommand.js +3 -9
- package/dist-es/commands/ListInstanceGroupsCommand.js +3 -9
- package/dist-es/commands/ListInstancesCommand.js +3 -9
- package/dist-es/commands/ListNotebookExecutionsCommand.js +3 -9
- package/dist-es/commands/ListReleaseLabelsCommand.js +3 -9
- package/dist-es/commands/ListSecurityConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListStepsCommand.js +3 -9
- package/dist-es/commands/ListStudioSessionMappingsCommand.js +3 -9
- package/dist-es/commands/ListStudiosCommand.js +3 -9
- package/dist-es/commands/ListSupportedInstanceTypesCommand.js +3 -9
- package/dist-es/commands/ModifyClusterCommand.js +3 -9
- package/dist-es/commands/ModifyInstanceFleetCommand.js +3 -9
- package/dist-es/commands/ModifyInstanceGroupsCommand.js +3 -9
- package/dist-es/commands/PutAutoScalingPolicyCommand.js +3 -9
- package/dist-es/commands/PutAutoTerminationPolicyCommand.js +3 -9
- package/dist-es/commands/PutBlockPublicAccessConfigurationCommand.js +3 -9
- package/dist-es/commands/PutManagedScalingPolicyCommand.js +3 -9
- package/dist-es/commands/RemoveAutoScalingPolicyCommand.js +3 -9
- package/dist-es/commands/RemoveAutoTerminationPolicyCommand.js +3 -9
- package/dist-es/commands/RemoveManagedScalingPolicyCommand.js +3 -9
- package/dist-es/commands/RemoveTagsCommand.js +3 -9
- package/dist-es/commands/RunJobFlowCommand.js +3 -9
- package/dist-es/commands/SetKeepJobFlowAliveWhenNoStepsCommand.js +3 -9
- package/dist-es/commands/SetTerminationProtectionCommand.js +3 -9
- package/dist-es/commands/SetUnhealthyNodeReplacementCommand.js +3 -9
- package/dist-es/commands/SetVisibleToAllUsersCommand.js +3 -9
- package/dist-es/commands/StartNotebookExecutionCommand.js +3 -9
- package/dist-es/commands/StopNotebookExecutionCommand.js +3 -9
- package/dist-es/commands/TerminateJobFlowsCommand.js +3 -9
- package/dist-es/commands/UpdateStudioCommand.js +3 -9
- package/dist-es/commands/UpdateStudioSessionMappingCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -14
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2223 -0
- package/dist-types/EMRClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -12
- 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 +335 -0
- package/dist-types/ts3.4/EMRClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -7
- 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 +340 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -2180
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -542
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -725
|
@@ -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 { PutManagedScalingPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutManagedScalingPolicyCommand 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("ElasticMapReduce", "PutManagedScalingPolicy", {})
|
|
17
13
|
.n("EMRClient", "PutManagedScalingPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutManagedScalingPolicyCommand)
|
|
20
|
-
.de(de_PutManagedScalingPolicyCommand)
|
|
14
|
+
.sc(PutManagedScalingPolicy)
|
|
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 { RemoveAutoScalingPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveAutoScalingPolicyCommand 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("ElasticMapReduce", "RemoveAutoScalingPolicy", {})
|
|
17
13
|
.n("EMRClient", "RemoveAutoScalingPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveAutoScalingPolicyCommand)
|
|
20
|
-
.de(de_RemoveAutoScalingPolicyCommand)
|
|
14
|
+
.sc(RemoveAutoScalingPolicy)
|
|
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 { RemoveAutoTerminationPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveAutoTerminationPolicyCommand 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("ElasticMapReduce", "RemoveAutoTerminationPolicy", {})
|
|
17
13
|
.n("EMRClient", "RemoveAutoTerminationPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveAutoTerminationPolicyCommand)
|
|
20
|
-
.de(de_RemoveAutoTerminationPolicyCommand)
|
|
14
|
+
.sc(RemoveAutoTerminationPolicy)
|
|
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 { RemoveManagedScalingPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveManagedScalingPolicyCommand 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("ElasticMapReduce", "RemoveManagedScalingPolicy", {})
|
|
17
13
|
.n("EMRClient", "RemoveManagedScalingPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveManagedScalingPolicyCommand)
|
|
20
|
-
.de(de_RemoveManagedScalingPolicyCommand)
|
|
14
|
+
.sc(RemoveManagedScalingPolicy)
|
|
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 { RemoveTags } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveTagsCommand 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("ElasticMapReduce", "RemoveTags", {})
|
|
17
13
|
.n("EMRClient", "RemoveTagsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveTagsCommand)
|
|
20
|
-
.de(de_RemoveTagsCommand)
|
|
14
|
+
.sc(RemoveTags)
|
|
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 { RunJobFlow } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RunJobFlowCommand 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("ElasticMapReduce", "RunJobFlow", {})
|
|
17
13
|
.n("EMRClient", "RunJobFlowCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RunJobFlowCommand)
|
|
20
|
-
.de(de_RunJobFlowCommand)
|
|
14
|
+
.sc(RunJobFlow)
|
|
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 { SetKeepJobFlowAliveWhenNoSteps } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetKeepJobFlowAliveWhenNoStepsCommand 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("ElasticMapReduce", "SetKeepJobFlowAliveWhenNoSteps", {})
|
|
17
13
|
.n("EMRClient", "SetKeepJobFlowAliveWhenNoStepsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetKeepJobFlowAliveWhenNoStepsCommand)
|
|
20
|
-
.de(de_SetKeepJobFlowAliveWhenNoStepsCommand)
|
|
14
|
+
.sc(SetKeepJobFlowAliveWhenNoSteps)
|
|
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 { SetTerminationProtection } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetTerminationProtectionCommand 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("ElasticMapReduce", "SetTerminationProtection", {})
|
|
17
13
|
.n("EMRClient", "SetTerminationProtectionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetTerminationProtectionCommand)
|
|
20
|
-
.de(de_SetTerminationProtectionCommand)
|
|
14
|
+
.sc(SetTerminationProtection)
|
|
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 { SetUnhealthyNodeReplacement } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetUnhealthyNodeReplacementCommand 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("ElasticMapReduce", "SetUnhealthyNodeReplacement", {})
|
|
17
13
|
.n("EMRClient", "SetUnhealthyNodeReplacementCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetUnhealthyNodeReplacementCommand)
|
|
20
|
-
.de(de_SetUnhealthyNodeReplacementCommand)
|
|
14
|
+
.sc(SetUnhealthyNodeReplacement)
|
|
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 { SetVisibleToAllUsers } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetVisibleToAllUsersCommand 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("ElasticMapReduce", "SetVisibleToAllUsers", {})
|
|
17
13
|
.n("EMRClient", "SetVisibleToAllUsersCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetVisibleToAllUsersCommand)
|
|
20
|
-
.de(de_SetVisibleToAllUsersCommand)
|
|
14
|
+
.sc(SetVisibleToAllUsers)
|
|
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 { StartNotebookExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartNotebookExecutionCommand 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("ElasticMapReduce", "StartNotebookExecution", {})
|
|
17
13
|
.n("EMRClient", "StartNotebookExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartNotebookExecutionCommand)
|
|
20
|
-
.de(de_StartNotebookExecutionCommand)
|
|
14
|
+
.sc(StartNotebookExecution)
|
|
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 { StopNotebookExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopNotebookExecutionCommand 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("ElasticMapReduce", "StopNotebookExecution", {})
|
|
17
13
|
.n("EMRClient", "StopNotebookExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopNotebookExecutionCommand)
|
|
20
|
-
.de(de_StopNotebookExecutionCommand)
|
|
14
|
+
.sc(StopNotebookExecution)
|
|
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 { TerminateJobFlows } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TerminateJobFlowsCommand 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("ElasticMapReduce", "TerminateJobFlows", {})
|
|
17
13
|
.n("EMRClient", "TerminateJobFlowsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TerminateJobFlowsCommand)
|
|
20
|
-
.de(de_TerminateJobFlowsCommand)
|
|
14
|
+
.sc(TerminateJobFlows)
|
|
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 { UpdateStudio } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateStudioCommand 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("ElasticMapReduce", "UpdateStudio", {})
|
|
17
13
|
.n("EMRClient", "UpdateStudioCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateStudioCommand)
|
|
20
|
-
.de(de_UpdateStudioCommand)
|
|
14
|
+
.sc(UpdateStudio)
|
|
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 { UpdateStudioSessionMapping } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateStudioSessionMappingCommand 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("ElasticMapReduce", "UpdateStudioSessionMapping", {})
|
|
17
13
|
.n("EMRClient", "UpdateStudioSessionMappingCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateStudioSessionMappingCommand)
|
|
20
|
-
.de(de_UpdateStudioSessionMappingCommand)
|
|
14
|
+
.sc(UpdateStudioSessionMapping)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { EMRServiceException as __BaseException } from "./EMRServiceException";
|
|
3
2
|
export const ActionOnFailure = {
|
|
4
3
|
CANCEL_AND_WAIT: "CANCEL_AND_WAIT",
|
|
@@ -343,16 +342,3 @@ export const ReconfigurationType = {
|
|
|
343
342
|
MERGE: "MERGE",
|
|
344
343
|
OVERWRITE: "OVERWRITE",
|
|
345
344
|
};
|
|
346
|
-
export const UsernamePasswordFilterSensitiveLog = (obj) => ({
|
|
347
|
-
...obj,
|
|
348
|
-
});
|
|
349
|
-
export const CredentialsFilterSensitiveLog = (obj) => {
|
|
350
|
-
if (obj.UsernamePassword !== undefined)
|
|
351
|
-
return { UsernamePassword: SENSITIVE_STRING };
|
|
352
|
-
if (obj.$unknown !== undefined)
|
|
353
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
354
|
-
};
|
|
355
|
-
export const GetClusterSessionCredentialsOutputFilterSensitiveLog = (obj) => ({
|
|
356
|
-
...obj,
|
|
357
|
-
...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
|
|
358
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } 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,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.emr",
|
|
29
|
+
serviceTarget: "ElasticMapReduce",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "EMR",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|