@aws-sdk/client-codedeploy 3.121.0 → 3.130.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +330 -544
- package/dist-es/protocols/Aws_json1_1.js +241 -455
- package/package.json +27 -27
|
@@ -5034,18 +5034,15 @@ var deserializeAws_json1_1UnsupportedActionForDeploymentTypeExceptionResponse =
|
|
|
5034
5034
|
});
|
|
5035
5035
|
}); };
|
|
5036
5036
|
var serializeAws_json1_1AddTagsToOnPremisesInstancesInput = function (input, context) {
|
|
5037
|
-
return __assign(__assign({}, (input.instanceNames
|
|
5038
|
-
input.instanceNames !== null && {
|
|
5037
|
+
return __assign(__assign({}, (input.instanceNames != null && {
|
|
5039
5038
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
5040
|
-
})), (input.tags
|
|
5039
|
+
})), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
5041
5040
|
};
|
|
5042
5041
|
var serializeAws_json1_1Alarm = function (input, context) {
|
|
5043
|
-
return __assign({}, (input.name
|
|
5042
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
5044
5043
|
};
|
|
5045
5044
|
var serializeAws_json1_1AlarmConfiguration = function (input, context) {
|
|
5046
|
-
return __assign(__assign(__assign({}, (input.alarms
|
|
5047
|
-
input.alarms !== null && { alarms: serializeAws_json1_1AlarmList(input.alarms, context) })), (input.enabled !== undefined && input.enabled !== null && { enabled: input.enabled })), (input.ignorePollAlarmFailure !== undefined &&
|
|
5048
|
-
input.ignorePollAlarmFailure !== null && { ignorePollAlarmFailure: input.ignorePollAlarmFailure }));
|
|
5045
|
+
return __assign(__assign(__assign({}, (input.alarms != null && { alarms: serializeAws_json1_1AlarmList(input.alarms, context) })), (input.enabled != null && { enabled: input.enabled })), (input.ignorePollAlarmFailure != null && { ignorePollAlarmFailure: input.ignorePollAlarmFailure }));
|
|
5049
5046
|
};
|
|
5050
5047
|
var serializeAws_json1_1AlarmList = function (input, context) {
|
|
5051
5048
|
return input
|
|
@@ -5068,11 +5065,10 @@ var serializeAws_json1_1ApplicationsList = function (input, context) {
|
|
|
5068
5065
|
});
|
|
5069
5066
|
};
|
|
5070
5067
|
var serializeAws_json1_1AppSpecContent = function (input, context) {
|
|
5071
|
-
return __assign(__assign({}, (input.content
|
|
5068
|
+
return __assign(__assign({}, (input.content != null && { content: input.content })), (input.sha256 != null && { sha256: input.sha256 }));
|
|
5072
5069
|
};
|
|
5073
5070
|
var serializeAws_json1_1AutoRollbackConfiguration = function (input, context) {
|
|
5074
|
-
return __assign(__assign({}, (input.enabled
|
|
5075
|
-
input.events !== null && { events: serializeAws_json1_1AutoRollbackEventsList(input.events, context) }));
|
|
5071
|
+
return __assign(__assign({}, (input.enabled != null && { enabled: input.enabled })), (input.events != null && { events: serializeAws_json1_1AutoRollbackEventsList(input.events, context) }));
|
|
5076
5072
|
};
|
|
5077
5073
|
var serializeAws_json1_1AutoRollbackEventsList = function (input, context) {
|
|
5078
5074
|
return input
|
|
@@ -5095,157 +5091,109 @@ var serializeAws_json1_1AutoScalingGroupNameList = function (input, context) {
|
|
|
5095
5091
|
});
|
|
5096
5092
|
};
|
|
5097
5093
|
var serializeAws_json1_1BatchGetApplicationRevisionsInput = function (input, context) {
|
|
5098
|
-
return __assign(__assign({}, (input.applicationName
|
|
5099
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.revisions !== undefined &&
|
|
5100
|
-
input.revisions !== null && { revisions: serializeAws_json1_1RevisionLocationList(input.revisions, context) }));
|
|
5094
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.revisions != null && { revisions: serializeAws_json1_1RevisionLocationList(input.revisions, context) }));
|
|
5101
5095
|
};
|
|
5102
5096
|
var serializeAws_json1_1BatchGetApplicationsInput = function (input, context) {
|
|
5103
|
-
return __assign({}, (input.applicationNames
|
|
5104
|
-
input.applicationNames !== null && {
|
|
5097
|
+
return __assign({}, (input.applicationNames != null && {
|
|
5105
5098
|
applicationNames: serializeAws_json1_1ApplicationsList(input.applicationNames, context),
|
|
5106
5099
|
}));
|
|
5107
5100
|
};
|
|
5108
5101
|
var serializeAws_json1_1BatchGetDeploymentGroupsInput = function (input, context) {
|
|
5109
|
-
return __assign(__assign({}, (input.applicationName
|
|
5110
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.deploymentGroupNames !== undefined &&
|
|
5111
|
-
input.deploymentGroupNames !== null && {
|
|
5102
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.deploymentGroupNames != null && {
|
|
5112
5103
|
deploymentGroupNames: serializeAws_json1_1DeploymentGroupsList(input.deploymentGroupNames, context),
|
|
5113
5104
|
}));
|
|
5114
5105
|
};
|
|
5115
5106
|
var serializeAws_json1_1BatchGetDeploymentInstancesInput = function (input, context) {
|
|
5116
|
-
return __assign(__assign({}, (input.deploymentId
|
|
5117
|
-
input.instanceIds !== null && { instanceIds: serializeAws_json1_1InstancesList(input.instanceIds, context) }));
|
|
5107
|
+
return __assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.instanceIds != null && { instanceIds: serializeAws_json1_1InstancesList(input.instanceIds, context) }));
|
|
5118
5108
|
};
|
|
5119
5109
|
var serializeAws_json1_1BatchGetDeploymentsInput = function (input, context) {
|
|
5120
|
-
return __assign({}, (input.deploymentIds
|
|
5121
|
-
input.deploymentIds !== null && {
|
|
5110
|
+
return __assign({}, (input.deploymentIds != null && {
|
|
5122
5111
|
deploymentIds: serializeAws_json1_1DeploymentsList(input.deploymentIds, context),
|
|
5123
5112
|
}));
|
|
5124
5113
|
};
|
|
5125
5114
|
var serializeAws_json1_1BatchGetDeploymentTargetsInput = function (input, context) {
|
|
5126
|
-
return __assign(__assign({}, (input.deploymentId
|
|
5127
|
-
input.targetIds !== null && { targetIds: serializeAws_json1_1TargetIdList(input.targetIds, context) }));
|
|
5115
|
+
return __assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.targetIds != null && { targetIds: serializeAws_json1_1TargetIdList(input.targetIds, context) }));
|
|
5128
5116
|
};
|
|
5129
5117
|
var serializeAws_json1_1BatchGetOnPremisesInstancesInput = function (input, context) {
|
|
5130
|
-
return __assign({}, (input.instanceNames
|
|
5131
|
-
input.instanceNames !== null && {
|
|
5118
|
+
return __assign({}, (input.instanceNames != null && {
|
|
5132
5119
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
5133
5120
|
}));
|
|
5134
5121
|
};
|
|
5135
5122
|
var serializeAws_json1_1BlueGreenDeploymentConfiguration = function (input, context) {
|
|
5136
|
-
return __assign(__assign(__assign({}, (input.deploymentReadyOption
|
|
5137
|
-
input.deploymentReadyOption !== null && {
|
|
5123
|
+
return __assign(__assign(__assign({}, (input.deploymentReadyOption != null && {
|
|
5138
5124
|
deploymentReadyOption: serializeAws_json1_1DeploymentReadyOption(input.deploymentReadyOption, context),
|
|
5139
|
-
})), (input.greenFleetProvisioningOption
|
|
5140
|
-
input.greenFleetProvisioningOption !== null && {
|
|
5125
|
+
})), (input.greenFleetProvisioningOption != null && {
|
|
5141
5126
|
greenFleetProvisioningOption: serializeAws_json1_1GreenFleetProvisioningOption(input.greenFleetProvisioningOption, context),
|
|
5142
|
-
})), (input.terminateBlueInstancesOnDeploymentSuccess
|
|
5143
|
-
input.terminateBlueInstancesOnDeploymentSuccess !== null && {
|
|
5127
|
+
})), (input.terminateBlueInstancesOnDeploymentSuccess != null && {
|
|
5144
5128
|
terminateBlueInstancesOnDeploymentSuccess: serializeAws_json1_1BlueInstanceTerminationOption(input.terminateBlueInstancesOnDeploymentSuccess, context),
|
|
5145
5129
|
}));
|
|
5146
5130
|
};
|
|
5147
5131
|
var serializeAws_json1_1BlueInstanceTerminationOption = function (input, context) {
|
|
5148
|
-
return __assign(__assign({}, (input.action
|
|
5149
|
-
input.terminationWaitTimeInMinutes !== null && {
|
|
5132
|
+
return __assign(__assign({}, (input.action != null && { action: input.action })), (input.terminationWaitTimeInMinutes != null && {
|
|
5150
5133
|
terminationWaitTimeInMinutes: input.terminationWaitTimeInMinutes,
|
|
5151
5134
|
}));
|
|
5152
5135
|
};
|
|
5153
5136
|
var serializeAws_json1_1ContinueDeploymentInput = function (input, context) {
|
|
5154
|
-
return __assign(__assign({}, (input.deploymentId
|
|
5155
|
-
input.deploymentWaitType !== null && { deploymentWaitType: input.deploymentWaitType }));
|
|
5137
|
+
return __assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.deploymentWaitType != null && { deploymentWaitType: input.deploymentWaitType }));
|
|
5156
5138
|
};
|
|
5157
5139
|
var serializeAws_json1_1CreateApplicationInput = function (input, context) {
|
|
5158
|
-
return __assign(__assign(__assign({}, (input.applicationName
|
|
5159
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.computePlatform !== undefined &&
|
|
5160
|
-
input.computePlatform !== null && { computePlatform: input.computePlatform })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
5140
|
+
return __assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.computePlatform != null && { computePlatform: input.computePlatform })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
5161
5141
|
};
|
|
5162
5142
|
var serializeAws_json1_1CreateDeploymentConfigInput = function (input, context) {
|
|
5163
|
-
return __assign(__assign(__assign(__assign({}, (input.computePlatform
|
|
5164
|
-
input.computePlatform !== null && { computePlatform: input.computePlatform })), (input.deploymentConfigName !== undefined &&
|
|
5165
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName })), (input.minimumHealthyHosts !== undefined &&
|
|
5166
|
-
input.minimumHealthyHosts !== null && {
|
|
5143
|
+
return __assign(__assign(__assign(__assign({}, (input.computePlatform != null && { computePlatform: input.computePlatform })), (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName })), (input.minimumHealthyHosts != null && {
|
|
5167
5144
|
minimumHealthyHosts: serializeAws_json1_1MinimumHealthyHosts(input.minimumHealthyHosts, context),
|
|
5168
|
-
})), (input.trafficRoutingConfig
|
|
5169
|
-
input.trafficRoutingConfig !== null && {
|
|
5145
|
+
})), (input.trafficRoutingConfig != null && {
|
|
5170
5146
|
trafficRoutingConfig: serializeAws_json1_1TrafficRoutingConfig(input.trafficRoutingConfig, context),
|
|
5171
5147
|
}));
|
|
5172
5148
|
};
|
|
5173
5149
|
var serializeAws_json1_1CreateDeploymentGroupInput = function (input, context) {
|
|
5174
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmConfiguration
|
|
5175
|
-
input.alarmConfiguration !== null && {
|
|
5150
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmConfiguration != null && {
|
|
5176
5151
|
alarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.alarmConfiguration, context),
|
|
5177
|
-
})), (input.applicationName
|
|
5178
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration !== undefined &&
|
|
5179
|
-
input.autoRollbackConfiguration !== null && {
|
|
5152
|
+
})), (input.applicationName != null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration != null && {
|
|
5180
5153
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
5181
|
-
})), (input.autoScalingGroups
|
|
5182
|
-
input.autoScalingGroups !== null && {
|
|
5154
|
+
})), (input.autoScalingGroups != null && {
|
|
5183
5155
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
5184
|
-
})), (input.blueGreenDeploymentConfiguration
|
|
5185
|
-
input.blueGreenDeploymentConfiguration !== null && {
|
|
5156
|
+
})), (input.blueGreenDeploymentConfiguration != null && {
|
|
5186
5157
|
blueGreenDeploymentConfiguration: serializeAws_json1_1BlueGreenDeploymentConfiguration(input.blueGreenDeploymentConfiguration, context),
|
|
5187
|
-
})), (input.deploymentConfigName
|
|
5188
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentGroupName !== undefined &&
|
|
5189
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName })), (input.deploymentStyle !== undefined &&
|
|
5190
|
-
input.deploymentStyle !== null && {
|
|
5158
|
+
})), (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName })), (input.deploymentStyle != null && {
|
|
5191
5159
|
deploymentStyle: serializeAws_json1_1DeploymentStyle(input.deploymentStyle, context),
|
|
5192
|
-
})), (input.ec2TagFilters
|
|
5193
|
-
input.ec2TagFilters !== null && {
|
|
5160
|
+
})), (input.ec2TagFilters != null && {
|
|
5194
5161
|
ec2TagFilters: serializeAws_json1_1EC2TagFilterList(input.ec2TagFilters, context),
|
|
5195
|
-
})), (input.ec2TagSet
|
|
5196
|
-
input.ec2TagSet !== null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.ecsServices !== undefined &&
|
|
5197
|
-
input.ecsServices !== null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) })), (input.loadBalancerInfo !== undefined &&
|
|
5198
|
-
input.loadBalancerInfo !== null && {
|
|
5162
|
+
})), (input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.ecsServices != null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) })), (input.loadBalancerInfo != null && {
|
|
5199
5163
|
loadBalancerInfo: serializeAws_json1_1LoadBalancerInfo(input.loadBalancerInfo, context),
|
|
5200
|
-
})), (input.onPremisesInstanceTagFilters
|
|
5201
|
-
input.onPremisesInstanceTagFilters !== null && {
|
|
5164
|
+
})), (input.onPremisesInstanceTagFilters != null && {
|
|
5202
5165
|
onPremisesInstanceTagFilters: serializeAws_json1_1TagFilterList(input.onPremisesInstanceTagFilters, context),
|
|
5203
|
-
})), (input.onPremisesTagSet
|
|
5204
|
-
input.onPremisesTagSet !== null && {
|
|
5166
|
+
})), (input.onPremisesTagSet != null && {
|
|
5205
5167
|
onPremisesTagSet: serializeAws_json1_1OnPremisesTagSet(input.onPremisesTagSet, context),
|
|
5206
|
-
})), (input.outdatedInstancesStrategy
|
|
5207
|
-
input.outdatedInstancesStrategy !== null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy })), (input.serviceRoleArn !== undefined &&
|
|
5208
|
-
input.serviceRoleArn !== null && { serviceRoleArn: input.serviceRoleArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.triggerConfigurations !== undefined &&
|
|
5209
|
-
input.triggerConfigurations !== null && {
|
|
5168
|
+
})), (input.outdatedInstancesStrategy != null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy })), (input.serviceRoleArn != null && { serviceRoleArn: input.serviceRoleArn })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.triggerConfigurations != null && {
|
|
5210
5169
|
triggerConfigurations: serializeAws_json1_1TriggerConfigList(input.triggerConfigurations, context),
|
|
5211
5170
|
}));
|
|
5212
5171
|
};
|
|
5213
5172
|
var serializeAws_json1_1CreateDeploymentInput = function (input, context) {
|
|
5214
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName
|
|
5215
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration !== undefined &&
|
|
5216
|
-
input.autoRollbackConfiguration !== null && {
|
|
5173
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration != null && {
|
|
5217
5174
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
5218
|
-
})), (input.deploymentConfigName
|
|
5219
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentGroupName !== undefined &&
|
|
5220
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.fileExistsBehavior !== undefined &&
|
|
5221
|
-
input.fileExistsBehavior !== null && { fileExistsBehavior: input.fileExistsBehavior })), (input.ignoreApplicationStopFailures !== undefined &&
|
|
5222
|
-
input.ignoreApplicationStopFailures !== null && {
|
|
5175
|
+
})), (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName })), (input.description != null && { description: input.description })), (input.fileExistsBehavior != null && { fileExistsBehavior: input.fileExistsBehavior })), (input.ignoreApplicationStopFailures != null && {
|
|
5223
5176
|
ignoreApplicationStopFailures: input.ignoreApplicationStopFailures,
|
|
5224
|
-
})), (input.revision
|
|
5225
|
-
input.revision !== null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) })), (input.targetInstances !== undefined &&
|
|
5226
|
-
input.targetInstances !== null && {
|
|
5177
|
+
})), (input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) })), (input.targetInstances != null && {
|
|
5227
5178
|
targetInstances: serializeAws_json1_1TargetInstances(input.targetInstances, context),
|
|
5228
|
-
})), (input.updateOutdatedInstancesOnly
|
|
5229
|
-
|
|
5179
|
+
})), (input.updateOutdatedInstancesOnly != null && {
|
|
5180
|
+
updateOutdatedInstancesOnly: input.updateOutdatedInstancesOnly,
|
|
5181
|
+
}));
|
|
5230
5182
|
};
|
|
5231
5183
|
var serializeAws_json1_1DeleteApplicationInput = function (input, context) {
|
|
5232
|
-
return __assign({}, (input.applicationName
|
|
5233
|
-
input.applicationName !== null && { applicationName: input.applicationName }));
|
|
5184
|
+
return __assign({}, (input.applicationName != null && { applicationName: input.applicationName }));
|
|
5234
5185
|
};
|
|
5235
5186
|
var serializeAws_json1_1DeleteDeploymentConfigInput = function (input, context) {
|
|
5236
|
-
return __assign({}, (input.deploymentConfigName
|
|
5237
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }));
|
|
5187
|
+
return __assign({}, (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }));
|
|
5238
5188
|
};
|
|
5239
5189
|
var serializeAws_json1_1DeleteDeploymentGroupInput = function (input, context) {
|
|
5240
|
-
return __assign(__assign({}, (input.applicationName
|
|
5241
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.deploymentGroupName !== undefined &&
|
|
5242
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName }));
|
|
5190
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }));
|
|
5243
5191
|
};
|
|
5244
5192
|
var serializeAws_json1_1DeleteGitHubAccountTokenInput = function (input, context) {
|
|
5245
|
-
return __assign({}, (input.tokenName
|
|
5193
|
+
return __assign({}, (input.tokenName != null && { tokenName: input.tokenName }));
|
|
5246
5194
|
};
|
|
5247
5195
|
var serializeAws_json1_1DeleteResourcesByExternalIdInput = function (input, context) {
|
|
5248
|
-
return __assign({}, (input.externalId
|
|
5196
|
+
return __assign({}, (input.externalId != null && { externalId: input.externalId }));
|
|
5249
5197
|
};
|
|
5250
5198
|
var serializeAws_json1_1DeploymentGroupsList = function (input, context) {
|
|
5251
5199
|
return input
|
|
@@ -5258,9 +5206,7 @@ var serializeAws_json1_1DeploymentGroupsList = function (input, context) {
|
|
|
5258
5206
|
});
|
|
5259
5207
|
};
|
|
5260
5208
|
var serializeAws_json1_1DeploymentReadyOption = function (input, context) {
|
|
5261
|
-
return __assign(__assign({}, (input.actionOnTimeout
|
|
5262
|
-
input.actionOnTimeout !== null && { actionOnTimeout: input.actionOnTimeout })), (input.waitTimeInMinutes !== undefined &&
|
|
5263
|
-
input.waitTimeInMinutes !== null && { waitTimeInMinutes: input.waitTimeInMinutes }));
|
|
5209
|
+
return __assign(__assign({}, (input.actionOnTimeout != null && { actionOnTimeout: input.actionOnTimeout })), (input.waitTimeInMinutes != null && { waitTimeInMinutes: input.waitTimeInMinutes }));
|
|
5264
5210
|
};
|
|
5265
5211
|
var serializeAws_json1_1DeploymentsList = function (input, context) {
|
|
5266
5212
|
return input
|
|
@@ -5283,15 +5229,13 @@ var serializeAws_json1_1DeploymentStatusList = function (input, context) {
|
|
|
5283
5229
|
});
|
|
5284
5230
|
};
|
|
5285
5231
|
var serializeAws_json1_1DeploymentStyle = function (input, context) {
|
|
5286
|
-
return __assign(__assign({}, (input.deploymentOption
|
|
5287
|
-
input.deploymentOption !== null && { deploymentOption: input.deploymentOption })), (input.deploymentType !== undefined &&
|
|
5288
|
-
input.deploymentType !== null && { deploymentType: input.deploymentType }));
|
|
5232
|
+
return __assign(__assign({}, (input.deploymentOption != null && { deploymentOption: input.deploymentOption })), (input.deploymentType != null && { deploymentType: input.deploymentType }));
|
|
5289
5233
|
};
|
|
5290
5234
|
var serializeAws_json1_1DeregisterOnPremisesInstanceInput = function (input, context) {
|
|
5291
|
-
return __assign({}, (input.instanceName
|
|
5235
|
+
return __assign({}, (input.instanceName != null && { instanceName: input.instanceName }));
|
|
5292
5236
|
};
|
|
5293
5237
|
var serializeAws_json1_1EC2TagFilter = function (input, context) {
|
|
5294
|
-
return __assign(__assign(__assign({}, (input.Key
|
|
5238
|
+
return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
|
|
5295
5239
|
};
|
|
5296
5240
|
var serializeAws_json1_1EC2TagFilterList = function (input, context) {
|
|
5297
5241
|
return input
|
|
@@ -5304,8 +5248,7 @@ var serializeAws_json1_1EC2TagFilterList = function (input, context) {
|
|
|
5304
5248
|
});
|
|
5305
5249
|
};
|
|
5306
5250
|
var serializeAws_json1_1EC2TagSet = function (input, context) {
|
|
5307
|
-
return __assign({}, (input.ec2TagSetList
|
|
5308
|
-
input.ec2TagSetList !== null && {
|
|
5251
|
+
return __assign({}, (input.ec2TagSetList != null && {
|
|
5309
5252
|
ec2TagSetList: serializeAws_json1_1EC2TagSetList(input.ec2TagSetList, context),
|
|
5310
5253
|
}));
|
|
5311
5254
|
};
|
|
@@ -5320,7 +5263,7 @@ var serializeAws_json1_1EC2TagSetList = function (input, context) {
|
|
|
5320
5263
|
});
|
|
5321
5264
|
};
|
|
5322
5265
|
var serializeAws_json1_1ECSService = function (input, context) {
|
|
5323
|
-
return __assign(__assign({}, (input.clusterName
|
|
5266
|
+
return __assign(__assign({}, (input.clusterName != null && { clusterName: input.clusterName })), (input.serviceName != null && { serviceName: input.serviceName }));
|
|
5324
5267
|
};
|
|
5325
5268
|
var serializeAws_json1_1ECSServiceList = function (input, context) {
|
|
5326
5269
|
return input
|
|
@@ -5333,7 +5276,7 @@ var serializeAws_json1_1ECSServiceList = function (input, context) {
|
|
|
5333
5276
|
});
|
|
5334
5277
|
};
|
|
5335
5278
|
var serializeAws_json1_1ELBInfo = function (input, context) {
|
|
5336
|
-
return __assign({}, (input.name
|
|
5279
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
5337
5280
|
};
|
|
5338
5281
|
var serializeAws_json1_1ELBInfoList = function (input, context) {
|
|
5339
5282
|
return input
|
|
@@ -5356,40 +5299,34 @@ var serializeAws_json1_1FilterValueList = function (input, context) {
|
|
|
5356
5299
|
});
|
|
5357
5300
|
};
|
|
5358
5301
|
var serializeAws_json1_1GetApplicationInput = function (input, context) {
|
|
5359
|
-
return __assign({}, (input.applicationName
|
|
5360
|
-
input.applicationName !== null && { applicationName: input.applicationName }));
|
|
5302
|
+
return __assign({}, (input.applicationName != null && { applicationName: input.applicationName }));
|
|
5361
5303
|
};
|
|
5362
5304
|
var serializeAws_json1_1GetApplicationRevisionInput = function (input, context) {
|
|
5363
|
-
return __assign(__assign({}, (input.applicationName
|
|
5364
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.revision !== undefined &&
|
|
5365
|
-
input.revision !== null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }));
|
|
5305
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }));
|
|
5366
5306
|
};
|
|
5367
5307
|
var serializeAws_json1_1GetDeploymentConfigInput = function (input, context) {
|
|
5368
|
-
return __assign({}, (input.deploymentConfigName
|
|
5369
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }));
|
|
5308
|
+
return __assign({}, (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }));
|
|
5370
5309
|
};
|
|
5371
5310
|
var serializeAws_json1_1GetDeploymentGroupInput = function (input, context) {
|
|
5372
|
-
return __assign(__assign({}, (input.applicationName
|
|
5373
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.deploymentGroupName !== undefined &&
|
|
5374
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName }));
|
|
5311
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }));
|
|
5375
5312
|
};
|
|
5376
5313
|
var serializeAws_json1_1GetDeploymentInput = function (input, context) {
|
|
5377
|
-
return __assign({}, (input.deploymentId
|
|
5314
|
+
return __assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId }));
|
|
5378
5315
|
};
|
|
5379
5316
|
var serializeAws_json1_1GetDeploymentInstanceInput = function (input, context) {
|
|
5380
|
-
return __assign(__assign({}, (input.deploymentId
|
|
5317
|
+
return __assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.instanceId != null && { instanceId: input.instanceId }));
|
|
5381
5318
|
};
|
|
5382
5319
|
var serializeAws_json1_1GetDeploymentTargetInput = function (input, context) {
|
|
5383
|
-
return __assign(__assign({}, (input.deploymentId
|
|
5320
|
+
return __assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.targetId != null && { targetId: input.targetId }));
|
|
5384
5321
|
};
|
|
5385
5322
|
var serializeAws_json1_1GetOnPremisesInstanceInput = function (input, context) {
|
|
5386
|
-
return __assign({}, (input.instanceName
|
|
5323
|
+
return __assign({}, (input.instanceName != null && { instanceName: input.instanceName }));
|
|
5387
5324
|
};
|
|
5388
5325
|
var serializeAws_json1_1GitHubLocation = function (input, context) {
|
|
5389
|
-
return __assign(__assign({}, (input.commitId
|
|
5326
|
+
return __assign(__assign({}, (input.commitId != null && { commitId: input.commitId })), (input.repository != null && { repository: input.repository }));
|
|
5390
5327
|
};
|
|
5391
5328
|
var serializeAws_json1_1GreenFleetProvisioningOption = function (input, context) {
|
|
5392
|
-
return __assign({}, (input.action
|
|
5329
|
+
return __assign({}, (input.action != null && { action: input.action }));
|
|
5393
5330
|
};
|
|
5394
5331
|
var serializeAws_json1_1InstanceNameList = function (input, context) {
|
|
5395
5332
|
return input
|
|
@@ -5432,42 +5369,33 @@ var serializeAws_json1_1InstanceTypeList = function (input, context) {
|
|
|
5432
5369
|
});
|
|
5433
5370
|
};
|
|
5434
5371
|
var serializeAws_json1_1ListApplicationRevisionsInput = function (input, context) {
|
|
5435
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName
|
|
5436
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.deployed !== undefined && input.deployed !== null && { deployed: input.deployed })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.s3Bucket !== undefined && input.s3Bucket !== null && { s3Bucket: input.s3Bucket })), (input.s3KeyPrefix !== undefined && input.s3KeyPrefix !== null && { s3KeyPrefix: input.s3KeyPrefix })), (input.sortBy !== undefined && input.sortBy !== null && { sortBy: input.sortBy })), (input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }));
|
|
5372
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.deployed != null && { deployed: input.deployed })), (input.nextToken != null && { nextToken: input.nextToken })), (input.s3Bucket != null && { s3Bucket: input.s3Bucket })), (input.s3KeyPrefix != null && { s3KeyPrefix: input.s3KeyPrefix })), (input.sortBy != null && { sortBy: input.sortBy })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
5437
5373
|
};
|
|
5438
5374
|
var serializeAws_json1_1ListApplicationsInput = function (input, context) {
|
|
5439
|
-
return __assign({}, (input.nextToken
|
|
5375
|
+
return __assign({}, (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5440
5376
|
};
|
|
5441
5377
|
var serializeAws_json1_1ListDeploymentConfigsInput = function (input, context) {
|
|
5442
|
-
return __assign({}, (input.nextToken
|
|
5378
|
+
return __assign({}, (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5443
5379
|
};
|
|
5444
5380
|
var serializeAws_json1_1ListDeploymentGroupsInput = function (input, context) {
|
|
5445
|
-
return __assign(__assign({}, (input.applicationName
|
|
5446
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
5381
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5447
5382
|
};
|
|
5448
5383
|
var serializeAws_json1_1ListDeploymentInstancesInput = function (input, context) {
|
|
5449
|
-
return __assign(__assign(__assign(__assign({}, (input.deploymentId
|
|
5450
|
-
input.instanceStatusFilter !== null && {
|
|
5384
|
+
return __assign(__assign(__assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.instanceStatusFilter != null && {
|
|
5451
5385
|
instanceStatusFilter: serializeAws_json1_1InstanceStatusList(input.instanceStatusFilter, context),
|
|
5452
|
-
})), (input.instanceTypeFilter
|
|
5453
|
-
input.instanceTypeFilter !== null && {
|
|
5386
|
+
})), (input.instanceTypeFilter != null && {
|
|
5454
5387
|
instanceTypeFilter: serializeAws_json1_1InstanceTypeList(input.instanceTypeFilter, context),
|
|
5455
|
-
})), (input.nextToken
|
|
5388
|
+
})), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5456
5389
|
};
|
|
5457
5390
|
var serializeAws_json1_1ListDeploymentsInput = function (input, context) {
|
|
5458
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName
|
|
5459
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.createTimeRange !== undefined &&
|
|
5460
|
-
input.createTimeRange !== null && {
|
|
5391
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.createTimeRange != null && {
|
|
5461
5392
|
createTimeRange: serializeAws_json1_1TimeRange(input.createTimeRange, context),
|
|
5462
|
-
})), (input.deploymentGroupName
|
|
5463
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName })), (input.externalId !== undefined && input.externalId !== null && { externalId: input.externalId })), (input.includeOnlyStatuses !== undefined &&
|
|
5464
|
-
input.includeOnlyStatuses !== null && {
|
|
5393
|
+
})), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName })), (input.externalId != null && { externalId: input.externalId })), (input.includeOnlyStatuses != null && {
|
|
5465
5394
|
includeOnlyStatuses: serializeAws_json1_1DeploymentStatusList(input.includeOnlyStatuses, context),
|
|
5466
|
-
})), (input.nextToken
|
|
5395
|
+
})), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5467
5396
|
};
|
|
5468
5397
|
var serializeAws_json1_1ListDeploymentTargetsInput = function (input, context) {
|
|
5469
|
-
return __assign(__assign(__assign({}, (input.deploymentId
|
|
5470
|
-
input.targetFilters !== null && {
|
|
5398
|
+
return __assign(__assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.nextToken != null && { nextToken: input.nextToken })), (input.targetFilters != null && {
|
|
5471
5399
|
targetFilters: serializeAws_json1_1TargetFilters(input.targetFilters, context),
|
|
5472
5400
|
}));
|
|
5473
5401
|
};
|
|
@@ -5482,32 +5410,26 @@ var serializeAws_json1_1ListenerArnList = function (input, context) {
|
|
|
5482
5410
|
});
|
|
5483
5411
|
};
|
|
5484
5412
|
var serializeAws_json1_1ListGitHubAccountTokenNamesInput = function (input, context) {
|
|
5485
|
-
return __assign({}, (input.nextToken
|
|
5413
|
+
return __assign({}, (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5486
5414
|
};
|
|
5487
5415
|
var serializeAws_json1_1ListOnPremisesInstancesInput = function (input, context) {
|
|
5488
|
-
return __assign(__assign(__assign({}, (input.nextToken
|
|
5489
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus })), (input.tagFilters !== undefined &&
|
|
5490
|
-
input.tagFilters !== null && { tagFilters: serializeAws_json1_1TagFilterList(input.tagFilters, context) }));
|
|
5416
|
+
return __assign(__assign(__assign({}, (input.nextToken != null && { nextToken: input.nextToken })), (input.registrationStatus != null && { registrationStatus: input.registrationStatus })), (input.tagFilters != null && { tagFilters: serializeAws_json1_1TagFilterList(input.tagFilters, context) }));
|
|
5491
5417
|
};
|
|
5492
5418
|
var serializeAws_json1_1ListTagsForResourceInput = function (input, context) {
|
|
5493
|
-
return __assign(__assign({}, (input.NextToken
|
|
5419
|
+
return __assign(__assign({}, (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
5494
5420
|
};
|
|
5495
5421
|
var serializeAws_json1_1LoadBalancerInfo = function (input, context) {
|
|
5496
|
-
return __assign(__assign(__assign({}, (input.elbInfoList
|
|
5497
|
-
input.elbInfoList !== null && { elbInfoList: serializeAws_json1_1ELBInfoList(input.elbInfoList, context) })), (input.targetGroupInfoList !== undefined &&
|
|
5498
|
-
input.targetGroupInfoList !== null && {
|
|
5422
|
+
return __assign(__assign(__assign({}, (input.elbInfoList != null && { elbInfoList: serializeAws_json1_1ELBInfoList(input.elbInfoList, context) })), (input.targetGroupInfoList != null && {
|
|
5499
5423
|
targetGroupInfoList: serializeAws_json1_1TargetGroupInfoList(input.targetGroupInfoList, context),
|
|
5500
|
-
})), (input.targetGroupPairInfoList
|
|
5501
|
-
input.targetGroupPairInfoList !== null && {
|
|
5424
|
+
})), (input.targetGroupPairInfoList != null && {
|
|
5502
5425
|
targetGroupPairInfoList: serializeAws_json1_1TargetGroupPairInfoList(input.targetGroupPairInfoList, context),
|
|
5503
5426
|
}));
|
|
5504
5427
|
};
|
|
5505
5428
|
var serializeAws_json1_1MinimumHealthyHosts = function (input, context) {
|
|
5506
|
-
return __assign(__assign({}, (input.type
|
|
5429
|
+
return __assign(__assign({}, (input.type != null && { type: input.type })), (input.value != null && { value: input.value }));
|
|
5507
5430
|
};
|
|
5508
5431
|
var serializeAws_json1_1OnPremisesTagSet = function (input, context) {
|
|
5509
|
-
return __assign({}, (input.onPremisesTagSetList
|
|
5510
|
-
input.onPremisesTagSetList !== null && {
|
|
5432
|
+
return __assign({}, (input.onPremisesTagSetList != null && {
|
|
5511
5433
|
onPremisesTagSetList: serializeAws_json1_1OnPremisesTagSetList(input.onPremisesTagSetList, context),
|
|
5512
5434
|
}));
|
|
5513
5435
|
};
|
|
@@ -5522,38 +5444,30 @@ var serializeAws_json1_1OnPremisesTagSetList = function (input, context) {
|
|
|
5522
5444
|
});
|
|
5523
5445
|
};
|
|
5524
5446
|
var serializeAws_json1_1PutLifecycleEventHookExecutionStatusInput = function (input, context) {
|
|
5525
|
-
return __assign(__assign(__assign({}, (input.deploymentId
|
|
5526
|
-
input.lifecycleEventHookExecutionId !== null && {
|
|
5447
|
+
return __assign(__assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.lifecycleEventHookExecutionId != null && {
|
|
5527
5448
|
lifecycleEventHookExecutionId: input.lifecycleEventHookExecutionId,
|
|
5528
|
-
})), (input.status
|
|
5449
|
+
})), (input.status != null && { status: input.status }));
|
|
5529
5450
|
};
|
|
5530
5451
|
var serializeAws_json1_1RawString = function (input, context) {
|
|
5531
|
-
return __assign(__assign({}, (input.content
|
|
5452
|
+
return __assign(__assign({}, (input.content != null && { content: input.content })), (input.sha256 != null && { sha256: input.sha256 }));
|
|
5532
5453
|
};
|
|
5533
5454
|
var serializeAws_json1_1RegisterApplicationRevisionInput = function (input, context) {
|
|
5534
|
-
return __assign(__assign(__assign({}, (input.applicationName
|
|
5535
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.revision !== undefined &&
|
|
5536
|
-
input.revision !== null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }));
|
|
5455
|
+
return __assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.description != null && { description: input.description })), (input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }));
|
|
5537
5456
|
};
|
|
5538
5457
|
var serializeAws_json1_1RegisterOnPremisesInstanceInput = function (input, context) {
|
|
5539
|
-
return __assign(__assign(__assign({}, (input.iamSessionArn
|
|
5458
|
+
return __assign(__assign(__assign({}, (input.iamSessionArn != null && { iamSessionArn: input.iamSessionArn })), (input.iamUserArn != null && { iamUserArn: input.iamUserArn })), (input.instanceName != null && { instanceName: input.instanceName }));
|
|
5540
5459
|
};
|
|
5541
5460
|
var serializeAws_json1_1RemoveTagsFromOnPremisesInstancesInput = function (input, context) {
|
|
5542
|
-
return __assign(__assign({}, (input.instanceNames
|
|
5543
|
-
input.instanceNames !== null && {
|
|
5461
|
+
return __assign(__assign({}, (input.instanceNames != null && {
|
|
5544
5462
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
5545
|
-
})), (input.tags
|
|
5463
|
+
})), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
5546
5464
|
};
|
|
5547
5465
|
var serializeAws_json1_1RevisionLocation = function (input, context) {
|
|
5548
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.appSpecContent
|
|
5549
|
-
input.appSpecContent !== null && {
|
|
5466
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.appSpecContent != null && {
|
|
5550
5467
|
appSpecContent: serializeAws_json1_1AppSpecContent(input.appSpecContent, context),
|
|
5551
|
-
})), (input.gitHubLocation
|
|
5552
|
-
input.gitHubLocation !== null && {
|
|
5468
|
+
})), (input.gitHubLocation != null && {
|
|
5553
5469
|
gitHubLocation: serializeAws_json1_1GitHubLocation(input.gitHubLocation, context),
|
|
5554
|
-
})), (input.revisionType
|
|
5555
|
-
input.s3Location !== null && { s3Location: serializeAws_json1_1S3Location(input.s3Location, context) })), (input.string !== undefined &&
|
|
5556
|
-
input.string !== null && { string: serializeAws_json1_1RawString(input.string, context) }));
|
|
5470
|
+
})), (input.revisionType != null && { revisionType: input.revisionType })), (input.s3Location != null && { s3Location: serializeAws_json1_1S3Location(input.s3Location, context) })), (input.string != null && { string: serializeAws_json1_1RawString(input.string, context) }));
|
|
5557
5471
|
};
|
|
5558
5472
|
var serializeAws_json1_1RevisionLocationList = function (input, context) {
|
|
5559
5473
|
return input
|
|
@@ -5566,20 +5480,19 @@ var serializeAws_json1_1RevisionLocationList = function (input, context) {
|
|
|
5566
5480
|
});
|
|
5567
5481
|
};
|
|
5568
5482
|
var serializeAws_json1_1S3Location = function (input, context) {
|
|
5569
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.bucket
|
|
5483
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.bucket != null && { bucket: input.bucket })), (input.bundleType != null && { bundleType: input.bundleType })), (input.eTag != null && { eTag: input.eTag })), (input.key != null && { key: input.key })), (input.version != null && { version: input.version }));
|
|
5570
5484
|
};
|
|
5571
5485
|
var serializeAws_json1_1SkipWaitTimeForInstanceTerminationInput = function (input, context) {
|
|
5572
|
-
return __assign({}, (input.deploymentId
|
|
5486
|
+
return __assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId }));
|
|
5573
5487
|
};
|
|
5574
5488
|
var serializeAws_json1_1StopDeploymentInput = function (input, context) {
|
|
5575
|
-
return __assign(__assign({}, (input.autoRollbackEnabled
|
|
5576
|
-
input.autoRollbackEnabled !== null && { autoRollbackEnabled: input.autoRollbackEnabled })), (input.deploymentId !== undefined && input.deploymentId !== null && { deploymentId: input.deploymentId }));
|
|
5489
|
+
return __assign(__assign({}, (input.autoRollbackEnabled != null && { autoRollbackEnabled: input.autoRollbackEnabled })), (input.deploymentId != null && { deploymentId: input.deploymentId }));
|
|
5577
5490
|
};
|
|
5578
5491
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
5579
|
-
return __assign(__assign({}, (input.Key
|
|
5492
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
5580
5493
|
};
|
|
5581
5494
|
var serializeAws_json1_1TagFilter = function (input, context) {
|
|
5582
|
-
return __assign(__assign(__assign({}, (input.Key
|
|
5495
|
+
return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
|
|
5583
5496
|
};
|
|
5584
5497
|
var serializeAws_json1_1TagFilterList = function (input, context) {
|
|
5585
5498
|
return input
|
|
@@ -5612,7 +5525,7 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
5612
5525
|
});
|
|
5613
5526
|
};
|
|
5614
5527
|
var serializeAws_json1_1TagResourceInput = function (input, context) {
|
|
5615
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5528
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5616
5529
|
};
|
|
5617
5530
|
var serializeAws_json1_1TargetFilters = function (input, context) {
|
|
5618
5531
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -5625,7 +5538,7 @@ var serializeAws_json1_1TargetFilters = function (input, context) {
|
|
|
5625
5538
|
}, {});
|
|
5626
5539
|
};
|
|
5627
5540
|
var serializeAws_json1_1TargetGroupInfo = function (input, context) {
|
|
5628
|
-
return __assign({}, (input.name
|
|
5541
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
5629
5542
|
};
|
|
5630
5543
|
var serializeAws_json1_1TargetGroupInfoList = function (input, context) {
|
|
5631
5544
|
return input
|
|
@@ -5638,14 +5551,11 @@ var serializeAws_json1_1TargetGroupInfoList = function (input, context) {
|
|
|
5638
5551
|
});
|
|
5639
5552
|
};
|
|
5640
5553
|
var serializeAws_json1_1TargetGroupPairInfo = function (input, context) {
|
|
5641
|
-
return __assign(__assign(__assign({}, (input.prodTrafficRoute
|
|
5642
|
-
input.prodTrafficRoute !== null && {
|
|
5554
|
+
return __assign(__assign(__assign({}, (input.prodTrafficRoute != null && {
|
|
5643
5555
|
prodTrafficRoute: serializeAws_json1_1TrafficRoute(input.prodTrafficRoute, context),
|
|
5644
|
-
})), (input.targetGroups
|
|
5645
|
-
input.targetGroups !== null && {
|
|
5556
|
+
})), (input.targetGroups != null && {
|
|
5646
5557
|
targetGroups: serializeAws_json1_1TargetGroupInfoList(input.targetGroups, context),
|
|
5647
|
-
})), (input.testTrafficRoute
|
|
5648
|
-
input.testTrafficRoute !== null && {
|
|
5558
|
+
})), (input.testTrafficRoute != null && {
|
|
5649
5559
|
testTrafficRoute: serializeAws_json1_1TrafficRoute(input.testTrafficRoute, context),
|
|
5650
5560
|
}));
|
|
5651
5561
|
};
|
|
@@ -5670,47 +5580,35 @@ var serializeAws_json1_1TargetIdList = function (input, context) {
|
|
|
5670
5580
|
});
|
|
5671
5581
|
};
|
|
5672
5582
|
var serializeAws_json1_1TargetInstances = function (input, context) {
|
|
5673
|
-
return __assign(__assign(__assign({}, (input.autoScalingGroups
|
|
5674
|
-
input.autoScalingGroups !== null && {
|
|
5583
|
+
return __assign(__assign(__assign({}, (input.autoScalingGroups != null && {
|
|
5675
5584
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
5676
|
-
})), (input.ec2TagSet
|
|
5677
|
-
input.ec2TagSet !== null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.tagFilters !== undefined &&
|
|
5678
|
-
input.tagFilters !== null && { tagFilters: serializeAws_json1_1EC2TagFilterList(input.tagFilters, context) }));
|
|
5585
|
+
})), (input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.tagFilters != null && { tagFilters: serializeAws_json1_1EC2TagFilterList(input.tagFilters, context) }));
|
|
5679
5586
|
};
|
|
5680
5587
|
var serializeAws_json1_1TimeBasedCanary = function (input, context) {
|
|
5681
|
-
return __assign(__assign({}, (input.canaryInterval
|
|
5682
|
-
input.canaryInterval !== null && { canaryInterval: input.canaryInterval })), (input.canaryPercentage !== undefined &&
|
|
5683
|
-
input.canaryPercentage !== null && { canaryPercentage: input.canaryPercentage }));
|
|
5588
|
+
return __assign(__assign({}, (input.canaryInterval != null && { canaryInterval: input.canaryInterval })), (input.canaryPercentage != null && { canaryPercentage: input.canaryPercentage }));
|
|
5684
5589
|
};
|
|
5685
5590
|
var serializeAws_json1_1TimeBasedLinear = function (input, context) {
|
|
5686
|
-
return __assign(__assign({}, (input.linearInterval
|
|
5687
|
-
input.linearInterval !== null && { linearInterval: input.linearInterval })), (input.linearPercentage !== undefined &&
|
|
5688
|
-
input.linearPercentage !== null && { linearPercentage: input.linearPercentage }));
|
|
5591
|
+
return __assign(__assign({}, (input.linearInterval != null && { linearInterval: input.linearInterval })), (input.linearPercentage != null && { linearPercentage: input.linearPercentage }));
|
|
5689
5592
|
};
|
|
5690
5593
|
var serializeAws_json1_1TimeRange = function (input, context) {
|
|
5691
|
-
return __assign(__assign({}, (input.end
|
|
5594
|
+
return __assign(__assign({}, (input.end != null && { end: Math.round(input.end.getTime() / 1000) })), (input.start != null && { start: Math.round(input.start.getTime() / 1000) }));
|
|
5692
5595
|
};
|
|
5693
5596
|
var serializeAws_json1_1TrafficRoute = function (input, context) {
|
|
5694
|
-
return __assign({}, (input.listenerArns
|
|
5695
|
-
input.listenerArns !== null && {
|
|
5597
|
+
return __assign({}, (input.listenerArns != null && {
|
|
5696
5598
|
listenerArns: serializeAws_json1_1ListenerArnList(input.listenerArns, context),
|
|
5697
5599
|
}));
|
|
5698
5600
|
};
|
|
5699
5601
|
var serializeAws_json1_1TrafficRoutingConfig = function (input, context) {
|
|
5700
|
-
return __assign(__assign(__assign({}, (input.timeBasedCanary
|
|
5701
|
-
input.timeBasedCanary !== null && {
|
|
5602
|
+
return __assign(__assign(__assign({}, (input.timeBasedCanary != null && {
|
|
5702
5603
|
timeBasedCanary: serializeAws_json1_1TimeBasedCanary(input.timeBasedCanary, context),
|
|
5703
|
-
})), (input.timeBasedLinear
|
|
5704
|
-
input.timeBasedLinear !== null && {
|
|
5604
|
+
})), (input.timeBasedLinear != null && {
|
|
5705
5605
|
timeBasedLinear: serializeAws_json1_1TimeBasedLinear(input.timeBasedLinear, context),
|
|
5706
|
-
})), (input.type
|
|
5606
|
+
})), (input.type != null && { type: input.type }));
|
|
5707
5607
|
};
|
|
5708
5608
|
var serializeAws_json1_1TriggerConfig = function (input, context) {
|
|
5709
|
-
return __assign(__assign(__assign({}, (input.triggerEvents
|
|
5710
|
-
input.triggerEvents !== null && {
|
|
5609
|
+
return __assign(__assign(__assign({}, (input.triggerEvents != null && {
|
|
5711
5610
|
triggerEvents: serializeAws_json1_1TriggerEventTypeList(input.triggerEvents, context),
|
|
5712
|
-
})), (input.triggerName
|
|
5713
|
-
input.triggerTargetArn !== null && { triggerTargetArn: input.triggerTargetArn }));
|
|
5611
|
+
})), (input.triggerName != null && { triggerName: input.triggerName })), (input.triggerTargetArn != null && { triggerTargetArn: input.triggerTargetArn }));
|
|
5714
5612
|
};
|
|
5715
5613
|
var serializeAws_json1_1TriggerConfigList = function (input, context) {
|
|
5716
5614
|
return input
|
|
@@ -5733,52 +5631,31 @@ var serializeAws_json1_1TriggerEventTypeList = function (input, context) {
|
|
|
5733
5631
|
});
|
|
5734
5632
|
};
|
|
5735
5633
|
var serializeAws_json1_1UntagResourceInput = function (input, context) {
|
|
5736
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5737
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5634
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5738
5635
|
};
|
|
5739
5636
|
var serializeAws_json1_1UpdateApplicationInput = function (input, context) {
|
|
5740
|
-
return __assign(__assign({}, (input.applicationName
|
|
5741
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.newApplicationName !== undefined &&
|
|
5742
|
-
input.newApplicationName !== null && { newApplicationName: input.newApplicationName }));
|
|
5637
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.newApplicationName != null && { newApplicationName: input.newApplicationName }));
|
|
5743
5638
|
};
|
|
5744
5639
|
var serializeAws_json1_1UpdateDeploymentGroupInput = function (input, context) {
|
|
5745
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmConfiguration
|
|
5746
|
-
input.alarmConfiguration !== null && {
|
|
5640
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmConfiguration != null && {
|
|
5747
5641
|
alarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.alarmConfiguration, context),
|
|
5748
|
-
})), (input.applicationName
|
|
5749
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration !== undefined &&
|
|
5750
|
-
input.autoRollbackConfiguration !== null && {
|
|
5642
|
+
})), (input.applicationName != null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration != null && {
|
|
5751
5643
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
5752
|
-
})), (input.autoScalingGroups
|
|
5753
|
-
input.autoScalingGroups !== null && {
|
|
5644
|
+
})), (input.autoScalingGroups != null && {
|
|
5754
5645
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
5755
|
-
})), (input.blueGreenDeploymentConfiguration
|
|
5756
|
-
input.blueGreenDeploymentConfiguration !== null && {
|
|
5646
|
+
})), (input.blueGreenDeploymentConfiguration != null && {
|
|
5757
5647
|
blueGreenDeploymentConfiguration: serializeAws_json1_1BlueGreenDeploymentConfiguration(input.blueGreenDeploymentConfiguration, context),
|
|
5758
|
-
})), (input.currentDeploymentGroupName
|
|
5759
|
-
input.currentDeploymentGroupName !== null && { currentDeploymentGroupName: input.currentDeploymentGroupName })), (input.deploymentConfigName !== undefined &&
|
|
5760
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentStyle !== undefined &&
|
|
5761
|
-
input.deploymentStyle !== null && {
|
|
5648
|
+
})), (input.currentDeploymentGroupName != null && { currentDeploymentGroupName: input.currentDeploymentGroupName })), (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentStyle != null && {
|
|
5762
5649
|
deploymentStyle: serializeAws_json1_1DeploymentStyle(input.deploymentStyle, context),
|
|
5763
|
-
})), (input.ec2TagFilters
|
|
5764
|
-
input.ec2TagFilters !== null && {
|
|
5650
|
+
})), (input.ec2TagFilters != null && {
|
|
5765
5651
|
ec2TagFilters: serializeAws_json1_1EC2TagFilterList(input.ec2TagFilters, context),
|
|
5766
|
-
})), (input.ec2TagSet
|
|
5767
|
-
input.ec2TagSet !== null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.ecsServices !== undefined &&
|
|
5768
|
-
input.ecsServices !== null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) })), (input.loadBalancerInfo !== undefined &&
|
|
5769
|
-
input.loadBalancerInfo !== null && {
|
|
5652
|
+
})), (input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.ecsServices != null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) })), (input.loadBalancerInfo != null && {
|
|
5770
5653
|
loadBalancerInfo: serializeAws_json1_1LoadBalancerInfo(input.loadBalancerInfo, context),
|
|
5771
|
-
})), (input.newDeploymentGroupName
|
|
5772
|
-
input.newDeploymentGroupName !== null && { newDeploymentGroupName: input.newDeploymentGroupName })), (input.onPremisesInstanceTagFilters !== undefined &&
|
|
5773
|
-
input.onPremisesInstanceTagFilters !== null && {
|
|
5654
|
+
})), (input.newDeploymentGroupName != null && { newDeploymentGroupName: input.newDeploymentGroupName })), (input.onPremisesInstanceTagFilters != null && {
|
|
5774
5655
|
onPremisesInstanceTagFilters: serializeAws_json1_1TagFilterList(input.onPremisesInstanceTagFilters, context),
|
|
5775
|
-
})), (input.onPremisesTagSet
|
|
5776
|
-
input.onPremisesTagSet !== null && {
|
|
5656
|
+
})), (input.onPremisesTagSet != null && {
|
|
5777
5657
|
onPremisesTagSet: serializeAws_json1_1OnPremisesTagSet(input.onPremisesTagSet, context),
|
|
5778
|
-
})), (input.outdatedInstancesStrategy
|
|
5779
|
-
input.outdatedInstancesStrategy !== null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy })), (input.serviceRoleArn !== undefined &&
|
|
5780
|
-
input.serviceRoleArn !== null && { serviceRoleArn: input.serviceRoleArn })), (input.triggerConfigurations !== undefined &&
|
|
5781
|
-
input.triggerConfigurations !== null && {
|
|
5658
|
+
})), (input.outdatedInstancesStrategy != null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy })), (input.serviceRoleArn != null && { serviceRoleArn: input.serviceRoleArn })), (input.triggerConfigurations != null && {
|
|
5782
5659
|
triggerConfigurations: serializeAws_json1_1TriggerConfigList(input.triggerConfigurations, context),
|
|
5783
5660
|
}));
|
|
5784
5661
|
};
|
|
@@ -5789,9 +5666,7 @@ var deserializeAws_json1_1Alarm = function (output, context) {
|
|
|
5789
5666
|
};
|
|
5790
5667
|
var deserializeAws_json1_1AlarmConfiguration = function (output, context) {
|
|
5791
5668
|
return {
|
|
5792
|
-
alarms: output.alarms
|
|
5793
|
-
? deserializeAws_json1_1AlarmList(output.alarms, context)
|
|
5794
|
-
: undefined,
|
|
5669
|
+
alarms: output.alarms != null ? deserializeAws_json1_1AlarmList(output.alarms, context) : undefined,
|
|
5795
5670
|
enabled: __expectBoolean(output.enabled),
|
|
5796
5671
|
ignorePollAlarmFailure: __expectBoolean(output.ignorePollAlarmFailure),
|
|
5797
5672
|
};
|
|
@@ -5827,9 +5702,7 @@ var deserializeAws_json1_1ApplicationInfo = function (output, context) {
|
|
|
5827
5702
|
applicationId: __expectString(output.applicationId),
|
|
5828
5703
|
applicationName: __expectString(output.applicationName),
|
|
5829
5704
|
computePlatform: __expectString(output.computePlatform),
|
|
5830
|
-
createTime: output.createTime
|
|
5831
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
5832
|
-
: undefined,
|
|
5705
|
+
createTime: output.createTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime))) : undefined,
|
|
5833
5706
|
gitHubAccountName: __expectString(output.gitHubAccountName),
|
|
5834
5707
|
linkedToGitHub: __expectBoolean(output.linkedToGitHub),
|
|
5835
5708
|
};
|
|
@@ -5880,9 +5753,7 @@ var deserializeAws_json1_1ArnNotSupportedException = function (output, context)
|
|
|
5880
5753
|
var deserializeAws_json1_1AutoRollbackConfiguration = function (output, context) {
|
|
5881
5754
|
return {
|
|
5882
5755
|
enabled: __expectBoolean(output.enabled),
|
|
5883
|
-
events: output.events
|
|
5884
|
-
? deserializeAws_json1_1AutoRollbackEventsList(output.events, context)
|
|
5885
|
-
: undefined,
|
|
5756
|
+
events: output.events != null ? deserializeAws_json1_1AutoRollbackEventsList(output.events, context) : undefined,
|
|
5886
5757
|
};
|
|
5887
5758
|
};
|
|
5888
5759
|
var deserializeAws_json1_1AutoRollbackEventsList = function (output, context) {
|
|
@@ -5928,21 +5799,19 @@ var deserializeAws_json1_1BatchGetApplicationRevisionsOutput = function (output,
|
|
|
5928
5799
|
return {
|
|
5929
5800
|
applicationName: __expectString(output.applicationName),
|
|
5930
5801
|
errorMessage: __expectString(output.errorMessage),
|
|
5931
|
-
revisions: output.revisions
|
|
5932
|
-
? deserializeAws_json1_1RevisionInfoList(output.revisions, context)
|
|
5933
|
-
: undefined,
|
|
5802
|
+
revisions: output.revisions != null ? deserializeAws_json1_1RevisionInfoList(output.revisions, context) : undefined,
|
|
5934
5803
|
};
|
|
5935
5804
|
};
|
|
5936
5805
|
var deserializeAws_json1_1BatchGetApplicationsOutput = function (output, context) {
|
|
5937
5806
|
return {
|
|
5938
|
-
applicationsInfo: output.applicationsInfo
|
|
5807
|
+
applicationsInfo: output.applicationsInfo != null
|
|
5939
5808
|
? deserializeAws_json1_1ApplicationsInfoList(output.applicationsInfo, context)
|
|
5940
5809
|
: undefined,
|
|
5941
5810
|
};
|
|
5942
5811
|
};
|
|
5943
5812
|
var deserializeAws_json1_1BatchGetDeploymentGroupsOutput = function (output, context) {
|
|
5944
5813
|
return {
|
|
5945
|
-
deploymentGroupsInfo: output.deploymentGroupsInfo
|
|
5814
|
+
deploymentGroupsInfo: output.deploymentGroupsInfo != null
|
|
5946
5815
|
? deserializeAws_json1_1DeploymentGroupInfoList(output.deploymentGroupsInfo, context)
|
|
5947
5816
|
: undefined,
|
|
5948
5817
|
errorMessage: __expectString(output.errorMessage),
|
|
@@ -5951,30 +5820,28 @@ var deserializeAws_json1_1BatchGetDeploymentGroupsOutput = function (output, con
|
|
|
5951
5820
|
var deserializeAws_json1_1BatchGetDeploymentInstancesOutput = function (output, context) {
|
|
5952
5821
|
return {
|
|
5953
5822
|
errorMessage: __expectString(output.errorMessage),
|
|
5954
|
-
instancesSummary: output.instancesSummary
|
|
5823
|
+
instancesSummary: output.instancesSummary != null
|
|
5955
5824
|
? deserializeAws_json1_1InstanceSummaryList(output.instancesSummary, context)
|
|
5956
5825
|
: undefined,
|
|
5957
5826
|
};
|
|
5958
5827
|
};
|
|
5959
5828
|
var deserializeAws_json1_1BatchGetDeploymentsOutput = function (output, context) {
|
|
5960
5829
|
return {
|
|
5961
|
-
deploymentsInfo: output.deploymentsInfo
|
|
5830
|
+
deploymentsInfo: output.deploymentsInfo != null
|
|
5962
5831
|
? deserializeAws_json1_1DeploymentsInfoList(output.deploymentsInfo, context)
|
|
5963
5832
|
: undefined,
|
|
5964
5833
|
};
|
|
5965
5834
|
};
|
|
5966
5835
|
var deserializeAws_json1_1BatchGetDeploymentTargetsOutput = function (output, context) {
|
|
5967
5836
|
return {
|
|
5968
|
-
deploymentTargets: output.deploymentTargets
|
|
5837
|
+
deploymentTargets: output.deploymentTargets != null
|
|
5969
5838
|
? deserializeAws_json1_1DeploymentTargetList(output.deploymentTargets, context)
|
|
5970
5839
|
: undefined,
|
|
5971
5840
|
};
|
|
5972
5841
|
};
|
|
5973
5842
|
var deserializeAws_json1_1BatchGetOnPremisesInstancesOutput = function (output, context) {
|
|
5974
5843
|
return {
|
|
5975
|
-
instanceInfos: output.instanceInfos
|
|
5976
|
-
? deserializeAws_json1_1InstanceInfoList(output.instanceInfos, context)
|
|
5977
|
-
: undefined,
|
|
5844
|
+
instanceInfos: output.instanceInfos != null ? deserializeAws_json1_1InstanceInfoList(output.instanceInfos, context) : undefined,
|
|
5978
5845
|
};
|
|
5979
5846
|
};
|
|
5980
5847
|
var deserializeAws_json1_1BatchLimitExceededException = function (output, context) {
|
|
@@ -5984,14 +5851,13 @@ var deserializeAws_json1_1BatchLimitExceededException = function (output, contex
|
|
|
5984
5851
|
};
|
|
5985
5852
|
var deserializeAws_json1_1BlueGreenDeploymentConfiguration = function (output, context) {
|
|
5986
5853
|
return {
|
|
5987
|
-
deploymentReadyOption: output.deploymentReadyOption
|
|
5854
|
+
deploymentReadyOption: output.deploymentReadyOption != null
|
|
5988
5855
|
? deserializeAws_json1_1DeploymentReadyOption(output.deploymentReadyOption, context)
|
|
5989
5856
|
: undefined,
|
|
5990
|
-
greenFleetProvisioningOption: output.greenFleetProvisioningOption
|
|
5857
|
+
greenFleetProvisioningOption: output.greenFleetProvisioningOption != null
|
|
5991
5858
|
? deserializeAws_json1_1GreenFleetProvisioningOption(output.greenFleetProvisioningOption, context)
|
|
5992
5859
|
: undefined,
|
|
5993
|
-
terminateBlueInstancesOnDeploymentSuccess: output.terminateBlueInstancesOnDeploymentSuccess
|
|
5994
|
-
output.terminateBlueInstancesOnDeploymentSuccess !== null
|
|
5860
|
+
terminateBlueInstancesOnDeploymentSuccess: output.terminateBlueInstancesOnDeploymentSuccess != null
|
|
5995
5861
|
? deserializeAws_json1_1BlueInstanceTerminationOption(output.terminateBlueInstancesOnDeploymentSuccess, context)
|
|
5996
5862
|
: undefined,
|
|
5997
5863
|
};
|
|
@@ -6010,10 +5876,10 @@ var deserializeAws_json1_1BucketNameFilterRequiredException = function (output,
|
|
|
6010
5876
|
var deserializeAws_json1_1CloudFormationTarget = function (output, context) {
|
|
6011
5877
|
return {
|
|
6012
5878
|
deploymentId: __expectString(output.deploymentId),
|
|
6013
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
5879
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6014
5880
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
6015
5881
|
: undefined,
|
|
6016
|
-
lifecycleEvents: output.lifecycleEvents
|
|
5882
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6017
5883
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6018
5884
|
: undefined,
|
|
6019
5885
|
resourceType: __expectString(output.resourceType),
|
|
@@ -6044,7 +5910,7 @@ var deserializeAws_json1_1CreateDeploymentOutput = function (output, context) {
|
|
|
6044
5910
|
};
|
|
6045
5911
|
var deserializeAws_json1_1DeleteDeploymentGroupOutput = function (output, context) {
|
|
6046
5912
|
return {
|
|
6047
|
-
hooksNotCleanedUp: output.hooksNotCleanedUp
|
|
5913
|
+
hooksNotCleanedUp: output.hooksNotCleanedUp != null
|
|
6048
5914
|
? deserializeAws_json1_1AutoScalingGroupList(output.hooksNotCleanedUp, context)
|
|
6049
5915
|
: undefined,
|
|
6050
5916
|
};
|
|
@@ -6075,15 +5941,13 @@ var deserializeAws_json1_1DeploymentConfigDoesNotExistException = function (outp
|
|
|
6075
5941
|
var deserializeAws_json1_1DeploymentConfigInfo = function (output, context) {
|
|
6076
5942
|
return {
|
|
6077
5943
|
computePlatform: __expectString(output.computePlatform),
|
|
6078
|
-
createTime: output.createTime
|
|
6079
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
6080
|
-
: undefined,
|
|
5944
|
+
createTime: output.createTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime))) : undefined,
|
|
6081
5945
|
deploymentConfigId: __expectString(output.deploymentConfigId),
|
|
6082
5946
|
deploymentConfigName: __expectString(output.deploymentConfigName),
|
|
6083
|
-
minimumHealthyHosts: output.minimumHealthyHosts
|
|
5947
|
+
minimumHealthyHosts: output.minimumHealthyHosts != null
|
|
6084
5948
|
? deserializeAws_json1_1MinimumHealthyHosts(output.minimumHealthyHosts, context)
|
|
6085
5949
|
: undefined,
|
|
6086
|
-
trafficRoutingConfig: output.trafficRoutingConfig
|
|
5950
|
+
trafficRoutingConfig: output.trafficRoutingConfig != null
|
|
6087
5951
|
? deserializeAws_json1_1TrafficRoutingConfig(output.trafficRoutingConfig, context)
|
|
6088
5952
|
: undefined,
|
|
6089
5953
|
};
|
|
@@ -6131,56 +5995,50 @@ var deserializeAws_json1_1DeploymentGroupDoesNotExistException = function (outpu
|
|
|
6131
5995
|
};
|
|
6132
5996
|
var deserializeAws_json1_1DeploymentGroupInfo = function (output, context) {
|
|
6133
5997
|
return {
|
|
6134
|
-
alarmConfiguration: output.alarmConfiguration
|
|
5998
|
+
alarmConfiguration: output.alarmConfiguration != null
|
|
6135
5999
|
? deserializeAws_json1_1AlarmConfiguration(output.alarmConfiguration, context)
|
|
6136
6000
|
: undefined,
|
|
6137
6001
|
applicationName: __expectString(output.applicationName),
|
|
6138
|
-
autoRollbackConfiguration: output.autoRollbackConfiguration
|
|
6002
|
+
autoRollbackConfiguration: output.autoRollbackConfiguration != null
|
|
6139
6003
|
? deserializeAws_json1_1AutoRollbackConfiguration(output.autoRollbackConfiguration, context)
|
|
6140
6004
|
: undefined,
|
|
6141
|
-
autoScalingGroups: output.autoScalingGroups
|
|
6005
|
+
autoScalingGroups: output.autoScalingGroups != null
|
|
6142
6006
|
? deserializeAws_json1_1AutoScalingGroupList(output.autoScalingGroups, context)
|
|
6143
6007
|
: undefined,
|
|
6144
|
-
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration
|
|
6008
|
+
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration != null
|
|
6145
6009
|
? deserializeAws_json1_1BlueGreenDeploymentConfiguration(output.blueGreenDeploymentConfiguration, context)
|
|
6146
6010
|
: undefined,
|
|
6147
6011
|
computePlatform: __expectString(output.computePlatform),
|
|
6148
6012
|
deploymentConfigName: __expectString(output.deploymentConfigName),
|
|
6149
6013
|
deploymentGroupId: __expectString(output.deploymentGroupId),
|
|
6150
6014
|
deploymentGroupName: __expectString(output.deploymentGroupName),
|
|
6151
|
-
deploymentStyle: output.deploymentStyle
|
|
6015
|
+
deploymentStyle: output.deploymentStyle != null
|
|
6152
6016
|
? deserializeAws_json1_1DeploymentStyle(output.deploymentStyle, context)
|
|
6153
6017
|
: undefined,
|
|
6154
|
-
ec2TagFilters: output.ec2TagFilters
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context)
|
|
6159
|
-
: undefined,
|
|
6160
|
-
ecsServices: output.ecsServices !== undefined && output.ecsServices !== null
|
|
6161
|
-
? deserializeAws_json1_1ECSServiceList(output.ecsServices, context)
|
|
6162
|
-
: undefined,
|
|
6163
|
-
lastAttemptedDeployment: output.lastAttemptedDeployment !== undefined && output.lastAttemptedDeployment !== null
|
|
6018
|
+
ec2TagFilters: output.ec2TagFilters != null ? deserializeAws_json1_1EC2TagFilterList(output.ec2TagFilters, context) : undefined,
|
|
6019
|
+
ec2TagSet: output.ec2TagSet != null ? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context) : undefined,
|
|
6020
|
+
ecsServices: output.ecsServices != null ? deserializeAws_json1_1ECSServiceList(output.ecsServices, context) : undefined,
|
|
6021
|
+
lastAttemptedDeployment: output.lastAttemptedDeployment != null
|
|
6164
6022
|
? deserializeAws_json1_1LastDeploymentInfo(output.lastAttemptedDeployment, context)
|
|
6165
6023
|
: undefined,
|
|
6166
|
-
lastSuccessfulDeployment: output.lastSuccessfulDeployment
|
|
6024
|
+
lastSuccessfulDeployment: output.lastSuccessfulDeployment != null
|
|
6167
6025
|
? deserializeAws_json1_1LastDeploymentInfo(output.lastSuccessfulDeployment, context)
|
|
6168
6026
|
: undefined,
|
|
6169
|
-
loadBalancerInfo: output.loadBalancerInfo
|
|
6027
|
+
loadBalancerInfo: output.loadBalancerInfo != null
|
|
6170
6028
|
? deserializeAws_json1_1LoadBalancerInfo(output.loadBalancerInfo, context)
|
|
6171
6029
|
: undefined,
|
|
6172
|
-
onPremisesInstanceTagFilters: output.onPremisesInstanceTagFilters
|
|
6030
|
+
onPremisesInstanceTagFilters: output.onPremisesInstanceTagFilters != null
|
|
6173
6031
|
? deserializeAws_json1_1TagFilterList(output.onPremisesInstanceTagFilters, context)
|
|
6174
6032
|
: undefined,
|
|
6175
|
-
onPremisesTagSet: output.onPremisesTagSet
|
|
6033
|
+
onPremisesTagSet: output.onPremisesTagSet != null
|
|
6176
6034
|
? deserializeAws_json1_1OnPremisesTagSet(output.onPremisesTagSet, context)
|
|
6177
6035
|
: undefined,
|
|
6178
6036
|
outdatedInstancesStrategy: __expectString(output.outdatedInstancesStrategy),
|
|
6179
6037
|
serviceRoleArn: __expectString(output.serviceRoleArn),
|
|
6180
|
-
targetRevision: output.targetRevision
|
|
6038
|
+
targetRevision: output.targetRevision != null
|
|
6181
6039
|
? deserializeAws_json1_1RevisionLocation(output.targetRevision, context)
|
|
6182
6040
|
: undefined,
|
|
6183
|
-
triggerConfigurations: output.triggerConfigurations
|
|
6041
|
+
triggerConfigurations: output.triggerConfigurations != null
|
|
6184
6042
|
? deserializeAws_json1_1TriggerConfigList(output.triggerConfigurations, context)
|
|
6185
6043
|
: undefined,
|
|
6186
6044
|
};
|
|
@@ -6226,60 +6084,52 @@ var deserializeAws_json1_1DeploymentInfo = function (output, context) {
|
|
|
6226
6084
|
return {
|
|
6227
6085
|
additionalDeploymentStatusInfo: __expectString(output.additionalDeploymentStatusInfo),
|
|
6228
6086
|
applicationName: __expectString(output.applicationName),
|
|
6229
|
-
autoRollbackConfiguration: output.autoRollbackConfiguration
|
|
6087
|
+
autoRollbackConfiguration: output.autoRollbackConfiguration != null
|
|
6230
6088
|
? deserializeAws_json1_1AutoRollbackConfiguration(output.autoRollbackConfiguration, context)
|
|
6231
6089
|
: undefined,
|
|
6232
|
-
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration
|
|
6090
|
+
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration != null
|
|
6233
6091
|
? deserializeAws_json1_1BlueGreenDeploymentConfiguration(output.blueGreenDeploymentConfiguration, context)
|
|
6234
6092
|
: undefined,
|
|
6235
|
-
completeTime: output.completeTime
|
|
6093
|
+
completeTime: output.completeTime != null
|
|
6236
6094
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.completeTime)))
|
|
6237
6095
|
: undefined,
|
|
6238
6096
|
computePlatform: __expectString(output.computePlatform),
|
|
6239
|
-
createTime: output.createTime
|
|
6240
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
6241
|
-
: undefined,
|
|
6097
|
+
createTime: output.createTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime))) : undefined,
|
|
6242
6098
|
creator: __expectString(output.creator),
|
|
6243
6099
|
deploymentConfigName: __expectString(output.deploymentConfigName),
|
|
6244
6100
|
deploymentGroupName: __expectString(output.deploymentGroupName),
|
|
6245
6101
|
deploymentId: __expectString(output.deploymentId),
|
|
6246
|
-
deploymentOverview: output.deploymentOverview
|
|
6102
|
+
deploymentOverview: output.deploymentOverview != null
|
|
6247
6103
|
? deserializeAws_json1_1DeploymentOverview(output.deploymentOverview, context)
|
|
6248
6104
|
: undefined,
|
|
6249
|
-
deploymentStatusMessages: output.deploymentStatusMessages
|
|
6105
|
+
deploymentStatusMessages: output.deploymentStatusMessages != null
|
|
6250
6106
|
? deserializeAws_json1_1DeploymentStatusMessageList(output.deploymentStatusMessages, context)
|
|
6251
6107
|
: undefined,
|
|
6252
|
-
deploymentStyle: output.deploymentStyle
|
|
6108
|
+
deploymentStyle: output.deploymentStyle != null
|
|
6253
6109
|
? deserializeAws_json1_1DeploymentStyle(output.deploymentStyle, context)
|
|
6254
6110
|
: undefined,
|
|
6255
6111
|
description: __expectString(output.description),
|
|
6256
|
-
errorInformation: output.errorInformation
|
|
6112
|
+
errorInformation: output.errorInformation != null
|
|
6257
6113
|
? deserializeAws_json1_1ErrorInformation(output.errorInformation, context)
|
|
6258
6114
|
: undefined,
|
|
6259
6115
|
externalId: __expectString(output.externalId),
|
|
6260
6116
|
fileExistsBehavior: __expectString(output.fileExistsBehavior),
|
|
6261
6117
|
ignoreApplicationStopFailures: __expectBoolean(output.ignoreApplicationStopFailures),
|
|
6262
6118
|
instanceTerminationWaitTimeStarted: __expectBoolean(output.instanceTerminationWaitTimeStarted),
|
|
6263
|
-
loadBalancerInfo: output.loadBalancerInfo
|
|
6119
|
+
loadBalancerInfo: output.loadBalancerInfo != null
|
|
6264
6120
|
? deserializeAws_json1_1LoadBalancerInfo(output.loadBalancerInfo, context)
|
|
6265
6121
|
: undefined,
|
|
6266
|
-
previousRevision: output.previousRevision
|
|
6122
|
+
previousRevision: output.previousRevision != null
|
|
6267
6123
|
? deserializeAws_json1_1RevisionLocation(output.previousRevision, context)
|
|
6268
6124
|
: undefined,
|
|
6269
|
-
relatedDeployments: output.relatedDeployments
|
|
6125
|
+
relatedDeployments: output.relatedDeployments != null
|
|
6270
6126
|
? deserializeAws_json1_1RelatedDeployments(output.relatedDeployments, context)
|
|
6271
6127
|
: undefined,
|
|
6272
|
-
revision: output.revision
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
rollbackInfo: output.rollbackInfo !== undefined && output.rollbackInfo !== null
|
|
6276
|
-
? deserializeAws_json1_1RollbackInfo(output.rollbackInfo, context)
|
|
6277
|
-
: undefined,
|
|
6278
|
-
startTime: output.startTime !== undefined && output.startTime !== null
|
|
6279
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
6280
|
-
: undefined,
|
|
6128
|
+
revision: output.revision != null ? deserializeAws_json1_1RevisionLocation(output.revision, context) : undefined,
|
|
6129
|
+
rollbackInfo: output.rollbackInfo != null ? deserializeAws_json1_1RollbackInfo(output.rollbackInfo, context) : undefined,
|
|
6130
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
6281
6131
|
status: __expectString(output.status),
|
|
6282
|
-
targetInstances: output.targetInstances
|
|
6132
|
+
targetInstances: output.targetInstances != null
|
|
6283
6133
|
? deserializeAws_json1_1TargetInstances(output.targetInstances, context)
|
|
6284
6134
|
: undefined,
|
|
6285
6135
|
updateOutdatedInstancesOnly: __expectBoolean(output.updateOutdatedInstancesOnly),
|
|
@@ -6357,19 +6207,13 @@ var deserializeAws_json1_1DeploymentStyle = function (output, context) {
|
|
|
6357
6207
|
};
|
|
6358
6208
|
var deserializeAws_json1_1DeploymentTarget = function (output, context) {
|
|
6359
6209
|
return {
|
|
6360
|
-
cloudFormationTarget: output.cloudFormationTarget
|
|
6210
|
+
cloudFormationTarget: output.cloudFormationTarget != null
|
|
6361
6211
|
? deserializeAws_json1_1CloudFormationTarget(output.cloudFormationTarget, context)
|
|
6362
6212
|
: undefined,
|
|
6363
6213
|
deploymentTargetType: __expectString(output.deploymentTargetType),
|
|
6364
|
-
ecsTarget: output.ecsTarget
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
instanceTarget: output.instanceTarget !== undefined && output.instanceTarget !== null
|
|
6368
|
-
? deserializeAws_json1_1InstanceTarget(output.instanceTarget, context)
|
|
6369
|
-
: undefined,
|
|
6370
|
-
lambdaTarget: output.lambdaTarget !== undefined && output.lambdaTarget !== null
|
|
6371
|
-
? deserializeAws_json1_1LambdaTarget(output.lambdaTarget, context)
|
|
6372
|
-
: undefined,
|
|
6214
|
+
ecsTarget: output.ecsTarget != null ? deserializeAws_json1_1ECSTarget(output.ecsTarget, context) : undefined,
|
|
6215
|
+
instanceTarget: output.instanceTarget != null ? deserializeAws_json1_1InstanceTarget(output.instanceTarget, context) : undefined,
|
|
6216
|
+
lambdaTarget: output.lambdaTarget != null ? deserializeAws_json1_1LambdaTarget(output.lambdaTarget, context) : undefined,
|
|
6373
6217
|
};
|
|
6374
6218
|
};
|
|
6375
6219
|
var deserializeAws_json1_1DeploymentTargetDoesNotExistException = function (output, context) {
|
|
@@ -6431,9 +6275,7 @@ var deserializeAws_json1_1EC2TagFilterList = function (output, context) {
|
|
|
6431
6275
|
};
|
|
6432
6276
|
var deserializeAws_json1_1EC2TagSet = function (output, context) {
|
|
6433
6277
|
return {
|
|
6434
|
-
ec2TagSetList: output.ec2TagSetList
|
|
6435
|
-
? deserializeAws_json1_1EC2TagSetList(output.ec2TagSetList, context)
|
|
6436
|
-
: undefined,
|
|
6278
|
+
ec2TagSetList: output.ec2TagSetList != null ? deserializeAws_json1_1EC2TagSetList(output.ec2TagSetList, context) : undefined,
|
|
6437
6279
|
};
|
|
6438
6280
|
};
|
|
6439
6281
|
var deserializeAws_json1_1EC2TagSetList = function (output, context) {
|
|
@@ -6472,18 +6314,16 @@ var deserializeAws_json1_1ECSServiceMappingLimitExceededException = function (ou
|
|
|
6472
6314
|
var deserializeAws_json1_1ECSTarget = function (output, context) {
|
|
6473
6315
|
return {
|
|
6474
6316
|
deploymentId: __expectString(output.deploymentId),
|
|
6475
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
6317
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6476
6318
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
6477
6319
|
: undefined,
|
|
6478
|
-
lifecycleEvents: output.lifecycleEvents
|
|
6320
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6479
6321
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6480
6322
|
: undefined,
|
|
6481
6323
|
status: __expectString(output.status),
|
|
6482
6324
|
targetArn: __expectString(output.targetArn),
|
|
6483
6325
|
targetId: __expectString(output.targetId),
|
|
6484
|
-
taskSetsInfo: output.taskSetsInfo
|
|
6485
|
-
? deserializeAws_json1_1ECSTaskSetList(output.taskSetsInfo, context)
|
|
6486
|
-
: undefined,
|
|
6326
|
+
taskSetsInfo: output.taskSetsInfo != null ? deserializeAws_json1_1ECSTaskSetList(output.taskSetsInfo, context) : undefined,
|
|
6487
6327
|
};
|
|
6488
6328
|
};
|
|
6489
6329
|
var deserializeAws_json1_1ECSTaskSet = function (output, context) {
|
|
@@ -6493,9 +6333,7 @@ var deserializeAws_json1_1ECSTaskSet = function (output, context) {
|
|
|
6493
6333
|
pendingCount: __expectLong(output.pendingCount),
|
|
6494
6334
|
runningCount: __expectLong(output.runningCount),
|
|
6495
6335
|
status: __expectString(output.status),
|
|
6496
|
-
targetGroup: output.targetGroup
|
|
6497
|
-
? deserializeAws_json1_1TargetGroupInfo(output.targetGroup, context)
|
|
6498
|
-
: undefined,
|
|
6336
|
+
targetGroup: output.targetGroup != null ? deserializeAws_json1_1TargetGroupInfo(output.targetGroup, context) : undefined,
|
|
6499
6337
|
taskSetLabel: __expectString(output.taskSetLabel),
|
|
6500
6338
|
trafficWeight: __limitedParseDouble(output.trafficWeight),
|
|
6501
6339
|
};
|
|
@@ -6535,79 +6373,69 @@ var deserializeAws_json1_1ErrorInformation = function (output, context) {
|
|
|
6535
6373
|
};
|
|
6536
6374
|
var deserializeAws_json1_1GenericRevisionInfo = function (output, context) {
|
|
6537
6375
|
return {
|
|
6538
|
-
deploymentGroups: output.deploymentGroups
|
|
6376
|
+
deploymentGroups: output.deploymentGroups != null
|
|
6539
6377
|
? deserializeAws_json1_1DeploymentGroupsList(output.deploymentGroups, context)
|
|
6540
6378
|
: undefined,
|
|
6541
6379
|
description: __expectString(output.description),
|
|
6542
|
-
firstUsedTime: output.firstUsedTime
|
|
6380
|
+
firstUsedTime: output.firstUsedTime != null
|
|
6543
6381
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.firstUsedTime)))
|
|
6544
6382
|
: undefined,
|
|
6545
|
-
lastUsedTime: output.lastUsedTime
|
|
6383
|
+
lastUsedTime: output.lastUsedTime != null
|
|
6546
6384
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUsedTime)))
|
|
6547
6385
|
: undefined,
|
|
6548
|
-
registerTime: output.registerTime
|
|
6386
|
+
registerTime: output.registerTime != null
|
|
6549
6387
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.registerTime)))
|
|
6550
6388
|
: undefined,
|
|
6551
6389
|
};
|
|
6552
6390
|
};
|
|
6553
6391
|
var deserializeAws_json1_1GetApplicationOutput = function (output, context) {
|
|
6554
6392
|
return {
|
|
6555
|
-
application: output.application
|
|
6556
|
-
? deserializeAws_json1_1ApplicationInfo(output.application, context)
|
|
6557
|
-
: undefined,
|
|
6393
|
+
application: output.application != null ? deserializeAws_json1_1ApplicationInfo(output.application, context) : undefined,
|
|
6558
6394
|
};
|
|
6559
6395
|
};
|
|
6560
6396
|
var deserializeAws_json1_1GetApplicationRevisionOutput = function (output, context) {
|
|
6561
6397
|
return {
|
|
6562
6398
|
applicationName: __expectString(output.applicationName),
|
|
6563
|
-
revision: output.revision
|
|
6564
|
-
|
|
6565
|
-
: undefined,
|
|
6566
|
-
revisionInfo: output.revisionInfo !== undefined && output.revisionInfo !== null
|
|
6567
|
-
? deserializeAws_json1_1GenericRevisionInfo(output.revisionInfo, context)
|
|
6568
|
-
: undefined,
|
|
6399
|
+
revision: output.revision != null ? deserializeAws_json1_1RevisionLocation(output.revision, context) : undefined,
|
|
6400
|
+
revisionInfo: output.revisionInfo != null ? deserializeAws_json1_1GenericRevisionInfo(output.revisionInfo, context) : undefined,
|
|
6569
6401
|
};
|
|
6570
6402
|
};
|
|
6571
6403
|
var deserializeAws_json1_1GetDeploymentConfigOutput = function (output, context) {
|
|
6572
6404
|
return {
|
|
6573
|
-
deploymentConfigInfo: output.deploymentConfigInfo
|
|
6405
|
+
deploymentConfigInfo: output.deploymentConfigInfo != null
|
|
6574
6406
|
? deserializeAws_json1_1DeploymentConfigInfo(output.deploymentConfigInfo, context)
|
|
6575
6407
|
: undefined,
|
|
6576
6408
|
};
|
|
6577
6409
|
};
|
|
6578
6410
|
var deserializeAws_json1_1GetDeploymentGroupOutput = function (output, context) {
|
|
6579
6411
|
return {
|
|
6580
|
-
deploymentGroupInfo: output.deploymentGroupInfo
|
|
6412
|
+
deploymentGroupInfo: output.deploymentGroupInfo != null
|
|
6581
6413
|
? deserializeAws_json1_1DeploymentGroupInfo(output.deploymentGroupInfo, context)
|
|
6582
6414
|
: undefined,
|
|
6583
6415
|
};
|
|
6584
6416
|
};
|
|
6585
6417
|
var deserializeAws_json1_1GetDeploymentInstanceOutput = function (output, context) {
|
|
6586
6418
|
return {
|
|
6587
|
-
instanceSummary: output.instanceSummary
|
|
6419
|
+
instanceSummary: output.instanceSummary != null
|
|
6588
6420
|
? deserializeAws_json1_1InstanceSummary(output.instanceSummary, context)
|
|
6589
6421
|
: undefined,
|
|
6590
6422
|
};
|
|
6591
6423
|
};
|
|
6592
6424
|
var deserializeAws_json1_1GetDeploymentOutput = function (output, context) {
|
|
6593
6425
|
return {
|
|
6594
|
-
deploymentInfo: output.deploymentInfo
|
|
6595
|
-
? deserializeAws_json1_1DeploymentInfo(output.deploymentInfo, context)
|
|
6596
|
-
: undefined,
|
|
6426
|
+
deploymentInfo: output.deploymentInfo != null ? deserializeAws_json1_1DeploymentInfo(output.deploymentInfo, context) : undefined,
|
|
6597
6427
|
};
|
|
6598
6428
|
};
|
|
6599
6429
|
var deserializeAws_json1_1GetDeploymentTargetOutput = function (output, context) {
|
|
6600
6430
|
return {
|
|
6601
|
-
deploymentTarget: output.deploymentTarget
|
|
6431
|
+
deploymentTarget: output.deploymentTarget != null
|
|
6602
6432
|
? deserializeAws_json1_1DeploymentTarget(output.deploymentTarget, context)
|
|
6603
6433
|
: undefined,
|
|
6604
6434
|
};
|
|
6605
6435
|
};
|
|
6606
6436
|
var deserializeAws_json1_1GetOnPremisesInstanceOutput = function (output, context) {
|
|
6607
6437
|
return {
|
|
6608
|
-
instanceInfo: output.instanceInfo
|
|
6609
|
-
? deserializeAws_json1_1InstanceInfo(output.instanceInfo, context)
|
|
6610
|
-
: undefined,
|
|
6438
|
+
instanceInfo: output.instanceInfo != null ? deserializeAws_json1_1InstanceInfo(output.instanceInfo, context) : undefined,
|
|
6611
6439
|
};
|
|
6612
6440
|
};
|
|
6613
6441
|
var deserializeAws_json1_1GitHubAccountTokenDoesNotExistException = function (output, context) {
|
|
@@ -6674,19 +6502,17 @@ var deserializeAws_json1_1InstanceIdRequiredException = function (output, contex
|
|
|
6674
6502
|
};
|
|
6675
6503
|
var deserializeAws_json1_1InstanceInfo = function (output, context) {
|
|
6676
6504
|
return {
|
|
6677
|
-
deregisterTime: output.deregisterTime
|
|
6505
|
+
deregisterTime: output.deregisterTime != null
|
|
6678
6506
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.deregisterTime)))
|
|
6679
6507
|
: undefined,
|
|
6680
6508
|
iamSessionArn: __expectString(output.iamSessionArn),
|
|
6681
6509
|
iamUserArn: __expectString(output.iamUserArn),
|
|
6682
6510
|
instanceArn: __expectString(output.instanceArn),
|
|
6683
6511
|
instanceName: __expectString(output.instanceName),
|
|
6684
|
-
registerTime: output.registerTime
|
|
6512
|
+
registerTime: output.registerTime != null
|
|
6685
6513
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.registerTime)))
|
|
6686
6514
|
: undefined,
|
|
6687
|
-
tags: output.tags
|
|
6688
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
6689
|
-
: undefined,
|
|
6515
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
6690
6516
|
};
|
|
6691
6517
|
};
|
|
6692
6518
|
var deserializeAws_json1_1InstanceInfoList = function (output, context) {
|
|
@@ -6747,10 +6573,10 @@ var deserializeAws_json1_1InstanceSummary = function (output, context) {
|
|
|
6747
6573
|
deploymentId: __expectString(output.deploymentId),
|
|
6748
6574
|
instanceId: __expectString(output.instanceId),
|
|
6749
6575
|
instanceType: __expectString(output.instanceType),
|
|
6750
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
6576
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6751
6577
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
6752
6578
|
: undefined,
|
|
6753
|
-
lifecycleEvents: output.lifecycleEvents
|
|
6579
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6754
6580
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6755
6581
|
: undefined,
|
|
6756
6582
|
status: __expectString(output.status),
|
|
@@ -6771,10 +6597,10 @@ var deserializeAws_json1_1InstanceTarget = function (output, context) {
|
|
|
6771
6597
|
return {
|
|
6772
6598
|
deploymentId: __expectString(output.deploymentId),
|
|
6773
6599
|
instanceLabel: __expectString(output.instanceLabel),
|
|
6774
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
6600
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6775
6601
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
6776
6602
|
: undefined,
|
|
6777
|
-
lifecycleEvents: output.lifecycleEvents
|
|
6603
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6778
6604
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6779
6605
|
: undefined,
|
|
6780
6606
|
status: __expectString(output.status),
|
|
@@ -7064,13 +6890,13 @@ var deserializeAws_json1_1LambdaFunctionInfo = function (output, context) {
|
|
|
7064
6890
|
var deserializeAws_json1_1LambdaTarget = function (output, context) {
|
|
7065
6891
|
return {
|
|
7066
6892
|
deploymentId: __expectString(output.deploymentId),
|
|
7067
|
-
lambdaFunctionInfo: output.lambdaFunctionInfo
|
|
6893
|
+
lambdaFunctionInfo: output.lambdaFunctionInfo != null
|
|
7068
6894
|
? deserializeAws_json1_1LambdaFunctionInfo(output.lambdaFunctionInfo, context)
|
|
7069
6895
|
: undefined,
|
|
7070
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
6896
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
7071
6897
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
7072
6898
|
: undefined,
|
|
7073
|
-
lifecycleEvents: output.lifecycleEvents
|
|
6899
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
7074
6900
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
7075
6901
|
: undefined,
|
|
7076
6902
|
status: __expectString(output.status),
|
|
@@ -7080,28 +6906,18 @@ var deserializeAws_json1_1LambdaTarget = function (output, context) {
|
|
|
7080
6906
|
};
|
|
7081
6907
|
var deserializeAws_json1_1LastDeploymentInfo = function (output, context) {
|
|
7082
6908
|
return {
|
|
7083
|
-
createTime: output.createTime
|
|
7084
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
7085
|
-
: undefined,
|
|
6909
|
+
createTime: output.createTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime))) : undefined,
|
|
7086
6910
|
deploymentId: __expectString(output.deploymentId),
|
|
7087
|
-
endTime: output.endTime
|
|
7088
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
7089
|
-
: undefined,
|
|
6911
|
+
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
7090
6912
|
status: __expectString(output.status),
|
|
7091
6913
|
};
|
|
7092
6914
|
};
|
|
7093
6915
|
var deserializeAws_json1_1LifecycleEvent = function (output, context) {
|
|
7094
6916
|
return {
|
|
7095
|
-
diagnostics: output.diagnostics
|
|
7096
|
-
|
|
7097
|
-
: undefined,
|
|
7098
|
-
endTime: output.endTime !== undefined && output.endTime !== null
|
|
7099
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
7100
|
-
: undefined,
|
|
6917
|
+
diagnostics: output.diagnostics != null ? deserializeAws_json1_1Diagnostics(output.diagnostics, context) : undefined,
|
|
6918
|
+
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
7101
6919
|
lifecycleEventName: __expectString(output.lifecycleEventName),
|
|
7102
|
-
startTime: output.startTime
|
|
7103
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
7104
|
-
: undefined,
|
|
6920
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
7105
6921
|
status: __expectString(output.status),
|
|
7106
6922
|
};
|
|
7107
6923
|
};
|
|
@@ -7129,22 +6945,18 @@ var deserializeAws_json1_1LifecycleHookLimitExceededException = function (output
|
|
|
7129
6945
|
var deserializeAws_json1_1ListApplicationRevisionsOutput = function (output, context) {
|
|
7130
6946
|
return {
|
|
7131
6947
|
nextToken: __expectString(output.nextToken),
|
|
7132
|
-
revisions: output.revisions
|
|
7133
|
-
? deserializeAws_json1_1RevisionLocationList(output.revisions, context)
|
|
7134
|
-
: undefined,
|
|
6948
|
+
revisions: output.revisions != null ? deserializeAws_json1_1RevisionLocationList(output.revisions, context) : undefined,
|
|
7135
6949
|
};
|
|
7136
6950
|
};
|
|
7137
6951
|
var deserializeAws_json1_1ListApplicationsOutput = function (output, context) {
|
|
7138
6952
|
return {
|
|
7139
|
-
applications: output.applications
|
|
7140
|
-
? deserializeAws_json1_1ApplicationsList(output.applications, context)
|
|
7141
|
-
: undefined,
|
|
6953
|
+
applications: output.applications != null ? deserializeAws_json1_1ApplicationsList(output.applications, context) : undefined,
|
|
7142
6954
|
nextToken: __expectString(output.nextToken),
|
|
7143
6955
|
};
|
|
7144
6956
|
};
|
|
7145
6957
|
var deserializeAws_json1_1ListDeploymentConfigsOutput = function (output, context) {
|
|
7146
6958
|
return {
|
|
7147
|
-
deploymentConfigsList: output.deploymentConfigsList
|
|
6959
|
+
deploymentConfigsList: output.deploymentConfigsList != null
|
|
7148
6960
|
? deserializeAws_json1_1DeploymentConfigsList(output.deploymentConfigsList, context)
|
|
7149
6961
|
: undefined,
|
|
7150
6962
|
nextToken: __expectString(output.nextToken),
|
|
@@ -7153,7 +6965,7 @@ var deserializeAws_json1_1ListDeploymentConfigsOutput = function (output, contex
|
|
|
7153
6965
|
var deserializeAws_json1_1ListDeploymentGroupsOutput = function (output, context) {
|
|
7154
6966
|
return {
|
|
7155
6967
|
applicationName: __expectString(output.applicationName),
|
|
7156
|
-
deploymentGroups: output.deploymentGroups
|
|
6968
|
+
deploymentGroups: output.deploymentGroups != null
|
|
7157
6969
|
? deserializeAws_json1_1DeploymentGroupsList(output.deploymentGroups, context)
|
|
7158
6970
|
: undefined,
|
|
7159
6971
|
nextToken: __expectString(output.nextToken),
|
|
@@ -7161,26 +6973,20 @@ var deserializeAws_json1_1ListDeploymentGroupsOutput = function (output, context
|
|
|
7161
6973
|
};
|
|
7162
6974
|
var deserializeAws_json1_1ListDeploymentInstancesOutput = function (output, context) {
|
|
7163
6975
|
return {
|
|
7164
|
-
instancesList: output.instancesList
|
|
7165
|
-
? deserializeAws_json1_1InstancesList(output.instancesList, context)
|
|
7166
|
-
: undefined,
|
|
6976
|
+
instancesList: output.instancesList != null ? deserializeAws_json1_1InstancesList(output.instancesList, context) : undefined,
|
|
7167
6977
|
nextToken: __expectString(output.nextToken),
|
|
7168
6978
|
};
|
|
7169
6979
|
};
|
|
7170
6980
|
var deserializeAws_json1_1ListDeploymentsOutput = function (output, context) {
|
|
7171
6981
|
return {
|
|
7172
|
-
deployments: output.deployments
|
|
7173
|
-
? deserializeAws_json1_1DeploymentsList(output.deployments, context)
|
|
7174
|
-
: undefined,
|
|
6982
|
+
deployments: output.deployments != null ? deserializeAws_json1_1DeploymentsList(output.deployments, context) : undefined,
|
|
7175
6983
|
nextToken: __expectString(output.nextToken),
|
|
7176
6984
|
};
|
|
7177
6985
|
};
|
|
7178
6986
|
var deserializeAws_json1_1ListDeploymentTargetsOutput = function (output, context) {
|
|
7179
6987
|
return {
|
|
7180
6988
|
nextToken: __expectString(output.nextToken),
|
|
7181
|
-
targetIds: output.targetIds
|
|
7182
|
-
? deserializeAws_json1_1TargetIdList(output.targetIds, context)
|
|
7183
|
-
: undefined,
|
|
6989
|
+
targetIds: output.targetIds != null ? deserializeAws_json1_1TargetIdList(output.targetIds, context) : undefined,
|
|
7184
6990
|
};
|
|
7185
6991
|
};
|
|
7186
6992
|
var deserializeAws_json1_1ListenerArnList = function (output, context) {
|
|
@@ -7197,36 +7003,30 @@ var deserializeAws_json1_1ListenerArnList = function (output, context) {
|
|
|
7197
7003
|
var deserializeAws_json1_1ListGitHubAccountTokenNamesOutput = function (output, context) {
|
|
7198
7004
|
return {
|
|
7199
7005
|
nextToken: __expectString(output.nextToken),
|
|
7200
|
-
tokenNameList: output.tokenNameList
|
|
7006
|
+
tokenNameList: output.tokenNameList != null
|
|
7201
7007
|
? deserializeAws_json1_1GitHubAccountTokenNameList(output.tokenNameList, context)
|
|
7202
7008
|
: undefined,
|
|
7203
7009
|
};
|
|
7204
7010
|
};
|
|
7205
7011
|
var deserializeAws_json1_1ListOnPremisesInstancesOutput = function (output, context) {
|
|
7206
7012
|
return {
|
|
7207
|
-
instanceNames: output.instanceNames
|
|
7208
|
-
? deserializeAws_json1_1InstanceNameList(output.instanceNames, context)
|
|
7209
|
-
: undefined,
|
|
7013
|
+
instanceNames: output.instanceNames != null ? deserializeAws_json1_1InstanceNameList(output.instanceNames, context) : undefined,
|
|
7210
7014
|
nextToken: __expectString(output.nextToken),
|
|
7211
7015
|
};
|
|
7212
7016
|
};
|
|
7213
7017
|
var deserializeAws_json1_1ListTagsForResourceOutput = function (output, context) {
|
|
7214
7018
|
return {
|
|
7215
7019
|
NextToken: __expectString(output.NextToken),
|
|
7216
|
-
Tags: output.Tags
|
|
7217
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
7218
|
-
: undefined,
|
|
7020
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
7219
7021
|
};
|
|
7220
7022
|
};
|
|
7221
7023
|
var deserializeAws_json1_1LoadBalancerInfo = function (output, context) {
|
|
7222
7024
|
return {
|
|
7223
|
-
elbInfoList: output.elbInfoList
|
|
7224
|
-
|
|
7225
|
-
: undefined,
|
|
7226
|
-
targetGroupInfoList: output.targetGroupInfoList !== undefined && output.targetGroupInfoList !== null
|
|
7025
|
+
elbInfoList: output.elbInfoList != null ? deserializeAws_json1_1ELBInfoList(output.elbInfoList, context) : undefined,
|
|
7026
|
+
targetGroupInfoList: output.targetGroupInfoList != null
|
|
7227
7027
|
? deserializeAws_json1_1TargetGroupInfoList(output.targetGroupInfoList, context)
|
|
7228
7028
|
: undefined,
|
|
7229
|
-
targetGroupPairInfoList: output.targetGroupPairInfoList
|
|
7029
|
+
targetGroupPairInfoList: output.targetGroupPairInfoList != null
|
|
7230
7030
|
? deserializeAws_json1_1TargetGroupPairInfoList(output.targetGroupPairInfoList, context)
|
|
7231
7031
|
: undefined,
|
|
7232
7032
|
};
|
|
@@ -7244,7 +7044,7 @@ var deserializeAws_json1_1MultipleIamArnsProvidedException = function (output, c
|
|
|
7244
7044
|
};
|
|
7245
7045
|
var deserializeAws_json1_1OnPremisesTagSet = function (output, context) {
|
|
7246
7046
|
return {
|
|
7247
|
-
onPremisesTagSetList: output.onPremisesTagSetList
|
|
7047
|
+
onPremisesTagSetList: output.onPremisesTagSetList != null
|
|
7248
7048
|
? deserializeAws_json1_1OnPremisesTagSetList(output.onPremisesTagSetList, context)
|
|
7249
7049
|
: undefined,
|
|
7250
7050
|
};
|
|
@@ -7278,8 +7078,7 @@ var deserializeAws_json1_1RawString = function (output, context) {
|
|
|
7278
7078
|
};
|
|
7279
7079
|
var deserializeAws_json1_1RelatedDeployments = function (output, context) {
|
|
7280
7080
|
return {
|
|
7281
|
-
autoUpdateOutdatedInstancesDeploymentIds: output.autoUpdateOutdatedInstancesDeploymentIds
|
|
7282
|
-
output.autoUpdateOutdatedInstancesDeploymentIds !== null
|
|
7081
|
+
autoUpdateOutdatedInstancesDeploymentIds: output.autoUpdateOutdatedInstancesDeploymentIds != null
|
|
7283
7082
|
? deserializeAws_json1_1DeploymentsList(output.autoUpdateOutdatedInstancesDeploymentIds, context)
|
|
7284
7083
|
: undefined,
|
|
7285
7084
|
autoUpdateOutdatedInstancesRootDeploymentId: __expectString(output.autoUpdateOutdatedInstancesRootDeploymentId),
|
|
@@ -7302,10 +7101,10 @@ var deserializeAws_json1_1RevisionDoesNotExistException = function (output, cont
|
|
|
7302
7101
|
};
|
|
7303
7102
|
var deserializeAws_json1_1RevisionInfo = function (output, context) {
|
|
7304
7103
|
return {
|
|
7305
|
-
genericRevisionInfo: output.genericRevisionInfo
|
|
7104
|
+
genericRevisionInfo: output.genericRevisionInfo != null
|
|
7306
7105
|
? deserializeAws_json1_1GenericRevisionInfo(output.genericRevisionInfo, context)
|
|
7307
7106
|
: undefined,
|
|
7308
|
-
revisionLocation: output.revisionLocation
|
|
7107
|
+
revisionLocation: output.revisionLocation != null
|
|
7309
7108
|
? deserializeAws_json1_1RevisionLocation(output.revisionLocation, context)
|
|
7310
7109
|
: undefined,
|
|
7311
7110
|
};
|
|
@@ -7323,19 +7122,11 @@ var deserializeAws_json1_1RevisionInfoList = function (output, context) {
|
|
|
7323
7122
|
};
|
|
7324
7123
|
var deserializeAws_json1_1RevisionLocation = function (output, context) {
|
|
7325
7124
|
return {
|
|
7326
|
-
appSpecContent: output.appSpecContent
|
|
7327
|
-
|
|
7328
|
-
: undefined,
|
|
7329
|
-
gitHubLocation: output.gitHubLocation !== undefined && output.gitHubLocation !== null
|
|
7330
|
-
? deserializeAws_json1_1GitHubLocation(output.gitHubLocation, context)
|
|
7331
|
-
: undefined,
|
|
7125
|
+
appSpecContent: output.appSpecContent != null ? deserializeAws_json1_1AppSpecContent(output.appSpecContent, context) : undefined,
|
|
7126
|
+
gitHubLocation: output.gitHubLocation != null ? deserializeAws_json1_1GitHubLocation(output.gitHubLocation, context) : undefined,
|
|
7332
7127
|
revisionType: __expectString(output.revisionType),
|
|
7333
|
-
s3Location: output.s3Location
|
|
7334
|
-
|
|
7335
|
-
: undefined,
|
|
7336
|
-
string: output.string !== undefined && output.string !== null
|
|
7337
|
-
? deserializeAws_json1_1RawString(output.string, context)
|
|
7338
|
-
: undefined,
|
|
7128
|
+
s3Location: output.s3Location != null ? deserializeAws_json1_1S3Location(output.s3Location, context) : undefined,
|
|
7129
|
+
string: output.string != null ? deserializeAws_json1_1RawString(output.string, context) : undefined,
|
|
7339
7130
|
};
|
|
7340
7131
|
};
|
|
7341
7132
|
var deserializeAws_json1_1RevisionLocationList = function (output, context) {
|
|
@@ -7452,13 +7243,11 @@ var deserializeAws_json1_1TargetGroupInfoList = function (output, context) {
|
|
|
7452
7243
|
};
|
|
7453
7244
|
var deserializeAws_json1_1TargetGroupPairInfo = function (output, context) {
|
|
7454
7245
|
return {
|
|
7455
|
-
prodTrafficRoute: output.prodTrafficRoute
|
|
7246
|
+
prodTrafficRoute: output.prodTrafficRoute != null
|
|
7456
7247
|
? deserializeAws_json1_1TrafficRoute(output.prodTrafficRoute, context)
|
|
7457
7248
|
: undefined,
|
|
7458
|
-
targetGroups: output.targetGroups
|
|
7459
|
-
|
|
7460
|
-
: undefined,
|
|
7461
|
-
testTrafficRoute: output.testTrafficRoute !== undefined && output.testTrafficRoute !== null
|
|
7249
|
+
targetGroups: output.targetGroups != null ? deserializeAws_json1_1TargetGroupInfoList(output.targetGroups, context) : undefined,
|
|
7250
|
+
testTrafficRoute: output.testTrafficRoute != null
|
|
7462
7251
|
? deserializeAws_json1_1TrafficRoute(output.testTrafficRoute, context)
|
|
7463
7252
|
: undefined,
|
|
7464
7253
|
};
|
|
@@ -7487,15 +7276,11 @@ var deserializeAws_json1_1TargetIdList = function (output, context) {
|
|
|
7487
7276
|
};
|
|
7488
7277
|
var deserializeAws_json1_1TargetInstances = function (output, context) {
|
|
7489
7278
|
return {
|
|
7490
|
-
autoScalingGroups: output.autoScalingGroups
|
|
7279
|
+
autoScalingGroups: output.autoScalingGroups != null
|
|
7491
7280
|
? deserializeAws_json1_1AutoScalingGroupNameList(output.autoScalingGroups, context)
|
|
7492
7281
|
: undefined,
|
|
7493
|
-
ec2TagSet: output.ec2TagSet
|
|
7494
|
-
|
|
7495
|
-
: undefined,
|
|
7496
|
-
tagFilters: output.tagFilters !== undefined && output.tagFilters !== null
|
|
7497
|
-
? deserializeAws_json1_1EC2TagFilterList(output.tagFilters, context)
|
|
7498
|
-
: undefined,
|
|
7282
|
+
ec2TagSet: output.ec2TagSet != null ? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context) : undefined,
|
|
7283
|
+
tagFilters: output.tagFilters != null ? deserializeAws_json1_1EC2TagFilterList(output.tagFilters, context) : undefined,
|
|
7499
7284
|
};
|
|
7500
7285
|
};
|
|
7501
7286
|
var deserializeAws_json1_1ThrottlingException = function (output, context) {
|
|
@@ -7517,17 +7302,15 @@ var deserializeAws_json1_1TimeBasedLinear = function (output, context) {
|
|
|
7517
7302
|
};
|
|
7518
7303
|
var deserializeAws_json1_1TrafficRoute = function (output, context) {
|
|
7519
7304
|
return {
|
|
7520
|
-
listenerArns: output.listenerArns
|
|
7521
|
-
? deserializeAws_json1_1ListenerArnList(output.listenerArns, context)
|
|
7522
|
-
: undefined,
|
|
7305
|
+
listenerArns: output.listenerArns != null ? deserializeAws_json1_1ListenerArnList(output.listenerArns, context) : undefined,
|
|
7523
7306
|
};
|
|
7524
7307
|
};
|
|
7525
7308
|
var deserializeAws_json1_1TrafficRoutingConfig = function (output, context) {
|
|
7526
7309
|
return {
|
|
7527
|
-
timeBasedCanary: output.timeBasedCanary
|
|
7310
|
+
timeBasedCanary: output.timeBasedCanary != null
|
|
7528
7311
|
? deserializeAws_json1_1TimeBasedCanary(output.timeBasedCanary, context)
|
|
7529
7312
|
: undefined,
|
|
7530
|
-
timeBasedLinear: output.timeBasedLinear
|
|
7313
|
+
timeBasedLinear: output.timeBasedLinear != null
|
|
7531
7314
|
? deserializeAws_json1_1TimeBasedLinear(output.timeBasedLinear, context)
|
|
7532
7315
|
: undefined,
|
|
7533
7316
|
type: __expectString(output.type),
|
|
@@ -7535,7 +7318,7 @@ var deserializeAws_json1_1TrafficRoutingConfig = function (output, context) {
|
|
|
7535
7318
|
};
|
|
7536
7319
|
var deserializeAws_json1_1TriggerConfig = function (output, context) {
|
|
7537
7320
|
return {
|
|
7538
|
-
triggerEvents: output.triggerEvents
|
|
7321
|
+
triggerEvents: output.triggerEvents != null
|
|
7539
7322
|
? deserializeAws_json1_1TriggerEventTypeList(output.triggerEvents, context)
|
|
7540
7323
|
: undefined,
|
|
7541
7324
|
triggerName: __expectString(output.triggerName),
|
|
@@ -7579,7 +7362,7 @@ var deserializeAws_json1_1UntagResourceOutput = function (output, context) {
|
|
|
7579
7362
|
};
|
|
7580
7363
|
var deserializeAws_json1_1UpdateDeploymentGroupOutput = function (output, context) {
|
|
7581
7364
|
return {
|
|
7582
|
-
hooksNotCleanedUp: output.hooksNotCleanedUp
|
|
7365
|
+
hooksNotCleanedUp: output.hooksNotCleanedUp != null
|
|
7583
7366
|
? deserializeAws_json1_1AutoScalingGroupList(output.hooksNotCleanedUp, context)
|
|
7584
7367
|
: undefined,
|
|
7585
7368
|
};
|
|
@@ -7640,6 +7423,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
7640
7423
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
7641
7424
|
var sanitizeErrorCode = function (rawValue) {
|
|
7642
7425
|
var cleanValue = rawValue;
|
|
7426
|
+
if (typeof cleanValue === "number") {
|
|
7427
|
+
cleanValue = cleanValue.toString();
|
|
7428
|
+
}
|
|
7643
7429
|
if (cleanValue.indexOf(":") >= 0) {
|
|
7644
7430
|
cleanValue = cleanValue.split(":")[0];
|
|
7645
7431
|
}
|