@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
|
@@ -4020,25 +4020,22 @@ const deserializeAws_json1_1UnsupportedActionForDeploymentTypeExceptionResponse
|
|
|
4020
4020
|
};
|
|
4021
4021
|
const serializeAws_json1_1AddTagsToOnPremisesInstancesInput = (input, context) => {
|
|
4022
4022
|
return {
|
|
4023
|
-
...(input.instanceNames
|
|
4024
|
-
input.instanceNames !== null && {
|
|
4023
|
+
...(input.instanceNames != null && {
|
|
4025
4024
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
4026
4025
|
}),
|
|
4027
|
-
...(input.tags
|
|
4026
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4028
4027
|
};
|
|
4029
4028
|
};
|
|
4030
4029
|
const serializeAws_json1_1Alarm = (input, context) => {
|
|
4031
4030
|
return {
|
|
4032
|
-
...(input.name
|
|
4031
|
+
...(input.name != null && { name: input.name }),
|
|
4033
4032
|
};
|
|
4034
4033
|
};
|
|
4035
4034
|
const serializeAws_json1_1AlarmConfiguration = (input, context) => {
|
|
4036
4035
|
return {
|
|
4037
|
-
...(input.alarms
|
|
4038
|
-
|
|
4039
|
-
...(input.
|
|
4040
|
-
...(input.ignorePollAlarmFailure !== undefined &&
|
|
4041
|
-
input.ignorePollAlarmFailure !== null && { ignorePollAlarmFailure: input.ignorePollAlarmFailure }),
|
|
4036
|
+
...(input.alarms != null && { alarms: serializeAws_json1_1AlarmList(input.alarms, context) }),
|
|
4037
|
+
...(input.enabled != null && { enabled: input.enabled }),
|
|
4038
|
+
...(input.ignorePollAlarmFailure != null && { ignorePollAlarmFailure: input.ignorePollAlarmFailure }),
|
|
4042
4039
|
};
|
|
4043
4040
|
};
|
|
4044
4041
|
const serializeAws_json1_1AlarmList = (input, context) => {
|
|
@@ -4063,15 +4060,14 @@ const serializeAws_json1_1ApplicationsList = (input, context) => {
|
|
|
4063
4060
|
};
|
|
4064
4061
|
const serializeAws_json1_1AppSpecContent = (input, context) => {
|
|
4065
4062
|
return {
|
|
4066
|
-
...(input.content
|
|
4067
|
-
...(input.sha256
|
|
4063
|
+
...(input.content != null && { content: input.content }),
|
|
4064
|
+
...(input.sha256 != null && { sha256: input.sha256 }),
|
|
4068
4065
|
};
|
|
4069
4066
|
};
|
|
4070
4067
|
const serializeAws_json1_1AutoRollbackConfiguration = (input, context) => {
|
|
4071
4068
|
return {
|
|
4072
|
-
...(input.enabled
|
|
4073
|
-
...(input.events
|
|
4074
|
-
input.events !== null && { events: serializeAws_json1_1AutoRollbackEventsList(input.events, context) }),
|
|
4069
|
+
...(input.enabled != null && { enabled: input.enabled }),
|
|
4070
|
+
...(input.events != null && { events: serializeAws_json1_1AutoRollbackEventsList(input.events, context) }),
|
|
4075
4071
|
};
|
|
4076
4072
|
};
|
|
4077
4073
|
const serializeAws_json1_1AutoRollbackEventsList = (input, context) => {
|
|
@@ -4096,233 +4092,185 @@ const serializeAws_json1_1AutoScalingGroupNameList = (input, context) => {
|
|
|
4096
4092
|
};
|
|
4097
4093
|
const serializeAws_json1_1BatchGetApplicationRevisionsInput = (input, context) => {
|
|
4098
4094
|
return {
|
|
4099
|
-
...(input.applicationName
|
|
4100
|
-
|
|
4101
|
-
...(input.revisions !== undefined &&
|
|
4102
|
-
input.revisions !== null && { revisions: serializeAws_json1_1RevisionLocationList(input.revisions, context) }),
|
|
4095
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4096
|
+
...(input.revisions != null && { revisions: serializeAws_json1_1RevisionLocationList(input.revisions, context) }),
|
|
4103
4097
|
};
|
|
4104
4098
|
};
|
|
4105
4099
|
const serializeAws_json1_1BatchGetApplicationsInput = (input, context) => {
|
|
4106
4100
|
return {
|
|
4107
|
-
...(input.applicationNames
|
|
4108
|
-
input.applicationNames !== null && {
|
|
4101
|
+
...(input.applicationNames != null && {
|
|
4109
4102
|
applicationNames: serializeAws_json1_1ApplicationsList(input.applicationNames, context),
|
|
4110
4103
|
}),
|
|
4111
4104
|
};
|
|
4112
4105
|
};
|
|
4113
4106
|
const serializeAws_json1_1BatchGetDeploymentGroupsInput = (input, context) => {
|
|
4114
4107
|
return {
|
|
4115
|
-
...(input.applicationName
|
|
4116
|
-
|
|
4117
|
-
...(input.deploymentGroupNames !== undefined &&
|
|
4118
|
-
input.deploymentGroupNames !== null && {
|
|
4108
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4109
|
+
...(input.deploymentGroupNames != null && {
|
|
4119
4110
|
deploymentGroupNames: serializeAws_json1_1DeploymentGroupsList(input.deploymentGroupNames, context),
|
|
4120
4111
|
}),
|
|
4121
4112
|
};
|
|
4122
4113
|
};
|
|
4123
4114
|
const serializeAws_json1_1BatchGetDeploymentInstancesInput = (input, context) => {
|
|
4124
4115
|
return {
|
|
4125
|
-
...(input.deploymentId
|
|
4126
|
-
...(input.instanceIds
|
|
4127
|
-
input.instanceIds !== null && { instanceIds: serializeAws_json1_1InstancesList(input.instanceIds, context) }),
|
|
4116
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4117
|
+
...(input.instanceIds != null && { instanceIds: serializeAws_json1_1InstancesList(input.instanceIds, context) }),
|
|
4128
4118
|
};
|
|
4129
4119
|
};
|
|
4130
4120
|
const serializeAws_json1_1BatchGetDeploymentsInput = (input, context) => {
|
|
4131
4121
|
return {
|
|
4132
|
-
...(input.deploymentIds
|
|
4133
|
-
input.deploymentIds !== null && {
|
|
4122
|
+
...(input.deploymentIds != null && {
|
|
4134
4123
|
deploymentIds: serializeAws_json1_1DeploymentsList(input.deploymentIds, context),
|
|
4135
4124
|
}),
|
|
4136
4125
|
};
|
|
4137
4126
|
};
|
|
4138
4127
|
const serializeAws_json1_1BatchGetDeploymentTargetsInput = (input, context) => {
|
|
4139
4128
|
return {
|
|
4140
|
-
...(input.deploymentId
|
|
4141
|
-
...(input.targetIds
|
|
4142
|
-
input.targetIds !== null && { targetIds: serializeAws_json1_1TargetIdList(input.targetIds, context) }),
|
|
4129
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4130
|
+
...(input.targetIds != null && { targetIds: serializeAws_json1_1TargetIdList(input.targetIds, context) }),
|
|
4143
4131
|
};
|
|
4144
4132
|
};
|
|
4145
4133
|
const serializeAws_json1_1BatchGetOnPremisesInstancesInput = (input, context) => {
|
|
4146
4134
|
return {
|
|
4147
|
-
...(input.instanceNames
|
|
4148
|
-
input.instanceNames !== null && {
|
|
4135
|
+
...(input.instanceNames != null && {
|
|
4149
4136
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
4150
4137
|
}),
|
|
4151
4138
|
};
|
|
4152
4139
|
};
|
|
4153
4140
|
const serializeAws_json1_1BlueGreenDeploymentConfiguration = (input, context) => {
|
|
4154
4141
|
return {
|
|
4155
|
-
...(input.deploymentReadyOption
|
|
4156
|
-
input.deploymentReadyOption !== null && {
|
|
4142
|
+
...(input.deploymentReadyOption != null && {
|
|
4157
4143
|
deploymentReadyOption: serializeAws_json1_1DeploymentReadyOption(input.deploymentReadyOption, context),
|
|
4158
4144
|
}),
|
|
4159
|
-
...(input.greenFleetProvisioningOption
|
|
4160
|
-
input.greenFleetProvisioningOption !== null && {
|
|
4145
|
+
...(input.greenFleetProvisioningOption != null && {
|
|
4161
4146
|
greenFleetProvisioningOption: serializeAws_json1_1GreenFleetProvisioningOption(input.greenFleetProvisioningOption, context),
|
|
4162
4147
|
}),
|
|
4163
|
-
...(input.terminateBlueInstancesOnDeploymentSuccess
|
|
4164
|
-
input.terminateBlueInstancesOnDeploymentSuccess !== null && {
|
|
4148
|
+
...(input.terminateBlueInstancesOnDeploymentSuccess != null && {
|
|
4165
4149
|
terminateBlueInstancesOnDeploymentSuccess: serializeAws_json1_1BlueInstanceTerminationOption(input.terminateBlueInstancesOnDeploymentSuccess, context),
|
|
4166
4150
|
}),
|
|
4167
4151
|
};
|
|
4168
4152
|
};
|
|
4169
4153
|
const serializeAws_json1_1BlueInstanceTerminationOption = (input, context) => {
|
|
4170
4154
|
return {
|
|
4171
|
-
...(input.action
|
|
4172
|
-
...(input.terminationWaitTimeInMinutes
|
|
4173
|
-
input.terminationWaitTimeInMinutes !== null && {
|
|
4155
|
+
...(input.action != null && { action: input.action }),
|
|
4156
|
+
...(input.terminationWaitTimeInMinutes != null && {
|
|
4174
4157
|
terminationWaitTimeInMinutes: input.terminationWaitTimeInMinutes,
|
|
4175
4158
|
}),
|
|
4176
4159
|
};
|
|
4177
4160
|
};
|
|
4178
4161
|
const serializeAws_json1_1ContinueDeploymentInput = (input, context) => {
|
|
4179
4162
|
return {
|
|
4180
|
-
...(input.deploymentId
|
|
4181
|
-
...(input.deploymentWaitType
|
|
4182
|
-
input.deploymentWaitType !== null && { deploymentWaitType: input.deploymentWaitType }),
|
|
4163
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4164
|
+
...(input.deploymentWaitType != null && { deploymentWaitType: input.deploymentWaitType }),
|
|
4183
4165
|
};
|
|
4184
4166
|
};
|
|
4185
4167
|
const serializeAws_json1_1CreateApplicationInput = (input, context) => {
|
|
4186
4168
|
return {
|
|
4187
|
-
...(input.applicationName
|
|
4188
|
-
|
|
4189
|
-
...(input.
|
|
4190
|
-
input.computePlatform !== null && { computePlatform: input.computePlatform }),
|
|
4191
|
-
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4169
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4170
|
+
...(input.computePlatform != null && { computePlatform: input.computePlatform }),
|
|
4171
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4192
4172
|
};
|
|
4193
4173
|
};
|
|
4194
4174
|
const serializeAws_json1_1CreateDeploymentConfigInput = (input, context) => {
|
|
4195
4175
|
return {
|
|
4196
|
-
...(input.computePlatform
|
|
4197
|
-
|
|
4198
|
-
...(input.
|
|
4199
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4200
|
-
...(input.minimumHealthyHosts !== undefined &&
|
|
4201
|
-
input.minimumHealthyHosts !== null && {
|
|
4176
|
+
...(input.computePlatform != null && { computePlatform: input.computePlatform }),
|
|
4177
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4178
|
+
...(input.minimumHealthyHosts != null && {
|
|
4202
4179
|
minimumHealthyHosts: serializeAws_json1_1MinimumHealthyHosts(input.minimumHealthyHosts, context),
|
|
4203
4180
|
}),
|
|
4204
|
-
...(input.trafficRoutingConfig
|
|
4205
|
-
input.trafficRoutingConfig !== null && {
|
|
4181
|
+
...(input.trafficRoutingConfig != null && {
|
|
4206
4182
|
trafficRoutingConfig: serializeAws_json1_1TrafficRoutingConfig(input.trafficRoutingConfig, context),
|
|
4207
4183
|
}),
|
|
4208
4184
|
};
|
|
4209
4185
|
};
|
|
4210
4186
|
const serializeAws_json1_1CreateDeploymentGroupInput = (input, context) => {
|
|
4211
4187
|
return {
|
|
4212
|
-
...(input.alarmConfiguration
|
|
4213
|
-
input.alarmConfiguration !== null && {
|
|
4188
|
+
...(input.alarmConfiguration != null && {
|
|
4214
4189
|
alarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.alarmConfiguration, context),
|
|
4215
4190
|
}),
|
|
4216
|
-
...(input.applicationName
|
|
4217
|
-
|
|
4218
|
-
...(input.autoRollbackConfiguration !== undefined &&
|
|
4219
|
-
input.autoRollbackConfiguration !== null && {
|
|
4191
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4192
|
+
...(input.autoRollbackConfiguration != null && {
|
|
4220
4193
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
4221
4194
|
}),
|
|
4222
|
-
...(input.autoScalingGroups
|
|
4223
|
-
input.autoScalingGroups !== null && {
|
|
4195
|
+
...(input.autoScalingGroups != null && {
|
|
4224
4196
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
4225
4197
|
}),
|
|
4226
|
-
...(input.blueGreenDeploymentConfiguration
|
|
4227
|
-
input.blueGreenDeploymentConfiguration !== null && {
|
|
4198
|
+
...(input.blueGreenDeploymentConfiguration != null && {
|
|
4228
4199
|
blueGreenDeploymentConfiguration: serializeAws_json1_1BlueGreenDeploymentConfiguration(input.blueGreenDeploymentConfiguration, context),
|
|
4229
4200
|
}),
|
|
4230
|
-
...(input.deploymentConfigName
|
|
4231
|
-
|
|
4232
|
-
...(input.
|
|
4233
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4234
|
-
...(input.deploymentStyle !== undefined &&
|
|
4235
|
-
input.deploymentStyle !== null && {
|
|
4201
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4202
|
+
...(input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4203
|
+
...(input.deploymentStyle != null && {
|
|
4236
4204
|
deploymentStyle: serializeAws_json1_1DeploymentStyle(input.deploymentStyle, context),
|
|
4237
4205
|
}),
|
|
4238
|
-
...(input.ec2TagFilters
|
|
4239
|
-
input.ec2TagFilters !== null && {
|
|
4206
|
+
...(input.ec2TagFilters != null && {
|
|
4240
4207
|
ec2TagFilters: serializeAws_json1_1EC2TagFilterList(input.ec2TagFilters, context),
|
|
4241
4208
|
}),
|
|
4242
|
-
...(input.ec2TagSet
|
|
4243
|
-
|
|
4244
|
-
...(input.
|
|
4245
|
-
input.ecsServices !== null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) }),
|
|
4246
|
-
...(input.loadBalancerInfo !== undefined &&
|
|
4247
|
-
input.loadBalancerInfo !== null && {
|
|
4209
|
+
...(input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) }),
|
|
4210
|
+
...(input.ecsServices != null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) }),
|
|
4211
|
+
...(input.loadBalancerInfo != null && {
|
|
4248
4212
|
loadBalancerInfo: serializeAws_json1_1LoadBalancerInfo(input.loadBalancerInfo, context),
|
|
4249
4213
|
}),
|
|
4250
|
-
...(input.onPremisesInstanceTagFilters
|
|
4251
|
-
input.onPremisesInstanceTagFilters !== null && {
|
|
4214
|
+
...(input.onPremisesInstanceTagFilters != null && {
|
|
4252
4215
|
onPremisesInstanceTagFilters: serializeAws_json1_1TagFilterList(input.onPremisesInstanceTagFilters, context),
|
|
4253
4216
|
}),
|
|
4254
|
-
...(input.onPremisesTagSet
|
|
4255
|
-
input.onPremisesTagSet !== null && {
|
|
4217
|
+
...(input.onPremisesTagSet != null && {
|
|
4256
4218
|
onPremisesTagSet: serializeAws_json1_1OnPremisesTagSet(input.onPremisesTagSet, context),
|
|
4257
4219
|
}),
|
|
4258
|
-
...(input.outdatedInstancesStrategy
|
|
4259
|
-
|
|
4260
|
-
...(input.
|
|
4261
|
-
|
|
4262
|
-
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4263
|
-
...(input.triggerConfigurations !== undefined &&
|
|
4264
|
-
input.triggerConfigurations !== null && {
|
|
4220
|
+
...(input.outdatedInstancesStrategy != null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy }),
|
|
4221
|
+
...(input.serviceRoleArn != null && { serviceRoleArn: input.serviceRoleArn }),
|
|
4222
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4223
|
+
...(input.triggerConfigurations != null && {
|
|
4265
4224
|
triggerConfigurations: serializeAws_json1_1TriggerConfigList(input.triggerConfigurations, context),
|
|
4266
4225
|
}),
|
|
4267
4226
|
};
|
|
4268
4227
|
};
|
|
4269
4228
|
const serializeAws_json1_1CreateDeploymentInput = (input, context) => {
|
|
4270
4229
|
return {
|
|
4271
|
-
...(input.applicationName
|
|
4272
|
-
|
|
4273
|
-
...(input.autoRollbackConfiguration !== undefined &&
|
|
4274
|
-
input.autoRollbackConfiguration !== null && {
|
|
4230
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4231
|
+
...(input.autoRollbackConfiguration != null && {
|
|
4275
4232
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
4276
4233
|
}),
|
|
4277
|
-
...(input.deploymentConfigName
|
|
4278
|
-
|
|
4279
|
-
...(input.
|
|
4280
|
-
|
|
4281
|
-
...(input.
|
|
4282
|
-
...(input.fileExistsBehavior !== undefined &&
|
|
4283
|
-
input.fileExistsBehavior !== null && { fileExistsBehavior: input.fileExistsBehavior }),
|
|
4284
|
-
...(input.ignoreApplicationStopFailures !== undefined &&
|
|
4285
|
-
input.ignoreApplicationStopFailures !== null && {
|
|
4234
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4235
|
+
...(input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4236
|
+
...(input.description != null && { description: input.description }),
|
|
4237
|
+
...(input.fileExistsBehavior != null && { fileExistsBehavior: input.fileExistsBehavior }),
|
|
4238
|
+
...(input.ignoreApplicationStopFailures != null && {
|
|
4286
4239
|
ignoreApplicationStopFailures: input.ignoreApplicationStopFailures,
|
|
4287
4240
|
}),
|
|
4288
|
-
...(input.revision
|
|
4289
|
-
|
|
4290
|
-
...(input.targetInstances !== undefined &&
|
|
4291
|
-
input.targetInstances !== null && {
|
|
4241
|
+
...(input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4242
|
+
...(input.targetInstances != null && {
|
|
4292
4243
|
targetInstances: serializeAws_json1_1TargetInstances(input.targetInstances, context),
|
|
4293
4244
|
}),
|
|
4294
|
-
...(input.updateOutdatedInstancesOnly
|
|
4295
|
-
|
|
4245
|
+
...(input.updateOutdatedInstancesOnly != null && {
|
|
4246
|
+
updateOutdatedInstancesOnly: input.updateOutdatedInstancesOnly,
|
|
4247
|
+
}),
|
|
4296
4248
|
};
|
|
4297
4249
|
};
|
|
4298
4250
|
const serializeAws_json1_1DeleteApplicationInput = (input, context) => {
|
|
4299
4251
|
return {
|
|
4300
|
-
...(input.applicationName
|
|
4301
|
-
input.applicationName !== null && { applicationName: input.applicationName }),
|
|
4252
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4302
4253
|
};
|
|
4303
4254
|
};
|
|
4304
4255
|
const serializeAws_json1_1DeleteDeploymentConfigInput = (input, context) => {
|
|
4305
4256
|
return {
|
|
4306
|
-
...(input.deploymentConfigName
|
|
4307
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4257
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4308
4258
|
};
|
|
4309
4259
|
};
|
|
4310
4260
|
const serializeAws_json1_1DeleteDeploymentGroupInput = (input, context) => {
|
|
4311
4261
|
return {
|
|
4312
|
-
...(input.applicationName
|
|
4313
|
-
|
|
4314
|
-
...(input.deploymentGroupName !== undefined &&
|
|
4315
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4262
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4263
|
+
...(input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4316
4264
|
};
|
|
4317
4265
|
};
|
|
4318
4266
|
const serializeAws_json1_1DeleteGitHubAccountTokenInput = (input, context) => {
|
|
4319
4267
|
return {
|
|
4320
|
-
...(input.tokenName
|
|
4268
|
+
...(input.tokenName != null && { tokenName: input.tokenName }),
|
|
4321
4269
|
};
|
|
4322
4270
|
};
|
|
4323
4271
|
const serializeAws_json1_1DeleteResourcesByExternalIdInput = (input, context) => {
|
|
4324
4272
|
return {
|
|
4325
|
-
...(input.externalId
|
|
4273
|
+
...(input.externalId != null && { externalId: input.externalId }),
|
|
4326
4274
|
};
|
|
4327
4275
|
};
|
|
4328
4276
|
const serializeAws_json1_1DeploymentGroupsList = (input, context) => {
|
|
@@ -4337,10 +4285,8 @@ const serializeAws_json1_1DeploymentGroupsList = (input, context) => {
|
|
|
4337
4285
|
};
|
|
4338
4286
|
const serializeAws_json1_1DeploymentReadyOption = (input, context) => {
|
|
4339
4287
|
return {
|
|
4340
|
-
...(input.actionOnTimeout
|
|
4341
|
-
|
|
4342
|
-
...(input.waitTimeInMinutes !== undefined &&
|
|
4343
|
-
input.waitTimeInMinutes !== null && { waitTimeInMinutes: input.waitTimeInMinutes }),
|
|
4288
|
+
...(input.actionOnTimeout != null && { actionOnTimeout: input.actionOnTimeout }),
|
|
4289
|
+
...(input.waitTimeInMinutes != null && { waitTimeInMinutes: input.waitTimeInMinutes }),
|
|
4344
4290
|
};
|
|
4345
4291
|
};
|
|
4346
4292
|
const serializeAws_json1_1DeploymentsList = (input, context) => {
|
|
@@ -4365,22 +4311,20 @@ const serializeAws_json1_1DeploymentStatusList = (input, context) => {
|
|
|
4365
4311
|
};
|
|
4366
4312
|
const serializeAws_json1_1DeploymentStyle = (input, context) => {
|
|
4367
4313
|
return {
|
|
4368
|
-
...(input.deploymentOption
|
|
4369
|
-
|
|
4370
|
-
...(input.deploymentType !== undefined &&
|
|
4371
|
-
input.deploymentType !== null && { deploymentType: input.deploymentType }),
|
|
4314
|
+
...(input.deploymentOption != null && { deploymentOption: input.deploymentOption }),
|
|
4315
|
+
...(input.deploymentType != null && { deploymentType: input.deploymentType }),
|
|
4372
4316
|
};
|
|
4373
4317
|
};
|
|
4374
4318
|
const serializeAws_json1_1DeregisterOnPremisesInstanceInput = (input, context) => {
|
|
4375
4319
|
return {
|
|
4376
|
-
...(input.instanceName
|
|
4320
|
+
...(input.instanceName != null && { instanceName: input.instanceName }),
|
|
4377
4321
|
};
|
|
4378
4322
|
};
|
|
4379
4323
|
const serializeAws_json1_1EC2TagFilter = (input, context) => {
|
|
4380
4324
|
return {
|
|
4381
|
-
...(input.Key
|
|
4382
|
-
...(input.Type
|
|
4383
|
-
...(input.Value
|
|
4325
|
+
...(input.Key != null && { Key: input.Key }),
|
|
4326
|
+
...(input.Type != null && { Type: input.Type }),
|
|
4327
|
+
...(input.Value != null && { Value: input.Value }),
|
|
4384
4328
|
};
|
|
4385
4329
|
};
|
|
4386
4330
|
const serializeAws_json1_1EC2TagFilterList = (input, context) => {
|
|
@@ -4395,8 +4339,7 @@ const serializeAws_json1_1EC2TagFilterList = (input, context) => {
|
|
|
4395
4339
|
};
|
|
4396
4340
|
const serializeAws_json1_1EC2TagSet = (input, context) => {
|
|
4397
4341
|
return {
|
|
4398
|
-
...(input.ec2TagSetList
|
|
4399
|
-
input.ec2TagSetList !== null && {
|
|
4342
|
+
...(input.ec2TagSetList != null && {
|
|
4400
4343
|
ec2TagSetList: serializeAws_json1_1EC2TagSetList(input.ec2TagSetList, context),
|
|
4401
4344
|
}),
|
|
4402
4345
|
};
|
|
@@ -4413,8 +4356,8 @@ const serializeAws_json1_1EC2TagSetList = (input, context) => {
|
|
|
4413
4356
|
};
|
|
4414
4357
|
const serializeAws_json1_1ECSService = (input, context) => {
|
|
4415
4358
|
return {
|
|
4416
|
-
...(input.clusterName
|
|
4417
|
-
...(input.serviceName
|
|
4359
|
+
...(input.clusterName != null && { clusterName: input.clusterName }),
|
|
4360
|
+
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
4418
4361
|
};
|
|
4419
4362
|
};
|
|
4420
4363
|
const serializeAws_json1_1ECSServiceList = (input, context) => {
|
|
@@ -4429,7 +4372,7 @@ const serializeAws_json1_1ECSServiceList = (input, context) => {
|
|
|
4429
4372
|
};
|
|
4430
4373
|
const serializeAws_json1_1ELBInfo = (input, context) => {
|
|
4431
4374
|
return {
|
|
4432
|
-
...(input.name
|
|
4375
|
+
...(input.name != null && { name: input.name }),
|
|
4433
4376
|
};
|
|
4434
4377
|
};
|
|
4435
4378
|
const serializeAws_json1_1ELBInfoList = (input, context) => {
|
|
@@ -4454,63 +4397,57 @@ const serializeAws_json1_1FilterValueList = (input, context) => {
|
|
|
4454
4397
|
};
|
|
4455
4398
|
const serializeAws_json1_1GetApplicationInput = (input, context) => {
|
|
4456
4399
|
return {
|
|
4457
|
-
...(input.applicationName
|
|
4458
|
-
input.applicationName !== null && { applicationName: input.applicationName }),
|
|
4400
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4459
4401
|
};
|
|
4460
4402
|
};
|
|
4461
4403
|
const serializeAws_json1_1GetApplicationRevisionInput = (input, context) => {
|
|
4462
4404
|
return {
|
|
4463
|
-
...(input.applicationName
|
|
4464
|
-
|
|
4465
|
-
...(input.revision !== undefined &&
|
|
4466
|
-
input.revision !== null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4405
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4406
|
+
...(input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4467
4407
|
};
|
|
4468
4408
|
};
|
|
4469
4409
|
const serializeAws_json1_1GetDeploymentConfigInput = (input, context) => {
|
|
4470
4410
|
return {
|
|
4471
|
-
...(input.deploymentConfigName
|
|
4472
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4411
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4473
4412
|
};
|
|
4474
4413
|
};
|
|
4475
4414
|
const serializeAws_json1_1GetDeploymentGroupInput = (input, context) => {
|
|
4476
4415
|
return {
|
|
4477
|
-
...(input.applicationName
|
|
4478
|
-
|
|
4479
|
-
...(input.deploymentGroupName !== undefined &&
|
|
4480
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4416
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4417
|
+
...(input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4481
4418
|
};
|
|
4482
4419
|
};
|
|
4483
4420
|
const serializeAws_json1_1GetDeploymentInput = (input, context) => {
|
|
4484
4421
|
return {
|
|
4485
|
-
...(input.deploymentId
|
|
4422
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4486
4423
|
};
|
|
4487
4424
|
};
|
|
4488
4425
|
const serializeAws_json1_1GetDeploymentInstanceInput = (input, context) => {
|
|
4489
4426
|
return {
|
|
4490
|
-
...(input.deploymentId
|
|
4491
|
-
...(input.instanceId
|
|
4427
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4428
|
+
...(input.instanceId != null && { instanceId: input.instanceId }),
|
|
4492
4429
|
};
|
|
4493
4430
|
};
|
|
4494
4431
|
const serializeAws_json1_1GetDeploymentTargetInput = (input, context) => {
|
|
4495
4432
|
return {
|
|
4496
|
-
...(input.deploymentId
|
|
4497
|
-
...(input.targetId
|
|
4433
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4434
|
+
...(input.targetId != null && { targetId: input.targetId }),
|
|
4498
4435
|
};
|
|
4499
4436
|
};
|
|
4500
4437
|
const serializeAws_json1_1GetOnPremisesInstanceInput = (input, context) => {
|
|
4501
4438
|
return {
|
|
4502
|
-
...(input.instanceName
|
|
4439
|
+
...(input.instanceName != null && { instanceName: input.instanceName }),
|
|
4503
4440
|
};
|
|
4504
4441
|
};
|
|
4505
4442
|
const serializeAws_json1_1GitHubLocation = (input, context) => {
|
|
4506
4443
|
return {
|
|
4507
|
-
...(input.commitId
|
|
4508
|
-
...(input.repository
|
|
4444
|
+
...(input.commitId != null && { commitId: input.commitId }),
|
|
4445
|
+
...(input.repository != null && { repository: input.repository }),
|
|
4509
4446
|
};
|
|
4510
4447
|
};
|
|
4511
4448
|
const serializeAws_json1_1GreenFleetProvisioningOption = (input, context) => {
|
|
4512
4449
|
return {
|
|
4513
|
-
...(input.action
|
|
4450
|
+
...(input.action != null && { action: input.action }),
|
|
4514
4451
|
};
|
|
4515
4452
|
};
|
|
4516
4453
|
const serializeAws_json1_1InstanceNameList = (input, context) => {
|
|
@@ -4555,71 +4492,62 @@ const serializeAws_json1_1InstanceTypeList = (input, context) => {
|
|
|
4555
4492
|
};
|
|
4556
4493
|
const serializeAws_json1_1ListApplicationRevisionsInput = (input, context) => {
|
|
4557
4494
|
return {
|
|
4558
|
-
...(input.applicationName
|
|
4559
|
-
|
|
4560
|
-
...(input.
|
|
4561
|
-
...(input.
|
|
4562
|
-
...(input.
|
|
4563
|
-
...(input.
|
|
4564
|
-
...(input.
|
|
4565
|
-
...(input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }),
|
|
4495
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4496
|
+
...(input.deployed != null && { deployed: input.deployed }),
|
|
4497
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4498
|
+
...(input.s3Bucket != null && { s3Bucket: input.s3Bucket }),
|
|
4499
|
+
...(input.s3KeyPrefix != null && { s3KeyPrefix: input.s3KeyPrefix }),
|
|
4500
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
4501
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
4566
4502
|
};
|
|
4567
4503
|
};
|
|
4568
4504
|
const serializeAws_json1_1ListApplicationsInput = (input, context) => {
|
|
4569
4505
|
return {
|
|
4570
|
-
...(input.nextToken
|
|
4506
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4571
4507
|
};
|
|
4572
4508
|
};
|
|
4573
4509
|
const serializeAws_json1_1ListDeploymentConfigsInput = (input, context) => {
|
|
4574
4510
|
return {
|
|
4575
|
-
...(input.nextToken
|
|
4511
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4576
4512
|
};
|
|
4577
4513
|
};
|
|
4578
4514
|
const serializeAws_json1_1ListDeploymentGroupsInput = (input, context) => {
|
|
4579
4515
|
return {
|
|
4580
|
-
...(input.applicationName
|
|
4581
|
-
|
|
4582
|
-
...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
|
|
4516
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4517
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4583
4518
|
};
|
|
4584
4519
|
};
|
|
4585
4520
|
const serializeAws_json1_1ListDeploymentInstancesInput = (input, context) => {
|
|
4586
4521
|
return {
|
|
4587
|
-
...(input.deploymentId
|
|
4588
|
-
...(input.instanceStatusFilter
|
|
4589
|
-
input.instanceStatusFilter !== null && {
|
|
4522
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4523
|
+
...(input.instanceStatusFilter != null && {
|
|
4590
4524
|
instanceStatusFilter: serializeAws_json1_1InstanceStatusList(input.instanceStatusFilter, context),
|
|
4591
4525
|
}),
|
|
4592
|
-
...(input.instanceTypeFilter
|
|
4593
|
-
input.instanceTypeFilter !== null && {
|
|
4526
|
+
...(input.instanceTypeFilter != null && {
|
|
4594
4527
|
instanceTypeFilter: serializeAws_json1_1InstanceTypeList(input.instanceTypeFilter, context),
|
|
4595
4528
|
}),
|
|
4596
|
-
...(input.nextToken
|
|
4529
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4597
4530
|
};
|
|
4598
4531
|
};
|
|
4599
4532
|
const serializeAws_json1_1ListDeploymentsInput = (input, context) => {
|
|
4600
4533
|
return {
|
|
4601
|
-
...(input.applicationName
|
|
4602
|
-
|
|
4603
|
-
...(input.createTimeRange !== undefined &&
|
|
4604
|
-
input.createTimeRange !== null && {
|
|
4534
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4535
|
+
...(input.createTimeRange != null && {
|
|
4605
4536
|
createTimeRange: serializeAws_json1_1TimeRange(input.createTimeRange, context),
|
|
4606
4537
|
}),
|
|
4607
|
-
...(input.deploymentGroupName
|
|
4608
|
-
|
|
4609
|
-
...(input.
|
|
4610
|
-
...(input.includeOnlyStatuses !== undefined &&
|
|
4611
|
-
input.includeOnlyStatuses !== null && {
|
|
4538
|
+
...(input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4539
|
+
...(input.externalId != null && { externalId: input.externalId }),
|
|
4540
|
+
...(input.includeOnlyStatuses != null && {
|
|
4612
4541
|
includeOnlyStatuses: serializeAws_json1_1DeploymentStatusList(input.includeOnlyStatuses, context),
|
|
4613
4542
|
}),
|
|
4614
|
-
...(input.nextToken
|
|
4543
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4615
4544
|
};
|
|
4616
4545
|
};
|
|
4617
4546
|
const serializeAws_json1_1ListDeploymentTargetsInput = (input, context) => {
|
|
4618
4547
|
return {
|
|
4619
|
-
...(input.deploymentId
|
|
4620
|
-
...(input.nextToken
|
|
4621
|
-
...(input.targetFilters
|
|
4622
|
-
input.targetFilters !== null && {
|
|
4548
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4549
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4550
|
+
...(input.targetFilters != null && {
|
|
4623
4551
|
targetFilters: serializeAws_json1_1TargetFilters(input.targetFilters, context),
|
|
4624
4552
|
}),
|
|
4625
4553
|
};
|
|
@@ -4636,48 +4564,42 @@ const serializeAws_json1_1ListenerArnList = (input, context) => {
|
|
|
4636
4564
|
};
|
|
4637
4565
|
const serializeAws_json1_1ListGitHubAccountTokenNamesInput = (input, context) => {
|
|
4638
4566
|
return {
|
|
4639
|
-
...(input.nextToken
|
|
4567
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4640
4568
|
};
|
|
4641
4569
|
};
|
|
4642
4570
|
const serializeAws_json1_1ListOnPremisesInstancesInput = (input, context) => {
|
|
4643
4571
|
return {
|
|
4644
|
-
...(input.nextToken
|
|
4645
|
-
...(input.registrationStatus
|
|
4646
|
-
|
|
4647
|
-
...(input.tagFilters !== undefined &&
|
|
4648
|
-
input.tagFilters !== null && { tagFilters: serializeAws_json1_1TagFilterList(input.tagFilters, context) }),
|
|
4572
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4573
|
+
...(input.registrationStatus != null && { registrationStatus: input.registrationStatus }),
|
|
4574
|
+
...(input.tagFilters != null && { tagFilters: serializeAws_json1_1TagFilterList(input.tagFilters, context) }),
|
|
4649
4575
|
};
|
|
4650
4576
|
};
|
|
4651
4577
|
const serializeAws_json1_1ListTagsForResourceInput = (input, context) => {
|
|
4652
4578
|
return {
|
|
4653
|
-
...(input.NextToken
|
|
4654
|
-
...(input.ResourceArn
|
|
4579
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4580
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4655
4581
|
};
|
|
4656
4582
|
};
|
|
4657
4583
|
const serializeAws_json1_1LoadBalancerInfo = (input, context) => {
|
|
4658
4584
|
return {
|
|
4659
|
-
...(input.elbInfoList
|
|
4660
|
-
|
|
4661
|
-
...(input.targetGroupInfoList !== undefined &&
|
|
4662
|
-
input.targetGroupInfoList !== null && {
|
|
4585
|
+
...(input.elbInfoList != null && { elbInfoList: serializeAws_json1_1ELBInfoList(input.elbInfoList, context) }),
|
|
4586
|
+
...(input.targetGroupInfoList != null && {
|
|
4663
4587
|
targetGroupInfoList: serializeAws_json1_1TargetGroupInfoList(input.targetGroupInfoList, context),
|
|
4664
4588
|
}),
|
|
4665
|
-
...(input.targetGroupPairInfoList
|
|
4666
|
-
input.targetGroupPairInfoList !== null && {
|
|
4589
|
+
...(input.targetGroupPairInfoList != null && {
|
|
4667
4590
|
targetGroupPairInfoList: serializeAws_json1_1TargetGroupPairInfoList(input.targetGroupPairInfoList, context),
|
|
4668
4591
|
}),
|
|
4669
4592
|
};
|
|
4670
4593
|
};
|
|
4671
4594
|
const serializeAws_json1_1MinimumHealthyHosts = (input, context) => {
|
|
4672
4595
|
return {
|
|
4673
|
-
...(input.type
|
|
4674
|
-
...(input.value
|
|
4596
|
+
...(input.type != null && { type: input.type }),
|
|
4597
|
+
...(input.value != null && { value: input.value }),
|
|
4675
4598
|
};
|
|
4676
4599
|
};
|
|
4677
4600
|
const serializeAws_json1_1OnPremisesTagSet = (input, context) => {
|
|
4678
4601
|
return {
|
|
4679
|
-
...(input.onPremisesTagSetList
|
|
4680
|
-
input.onPremisesTagSetList !== null && {
|
|
4602
|
+
...(input.onPremisesTagSetList != null && {
|
|
4681
4603
|
onPremisesTagSetList: serializeAws_json1_1OnPremisesTagSetList(input.onPremisesTagSetList, context),
|
|
4682
4604
|
}),
|
|
4683
4605
|
};
|
|
@@ -4694,60 +4616,52 @@ const serializeAws_json1_1OnPremisesTagSetList = (input, context) => {
|
|
|
4694
4616
|
};
|
|
4695
4617
|
const serializeAws_json1_1PutLifecycleEventHookExecutionStatusInput = (input, context) => {
|
|
4696
4618
|
return {
|
|
4697
|
-
...(input.deploymentId
|
|
4698
|
-
...(input.lifecycleEventHookExecutionId
|
|
4699
|
-
input.lifecycleEventHookExecutionId !== null && {
|
|
4619
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4620
|
+
...(input.lifecycleEventHookExecutionId != null && {
|
|
4700
4621
|
lifecycleEventHookExecutionId: input.lifecycleEventHookExecutionId,
|
|
4701
4622
|
}),
|
|
4702
|
-
...(input.status
|
|
4623
|
+
...(input.status != null && { status: input.status }),
|
|
4703
4624
|
};
|
|
4704
4625
|
};
|
|
4705
4626
|
const serializeAws_json1_1RawString = (input, context) => {
|
|
4706
4627
|
return {
|
|
4707
|
-
...(input.content
|
|
4708
|
-
...(input.sha256
|
|
4628
|
+
...(input.content != null && { content: input.content }),
|
|
4629
|
+
...(input.sha256 != null && { sha256: input.sha256 }),
|
|
4709
4630
|
};
|
|
4710
4631
|
};
|
|
4711
4632
|
const serializeAws_json1_1RegisterApplicationRevisionInput = (input, context) => {
|
|
4712
4633
|
return {
|
|
4713
|
-
...(input.applicationName
|
|
4714
|
-
|
|
4715
|
-
...(input.
|
|
4716
|
-
...(input.revision !== undefined &&
|
|
4717
|
-
input.revision !== null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4634
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4635
|
+
...(input.description != null && { description: input.description }),
|
|
4636
|
+
...(input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4718
4637
|
};
|
|
4719
4638
|
};
|
|
4720
4639
|
const serializeAws_json1_1RegisterOnPremisesInstanceInput = (input, context) => {
|
|
4721
4640
|
return {
|
|
4722
|
-
...(input.iamSessionArn
|
|
4723
|
-
...(input.iamUserArn
|
|
4724
|
-
...(input.instanceName
|
|
4641
|
+
...(input.iamSessionArn != null && { iamSessionArn: input.iamSessionArn }),
|
|
4642
|
+
...(input.iamUserArn != null && { iamUserArn: input.iamUserArn }),
|
|
4643
|
+
...(input.instanceName != null && { instanceName: input.instanceName }),
|
|
4725
4644
|
};
|
|
4726
4645
|
};
|
|
4727
4646
|
const serializeAws_json1_1RemoveTagsFromOnPremisesInstancesInput = (input, context) => {
|
|
4728
4647
|
return {
|
|
4729
|
-
...(input.instanceNames
|
|
4730
|
-
input.instanceNames !== null && {
|
|
4648
|
+
...(input.instanceNames != null && {
|
|
4731
4649
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
4732
4650
|
}),
|
|
4733
|
-
...(input.tags
|
|
4651
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4734
4652
|
};
|
|
4735
4653
|
};
|
|
4736
4654
|
const serializeAws_json1_1RevisionLocation = (input, context) => {
|
|
4737
4655
|
return {
|
|
4738
|
-
...(input.appSpecContent
|
|
4739
|
-
input.appSpecContent !== null && {
|
|
4656
|
+
...(input.appSpecContent != null && {
|
|
4740
4657
|
appSpecContent: serializeAws_json1_1AppSpecContent(input.appSpecContent, context),
|
|
4741
4658
|
}),
|
|
4742
|
-
...(input.gitHubLocation
|
|
4743
|
-
input.gitHubLocation !== null && {
|
|
4659
|
+
...(input.gitHubLocation != null && {
|
|
4744
4660
|
gitHubLocation: serializeAws_json1_1GitHubLocation(input.gitHubLocation, context),
|
|
4745
4661
|
}),
|
|
4746
|
-
...(input.revisionType
|
|
4747
|
-
...(input.s3Location
|
|
4748
|
-
|
|
4749
|
-
...(input.string !== undefined &&
|
|
4750
|
-
input.string !== null && { string: serializeAws_json1_1RawString(input.string, context) }),
|
|
4662
|
+
...(input.revisionType != null && { revisionType: input.revisionType }),
|
|
4663
|
+
...(input.s3Location != null && { s3Location: serializeAws_json1_1S3Location(input.s3Location, context) }),
|
|
4664
|
+
...(input.string != null && { string: serializeAws_json1_1RawString(input.string, context) }),
|
|
4751
4665
|
};
|
|
4752
4666
|
};
|
|
4753
4667
|
const serializeAws_json1_1RevisionLocationList = (input, context) => {
|
|
@@ -4762,36 +4676,35 @@ const serializeAws_json1_1RevisionLocationList = (input, context) => {
|
|
|
4762
4676
|
};
|
|
4763
4677
|
const serializeAws_json1_1S3Location = (input, context) => {
|
|
4764
4678
|
return {
|
|
4765
|
-
...(input.bucket
|
|
4766
|
-
...(input.bundleType
|
|
4767
|
-
...(input.eTag
|
|
4768
|
-
...(input.key
|
|
4769
|
-
...(input.version
|
|
4679
|
+
...(input.bucket != null && { bucket: input.bucket }),
|
|
4680
|
+
...(input.bundleType != null && { bundleType: input.bundleType }),
|
|
4681
|
+
...(input.eTag != null && { eTag: input.eTag }),
|
|
4682
|
+
...(input.key != null && { key: input.key }),
|
|
4683
|
+
...(input.version != null && { version: input.version }),
|
|
4770
4684
|
};
|
|
4771
4685
|
};
|
|
4772
4686
|
const serializeAws_json1_1SkipWaitTimeForInstanceTerminationInput = (input, context) => {
|
|
4773
4687
|
return {
|
|
4774
|
-
...(input.deploymentId
|
|
4688
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4775
4689
|
};
|
|
4776
4690
|
};
|
|
4777
4691
|
const serializeAws_json1_1StopDeploymentInput = (input, context) => {
|
|
4778
4692
|
return {
|
|
4779
|
-
...(input.autoRollbackEnabled
|
|
4780
|
-
|
|
4781
|
-
...(input.deploymentId !== undefined && input.deploymentId !== null && { deploymentId: input.deploymentId }),
|
|
4693
|
+
...(input.autoRollbackEnabled != null && { autoRollbackEnabled: input.autoRollbackEnabled }),
|
|
4694
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4782
4695
|
};
|
|
4783
4696
|
};
|
|
4784
4697
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
4785
4698
|
return {
|
|
4786
|
-
...(input.Key
|
|
4787
|
-
...(input.Value
|
|
4699
|
+
...(input.Key != null && { Key: input.Key }),
|
|
4700
|
+
...(input.Value != null && { Value: input.Value }),
|
|
4788
4701
|
};
|
|
4789
4702
|
};
|
|
4790
4703
|
const serializeAws_json1_1TagFilter = (input, context) => {
|
|
4791
4704
|
return {
|
|
4792
|
-
...(input.Key
|
|
4793
|
-
...(input.Type
|
|
4794
|
-
...(input.Value
|
|
4705
|
+
...(input.Key != null && { Key: input.Key }),
|
|
4706
|
+
...(input.Type != null && { Type: input.Type }),
|
|
4707
|
+
...(input.Value != null && { Value: input.Value }),
|
|
4795
4708
|
};
|
|
4796
4709
|
};
|
|
4797
4710
|
const serializeAws_json1_1TagFilterList = (input, context) => {
|
|
@@ -4826,8 +4739,8 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
4826
4739
|
};
|
|
4827
4740
|
const serializeAws_json1_1TagResourceInput = (input, context) => {
|
|
4828
4741
|
return {
|
|
4829
|
-
...(input.ResourceArn
|
|
4830
|
-
...(input.Tags
|
|
4742
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4743
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4831
4744
|
};
|
|
4832
4745
|
};
|
|
4833
4746
|
const serializeAws_json1_1TargetFilters = (input, context) => {
|
|
@@ -4843,7 +4756,7 @@ const serializeAws_json1_1TargetFilters = (input, context) => {
|
|
|
4843
4756
|
};
|
|
4844
4757
|
const serializeAws_json1_1TargetGroupInfo = (input, context) => {
|
|
4845
4758
|
return {
|
|
4846
|
-
...(input.name
|
|
4759
|
+
...(input.name != null && { name: input.name }),
|
|
4847
4760
|
};
|
|
4848
4761
|
};
|
|
4849
4762
|
const serializeAws_json1_1TargetGroupInfoList = (input, context) => {
|
|
@@ -4858,16 +4771,13 @@ const serializeAws_json1_1TargetGroupInfoList = (input, context) => {
|
|
|
4858
4771
|
};
|
|
4859
4772
|
const serializeAws_json1_1TargetGroupPairInfo = (input, context) => {
|
|
4860
4773
|
return {
|
|
4861
|
-
...(input.prodTrafficRoute
|
|
4862
|
-
input.prodTrafficRoute !== null && {
|
|
4774
|
+
...(input.prodTrafficRoute != null && {
|
|
4863
4775
|
prodTrafficRoute: serializeAws_json1_1TrafficRoute(input.prodTrafficRoute, context),
|
|
4864
4776
|
}),
|
|
4865
|
-
...(input.targetGroups
|
|
4866
|
-
input.targetGroups !== null && {
|
|
4777
|
+
...(input.targetGroups != null && {
|
|
4867
4778
|
targetGroups: serializeAws_json1_1TargetGroupInfoList(input.targetGroups, context),
|
|
4868
4779
|
}),
|
|
4869
|
-
...(input.testTrafficRoute
|
|
4870
|
-
input.testTrafficRoute !== null && {
|
|
4780
|
+
...(input.testTrafficRoute != null && {
|
|
4871
4781
|
testTrafficRoute: serializeAws_json1_1TrafficRoute(input.testTrafficRoute, context),
|
|
4872
4782
|
}),
|
|
4873
4783
|
};
|
|
@@ -4894,68 +4804,56 @@ const serializeAws_json1_1TargetIdList = (input, context) => {
|
|
|
4894
4804
|
};
|
|
4895
4805
|
const serializeAws_json1_1TargetInstances = (input, context) => {
|
|
4896
4806
|
return {
|
|
4897
|
-
...(input.autoScalingGroups
|
|
4898
|
-
input.autoScalingGroups !== null && {
|
|
4807
|
+
...(input.autoScalingGroups != null && {
|
|
4899
4808
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
4900
4809
|
}),
|
|
4901
|
-
...(input.ec2TagSet
|
|
4902
|
-
|
|
4903
|
-
...(input.tagFilters !== undefined &&
|
|
4904
|
-
input.tagFilters !== null && { tagFilters: serializeAws_json1_1EC2TagFilterList(input.tagFilters, context) }),
|
|
4810
|
+
...(input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) }),
|
|
4811
|
+
...(input.tagFilters != null && { tagFilters: serializeAws_json1_1EC2TagFilterList(input.tagFilters, context) }),
|
|
4905
4812
|
};
|
|
4906
4813
|
};
|
|
4907
4814
|
const serializeAws_json1_1TimeBasedCanary = (input, context) => {
|
|
4908
4815
|
return {
|
|
4909
|
-
...(input.canaryInterval
|
|
4910
|
-
|
|
4911
|
-
...(input.canaryPercentage !== undefined &&
|
|
4912
|
-
input.canaryPercentage !== null && { canaryPercentage: input.canaryPercentage }),
|
|
4816
|
+
...(input.canaryInterval != null && { canaryInterval: input.canaryInterval }),
|
|
4817
|
+
...(input.canaryPercentage != null && { canaryPercentage: input.canaryPercentage }),
|
|
4913
4818
|
};
|
|
4914
4819
|
};
|
|
4915
4820
|
const serializeAws_json1_1TimeBasedLinear = (input, context) => {
|
|
4916
4821
|
return {
|
|
4917
|
-
...(input.linearInterval
|
|
4918
|
-
|
|
4919
|
-
...(input.linearPercentage !== undefined &&
|
|
4920
|
-
input.linearPercentage !== null && { linearPercentage: input.linearPercentage }),
|
|
4822
|
+
...(input.linearInterval != null && { linearInterval: input.linearInterval }),
|
|
4823
|
+
...(input.linearPercentage != null && { linearPercentage: input.linearPercentage }),
|
|
4921
4824
|
};
|
|
4922
4825
|
};
|
|
4923
4826
|
const serializeAws_json1_1TimeRange = (input, context) => {
|
|
4924
4827
|
return {
|
|
4925
|
-
...(input.end
|
|
4926
|
-
...(input.start
|
|
4828
|
+
...(input.end != null && { end: Math.round(input.end.getTime() / 1000) }),
|
|
4829
|
+
...(input.start != null && { start: Math.round(input.start.getTime() / 1000) }),
|
|
4927
4830
|
};
|
|
4928
4831
|
};
|
|
4929
4832
|
const serializeAws_json1_1TrafficRoute = (input, context) => {
|
|
4930
4833
|
return {
|
|
4931
|
-
...(input.listenerArns
|
|
4932
|
-
input.listenerArns !== null && {
|
|
4834
|
+
...(input.listenerArns != null && {
|
|
4933
4835
|
listenerArns: serializeAws_json1_1ListenerArnList(input.listenerArns, context),
|
|
4934
4836
|
}),
|
|
4935
4837
|
};
|
|
4936
4838
|
};
|
|
4937
4839
|
const serializeAws_json1_1TrafficRoutingConfig = (input, context) => {
|
|
4938
4840
|
return {
|
|
4939
|
-
...(input.timeBasedCanary
|
|
4940
|
-
input.timeBasedCanary !== null && {
|
|
4841
|
+
...(input.timeBasedCanary != null && {
|
|
4941
4842
|
timeBasedCanary: serializeAws_json1_1TimeBasedCanary(input.timeBasedCanary, context),
|
|
4942
4843
|
}),
|
|
4943
|
-
...(input.timeBasedLinear
|
|
4944
|
-
input.timeBasedLinear !== null && {
|
|
4844
|
+
...(input.timeBasedLinear != null && {
|
|
4945
4845
|
timeBasedLinear: serializeAws_json1_1TimeBasedLinear(input.timeBasedLinear, context),
|
|
4946
4846
|
}),
|
|
4947
|
-
...(input.type
|
|
4847
|
+
...(input.type != null && { type: input.type }),
|
|
4948
4848
|
};
|
|
4949
4849
|
};
|
|
4950
4850
|
const serializeAws_json1_1TriggerConfig = (input, context) => {
|
|
4951
4851
|
return {
|
|
4952
|
-
...(input.triggerEvents
|
|
4953
|
-
input.triggerEvents !== null && {
|
|
4852
|
+
...(input.triggerEvents != null && {
|
|
4954
4853
|
triggerEvents: serializeAws_json1_1TriggerEventTypeList(input.triggerEvents, context),
|
|
4955
4854
|
}),
|
|
4956
|
-
...(input.triggerName
|
|
4957
|
-
...(input.triggerTargetArn
|
|
4958
|
-
input.triggerTargetArn !== null && { triggerTargetArn: input.triggerTargetArn }),
|
|
4855
|
+
...(input.triggerName != null && { triggerName: input.triggerName }),
|
|
4856
|
+
...(input.triggerTargetArn != null && { triggerTargetArn: input.triggerTargetArn }),
|
|
4959
4857
|
};
|
|
4960
4858
|
};
|
|
4961
4859
|
const serializeAws_json1_1TriggerConfigList = (input, context) => {
|
|
@@ -4980,75 +4878,54 @@ const serializeAws_json1_1TriggerEventTypeList = (input, context) => {
|
|
|
4980
4878
|
};
|
|
4981
4879
|
const serializeAws_json1_1UntagResourceInput = (input, context) => {
|
|
4982
4880
|
return {
|
|
4983
|
-
...(input.ResourceArn
|
|
4984
|
-
...(input.TagKeys
|
|
4985
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
4881
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4882
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
4986
4883
|
};
|
|
4987
4884
|
};
|
|
4988
4885
|
const serializeAws_json1_1UpdateApplicationInput = (input, context) => {
|
|
4989
4886
|
return {
|
|
4990
|
-
...(input.applicationName
|
|
4991
|
-
|
|
4992
|
-
...(input.newApplicationName !== undefined &&
|
|
4993
|
-
input.newApplicationName !== null && { newApplicationName: input.newApplicationName }),
|
|
4887
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4888
|
+
...(input.newApplicationName != null && { newApplicationName: input.newApplicationName }),
|
|
4994
4889
|
};
|
|
4995
4890
|
};
|
|
4996
4891
|
const serializeAws_json1_1UpdateDeploymentGroupInput = (input, context) => {
|
|
4997
4892
|
return {
|
|
4998
|
-
...(input.alarmConfiguration
|
|
4999
|
-
input.alarmConfiguration !== null && {
|
|
4893
|
+
...(input.alarmConfiguration != null && {
|
|
5000
4894
|
alarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.alarmConfiguration, context),
|
|
5001
4895
|
}),
|
|
5002
|
-
...(input.applicationName
|
|
5003
|
-
|
|
5004
|
-
...(input.autoRollbackConfiguration !== undefined &&
|
|
5005
|
-
input.autoRollbackConfiguration !== null && {
|
|
4896
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4897
|
+
...(input.autoRollbackConfiguration != null && {
|
|
5006
4898
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
5007
4899
|
}),
|
|
5008
|
-
...(input.autoScalingGroups
|
|
5009
|
-
input.autoScalingGroups !== null && {
|
|
4900
|
+
...(input.autoScalingGroups != null && {
|
|
5010
4901
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
5011
4902
|
}),
|
|
5012
|
-
...(input.blueGreenDeploymentConfiguration
|
|
5013
|
-
input.blueGreenDeploymentConfiguration !== null && {
|
|
4903
|
+
...(input.blueGreenDeploymentConfiguration != null && {
|
|
5014
4904
|
blueGreenDeploymentConfiguration: serializeAws_json1_1BlueGreenDeploymentConfiguration(input.blueGreenDeploymentConfiguration, context),
|
|
5015
4905
|
}),
|
|
5016
|
-
...(input.currentDeploymentGroupName
|
|
5017
|
-
|
|
5018
|
-
...(input.
|
|
5019
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }),
|
|
5020
|
-
...(input.deploymentStyle !== undefined &&
|
|
5021
|
-
input.deploymentStyle !== null && {
|
|
4906
|
+
...(input.currentDeploymentGroupName != null && { currentDeploymentGroupName: input.currentDeploymentGroupName }),
|
|
4907
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4908
|
+
...(input.deploymentStyle != null && {
|
|
5022
4909
|
deploymentStyle: serializeAws_json1_1DeploymentStyle(input.deploymentStyle, context),
|
|
5023
4910
|
}),
|
|
5024
|
-
...(input.ec2TagFilters
|
|
5025
|
-
input.ec2TagFilters !== null && {
|
|
4911
|
+
...(input.ec2TagFilters != null && {
|
|
5026
4912
|
ec2TagFilters: serializeAws_json1_1EC2TagFilterList(input.ec2TagFilters, context),
|
|
5027
4913
|
}),
|
|
5028
|
-
...(input.ec2TagSet
|
|
5029
|
-
|
|
5030
|
-
...(input.
|
|
5031
|
-
input.ecsServices !== null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) }),
|
|
5032
|
-
...(input.loadBalancerInfo !== undefined &&
|
|
5033
|
-
input.loadBalancerInfo !== null && {
|
|
4914
|
+
...(input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) }),
|
|
4915
|
+
...(input.ecsServices != null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) }),
|
|
4916
|
+
...(input.loadBalancerInfo != null && {
|
|
5034
4917
|
loadBalancerInfo: serializeAws_json1_1LoadBalancerInfo(input.loadBalancerInfo, context),
|
|
5035
4918
|
}),
|
|
5036
|
-
...(input.newDeploymentGroupName
|
|
5037
|
-
|
|
5038
|
-
...(input.onPremisesInstanceTagFilters !== undefined &&
|
|
5039
|
-
input.onPremisesInstanceTagFilters !== null && {
|
|
4919
|
+
...(input.newDeploymentGroupName != null && { newDeploymentGroupName: input.newDeploymentGroupName }),
|
|
4920
|
+
...(input.onPremisesInstanceTagFilters != null && {
|
|
5040
4921
|
onPremisesInstanceTagFilters: serializeAws_json1_1TagFilterList(input.onPremisesInstanceTagFilters, context),
|
|
5041
4922
|
}),
|
|
5042
|
-
...(input.onPremisesTagSet
|
|
5043
|
-
input.onPremisesTagSet !== null && {
|
|
4923
|
+
...(input.onPremisesTagSet != null && {
|
|
5044
4924
|
onPremisesTagSet: serializeAws_json1_1OnPremisesTagSet(input.onPremisesTagSet, context),
|
|
5045
4925
|
}),
|
|
5046
|
-
...(input.outdatedInstancesStrategy
|
|
5047
|
-
|
|
5048
|
-
...(input.
|
|
5049
|
-
input.serviceRoleArn !== null && { serviceRoleArn: input.serviceRoleArn }),
|
|
5050
|
-
...(input.triggerConfigurations !== undefined &&
|
|
5051
|
-
input.triggerConfigurations !== null && {
|
|
4926
|
+
...(input.outdatedInstancesStrategy != null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy }),
|
|
4927
|
+
...(input.serviceRoleArn != null && { serviceRoleArn: input.serviceRoleArn }),
|
|
4928
|
+
...(input.triggerConfigurations != null && {
|
|
5052
4929
|
triggerConfigurations: serializeAws_json1_1TriggerConfigList(input.triggerConfigurations, context),
|
|
5053
4930
|
}),
|
|
5054
4931
|
};
|
|
@@ -5060,9 +4937,7 @@ const deserializeAws_json1_1Alarm = (output, context) => {
|
|
|
5060
4937
|
};
|
|
5061
4938
|
const deserializeAws_json1_1AlarmConfiguration = (output, context) => {
|
|
5062
4939
|
return {
|
|
5063
|
-
alarms: output.alarms
|
|
5064
|
-
? deserializeAws_json1_1AlarmList(output.alarms, context)
|
|
5065
|
-
: undefined,
|
|
4940
|
+
alarms: output.alarms != null ? deserializeAws_json1_1AlarmList(output.alarms, context) : undefined,
|
|
5066
4941
|
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
5067
4942
|
ignorePollAlarmFailure: (0, smithy_client_1.expectBoolean)(output.ignorePollAlarmFailure),
|
|
5068
4943
|
};
|
|
@@ -5098,9 +4973,7 @@ const deserializeAws_json1_1ApplicationInfo = (output, context) => {
|
|
|
5098
4973
|
applicationId: (0, smithy_client_1.expectString)(output.applicationId),
|
|
5099
4974
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
5100
4975
|
computePlatform: (0, smithy_client_1.expectString)(output.computePlatform),
|
|
5101
|
-
createTime: output.createTime
|
|
5102
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
5103
|
-
: undefined,
|
|
4976
|
+
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
5104
4977
|
gitHubAccountName: (0, smithy_client_1.expectString)(output.gitHubAccountName),
|
|
5105
4978
|
linkedToGitHub: (0, smithy_client_1.expectBoolean)(output.linkedToGitHub),
|
|
5106
4979
|
};
|
|
@@ -5151,9 +5024,7 @@ const deserializeAws_json1_1ArnNotSupportedException = (output, context) => {
|
|
|
5151
5024
|
const deserializeAws_json1_1AutoRollbackConfiguration = (output, context) => {
|
|
5152
5025
|
return {
|
|
5153
5026
|
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
5154
|
-
events: output.events
|
|
5155
|
-
? deserializeAws_json1_1AutoRollbackEventsList(output.events, context)
|
|
5156
|
-
: undefined,
|
|
5027
|
+
events: output.events != null ? deserializeAws_json1_1AutoRollbackEventsList(output.events, context) : undefined,
|
|
5157
5028
|
};
|
|
5158
5029
|
};
|
|
5159
5030
|
const deserializeAws_json1_1AutoRollbackEventsList = (output, context) => {
|
|
@@ -5199,21 +5070,19 @@ const deserializeAws_json1_1BatchGetApplicationRevisionsOutput = (output, contex
|
|
|
5199
5070
|
return {
|
|
5200
5071
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
5201
5072
|
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
5202
|
-
revisions: output.revisions
|
|
5203
|
-
? deserializeAws_json1_1RevisionInfoList(output.revisions, context)
|
|
5204
|
-
: undefined,
|
|
5073
|
+
revisions: output.revisions != null ? deserializeAws_json1_1RevisionInfoList(output.revisions, context) : undefined,
|
|
5205
5074
|
};
|
|
5206
5075
|
};
|
|
5207
5076
|
const deserializeAws_json1_1BatchGetApplicationsOutput = (output, context) => {
|
|
5208
5077
|
return {
|
|
5209
|
-
applicationsInfo: output.applicationsInfo
|
|
5078
|
+
applicationsInfo: output.applicationsInfo != null
|
|
5210
5079
|
? deserializeAws_json1_1ApplicationsInfoList(output.applicationsInfo, context)
|
|
5211
5080
|
: undefined,
|
|
5212
5081
|
};
|
|
5213
5082
|
};
|
|
5214
5083
|
const deserializeAws_json1_1BatchGetDeploymentGroupsOutput = (output, context) => {
|
|
5215
5084
|
return {
|
|
5216
|
-
deploymentGroupsInfo: output.deploymentGroupsInfo
|
|
5085
|
+
deploymentGroupsInfo: output.deploymentGroupsInfo != null
|
|
5217
5086
|
? deserializeAws_json1_1DeploymentGroupInfoList(output.deploymentGroupsInfo, context)
|
|
5218
5087
|
: undefined,
|
|
5219
5088
|
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
@@ -5222,30 +5091,28 @@ const deserializeAws_json1_1BatchGetDeploymentGroupsOutput = (output, context) =
|
|
|
5222
5091
|
const deserializeAws_json1_1BatchGetDeploymentInstancesOutput = (output, context) => {
|
|
5223
5092
|
return {
|
|
5224
5093
|
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
5225
|
-
instancesSummary: output.instancesSummary
|
|
5094
|
+
instancesSummary: output.instancesSummary != null
|
|
5226
5095
|
? deserializeAws_json1_1InstanceSummaryList(output.instancesSummary, context)
|
|
5227
5096
|
: undefined,
|
|
5228
5097
|
};
|
|
5229
5098
|
};
|
|
5230
5099
|
const deserializeAws_json1_1BatchGetDeploymentsOutput = (output, context) => {
|
|
5231
5100
|
return {
|
|
5232
|
-
deploymentsInfo: output.deploymentsInfo
|
|
5101
|
+
deploymentsInfo: output.deploymentsInfo != null
|
|
5233
5102
|
? deserializeAws_json1_1DeploymentsInfoList(output.deploymentsInfo, context)
|
|
5234
5103
|
: undefined,
|
|
5235
5104
|
};
|
|
5236
5105
|
};
|
|
5237
5106
|
const deserializeAws_json1_1BatchGetDeploymentTargetsOutput = (output, context) => {
|
|
5238
5107
|
return {
|
|
5239
|
-
deploymentTargets: output.deploymentTargets
|
|
5108
|
+
deploymentTargets: output.deploymentTargets != null
|
|
5240
5109
|
? deserializeAws_json1_1DeploymentTargetList(output.deploymentTargets, context)
|
|
5241
5110
|
: undefined,
|
|
5242
5111
|
};
|
|
5243
5112
|
};
|
|
5244
5113
|
const deserializeAws_json1_1BatchGetOnPremisesInstancesOutput = (output, context) => {
|
|
5245
5114
|
return {
|
|
5246
|
-
instanceInfos: output.instanceInfos
|
|
5247
|
-
? deserializeAws_json1_1InstanceInfoList(output.instanceInfos, context)
|
|
5248
|
-
: undefined,
|
|
5115
|
+
instanceInfos: output.instanceInfos != null ? deserializeAws_json1_1InstanceInfoList(output.instanceInfos, context) : undefined,
|
|
5249
5116
|
};
|
|
5250
5117
|
};
|
|
5251
5118
|
const deserializeAws_json1_1BatchLimitExceededException = (output, context) => {
|
|
@@ -5255,14 +5122,13 @@ const deserializeAws_json1_1BatchLimitExceededException = (output, context) => {
|
|
|
5255
5122
|
};
|
|
5256
5123
|
const deserializeAws_json1_1BlueGreenDeploymentConfiguration = (output, context) => {
|
|
5257
5124
|
return {
|
|
5258
|
-
deploymentReadyOption: output.deploymentReadyOption
|
|
5125
|
+
deploymentReadyOption: output.deploymentReadyOption != null
|
|
5259
5126
|
? deserializeAws_json1_1DeploymentReadyOption(output.deploymentReadyOption, context)
|
|
5260
5127
|
: undefined,
|
|
5261
|
-
greenFleetProvisioningOption: output.greenFleetProvisioningOption
|
|
5128
|
+
greenFleetProvisioningOption: output.greenFleetProvisioningOption != null
|
|
5262
5129
|
? deserializeAws_json1_1GreenFleetProvisioningOption(output.greenFleetProvisioningOption, context)
|
|
5263
5130
|
: undefined,
|
|
5264
|
-
terminateBlueInstancesOnDeploymentSuccess: output.terminateBlueInstancesOnDeploymentSuccess
|
|
5265
|
-
output.terminateBlueInstancesOnDeploymentSuccess !== null
|
|
5131
|
+
terminateBlueInstancesOnDeploymentSuccess: output.terminateBlueInstancesOnDeploymentSuccess != null
|
|
5266
5132
|
? deserializeAws_json1_1BlueInstanceTerminationOption(output.terminateBlueInstancesOnDeploymentSuccess, context)
|
|
5267
5133
|
: undefined,
|
|
5268
5134
|
};
|
|
@@ -5281,10 +5147,10 @@ const deserializeAws_json1_1BucketNameFilterRequiredException = (output, context
|
|
|
5281
5147
|
const deserializeAws_json1_1CloudFormationTarget = (output, context) => {
|
|
5282
5148
|
return {
|
|
5283
5149
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
5284
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
5150
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
5285
5151
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
5286
5152
|
: undefined,
|
|
5287
|
-
lifecycleEvents: output.lifecycleEvents
|
|
5153
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
5288
5154
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
5289
5155
|
: undefined,
|
|
5290
5156
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
@@ -5315,7 +5181,7 @@ const deserializeAws_json1_1CreateDeploymentOutput = (output, context) => {
|
|
|
5315
5181
|
};
|
|
5316
5182
|
const deserializeAws_json1_1DeleteDeploymentGroupOutput = (output, context) => {
|
|
5317
5183
|
return {
|
|
5318
|
-
hooksNotCleanedUp: output.hooksNotCleanedUp
|
|
5184
|
+
hooksNotCleanedUp: output.hooksNotCleanedUp != null
|
|
5319
5185
|
? deserializeAws_json1_1AutoScalingGroupList(output.hooksNotCleanedUp, context)
|
|
5320
5186
|
: undefined,
|
|
5321
5187
|
};
|
|
@@ -5346,15 +5212,13 @@ const deserializeAws_json1_1DeploymentConfigDoesNotExistException = (output, con
|
|
|
5346
5212
|
const deserializeAws_json1_1DeploymentConfigInfo = (output, context) => {
|
|
5347
5213
|
return {
|
|
5348
5214
|
computePlatform: (0, smithy_client_1.expectString)(output.computePlatform),
|
|
5349
|
-
createTime: output.createTime
|
|
5350
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
5351
|
-
: undefined,
|
|
5215
|
+
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
5352
5216
|
deploymentConfigId: (0, smithy_client_1.expectString)(output.deploymentConfigId),
|
|
5353
5217
|
deploymentConfigName: (0, smithy_client_1.expectString)(output.deploymentConfigName),
|
|
5354
|
-
minimumHealthyHosts: output.minimumHealthyHosts
|
|
5218
|
+
minimumHealthyHosts: output.minimumHealthyHosts != null
|
|
5355
5219
|
? deserializeAws_json1_1MinimumHealthyHosts(output.minimumHealthyHosts, context)
|
|
5356
5220
|
: undefined,
|
|
5357
|
-
trafficRoutingConfig: output.trafficRoutingConfig
|
|
5221
|
+
trafficRoutingConfig: output.trafficRoutingConfig != null
|
|
5358
5222
|
? deserializeAws_json1_1TrafficRoutingConfig(output.trafficRoutingConfig, context)
|
|
5359
5223
|
: undefined,
|
|
5360
5224
|
};
|
|
@@ -5402,56 +5266,50 @@ const deserializeAws_json1_1DeploymentGroupDoesNotExistException = (output, cont
|
|
|
5402
5266
|
};
|
|
5403
5267
|
const deserializeAws_json1_1DeploymentGroupInfo = (output, context) => {
|
|
5404
5268
|
return {
|
|
5405
|
-
alarmConfiguration: output.alarmConfiguration
|
|
5269
|
+
alarmConfiguration: output.alarmConfiguration != null
|
|
5406
5270
|
? deserializeAws_json1_1AlarmConfiguration(output.alarmConfiguration, context)
|
|
5407
5271
|
: undefined,
|
|
5408
5272
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
5409
|
-
autoRollbackConfiguration: output.autoRollbackConfiguration
|
|
5273
|
+
autoRollbackConfiguration: output.autoRollbackConfiguration != null
|
|
5410
5274
|
? deserializeAws_json1_1AutoRollbackConfiguration(output.autoRollbackConfiguration, context)
|
|
5411
5275
|
: undefined,
|
|
5412
|
-
autoScalingGroups: output.autoScalingGroups
|
|
5276
|
+
autoScalingGroups: output.autoScalingGroups != null
|
|
5413
5277
|
? deserializeAws_json1_1AutoScalingGroupList(output.autoScalingGroups, context)
|
|
5414
5278
|
: undefined,
|
|
5415
|
-
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration
|
|
5279
|
+
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration != null
|
|
5416
5280
|
? deserializeAws_json1_1BlueGreenDeploymentConfiguration(output.blueGreenDeploymentConfiguration, context)
|
|
5417
5281
|
: undefined,
|
|
5418
5282
|
computePlatform: (0, smithy_client_1.expectString)(output.computePlatform),
|
|
5419
5283
|
deploymentConfigName: (0, smithy_client_1.expectString)(output.deploymentConfigName),
|
|
5420
5284
|
deploymentGroupId: (0, smithy_client_1.expectString)(output.deploymentGroupId),
|
|
5421
5285
|
deploymentGroupName: (0, smithy_client_1.expectString)(output.deploymentGroupName),
|
|
5422
|
-
deploymentStyle: output.deploymentStyle
|
|
5286
|
+
deploymentStyle: output.deploymentStyle != null
|
|
5423
5287
|
? deserializeAws_json1_1DeploymentStyle(output.deploymentStyle, context)
|
|
5424
5288
|
: undefined,
|
|
5425
|
-
ec2TagFilters: output.ec2TagFilters
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context)
|
|
5430
|
-
: undefined,
|
|
5431
|
-
ecsServices: output.ecsServices !== undefined && output.ecsServices !== null
|
|
5432
|
-
? deserializeAws_json1_1ECSServiceList(output.ecsServices, context)
|
|
5433
|
-
: undefined,
|
|
5434
|
-
lastAttemptedDeployment: output.lastAttemptedDeployment !== undefined && output.lastAttemptedDeployment !== null
|
|
5289
|
+
ec2TagFilters: output.ec2TagFilters != null ? deserializeAws_json1_1EC2TagFilterList(output.ec2TagFilters, context) : undefined,
|
|
5290
|
+
ec2TagSet: output.ec2TagSet != null ? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context) : undefined,
|
|
5291
|
+
ecsServices: output.ecsServices != null ? deserializeAws_json1_1ECSServiceList(output.ecsServices, context) : undefined,
|
|
5292
|
+
lastAttemptedDeployment: output.lastAttemptedDeployment != null
|
|
5435
5293
|
? deserializeAws_json1_1LastDeploymentInfo(output.lastAttemptedDeployment, context)
|
|
5436
5294
|
: undefined,
|
|
5437
|
-
lastSuccessfulDeployment: output.lastSuccessfulDeployment
|
|
5295
|
+
lastSuccessfulDeployment: output.lastSuccessfulDeployment != null
|
|
5438
5296
|
? deserializeAws_json1_1LastDeploymentInfo(output.lastSuccessfulDeployment, context)
|
|
5439
5297
|
: undefined,
|
|
5440
|
-
loadBalancerInfo: output.loadBalancerInfo
|
|
5298
|
+
loadBalancerInfo: output.loadBalancerInfo != null
|
|
5441
5299
|
? deserializeAws_json1_1LoadBalancerInfo(output.loadBalancerInfo, context)
|
|
5442
5300
|
: undefined,
|
|
5443
|
-
onPremisesInstanceTagFilters: output.onPremisesInstanceTagFilters
|
|
5301
|
+
onPremisesInstanceTagFilters: output.onPremisesInstanceTagFilters != null
|
|
5444
5302
|
? deserializeAws_json1_1TagFilterList(output.onPremisesInstanceTagFilters, context)
|
|
5445
5303
|
: undefined,
|
|
5446
|
-
onPremisesTagSet: output.onPremisesTagSet
|
|
5304
|
+
onPremisesTagSet: output.onPremisesTagSet != null
|
|
5447
5305
|
? deserializeAws_json1_1OnPremisesTagSet(output.onPremisesTagSet, context)
|
|
5448
5306
|
: undefined,
|
|
5449
5307
|
outdatedInstancesStrategy: (0, smithy_client_1.expectString)(output.outdatedInstancesStrategy),
|
|
5450
5308
|
serviceRoleArn: (0, smithy_client_1.expectString)(output.serviceRoleArn),
|
|
5451
|
-
targetRevision: output.targetRevision
|
|
5309
|
+
targetRevision: output.targetRevision != null
|
|
5452
5310
|
? deserializeAws_json1_1RevisionLocation(output.targetRevision, context)
|
|
5453
5311
|
: undefined,
|
|
5454
|
-
triggerConfigurations: output.triggerConfigurations
|
|
5312
|
+
triggerConfigurations: output.triggerConfigurations != null
|
|
5455
5313
|
? deserializeAws_json1_1TriggerConfigList(output.triggerConfigurations, context)
|
|
5456
5314
|
: undefined,
|
|
5457
5315
|
};
|
|
@@ -5497,60 +5355,52 @@ const deserializeAws_json1_1DeploymentInfo = (output, context) => {
|
|
|
5497
5355
|
return {
|
|
5498
5356
|
additionalDeploymentStatusInfo: (0, smithy_client_1.expectString)(output.additionalDeploymentStatusInfo),
|
|
5499
5357
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
5500
|
-
autoRollbackConfiguration: output.autoRollbackConfiguration
|
|
5358
|
+
autoRollbackConfiguration: output.autoRollbackConfiguration != null
|
|
5501
5359
|
? deserializeAws_json1_1AutoRollbackConfiguration(output.autoRollbackConfiguration, context)
|
|
5502
5360
|
: undefined,
|
|
5503
|
-
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration
|
|
5361
|
+
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration != null
|
|
5504
5362
|
? deserializeAws_json1_1BlueGreenDeploymentConfiguration(output.blueGreenDeploymentConfiguration, context)
|
|
5505
5363
|
: undefined,
|
|
5506
|
-
completeTime: output.completeTime
|
|
5364
|
+
completeTime: output.completeTime != null
|
|
5507
5365
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.completeTime)))
|
|
5508
5366
|
: undefined,
|
|
5509
5367
|
computePlatform: (0, smithy_client_1.expectString)(output.computePlatform),
|
|
5510
|
-
createTime: output.createTime
|
|
5511
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
5512
|
-
: undefined,
|
|
5368
|
+
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
5513
5369
|
creator: (0, smithy_client_1.expectString)(output.creator),
|
|
5514
5370
|
deploymentConfigName: (0, smithy_client_1.expectString)(output.deploymentConfigName),
|
|
5515
5371
|
deploymentGroupName: (0, smithy_client_1.expectString)(output.deploymentGroupName),
|
|
5516
5372
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
5517
|
-
deploymentOverview: output.deploymentOverview
|
|
5373
|
+
deploymentOverview: output.deploymentOverview != null
|
|
5518
5374
|
? deserializeAws_json1_1DeploymentOverview(output.deploymentOverview, context)
|
|
5519
5375
|
: undefined,
|
|
5520
|
-
deploymentStatusMessages: output.deploymentStatusMessages
|
|
5376
|
+
deploymentStatusMessages: output.deploymentStatusMessages != null
|
|
5521
5377
|
? deserializeAws_json1_1DeploymentStatusMessageList(output.deploymentStatusMessages, context)
|
|
5522
5378
|
: undefined,
|
|
5523
|
-
deploymentStyle: output.deploymentStyle
|
|
5379
|
+
deploymentStyle: output.deploymentStyle != null
|
|
5524
5380
|
? deserializeAws_json1_1DeploymentStyle(output.deploymentStyle, context)
|
|
5525
5381
|
: undefined,
|
|
5526
5382
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
5527
|
-
errorInformation: output.errorInformation
|
|
5383
|
+
errorInformation: output.errorInformation != null
|
|
5528
5384
|
? deserializeAws_json1_1ErrorInformation(output.errorInformation, context)
|
|
5529
5385
|
: undefined,
|
|
5530
5386
|
externalId: (0, smithy_client_1.expectString)(output.externalId),
|
|
5531
5387
|
fileExistsBehavior: (0, smithy_client_1.expectString)(output.fileExistsBehavior),
|
|
5532
5388
|
ignoreApplicationStopFailures: (0, smithy_client_1.expectBoolean)(output.ignoreApplicationStopFailures),
|
|
5533
5389
|
instanceTerminationWaitTimeStarted: (0, smithy_client_1.expectBoolean)(output.instanceTerminationWaitTimeStarted),
|
|
5534
|
-
loadBalancerInfo: output.loadBalancerInfo
|
|
5390
|
+
loadBalancerInfo: output.loadBalancerInfo != null
|
|
5535
5391
|
? deserializeAws_json1_1LoadBalancerInfo(output.loadBalancerInfo, context)
|
|
5536
5392
|
: undefined,
|
|
5537
|
-
previousRevision: output.previousRevision
|
|
5393
|
+
previousRevision: output.previousRevision != null
|
|
5538
5394
|
? deserializeAws_json1_1RevisionLocation(output.previousRevision, context)
|
|
5539
5395
|
: undefined,
|
|
5540
|
-
relatedDeployments: output.relatedDeployments
|
|
5396
|
+
relatedDeployments: output.relatedDeployments != null
|
|
5541
5397
|
? deserializeAws_json1_1RelatedDeployments(output.relatedDeployments, context)
|
|
5542
5398
|
: undefined,
|
|
5543
|
-
revision: output.revision
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
rollbackInfo: output.rollbackInfo !== undefined && output.rollbackInfo !== null
|
|
5547
|
-
? deserializeAws_json1_1RollbackInfo(output.rollbackInfo, context)
|
|
5548
|
-
: undefined,
|
|
5549
|
-
startTime: output.startTime !== undefined && output.startTime !== null
|
|
5550
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
5551
|
-
: undefined,
|
|
5399
|
+
revision: output.revision != null ? deserializeAws_json1_1RevisionLocation(output.revision, context) : undefined,
|
|
5400
|
+
rollbackInfo: output.rollbackInfo != null ? deserializeAws_json1_1RollbackInfo(output.rollbackInfo, context) : undefined,
|
|
5401
|
+
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
5552
5402
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5553
|
-
targetInstances: output.targetInstances
|
|
5403
|
+
targetInstances: output.targetInstances != null
|
|
5554
5404
|
? deserializeAws_json1_1TargetInstances(output.targetInstances, context)
|
|
5555
5405
|
: undefined,
|
|
5556
5406
|
updateOutdatedInstancesOnly: (0, smithy_client_1.expectBoolean)(output.updateOutdatedInstancesOnly),
|
|
@@ -5628,19 +5478,13 @@ const deserializeAws_json1_1DeploymentStyle = (output, context) => {
|
|
|
5628
5478
|
};
|
|
5629
5479
|
const deserializeAws_json1_1DeploymentTarget = (output, context) => {
|
|
5630
5480
|
return {
|
|
5631
|
-
cloudFormationTarget: output.cloudFormationTarget
|
|
5481
|
+
cloudFormationTarget: output.cloudFormationTarget != null
|
|
5632
5482
|
? deserializeAws_json1_1CloudFormationTarget(output.cloudFormationTarget, context)
|
|
5633
5483
|
: undefined,
|
|
5634
5484
|
deploymentTargetType: (0, smithy_client_1.expectString)(output.deploymentTargetType),
|
|
5635
|
-
ecsTarget: output.ecsTarget
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
instanceTarget: output.instanceTarget !== undefined && output.instanceTarget !== null
|
|
5639
|
-
? deserializeAws_json1_1InstanceTarget(output.instanceTarget, context)
|
|
5640
|
-
: undefined,
|
|
5641
|
-
lambdaTarget: output.lambdaTarget !== undefined && output.lambdaTarget !== null
|
|
5642
|
-
? deserializeAws_json1_1LambdaTarget(output.lambdaTarget, context)
|
|
5643
|
-
: undefined,
|
|
5485
|
+
ecsTarget: output.ecsTarget != null ? deserializeAws_json1_1ECSTarget(output.ecsTarget, context) : undefined,
|
|
5486
|
+
instanceTarget: output.instanceTarget != null ? deserializeAws_json1_1InstanceTarget(output.instanceTarget, context) : undefined,
|
|
5487
|
+
lambdaTarget: output.lambdaTarget != null ? deserializeAws_json1_1LambdaTarget(output.lambdaTarget, context) : undefined,
|
|
5644
5488
|
};
|
|
5645
5489
|
};
|
|
5646
5490
|
const deserializeAws_json1_1DeploymentTargetDoesNotExistException = (output, context) => {
|
|
@@ -5702,9 +5546,7 @@ const deserializeAws_json1_1EC2TagFilterList = (output, context) => {
|
|
|
5702
5546
|
};
|
|
5703
5547
|
const deserializeAws_json1_1EC2TagSet = (output, context) => {
|
|
5704
5548
|
return {
|
|
5705
|
-
ec2TagSetList: output.ec2TagSetList
|
|
5706
|
-
? deserializeAws_json1_1EC2TagSetList(output.ec2TagSetList, context)
|
|
5707
|
-
: undefined,
|
|
5549
|
+
ec2TagSetList: output.ec2TagSetList != null ? deserializeAws_json1_1EC2TagSetList(output.ec2TagSetList, context) : undefined,
|
|
5708
5550
|
};
|
|
5709
5551
|
};
|
|
5710
5552
|
const deserializeAws_json1_1EC2TagSetList = (output, context) => {
|
|
@@ -5743,18 +5585,16 @@ const deserializeAws_json1_1ECSServiceMappingLimitExceededException = (output, c
|
|
|
5743
5585
|
const deserializeAws_json1_1ECSTarget = (output, context) => {
|
|
5744
5586
|
return {
|
|
5745
5587
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
5746
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
5588
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
5747
5589
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
5748
5590
|
: undefined,
|
|
5749
|
-
lifecycleEvents: output.lifecycleEvents
|
|
5591
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
5750
5592
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
5751
5593
|
: undefined,
|
|
5752
5594
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5753
5595
|
targetArn: (0, smithy_client_1.expectString)(output.targetArn),
|
|
5754
5596
|
targetId: (0, smithy_client_1.expectString)(output.targetId),
|
|
5755
|
-
taskSetsInfo: output.taskSetsInfo
|
|
5756
|
-
? deserializeAws_json1_1ECSTaskSetList(output.taskSetsInfo, context)
|
|
5757
|
-
: undefined,
|
|
5597
|
+
taskSetsInfo: output.taskSetsInfo != null ? deserializeAws_json1_1ECSTaskSetList(output.taskSetsInfo, context) : undefined,
|
|
5758
5598
|
};
|
|
5759
5599
|
};
|
|
5760
5600
|
const deserializeAws_json1_1ECSTaskSet = (output, context) => {
|
|
@@ -5764,9 +5604,7 @@ const deserializeAws_json1_1ECSTaskSet = (output, context) => {
|
|
|
5764
5604
|
pendingCount: (0, smithy_client_1.expectLong)(output.pendingCount),
|
|
5765
5605
|
runningCount: (0, smithy_client_1.expectLong)(output.runningCount),
|
|
5766
5606
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5767
|
-
targetGroup: output.targetGroup
|
|
5768
|
-
? deserializeAws_json1_1TargetGroupInfo(output.targetGroup, context)
|
|
5769
|
-
: undefined,
|
|
5607
|
+
targetGroup: output.targetGroup != null ? deserializeAws_json1_1TargetGroupInfo(output.targetGroup, context) : undefined,
|
|
5770
5608
|
taskSetLabel: (0, smithy_client_1.expectString)(output.taskSetLabel),
|
|
5771
5609
|
trafficWeight: (0, smithy_client_1.limitedParseDouble)(output.trafficWeight),
|
|
5772
5610
|
};
|
|
@@ -5806,79 +5644,69 @@ const deserializeAws_json1_1ErrorInformation = (output, context) => {
|
|
|
5806
5644
|
};
|
|
5807
5645
|
const deserializeAws_json1_1GenericRevisionInfo = (output, context) => {
|
|
5808
5646
|
return {
|
|
5809
|
-
deploymentGroups: output.deploymentGroups
|
|
5647
|
+
deploymentGroups: output.deploymentGroups != null
|
|
5810
5648
|
? deserializeAws_json1_1DeploymentGroupsList(output.deploymentGroups, context)
|
|
5811
5649
|
: undefined,
|
|
5812
5650
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
5813
|
-
firstUsedTime: output.firstUsedTime
|
|
5651
|
+
firstUsedTime: output.firstUsedTime != null
|
|
5814
5652
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.firstUsedTime)))
|
|
5815
5653
|
: undefined,
|
|
5816
|
-
lastUsedTime: output.lastUsedTime
|
|
5654
|
+
lastUsedTime: output.lastUsedTime != null
|
|
5817
5655
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUsedTime)))
|
|
5818
5656
|
: undefined,
|
|
5819
|
-
registerTime: output.registerTime
|
|
5657
|
+
registerTime: output.registerTime != null
|
|
5820
5658
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registerTime)))
|
|
5821
5659
|
: undefined,
|
|
5822
5660
|
};
|
|
5823
5661
|
};
|
|
5824
5662
|
const deserializeAws_json1_1GetApplicationOutput = (output, context) => {
|
|
5825
5663
|
return {
|
|
5826
|
-
application: output.application
|
|
5827
|
-
? deserializeAws_json1_1ApplicationInfo(output.application, context)
|
|
5828
|
-
: undefined,
|
|
5664
|
+
application: output.application != null ? deserializeAws_json1_1ApplicationInfo(output.application, context) : undefined,
|
|
5829
5665
|
};
|
|
5830
5666
|
};
|
|
5831
5667
|
const deserializeAws_json1_1GetApplicationRevisionOutput = (output, context) => {
|
|
5832
5668
|
return {
|
|
5833
5669
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
5834
|
-
revision: output.revision
|
|
5835
|
-
|
|
5836
|
-
: undefined,
|
|
5837
|
-
revisionInfo: output.revisionInfo !== undefined && output.revisionInfo !== null
|
|
5838
|
-
? deserializeAws_json1_1GenericRevisionInfo(output.revisionInfo, context)
|
|
5839
|
-
: undefined,
|
|
5670
|
+
revision: output.revision != null ? deserializeAws_json1_1RevisionLocation(output.revision, context) : undefined,
|
|
5671
|
+
revisionInfo: output.revisionInfo != null ? deserializeAws_json1_1GenericRevisionInfo(output.revisionInfo, context) : undefined,
|
|
5840
5672
|
};
|
|
5841
5673
|
};
|
|
5842
5674
|
const deserializeAws_json1_1GetDeploymentConfigOutput = (output, context) => {
|
|
5843
5675
|
return {
|
|
5844
|
-
deploymentConfigInfo: output.deploymentConfigInfo
|
|
5676
|
+
deploymentConfigInfo: output.deploymentConfigInfo != null
|
|
5845
5677
|
? deserializeAws_json1_1DeploymentConfigInfo(output.deploymentConfigInfo, context)
|
|
5846
5678
|
: undefined,
|
|
5847
5679
|
};
|
|
5848
5680
|
};
|
|
5849
5681
|
const deserializeAws_json1_1GetDeploymentGroupOutput = (output, context) => {
|
|
5850
5682
|
return {
|
|
5851
|
-
deploymentGroupInfo: output.deploymentGroupInfo
|
|
5683
|
+
deploymentGroupInfo: output.deploymentGroupInfo != null
|
|
5852
5684
|
? deserializeAws_json1_1DeploymentGroupInfo(output.deploymentGroupInfo, context)
|
|
5853
5685
|
: undefined,
|
|
5854
5686
|
};
|
|
5855
5687
|
};
|
|
5856
5688
|
const deserializeAws_json1_1GetDeploymentInstanceOutput = (output, context) => {
|
|
5857
5689
|
return {
|
|
5858
|
-
instanceSummary: output.instanceSummary
|
|
5690
|
+
instanceSummary: output.instanceSummary != null
|
|
5859
5691
|
? deserializeAws_json1_1InstanceSummary(output.instanceSummary, context)
|
|
5860
5692
|
: undefined,
|
|
5861
5693
|
};
|
|
5862
5694
|
};
|
|
5863
5695
|
const deserializeAws_json1_1GetDeploymentOutput = (output, context) => {
|
|
5864
5696
|
return {
|
|
5865
|
-
deploymentInfo: output.deploymentInfo
|
|
5866
|
-
? deserializeAws_json1_1DeploymentInfo(output.deploymentInfo, context)
|
|
5867
|
-
: undefined,
|
|
5697
|
+
deploymentInfo: output.deploymentInfo != null ? deserializeAws_json1_1DeploymentInfo(output.deploymentInfo, context) : undefined,
|
|
5868
5698
|
};
|
|
5869
5699
|
};
|
|
5870
5700
|
const deserializeAws_json1_1GetDeploymentTargetOutput = (output, context) => {
|
|
5871
5701
|
return {
|
|
5872
|
-
deploymentTarget: output.deploymentTarget
|
|
5702
|
+
deploymentTarget: output.deploymentTarget != null
|
|
5873
5703
|
? deserializeAws_json1_1DeploymentTarget(output.deploymentTarget, context)
|
|
5874
5704
|
: undefined,
|
|
5875
5705
|
};
|
|
5876
5706
|
};
|
|
5877
5707
|
const deserializeAws_json1_1GetOnPremisesInstanceOutput = (output, context) => {
|
|
5878
5708
|
return {
|
|
5879
|
-
instanceInfo: output.instanceInfo
|
|
5880
|
-
? deserializeAws_json1_1InstanceInfo(output.instanceInfo, context)
|
|
5881
|
-
: undefined,
|
|
5709
|
+
instanceInfo: output.instanceInfo != null ? deserializeAws_json1_1InstanceInfo(output.instanceInfo, context) : undefined,
|
|
5882
5710
|
};
|
|
5883
5711
|
};
|
|
5884
5712
|
const deserializeAws_json1_1GitHubAccountTokenDoesNotExistException = (output, context) => {
|
|
@@ -5945,19 +5773,17 @@ const deserializeAws_json1_1InstanceIdRequiredException = (output, context) => {
|
|
|
5945
5773
|
};
|
|
5946
5774
|
const deserializeAws_json1_1InstanceInfo = (output, context) => {
|
|
5947
5775
|
return {
|
|
5948
|
-
deregisterTime: output.deregisterTime
|
|
5776
|
+
deregisterTime: output.deregisterTime != null
|
|
5949
5777
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.deregisterTime)))
|
|
5950
5778
|
: undefined,
|
|
5951
5779
|
iamSessionArn: (0, smithy_client_1.expectString)(output.iamSessionArn),
|
|
5952
5780
|
iamUserArn: (0, smithy_client_1.expectString)(output.iamUserArn),
|
|
5953
5781
|
instanceArn: (0, smithy_client_1.expectString)(output.instanceArn),
|
|
5954
5782
|
instanceName: (0, smithy_client_1.expectString)(output.instanceName),
|
|
5955
|
-
registerTime: output.registerTime
|
|
5783
|
+
registerTime: output.registerTime != null
|
|
5956
5784
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registerTime)))
|
|
5957
5785
|
: undefined,
|
|
5958
|
-
tags: output.tags
|
|
5959
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
5960
|
-
: undefined,
|
|
5786
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
5961
5787
|
};
|
|
5962
5788
|
};
|
|
5963
5789
|
const deserializeAws_json1_1InstanceInfoList = (output, context) => {
|
|
@@ -6018,10 +5844,10 @@ const deserializeAws_json1_1InstanceSummary = (output, context) => {
|
|
|
6018
5844
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
6019
5845
|
instanceId: (0, smithy_client_1.expectString)(output.instanceId),
|
|
6020
5846
|
instanceType: (0, smithy_client_1.expectString)(output.instanceType),
|
|
6021
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
5847
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6022
5848
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
6023
5849
|
: undefined,
|
|
6024
|
-
lifecycleEvents: output.lifecycleEvents
|
|
5850
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6025
5851
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6026
5852
|
: undefined,
|
|
6027
5853
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -6042,10 +5868,10 @@ const deserializeAws_json1_1InstanceTarget = (output, context) => {
|
|
|
6042
5868
|
return {
|
|
6043
5869
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
6044
5870
|
instanceLabel: (0, smithy_client_1.expectString)(output.instanceLabel),
|
|
6045
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
5871
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6046
5872
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
6047
5873
|
: undefined,
|
|
6048
|
-
lifecycleEvents: output.lifecycleEvents
|
|
5874
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6049
5875
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6050
5876
|
: undefined,
|
|
6051
5877
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -6335,13 +6161,13 @@ const deserializeAws_json1_1LambdaFunctionInfo = (output, context) => {
|
|
|
6335
6161
|
const deserializeAws_json1_1LambdaTarget = (output, context) => {
|
|
6336
6162
|
return {
|
|
6337
6163
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
6338
|
-
lambdaFunctionInfo: output.lambdaFunctionInfo
|
|
6164
|
+
lambdaFunctionInfo: output.lambdaFunctionInfo != null
|
|
6339
6165
|
? deserializeAws_json1_1LambdaFunctionInfo(output.lambdaFunctionInfo, context)
|
|
6340
6166
|
: undefined,
|
|
6341
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
6167
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6342
6168
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
6343
6169
|
: undefined,
|
|
6344
|
-
lifecycleEvents: output.lifecycleEvents
|
|
6170
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6345
6171
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6346
6172
|
: undefined,
|
|
6347
6173
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -6351,28 +6177,18 @@ const deserializeAws_json1_1LambdaTarget = (output, context) => {
|
|
|
6351
6177
|
};
|
|
6352
6178
|
const deserializeAws_json1_1LastDeploymentInfo = (output, context) => {
|
|
6353
6179
|
return {
|
|
6354
|
-
createTime: output.createTime
|
|
6355
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
6356
|
-
: undefined,
|
|
6180
|
+
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
6357
6181
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
6358
|
-
endTime: output.endTime
|
|
6359
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
|
|
6360
|
-
: undefined,
|
|
6182
|
+
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
6361
6183
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
6362
6184
|
};
|
|
6363
6185
|
};
|
|
6364
6186
|
const deserializeAws_json1_1LifecycleEvent = (output, context) => {
|
|
6365
6187
|
return {
|
|
6366
|
-
diagnostics: output.diagnostics
|
|
6367
|
-
|
|
6368
|
-
: undefined,
|
|
6369
|
-
endTime: output.endTime !== undefined && output.endTime !== null
|
|
6370
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
|
|
6371
|
-
: undefined,
|
|
6188
|
+
diagnostics: output.diagnostics != null ? deserializeAws_json1_1Diagnostics(output.diagnostics, context) : undefined,
|
|
6189
|
+
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
6372
6190
|
lifecycleEventName: (0, smithy_client_1.expectString)(output.lifecycleEventName),
|
|
6373
|
-
startTime: output.startTime
|
|
6374
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
6375
|
-
: undefined,
|
|
6191
|
+
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
6376
6192
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
6377
6193
|
};
|
|
6378
6194
|
};
|
|
@@ -6400,22 +6216,18 @@ const deserializeAws_json1_1LifecycleHookLimitExceededException = (output, conte
|
|
|
6400
6216
|
const deserializeAws_json1_1ListApplicationRevisionsOutput = (output, context) => {
|
|
6401
6217
|
return {
|
|
6402
6218
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6403
|
-
revisions: output.revisions
|
|
6404
|
-
? deserializeAws_json1_1RevisionLocationList(output.revisions, context)
|
|
6405
|
-
: undefined,
|
|
6219
|
+
revisions: output.revisions != null ? deserializeAws_json1_1RevisionLocationList(output.revisions, context) : undefined,
|
|
6406
6220
|
};
|
|
6407
6221
|
};
|
|
6408
6222
|
const deserializeAws_json1_1ListApplicationsOutput = (output, context) => {
|
|
6409
6223
|
return {
|
|
6410
|
-
applications: output.applications
|
|
6411
|
-
? deserializeAws_json1_1ApplicationsList(output.applications, context)
|
|
6412
|
-
: undefined,
|
|
6224
|
+
applications: output.applications != null ? deserializeAws_json1_1ApplicationsList(output.applications, context) : undefined,
|
|
6413
6225
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6414
6226
|
};
|
|
6415
6227
|
};
|
|
6416
6228
|
const deserializeAws_json1_1ListDeploymentConfigsOutput = (output, context) => {
|
|
6417
6229
|
return {
|
|
6418
|
-
deploymentConfigsList: output.deploymentConfigsList
|
|
6230
|
+
deploymentConfigsList: output.deploymentConfigsList != null
|
|
6419
6231
|
? deserializeAws_json1_1DeploymentConfigsList(output.deploymentConfigsList, context)
|
|
6420
6232
|
: undefined,
|
|
6421
6233
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
@@ -6424,7 +6236,7 @@ const deserializeAws_json1_1ListDeploymentConfigsOutput = (output, context) => {
|
|
|
6424
6236
|
const deserializeAws_json1_1ListDeploymentGroupsOutput = (output, context) => {
|
|
6425
6237
|
return {
|
|
6426
6238
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
6427
|
-
deploymentGroups: output.deploymentGroups
|
|
6239
|
+
deploymentGroups: output.deploymentGroups != null
|
|
6428
6240
|
? deserializeAws_json1_1DeploymentGroupsList(output.deploymentGroups, context)
|
|
6429
6241
|
: undefined,
|
|
6430
6242
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
@@ -6432,26 +6244,20 @@ const deserializeAws_json1_1ListDeploymentGroupsOutput = (output, context) => {
|
|
|
6432
6244
|
};
|
|
6433
6245
|
const deserializeAws_json1_1ListDeploymentInstancesOutput = (output, context) => {
|
|
6434
6246
|
return {
|
|
6435
|
-
instancesList: output.instancesList
|
|
6436
|
-
? deserializeAws_json1_1InstancesList(output.instancesList, context)
|
|
6437
|
-
: undefined,
|
|
6247
|
+
instancesList: output.instancesList != null ? deserializeAws_json1_1InstancesList(output.instancesList, context) : undefined,
|
|
6438
6248
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6439
6249
|
};
|
|
6440
6250
|
};
|
|
6441
6251
|
const deserializeAws_json1_1ListDeploymentsOutput = (output, context) => {
|
|
6442
6252
|
return {
|
|
6443
|
-
deployments: output.deployments
|
|
6444
|
-
? deserializeAws_json1_1DeploymentsList(output.deployments, context)
|
|
6445
|
-
: undefined,
|
|
6253
|
+
deployments: output.deployments != null ? deserializeAws_json1_1DeploymentsList(output.deployments, context) : undefined,
|
|
6446
6254
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6447
6255
|
};
|
|
6448
6256
|
};
|
|
6449
6257
|
const deserializeAws_json1_1ListDeploymentTargetsOutput = (output, context) => {
|
|
6450
6258
|
return {
|
|
6451
6259
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6452
|
-
targetIds: output.targetIds
|
|
6453
|
-
? deserializeAws_json1_1TargetIdList(output.targetIds, context)
|
|
6454
|
-
: undefined,
|
|
6260
|
+
targetIds: output.targetIds != null ? deserializeAws_json1_1TargetIdList(output.targetIds, context) : undefined,
|
|
6455
6261
|
};
|
|
6456
6262
|
};
|
|
6457
6263
|
const deserializeAws_json1_1ListenerArnList = (output, context) => {
|
|
@@ -6468,36 +6274,30 @@ const deserializeAws_json1_1ListenerArnList = (output, context) => {
|
|
|
6468
6274
|
const deserializeAws_json1_1ListGitHubAccountTokenNamesOutput = (output, context) => {
|
|
6469
6275
|
return {
|
|
6470
6276
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6471
|
-
tokenNameList: output.tokenNameList
|
|
6277
|
+
tokenNameList: output.tokenNameList != null
|
|
6472
6278
|
? deserializeAws_json1_1GitHubAccountTokenNameList(output.tokenNameList, context)
|
|
6473
6279
|
: undefined,
|
|
6474
6280
|
};
|
|
6475
6281
|
};
|
|
6476
6282
|
const deserializeAws_json1_1ListOnPremisesInstancesOutput = (output, context) => {
|
|
6477
6283
|
return {
|
|
6478
|
-
instanceNames: output.instanceNames
|
|
6479
|
-
? deserializeAws_json1_1InstanceNameList(output.instanceNames, context)
|
|
6480
|
-
: undefined,
|
|
6284
|
+
instanceNames: output.instanceNames != null ? deserializeAws_json1_1InstanceNameList(output.instanceNames, context) : undefined,
|
|
6481
6285
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6482
6286
|
};
|
|
6483
6287
|
};
|
|
6484
6288
|
const deserializeAws_json1_1ListTagsForResourceOutput = (output, context) => {
|
|
6485
6289
|
return {
|
|
6486
6290
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6487
|
-
Tags: output.Tags
|
|
6488
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
6489
|
-
: undefined,
|
|
6291
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
6490
6292
|
};
|
|
6491
6293
|
};
|
|
6492
6294
|
const deserializeAws_json1_1LoadBalancerInfo = (output, context) => {
|
|
6493
6295
|
return {
|
|
6494
|
-
elbInfoList: output.elbInfoList
|
|
6495
|
-
|
|
6496
|
-
: undefined,
|
|
6497
|
-
targetGroupInfoList: output.targetGroupInfoList !== undefined && output.targetGroupInfoList !== null
|
|
6296
|
+
elbInfoList: output.elbInfoList != null ? deserializeAws_json1_1ELBInfoList(output.elbInfoList, context) : undefined,
|
|
6297
|
+
targetGroupInfoList: output.targetGroupInfoList != null
|
|
6498
6298
|
? deserializeAws_json1_1TargetGroupInfoList(output.targetGroupInfoList, context)
|
|
6499
6299
|
: undefined,
|
|
6500
|
-
targetGroupPairInfoList: output.targetGroupPairInfoList
|
|
6300
|
+
targetGroupPairInfoList: output.targetGroupPairInfoList != null
|
|
6501
6301
|
? deserializeAws_json1_1TargetGroupPairInfoList(output.targetGroupPairInfoList, context)
|
|
6502
6302
|
: undefined,
|
|
6503
6303
|
};
|
|
@@ -6515,7 +6315,7 @@ const deserializeAws_json1_1MultipleIamArnsProvidedException = (output, context)
|
|
|
6515
6315
|
};
|
|
6516
6316
|
const deserializeAws_json1_1OnPremisesTagSet = (output, context) => {
|
|
6517
6317
|
return {
|
|
6518
|
-
onPremisesTagSetList: output.onPremisesTagSetList
|
|
6318
|
+
onPremisesTagSetList: output.onPremisesTagSetList != null
|
|
6519
6319
|
? deserializeAws_json1_1OnPremisesTagSetList(output.onPremisesTagSetList, context)
|
|
6520
6320
|
: undefined,
|
|
6521
6321
|
};
|
|
@@ -6549,8 +6349,7 @@ const deserializeAws_json1_1RawString = (output, context) => {
|
|
|
6549
6349
|
};
|
|
6550
6350
|
const deserializeAws_json1_1RelatedDeployments = (output, context) => {
|
|
6551
6351
|
return {
|
|
6552
|
-
autoUpdateOutdatedInstancesDeploymentIds: output.autoUpdateOutdatedInstancesDeploymentIds
|
|
6553
|
-
output.autoUpdateOutdatedInstancesDeploymentIds !== null
|
|
6352
|
+
autoUpdateOutdatedInstancesDeploymentIds: output.autoUpdateOutdatedInstancesDeploymentIds != null
|
|
6554
6353
|
? deserializeAws_json1_1DeploymentsList(output.autoUpdateOutdatedInstancesDeploymentIds, context)
|
|
6555
6354
|
: undefined,
|
|
6556
6355
|
autoUpdateOutdatedInstancesRootDeploymentId: (0, smithy_client_1.expectString)(output.autoUpdateOutdatedInstancesRootDeploymentId),
|
|
@@ -6573,10 +6372,10 @@ const deserializeAws_json1_1RevisionDoesNotExistException = (output, context) =>
|
|
|
6573
6372
|
};
|
|
6574
6373
|
const deserializeAws_json1_1RevisionInfo = (output, context) => {
|
|
6575
6374
|
return {
|
|
6576
|
-
genericRevisionInfo: output.genericRevisionInfo
|
|
6375
|
+
genericRevisionInfo: output.genericRevisionInfo != null
|
|
6577
6376
|
? deserializeAws_json1_1GenericRevisionInfo(output.genericRevisionInfo, context)
|
|
6578
6377
|
: undefined,
|
|
6579
|
-
revisionLocation: output.revisionLocation
|
|
6378
|
+
revisionLocation: output.revisionLocation != null
|
|
6580
6379
|
? deserializeAws_json1_1RevisionLocation(output.revisionLocation, context)
|
|
6581
6380
|
: undefined,
|
|
6582
6381
|
};
|
|
@@ -6594,19 +6393,11 @@ const deserializeAws_json1_1RevisionInfoList = (output, context) => {
|
|
|
6594
6393
|
};
|
|
6595
6394
|
const deserializeAws_json1_1RevisionLocation = (output, context) => {
|
|
6596
6395
|
return {
|
|
6597
|
-
appSpecContent: output.appSpecContent
|
|
6598
|
-
|
|
6599
|
-
: undefined,
|
|
6600
|
-
gitHubLocation: output.gitHubLocation !== undefined && output.gitHubLocation !== null
|
|
6601
|
-
? deserializeAws_json1_1GitHubLocation(output.gitHubLocation, context)
|
|
6602
|
-
: undefined,
|
|
6396
|
+
appSpecContent: output.appSpecContent != null ? deserializeAws_json1_1AppSpecContent(output.appSpecContent, context) : undefined,
|
|
6397
|
+
gitHubLocation: output.gitHubLocation != null ? deserializeAws_json1_1GitHubLocation(output.gitHubLocation, context) : undefined,
|
|
6603
6398
|
revisionType: (0, smithy_client_1.expectString)(output.revisionType),
|
|
6604
|
-
s3Location: output.s3Location
|
|
6605
|
-
|
|
6606
|
-
: undefined,
|
|
6607
|
-
string: output.string !== undefined && output.string !== null
|
|
6608
|
-
? deserializeAws_json1_1RawString(output.string, context)
|
|
6609
|
-
: undefined,
|
|
6399
|
+
s3Location: output.s3Location != null ? deserializeAws_json1_1S3Location(output.s3Location, context) : undefined,
|
|
6400
|
+
string: output.string != null ? deserializeAws_json1_1RawString(output.string, context) : undefined,
|
|
6610
6401
|
};
|
|
6611
6402
|
};
|
|
6612
6403
|
const deserializeAws_json1_1RevisionLocationList = (output, context) => {
|
|
@@ -6723,13 +6514,11 @@ const deserializeAws_json1_1TargetGroupInfoList = (output, context) => {
|
|
|
6723
6514
|
};
|
|
6724
6515
|
const deserializeAws_json1_1TargetGroupPairInfo = (output, context) => {
|
|
6725
6516
|
return {
|
|
6726
|
-
prodTrafficRoute: output.prodTrafficRoute
|
|
6517
|
+
prodTrafficRoute: output.prodTrafficRoute != null
|
|
6727
6518
|
? deserializeAws_json1_1TrafficRoute(output.prodTrafficRoute, context)
|
|
6728
6519
|
: undefined,
|
|
6729
|
-
targetGroups: output.targetGroups
|
|
6730
|
-
|
|
6731
|
-
: undefined,
|
|
6732
|
-
testTrafficRoute: output.testTrafficRoute !== undefined && output.testTrafficRoute !== null
|
|
6520
|
+
targetGroups: output.targetGroups != null ? deserializeAws_json1_1TargetGroupInfoList(output.targetGroups, context) : undefined,
|
|
6521
|
+
testTrafficRoute: output.testTrafficRoute != null
|
|
6733
6522
|
? deserializeAws_json1_1TrafficRoute(output.testTrafficRoute, context)
|
|
6734
6523
|
: undefined,
|
|
6735
6524
|
};
|
|
@@ -6758,15 +6547,11 @@ const deserializeAws_json1_1TargetIdList = (output, context) => {
|
|
|
6758
6547
|
};
|
|
6759
6548
|
const deserializeAws_json1_1TargetInstances = (output, context) => {
|
|
6760
6549
|
return {
|
|
6761
|
-
autoScalingGroups: output.autoScalingGroups
|
|
6550
|
+
autoScalingGroups: output.autoScalingGroups != null
|
|
6762
6551
|
? deserializeAws_json1_1AutoScalingGroupNameList(output.autoScalingGroups, context)
|
|
6763
6552
|
: undefined,
|
|
6764
|
-
ec2TagSet: output.ec2TagSet
|
|
6765
|
-
|
|
6766
|
-
: undefined,
|
|
6767
|
-
tagFilters: output.tagFilters !== undefined && output.tagFilters !== null
|
|
6768
|
-
? deserializeAws_json1_1EC2TagFilterList(output.tagFilters, context)
|
|
6769
|
-
: undefined,
|
|
6553
|
+
ec2TagSet: output.ec2TagSet != null ? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context) : undefined,
|
|
6554
|
+
tagFilters: output.tagFilters != null ? deserializeAws_json1_1EC2TagFilterList(output.tagFilters, context) : undefined,
|
|
6770
6555
|
};
|
|
6771
6556
|
};
|
|
6772
6557
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
@@ -6788,17 +6573,15 @@ const deserializeAws_json1_1TimeBasedLinear = (output, context) => {
|
|
|
6788
6573
|
};
|
|
6789
6574
|
const deserializeAws_json1_1TrafficRoute = (output, context) => {
|
|
6790
6575
|
return {
|
|
6791
|
-
listenerArns: output.listenerArns
|
|
6792
|
-
? deserializeAws_json1_1ListenerArnList(output.listenerArns, context)
|
|
6793
|
-
: undefined,
|
|
6576
|
+
listenerArns: output.listenerArns != null ? deserializeAws_json1_1ListenerArnList(output.listenerArns, context) : undefined,
|
|
6794
6577
|
};
|
|
6795
6578
|
};
|
|
6796
6579
|
const deserializeAws_json1_1TrafficRoutingConfig = (output, context) => {
|
|
6797
6580
|
return {
|
|
6798
|
-
timeBasedCanary: output.timeBasedCanary
|
|
6581
|
+
timeBasedCanary: output.timeBasedCanary != null
|
|
6799
6582
|
? deserializeAws_json1_1TimeBasedCanary(output.timeBasedCanary, context)
|
|
6800
6583
|
: undefined,
|
|
6801
|
-
timeBasedLinear: output.timeBasedLinear
|
|
6584
|
+
timeBasedLinear: output.timeBasedLinear != null
|
|
6802
6585
|
? deserializeAws_json1_1TimeBasedLinear(output.timeBasedLinear, context)
|
|
6803
6586
|
: undefined,
|
|
6804
6587
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
@@ -6806,7 +6589,7 @@ const deserializeAws_json1_1TrafficRoutingConfig = (output, context) => {
|
|
|
6806
6589
|
};
|
|
6807
6590
|
const deserializeAws_json1_1TriggerConfig = (output, context) => {
|
|
6808
6591
|
return {
|
|
6809
|
-
triggerEvents: output.triggerEvents
|
|
6592
|
+
triggerEvents: output.triggerEvents != null
|
|
6810
6593
|
? deserializeAws_json1_1TriggerEventTypeList(output.triggerEvents, context)
|
|
6811
6594
|
: undefined,
|
|
6812
6595
|
triggerName: (0, smithy_client_1.expectString)(output.triggerName),
|
|
@@ -6850,7 +6633,7 @@ const deserializeAws_json1_1UntagResourceOutput = (output, context) => {
|
|
|
6850
6633
|
};
|
|
6851
6634
|
const deserializeAws_json1_1UpdateDeploymentGroupOutput = (output, context) => {
|
|
6852
6635
|
return {
|
|
6853
|
-
hooksNotCleanedUp: output.hooksNotCleanedUp
|
|
6636
|
+
hooksNotCleanedUp: output.hooksNotCleanedUp != null
|
|
6854
6637
|
? deserializeAws_json1_1AutoScalingGroupList(output.hooksNotCleanedUp, context)
|
|
6855
6638
|
: undefined,
|
|
6856
6639
|
};
|
|
@@ -6899,6 +6682,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
6899
6682
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
6900
6683
|
const sanitizeErrorCode = (rawValue) => {
|
|
6901
6684
|
let cleanValue = rawValue;
|
|
6685
|
+
if (typeof cleanValue === "number") {
|
|
6686
|
+
cleanValue = cleanValue.toString();
|
|
6687
|
+
}
|
|
6902
6688
|
if (cleanValue.indexOf(":") >= 0) {
|
|
6903
6689
|
cleanValue = cleanValue.split(":")[0];
|
|
6904
6690
|
}
|