@aws-sdk/client-emr 3.1045.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +164 -166
- package/dist-cjs/models/EMRServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/EMR.js +1 -1
- package/dist-es/EMRClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AddInstanceFleetCommand.js +2 -2
- package/dist-es/commands/AddInstanceGroupsCommand.js +2 -2
- package/dist-es/commands/AddJobFlowStepsCommand.js +2 -2
- package/dist-es/commands/AddTagsCommand.js +2 -2
- package/dist-es/commands/CancelStepsCommand.js +2 -2
- package/dist-es/commands/CreatePersistentAppUICommand.js +2 -2
- package/dist-es/commands/CreateSecurityConfigurationCommand.js +2 -2
- package/dist-es/commands/CreateStudioCommand.js +2 -2
- package/dist-es/commands/CreateStudioSessionMappingCommand.js +2 -2
- package/dist-es/commands/DeleteSecurityConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteStudioCommand.js +2 -2
- package/dist-es/commands/DeleteStudioSessionMappingCommand.js +2 -2
- package/dist-es/commands/DescribeClusterCommand.js +2 -2
- package/dist-es/commands/DescribeJobFlowsCommand.js +2 -2
- package/dist-es/commands/DescribeNotebookExecutionCommand.js +2 -2
- package/dist-es/commands/DescribePersistentAppUICommand.js +2 -2
- package/dist-es/commands/DescribeReleaseLabelCommand.js +2 -2
- package/dist-es/commands/DescribeSecurityConfigurationCommand.js +2 -2
- package/dist-es/commands/DescribeStepCommand.js +2 -2
- package/dist-es/commands/DescribeStudioCommand.js +2 -2
- package/dist-es/commands/GetAutoTerminationPolicyCommand.js +2 -2
- package/dist-es/commands/GetBlockPublicAccessConfigurationCommand.js +2 -2
- package/dist-es/commands/GetClusterSessionCredentialsCommand.js +2 -2
- package/dist-es/commands/GetManagedScalingPolicyCommand.js +2 -2
- package/dist-es/commands/GetOnClusterAppUIPresignedURLCommand.js +2 -2
- package/dist-es/commands/GetPersistentAppUIPresignedURLCommand.js +2 -2
- package/dist-es/commands/GetStudioSessionMappingCommand.js +2 -2
- package/dist-es/commands/ListBootstrapActionsCommand.js +2 -2
- package/dist-es/commands/ListClustersCommand.js +2 -2
- package/dist-es/commands/ListInstanceFleetsCommand.js +2 -2
- package/dist-es/commands/ListInstanceGroupsCommand.js +2 -2
- package/dist-es/commands/ListInstancesCommand.js +2 -2
- package/dist-es/commands/ListNotebookExecutionsCommand.js +2 -2
- package/dist-es/commands/ListReleaseLabelsCommand.js +2 -2
- package/dist-es/commands/ListSecurityConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListStepsCommand.js +2 -2
- package/dist-es/commands/ListStudioSessionMappingsCommand.js +2 -2
- package/dist-es/commands/ListStudiosCommand.js +2 -2
- package/dist-es/commands/ListSupportedInstanceTypesCommand.js +2 -2
- package/dist-es/commands/ModifyClusterCommand.js +2 -2
- package/dist-es/commands/ModifyInstanceFleetCommand.js +2 -2
- package/dist-es/commands/ModifyInstanceGroupsCommand.js +2 -2
- package/dist-es/commands/PutAutoScalingPolicyCommand.js +2 -2
- package/dist-es/commands/PutAutoTerminationPolicyCommand.js +2 -2
- package/dist-es/commands/PutBlockPublicAccessConfigurationCommand.js +2 -2
- package/dist-es/commands/PutManagedScalingPolicyCommand.js +2 -2
- package/dist-es/commands/RemoveAutoScalingPolicyCommand.js +2 -2
- package/dist-es/commands/RemoveAutoTerminationPolicyCommand.js +2 -2
- package/dist-es/commands/RemoveManagedScalingPolicyCommand.js +2 -2
- package/dist-es/commands/RemoveTagsCommand.js +2 -2
- package/dist-es/commands/RunJobFlowCommand.js +2 -2
- package/dist-es/commands/SetKeepJobFlowAliveWhenNoStepsCommand.js +2 -2
- package/dist-es/commands/SetTerminationProtectionCommand.js +2 -2
- package/dist-es/commands/SetUnhealthyNodeReplacementCommand.js +2 -2
- package/dist-es/commands/SetVisibleToAllUsersCommand.js +2 -2
- package/dist-es/commands/StartNotebookExecutionCommand.js +2 -2
- package/dist-es/commands/StopNotebookExecutionCommand.js +2 -2
- package/dist-es/commands/TerminateJobFlowsCommand.js +2 -2
- package/dist-es/commands/UpdateStudioCommand.js +2 -2
- package/dist-es/commands/UpdateStudioSessionMappingCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/EMRServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/waiters/waitForClusterRunning.js +1 -1
- package/dist-es/waiters/waitForClusterTerminated.js +1 -1
- package/dist-es/waiters/waitForStepComplete.js +1 -1
- package/dist-types/EMR.d.ts +1 -1
- package/dist-types/EMRClient.d.ts +5 -5
- package/dist-types/commands/AddInstanceFleetCommand.d.ts +6 -4
- package/dist-types/commands/AddInstanceGroupsCommand.d.ts +6 -4
- package/dist-types/commands/AddJobFlowStepsCommand.d.ts +6 -4
- package/dist-types/commands/AddTagsCommand.d.ts +6 -4
- package/dist-types/commands/CancelStepsCommand.d.ts +6 -4
- package/dist-types/commands/CreatePersistentAppUICommand.d.ts +6 -4
- package/dist-types/commands/CreateSecurityConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/CreateStudioCommand.d.ts +6 -4
- package/dist-types/commands/CreateStudioSessionMappingCommand.d.ts +6 -4
- package/dist-types/commands/DeleteSecurityConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteStudioCommand.d.ts +6 -4
- package/dist-types/commands/DeleteStudioSessionMappingCommand.d.ts +6 -4
- package/dist-types/commands/DescribeClusterCommand.d.ts +6 -4
- package/dist-types/commands/DescribeJobFlowsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeNotebookExecutionCommand.d.ts +6 -4
- package/dist-types/commands/DescribePersistentAppUICommand.d.ts +6 -4
- package/dist-types/commands/DescribeReleaseLabelCommand.d.ts +6 -4
- package/dist-types/commands/DescribeSecurityConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DescribeStepCommand.d.ts +6 -4
- package/dist-types/commands/DescribeStudioCommand.d.ts +6 -4
- package/dist-types/commands/GetAutoTerminationPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetBlockPublicAccessConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetClusterSessionCredentialsCommand.d.ts +6 -4
- package/dist-types/commands/GetManagedScalingPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetOnClusterAppUIPresignedURLCommand.d.ts +6 -4
- package/dist-types/commands/GetPersistentAppUIPresignedURLCommand.d.ts +6 -4
- package/dist-types/commands/GetStudioSessionMappingCommand.d.ts +6 -4
- package/dist-types/commands/ListBootstrapActionsCommand.d.ts +6 -4
- package/dist-types/commands/ListClustersCommand.d.ts +6 -4
- package/dist-types/commands/ListInstanceFleetsCommand.d.ts +6 -4
- package/dist-types/commands/ListInstanceGroupsCommand.d.ts +6 -4
- package/dist-types/commands/ListInstancesCommand.d.ts +6 -4
- package/dist-types/commands/ListNotebookExecutionsCommand.d.ts +6 -4
- package/dist-types/commands/ListReleaseLabelsCommand.d.ts +6 -4
- package/dist-types/commands/ListSecurityConfigurationsCommand.d.ts +6 -4
- package/dist-types/commands/ListStepsCommand.d.ts +6 -4
- package/dist-types/commands/ListStudioSessionMappingsCommand.d.ts +6 -4
- package/dist-types/commands/ListStudiosCommand.d.ts +6 -4
- package/dist-types/commands/ListSupportedInstanceTypesCommand.d.ts +6 -4
- package/dist-types/commands/ModifyClusterCommand.d.ts +6 -4
- package/dist-types/commands/ModifyInstanceFleetCommand.d.ts +6 -4
- package/dist-types/commands/ModifyInstanceGroupsCommand.d.ts +6 -4
- package/dist-types/commands/PutAutoScalingPolicyCommand.d.ts +6 -4
- package/dist-types/commands/PutAutoTerminationPolicyCommand.d.ts +6 -4
- package/dist-types/commands/PutBlockPublicAccessConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutManagedScalingPolicyCommand.d.ts +6 -4
- package/dist-types/commands/RemoveAutoScalingPolicyCommand.d.ts +6 -4
- package/dist-types/commands/RemoveAutoTerminationPolicyCommand.d.ts +6 -4
- package/dist-types/commands/RemoveManagedScalingPolicyCommand.d.ts +6 -4
- package/dist-types/commands/RemoveTagsCommand.d.ts +6 -4
- package/dist-types/commands/RunJobFlowCommand.d.ts +6 -4
- package/dist-types/commands/SetKeepJobFlowAliveWhenNoStepsCommand.d.ts +6 -4
- package/dist-types/commands/SetTerminationProtectionCommand.d.ts +6 -4
- package/dist-types/commands/SetUnhealthyNodeReplacementCommand.d.ts +6 -4
- package/dist-types/commands/SetVisibleToAllUsersCommand.d.ts +6 -4
- package/dist-types/commands/StartNotebookExecutionCommand.d.ts +6 -4
- package/dist-types/commands/StopNotebookExecutionCommand.d.ts +6 -4
- package/dist-types/commands/TerminateJobFlowsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateStudioCommand.d.ts +6 -4
- package/dist-types/commands/UpdateStudioSessionMappingCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/EMRServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/EMR.d.ts +1 -1
- package/dist-types/ts3.4/EMRClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AddInstanceFleetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AddInstanceGroupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AddJobFlowStepsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CancelStepsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePersistentAppUICommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateSecurityConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateStudioCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateStudioSessionMappingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteSecurityConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteStudioCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteStudioSessionMappingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeJobFlowsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeNotebookExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribePersistentAppUICommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeReleaseLabelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeSecurityConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeStepCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeStudioCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAutoTerminationPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBlockPublicAccessConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetClusterSessionCredentialsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetManagedScalingPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetOnClusterAppUIPresignedURLCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPersistentAppUIPresignedURLCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetStudioSessionMappingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBootstrapActionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListInstanceFleetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListInstanceGroupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListNotebookExecutionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListReleaseLabelsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSecurityConfigurationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListStepsCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/ListStudioSessionMappingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListStudiosCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSupportedInstanceTypesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyInstanceFleetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyInstanceGroupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutAutoScalingPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutAutoTerminationPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBlockPublicAccessConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutManagedScalingPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveAutoScalingPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveAutoTerminationPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveManagedScalingPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RunJobFlowCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetKeepJobFlowAliveWhenNoStepsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetTerminationProtectionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetUnhealthyNodeReplacementCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetVisibleToAllUsersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartNotebookExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopNotebookExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TerminateJobFlowsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateStudioCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateStudioSessionMappingCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/EMRServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/waiters/waitForClusterRunning.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForClusterTerminated.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForStepComplete.d.ts +1 -1
- package/dist-types/waiters/waitForClusterRunning.d.ts +1 -1
- package/dist-types/waiters/waitForClusterTerminated.d.ts +1 -1
- package/dist-types/waiters/waitForStepComplete.d.ts +1 -1
- package/package.json +13 -35
package/dist-cjs/index.js
CHANGED
|
@@ -4,19 +4,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
|
4
4
|
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
5
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
-
var configResolver = require('@smithy/config-resolver');
|
|
8
7
|
var core = require('@smithy/core');
|
|
8
|
+
var client = require('@smithy/core/client');
|
|
9
|
+
var config = require('@smithy/core/config');
|
|
10
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
11
|
+
var protocols = require('@smithy/core/protocols');
|
|
12
|
+
var retry = require('@smithy/core/retry');
|
|
9
13
|
var schema = require('@smithy/core/schema');
|
|
10
|
-
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
11
|
-
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
12
|
-
var middlewareRetry = require('@smithy/middleware-retry');
|
|
13
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
14
14
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
18
17
|
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
-
var utilWaiter = require('@smithy/util-waiter');
|
|
20
18
|
var errors = require('./models/errors');
|
|
21
19
|
var EMRServiceException = require('./models/EMRServiceException');
|
|
22
20
|
|
|
@@ -74,12 +72,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
74
72
|
};
|
|
75
73
|
|
|
76
74
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
77
|
-
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig),
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
78
76
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
79
|
-
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
80
78
|
};
|
|
81
79
|
|
|
82
|
-
class EMRClient extends
|
|
80
|
+
class EMRClient extends client.Client {
|
|
83
81
|
config;
|
|
84
82
|
constructor(...[configuration]) {
|
|
85
83
|
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
@@ -87,17 +85,17 @@ class EMRClient extends smithyClient.Client {
|
|
|
87
85
|
this.initConfig = _config_0;
|
|
88
86
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
89
87
|
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
90
|
-
const _config_3 =
|
|
91
|
-
const _config_4 =
|
|
88
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
92
90
|
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
93
|
-
const _config_6 =
|
|
91
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
94
92
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
95
93
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
96
94
|
this.config = _config_8;
|
|
97
95
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
98
96
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
this.middlewareStack.use(
|
|
97
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
101
99
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
102
100
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
103
101
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
@@ -114,11 +112,11 @@ class EMRClient extends smithyClient.Client {
|
|
|
114
112
|
}
|
|
115
113
|
}
|
|
116
114
|
|
|
117
|
-
class AddInstanceFleetCommand extends
|
|
115
|
+
class AddInstanceFleetCommand extends client.Command
|
|
118
116
|
.classBuilder()
|
|
119
117
|
.ep(commonParams)
|
|
120
118
|
.m(function (Command, cs, config, o) {
|
|
121
|
-
return [
|
|
119
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
122
120
|
})
|
|
123
121
|
.s("ElasticMapReduce", "AddInstanceFleet", {})
|
|
124
122
|
.n("EMRClient", "AddInstanceFleetCommand")
|
|
@@ -126,11 +124,11 @@ class AddInstanceFleetCommand extends smithyClient.Command
|
|
|
126
124
|
.build() {
|
|
127
125
|
}
|
|
128
126
|
|
|
129
|
-
class AddInstanceGroupsCommand extends
|
|
127
|
+
class AddInstanceGroupsCommand extends client.Command
|
|
130
128
|
.classBuilder()
|
|
131
129
|
.ep(commonParams)
|
|
132
130
|
.m(function (Command, cs, config, o) {
|
|
133
|
-
return [
|
|
131
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
134
132
|
})
|
|
135
133
|
.s("ElasticMapReduce", "AddInstanceGroups", {})
|
|
136
134
|
.n("EMRClient", "AddInstanceGroupsCommand")
|
|
@@ -138,11 +136,11 @@ class AddInstanceGroupsCommand extends smithyClient.Command
|
|
|
138
136
|
.build() {
|
|
139
137
|
}
|
|
140
138
|
|
|
141
|
-
class AddJobFlowStepsCommand extends
|
|
139
|
+
class AddJobFlowStepsCommand extends client.Command
|
|
142
140
|
.classBuilder()
|
|
143
141
|
.ep(commonParams)
|
|
144
142
|
.m(function (Command, cs, config, o) {
|
|
145
|
-
return [
|
|
143
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
146
144
|
})
|
|
147
145
|
.s("ElasticMapReduce", "AddJobFlowSteps", {})
|
|
148
146
|
.n("EMRClient", "AddJobFlowStepsCommand")
|
|
@@ -150,11 +148,11 @@ class AddJobFlowStepsCommand extends smithyClient.Command
|
|
|
150
148
|
.build() {
|
|
151
149
|
}
|
|
152
150
|
|
|
153
|
-
class AddTagsCommand extends
|
|
151
|
+
class AddTagsCommand extends client.Command
|
|
154
152
|
.classBuilder()
|
|
155
153
|
.ep(commonParams)
|
|
156
154
|
.m(function (Command, cs, config, o) {
|
|
157
|
-
return [
|
|
155
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
158
156
|
})
|
|
159
157
|
.s("ElasticMapReduce", "AddTags", {})
|
|
160
158
|
.n("EMRClient", "AddTagsCommand")
|
|
@@ -162,11 +160,11 @@ class AddTagsCommand extends smithyClient.Command
|
|
|
162
160
|
.build() {
|
|
163
161
|
}
|
|
164
162
|
|
|
165
|
-
class CancelStepsCommand extends
|
|
163
|
+
class CancelStepsCommand extends client.Command
|
|
166
164
|
.classBuilder()
|
|
167
165
|
.ep(commonParams)
|
|
168
166
|
.m(function (Command, cs, config, o) {
|
|
169
|
-
return [
|
|
167
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
170
168
|
})
|
|
171
169
|
.s("ElasticMapReduce", "CancelSteps", {})
|
|
172
170
|
.n("EMRClient", "CancelStepsCommand")
|
|
@@ -174,11 +172,11 @@ class CancelStepsCommand extends smithyClient.Command
|
|
|
174
172
|
.build() {
|
|
175
173
|
}
|
|
176
174
|
|
|
177
|
-
class CreatePersistentAppUICommand extends
|
|
175
|
+
class CreatePersistentAppUICommand extends client.Command
|
|
178
176
|
.classBuilder()
|
|
179
177
|
.ep(commonParams)
|
|
180
178
|
.m(function (Command, cs, config, o) {
|
|
181
|
-
return [
|
|
179
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
182
180
|
})
|
|
183
181
|
.s("ElasticMapReduce", "CreatePersistentAppUI", {})
|
|
184
182
|
.n("EMRClient", "CreatePersistentAppUICommand")
|
|
@@ -186,11 +184,11 @@ class CreatePersistentAppUICommand extends smithyClient.Command
|
|
|
186
184
|
.build() {
|
|
187
185
|
}
|
|
188
186
|
|
|
189
|
-
class CreateSecurityConfigurationCommand extends
|
|
187
|
+
class CreateSecurityConfigurationCommand extends client.Command
|
|
190
188
|
.classBuilder()
|
|
191
189
|
.ep(commonParams)
|
|
192
190
|
.m(function (Command, cs, config, o) {
|
|
193
|
-
return [
|
|
191
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
194
192
|
})
|
|
195
193
|
.s("ElasticMapReduce", "CreateSecurityConfiguration", {})
|
|
196
194
|
.n("EMRClient", "CreateSecurityConfigurationCommand")
|
|
@@ -198,11 +196,11 @@ class CreateSecurityConfigurationCommand extends smithyClient.Command
|
|
|
198
196
|
.build() {
|
|
199
197
|
}
|
|
200
198
|
|
|
201
|
-
class CreateStudioCommand extends
|
|
199
|
+
class CreateStudioCommand extends client.Command
|
|
202
200
|
.classBuilder()
|
|
203
201
|
.ep(commonParams)
|
|
204
202
|
.m(function (Command, cs, config, o) {
|
|
205
|
-
return [
|
|
203
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
206
204
|
})
|
|
207
205
|
.s("ElasticMapReduce", "CreateStudio", {})
|
|
208
206
|
.n("EMRClient", "CreateStudioCommand")
|
|
@@ -210,11 +208,11 @@ class CreateStudioCommand extends smithyClient.Command
|
|
|
210
208
|
.build() {
|
|
211
209
|
}
|
|
212
210
|
|
|
213
|
-
class CreateStudioSessionMappingCommand extends
|
|
211
|
+
class CreateStudioSessionMappingCommand extends client.Command
|
|
214
212
|
.classBuilder()
|
|
215
213
|
.ep(commonParams)
|
|
216
214
|
.m(function (Command, cs, config, o) {
|
|
217
|
-
return [
|
|
215
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
218
216
|
})
|
|
219
217
|
.s("ElasticMapReduce", "CreateStudioSessionMapping", {})
|
|
220
218
|
.n("EMRClient", "CreateStudioSessionMappingCommand")
|
|
@@ -222,11 +220,11 @@ class CreateStudioSessionMappingCommand extends smithyClient.Command
|
|
|
222
220
|
.build() {
|
|
223
221
|
}
|
|
224
222
|
|
|
225
|
-
class DeleteSecurityConfigurationCommand extends
|
|
223
|
+
class DeleteSecurityConfigurationCommand extends client.Command
|
|
226
224
|
.classBuilder()
|
|
227
225
|
.ep(commonParams)
|
|
228
226
|
.m(function (Command, cs, config, o) {
|
|
229
|
-
return [
|
|
227
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
230
228
|
})
|
|
231
229
|
.s("ElasticMapReduce", "DeleteSecurityConfiguration", {})
|
|
232
230
|
.n("EMRClient", "DeleteSecurityConfigurationCommand")
|
|
@@ -234,11 +232,11 @@ class DeleteSecurityConfigurationCommand extends smithyClient.Command
|
|
|
234
232
|
.build() {
|
|
235
233
|
}
|
|
236
234
|
|
|
237
|
-
class DeleteStudioCommand extends
|
|
235
|
+
class DeleteStudioCommand extends client.Command
|
|
238
236
|
.classBuilder()
|
|
239
237
|
.ep(commonParams)
|
|
240
238
|
.m(function (Command, cs, config, o) {
|
|
241
|
-
return [
|
|
239
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
242
240
|
})
|
|
243
241
|
.s("ElasticMapReduce", "DeleteStudio", {})
|
|
244
242
|
.n("EMRClient", "DeleteStudioCommand")
|
|
@@ -246,11 +244,11 @@ class DeleteStudioCommand extends smithyClient.Command
|
|
|
246
244
|
.build() {
|
|
247
245
|
}
|
|
248
246
|
|
|
249
|
-
class DeleteStudioSessionMappingCommand extends
|
|
247
|
+
class DeleteStudioSessionMappingCommand extends client.Command
|
|
250
248
|
.classBuilder()
|
|
251
249
|
.ep(commonParams)
|
|
252
250
|
.m(function (Command, cs, config, o) {
|
|
253
|
-
return [
|
|
251
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
254
252
|
})
|
|
255
253
|
.s("ElasticMapReduce", "DeleteStudioSessionMapping", {})
|
|
256
254
|
.n("EMRClient", "DeleteStudioSessionMappingCommand")
|
|
@@ -258,11 +256,11 @@ class DeleteStudioSessionMappingCommand extends smithyClient.Command
|
|
|
258
256
|
.build() {
|
|
259
257
|
}
|
|
260
258
|
|
|
261
|
-
class DescribeClusterCommand extends
|
|
259
|
+
class DescribeClusterCommand extends client.Command
|
|
262
260
|
.classBuilder()
|
|
263
261
|
.ep(commonParams)
|
|
264
262
|
.m(function (Command, cs, config, o) {
|
|
265
|
-
return [
|
|
263
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
266
264
|
})
|
|
267
265
|
.s("ElasticMapReduce", "DescribeCluster", {})
|
|
268
266
|
.n("EMRClient", "DescribeClusterCommand")
|
|
@@ -270,11 +268,11 @@ class DescribeClusterCommand extends smithyClient.Command
|
|
|
270
268
|
.build() {
|
|
271
269
|
}
|
|
272
270
|
|
|
273
|
-
class DescribeJobFlowsCommand extends
|
|
271
|
+
class DescribeJobFlowsCommand extends client.Command
|
|
274
272
|
.classBuilder()
|
|
275
273
|
.ep(commonParams)
|
|
276
274
|
.m(function (Command, cs, config, o) {
|
|
277
|
-
return [
|
|
275
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
278
276
|
})
|
|
279
277
|
.s("ElasticMapReduce", "DescribeJobFlows", {})
|
|
280
278
|
.n("EMRClient", "DescribeJobFlowsCommand")
|
|
@@ -282,11 +280,11 @@ class DescribeJobFlowsCommand extends smithyClient.Command
|
|
|
282
280
|
.build() {
|
|
283
281
|
}
|
|
284
282
|
|
|
285
|
-
class DescribeNotebookExecutionCommand extends
|
|
283
|
+
class DescribeNotebookExecutionCommand extends client.Command
|
|
286
284
|
.classBuilder()
|
|
287
285
|
.ep(commonParams)
|
|
288
286
|
.m(function (Command, cs, config, o) {
|
|
289
|
-
return [
|
|
287
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
290
288
|
})
|
|
291
289
|
.s("ElasticMapReduce", "DescribeNotebookExecution", {})
|
|
292
290
|
.n("EMRClient", "DescribeNotebookExecutionCommand")
|
|
@@ -294,11 +292,11 @@ class DescribeNotebookExecutionCommand extends smithyClient.Command
|
|
|
294
292
|
.build() {
|
|
295
293
|
}
|
|
296
294
|
|
|
297
|
-
class DescribePersistentAppUICommand extends
|
|
295
|
+
class DescribePersistentAppUICommand extends client.Command
|
|
298
296
|
.classBuilder()
|
|
299
297
|
.ep(commonParams)
|
|
300
298
|
.m(function (Command, cs, config, o) {
|
|
301
|
-
return [
|
|
299
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
302
300
|
})
|
|
303
301
|
.s("ElasticMapReduce", "DescribePersistentAppUI", {})
|
|
304
302
|
.n("EMRClient", "DescribePersistentAppUICommand")
|
|
@@ -306,11 +304,11 @@ class DescribePersistentAppUICommand extends smithyClient.Command
|
|
|
306
304
|
.build() {
|
|
307
305
|
}
|
|
308
306
|
|
|
309
|
-
class DescribeReleaseLabelCommand extends
|
|
307
|
+
class DescribeReleaseLabelCommand extends client.Command
|
|
310
308
|
.classBuilder()
|
|
311
309
|
.ep(commonParams)
|
|
312
310
|
.m(function (Command, cs, config, o) {
|
|
313
|
-
return [
|
|
311
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
314
312
|
})
|
|
315
313
|
.s("ElasticMapReduce", "DescribeReleaseLabel", {})
|
|
316
314
|
.n("EMRClient", "DescribeReleaseLabelCommand")
|
|
@@ -318,11 +316,11 @@ class DescribeReleaseLabelCommand extends smithyClient.Command
|
|
|
318
316
|
.build() {
|
|
319
317
|
}
|
|
320
318
|
|
|
321
|
-
class DescribeSecurityConfigurationCommand extends
|
|
319
|
+
class DescribeSecurityConfigurationCommand extends client.Command
|
|
322
320
|
.classBuilder()
|
|
323
321
|
.ep(commonParams)
|
|
324
322
|
.m(function (Command, cs, config, o) {
|
|
325
|
-
return [
|
|
323
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
326
324
|
})
|
|
327
325
|
.s("ElasticMapReduce", "DescribeSecurityConfiguration", {})
|
|
328
326
|
.n("EMRClient", "DescribeSecurityConfigurationCommand")
|
|
@@ -330,11 +328,11 @@ class DescribeSecurityConfigurationCommand extends smithyClient.Command
|
|
|
330
328
|
.build() {
|
|
331
329
|
}
|
|
332
330
|
|
|
333
|
-
class DescribeStepCommand extends
|
|
331
|
+
class DescribeStepCommand extends client.Command
|
|
334
332
|
.classBuilder()
|
|
335
333
|
.ep(commonParams)
|
|
336
334
|
.m(function (Command, cs, config, o) {
|
|
337
|
-
return [
|
|
335
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
338
336
|
})
|
|
339
337
|
.s("ElasticMapReduce", "DescribeStep", {})
|
|
340
338
|
.n("EMRClient", "DescribeStepCommand")
|
|
@@ -342,11 +340,11 @@ class DescribeStepCommand extends smithyClient.Command
|
|
|
342
340
|
.build() {
|
|
343
341
|
}
|
|
344
342
|
|
|
345
|
-
class DescribeStudioCommand extends
|
|
343
|
+
class DescribeStudioCommand extends client.Command
|
|
346
344
|
.classBuilder()
|
|
347
345
|
.ep(commonParams)
|
|
348
346
|
.m(function (Command, cs, config, o) {
|
|
349
|
-
return [
|
|
347
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
350
348
|
})
|
|
351
349
|
.s("ElasticMapReduce", "DescribeStudio", {})
|
|
352
350
|
.n("EMRClient", "DescribeStudioCommand")
|
|
@@ -354,11 +352,11 @@ class DescribeStudioCommand extends smithyClient.Command
|
|
|
354
352
|
.build() {
|
|
355
353
|
}
|
|
356
354
|
|
|
357
|
-
class GetAutoTerminationPolicyCommand extends
|
|
355
|
+
class GetAutoTerminationPolicyCommand extends client.Command
|
|
358
356
|
.classBuilder()
|
|
359
357
|
.ep(commonParams)
|
|
360
358
|
.m(function (Command, cs, config, o) {
|
|
361
|
-
return [
|
|
359
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
362
360
|
})
|
|
363
361
|
.s("ElasticMapReduce", "GetAutoTerminationPolicy", {})
|
|
364
362
|
.n("EMRClient", "GetAutoTerminationPolicyCommand")
|
|
@@ -366,11 +364,11 @@ class GetAutoTerminationPolicyCommand extends smithyClient.Command
|
|
|
366
364
|
.build() {
|
|
367
365
|
}
|
|
368
366
|
|
|
369
|
-
class GetBlockPublicAccessConfigurationCommand extends
|
|
367
|
+
class GetBlockPublicAccessConfigurationCommand extends client.Command
|
|
370
368
|
.classBuilder()
|
|
371
369
|
.ep(commonParams)
|
|
372
370
|
.m(function (Command, cs, config, o) {
|
|
373
|
-
return [
|
|
371
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
374
372
|
})
|
|
375
373
|
.s("ElasticMapReduce", "GetBlockPublicAccessConfiguration", {})
|
|
376
374
|
.n("EMRClient", "GetBlockPublicAccessConfigurationCommand")
|
|
@@ -378,11 +376,11 @@ class GetBlockPublicAccessConfigurationCommand extends smithyClient.Command
|
|
|
378
376
|
.build() {
|
|
379
377
|
}
|
|
380
378
|
|
|
381
|
-
class GetClusterSessionCredentialsCommand extends
|
|
379
|
+
class GetClusterSessionCredentialsCommand extends client.Command
|
|
382
380
|
.classBuilder()
|
|
383
381
|
.ep(commonParams)
|
|
384
382
|
.m(function (Command, cs, config, o) {
|
|
385
|
-
return [
|
|
383
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
386
384
|
})
|
|
387
385
|
.s("ElasticMapReduce", "GetClusterSessionCredentials", {})
|
|
388
386
|
.n("EMRClient", "GetClusterSessionCredentialsCommand")
|
|
@@ -390,11 +388,11 @@ class GetClusterSessionCredentialsCommand extends smithyClient.Command
|
|
|
390
388
|
.build() {
|
|
391
389
|
}
|
|
392
390
|
|
|
393
|
-
class GetManagedScalingPolicyCommand extends
|
|
391
|
+
class GetManagedScalingPolicyCommand extends client.Command
|
|
394
392
|
.classBuilder()
|
|
395
393
|
.ep(commonParams)
|
|
396
394
|
.m(function (Command, cs, config, o) {
|
|
397
|
-
return [
|
|
395
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
398
396
|
})
|
|
399
397
|
.s("ElasticMapReduce", "GetManagedScalingPolicy", {})
|
|
400
398
|
.n("EMRClient", "GetManagedScalingPolicyCommand")
|
|
@@ -402,11 +400,11 @@ class GetManagedScalingPolicyCommand extends smithyClient.Command
|
|
|
402
400
|
.build() {
|
|
403
401
|
}
|
|
404
402
|
|
|
405
|
-
class GetOnClusterAppUIPresignedURLCommand extends
|
|
403
|
+
class GetOnClusterAppUIPresignedURLCommand extends client.Command
|
|
406
404
|
.classBuilder()
|
|
407
405
|
.ep(commonParams)
|
|
408
406
|
.m(function (Command, cs, config, o) {
|
|
409
|
-
return [
|
|
407
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
410
408
|
})
|
|
411
409
|
.s("ElasticMapReduce", "GetOnClusterAppUIPresignedURL", {})
|
|
412
410
|
.n("EMRClient", "GetOnClusterAppUIPresignedURLCommand")
|
|
@@ -414,11 +412,11 @@ class GetOnClusterAppUIPresignedURLCommand extends smithyClient.Command
|
|
|
414
412
|
.build() {
|
|
415
413
|
}
|
|
416
414
|
|
|
417
|
-
class GetPersistentAppUIPresignedURLCommand extends
|
|
415
|
+
class GetPersistentAppUIPresignedURLCommand extends client.Command
|
|
418
416
|
.classBuilder()
|
|
419
417
|
.ep(commonParams)
|
|
420
418
|
.m(function (Command, cs, config, o) {
|
|
421
|
-
return [
|
|
419
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
422
420
|
})
|
|
423
421
|
.s("ElasticMapReduce", "GetPersistentAppUIPresignedURL", {})
|
|
424
422
|
.n("EMRClient", "GetPersistentAppUIPresignedURLCommand")
|
|
@@ -426,11 +424,11 @@ class GetPersistentAppUIPresignedURLCommand extends smithyClient.Command
|
|
|
426
424
|
.build() {
|
|
427
425
|
}
|
|
428
426
|
|
|
429
|
-
class GetStudioSessionMappingCommand extends
|
|
427
|
+
class GetStudioSessionMappingCommand extends client.Command
|
|
430
428
|
.classBuilder()
|
|
431
429
|
.ep(commonParams)
|
|
432
430
|
.m(function (Command, cs, config, o) {
|
|
433
|
-
return [
|
|
431
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
434
432
|
})
|
|
435
433
|
.s("ElasticMapReduce", "GetStudioSessionMapping", {})
|
|
436
434
|
.n("EMRClient", "GetStudioSessionMappingCommand")
|
|
@@ -438,11 +436,11 @@ class GetStudioSessionMappingCommand extends smithyClient.Command
|
|
|
438
436
|
.build() {
|
|
439
437
|
}
|
|
440
438
|
|
|
441
|
-
class ListBootstrapActionsCommand extends
|
|
439
|
+
class ListBootstrapActionsCommand extends client.Command
|
|
442
440
|
.classBuilder()
|
|
443
441
|
.ep(commonParams)
|
|
444
442
|
.m(function (Command, cs, config, o) {
|
|
445
|
-
return [
|
|
443
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
446
444
|
})
|
|
447
445
|
.s("ElasticMapReduce", "ListBootstrapActions", {})
|
|
448
446
|
.n("EMRClient", "ListBootstrapActionsCommand")
|
|
@@ -450,11 +448,11 @@ class ListBootstrapActionsCommand extends smithyClient.Command
|
|
|
450
448
|
.build() {
|
|
451
449
|
}
|
|
452
450
|
|
|
453
|
-
class ListClustersCommand extends
|
|
451
|
+
class ListClustersCommand extends client.Command
|
|
454
452
|
.classBuilder()
|
|
455
453
|
.ep(commonParams)
|
|
456
454
|
.m(function (Command, cs, config, o) {
|
|
457
|
-
return [
|
|
455
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
458
456
|
})
|
|
459
457
|
.s("ElasticMapReduce", "ListClusters", {})
|
|
460
458
|
.n("EMRClient", "ListClustersCommand")
|
|
@@ -462,11 +460,11 @@ class ListClustersCommand extends smithyClient.Command
|
|
|
462
460
|
.build() {
|
|
463
461
|
}
|
|
464
462
|
|
|
465
|
-
class ListInstanceFleetsCommand extends
|
|
463
|
+
class ListInstanceFleetsCommand extends client.Command
|
|
466
464
|
.classBuilder()
|
|
467
465
|
.ep(commonParams)
|
|
468
466
|
.m(function (Command, cs, config, o) {
|
|
469
|
-
return [
|
|
467
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
470
468
|
})
|
|
471
469
|
.s("ElasticMapReduce", "ListInstanceFleets", {})
|
|
472
470
|
.n("EMRClient", "ListInstanceFleetsCommand")
|
|
@@ -474,11 +472,11 @@ class ListInstanceFleetsCommand extends smithyClient.Command
|
|
|
474
472
|
.build() {
|
|
475
473
|
}
|
|
476
474
|
|
|
477
|
-
class ListInstanceGroupsCommand extends
|
|
475
|
+
class ListInstanceGroupsCommand extends client.Command
|
|
478
476
|
.classBuilder()
|
|
479
477
|
.ep(commonParams)
|
|
480
478
|
.m(function (Command, cs, config, o) {
|
|
481
|
-
return [
|
|
479
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
482
480
|
})
|
|
483
481
|
.s("ElasticMapReduce", "ListInstanceGroups", {})
|
|
484
482
|
.n("EMRClient", "ListInstanceGroupsCommand")
|
|
@@ -486,11 +484,11 @@ class ListInstanceGroupsCommand extends smithyClient.Command
|
|
|
486
484
|
.build() {
|
|
487
485
|
}
|
|
488
486
|
|
|
489
|
-
class ListInstancesCommand extends
|
|
487
|
+
class ListInstancesCommand extends client.Command
|
|
490
488
|
.classBuilder()
|
|
491
489
|
.ep(commonParams)
|
|
492
490
|
.m(function (Command, cs, config, o) {
|
|
493
|
-
return [
|
|
491
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
494
492
|
})
|
|
495
493
|
.s("ElasticMapReduce", "ListInstances", {})
|
|
496
494
|
.n("EMRClient", "ListInstancesCommand")
|
|
@@ -498,11 +496,11 @@ class ListInstancesCommand extends smithyClient.Command
|
|
|
498
496
|
.build() {
|
|
499
497
|
}
|
|
500
498
|
|
|
501
|
-
class ListNotebookExecutionsCommand extends
|
|
499
|
+
class ListNotebookExecutionsCommand extends client.Command
|
|
502
500
|
.classBuilder()
|
|
503
501
|
.ep(commonParams)
|
|
504
502
|
.m(function (Command, cs, config, o) {
|
|
505
|
-
return [
|
|
503
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
506
504
|
})
|
|
507
505
|
.s("ElasticMapReduce", "ListNotebookExecutions", {})
|
|
508
506
|
.n("EMRClient", "ListNotebookExecutionsCommand")
|
|
@@ -510,11 +508,11 @@ class ListNotebookExecutionsCommand extends smithyClient.Command
|
|
|
510
508
|
.build() {
|
|
511
509
|
}
|
|
512
510
|
|
|
513
|
-
class ListReleaseLabelsCommand extends
|
|
511
|
+
class ListReleaseLabelsCommand extends client.Command
|
|
514
512
|
.classBuilder()
|
|
515
513
|
.ep(commonParams)
|
|
516
514
|
.m(function (Command, cs, config, o) {
|
|
517
|
-
return [
|
|
515
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
518
516
|
})
|
|
519
517
|
.s("ElasticMapReduce", "ListReleaseLabels", {})
|
|
520
518
|
.n("EMRClient", "ListReleaseLabelsCommand")
|
|
@@ -522,11 +520,11 @@ class ListReleaseLabelsCommand extends smithyClient.Command
|
|
|
522
520
|
.build() {
|
|
523
521
|
}
|
|
524
522
|
|
|
525
|
-
class ListSecurityConfigurationsCommand extends
|
|
523
|
+
class ListSecurityConfigurationsCommand extends client.Command
|
|
526
524
|
.classBuilder()
|
|
527
525
|
.ep(commonParams)
|
|
528
526
|
.m(function (Command, cs, config, o) {
|
|
529
|
-
return [
|
|
527
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
530
528
|
})
|
|
531
529
|
.s("ElasticMapReduce", "ListSecurityConfigurations", {})
|
|
532
530
|
.n("EMRClient", "ListSecurityConfigurationsCommand")
|
|
@@ -534,11 +532,11 @@ class ListSecurityConfigurationsCommand extends smithyClient.Command
|
|
|
534
532
|
.build() {
|
|
535
533
|
}
|
|
536
534
|
|
|
537
|
-
class ListStepsCommand extends
|
|
535
|
+
class ListStepsCommand extends client.Command
|
|
538
536
|
.classBuilder()
|
|
539
537
|
.ep(commonParams)
|
|
540
538
|
.m(function (Command, cs, config, o) {
|
|
541
|
-
return [
|
|
539
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
542
540
|
})
|
|
543
541
|
.s("ElasticMapReduce", "ListSteps", {})
|
|
544
542
|
.n("EMRClient", "ListStepsCommand")
|
|
@@ -546,11 +544,11 @@ class ListStepsCommand extends smithyClient.Command
|
|
|
546
544
|
.build() {
|
|
547
545
|
}
|
|
548
546
|
|
|
549
|
-
class ListStudiosCommand extends
|
|
547
|
+
class ListStudiosCommand extends client.Command
|
|
550
548
|
.classBuilder()
|
|
551
549
|
.ep(commonParams)
|
|
552
550
|
.m(function (Command, cs, config, o) {
|
|
553
|
-
return [
|
|
551
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
554
552
|
})
|
|
555
553
|
.s("ElasticMapReduce", "ListStudios", {})
|
|
556
554
|
.n("EMRClient", "ListStudiosCommand")
|
|
@@ -558,11 +556,11 @@ class ListStudiosCommand extends smithyClient.Command
|
|
|
558
556
|
.build() {
|
|
559
557
|
}
|
|
560
558
|
|
|
561
|
-
class ListStudioSessionMappingsCommand extends
|
|
559
|
+
class ListStudioSessionMappingsCommand extends client.Command
|
|
562
560
|
.classBuilder()
|
|
563
561
|
.ep(commonParams)
|
|
564
562
|
.m(function (Command, cs, config, o) {
|
|
565
|
-
return [
|
|
563
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
566
564
|
})
|
|
567
565
|
.s("ElasticMapReduce", "ListStudioSessionMappings", {})
|
|
568
566
|
.n("EMRClient", "ListStudioSessionMappingsCommand")
|
|
@@ -570,11 +568,11 @@ class ListStudioSessionMappingsCommand extends smithyClient.Command
|
|
|
570
568
|
.build() {
|
|
571
569
|
}
|
|
572
570
|
|
|
573
|
-
class ListSupportedInstanceTypesCommand extends
|
|
571
|
+
class ListSupportedInstanceTypesCommand extends client.Command
|
|
574
572
|
.classBuilder()
|
|
575
573
|
.ep(commonParams)
|
|
576
574
|
.m(function (Command, cs, config, o) {
|
|
577
|
-
return [
|
|
575
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
578
576
|
})
|
|
579
577
|
.s("ElasticMapReduce", "ListSupportedInstanceTypes", {})
|
|
580
578
|
.n("EMRClient", "ListSupportedInstanceTypesCommand")
|
|
@@ -582,11 +580,11 @@ class ListSupportedInstanceTypesCommand extends smithyClient.Command
|
|
|
582
580
|
.build() {
|
|
583
581
|
}
|
|
584
582
|
|
|
585
|
-
class ModifyClusterCommand extends
|
|
583
|
+
class ModifyClusterCommand extends client.Command
|
|
586
584
|
.classBuilder()
|
|
587
585
|
.ep(commonParams)
|
|
588
586
|
.m(function (Command, cs, config, o) {
|
|
589
|
-
return [
|
|
587
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
590
588
|
})
|
|
591
589
|
.s("ElasticMapReduce", "ModifyCluster", {})
|
|
592
590
|
.n("EMRClient", "ModifyClusterCommand")
|
|
@@ -594,11 +592,11 @@ class ModifyClusterCommand extends smithyClient.Command
|
|
|
594
592
|
.build() {
|
|
595
593
|
}
|
|
596
594
|
|
|
597
|
-
class ModifyInstanceFleetCommand extends
|
|
595
|
+
class ModifyInstanceFleetCommand extends client.Command
|
|
598
596
|
.classBuilder()
|
|
599
597
|
.ep(commonParams)
|
|
600
598
|
.m(function (Command, cs, config, o) {
|
|
601
|
-
return [
|
|
599
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
602
600
|
})
|
|
603
601
|
.s("ElasticMapReduce", "ModifyInstanceFleet", {})
|
|
604
602
|
.n("EMRClient", "ModifyInstanceFleetCommand")
|
|
@@ -606,11 +604,11 @@ class ModifyInstanceFleetCommand extends smithyClient.Command
|
|
|
606
604
|
.build() {
|
|
607
605
|
}
|
|
608
606
|
|
|
609
|
-
class ModifyInstanceGroupsCommand extends
|
|
607
|
+
class ModifyInstanceGroupsCommand extends client.Command
|
|
610
608
|
.classBuilder()
|
|
611
609
|
.ep(commonParams)
|
|
612
610
|
.m(function (Command, cs, config, o) {
|
|
613
|
-
return [
|
|
611
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
614
612
|
})
|
|
615
613
|
.s("ElasticMapReduce", "ModifyInstanceGroups", {})
|
|
616
614
|
.n("EMRClient", "ModifyInstanceGroupsCommand")
|
|
@@ -618,11 +616,11 @@ class ModifyInstanceGroupsCommand extends smithyClient.Command
|
|
|
618
616
|
.build() {
|
|
619
617
|
}
|
|
620
618
|
|
|
621
|
-
class PutAutoScalingPolicyCommand extends
|
|
619
|
+
class PutAutoScalingPolicyCommand extends client.Command
|
|
622
620
|
.classBuilder()
|
|
623
621
|
.ep(commonParams)
|
|
624
622
|
.m(function (Command, cs, config, o) {
|
|
625
|
-
return [
|
|
623
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
626
624
|
})
|
|
627
625
|
.s("ElasticMapReduce", "PutAutoScalingPolicy", {})
|
|
628
626
|
.n("EMRClient", "PutAutoScalingPolicyCommand")
|
|
@@ -630,11 +628,11 @@ class PutAutoScalingPolicyCommand extends smithyClient.Command
|
|
|
630
628
|
.build() {
|
|
631
629
|
}
|
|
632
630
|
|
|
633
|
-
class PutAutoTerminationPolicyCommand extends
|
|
631
|
+
class PutAutoTerminationPolicyCommand extends client.Command
|
|
634
632
|
.classBuilder()
|
|
635
633
|
.ep(commonParams)
|
|
636
634
|
.m(function (Command, cs, config, o) {
|
|
637
|
-
return [
|
|
635
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
638
636
|
})
|
|
639
637
|
.s("ElasticMapReduce", "PutAutoTerminationPolicy", {})
|
|
640
638
|
.n("EMRClient", "PutAutoTerminationPolicyCommand")
|
|
@@ -642,11 +640,11 @@ class PutAutoTerminationPolicyCommand extends smithyClient.Command
|
|
|
642
640
|
.build() {
|
|
643
641
|
}
|
|
644
642
|
|
|
645
|
-
class PutBlockPublicAccessConfigurationCommand extends
|
|
643
|
+
class PutBlockPublicAccessConfigurationCommand extends client.Command
|
|
646
644
|
.classBuilder()
|
|
647
645
|
.ep(commonParams)
|
|
648
646
|
.m(function (Command, cs, config, o) {
|
|
649
|
-
return [
|
|
647
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
650
648
|
})
|
|
651
649
|
.s("ElasticMapReduce", "PutBlockPublicAccessConfiguration", {})
|
|
652
650
|
.n("EMRClient", "PutBlockPublicAccessConfigurationCommand")
|
|
@@ -654,11 +652,11 @@ class PutBlockPublicAccessConfigurationCommand extends smithyClient.Command
|
|
|
654
652
|
.build() {
|
|
655
653
|
}
|
|
656
654
|
|
|
657
|
-
class PutManagedScalingPolicyCommand extends
|
|
655
|
+
class PutManagedScalingPolicyCommand extends client.Command
|
|
658
656
|
.classBuilder()
|
|
659
657
|
.ep(commonParams)
|
|
660
658
|
.m(function (Command, cs, config, o) {
|
|
661
|
-
return [
|
|
659
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
662
660
|
})
|
|
663
661
|
.s("ElasticMapReduce", "PutManagedScalingPolicy", {})
|
|
664
662
|
.n("EMRClient", "PutManagedScalingPolicyCommand")
|
|
@@ -666,11 +664,11 @@ class PutManagedScalingPolicyCommand extends smithyClient.Command
|
|
|
666
664
|
.build() {
|
|
667
665
|
}
|
|
668
666
|
|
|
669
|
-
class RemoveAutoScalingPolicyCommand extends
|
|
667
|
+
class RemoveAutoScalingPolicyCommand extends client.Command
|
|
670
668
|
.classBuilder()
|
|
671
669
|
.ep(commonParams)
|
|
672
670
|
.m(function (Command, cs, config, o) {
|
|
673
|
-
return [
|
|
671
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
674
672
|
})
|
|
675
673
|
.s("ElasticMapReduce", "RemoveAutoScalingPolicy", {})
|
|
676
674
|
.n("EMRClient", "RemoveAutoScalingPolicyCommand")
|
|
@@ -678,11 +676,11 @@ class RemoveAutoScalingPolicyCommand extends smithyClient.Command
|
|
|
678
676
|
.build() {
|
|
679
677
|
}
|
|
680
678
|
|
|
681
|
-
class RemoveAutoTerminationPolicyCommand extends
|
|
679
|
+
class RemoveAutoTerminationPolicyCommand extends client.Command
|
|
682
680
|
.classBuilder()
|
|
683
681
|
.ep(commonParams)
|
|
684
682
|
.m(function (Command, cs, config, o) {
|
|
685
|
-
return [
|
|
683
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
686
684
|
})
|
|
687
685
|
.s("ElasticMapReduce", "RemoveAutoTerminationPolicy", {})
|
|
688
686
|
.n("EMRClient", "RemoveAutoTerminationPolicyCommand")
|
|
@@ -690,11 +688,11 @@ class RemoveAutoTerminationPolicyCommand extends smithyClient.Command
|
|
|
690
688
|
.build() {
|
|
691
689
|
}
|
|
692
690
|
|
|
693
|
-
class RemoveManagedScalingPolicyCommand extends
|
|
691
|
+
class RemoveManagedScalingPolicyCommand extends client.Command
|
|
694
692
|
.classBuilder()
|
|
695
693
|
.ep(commonParams)
|
|
696
694
|
.m(function (Command, cs, config, o) {
|
|
697
|
-
return [
|
|
695
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
698
696
|
})
|
|
699
697
|
.s("ElasticMapReduce", "RemoveManagedScalingPolicy", {})
|
|
700
698
|
.n("EMRClient", "RemoveManagedScalingPolicyCommand")
|
|
@@ -702,11 +700,11 @@ class RemoveManagedScalingPolicyCommand extends smithyClient.Command
|
|
|
702
700
|
.build() {
|
|
703
701
|
}
|
|
704
702
|
|
|
705
|
-
class RemoveTagsCommand extends
|
|
703
|
+
class RemoveTagsCommand extends client.Command
|
|
706
704
|
.classBuilder()
|
|
707
705
|
.ep(commonParams)
|
|
708
706
|
.m(function (Command, cs, config, o) {
|
|
709
|
-
return [
|
|
707
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
710
708
|
})
|
|
711
709
|
.s("ElasticMapReduce", "RemoveTags", {})
|
|
712
710
|
.n("EMRClient", "RemoveTagsCommand")
|
|
@@ -714,11 +712,11 @@ class RemoveTagsCommand extends smithyClient.Command
|
|
|
714
712
|
.build() {
|
|
715
713
|
}
|
|
716
714
|
|
|
717
|
-
class RunJobFlowCommand extends
|
|
715
|
+
class RunJobFlowCommand extends client.Command
|
|
718
716
|
.classBuilder()
|
|
719
717
|
.ep(commonParams)
|
|
720
718
|
.m(function (Command, cs, config, o) {
|
|
721
|
-
return [
|
|
719
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
722
720
|
})
|
|
723
721
|
.s("ElasticMapReduce", "RunJobFlow", {})
|
|
724
722
|
.n("EMRClient", "RunJobFlowCommand")
|
|
@@ -726,11 +724,11 @@ class RunJobFlowCommand extends smithyClient.Command
|
|
|
726
724
|
.build() {
|
|
727
725
|
}
|
|
728
726
|
|
|
729
|
-
class SetKeepJobFlowAliveWhenNoStepsCommand extends
|
|
727
|
+
class SetKeepJobFlowAliveWhenNoStepsCommand extends client.Command
|
|
730
728
|
.classBuilder()
|
|
731
729
|
.ep(commonParams)
|
|
732
730
|
.m(function (Command, cs, config, o) {
|
|
733
|
-
return [
|
|
731
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
734
732
|
})
|
|
735
733
|
.s("ElasticMapReduce", "SetKeepJobFlowAliveWhenNoSteps", {})
|
|
736
734
|
.n("EMRClient", "SetKeepJobFlowAliveWhenNoStepsCommand")
|
|
@@ -738,11 +736,11 @@ class SetKeepJobFlowAliveWhenNoStepsCommand extends smithyClient.Command
|
|
|
738
736
|
.build() {
|
|
739
737
|
}
|
|
740
738
|
|
|
741
|
-
class SetTerminationProtectionCommand extends
|
|
739
|
+
class SetTerminationProtectionCommand extends client.Command
|
|
742
740
|
.classBuilder()
|
|
743
741
|
.ep(commonParams)
|
|
744
742
|
.m(function (Command, cs, config, o) {
|
|
745
|
-
return [
|
|
743
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
746
744
|
})
|
|
747
745
|
.s("ElasticMapReduce", "SetTerminationProtection", {})
|
|
748
746
|
.n("EMRClient", "SetTerminationProtectionCommand")
|
|
@@ -750,11 +748,11 @@ class SetTerminationProtectionCommand extends smithyClient.Command
|
|
|
750
748
|
.build() {
|
|
751
749
|
}
|
|
752
750
|
|
|
753
|
-
class SetUnhealthyNodeReplacementCommand extends
|
|
751
|
+
class SetUnhealthyNodeReplacementCommand extends client.Command
|
|
754
752
|
.classBuilder()
|
|
755
753
|
.ep(commonParams)
|
|
756
754
|
.m(function (Command, cs, config, o) {
|
|
757
|
-
return [
|
|
755
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
758
756
|
})
|
|
759
757
|
.s("ElasticMapReduce", "SetUnhealthyNodeReplacement", {})
|
|
760
758
|
.n("EMRClient", "SetUnhealthyNodeReplacementCommand")
|
|
@@ -762,11 +760,11 @@ class SetUnhealthyNodeReplacementCommand extends smithyClient.Command
|
|
|
762
760
|
.build() {
|
|
763
761
|
}
|
|
764
762
|
|
|
765
|
-
class SetVisibleToAllUsersCommand extends
|
|
763
|
+
class SetVisibleToAllUsersCommand extends client.Command
|
|
766
764
|
.classBuilder()
|
|
767
765
|
.ep(commonParams)
|
|
768
766
|
.m(function (Command, cs, config, o) {
|
|
769
|
-
return [
|
|
767
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
770
768
|
})
|
|
771
769
|
.s("ElasticMapReduce", "SetVisibleToAllUsers", {})
|
|
772
770
|
.n("EMRClient", "SetVisibleToAllUsersCommand")
|
|
@@ -774,11 +772,11 @@ class SetVisibleToAllUsersCommand extends smithyClient.Command
|
|
|
774
772
|
.build() {
|
|
775
773
|
}
|
|
776
774
|
|
|
777
|
-
class StartNotebookExecutionCommand extends
|
|
775
|
+
class StartNotebookExecutionCommand extends client.Command
|
|
778
776
|
.classBuilder()
|
|
779
777
|
.ep(commonParams)
|
|
780
778
|
.m(function (Command, cs, config, o) {
|
|
781
|
-
return [
|
|
779
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
782
780
|
})
|
|
783
781
|
.s("ElasticMapReduce", "StartNotebookExecution", {})
|
|
784
782
|
.n("EMRClient", "StartNotebookExecutionCommand")
|
|
@@ -786,11 +784,11 @@ class StartNotebookExecutionCommand extends smithyClient.Command
|
|
|
786
784
|
.build() {
|
|
787
785
|
}
|
|
788
786
|
|
|
789
|
-
class StopNotebookExecutionCommand extends
|
|
787
|
+
class StopNotebookExecutionCommand extends client.Command
|
|
790
788
|
.classBuilder()
|
|
791
789
|
.ep(commonParams)
|
|
792
790
|
.m(function (Command, cs, config, o) {
|
|
793
|
-
return [
|
|
791
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
794
792
|
})
|
|
795
793
|
.s("ElasticMapReduce", "StopNotebookExecution", {})
|
|
796
794
|
.n("EMRClient", "StopNotebookExecutionCommand")
|
|
@@ -798,11 +796,11 @@ class StopNotebookExecutionCommand extends smithyClient.Command
|
|
|
798
796
|
.build() {
|
|
799
797
|
}
|
|
800
798
|
|
|
801
|
-
class TerminateJobFlowsCommand extends
|
|
799
|
+
class TerminateJobFlowsCommand extends client.Command
|
|
802
800
|
.classBuilder()
|
|
803
801
|
.ep(commonParams)
|
|
804
802
|
.m(function (Command, cs, config, o) {
|
|
805
|
-
return [
|
|
803
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
806
804
|
})
|
|
807
805
|
.s("ElasticMapReduce", "TerminateJobFlows", {})
|
|
808
806
|
.n("EMRClient", "TerminateJobFlowsCommand")
|
|
@@ -810,11 +808,11 @@ class TerminateJobFlowsCommand extends smithyClient.Command
|
|
|
810
808
|
.build() {
|
|
811
809
|
}
|
|
812
810
|
|
|
813
|
-
class UpdateStudioCommand extends
|
|
811
|
+
class UpdateStudioCommand extends client.Command
|
|
814
812
|
.classBuilder()
|
|
815
813
|
.ep(commonParams)
|
|
816
814
|
.m(function (Command, cs, config, o) {
|
|
817
|
-
return [
|
|
815
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
818
816
|
})
|
|
819
817
|
.s("ElasticMapReduce", "UpdateStudio", {})
|
|
820
818
|
.n("EMRClient", "UpdateStudioCommand")
|
|
@@ -822,11 +820,11 @@ class UpdateStudioCommand extends smithyClient.Command
|
|
|
822
820
|
.build() {
|
|
823
821
|
}
|
|
824
822
|
|
|
825
|
-
class UpdateStudioSessionMappingCommand extends
|
|
823
|
+
class UpdateStudioSessionMappingCommand extends client.Command
|
|
826
824
|
.classBuilder()
|
|
827
825
|
.ep(commonParams)
|
|
828
826
|
.m(function (Command, cs, config, o) {
|
|
829
|
-
return [
|
|
827
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
830
828
|
})
|
|
831
829
|
.s("ElasticMapReduce", "UpdateStudioSessionMapping", {})
|
|
832
830
|
.n("EMRClient", "UpdateStudioSessionMappingCommand")
|
|
@@ -858,17 +856,17 @@ const paginateListStudios = core.createPaginator(EMRClient, ListStudiosCommand,
|
|
|
858
856
|
|
|
859
857
|
const paginateListSupportedInstanceTypes = core.createPaginator(EMRClient, ListSupportedInstanceTypesCommand, "Marker", "Marker", "");
|
|
860
858
|
|
|
861
|
-
const checkState$2 = async (client, input) => {
|
|
859
|
+
const checkState$2 = async (client$1, input) => {
|
|
862
860
|
let reason;
|
|
863
861
|
try {
|
|
864
|
-
let result = await client.send(new DescribeClusterCommand(input));
|
|
862
|
+
let result = await client$1.send(new DescribeClusterCommand(input));
|
|
865
863
|
reason = result;
|
|
866
864
|
try {
|
|
867
865
|
const returnComparator = () => {
|
|
868
866
|
return result.Cluster.Status.State;
|
|
869
867
|
};
|
|
870
868
|
if (returnComparator() === "RUNNING") {
|
|
871
|
-
return { state:
|
|
869
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
872
870
|
}
|
|
873
871
|
}
|
|
874
872
|
catch (e) { }
|
|
@@ -877,7 +875,7 @@ const checkState$2 = async (client, input) => {
|
|
|
877
875
|
return result.Cluster.Status.State;
|
|
878
876
|
};
|
|
879
877
|
if (returnComparator() === "WAITING") {
|
|
880
|
-
return { state:
|
|
878
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
881
879
|
}
|
|
882
880
|
}
|
|
883
881
|
catch (e) { }
|
|
@@ -886,7 +884,7 @@ const checkState$2 = async (client, input) => {
|
|
|
886
884
|
return result.Cluster.Status.State;
|
|
887
885
|
};
|
|
888
886
|
if (returnComparator() === "TERMINATING") {
|
|
889
|
-
return { state:
|
|
887
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
890
888
|
}
|
|
891
889
|
}
|
|
892
890
|
catch (e) { }
|
|
@@ -895,7 +893,7 @@ const checkState$2 = async (client, input) => {
|
|
|
895
893
|
return result.Cluster.Status.State;
|
|
896
894
|
};
|
|
897
895
|
if (returnComparator() === "TERMINATED") {
|
|
898
|
-
return { state:
|
|
896
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
899
897
|
}
|
|
900
898
|
}
|
|
901
899
|
catch (e) { }
|
|
@@ -904,7 +902,7 @@ const checkState$2 = async (client, input) => {
|
|
|
904
902
|
return result.Cluster.Status.State;
|
|
905
903
|
};
|
|
906
904
|
if (returnComparator() === "TERMINATED_WITH_ERRORS") {
|
|
907
|
-
return { state:
|
|
905
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
908
906
|
}
|
|
909
907
|
}
|
|
910
908
|
catch (e) { }
|
|
@@ -912,29 +910,29 @@ const checkState$2 = async (client, input) => {
|
|
|
912
910
|
catch (exception) {
|
|
913
911
|
reason = exception;
|
|
914
912
|
}
|
|
915
|
-
return { state:
|
|
913
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
916
914
|
};
|
|
917
915
|
const waitForClusterRunning = async (params, input) => {
|
|
918
916
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
919
|
-
return
|
|
917
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
920
918
|
};
|
|
921
919
|
const waitUntilClusterRunning = async (params, input) => {
|
|
922
920
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
923
|
-
const result = await
|
|
924
|
-
return
|
|
921
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
922
|
+
return client.checkExceptions(result);
|
|
925
923
|
};
|
|
926
924
|
|
|
927
|
-
const checkState$1 = async (client, input) => {
|
|
925
|
+
const checkState$1 = async (client$1, input) => {
|
|
928
926
|
let reason;
|
|
929
927
|
try {
|
|
930
|
-
let result = await client.send(new DescribeClusterCommand(input));
|
|
928
|
+
let result = await client$1.send(new DescribeClusterCommand(input));
|
|
931
929
|
reason = result;
|
|
932
930
|
try {
|
|
933
931
|
const returnComparator = () => {
|
|
934
932
|
return result.Cluster.Status.State;
|
|
935
933
|
};
|
|
936
934
|
if (returnComparator() === "TERMINATED") {
|
|
937
|
-
return { state:
|
|
935
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
938
936
|
}
|
|
939
937
|
}
|
|
940
938
|
catch (e) { }
|
|
@@ -943,7 +941,7 @@ const checkState$1 = async (client, input) => {
|
|
|
943
941
|
return result.Cluster.Status.State;
|
|
944
942
|
};
|
|
945
943
|
if (returnComparator() === "TERMINATED_WITH_ERRORS") {
|
|
946
|
-
return { state:
|
|
944
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
947
945
|
}
|
|
948
946
|
}
|
|
949
947
|
catch (e) { }
|
|
@@ -951,29 +949,29 @@ const checkState$1 = async (client, input) => {
|
|
|
951
949
|
catch (exception) {
|
|
952
950
|
reason = exception;
|
|
953
951
|
}
|
|
954
|
-
return { state:
|
|
952
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
955
953
|
};
|
|
956
954
|
const waitForClusterTerminated = async (params, input) => {
|
|
957
955
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
958
|
-
return
|
|
956
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
959
957
|
};
|
|
960
958
|
const waitUntilClusterTerminated = async (params, input) => {
|
|
961
959
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
962
|
-
const result = await
|
|
963
|
-
return
|
|
960
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
961
|
+
return client.checkExceptions(result);
|
|
964
962
|
};
|
|
965
963
|
|
|
966
|
-
const checkState = async (client, input) => {
|
|
964
|
+
const checkState = async (client$1, input) => {
|
|
967
965
|
let reason;
|
|
968
966
|
try {
|
|
969
|
-
let result = await client.send(new DescribeStepCommand(input));
|
|
967
|
+
let result = await client$1.send(new DescribeStepCommand(input));
|
|
970
968
|
reason = result;
|
|
971
969
|
try {
|
|
972
970
|
const returnComparator = () => {
|
|
973
971
|
return result.Step.Status.State;
|
|
974
972
|
};
|
|
975
973
|
if (returnComparator() === "COMPLETED") {
|
|
976
|
-
return { state:
|
|
974
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
977
975
|
}
|
|
978
976
|
}
|
|
979
977
|
catch (e) { }
|
|
@@ -982,7 +980,7 @@ const checkState = async (client, input) => {
|
|
|
982
980
|
return result.Step.Status.State;
|
|
983
981
|
};
|
|
984
982
|
if (returnComparator() === "FAILED") {
|
|
985
|
-
return { state:
|
|
983
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
986
984
|
}
|
|
987
985
|
}
|
|
988
986
|
catch (e) { }
|
|
@@ -991,7 +989,7 @@ const checkState = async (client, input) => {
|
|
|
991
989
|
return result.Step.Status.State;
|
|
992
990
|
};
|
|
993
991
|
if (returnComparator() === "CANCELLED") {
|
|
994
|
-
return { state:
|
|
992
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
995
993
|
}
|
|
996
994
|
}
|
|
997
995
|
catch (e) { }
|
|
@@ -999,16 +997,16 @@ const checkState = async (client, input) => {
|
|
|
999
997
|
catch (exception) {
|
|
1000
998
|
reason = exception;
|
|
1001
999
|
}
|
|
1002
|
-
return { state:
|
|
1000
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
1003
1001
|
};
|
|
1004
1002
|
const waitForStepComplete = async (params, input) => {
|
|
1005
1003
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
1006
|
-
return
|
|
1004
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1007
1005
|
};
|
|
1008
1006
|
const waitUntilStepComplete = async (params, input) => {
|
|
1009
1007
|
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
1010
|
-
const result = await
|
|
1011
|
-
return
|
|
1008
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1009
|
+
return client.checkExceptions(result);
|
|
1012
1010
|
};
|
|
1013
1011
|
|
|
1014
1012
|
const commands = {
|
|
@@ -1094,7 +1092,7 @@ const waiters = {
|
|
|
1094
1092
|
};
|
|
1095
1093
|
class EMR extends EMRClient {
|
|
1096
1094
|
}
|
|
1097
|
-
|
|
1095
|
+
client.createAggregatedClient(commands, EMR, { paginators, waiters });
|
|
1098
1096
|
|
|
1099
1097
|
const ActionOnFailure = {
|
|
1100
1098
|
CANCEL_AND_WAIT: "CANCEL_AND_WAIT",
|
|
@@ -1400,8 +1398,8 @@ const ReconfigurationType = {
|
|
|
1400
1398
|
OVERWRITE: "OVERWRITE",
|
|
1401
1399
|
};
|
|
1402
1400
|
|
|
1403
|
-
exports.$Command =
|
|
1404
|
-
exports.__Client =
|
|
1401
|
+
exports.$Command = client.Command;
|
|
1402
|
+
exports.__Client = client.Client;
|
|
1405
1403
|
exports.EMRServiceException = EMRServiceException.EMRServiceException;
|
|
1406
1404
|
exports.ActionOnFailure = ActionOnFailure;
|
|
1407
1405
|
exports.AddInstanceFleetCommand = AddInstanceFleetCommand;
|