@aws-sdk/client-emr 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/EMR.js +217 -210
- package/dist-es/EMRClient.js +28 -22
- package/dist-es/commands/AddInstanceFleetCommand.js +28 -21
- package/dist-es/commands/AddInstanceGroupsCommand.js +28 -21
- package/dist-es/commands/AddJobFlowStepsCommand.js +28 -21
- package/dist-es/commands/AddTagsCommand.js +28 -21
- package/dist-es/commands/CancelStepsCommand.js +28 -21
- package/dist-es/commands/CreateSecurityConfigurationCommand.js +28 -21
- package/dist-es/commands/CreateStudioCommand.js +28 -21
- package/dist-es/commands/CreateStudioSessionMappingCommand.js +29 -22
- package/dist-es/commands/DeleteSecurityConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteStudioCommand.js +29 -22
- package/dist-es/commands/DeleteStudioSessionMappingCommand.js +29 -22
- package/dist-es/commands/DescribeClusterCommand.js +28 -21
- package/dist-es/commands/DescribeJobFlowsCommand.js +28 -21
- package/dist-es/commands/DescribeNotebookExecutionCommand.js +28 -21
- package/dist-es/commands/DescribeReleaseLabelCommand.js +28 -21
- package/dist-es/commands/DescribeSecurityConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeStepCommand.js +28 -21
- package/dist-es/commands/DescribeStudioCommand.js +28 -21
- package/dist-es/commands/GetAutoTerminationPolicyCommand.js +28 -21
- package/dist-es/commands/GetBlockPublicAccessConfigurationCommand.js +28 -21
- package/dist-es/commands/GetManagedScalingPolicyCommand.js +28 -21
- package/dist-es/commands/GetStudioSessionMappingCommand.js +28 -21
- package/dist-es/commands/ListBootstrapActionsCommand.js +28 -21
- package/dist-es/commands/ListClustersCommand.js +28 -21
- package/dist-es/commands/ListInstanceFleetsCommand.js +28 -21
- package/dist-es/commands/ListInstanceGroupsCommand.js +28 -21
- package/dist-es/commands/ListInstancesCommand.js +28 -21
- package/dist-es/commands/ListNotebookExecutionsCommand.js +28 -21
- package/dist-es/commands/ListReleaseLabelsCommand.js +28 -21
- package/dist-es/commands/ListSecurityConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListStepsCommand.js +28 -21
- package/dist-es/commands/ListStudioSessionMappingsCommand.js +28 -21
- package/dist-es/commands/ListStudiosCommand.js +28 -21
- package/dist-es/commands/ModifyClusterCommand.js +28 -21
- package/dist-es/commands/ModifyInstanceFleetCommand.js +29 -22
- package/dist-es/commands/ModifyInstanceGroupsCommand.js +29 -22
- package/dist-es/commands/PutAutoScalingPolicyCommand.js +28 -21
- package/dist-es/commands/PutAutoTerminationPolicyCommand.js +28 -21
- package/dist-es/commands/PutBlockPublicAccessConfigurationCommand.js +28 -21
- package/dist-es/commands/PutManagedScalingPolicyCommand.js +28 -21
- package/dist-es/commands/RemoveAutoScalingPolicyCommand.js +28 -21
- package/dist-es/commands/RemoveAutoTerminationPolicyCommand.js +28 -21
- package/dist-es/commands/RemoveManagedScalingPolicyCommand.js +28 -21
- package/dist-es/commands/RemoveTagsCommand.js +28 -21
- package/dist-es/commands/RunJobFlowCommand.js +28 -21
- package/dist-es/commands/SetTerminationProtectionCommand.js +29 -22
- package/dist-es/commands/SetVisibleToAllUsersCommand.js +29 -22
- package/dist-es/commands/StartNotebookExecutionCommand.js +28 -21
- package/dist-es/commands/StopNotebookExecutionCommand.js +29 -22
- package/dist-es/commands/TerminateJobFlowsCommand.js +29 -22
- package/dist-es/commands/UpdateStudioCommand.js +29 -22
- package/dist-es/commands/UpdateStudioSessionMappingCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/EMRServiceException.js +10 -5
- package/dist-es/models/models_0.js +222 -591
- package/dist-es/pagination/ListBootstrapActionsPaginator.js +67 -24
- package/dist-es/pagination/ListClustersPaginator.js +67 -24
- package/dist-es/pagination/ListInstanceFleetsPaginator.js +67 -24
- package/dist-es/pagination/ListInstanceGroupsPaginator.js +67 -24
- package/dist-es/pagination/ListInstancesPaginator.js +67 -24
- package/dist-es/pagination/ListNotebookExecutionsPaginator.js +67 -24
- package/dist-es/pagination/ListReleaseLabelsPaginator.js +68 -25
- package/dist-es/pagination/ListSecurityConfigurationsPaginator.js +67 -24
- package/dist-es/pagination/ListStepsPaginator.js +67 -24
- package/dist-es/pagination/ListStudioSessionMappingsPaginator.js +67 -24
- package/dist-es/pagination/ListStudiosPaginator.js +67 -24
- package/dist-es/protocols/Aws_json1_1.js +4088 -3396
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForClusterRunning.js +83 -63
- package/dist-es/waiters/waitForClusterTerminated.js +56 -36
- package/dist-es/waiters/waitForStepComplete.js +65 -45
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TerminateJobFlowsInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1TerminateJobFlowsCommand, serializeAws_json1_1TerminateJobFlowsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var TerminateJobFlowsCommand = (function (_super) {
|
|
7
|
+
__extends(TerminateJobFlowsCommand, _super);
|
|
8
|
+
function TerminateJobFlowsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
TerminateJobFlowsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EMRClient";
|
|
18
|
+
var commandName = "TerminateJobFlowsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: TerminateJobFlowsInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
TerminateJobFlowsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1TerminateJobFlowsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
TerminateJobFlowsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1TerminateJobFlowsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return TerminateJobFlowsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TerminateJobFlowsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateStudioInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateStudioCommand, serializeAws_json1_1UpdateStudioCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateStudioCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateStudioCommand, _super);
|
|
8
|
+
function UpdateStudioCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateStudioCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EMRClient";
|
|
18
|
+
var commandName = "UpdateStudioCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateStudioInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateStudioCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateStudioCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateStudioCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateStudioCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateStudioCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateStudioCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateStudioSessionMappingInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateStudioSessionMappingCommand, serializeAws_json1_1UpdateStudioSessionMappingCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateStudioSessionMappingCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateStudioSessionMappingCommand, _super);
|
|
8
|
+
function UpdateStudioSessionMappingCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateStudioSessionMappingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EMRClient";
|
|
18
|
+
var commandName = "UpdateStudioSessionMappingCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateStudioSessionMappingInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateStudioSessionMappingCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateStudioSessionMappingCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateStudioSessionMappingCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateStudioSessionMappingCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateStudioSessionMappingCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateStudioSessionMappingCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"ca-central-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -57,7 +58,7 @@ const regionHash = {
|
|
|
57
58
|
],
|
|
58
59
|
},
|
|
59
60
|
};
|
|
60
|
-
|
|
61
|
+
var partitionHash = {
|
|
61
62
|
aws: {
|
|
62
63
|
regions: [
|
|
63
64
|
"af-south-1",
|
|
@@ -182,9 +183,8 @@ const partitionHash = {
|
|
|
182
183
|
],
|
|
183
184
|
},
|
|
184
185
|
};
|
|
185
|
-
export
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
});
|
|
186
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
187
|
+
return __generator(this, function (_a) {
|
|
188
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "elasticmapreduce", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
189
|
+
});
|
|
190
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var EMRServiceException = (function (_super) {
|
|
4
|
+
__extends(EMRServiceException, _super);
|
|
5
|
+
function EMRServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, EMRServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return EMRServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { EMRServiceException };
|