@aws-sdk/client-emr 3.87.0 → 3.88.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/README.md +3 -4
- package/dist-cjs/models/models_0.js +14 -3
- package/dist-cjs/protocols/Aws_json1_1.js +24 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +26 -4
- package/dist-types/EMR.d.ts +99 -78
- package/dist-types/EMRClient.d.ts +3 -4
- package/dist-types/commands/AddInstanceFleetCommand.d.ts +2 -2
- package/dist-types/commands/AddJobFlowStepsCommand.d.ts +8 -7
- package/dist-types/commands/AddTagsCommand.d.ts +5 -3
- package/dist-types/commands/CancelStepsCommand.d.ts +4 -3
- package/dist-types/commands/CreateStudioSessionMappingCommand.d.ts +5 -2
- package/dist-types/commands/DescribeReleaseLabelCommand.d.ts +3 -1
- package/dist-types/commands/DescribeStudioCommand.d.ts +2 -2
- package/dist-types/commands/GetBlockPublicAccessConfigurationCommand.d.ts +3 -4
- package/dist-types/commands/GetStudioSessionMappingCommand.d.ts +2 -2
- package/dist-types/commands/ListClustersCommand.d.ts +5 -5
- package/dist-types/commands/ListInstanceFleetsCommand.d.ts +2 -2
- package/dist-types/commands/ListStepsCommand.d.ts +4 -1
- package/dist-types/commands/ListStudioSessionMappingsCommand.d.ts +2 -2
- package/dist-types/commands/ListStudiosCommand.d.ts +2 -2
- package/dist-types/commands/ModifyInstanceFleetCommand.d.ts +2 -2
- package/dist-types/commands/PutAutoScalingPolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutAutoTerminationPolicyCommand.d.ts +7 -2
- package/dist-types/commands/PutBlockPublicAccessConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutManagedScalingPolicyCommand.d.ts +4 -4
- package/dist-types/commands/RemoveTagsCommand.d.ts +4 -3
- package/dist-types/commands/RunJobFlowCommand.d.ts +4 -4
- package/dist-types/commands/SetTerminationProtectionCommand.d.ts +2 -2
- package/dist-types/commands/SetVisibleToAllUsersCommand.d.ts +11 -6
- package/dist-types/commands/TerminateJobFlowsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateStudioCommand.d.ts +2 -1
- package/dist-types/commands/UpdateStudioSessionMappingCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +616 -435
- package/dist-types/ts3.4/models/models_0.d.ts +21 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.88.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.87.0...v3.88.0) (2022-05-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-emr:** This release updates the Amazon EMR ModifyInstanceGroups API to support "MERGE" type cluster reconfiguration. Also, added the ability to specify a particular Amazon Linux release for all nodes in a cluster launch request. ([7945cec](https://github.com/aws/aws-sdk-js-v3/commit/7945ceca18590d350d620c3cc55b7d1f13dd1e59))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-emr
|
package/README.md
CHANGED
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript EMR Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>Amazon EMR is a web service that makes it easier to process large amounts of
|
|
13
|
-
efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services services to do
|
|
14
|
-
|
|
15
|
-
simulation, and data warehouse management.</p>
|
|
12
|
+
<p>Amazon EMR is a web service that makes it easier to process large amounts of
|
|
13
|
+
data efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services services to do tasks such as web indexing, data mining, log file analysis,
|
|
14
|
+
machine learning, scientific simulation, and data warehouse management.</p>
|
|
16
15
|
|
|
17
16
|
## Installing
|
|
18
17
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ScriptBootstrapActionConfig = exports.BlockPublicAccessConfigurationMetadata = exports.PortRange = exports.AutoTerminationPolicy = exports.AutoScalingPolicyDescription = exports.AutoScalingPolicyStatus = exports.AutoScalingPolicyStateChangeReason = exports.AutoScalingPolicyStateChangeReasonCode = exports.AutoScalingPolicyState = exports.AuthMode = exports.Application = exports.AddTagsOutput = exports.AddTagsInput = exports.Tag = exports.AddJobFlowStepsOutput = exports.AddJobFlowStepsInput = exports.StepConfig = exports.HadoopJarStepConfig = exports.KeyValue = exports.InternalServerError = exports.AddInstanceGroupsOutput = exports.AutoScalingPolicy = exports.ScalingRule = exports.ScalingTrigger = exports.CloudWatchAlarmDefinition = exports.Unit = exports.Statistic = exports.MetricDimension = exports.ComparisonOperator = exports.ScalingAction = exports.SimpleScalingPolicyConfiguration = exports.AdjustmentType = exports.MarketType = exports.ScalingConstraints = exports.InvalidRequestException = exports.InternalServerException = exports.AddInstanceFleetOutput = exports.InstanceFleetProvisioningSpecifications = exports.SpotProvisioningSpecification = exports.SpotProvisioningAllocationStrategy = exports.OnDemandProvisioningSpecification = exports.OnDemandCapacityReservationOptions = exports.OnDemandCapacityReservationUsageStrategy = exports.OnDemandCapacityReservationPreference = exports.OnDemandProvisioningAllocationStrategy = exports.EbsConfiguration = exports.EbsBlockDeviceConfig = exports.VolumeSpecification = exports.InstanceFleetType = exports.ActionOnFailure = void 0;
|
|
4
4
|
exports.DescribeNotebookExecutionOutput = exports.NotebookExecution = exports.NotebookExecutionStatus = exports.ExecutionEngineConfig = exports.ExecutionEngineType = exports.DescribeNotebookExecutionInput = exports.DescribeJobFlowsOutput = exports.JobFlowDetail = exports.StepDetail = exports.StepExecutionStatusDetail = exports.JobFlowInstancesDetail = exports.PlacementType = exports.InstanceGroupDetail = exports.InstanceGroupState = exports.JobFlowExecutionStatusDetail = exports.DescribeJobFlowsInput = exports.JobFlowExecutionState = exports.DescribeClusterInput = exports.DeleteStudioSessionMappingInput = exports.DeleteStudioInput = exports.DeleteSecurityConfigurationOutput = exports.DeleteSecurityConfigurationInput = exports.CreateStudioSessionMappingInput = exports.IdentityType = exports.CreateStudioOutput = exports.CreateStudioInput = exports.CreateSecurityConfigurationOutput = exports.CreateSecurityConfigurationInput = exports.ComputeLimits = exports.ComputeLimitsUnitType = exports.Command = exports.ClusterSummary = exports.ClusterStatus = exports.ClusterTimeline = exports.ClusterStateChangeReason = exports.ClusterStateChangeReasonCode = exports.ClusterState = exports.ScaleDownBehavior = exports.RepoUpgradeOnBoot = exports.PlacementGroupConfig = exports.PlacementGroupStrategy = exports.KerberosAttributes = exports.InstanceCollectionType = exports.Ec2InstanceAttributes = exports.CancelStepsOutput = exports.CancelStepsInfo = exports.CancelStepsRequestStatus = exports.CancelStepsInput = exports.BootstrapActionDetail = exports.BootstrapActionConfig = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.RunJobFlowInput = exports.JobFlowInstancesConfig = exports.ListInstanceGroupsOutput = exports.ListInstanceFleetsOutput = exports.InstanceGroup = exports.AddInstanceFleetInput = exports.ModifyInstanceGroupsInput = exports.InstanceFleetConfig = exports.InstanceFleet = exports.AddInstanceGroupsInput = exports.PutBlockPublicAccessConfigurationInput = exports.GetBlockPublicAccessConfigurationOutput = exports.DescribeClusterOutput = exports.InstanceTypeSpecification = exports.InstanceTypeConfig = exports.InstanceGroupModifyConfig = exports.InstanceGroupConfig = exports.Cluster = exports.BlockPublicAccessConfiguration = exports.Configuration = exports.UpdateStudioSessionMappingInput = void 0;
|
|
5
|
+
exports.InstanceStateChangeReasonCode = exports.ListInstancesInput = exports.InstanceState = exports.InstanceGroupStatus = exports.InstanceGroupTimeline = exports.InstanceGroupStateChangeReason = exports.InstanceGroupStateChangeReasonCode = exports.ShrinkPolicy = exports.InstanceResizePolicy = exports.InstanceGroupType = exports.ListInstanceGroupsInput = exports.InstanceFleetStatus = exports.InstanceFleetTimeline = exports.InstanceFleetStateChangeReason = exports.InstanceFleetStateChangeReasonCode = exports.InstanceFleetState = exports.ListInstanceFleetsInput = exports.ListClustersOutput = exports.ListClustersInput = exports.ListBootstrapActionsOutput = exports.ListBootstrapActionsInput = exports.GetStudioSessionMappingOutput = exports.SessionMappingDetail = exports.GetStudioSessionMappingInput = exports.GetManagedScalingPolicyOutput = exports.ManagedScalingPolicy = exports.GetManagedScalingPolicyInput = exports.GetBlockPublicAccessConfigurationInput = exports.GetAutoTerminationPolicyOutput = exports.GetAutoTerminationPolicyInput = exports.EbsVolume = exports.EbsBlockDevice = exports.DescribeStudioOutput = exports.Studio = exports.DescribeStudioInput = exports.DescribeStepOutput = exports.Step = exports.StepStatus = exports.StepTimeline = exports.StepStateChangeReason = exports.StepState = exports.FailureDetails = exports.HadoopStepConfig = exports.DescribeStepInput = exports.DescribeSecurityConfigurationOutput = exports.DescribeSecurityConfigurationInput = exports.DescribeReleaseLabelOutput = exports.OSRelease = exports.SimplifiedApplication = exports.DescribeReleaseLabelInput = void 0;
|
|
6
|
+
exports.StopNotebookExecutionInput = exports.StartNotebookExecutionOutput = exports.StartNotebookExecutionInput = exports.SetVisibleToAllUsersInput = exports.SetTerminationProtectionInput = exports.RunJobFlowOutput = exports.SupportedProductConfig = exports.RemoveTagsOutput = exports.RemoveTagsInput = exports.RemoveManagedScalingPolicyOutput = exports.RemoveManagedScalingPolicyInput = exports.RemoveAutoTerminationPolicyOutput = exports.RemoveAutoTerminationPolicyInput = exports.RemoveAutoScalingPolicyOutput = exports.RemoveAutoScalingPolicyInput = exports.PutManagedScalingPolicyOutput = exports.PutManagedScalingPolicyInput = exports.PutBlockPublicAccessConfigurationOutput = exports.PutAutoTerminationPolicyOutput = exports.PutAutoTerminationPolicyInput = exports.PutAutoScalingPolicyOutput = exports.PutAutoScalingPolicyInput = exports.ReconfigurationType = exports.ModifyInstanceFleetInput = exports.InstanceFleetModifyConfig = exports.ModifyClusterOutput = exports.ModifyClusterInput = exports.ListStudioSessionMappingsOutput = exports.SessionMappingSummary = exports.ListStudioSessionMappingsInput = exports.ListStudiosOutput = exports.StudioSummary = exports.ListStudiosInput = exports.ListStepsOutput = exports.StepSummary = exports.ListStepsInput = exports.ListSecurityConfigurationsOutput = exports.SecurityConfigurationSummary = exports.ListSecurityConfigurationsInput = exports.ListReleaseLabelsOutput = exports.ListReleaseLabelsInput = exports.ReleaseLabelFilter = exports.ListNotebookExecutionsOutput = exports.NotebookExecutionSummary = exports.ListNotebookExecutionsInput = exports.ListInstancesOutput = exports.Instance = exports.InstanceStatus = exports.InstanceTimeline = exports.InstanceStateChangeReason = void 0;
|
|
7
|
+
exports.RunJobFlowInput = exports.JobFlowInstancesConfig = exports.ListInstanceGroupsOutput = exports.ListInstanceFleetsOutput = exports.InstanceGroup = exports.AddInstanceFleetInput = exports.ModifyInstanceGroupsInput = exports.InstanceFleetConfig = exports.InstanceFleet = exports.AddInstanceGroupsInput = exports.PutBlockPublicAccessConfigurationInput = exports.GetBlockPublicAccessConfigurationOutput = exports.DescribeClusterOutput = exports.InstanceTypeSpecification = exports.InstanceTypeConfig = exports.InstanceGroupModifyConfig = exports.InstanceGroupConfig = exports.Cluster = exports.BlockPublicAccessConfiguration = exports.Configuration = exports.UpdateStudioSessionMappingInput = exports.UpdateStudioInput = exports.TerminateJobFlowsInput = void 0;
|
|
8
8
|
const EMRServiceException_1 = require("./EMRServiceException");
|
|
9
9
|
var ActionOnFailure;
|
|
10
10
|
(function (ActionOnFailure) {
|
|
@@ -687,6 +687,12 @@ var SimplifiedApplication;
|
|
|
687
687
|
...obj,
|
|
688
688
|
});
|
|
689
689
|
})(SimplifiedApplication = exports.SimplifiedApplication || (exports.SimplifiedApplication = {}));
|
|
690
|
+
var OSRelease;
|
|
691
|
+
(function (OSRelease) {
|
|
692
|
+
OSRelease.filterSensitiveLog = (obj) => ({
|
|
693
|
+
...obj,
|
|
694
|
+
});
|
|
695
|
+
})(OSRelease = exports.OSRelease || (exports.OSRelease = {}));
|
|
690
696
|
var DescribeReleaseLabelOutput;
|
|
691
697
|
(function (DescribeReleaseLabelOutput) {
|
|
692
698
|
DescribeReleaseLabelOutput.filterSensitiveLog = (obj) => ({
|
|
@@ -1145,6 +1151,11 @@ var ModifyInstanceFleetInput;
|
|
|
1145
1151
|
...obj,
|
|
1146
1152
|
});
|
|
1147
1153
|
})(ModifyInstanceFleetInput = exports.ModifyInstanceFleetInput || (exports.ModifyInstanceFleetInput = {}));
|
|
1154
|
+
var ReconfigurationType;
|
|
1155
|
+
(function (ReconfigurationType) {
|
|
1156
|
+
ReconfigurationType["MERGE"] = "MERGE";
|
|
1157
|
+
ReconfigurationType["OVERWRITE"] = "OVERWRITE";
|
|
1158
|
+
})(ReconfigurationType = exports.ReconfigurationType || (exports.ReconfigurationType = {}));
|
|
1148
1159
|
var PutAutoScalingPolicyInput;
|
|
1149
1160
|
(function (PutAutoScalingPolicyInput) {
|
|
1150
1161
|
PutAutoScalingPolicyInput.filterSensitiveLog = (obj) => ({
|
|
@@ -2948,6 +2948,8 @@ const serializeAws_json1_1InstanceGroupModifyConfig = (input, context) => {
|
|
|
2948
2948
|
...(input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount }),
|
|
2949
2949
|
...(input.InstanceGroupId !== undefined &&
|
|
2950
2950
|
input.InstanceGroupId !== null && { InstanceGroupId: input.InstanceGroupId }),
|
|
2951
|
+
...(input.ReconfigurationType !== undefined &&
|
|
2952
|
+
input.ReconfigurationType !== null && { ReconfigurationType: input.ReconfigurationType }),
|
|
2951
2953
|
...(input.ShrinkPolicy !== undefined &&
|
|
2952
2954
|
input.ShrinkPolicy !== null && { ShrinkPolicy: serializeAws_json1_1ShrinkPolicy(input.ShrinkPolicy, context) }),
|
|
2953
2955
|
};
|
|
@@ -3448,6 +3450,8 @@ const serializeAws_json1_1RunJobFlowInput = (input, context) => {
|
|
|
3448
3450
|
input.NewSupportedProducts !== null && {
|
|
3449
3451
|
NewSupportedProducts: serializeAws_json1_1NewSupportedProductsList(input.NewSupportedProducts, context),
|
|
3450
3452
|
}),
|
|
3453
|
+
...(input.OSReleaseLabel !== undefined &&
|
|
3454
|
+
input.OSReleaseLabel !== null && { OSReleaseLabel: input.OSReleaseLabel }),
|
|
3451
3455
|
...(input.PlacementGroupConfigs !== undefined &&
|
|
3452
3456
|
input.PlacementGroupConfigs !== null && {
|
|
3453
3457
|
PlacementGroupConfigs: serializeAws_json1_1PlacementGroupConfigList(input.PlacementGroupConfigs, context),
|
|
@@ -3961,6 +3965,7 @@ const deserializeAws_json1_1Cluster = (output, context) => {
|
|
|
3961
3965
|
MasterPublicDnsName: (0, smithy_client_1.expectString)(output.MasterPublicDnsName),
|
|
3962
3966
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3963
3967
|
NormalizedInstanceHours: (0, smithy_client_1.expectInt32)(output.NormalizedInstanceHours),
|
|
3968
|
+
OSReleaseLabel: (0, smithy_client_1.expectString)(output.OSReleaseLabel),
|
|
3964
3969
|
OutpostArn: (0, smithy_client_1.expectString)(output.OutpostArn),
|
|
3965
3970
|
PlacementGroups: output.PlacementGroups !== undefined && output.PlacementGroups !== null
|
|
3966
3971
|
? deserializeAws_json1_1PlacementGroupConfigList(output.PlacementGroups, context)
|
|
@@ -4130,6 +4135,9 @@ const deserializeAws_json1_1DescribeReleaseLabelOutput = (output, context) => {
|
|
|
4130
4135
|
Applications: output.Applications !== undefined && output.Applications !== null
|
|
4131
4136
|
? deserializeAws_json1_1SimplifiedApplicationList(output.Applications, context)
|
|
4132
4137
|
: undefined,
|
|
4138
|
+
AvailableOSReleases: output.AvailableOSReleases !== undefined && output.AvailableOSReleases !== null
|
|
4139
|
+
? deserializeAws_json1_1OSReleaseList(output.AvailableOSReleases, context)
|
|
4140
|
+
: undefined,
|
|
4133
4141
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4134
4142
|
ReleaseLabel: (0, smithy_client_1.expectString)(output.ReleaseLabel),
|
|
4135
4143
|
};
|
|
@@ -4891,6 +4899,22 @@ const deserializeAws_json1_1OnDemandProvisioningSpecification = (output, context
|
|
|
4891
4899
|
: undefined,
|
|
4892
4900
|
};
|
|
4893
4901
|
};
|
|
4902
|
+
const deserializeAws_json1_1OSRelease = (output, context) => {
|
|
4903
|
+
return {
|
|
4904
|
+
Label: (0, smithy_client_1.expectString)(output.Label),
|
|
4905
|
+
};
|
|
4906
|
+
};
|
|
4907
|
+
const deserializeAws_json1_1OSReleaseList = (output, context) => {
|
|
4908
|
+
const retVal = (output || [])
|
|
4909
|
+
.filter((e) => e != null)
|
|
4910
|
+
.map((entry) => {
|
|
4911
|
+
if (entry === null) {
|
|
4912
|
+
return null;
|
|
4913
|
+
}
|
|
4914
|
+
return deserializeAws_json1_1OSRelease(entry, context);
|
|
4915
|
+
});
|
|
4916
|
+
return retVal;
|
|
4917
|
+
};
|
|
4894
4918
|
const deserializeAws_json1_1PlacementGroupConfig = (output, context) => {
|
|
4895
4919
|
return {
|
|
4896
4920
|
InstanceRole: (0, smithy_client_1.expectString)(output.InstanceRole),
|
|
@@ -534,6 +534,10 @@ export var SimplifiedApplication;
|
|
|
534
534
|
(function (SimplifiedApplication) {
|
|
535
535
|
SimplifiedApplication.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
536
536
|
})(SimplifiedApplication || (SimplifiedApplication = {}));
|
|
537
|
+
export var OSRelease;
|
|
538
|
+
(function (OSRelease) {
|
|
539
|
+
OSRelease.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
540
|
+
})(OSRelease || (OSRelease = {}));
|
|
537
541
|
export var DescribeReleaseLabelOutput;
|
|
538
542
|
(function (DescribeReleaseLabelOutput) {
|
|
539
543
|
DescribeReleaseLabelOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -858,6 +862,11 @@ export var ModifyInstanceFleetInput;
|
|
|
858
862
|
(function (ModifyInstanceFleetInput) {
|
|
859
863
|
ModifyInstanceFleetInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
860
864
|
})(ModifyInstanceFleetInput || (ModifyInstanceFleetInput = {}));
|
|
865
|
+
export var ReconfigurationType;
|
|
866
|
+
(function (ReconfigurationType) {
|
|
867
|
+
ReconfigurationType["MERGE"] = "MERGE";
|
|
868
|
+
ReconfigurationType["OVERWRITE"] = "OVERWRITE";
|
|
869
|
+
})(ReconfigurationType || (ReconfigurationType = {}));
|
|
861
870
|
export var PutAutoScalingPolicyInput;
|
|
862
871
|
(function (PutAutoScalingPolicyInput) {
|
|
863
872
|
PutAutoScalingPolicyInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -3609,14 +3609,15 @@ var serializeAws_json1_1InstanceGroupConfigList = function (input, context) {
|
|
|
3609
3609
|
});
|
|
3610
3610
|
};
|
|
3611
3611
|
var serializeAws_json1_1InstanceGroupModifyConfig = function (input, context) {
|
|
3612
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Configurations !== undefined &&
|
|
3612
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configurations !== undefined &&
|
|
3613
3613
|
input.Configurations !== null && {
|
|
3614
3614
|
Configurations: serializeAws_json1_1ConfigurationList(input.Configurations, context),
|
|
3615
3615
|
})), (input.EC2InstanceIdsToTerminate !== undefined &&
|
|
3616
3616
|
input.EC2InstanceIdsToTerminate !== null && {
|
|
3617
3617
|
EC2InstanceIdsToTerminate: serializeAws_json1_1EC2InstanceIdsToTerminateList(input.EC2InstanceIdsToTerminate, context),
|
|
3618
3618
|
})), (input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount })), (input.InstanceGroupId !== undefined &&
|
|
3619
|
-
input.InstanceGroupId !== null && { InstanceGroupId: input.InstanceGroupId })), (input.
|
|
3619
|
+
input.InstanceGroupId !== null && { InstanceGroupId: input.InstanceGroupId })), (input.ReconfigurationType !== undefined &&
|
|
3620
|
+
input.ReconfigurationType !== null && { ReconfigurationType: input.ReconfigurationType })), (input.ShrinkPolicy !== undefined &&
|
|
3620
3621
|
input.ShrinkPolicy !== null && { ShrinkPolicy: serializeAws_json1_1ShrinkPolicy(input.ShrinkPolicy, context) }));
|
|
3621
3622
|
};
|
|
3622
3623
|
var serializeAws_json1_1InstanceGroupModifyConfigList = function (input, context) {
|
|
@@ -3932,7 +3933,7 @@ var serializeAws_json1_1RemoveTagsInput = function (input, context) {
|
|
|
3932
3933
|
input.TagKeys !== null && { TagKeys: serializeAws_json1_1StringList(input.TagKeys, context) }));
|
|
3933
3934
|
};
|
|
3934
3935
|
var serializeAws_json1_1RunJobFlowInput = function (input, context) {
|
|
3935
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalInfo !== undefined &&
|
|
3936
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalInfo !== undefined &&
|
|
3936
3937
|
input.AdditionalInfo !== null && { AdditionalInfo: input.AdditionalInfo })), (input.AmiVersion !== undefined && input.AmiVersion !== null && { AmiVersion: input.AmiVersion })), (input.Applications !== undefined &&
|
|
3937
3938
|
input.Applications !== null && {
|
|
3938
3939
|
Applications: serializeAws_json1_1ApplicationList(input.Applications, context),
|
|
@@ -3958,7 +3959,8 @@ var serializeAws_json1_1RunJobFlowInput = function (input, context) {
|
|
|
3958
3959
|
})), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.NewSupportedProducts !== undefined &&
|
|
3959
3960
|
input.NewSupportedProducts !== null && {
|
|
3960
3961
|
NewSupportedProducts: serializeAws_json1_1NewSupportedProductsList(input.NewSupportedProducts, context),
|
|
3961
|
-
})), (input.
|
|
3962
|
+
})), (input.OSReleaseLabel !== undefined &&
|
|
3963
|
+
input.OSReleaseLabel !== null && { OSReleaseLabel: input.OSReleaseLabel })), (input.PlacementGroupConfigs !== undefined &&
|
|
3962
3964
|
input.PlacementGroupConfigs !== null && {
|
|
3963
3965
|
PlacementGroupConfigs: serializeAws_json1_1PlacementGroupConfigList(input.PlacementGroupConfigs, context),
|
|
3964
3966
|
})), (input.ReleaseLabel !== undefined && input.ReleaseLabel !== null && { ReleaseLabel: input.ReleaseLabel })), (input.RepoUpgradeOnBoot !== undefined &&
|
|
@@ -4386,6 +4388,7 @@ var deserializeAws_json1_1Cluster = function (output, context) {
|
|
|
4386
4388
|
MasterPublicDnsName: __expectString(output.MasterPublicDnsName),
|
|
4387
4389
|
Name: __expectString(output.Name),
|
|
4388
4390
|
NormalizedInstanceHours: __expectInt32(output.NormalizedInstanceHours),
|
|
4391
|
+
OSReleaseLabel: __expectString(output.OSReleaseLabel),
|
|
4389
4392
|
OutpostArn: __expectString(output.OutpostArn),
|
|
4390
4393
|
PlacementGroups: output.PlacementGroups !== undefined && output.PlacementGroups !== null
|
|
4391
4394
|
? deserializeAws_json1_1PlacementGroupConfigList(output.PlacementGroups, context)
|
|
@@ -4555,6 +4558,9 @@ var deserializeAws_json1_1DescribeReleaseLabelOutput = function (output, context
|
|
|
4555
4558
|
Applications: output.Applications !== undefined && output.Applications !== null
|
|
4556
4559
|
? deserializeAws_json1_1SimplifiedApplicationList(output.Applications, context)
|
|
4557
4560
|
: undefined,
|
|
4561
|
+
AvailableOSReleases: output.AvailableOSReleases !== undefined && output.AvailableOSReleases !== null
|
|
4562
|
+
? deserializeAws_json1_1OSReleaseList(output.AvailableOSReleases, context)
|
|
4563
|
+
: undefined,
|
|
4558
4564
|
NextToken: __expectString(output.NextToken),
|
|
4559
4565
|
ReleaseLabel: __expectString(output.ReleaseLabel),
|
|
4560
4566
|
};
|
|
@@ -5316,6 +5322,22 @@ var deserializeAws_json1_1OnDemandProvisioningSpecification = function (output,
|
|
|
5316
5322
|
: undefined,
|
|
5317
5323
|
};
|
|
5318
5324
|
};
|
|
5325
|
+
var deserializeAws_json1_1OSRelease = function (output, context) {
|
|
5326
|
+
return {
|
|
5327
|
+
Label: __expectString(output.Label),
|
|
5328
|
+
};
|
|
5329
|
+
};
|
|
5330
|
+
var deserializeAws_json1_1OSReleaseList = function (output, context) {
|
|
5331
|
+
var retVal = (output || [])
|
|
5332
|
+
.filter(function (e) { return e != null; })
|
|
5333
|
+
.map(function (entry) {
|
|
5334
|
+
if (entry === null) {
|
|
5335
|
+
return null;
|
|
5336
|
+
}
|
|
5337
|
+
return deserializeAws_json1_1OSRelease(entry, context);
|
|
5338
|
+
});
|
|
5339
|
+
return retVal;
|
|
5340
|
+
};
|
|
5319
5341
|
var deserializeAws_json1_1PlacementGroupConfig = function (output, context) {
|
|
5320
5342
|
return {
|
|
5321
5343
|
InstanceRole: __expectString(output.InstanceRole),
|