aws-sdk-codedeploy 1.0.0.rc2 → 1.0.0.rc3

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.
@@ -12,6 +12,7 @@ module Aws::CodeDeploy
12
12
  include Seahorse::Model
13
13
 
14
14
  AddTagsToOnPremisesInstancesInput = Shapes::StructureShape.new(name: 'AddTagsToOnPremisesInstancesInput')
15
+ AdditionalDeploymentStatusInfo = Shapes::StringShape.new(name: 'AdditionalDeploymentStatusInfo')
15
16
  Alarm = Shapes::StructureShape.new(name: 'Alarm')
16
17
  AlarmConfiguration = Shapes::StructureShape.new(name: 'AlarmConfiguration')
17
18
  AlarmList = Shapes::ListShape.new(name: 'AlarmList')
@@ -48,10 +49,13 @@ module Aws::CodeDeploy
48
49
  BatchGetOnPremisesInstancesInput = Shapes::StructureShape.new(name: 'BatchGetOnPremisesInstancesInput')
49
50
  BatchGetOnPremisesInstancesOutput = Shapes::StructureShape.new(name: 'BatchGetOnPremisesInstancesOutput')
50
51
  BatchLimitExceededException = Shapes::StructureShape.new(name: 'BatchLimitExceededException')
52
+ BlueGreenDeploymentConfiguration = Shapes::StructureShape.new(name: 'BlueGreenDeploymentConfiguration')
53
+ BlueInstanceTerminationOption = Shapes::StructureShape.new(name: 'BlueInstanceTerminationOption')
51
54
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
52
55
  BucketNameFilterRequiredException = Shapes::StructureShape.new(name: 'BucketNameFilterRequiredException')
53
56
  BundleType = Shapes::StringShape.new(name: 'BundleType')
54
57
  CommitId = Shapes::StringShape.new(name: 'CommitId')
58
+ ContinueDeploymentInput = Shapes::StructureShape.new(name: 'ContinueDeploymentInput')
55
59
  CreateApplicationInput = Shapes::StructureShape.new(name: 'CreateApplicationInput')
56
60
  CreateApplicationOutput = Shapes::StructureShape.new(name: 'CreateApplicationOutput')
57
61
  CreateDeploymentConfigInput = Shapes::StructureShape.new(name: 'CreateDeploymentConfigInput')
@@ -88,20 +92,30 @@ module Aws::CodeDeploy
88
92
  DeploymentId = Shapes::StringShape.new(name: 'DeploymentId')
89
93
  DeploymentIdRequiredException = Shapes::StructureShape.new(name: 'DeploymentIdRequiredException')
90
94
  DeploymentInfo = Shapes::StructureShape.new(name: 'DeploymentInfo')
95
+ DeploymentIsNotInReadyStateException = Shapes::StructureShape.new(name: 'DeploymentIsNotInReadyStateException')
91
96
  DeploymentLimitExceededException = Shapes::StructureShape.new(name: 'DeploymentLimitExceededException')
92
97
  DeploymentNotStartedException = Shapes::StructureShape.new(name: 'DeploymentNotStartedException')
98
+ DeploymentOption = Shapes::StringShape.new(name: 'DeploymentOption')
93
99
  DeploymentOverview = Shapes::StructureShape.new(name: 'DeploymentOverview')
100
+ DeploymentReadyAction = Shapes::StringShape.new(name: 'DeploymentReadyAction')
101
+ DeploymentReadyOption = Shapes::StructureShape.new(name: 'DeploymentReadyOption')
94
102
  DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
95
103
  DeploymentStatusList = Shapes::ListShape.new(name: 'DeploymentStatusList')
104
+ DeploymentStyle = Shapes::StructureShape.new(name: 'DeploymentStyle')
105
+ DeploymentType = Shapes::StringShape.new(name: 'DeploymentType')
96
106
  DeploymentsInfoList = Shapes::ListShape.new(name: 'DeploymentsInfoList')
97
107
  DeploymentsList = Shapes::ListShape.new(name: 'DeploymentsList')
98
108
  DeregisterOnPremisesInstanceInput = Shapes::StructureShape.new(name: 'DeregisterOnPremisesInstanceInput')
99
109
  Description = Shapes::StringShape.new(name: 'Description')
100
110
  DescriptionTooLongException = Shapes::StructureShape.new(name: 'DescriptionTooLongException')
101
111
  Diagnostics = Shapes::StructureShape.new(name: 'Diagnostics')
112
+ Duration = Shapes::IntegerShape.new(name: 'Duration')
102
113
  EC2TagFilter = Shapes::StructureShape.new(name: 'EC2TagFilter')
103
114
  EC2TagFilterList = Shapes::ListShape.new(name: 'EC2TagFilterList')
104
115
  EC2TagFilterType = Shapes::StringShape.new(name: 'EC2TagFilterType')
116
+ ELBInfo = Shapes::StructureShape.new(name: 'ELBInfo')
117
+ ELBInfoList = Shapes::ListShape.new(name: 'ELBInfoList')
118
+ ELBName = Shapes::StringShape.new(name: 'ELBName')
105
119
  ETag = Shapes::StringShape.new(name: 'ETag')
106
120
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
107
121
  ErrorInformation = Shapes::StructureShape.new(name: 'ErrorInformation')
@@ -122,12 +136,15 @@ module Aws::CodeDeploy
122
136
  GetOnPremisesInstanceInput = Shapes::StructureShape.new(name: 'GetOnPremisesInstanceInput')
123
137
  GetOnPremisesInstanceOutput = Shapes::StructureShape.new(name: 'GetOnPremisesInstanceOutput')
124
138
  GitHubLocation = Shapes::StructureShape.new(name: 'GitHubLocation')
139
+ GreenFleetProvisioningAction = Shapes::StringShape.new(name: 'GreenFleetProvisioningAction')
140
+ GreenFleetProvisioningOption = Shapes::StructureShape.new(name: 'GreenFleetProvisioningOption')
125
141
  IamArnRequiredException = Shapes::StructureShape.new(name: 'IamArnRequiredException')
126
142
  IamSessionArn = Shapes::StringShape.new(name: 'IamSessionArn')
127
143
  IamSessionArnAlreadyRegisteredException = Shapes::StructureShape.new(name: 'IamSessionArnAlreadyRegisteredException')
128
144
  IamUserArn = Shapes::StringShape.new(name: 'IamUserArn')
129
145
  IamUserArnAlreadyRegisteredException = Shapes::StructureShape.new(name: 'IamUserArnAlreadyRegisteredException')
130
146
  IamUserArnRequiredException = Shapes::StructureShape.new(name: 'IamUserArnRequiredException')
147
+ InstanceAction = Shapes::StringShape.new(name: 'InstanceAction')
131
148
  InstanceArn = Shapes::StringShape.new(name: 'InstanceArn')
132
149
  InstanceCount = Shapes::IntegerShape.new(name: 'InstanceCount')
133
150
  InstanceDoesNotExistException = Shapes::StructureShape.new(name: 'InstanceDoesNotExistException')
@@ -145,23 +162,29 @@ module Aws::CodeDeploy
145
162
  InstanceStatusList = Shapes::ListShape.new(name: 'InstanceStatusList')
146
163
  InstanceSummary = Shapes::StructureShape.new(name: 'InstanceSummary')
147
164
  InstanceSummaryList = Shapes::ListShape.new(name: 'InstanceSummaryList')
165
+ InstanceType = Shapes::StringShape.new(name: 'InstanceType')
166
+ InstanceTypeList = Shapes::ListShape.new(name: 'InstanceTypeList')
148
167
  InstancesList = Shapes::ListShape.new(name: 'InstancesList')
149
168
  InvalidAlarmConfigException = Shapes::StructureShape.new(name: 'InvalidAlarmConfigException')
150
169
  InvalidApplicationNameException = Shapes::StructureShape.new(name: 'InvalidApplicationNameException')
151
170
  InvalidAutoRollbackConfigException = Shapes::StructureShape.new(name: 'InvalidAutoRollbackConfigException')
152
171
  InvalidAutoScalingGroupException = Shapes::StructureShape.new(name: 'InvalidAutoScalingGroupException')
172
+ InvalidBlueGreenDeploymentConfigurationException = Shapes::StructureShape.new(name: 'InvalidBlueGreenDeploymentConfigurationException')
153
173
  InvalidBucketNameFilterException = Shapes::StructureShape.new(name: 'InvalidBucketNameFilterException')
154
174
  InvalidDeployedStateFilterException = Shapes::StructureShape.new(name: 'InvalidDeployedStateFilterException')
155
175
  InvalidDeploymentConfigNameException = Shapes::StructureShape.new(name: 'InvalidDeploymentConfigNameException')
156
176
  InvalidDeploymentGroupNameException = Shapes::StructureShape.new(name: 'InvalidDeploymentGroupNameException')
157
177
  InvalidDeploymentIdException = Shapes::StructureShape.new(name: 'InvalidDeploymentIdException')
158
178
  InvalidDeploymentStatusException = Shapes::StructureShape.new(name: 'InvalidDeploymentStatusException')
179
+ InvalidDeploymentStyleException = Shapes::StructureShape.new(name: 'InvalidDeploymentStyleException')
159
180
  InvalidEC2TagException = Shapes::StructureShape.new(name: 'InvalidEC2TagException')
160
181
  InvalidIamSessionArnException = Shapes::StructureShape.new(name: 'InvalidIamSessionArnException')
161
182
  InvalidIamUserArnException = Shapes::StructureShape.new(name: 'InvalidIamUserArnException')
162
183
  InvalidInstanceNameException = Shapes::StructureShape.new(name: 'InvalidInstanceNameException')
163
184
  InvalidInstanceStatusException = Shapes::StructureShape.new(name: 'InvalidInstanceStatusException')
185
+ InvalidInstanceTypeException = Shapes::StructureShape.new(name: 'InvalidInstanceTypeException')
164
186
  InvalidKeyPrefixFilterException = Shapes::StructureShape.new(name: 'InvalidKeyPrefixFilterException')
187
+ InvalidLoadBalancerInfoException = Shapes::StructureShape.new(name: 'InvalidLoadBalancerInfoException')
165
188
  InvalidMinimumHealthyHostValueException = Shapes::StructureShape.new(name: 'InvalidMinimumHealthyHostValueException')
166
189
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
167
190
  InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
@@ -172,6 +195,7 @@ module Aws::CodeDeploy
172
195
  InvalidSortOrderException = Shapes::StructureShape.new(name: 'InvalidSortOrderException')
173
196
  InvalidTagException = Shapes::StructureShape.new(name: 'InvalidTagException')
174
197
  InvalidTagFilterException = Shapes::StructureShape.new(name: 'InvalidTagFilterException')
198
+ InvalidTargetInstancesException = Shapes::StructureShape.new(name: 'InvalidTargetInstancesException')
175
199
  InvalidTimeRangeException = Shapes::StructureShape.new(name: 'InvalidTimeRangeException')
176
200
  InvalidTriggerConfigException = Shapes::StructureShape.new(name: 'InvalidTriggerConfigException')
177
201
  Key = Shapes::StringShape.new(name: 'Key')
@@ -197,6 +221,7 @@ module Aws::CodeDeploy
197
221
  ListOnPremisesInstancesInput = Shapes::StructureShape.new(name: 'ListOnPremisesInstancesInput')
198
222
  ListOnPremisesInstancesOutput = Shapes::StructureShape.new(name: 'ListOnPremisesInstancesOutput')
199
223
  ListStateFilterAction = Shapes::StringShape.new(name: 'ListStateFilterAction')
224
+ LoadBalancerInfo = Shapes::StructureShape.new(name: 'LoadBalancerInfo')
200
225
  LogTail = Shapes::StringShape.new(name: 'LogTail')
201
226
  Message = Shapes::StringShape.new(name: 'Message')
202
227
  MinimumHealthyHosts = Shapes::StructureShape.new(name: 'MinimumHealthyHosts')
@@ -224,6 +249,7 @@ module Aws::CodeDeploy
224
249
  S3Key = Shapes::StringShape.new(name: 'S3Key')
225
250
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
226
251
  ScriptName = Shapes::StringShape.new(name: 'ScriptName')
252
+ SkipWaitTimeForInstanceTerminationInput = Shapes::StructureShape.new(name: 'SkipWaitTimeForInstanceTerminationInput')
227
253
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
228
254
  StopDeploymentInput = Shapes::StructureShape.new(name: 'StopDeploymentInput')
229
255
  StopDeploymentOutput = Shapes::StructureShape.new(name: 'StopDeploymentOutput')
@@ -235,6 +261,7 @@ module Aws::CodeDeploy
235
261
  TagLimitExceededException = Shapes::StructureShape.new(name: 'TagLimitExceededException')
236
262
  TagList = Shapes::ListShape.new(name: 'TagList')
237
263
  TagRequiredException = Shapes::StructureShape.new(name: 'TagRequiredException')
264
+ TargetInstances = Shapes::StructureShape.new(name: 'TargetInstances')
238
265
  TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
239
266
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
240
267
  TriggerConfig = Shapes::StructureShape.new(name: 'TriggerConfig')
@@ -244,6 +271,7 @@ module Aws::CodeDeploy
244
271
  TriggerName = Shapes::StringShape.new(name: 'TriggerName')
245
272
  TriggerTargetArn = Shapes::StringShape.new(name: 'TriggerTargetArn')
246
273
  TriggerTargetsLimitExceededException = Shapes::StructureShape.new(name: 'TriggerTargetsLimitExceededException')
274
+ UnsupportedActionForDeploymentTypeException = Shapes::StructureShape.new(name: 'UnsupportedActionForDeploymentTypeException')
247
275
  UpdateApplicationInput = Shapes::StructureShape.new(name: 'UpdateApplicationInput')
248
276
  UpdateDeploymentGroupInput = Shapes::StructureShape.new(name: 'UpdateDeploymentGroupInput')
249
277
  UpdateDeploymentGroupOutput = Shapes::StructureShape.new(name: 'UpdateDeploymentGroupOutput')
@@ -331,6 +359,18 @@ module Aws::CodeDeploy
331
359
  BatchGetOnPremisesInstancesOutput.add_member(:instance_infos, Shapes::ShapeRef.new(shape: InstanceInfoList, location_name: "instanceInfos"))
332
360
  BatchGetOnPremisesInstancesOutput.struct_class = Types::BatchGetOnPremisesInstancesOutput
333
361
 
362
+ BlueGreenDeploymentConfiguration.add_member(:terminate_blue_instances_on_deployment_success, Shapes::ShapeRef.new(shape: BlueInstanceTerminationOption, location_name: "terminateBlueInstancesOnDeploymentSuccess"))
363
+ BlueGreenDeploymentConfiguration.add_member(:deployment_ready_option, Shapes::ShapeRef.new(shape: DeploymentReadyOption, location_name: "deploymentReadyOption"))
364
+ BlueGreenDeploymentConfiguration.add_member(:green_fleet_provisioning_option, Shapes::ShapeRef.new(shape: GreenFleetProvisioningOption, location_name: "greenFleetProvisioningOption"))
365
+ BlueGreenDeploymentConfiguration.struct_class = Types::BlueGreenDeploymentConfiguration
366
+
367
+ BlueInstanceTerminationOption.add_member(:action, Shapes::ShapeRef.new(shape: InstanceAction, location_name: "action"))
368
+ BlueInstanceTerminationOption.add_member(:termination_wait_time_in_minutes, Shapes::ShapeRef.new(shape: Duration, location_name: "terminationWaitTimeInMinutes"))
369
+ BlueInstanceTerminationOption.struct_class = Types::BlueInstanceTerminationOption
370
+
371
+ ContinueDeploymentInput.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
372
+ ContinueDeploymentInput.struct_class = Types::ContinueDeploymentInput
373
+
334
374
  CreateApplicationInput.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "applicationName"))
335
375
  CreateApplicationInput.struct_class = Types::CreateApplicationInput
336
376
 
@@ -354,6 +394,9 @@ module Aws::CodeDeploy
354
394
  CreateDeploymentGroupInput.add_member(:trigger_configurations, Shapes::ShapeRef.new(shape: TriggerConfigList, location_name: "triggerConfigurations"))
355
395
  CreateDeploymentGroupInput.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "alarmConfiguration"))
356
396
  CreateDeploymentGroupInput.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
397
+ CreateDeploymentGroupInput.add_member(:deployment_style, Shapes::ShapeRef.new(shape: DeploymentStyle, location_name: "deploymentStyle"))
398
+ CreateDeploymentGroupInput.add_member(:blue_green_deployment_configuration, Shapes::ShapeRef.new(shape: BlueGreenDeploymentConfiguration, location_name: "blueGreenDeploymentConfiguration"))
399
+ CreateDeploymentGroupInput.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
357
400
  CreateDeploymentGroupInput.struct_class = Types::CreateDeploymentGroupInput
358
401
 
359
402
  CreateDeploymentGroupOutput.add_member(:deployment_group_id, Shapes::ShapeRef.new(shape: DeploymentGroupId, location_name: "deploymentGroupId"))
@@ -365,6 +408,7 @@ module Aws::CodeDeploy
365
408
  CreateDeploymentInput.add_member(:deployment_config_name, Shapes::ShapeRef.new(shape: DeploymentConfigName, location_name: "deploymentConfigName"))
366
409
  CreateDeploymentInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
367
410
  CreateDeploymentInput.add_member(:ignore_application_stop_failures, Shapes::ShapeRef.new(shape: Boolean, location_name: "ignoreApplicationStopFailures"))
411
+ CreateDeploymentInput.add_member(:target_instances, Shapes::ShapeRef.new(shape: TargetInstances, location_name: "targetInstances"))
368
412
  CreateDeploymentInput.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
369
413
  CreateDeploymentInput.add_member(:update_outdated_instances_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "updateOutdatedInstancesOnly"))
370
414
  CreateDeploymentInput.struct_class = Types::CreateDeploymentInput
@@ -405,6 +449,9 @@ module Aws::CodeDeploy
405
449
  DeploymentGroupInfo.add_member(:trigger_configurations, Shapes::ShapeRef.new(shape: TriggerConfigList, location_name: "triggerConfigurations"))
406
450
  DeploymentGroupInfo.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "alarmConfiguration"))
407
451
  DeploymentGroupInfo.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
452
+ DeploymentGroupInfo.add_member(:deployment_style, Shapes::ShapeRef.new(shape: DeploymentStyle, location_name: "deploymentStyle"))
453
+ DeploymentGroupInfo.add_member(:blue_green_deployment_configuration, Shapes::ShapeRef.new(shape: BlueGreenDeploymentConfiguration, location_name: "blueGreenDeploymentConfiguration"))
454
+ DeploymentGroupInfo.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
408
455
  DeploymentGroupInfo.struct_class = Types::DeploymentGroupInfo
409
456
 
410
457
  DeploymentGroupInfoList.member = Shapes::ShapeRef.new(shape: DeploymentGroupInfo)
@@ -428,6 +475,12 @@ module Aws::CodeDeploy
428
475
  DeploymentInfo.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
429
476
  DeploymentInfo.add_member(:update_outdated_instances_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "updateOutdatedInstancesOnly"))
430
477
  DeploymentInfo.add_member(:rollback_info, Shapes::ShapeRef.new(shape: RollbackInfo, location_name: "rollbackInfo"))
478
+ DeploymentInfo.add_member(:deployment_style, Shapes::ShapeRef.new(shape: DeploymentStyle, location_name: "deploymentStyle"))
479
+ DeploymentInfo.add_member(:target_instances, Shapes::ShapeRef.new(shape: TargetInstances, location_name: "targetInstances"))
480
+ DeploymentInfo.add_member(:instance_termination_wait_time_started, Shapes::ShapeRef.new(shape: Boolean, location_name: "instanceTerminationWaitTimeStarted"))
481
+ DeploymentInfo.add_member(:blue_green_deployment_configuration, Shapes::ShapeRef.new(shape: BlueGreenDeploymentConfiguration, location_name: "blueGreenDeploymentConfiguration"))
482
+ DeploymentInfo.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
483
+ DeploymentInfo.add_member(:additional_deployment_status_info, Shapes::ShapeRef.new(shape: AdditionalDeploymentStatusInfo, location_name: "additionalDeploymentStatusInfo"))
431
484
  DeploymentInfo.struct_class = Types::DeploymentInfo
432
485
 
433
486
  DeploymentOverview.add_member(:pending, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "Pending"))
@@ -435,10 +488,19 @@ module Aws::CodeDeploy
435
488
  DeploymentOverview.add_member(:succeeded, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "Succeeded"))
436
489
  DeploymentOverview.add_member(:failed, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "Failed"))
437
490
  DeploymentOverview.add_member(:skipped, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "Skipped"))
491
+ DeploymentOverview.add_member(:ready, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "Ready"))
438
492
  DeploymentOverview.struct_class = Types::DeploymentOverview
439
493
 
494
+ DeploymentReadyOption.add_member(:action_on_timeout, Shapes::ShapeRef.new(shape: DeploymentReadyAction, location_name: "actionOnTimeout"))
495
+ DeploymentReadyOption.add_member(:wait_time_in_minutes, Shapes::ShapeRef.new(shape: Duration, location_name: "waitTimeInMinutes"))
496
+ DeploymentReadyOption.struct_class = Types::DeploymentReadyOption
497
+
440
498
  DeploymentStatusList.member = Shapes::ShapeRef.new(shape: DeploymentStatus)
441
499
 
500
+ DeploymentStyle.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentType, location_name: "deploymentType"))
501
+ DeploymentStyle.add_member(:deployment_option, Shapes::ShapeRef.new(shape: DeploymentOption, location_name: "deploymentOption"))
502
+ DeploymentStyle.struct_class = Types::DeploymentStyle
503
+
442
504
  DeploymentsInfoList.member = Shapes::ShapeRef.new(shape: DeploymentInfo)
443
505
 
444
506
  DeploymentsList.member = Shapes::ShapeRef.new(shape: DeploymentId)
@@ -459,6 +521,11 @@ module Aws::CodeDeploy
459
521
 
460
522
  EC2TagFilterList.member = Shapes::ShapeRef.new(shape: EC2TagFilter)
461
523
 
524
+ ELBInfo.add_member(:name, Shapes::ShapeRef.new(shape: ELBName, location_name: "name"))
525
+ ELBInfo.struct_class = Types::ELBInfo
526
+
527
+ ELBInfoList.member = Shapes::ShapeRef.new(shape: ELBInfo)
528
+
462
529
  ErrorInformation.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
463
530
  ErrorInformation.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
464
531
  ErrorInformation.struct_class = Types::ErrorInformation
@@ -521,6 +588,9 @@ module Aws::CodeDeploy
521
588
  GitHubLocation.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "commitId"))
522
589
  GitHubLocation.struct_class = Types::GitHubLocation
523
590
 
591
+ GreenFleetProvisioningOption.add_member(:action, Shapes::ShapeRef.new(shape: GreenFleetProvisioningAction, location_name: "action"))
592
+ GreenFleetProvisioningOption.struct_class = Types::GreenFleetProvisioningOption
593
+
524
594
  InstanceInfo.add_member(:instance_name, Shapes::ShapeRef.new(shape: InstanceName, location_name: "instanceName"))
525
595
  InstanceInfo.add_member(:iam_session_arn, Shapes::ShapeRef.new(shape: IamSessionArn, location_name: "iamSessionArn"))
526
596
  InstanceInfo.add_member(:iam_user_arn, Shapes::ShapeRef.new(shape: IamUserArn, location_name: "iamUserArn"))
@@ -541,10 +611,13 @@ module Aws::CodeDeploy
541
611
  InstanceSummary.add_member(:status, Shapes::ShapeRef.new(shape: InstanceStatus, location_name: "status"))
542
612
  InstanceSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
543
613
  InstanceSummary.add_member(:lifecycle_events, Shapes::ShapeRef.new(shape: LifecycleEventList, location_name: "lifecycleEvents"))
614
+ InstanceSummary.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
544
615
  InstanceSummary.struct_class = Types::InstanceSummary
545
616
 
546
617
  InstanceSummaryList.member = Shapes::ShapeRef.new(shape: InstanceSummary)
547
618
 
619
+ InstanceTypeList.member = Shapes::ShapeRef.new(shape: InstanceType)
620
+
548
621
  InstancesList.member = Shapes::ShapeRef.new(shape: InstanceId)
549
622
 
550
623
  LifecycleEvent.add_member(:lifecycle_event_name, Shapes::ShapeRef.new(shape: LifecycleEventName, location_name: "lifecycleEventName"))
@@ -595,6 +668,7 @@ module Aws::CodeDeploy
595
668
  ListDeploymentInstancesInput.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, required: true, location_name: "deploymentId"))
596
669
  ListDeploymentInstancesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
597
670
  ListDeploymentInstancesInput.add_member(:instance_status_filter, Shapes::ShapeRef.new(shape: InstanceStatusList, location_name: "instanceStatusFilter"))
671
+ ListDeploymentInstancesInput.add_member(:instance_type_filter, Shapes::ShapeRef.new(shape: InstanceTypeList, location_name: "instanceTypeFilter"))
598
672
  ListDeploymentInstancesInput.struct_class = Types::ListDeploymentInstancesInput
599
673
 
600
674
  ListDeploymentInstancesOutput.add_member(:instances_list, Shapes::ShapeRef.new(shape: InstancesList, location_name: "instancesList"))
@@ -621,6 +695,9 @@ module Aws::CodeDeploy
621
695
  ListOnPremisesInstancesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
622
696
  ListOnPremisesInstancesOutput.struct_class = Types::ListOnPremisesInstancesOutput
623
697
 
698
+ LoadBalancerInfo.add_member(:elb_info_list, Shapes::ShapeRef.new(shape: ELBInfoList, location_name: "elbInfoList"))
699
+ LoadBalancerInfo.struct_class = Types::LoadBalancerInfo
700
+
624
701
  MinimumHealthyHosts.add_member(:value, Shapes::ShapeRef.new(shape: MinimumHealthyHostsValue, location_name: "value"))
625
702
  MinimumHealthyHosts.add_member(:type, Shapes::ShapeRef.new(shape: MinimumHealthyHostsType, location_name: "type"))
626
703
  MinimumHealthyHosts.struct_class = Types::MinimumHealthyHosts
@@ -664,6 +741,9 @@ module Aws::CodeDeploy
664
741
  S3Location.add_member(:e_tag, Shapes::ShapeRef.new(shape: ETag, location_name: "eTag"))
665
742
  S3Location.struct_class = Types::S3Location
666
743
 
744
+ SkipWaitTimeForInstanceTerminationInput.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
745
+ SkipWaitTimeForInstanceTerminationInput.struct_class = Types::SkipWaitTimeForInstanceTerminationInput
746
+
667
747
  StopDeploymentInput.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, required: true, location_name: "deploymentId"))
668
748
  StopDeploymentInput.add_member(:auto_rollback_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "autoRollbackEnabled"))
669
749
  StopDeploymentInput.struct_class = Types::StopDeploymentInput
@@ -685,6 +765,10 @@ module Aws::CodeDeploy
685
765
 
686
766
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
687
767
 
768
+ TargetInstances.add_member(:tag_filters, Shapes::ShapeRef.new(shape: EC2TagFilterList, location_name: "tagFilters"))
769
+ TargetInstances.add_member(:auto_scaling_groups, Shapes::ShapeRef.new(shape: AutoScalingGroupNameList, location_name: "autoScalingGroups"))
770
+ TargetInstances.struct_class = Types::TargetInstances
771
+
688
772
  TimeRange.add_member(:start, Shapes::ShapeRef.new(shape: Timestamp, location_name: "start"))
689
773
  TimeRange.add_member(:end, Shapes::ShapeRef.new(shape: Timestamp, location_name: "end"))
690
774
  TimeRange.struct_class = Types::TimeRange
@@ -713,6 +797,9 @@ module Aws::CodeDeploy
713
797
  UpdateDeploymentGroupInput.add_member(:trigger_configurations, Shapes::ShapeRef.new(shape: TriggerConfigList, location_name: "triggerConfigurations"))
714
798
  UpdateDeploymentGroupInput.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "alarmConfiguration"))
715
799
  UpdateDeploymentGroupInput.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
800
+ UpdateDeploymentGroupInput.add_member(:deployment_style, Shapes::ShapeRef.new(shape: DeploymentStyle, location_name: "deploymentStyle"))
801
+ UpdateDeploymentGroupInput.add_member(:blue_green_deployment_configuration, Shapes::ShapeRef.new(shape: BlueGreenDeploymentConfiguration, location_name: "blueGreenDeploymentConfiguration"))
802
+ UpdateDeploymentGroupInput.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
716
803
  UpdateDeploymentGroupInput.struct_class = Types::UpdateDeploymentGroupInput
717
804
 
718
805
  UpdateDeploymentGroupOutput.add_member(:hooks_not_cleaned_up, Shapes::ShapeRef.new(shape: AutoScalingGroupList, location_name: "hooksNotCleanedUp"))
@@ -824,6 +911,20 @@ module Aws::CodeDeploy
824
911
  o.errors << Shapes::ShapeRef.new(shape: BatchLimitExceededException)
825
912
  end)
826
913
 
914
+ api.add_operation(:continue_deployment, Seahorse::Model::Operation.new.tap do |o|
915
+ o.name = "ContinueDeployment"
916
+ o.http_method = "POST"
917
+ o.http_request_uri = "/"
918
+ o.input = Shapes::ShapeRef.new(shape: ContinueDeploymentInput)
919
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
920
+ o.errors << Shapes::ShapeRef.new(shape: DeploymentIdRequiredException)
921
+ o.errors << Shapes::ShapeRef.new(shape: DeploymentDoesNotExistException)
922
+ o.errors << Shapes::ShapeRef.new(shape: DeploymentAlreadyCompletedException)
923
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentIdException)
924
+ o.errors << Shapes::ShapeRef.new(shape: DeploymentIsNotInReadyStateException)
925
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionForDeploymentTypeException)
926
+ end)
927
+
827
928
  api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
828
929
  o.name = "CreateApplication"
829
930
  o.http_method = "POST"
@@ -855,7 +956,9 @@ module Aws::CodeDeploy
855
956
  o.errors << Shapes::ShapeRef.new(shape: DeploymentConfigDoesNotExistException)
856
957
  o.errors << Shapes::ShapeRef.new(shape: DescriptionTooLongException)
857
958
  o.errors << Shapes::ShapeRef.new(shape: DeploymentLimitExceededException)
959
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetInstancesException)
858
960
  o.errors << Shapes::ShapeRef.new(shape: InvalidAutoRollbackConfigException)
961
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerInfoException)
859
962
  end)
860
963
 
861
964
  api.add_operation(:create_deployment_config, Seahorse::Model::Operation.new.tap do |o|
@@ -897,6 +1000,9 @@ module Aws::CodeDeploy
897
1000
  o.errors << Shapes::ShapeRef.new(shape: InvalidAlarmConfigException)
898
1001
  o.errors << Shapes::ShapeRef.new(shape: AlarmsLimitExceededException)
899
1002
  o.errors << Shapes::ShapeRef.new(shape: InvalidAutoRollbackConfigException)
1003
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerInfoException)
1004
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentStyleException)
1005
+ o.errors << Shapes::ShapeRef.new(shape: InvalidBlueGreenDeploymentConfigurationException)
900
1006
  end)
901
1007
 
902
1008
  api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
@@ -1046,11 +1152,6 @@ module Aws::CodeDeploy
1046
1152
  o.errors << Shapes::ShapeRef.new(shape: BucketNameFilterRequiredException)
1047
1153
  o.errors << Shapes::ShapeRef.new(shape: InvalidDeployedStateFilterException)
1048
1154
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1049
- o[:pager] = Aws::Pager.new(
1050
- tokens: {
1051
- "next_token" => "next_token"
1052
- }
1053
- )
1054
1155
  end)
1055
1156
 
1056
1157
  api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
@@ -1060,11 +1161,6 @@ module Aws::CodeDeploy
1060
1161
  o.input = Shapes::ShapeRef.new(shape: ListApplicationsInput)
1061
1162
  o.output = Shapes::ShapeRef.new(shape: ListApplicationsOutput)
1062
1163
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1063
- o[:pager] = Aws::Pager.new(
1064
- tokens: {
1065
- "next_token" => "next_token"
1066
- }
1067
- )
1068
1164
  end)
1069
1165
 
1070
1166
  api.add_operation(:list_deployment_configs, Seahorse::Model::Operation.new.tap do |o|
@@ -1074,11 +1170,6 @@ module Aws::CodeDeploy
1074
1170
  o.input = Shapes::ShapeRef.new(shape: ListDeploymentConfigsInput)
1075
1171
  o.output = Shapes::ShapeRef.new(shape: ListDeploymentConfigsOutput)
1076
1172
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1077
- o[:pager] = Aws::Pager.new(
1078
- tokens: {
1079
- "next_token" => "next_token"
1080
- }
1081
- )
1082
1173
  end)
1083
1174
 
1084
1175
  api.add_operation(:list_deployment_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -1091,11 +1182,6 @@ module Aws::CodeDeploy
1091
1182
  o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationNameException)
1092
1183
  o.errors << Shapes::ShapeRef.new(shape: ApplicationDoesNotExistException)
1093
1184
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1094
- o[:pager] = Aws::Pager.new(
1095
- tokens: {
1096
- "next_token" => "next_token"
1097
- }
1098
- )
1099
1185
  end)
1100
1186
 
1101
1187
  api.add_operation(:list_deployment_instances, Seahorse::Model::Operation.new.tap do |o|
@@ -1110,11 +1196,7 @@ module Aws::CodeDeploy
1110
1196
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1111
1197
  o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentIdException)
1112
1198
  o.errors << Shapes::ShapeRef.new(shape: InvalidInstanceStatusException)
1113
- o[:pager] = Aws::Pager.new(
1114
- tokens: {
1115
- "next_token" => "next_token"
1116
- }
1117
- )
1199
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInstanceTypeException)
1118
1200
  end)
1119
1201
 
1120
1202
  api.add_operation(:list_deployments, Seahorse::Model::Operation.new.tap do |o|
@@ -1132,11 +1214,6 @@ module Aws::CodeDeploy
1132
1214
  o.errors << Shapes::ShapeRef.new(shape: InvalidTimeRangeException)
1133
1215
  o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentStatusException)
1134
1216
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1135
- o[:pager] = Aws::Pager.new(
1136
- tokens: {
1137
- "next_token" => "next_token"
1138
- }
1139
- )
1140
1217
  end)
1141
1218
 
1142
1219
  api.add_operation(:list_on_premises_instances, Seahorse::Model::Operation.new.tap do |o|
@@ -1196,6 +1273,20 @@ module Aws::CodeDeploy
1196
1273
  o.errors << Shapes::ShapeRef.new(shape: InstanceNotRegisteredException)
1197
1274
  end)
1198
1275
 
1276
+ api.add_operation(:skip_wait_time_for_instance_termination, Seahorse::Model::Operation.new.tap do |o|
1277
+ o.name = "SkipWaitTimeForInstanceTermination"
1278
+ o.http_method = "POST"
1279
+ o.http_request_uri = "/"
1280
+ o.input = Shapes::ShapeRef.new(shape: SkipWaitTimeForInstanceTerminationInput)
1281
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1282
+ o.errors << Shapes::ShapeRef.new(shape: DeploymentIdRequiredException)
1283
+ o.errors << Shapes::ShapeRef.new(shape: DeploymentDoesNotExistException)
1284
+ o.errors << Shapes::ShapeRef.new(shape: DeploymentAlreadyCompletedException)
1285
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentIdException)
1286
+ o.errors << Shapes::ShapeRef.new(shape: DeploymentNotStartedException)
1287
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionForDeploymentTypeException)
1288
+ end)
1289
+
1199
1290
  api.add_operation(:stop_deployment, Seahorse::Model::Operation.new.tap do |o|
1200
1291
  o.name = "StopDeployment"
1201
1292
  o.http_method = "POST"
@@ -1245,6 +1336,9 @@ module Aws::CodeDeploy
1245
1336
  o.errors << Shapes::ShapeRef.new(shape: InvalidAlarmConfigException)
1246
1337
  o.errors << Shapes::ShapeRef.new(shape: AlarmsLimitExceededException)
1247
1338
  o.errors << Shapes::ShapeRef.new(shape: InvalidAutoRollbackConfigException)
1339
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerInfoException)
1340
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentStyleException)
1341
+ o.errors << Shapes::ShapeRef.new(shape: InvalidBlueGreenDeploymentConfigurationException)
1248
1342
  end)
1249
1343
  end
1250
1344
 
@@ -35,6 +35,8 @@ module Aws::CodeDeploy
35
35
  # The names of the on-premises instances to which to add tags.
36
36
  # @return [Array<String>]
37
37
  #
38
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstancesInput AWS API Documentation
39
+ #
38
40
  class AddTagsToOnPremisesInstancesInput < Struct.new(
39
41
  :tags,
40
42
  :instance_names)
@@ -55,6 +57,8 @@ module Aws::CodeDeploy
55
57
  # name can be used only once in a list of alarms.
56
58
  # @return [String]
57
59
  #
60
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Alarm AWS API Documentation
61
+ #
58
62
  class Alarm < Struct.new(
59
63
  :name)
60
64
  include Aws::Structure
@@ -96,6 +100,8 @@ module Aws::CodeDeploy
96
100
  # 10 alarms can be added to a deployment group.
97
101
  # @return [Array<Types::Alarm>]
98
102
  #
103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AlarmConfiguration AWS API Documentation
104
+ #
99
105
  class AlarmConfiguration < Struct.new(
100
106
  :enabled,
101
107
  :ignore_poll_alarm_failure,
@@ -122,6 +128,8 @@ module Aws::CodeDeploy
122
128
  # application; otherwise, false.
123
129
  # @return [Boolean]
124
130
  #
131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationInfo AWS API Documentation
132
+ #
125
133
  class ApplicationInfo < Struct.new(
126
134
  :application_id,
127
135
  :application_name,
@@ -151,6 +159,8 @@ module Aws::CodeDeploy
151
159
  # The event type or types that trigger a rollback.
152
160
  # @return [Array<String>]
153
161
  #
162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoRollbackConfiguration AWS API Documentation
163
+ #
154
164
  class AutoRollbackConfiguration < Struct.new(
155
165
  :enabled,
156
166
  :events)
@@ -167,6 +177,8 @@ module Aws::CodeDeploy
167
177
  # An Auto Scaling lifecycle event hook name.
168
178
  # @return [String]
169
179
  #
180
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoScalingGroup AWS API Documentation
181
+ #
170
182
  class AutoScalingGroup < Struct.new(
171
183
  :name,
172
184
  :hook)
@@ -208,6 +220,8 @@ module Aws::CodeDeploy
208
220
  # and location.
209
221
  # @return [Array<Types::RevisionLocation>]
210
222
  #
223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsInput AWS API Documentation
224
+ #
211
225
  class BatchGetApplicationRevisionsInput < Struct.new(
212
226
  :application_name,
213
227
  :revisions)
@@ -229,6 +243,8 @@ module Aws::CodeDeploy
229
243
  # location.
230
244
  # @return [Array<Types::RevisionInfo>]
231
245
  #
246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsOutput AWS API Documentation
247
+ #
232
248
  class BatchGetApplicationRevisionsOutput < Struct.new(
233
249
  :application_name,
234
250
  :error_message,
@@ -249,6 +265,8 @@ module Aws::CodeDeploy
249
265
  # A list of application names separated by spaces.
250
266
  # @return [Array<String>]
251
267
  #
268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsInput AWS API Documentation
269
+ #
252
270
  class BatchGetApplicationsInput < Struct.new(
253
271
  :application_names)
254
272
  include Aws::Structure
@@ -260,6 +278,8 @@ module Aws::CodeDeploy
260
278
  # Information about the applications.
261
279
  # @return [Array<Types::ApplicationInfo>]
262
280
  #
281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsOutput AWS API Documentation
282
+ #
263
283
  class BatchGetApplicationsOutput < Struct.new(
264
284
  :applications_info)
265
285
  include Aws::Structure
@@ -284,6 +304,8 @@ module Aws::CodeDeploy
284
304
  # The deployment groups' names.
285
305
  # @return [Array<String>]
286
306
  #
307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsInput AWS API Documentation
308
+ #
287
309
  class BatchGetDeploymentGroupsInput < Struct.new(
288
310
  :application_name,
289
311
  :deployment_group_names)
@@ -300,6 +322,8 @@ module Aws::CodeDeploy
300
322
  # Information about errors that may have occurred during the API call.
301
323
  # @return [String]
302
324
  #
325
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsOutput AWS API Documentation
326
+ #
303
327
  class BatchGetDeploymentGroupsOutput < Struct.new(
304
328
  :deployment_groups_info,
305
329
  :error_message)
@@ -324,6 +348,8 @@ module Aws::CodeDeploy
324
348
  # The unique IDs of instances in the deployment group.
325
349
  # @return [Array<String>]
326
350
  #
351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesInput AWS API Documentation
352
+ #
327
353
  class BatchGetDeploymentInstancesInput < Struct.new(
328
354
  :deployment_id,
329
355
  :instance_ids)
@@ -340,6 +366,8 @@ module Aws::CodeDeploy
340
366
  # Information about errors that may have occurred during the API call.
341
367
  # @return [String]
342
368
  #
369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesOutput AWS API Documentation
370
+ #
343
371
  class BatchGetDeploymentInstancesOutput < Struct.new(
344
372
  :instances_summary,
345
373
  :error_message)
@@ -359,6 +387,8 @@ module Aws::CodeDeploy
359
387
  # A list of deployment IDs, separated by spaces.
360
388
  # @return [Array<String>]
361
389
  #
390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsInput AWS API Documentation
391
+ #
362
392
  class BatchGetDeploymentsInput < Struct.new(
363
393
  :deployment_ids)
364
394
  include Aws::Structure
@@ -370,6 +400,8 @@ module Aws::CodeDeploy
370
400
  # Information about the deployments.
371
401
  # @return [Array<Types::DeploymentInfo>]
372
402
  #
403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsOutput AWS API Documentation
404
+ #
373
405
  class BatchGetDeploymentsOutput < Struct.new(
374
406
  :deployments_info)
375
407
  include Aws::Structure
@@ -389,6 +421,8 @@ module Aws::CodeDeploy
389
421
  # information.
390
422
  # @return [Array<String>]
391
423
  #
424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesInput AWS API Documentation
425
+ #
392
426
  class BatchGetOnPremisesInstancesInput < Struct.new(
393
427
  :instance_names)
394
428
  include Aws::Structure
@@ -400,11 +434,112 @@ module Aws::CodeDeploy
400
434
  # Information about the on-premises instances.
401
435
  # @return [Array<Types::InstanceInfo>]
402
436
  #
437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesOutput AWS API Documentation
438
+ #
403
439
  class BatchGetOnPremisesInstancesOutput < Struct.new(
404
440
  :instance_infos)
405
441
  include Aws::Structure
406
442
  end
407
443
 
444
+ # Information about blue/green deployment options for a deployment
445
+ # group.
446
+ #
447
+ # @note When making an API call, you may pass BlueGreenDeploymentConfiguration
448
+ # data as a hash:
449
+ #
450
+ # {
451
+ # terminate_blue_instances_on_deployment_success: {
452
+ # action: "TERMINATE", # accepts TERMINATE, KEEP_ALIVE
453
+ # termination_wait_time_in_minutes: 1,
454
+ # },
455
+ # deployment_ready_option: {
456
+ # action_on_timeout: "CONTINUE_DEPLOYMENT", # accepts CONTINUE_DEPLOYMENT, STOP_DEPLOYMENT
457
+ # wait_time_in_minutes: 1,
458
+ # },
459
+ # green_fleet_provisioning_option: {
460
+ # action: "DISCOVER_EXISTING", # accepts DISCOVER_EXISTING, COPY_AUTO_SCALING_GROUP
461
+ # },
462
+ # }
463
+ #
464
+ # @!attribute [rw] terminate_blue_instances_on_deployment_success
465
+ # Information about whether to terminate instances in the original
466
+ # fleet during a blue/green deployment.
467
+ # @return [Types::BlueInstanceTerminationOption]
468
+ #
469
+ # @!attribute [rw] deployment_ready_option
470
+ # Information about the action to take when newly provisioned
471
+ # instances are ready to receive traffic in a blue/green deployment.
472
+ # @return [Types::DeploymentReadyOption]
473
+ #
474
+ # @!attribute [rw] green_fleet_provisioning_option
475
+ # Information about how instances are provisioned for a replacement
476
+ # environment in a blue/green deployment.
477
+ # @return [Types::GreenFleetProvisioningOption]
478
+ #
479
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueGreenDeploymentConfiguration AWS API Documentation
480
+ #
481
+ class BlueGreenDeploymentConfiguration < Struct.new(
482
+ :terminate_blue_instances_on_deployment_success,
483
+ :deployment_ready_option,
484
+ :green_fleet_provisioning_option)
485
+ include Aws::Structure
486
+ end
487
+
488
+ # Information about whether instances in the original environment are
489
+ # terminated when a blue/green deployment is successful.
490
+ #
491
+ # @note When making an API call, you may pass BlueInstanceTerminationOption
492
+ # data as a hash:
493
+ #
494
+ # {
495
+ # action: "TERMINATE", # accepts TERMINATE, KEEP_ALIVE
496
+ # termination_wait_time_in_minutes: 1,
497
+ # }
498
+ #
499
+ # @!attribute [rw] action
500
+ # The action to take on instances in the original environment after a
501
+ # successful blue/green deployment.
502
+ #
503
+ # * TERMINATE: Instances are terminated after a specified wait time.
504
+ #
505
+ # * KEEP\_ALIVE: Instances are left running after they are
506
+ # deregistered from the load balancer and removed from the
507
+ # deployment group.
508
+ # @return [String]
509
+ #
510
+ # @!attribute [rw] termination_wait_time_in_minutes
511
+ # The number of minutes to wait after a successful blue/green
512
+ # deployment before terminating instances from the original
513
+ # environment.
514
+ # @return [Integer]
515
+ #
516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueInstanceTerminationOption AWS API Documentation
517
+ #
518
+ class BlueInstanceTerminationOption < Struct.new(
519
+ :action,
520
+ :termination_wait_time_in_minutes)
521
+ include Aws::Structure
522
+ end
523
+
524
+ # @note When making an API call, you may pass ContinueDeploymentInput
525
+ # data as a hash:
526
+ #
527
+ # {
528
+ # deployment_id: "DeploymentId",
529
+ # }
530
+ #
531
+ # @!attribute [rw] deployment_id
532
+ # The deployment ID of the blue/green deployment for which you want to
533
+ # start rerouting traffic to the replacement environment.
534
+ # @return [String]
535
+ #
536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentInput AWS API Documentation
537
+ #
538
+ class ContinueDeploymentInput < Struct.new(
539
+ :deployment_id)
540
+ include Aws::Structure
541
+ end
542
+
408
543
  # Represents the input of a create application operation.
409
544
  #
410
545
  # @note When making an API call, you may pass CreateApplicationInput
@@ -419,6 +554,8 @@ module Aws::CodeDeploy
419
554
  # applicable IAM user or AWS account.
420
555
  # @return [String]
421
556
  #
557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationInput AWS API Documentation
558
+ #
422
559
  class CreateApplicationInput < Struct.new(
423
560
  :application_name)
424
561
  include Aws::Structure
@@ -430,6 +567,8 @@ module Aws::CodeDeploy
430
567
  # A unique application ID.
431
568
  # @return [String]
432
569
  #
570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationOutput AWS API Documentation
571
+ #
433
572
  class CreateApplicationOutput < Struct.new(
434
573
  :application_id)
435
574
  include Aws::Structure
@@ -475,6 +614,8 @@ module Aws::CodeDeploy
475
614
  # type of FLEET\_PERCENT and a value of 95.
476
615
  # @return [Types::MinimumHealthyHosts]
477
616
  #
617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigInput AWS API Documentation
618
+ #
478
619
  class CreateDeploymentConfigInput < Struct.new(
479
620
  :deployment_config_name,
480
621
  :minimum_healthy_hosts)
@@ -487,6 +628,8 @@ module Aws::CodeDeploy
487
628
  # A unique deployment configuration ID.
488
629
  # @return [String]
489
630
  #
631
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigOutput AWS API Documentation
632
+ #
490
633
  class CreateDeploymentConfigOutput < Struct.new(
491
634
  :deployment_config_id)
492
635
  include Aws::Structure
@@ -521,7 +664,7 @@ module Aws::CodeDeploy
521
664
  # {
522
665
  # trigger_name: "TriggerName",
523
666
  # trigger_target_arn: "TriggerTargetArn",
524
- # trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
667
+ # trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, DeploymentReady, InstanceStart, InstanceSuccess, InstanceFailure, InstanceReady
525
668
  # },
526
669
  # ],
527
670
  # alarm_configuration: {
@@ -537,6 +680,30 @@ module Aws::CodeDeploy
537
680
  # enabled: false,
538
681
  # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
539
682
  # },
683
+ # deployment_style: {
684
+ # deployment_type: "IN_PLACE", # accepts IN_PLACE, BLUE_GREEN
685
+ # deployment_option: "WITH_TRAFFIC_CONTROL", # accepts WITH_TRAFFIC_CONTROL, WITHOUT_TRAFFIC_CONTROL
686
+ # },
687
+ # blue_green_deployment_configuration: {
688
+ # terminate_blue_instances_on_deployment_success: {
689
+ # action: "TERMINATE", # accepts TERMINATE, KEEP_ALIVE
690
+ # termination_wait_time_in_minutes: 1,
691
+ # },
692
+ # deployment_ready_option: {
693
+ # action_on_timeout: "CONTINUE_DEPLOYMENT", # accepts CONTINUE_DEPLOYMENT, STOP_DEPLOYMENT
694
+ # wait_time_in_minutes: 1,
695
+ # },
696
+ # green_fleet_provisioning_option: {
697
+ # action: "DISCOVER_EXISTING", # accepts DISCOVER_EXISTING, COPY_AUTO_SCALING_GROUP
698
+ # },
699
+ # },
700
+ # load_balancer_info: {
701
+ # elb_info_list: [
702
+ # {
703
+ # name: "ELBName",
704
+ # },
705
+ # ],
706
+ # },
540
707
  # }
541
708
  #
542
709
  # @!attribute [rw] application_name
@@ -604,6 +771,23 @@ module Aws::CodeDeploy
604
771
  # when a deployment group is created.
605
772
  # @return [Types::AutoRollbackConfiguration]
606
773
  #
774
+ # @!attribute [rw] deployment_style
775
+ # Information about the type of deployment, standard or blue/green,
776
+ # that you want to run and whether to route deployment traffic behind
777
+ # a load balancer.
778
+ # @return [Types::DeploymentStyle]
779
+ #
780
+ # @!attribute [rw] blue_green_deployment_configuration
781
+ # Information about blue/green deployment options for a deployment
782
+ # group.
783
+ # @return [Types::BlueGreenDeploymentConfiguration]
784
+ #
785
+ # @!attribute [rw] load_balancer_info
786
+ # Information about the load balancer used in a blue/green deployment.
787
+ # @return [Types::LoadBalancerInfo]
788
+ #
789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupInput AWS API Documentation
790
+ #
607
791
  class CreateDeploymentGroupInput < Struct.new(
608
792
  :application_name,
609
793
  :deployment_group_name,
@@ -614,7 +798,10 @@ module Aws::CodeDeploy
614
798
  :service_role_arn,
615
799
  :trigger_configurations,
616
800
  :alarm_configuration,
617
- :auto_rollback_configuration)
801
+ :auto_rollback_configuration,
802
+ :deployment_style,
803
+ :blue_green_deployment_configuration,
804
+ :load_balancer_info)
618
805
  include Aws::Structure
619
806
  end
620
807
 
@@ -624,6 +811,8 @@ module Aws::CodeDeploy
624
811
  # A unique deployment group ID.
625
812
  # @return [String]
626
813
  #
814
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupOutput AWS API Documentation
815
+ #
627
816
  class CreateDeploymentGroupOutput < Struct.new(
628
817
  :deployment_group_id)
629
818
  include Aws::Structure
@@ -654,6 +843,16 @@ module Aws::CodeDeploy
654
843
  # deployment_config_name: "DeploymentConfigName",
655
844
  # description: "Description",
656
845
  # ignore_application_stop_failures: false,
846
+ # target_instances: {
847
+ # tag_filters: [
848
+ # {
849
+ # key: "Key",
850
+ # value: "Value",
851
+ # type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
852
+ # },
853
+ # ],
854
+ # auto_scaling_groups: ["AutoScalingGroupName"],
855
+ # },
657
856
  # auto_rollback_configuration: {
658
857
  # enabled: false,
659
858
  # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
@@ -701,6 +900,11 @@ module Aws::CodeDeploy
701
900
  # that instance will be considered to have failed.
702
901
  # @return [Boolean]
703
902
  #
903
+ # @!attribute [rw] target_instances
904
+ # Information about the instances that will belong to the replacement
905
+ # environment in a blue/green deployment.
906
+ # @return [Types::TargetInstances]
907
+ #
704
908
  # @!attribute [rw] auto_rollback_configuration
705
909
  # Configuration information for an automatic rollback that is added
706
910
  # when a deployment is created.
@@ -711,6 +915,8 @@ module Aws::CodeDeploy
711
915
  # that are not running the latest application revision.
712
916
  # @return [Boolean]
713
917
  #
918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput AWS API Documentation
919
+ #
714
920
  class CreateDeploymentInput < Struct.new(
715
921
  :application_name,
716
922
  :deployment_group_name,
@@ -718,6 +924,7 @@ module Aws::CodeDeploy
718
924
  :deployment_config_name,
719
925
  :description,
720
926
  :ignore_application_stop_failures,
927
+ :target_instances,
721
928
  :auto_rollback_configuration,
722
929
  :update_outdated_instances_only)
723
930
  include Aws::Structure
@@ -729,6 +936,8 @@ module Aws::CodeDeploy
729
936
  # A unique deployment ID.
730
937
  # @return [String]
731
938
  #
939
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentOutput AWS API Documentation
940
+ #
732
941
  class CreateDeploymentOutput < Struct.new(
733
942
  :deployment_id)
734
943
  include Aws::Structure
@@ -748,6 +957,8 @@ module Aws::CodeDeploy
748
957
  # applicable IAM user or AWS account.
749
958
  # @return [String]
750
959
  #
960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationInput AWS API Documentation
961
+ #
751
962
  class DeleteApplicationInput < Struct.new(
752
963
  :application_name)
753
964
  include Aws::Structure
@@ -767,6 +978,8 @@ module Aws::CodeDeploy
767
978
  # applicable IAM user or AWS account.
768
979
  # @return [String]
769
980
  #
981
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigInput AWS API Documentation
982
+ #
770
983
  class DeleteDeploymentConfigInput < Struct.new(
771
984
  :deployment_config_name)
772
985
  include Aws::Structure
@@ -792,6 +1005,8 @@ module Aws::CodeDeploy
792
1005
  # application.
793
1006
  # @return [String]
794
1007
  #
1008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupInput AWS API Documentation
1009
+ #
795
1010
  class DeleteDeploymentGroupInput < Struct.new(
796
1011
  :application_name,
797
1012
  :deployment_group_name)
@@ -810,6 +1025,8 @@ module Aws::CodeDeploy
810
1025
  # Auto Scaling group.
811
1026
  # @return [Array<Types::AutoScalingGroup>]
812
1027
  #
1028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupOutput AWS API Documentation
1029
+ #
813
1030
  class DeleteDeploymentGroupOutput < Struct.new(
814
1031
  :hooks_not_cleaned_up)
815
1032
  include Aws::Structure
@@ -834,6 +1051,8 @@ module Aws::CodeDeploy
834
1051
  # The time at which the deployment configuration was created.
835
1052
  # @return [Time]
836
1053
  #
1054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigInfo AWS API Documentation
1055
+ #
837
1056
  class DeploymentConfigInfo < Struct.new(
838
1057
  :deployment_config_id,
839
1058
  :deployment_config_name,
@@ -894,6 +1113,24 @@ module Aws::CodeDeploy
894
1113
  # with the deployment group.
895
1114
  # @return [Types::AutoRollbackConfiguration]
896
1115
  #
1116
+ # @!attribute [rw] deployment_style
1117
+ # Information about the type of deployment, either standard or
1118
+ # blue/green, you want to run and whether to route deployment traffic
1119
+ # behind a load balancer.
1120
+ # @return [Types::DeploymentStyle]
1121
+ #
1122
+ # @!attribute [rw] blue_green_deployment_configuration
1123
+ # Information about blue/green deployment options for a deployment
1124
+ # group.
1125
+ # @return [Types::BlueGreenDeploymentConfiguration]
1126
+ #
1127
+ # @!attribute [rw] load_balancer_info
1128
+ # Information about the load balancer to use in a blue/green
1129
+ # deployment.
1130
+ # @return [Types::LoadBalancerInfo]
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupInfo AWS API Documentation
1133
+ #
897
1134
  class DeploymentGroupInfo < Struct.new(
898
1135
  :application_name,
899
1136
  :deployment_group_id,
@@ -906,7 +1143,10 @@ module Aws::CodeDeploy
906
1143
  :target_revision,
907
1144
  :trigger_configurations,
908
1145
  :alarm_configuration,
909
- :auto_rollback_configuration)
1146
+ :auto_rollback_configuration,
1147
+ :deployment_style,
1148
+ :blue_green_deployment_configuration,
1149
+ :load_balancer_info)
910
1150
  include Aws::Structure
911
1151
  end
912
1152
 
@@ -1005,6 +1245,41 @@ module Aws::CodeDeploy
1005
1245
  # Information about a deployment rollback.
1006
1246
  # @return [Types::RollbackInfo]
1007
1247
  #
1248
+ # @!attribute [rw] deployment_style
1249
+ # Information about the type of deployment, either standard or
1250
+ # blue/green, you want to run and whether to route deployment traffic
1251
+ # behind a load balancer.
1252
+ # @return [Types::DeploymentStyle]
1253
+ #
1254
+ # @!attribute [rw] target_instances
1255
+ # Information about the instances that belong to the replacement
1256
+ # environment in a blue/green deployment.
1257
+ # @return [Types::TargetInstances]
1258
+ #
1259
+ # @!attribute [rw] instance_termination_wait_time_started
1260
+ # Indicates whether the wait period set for the termination of
1261
+ # instances in the original environment has started. Status is
1262
+ # 'false' if the KEEP\_ALIVE option is specified; otherwise,
1263
+ # 'true' as soon as the termination wait period starts.
1264
+ # @return [Boolean]
1265
+ #
1266
+ # @!attribute [rw] blue_green_deployment_configuration
1267
+ # Information about blue/green deployment options for this deployment.
1268
+ # @return [Types::BlueGreenDeploymentConfiguration]
1269
+ #
1270
+ # @!attribute [rw] load_balancer_info
1271
+ # Information about the load balancer used in this blue/green
1272
+ # deployment.
1273
+ # @return [Types::LoadBalancerInfo]
1274
+ #
1275
+ # @!attribute [rw] additional_deployment_status_info
1276
+ # Provides information about the results of a deployment, such as
1277
+ # whether instances in the original environment in a blue/green
1278
+ # deployment were not terminated.
1279
+ # @return [String]
1280
+ #
1281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo AWS API Documentation
1282
+ #
1008
1283
  class DeploymentInfo < Struct.new(
1009
1284
  :application_name,
1010
1285
  :deployment_group_name,
@@ -1022,7 +1297,13 @@ module Aws::CodeDeploy
1022
1297
  :ignore_application_stop_failures,
1023
1298
  :auto_rollback_configuration,
1024
1299
  :update_outdated_instances_only,
1025
- :rollback_info)
1300
+ :rollback_info,
1301
+ :deployment_style,
1302
+ :target_instances,
1303
+ :instance_termination_wait_time_started,
1304
+ :blue_green_deployment_configuration,
1305
+ :load_balancer_info,
1306
+ :additional_deployment_status_info)
1026
1307
  include Aws::Structure
1027
1308
  end
1028
1309
 
@@ -1050,12 +1331,89 @@ module Aws::CodeDeploy
1050
1331
  # The number of instances in the deployment in a skipped state.
1051
1332
  # @return [Integer]
1052
1333
  #
1334
+ # @!attribute [rw] ready
1335
+ # The number of instances in a replacement environment ready to
1336
+ # receive traffic in a blue/green deployment.
1337
+ # @return [Integer]
1338
+ #
1339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentOverview AWS API Documentation
1340
+ #
1053
1341
  class DeploymentOverview < Struct.new(
1054
1342
  :pending,
1055
1343
  :in_progress,
1056
1344
  :succeeded,
1057
1345
  :failed,
1058
- :skipped)
1346
+ :skipped,
1347
+ :ready)
1348
+ include Aws::Structure
1349
+ end
1350
+
1351
+ # Information about how traffic is rerouted to instances in a
1352
+ # replacement environment in a blue/green deployment.
1353
+ #
1354
+ # @note When making an API call, you may pass DeploymentReadyOption
1355
+ # data as a hash:
1356
+ #
1357
+ # {
1358
+ # action_on_timeout: "CONTINUE_DEPLOYMENT", # accepts CONTINUE_DEPLOYMENT, STOP_DEPLOYMENT
1359
+ # wait_time_in_minutes: 1,
1360
+ # }
1361
+ #
1362
+ # @!attribute [rw] action_on_timeout
1363
+ # Information about when to reroute traffic from an original
1364
+ # environment to a replacement environment in a blue/green deployment.
1365
+ #
1366
+ # * CONTINUE\_DEPLOYMENT: Register new instances with the load
1367
+ # balancer immediately after the new application revision is
1368
+ # installed on the instances in the replacement environment.
1369
+ #
1370
+ # * STOP\_DEPLOYMENT: Do not register new instances with load balancer
1371
+ # unless traffic is rerouted manually. If traffic is not rerouted
1372
+ # manually before the end of the specified wait period, the
1373
+ # deployment status is changed to Stopped.
1374
+ # @return [String]
1375
+ #
1376
+ # @!attribute [rw] wait_time_in_minutes
1377
+ # The number of minutes to wait before the status of a blue/green
1378
+ # deployment changed to Stopped if rerouting is not started manually.
1379
+ # Applies only to the STOP\_DEPLOYMENT option for actionOnTimeout
1380
+ # @return [Integer]
1381
+ #
1382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentReadyOption AWS API Documentation
1383
+ #
1384
+ class DeploymentReadyOption < Struct.new(
1385
+ :action_on_timeout,
1386
+ :wait_time_in_minutes)
1387
+ include Aws::Structure
1388
+ end
1389
+
1390
+ # Information about the type of deployment, either standard or
1391
+ # blue/green, you want to run and whether to route deployment traffic
1392
+ # behind a load balancer.
1393
+ #
1394
+ # @note When making an API call, you may pass DeploymentStyle
1395
+ # data as a hash:
1396
+ #
1397
+ # {
1398
+ # deployment_type: "IN_PLACE", # accepts IN_PLACE, BLUE_GREEN
1399
+ # deployment_option: "WITH_TRAFFIC_CONTROL", # accepts WITH_TRAFFIC_CONTROL, WITHOUT_TRAFFIC_CONTROL
1400
+ # }
1401
+ #
1402
+ # @!attribute [rw] deployment_type
1403
+ # Indicates whether to run a standard deployment or a blue/green
1404
+ # deployment.
1405
+ # @return [String]
1406
+ #
1407
+ # @!attribute [rw] deployment_option
1408
+ # Indicates whether to route deployment traffic behind a load
1409
+ # balancer.
1410
+ # @return [String]
1411
+ #
1412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentStyle AWS API Documentation
1413
+ #
1414
+ class DeploymentStyle < Struct.new(
1415
+ :deployment_type,
1416
+ :deployment_option)
1059
1417
  include Aws::Structure
1060
1418
  end
1061
1419
 
@@ -1072,6 +1430,8 @@ module Aws::CodeDeploy
1072
1430
  # The name of the on-premises instance to deregister.
1073
1431
  # @return [String]
1074
1432
  #
1433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceInput AWS API Documentation
1434
+ #
1075
1435
  class DeregisterOnPremisesInstanceInput < Struct.new(
1076
1436
  :instance_name)
1077
1437
  include Aws::Structure
@@ -1115,6 +1475,8 @@ module Aws::CodeDeploy
1115
1475
  # diagnostic log.
1116
1476
  # @return [String]
1117
1477
  #
1478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Diagnostics AWS API Documentation
1479
+ #
1118
1480
  class Diagnostics < Struct.new(
1119
1481
  :error_code,
1120
1482
  :script_name,
@@ -1152,6 +1514,8 @@ module Aws::CodeDeploy
1152
1514
  # * KEY\_AND\_VALUE: Key and value.
1153
1515
  # @return [String]
1154
1516
  #
1517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagFilter AWS API Documentation
1518
+ #
1155
1519
  class EC2TagFilter < Struct.new(
1156
1520
  :key,
1157
1521
  :value,
@@ -1159,9 +1523,35 @@ module Aws::CodeDeploy
1159
1523
  include Aws::Structure
1160
1524
  end
1161
1525
 
1526
+ # Information about a load balancer in Elastic Load Balancing to use in
1527
+ # a blue/green deployment.
1528
+ #
1529
+ # @note When making an API call, you may pass ELBInfo
1530
+ # data as a hash:
1531
+ #
1532
+ # {
1533
+ # name: "ELBName",
1534
+ # }
1535
+ #
1536
+ # @!attribute [rw] name
1537
+ # The name of the load balancer that will be used to route traffic
1538
+ # from original instances to replacement instances in a blue/green
1539
+ # deployment.
1540
+ # @return [String]
1541
+ #
1542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ELBInfo AWS API Documentation
1543
+ #
1544
+ class ELBInfo < Struct.new(
1545
+ :name)
1546
+ include Aws::Structure
1547
+ end
1548
+
1162
1549
  # Information about a deployment error.
1163
1550
  #
1164
1551
  # @!attribute [rw] code
1552
+ # For information about additional error codes, see [Error Codes for
1553
+ # AWS CodeDeploy][1] in the [AWS CodeDeploy User Guide][2].
1554
+ #
1165
1555
  # The error code:
1166
1556
  #
1167
1557
  # * APPLICATION\_MISSING: The application was missing. This error code
@@ -1202,12 +1592,19 @@ module Aws::CodeDeploy
1202
1592
  # * REVISION\_MISSING: The revision ID was missing. This error code
1203
1593
  # will most likely be raised if the revision is deleted after the
1204
1594
  # deployment is created but before it is started.
1595
+ #
1596
+ #
1597
+ #
1598
+ # [1]: http://docs.aws.amazon.com/codedeploy/latest/userguide/error-codes.html
1599
+ # [2]: http://docs.aws.amazon.com/codedeploy/latest/userguide
1205
1600
  # @return [String]
1206
1601
  #
1207
1602
  # @!attribute [rw] message
1208
1603
  # An accompanying error message.
1209
1604
  # @return [String]
1210
1605
  #
1606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ErrorInformation AWS API Documentation
1607
+ #
1211
1608
  class ErrorInformation < Struct.new(
1212
1609
  :code,
1213
1610
  :message)
@@ -1236,6 +1633,8 @@ module Aws::CodeDeploy
1236
1633
  # When the revision was registered with AWS CodeDeploy.
1237
1634
  # @return [Time]
1238
1635
  #
1636
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GenericRevisionInfo AWS API Documentation
1637
+ #
1239
1638
  class GenericRevisionInfo < Struct.new(
1240
1639
  :description,
1241
1640
  :deployment_groups,
@@ -1259,6 +1658,8 @@ module Aws::CodeDeploy
1259
1658
  # applicable IAM user or AWS account.
1260
1659
  # @return [String]
1261
1660
  #
1661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationInput AWS API Documentation
1662
+ #
1262
1663
  class GetApplicationInput < Struct.new(
1263
1664
  :application_name)
1264
1665
  include Aws::Structure
@@ -1270,6 +1671,8 @@ module Aws::CodeDeploy
1270
1671
  # Information about the application.
1271
1672
  # @return [Types::ApplicationInfo]
1272
1673
  #
1674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationOutput AWS API Documentation
1675
+ #
1273
1676
  class GetApplicationOutput < Struct.new(
1274
1677
  :application)
1275
1678
  include Aws::Structure
@@ -1307,6 +1710,8 @@ module Aws::CodeDeploy
1307
1710
  # and location.
1308
1711
  # @return [Types::RevisionLocation]
1309
1712
  #
1713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionInput AWS API Documentation
1714
+ #
1310
1715
  class GetApplicationRevisionInput < Struct.new(
1311
1716
  :application_name,
1312
1717
  :revision)
@@ -1328,6 +1733,8 @@ module Aws::CodeDeploy
1328
1733
  # General information about the revision.
1329
1734
  # @return [Types::GenericRevisionInfo]
1330
1735
  #
1736
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionOutput AWS API Documentation
1737
+ #
1331
1738
  class GetApplicationRevisionOutput < Struct.new(
1332
1739
  :application_name,
1333
1740
  :revision,
@@ -1349,6 +1756,8 @@ module Aws::CodeDeploy
1349
1756
  # applicable IAM user or AWS account.
1350
1757
  # @return [String]
1351
1758
  #
1759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigInput AWS API Documentation
1760
+ #
1352
1761
  class GetDeploymentConfigInput < Struct.new(
1353
1762
  :deployment_config_name)
1354
1763
  include Aws::Structure
@@ -1360,6 +1769,8 @@ module Aws::CodeDeploy
1360
1769
  # Information about the deployment configuration.
1361
1770
  # @return [Types::DeploymentConfigInfo]
1362
1771
  #
1772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigOutput AWS API Documentation
1773
+ #
1363
1774
  class GetDeploymentConfigOutput < Struct.new(
1364
1775
  :deployment_config_info)
1365
1776
  include Aws::Structure
@@ -1385,6 +1796,8 @@ module Aws::CodeDeploy
1385
1796
  # application.
1386
1797
  # @return [String]
1387
1798
  #
1799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupInput AWS API Documentation
1800
+ #
1388
1801
  class GetDeploymentGroupInput < Struct.new(
1389
1802
  :application_name,
1390
1803
  :deployment_group_name)
@@ -1397,6 +1810,8 @@ module Aws::CodeDeploy
1397
1810
  # Information about the deployment group.
1398
1811
  # @return [Types::DeploymentGroupInfo]
1399
1812
  #
1813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupOutput AWS API Documentation
1814
+ #
1400
1815
  class GetDeploymentGroupOutput < Struct.new(
1401
1816
  :deployment_group_info)
1402
1817
  include Aws::Structure
@@ -1416,6 +1831,8 @@ module Aws::CodeDeploy
1416
1831
  # account.
1417
1832
  # @return [String]
1418
1833
  #
1834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInput AWS API Documentation
1835
+ #
1419
1836
  class GetDeploymentInput < Struct.new(
1420
1837
  :deployment_id)
1421
1838
  include Aws::Structure
@@ -1439,6 +1856,8 @@ module Aws::CodeDeploy
1439
1856
  # The unique ID of an instance in the deployment group.
1440
1857
  # @return [String]
1441
1858
  #
1859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceInput AWS API Documentation
1860
+ #
1442
1861
  class GetDeploymentInstanceInput < Struct.new(
1443
1862
  :deployment_id,
1444
1863
  :instance_id)
@@ -1451,6 +1870,8 @@ module Aws::CodeDeploy
1451
1870
  # Information about the instance.
1452
1871
  # @return [Types::InstanceSummary]
1453
1872
  #
1873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceOutput AWS API Documentation
1874
+ #
1454
1875
  class GetDeploymentInstanceOutput < Struct.new(
1455
1876
  :instance_summary)
1456
1877
  include Aws::Structure
@@ -1462,6 +1883,8 @@ module Aws::CodeDeploy
1462
1883
  # Information about the deployment.
1463
1884
  # @return [Types::DeploymentInfo]
1464
1885
  #
1886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentOutput AWS API Documentation
1887
+ #
1465
1888
  class GetDeploymentOutput < Struct.new(
1466
1889
  :deployment_info)
1467
1890
  include Aws::Structure
@@ -1480,6 +1903,8 @@ module Aws::CodeDeploy
1480
1903
  # The name of the on-premises instance about which to get information.
1481
1904
  # @return [String]
1482
1905
  #
1906
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceInput AWS API Documentation
1907
+ #
1483
1908
  class GetOnPremisesInstanceInput < Struct.new(
1484
1909
  :instance_name)
1485
1910
  include Aws::Structure
@@ -1491,6 +1916,8 @@ module Aws::CodeDeploy
1491
1916
  # Information about the on-premises instance.
1492
1917
  # @return [Types::InstanceInfo]
1493
1918
  #
1919
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceOutput AWS API Documentation
1920
+ #
1494
1921
  class GetOnPremisesInstanceOutput < Struct.new(
1495
1922
  :instance_info)
1496
1923
  include Aws::Structure
@@ -1520,12 +1947,42 @@ module Aws::CodeDeploy
1520
1947
  # artifacts for the application revision.
1521
1948
  # @return [String]
1522
1949
  #
1950
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GitHubLocation AWS API Documentation
1951
+ #
1523
1952
  class GitHubLocation < Struct.new(
1524
1953
  :repository,
1525
1954
  :commit_id)
1526
1955
  include Aws::Structure
1527
1956
  end
1528
1957
 
1958
+ # Information about the instances that belong to the replacement
1959
+ # environment in a blue/green deployment.
1960
+ #
1961
+ # @note When making an API call, you may pass GreenFleetProvisioningOption
1962
+ # data as a hash:
1963
+ #
1964
+ # {
1965
+ # action: "DISCOVER_EXISTING", # accepts DISCOVER_EXISTING, COPY_AUTO_SCALING_GROUP
1966
+ # }
1967
+ #
1968
+ # @!attribute [rw] action
1969
+ # The method used to add instances to a replacement environment.
1970
+ #
1971
+ # * DISCOVER\_EXISTING: Use instances that already exist or will be
1972
+ # created manually.
1973
+ #
1974
+ # * COPY\_AUTO\_SCALING\_GROUP: Use settings from a specified Auto
1975
+ # Scaling group to define and create instances in a new Auto Scaling
1976
+ # group.
1977
+ # @return [String]
1978
+ #
1979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GreenFleetProvisioningOption AWS API Documentation
1980
+ #
1981
+ class GreenFleetProvisioningOption < Struct.new(
1982
+ :action)
1983
+ include Aws::Structure
1984
+ end
1985
+
1529
1986
  # Information about an on-premises instance.
1530
1987
  #
1531
1988
  # @!attribute [rw] instance_name
@@ -1557,6 +2014,8 @@ module Aws::CodeDeploy
1557
2014
  # The tags currently associated with the on-premises instance.
1558
2015
  # @return [Array<Types::Tag>]
1559
2016
  #
2017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceInfo AWS API Documentation
2018
+ #
1560
2019
  class InstanceInfo < Struct.new(
1561
2020
  :instance_name,
1562
2021
  :iam_session_arn,
@@ -1603,12 +2062,24 @@ module Aws::CodeDeploy
1603
2062
  # A list of lifecycle events for this instance.
1604
2063
  # @return [Array<Types::LifecycleEvent>]
1605
2064
  #
2065
+ # @!attribute [rw] instance_type
2066
+ # Information about which environment an instance belongs to in a
2067
+ # blue/green deployment.
2068
+ #
2069
+ # * BLUE: The instance is part of the original environment.
2070
+ #
2071
+ # * GREEN: The instance is part of the replacement environment.
2072
+ # @return [String]
2073
+ #
2074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceSummary AWS API Documentation
2075
+ #
1606
2076
  class InstanceSummary < Struct.new(
1607
2077
  :deployment_id,
1608
2078
  :instance_id,
1609
2079
  :status,
1610
2080
  :last_updated_at,
1611
- :lifecycle_events)
2081
+ :lifecycle_events,
2082
+ :instance_type)
1612
2083
  include Aws::Structure
1613
2084
  end
1614
2085
 
@@ -1647,6 +2118,8 @@ module Aws::CodeDeploy
1647
2118
  # * Unknown: The deployment lifecycle event is unknown.
1648
2119
  # @return [String]
1649
2120
  #
2121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LifecycleEvent AWS API Documentation
2122
+ #
1650
2123
  class LifecycleEvent < Struct.new(
1651
2124
  :lifecycle_event_name,
1652
2125
  :diagnostics,
@@ -1734,6 +2207,8 @@ module Aws::CodeDeploy
1734
2207
  # list.
1735
2208
  # @return [String]
1736
2209
  #
2210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsInput AWS API Documentation
2211
+ #
1737
2212
  class ListApplicationRevisionsInput < Struct.new(
1738
2213
  :application_name,
1739
2214
  :sort_by,
@@ -1758,6 +2233,8 @@ module Aws::CodeDeploy
1758
2233
  # the list.
1759
2234
  # @return [String]
1760
2235
  #
2236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsOutput AWS API Documentation
2237
+ #
1761
2238
  class ListApplicationRevisionsOutput < Struct.new(
1762
2239
  :revisions,
1763
2240
  :next_token)
@@ -1778,6 +2255,8 @@ module Aws::CodeDeploy
1778
2255
  # can be used to return the next set of applications in the list.
1779
2256
  # @return [String]
1780
2257
  #
2258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsInput AWS API Documentation
2259
+ #
1781
2260
  class ListApplicationsInput < Struct.new(
1782
2261
  :next_token)
1783
2262
  include Aws::Structure
@@ -1796,6 +2275,8 @@ module Aws::CodeDeploy
1796
2275
  # list.
1797
2276
  # @return [String]
1798
2277
  #
2278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsOutput AWS API Documentation
2279
+ #
1799
2280
  class ListApplicationsOutput < Struct.new(
1800
2281
  :applications,
1801
2282
  :next_token)
@@ -1817,6 +2298,8 @@ module Aws::CodeDeploy
1817
2298
  # deployment configurations in the list.
1818
2299
  # @return [String]
1819
2300
  #
2301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsInput AWS API Documentation
2302
+ #
1820
2303
  class ListDeploymentConfigsInput < Struct.new(
1821
2304
  :next_token)
1822
2305
  include Aws::Structure
@@ -1836,6 +2319,8 @@ module Aws::CodeDeploy
1836
2319
  # configurations in the list.
1837
2320
  # @return [String]
1838
2321
  #
2322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsOutput AWS API Documentation
2323
+ #
1839
2324
  class ListDeploymentConfigsOutput < Struct.new(
1840
2325
  :deployment_configs_list,
1841
2326
  :next_token)
@@ -1863,6 +2348,8 @@ module Aws::CodeDeploy
1863
2348
  # the list.
1864
2349
  # @return [String]
1865
2350
  #
2351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsInput AWS API Documentation
2352
+ #
1866
2353
  class ListDeploymentGroupsInput < Struct.new(
1867
2354
  :application_name,
1868
2355
  :next_token)
@@ -1885,6 +2372,8 @@ module Aws::CodeDeploy
1885
2372
  # to return the next set of deployment groups in the list.
1886
2373
  # @return [String]
1887
2374
  #
2375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsOutput AWS API Documentation
2376
+ #
1888
2377
  class ListDeploymentGroupsOutput < Struct.new(
1889
2378
  :application_name,
1890
2379
  :deployment_groups,
@@ -1900,7 +2389,8 @@ module Aws::CodeDeploy
1900
2389
  # {
1901
2390
  # deployment_id: "DeploymentId", # required
1902
2391
  # next_token: "NextToken",
1903
- # instance_status_filter: ["Pending"], # accepts Pending, InProgress, Succeeded, Failed, Skipped, Unknown
2392
+ # instance_status_filter: ["Pending"], # accepts Pending, InProgress, Succeeded, Failed, Skipped, Unknown, Ready
2393
+ # instance_type_filter: ["Blue"], # accepts Blue, Green
1904
2394
  # }
1905
2395
  #
1906
2396
  # @!attribute [rw] deployment_id
@@ -1931,10 +2421,20 @@ module Aws::CodeDeploy
1931
2421
  # state.
1932
2422
  # @return [Array<String>]
1933
2423
  #
2424
+ # @!attribute [rw] instance_type_filter
2425
+ # The set of instances in a blue/green deployment, either those in the
2426
+ # original environment ("BLUE") or those in the replacement
2427
+ # environment ("GREEN"), for which you want to view instance
2428
+ # information.
2429
+ # @return [Array<String>]
2430
+ #
2431
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesInput AWS API Documentation
2432
+ #
1934
2433
  class ListDeploymentInstancesInput < Struct.new(
1935
2434
  :deployment_id,
1936
2435
  :next_token,
1937
- :instance_status_filter)
2436
+ :instance_status_filter,
2437
+ :instance_type_filter)
1938
2438
  include Aws::Structure
1939
2439
  end
1940
2440
 
@@ -1950,6 +2450,8 @@ module Aws::CodeDeploy
1950
2450
  # call to return the next set of deployment instances in the list.
1951
2451
  # @return [String]
1952
2452
  #
2453
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesOutput AWS API Documentation
2454
+ #
1953
2455
  class ListDeploymentInstancesOutput < Struct.new(
1954
2456
  :instances_list,
1955
2457
  :next_token)
@@ -1964,7 +2466,7 @@ module Aws::CodeDeploy
1964
2466
  # {
1965
2467
  # application_name: "ApplicationName",
1966
2468
  # deployment_group_name: "DeploymentGroupName",
1967
- # include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Succeeded, Failed, Stopped
2469
+ # include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Succeeded, Failed, Stopped, Ready
1968
2470
  # create_time_range: {
1969
2471
  # start: Time.now,
1970
2472
  # end: Time.now,
@@ -2009,6 +2511,8 @@ module Aws::CodeDeploy
2009
2511
  # can be used to return the next set of deployments in the list.
2010
2512
  # @return [String]
2011
2513
  #
2514
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsInput AWS API Documentation
2515
+ #
2012
2516
  class ListDeploymentsInput < Struct.new(
2013
2517
  :application_name,
2014
2518
  :deployment_group_name,
@@ -2030,6 +2534,8 @@ module Aws::CodeDeploy
2030
2534
  # return the next set of deployments in the list.
2031
2535
  # @return [String]
2032
2536
  #
2537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsOutput AWS API Documentation
2538
+ #
2033
2539
  class ListDeploymentsOutput < Struct.new(
2034
2540
  :deployments,
2035
2541
  :next_token)
@@ -2074,6 +2580,8 @@ module Aws::CodeDeploy
2074
2580
  # in the list.
2075
2581
  # @return [String]
2076
2582
  #
2583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesInput AWS API Documentation
2584
+ #
2077
2585
  class ListOnPremisesInstancesInput < Struct.new(
2078
2586
  :registration_status,
2079
2587
  :tag_filters,
@@ -2093,12 +2601,39 @@ module Aws::CodeDeploy
2093
2601
  # call to return the next set of on-premises instances in the list.
2094
2602
  # @return [String]
2095
2603
  #
2604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesOutput AWS API Documentation
2605
+ #
2096
2606
  class ListOnPremisesInstancesOutput < Struct.new(
2097
2607
  :instance_names,
2098
2608
  :next_token)
2099
2609
  include Aws::Structure
2100
2610
  end
2101
2611
 
2612
+ # Information about the load balancer used in a blue/green deployment.
2613
+ #
2614
+ # @note When making an API call, you may pass LoadBalancerInfo
2615
+ # data as a hash:
2616
+ #
2617
+ # {
2618
+ # elb_info_list: [
2619
+ # {
2620
+ # name: "ELBName",
2621
+ # },
2622
+ # ],
2623
+ # }
2624
+ #
2625
+ # @!attribute [rw] elb_info_list
2626
+ # An array containing information about the load balancer in Elastic
2627
+ # Load Balancing to use in a blue/green deployment.
2628
+ # @return [Array<Types::ELBInfo>]
2629
+ #
2630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LoadBalancerInfo AWS API Documentation
2631
+ #
2632
+ class LoadBalancerInfo < Struct.new(
2633
+ :elb_info_list)
2634
+ include Aws::Structure
2635
+ end
2636
+
2102
2637
  # Information about minimum healthy instance.
2103
2638
  #
2104
2639
  # @note When making an API call, you may pass MinimumHealthyHosts
@@ -2145,6 +2680,8 @@ module Aws::CodeDeploy
2145
2680
  # </note>
2146
2681
  # @return [String]
2147
2682
  #
2683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/MinimumHealthyHosts AWS API Documentation
2684
+ #
2148
2685
  class MinimumHealthyHosts < Struct.new(
2149
2686
  :value,
2150
2687
  :type)
@@ -2189,6 +2726,8 @@ module Aws::CodeDeploy
2189
2726
  # type and location.
2190
2727
  # @return [Types::RevisionLocation]
2191
2728
  #
2729
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionInput AWS API Documentation
2730
+ #
2192
2731
  class RegisterApplicationRevisionInput < Struct.new(
2193
2732
  :application_name,
2194
2733
  :description,
@@ -2220,6 +2759,8 @@ module Aws::CodeDeploy
2220
2759
  # The ARN of the IAM user to associate with the on-premises instance.
2221
2760
  # @return [String]
2222
2761
  #
2762
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstanceInput AWS API Documentation
2763
+ #
2223
2764
  class RegisterOnPremisesInstanceInput < Struct.new(
2224
2765
  :instance_name,
2225
2766
  :iam_session_arn,
@@ -2251,6 +2792,8 @@ module Aws::CodeDeploy
2251
2792
  # The names of the on-premises instances from which to remove tags.
2252
2793
  # @return [Array<String>]
2253
2794
  #
2795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesInput AWS API Documentation
2796
+ #
2254
2797
  class RemoveTagsFromOnPremisesInstancesInput < Struct.new(
2255
2798
  :tags,
2256
2799
  :instance_names)
@@ -2265,9 +2808,11 @@ module Aws::CodeDeploy
2265
2808
  #
2266
2809
  # @!attribute [rw] generic_revision_info
2267
2810
  # Information about an application revision, including usage details
2268
- # and currently associated deployment groups.
2811
+ # and associated deployment groups.
2269
2812
  # @return [Types::GenericRevisionInfo]
2270
2813
  #
2814
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionInfo AWS API Documentation
2815
+ #
2271
2816
  class RevisionInfo < Struct.new(
2272
2817
  :revision_location,
2273
2818
  :generic_revision_info)
@@ -2312,6 +2857,8 @@ module Aws::CodeDeploy
2312
2857
  # GitHub.
2313
2858
  # @return [Types::GitHubLocation]
2314
2859
  #
2860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionLocation AWS API Documentation
2861
+ #
2315
2862
  class RevisionLocation < Struct.new(
2316
2863
  :revision_type,
2317
2864
  :s3_location,
@@ -2336,6 +2883,8 @@ module Aws::CodeDeploy
2336
2883
  # progress, failed, or succeeded.
2337
2884
  # @return [String]
2338
2885
  #
2886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RollbackInfo AWS API Documentation
2887
+ #
2339
2888
  class RollbackInfo < Struct.new(
2340
2889
  :rollback_deployment_id,
2341
2890
  :rollback_triggering_deployment_id,
@@ -2394,6 +2943,8 @@ module Aws::CodeDeploy
2394
2943
  # of the object will be skipped.
2395
2944
  # @return [String]
2396
2945
  #
2946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/S3Location AWS API Documentation
2947
+ #
2397
2948
  class S3Location < Struct.new(
2398
2949
  :bucket,
2399
2950
  :key,
@@ -2403,6 +2954,25 @@ module Aws::CodeDeploy
2403
2954
  include Aws::Structure
2404
2955
  end
2405
2956
 
2957
+ # @note When making an API call, you may pass SkipWaitTimeForInstanceTerminationInput
2958
+ # data as a hash:
2959
+ #
2960
+ # {
2961
+ # deployment_id: "DeploymentId",
2962
+ # }
2963
+ #
2964
+ # @!attribute [rw] deployment_id
2965
+ # The ID of the blue/green deployment for which you want to skip the
2966
+ # instance termination wait time.
2967
+ # @return [String]
2968
+ #
2969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationInput AWS API Documentation
2970
+ #
2971
+ class SkipWaitTimeForInstanceTerminationInput < Struct.new(
2972
+ :deployment_id)
2973
+ include Aws::Structure
2974
+ end
2975
+
2406
2976
  # Represents the input of a stop deployment operation.
2407
2977
  #
2408
2978
  # @note When making an API call, you may pass StopDeploymentInput
@@ -2423,6 +2993,8 @@ module Aws::CodeDeploy
2423
2993
  # application revision.
2424
2994
  # @return [Boolean]
2425
2995
  #
2996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentInput AWS API Documentation
2997
+ #
2426
2998
  class StopDeploymentInput < Struct.new(
2427
2999
  :deployment_id,
2428
3000
  :auto_rollback_enabled)
@@ -2443,6 +3015,8 @@ module Aws::CodeDeploy
2443
3015
  # An accompanying status message.
2444
3016
  # @return [String]
2445
3017
  #
3018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentOutput AWS API Documentation
3019
+ #
2446
3020
  class StopDeploymentOutput < Struct.new(
2447
3021
  :status,
2448
3022
  :status_message)
@@ -2467,6 +3041,8 @@ module Aws::CodeDeploy
2467
3041
  # The tag's value.
2468
3042
  # @return [String]
2469
3043
  #
3044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Tag AWS API Documentation
3045
+ #
2470
3046
  class Tag < Struct.new(
2471
3047
  :key,
2472
3048
  :value)
@@ -2502,6 +3078,8 @@ module Aws::CodeDeploy
2502
3078
  # * KEY\_AND\_VALUE: Key and value.
2503
3079
  # @return [String]
2504
3080
  #
3081
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagFilter AWS API Documentation
3082
+ #
2505
3083
  class TagFilter < Struct.new(
2506
3084
  :key,
2507
3085
  :value,
@@ -2509,6 +3087,41 @@ module Aws::CodeDeploy
2509
3087
  include Aws::Structure
2510
3088
  end
2511
3089
 
3090
+ # Information about the instances to be used in the replacement
3091
+ # environment in a blue/green deployment.
3092
+ #
3093
+ # @note When making an API call, you may pass TargetInstances
3094
+ # data as a hash:
3095
+ #
3096
+ # {
3097
+ # tag_filters: [
3098
+ # {
3099
+ # key: "Key",
3100
+ # value: "Value",
3101
+ # type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
3102
+ # },
3103
+ # ],
3104
+ # auto_scaling_groups: ["AutoScalingGroupName"],
3105
+ # }
3106
+ #
3107
+ # @!attribute [rw] tag_filters
3108
+ # The tag filter key, type, and value used to identify Amazon EC2
3109
+ # instances in a replacement environment for a blue/green deployment.
3110
+ # @return [Array<Types::EC2TagFilter>]
3111
+ #
3112
+ # @!attribute [rw] auto_scaling_groups
3113
+ # The names of one or more Auto Scaling groups to identify a
3114
+ # replacement environment for a blue/green deployment.
3115
+ # @return [Array<String>]
3116
+ #
3117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetInstances AWS API Documentation
3118
+ #
3119
+ class TargetInstances < Struct.new(
3120
+ :tag_filters,
3121
+ :auto_scaling_groups)
3122
+ include Aws::Structure
3123
+ end
3124
+
2512
3125
  # Information about a time range.
2513
3126
  #
2514
3127
  # @note When making an API call, you may pass TimeRange
@@ -2535,6 +3148,8 @@ module Aws::CodeDeploy
2535
3148
  # </note>
2536
3149
  # @return [Time]
2537
3150
  #
3151
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TimeRange AWS API Documentation
3152
+ #
2538
3153
  class TimeRange < Struct.new(
2539
3154
  :start,
2540
3155
  :end)
@@ -2549,7 +3164,7 @@ module Aws::CodeDeploy
2549
3164
  # {
2550
3165
  # trigger_name: "TriggerName",
2551
3166
  # trigger_target_arn: "TriggerTargetArn",
2552
- # trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
3167
+ # trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, DeploymentReady, InstanceStart, InstanceSuccess, InstanceFailure, InstanceReady
2553
3168
  # }
2554
3169
  #
2555
3170
  # @!attribute [rw] trigger_name
@@ -2565,6 +3180,8 @@ module Aws::CodeDeploy
2565
3180
  # The event type or types for which notifications are triggered.
2566
3181
  # @return [Array<String>]
2567
3182
  #
3183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TriggerConfig AWS API Documentation
3184
+ #
2568
3185
  class TriggerConfig < Struct.new(
2569
3186
  :trigger_name,
2570
3187
  :trigger_target_arn,
@@ -2590,6 +3207,8 @@ module Aws::CodeDeploy
2590
3207
  # The new name to give the application.
2591
3208
  # @return [String]
2592
3209
  #
3210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationInput AWS API Documentation
3211
+ #
2593
3212
  class UpdateApplicationInput < Struct.new(
2594
3213
  :application_name,
2595
3214
  :new_application_name)
@@ -2626,7 +3245,7 @@ module Aws::CodeDeploy
2626
3245
  # {
2627
3246
  # trigger_name: "TriggerName",
2628
3247
  # trigger_target_arn: "TriggerTargetArn",
2629
- # trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
3248
+ # trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, DeploymentReady, InstanceStart, InstanceSuccess, InstanceFailure, InstanceReady
2630
3249
  # },
2631
3250
  # ],
2632
3251
  # alarm_configuration: {
@@ -2642,6 +3261,30 @@ module Aws::CodeDeploy
2642
3261
  # enabled: false,
2643
3262
  # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
2644
3263
  # },
3264
+ # deployment_style: {
3265
+ # deployment_type: "IN_PLACE", # accepts IN_PLACE, BLUE_GREEN
3266
+ # deployment_option: "WITH_TRAFFIC_CONTROL", # accepts WITH_TRAFFIC_CONTROL, WITHOUT_TRAFFIC_CONTROL
3267
+ # },
3268
+ # blue_green_deployment_configuration: {
3269
+ # terminate_blue_instances_on_deployment_success: {
3270
+ # action: "TERMINATE", # accepts TERMINATE, KEEP_ALIVE
3271
+ # termination_wait_time_in_minutes: 1,
3272
+ # },
3273
+ # deployment_ready_option: {
3274
+ # action_on_timeout: "CONTINUE_DEPLOYMENT", # accepts CONTINUE_DEPLOYMENT, STOP_DEPLOYMENT
3275
+ # wait_time_in_minutes: 1,
3276
+ # },
3277
+ # green_fleet_provisioning_option: {
3278
+ # action: "DISCOVER_EXISTING", # accepts DISCOVER_EXISTING, COPY_AUTO_SCALING_GROUP
3279
+ # },
3280
+ # },
3281
+ # load_balancer_info: {
3282
+ # elb_info_list: [
3283
+ # {
3284
+ # name: "ELBName",
3285
+ # },
3286
+ # ],
3287
+ # },
2645
3288
  # }
2646
3289
  #
2647
3290
  # @!attribute [rw] application_name
@@ -2705,6 +3348,23 @@ module Aws::CodeDeploy
2705
3348
  # changed when a deployment group is updated.
2706
3349
  # @return [Types::AutoRollbackConfiguration]
2707
3350
  #
3351
+ # @!attribute [rw] deployment_style
3352
+ # Information about the type of deployment, either standard or
3353
+ # blue/green, you want to run and whether to route deployment traffic
3354
+ # behind a load balancer.
3355
+ # @return [Types::DeploymentStyle]
3356
+ #
3357
+ # @!attribute [rw] blue_green_deployment_configuration
3358
+ # Information about blue/green deployment options for a deployment
3359
+ # group.
3360
+ # @return [Types::BlueGreenDeploymentConfiguration]
3361
+ #
3362
+ # @!attribute [rw] load_balancer_info
3363
+ # Information about the load balancer used in a blue/green deployment.
3364
+ # @return [Types::LoadBalancerInfo]
3365
+ #
3366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupInput AWS API Documentation
3367
+ #
2708
3368
  class UpdateDeploymentGroupInput < Struct.new(
2709
3369
  :application_name,
2710
3370
  :current_deployment_group_name,
@@ -2716,7 +3376,10 @@ module Aws::CodeDeploy
2716
3376
  :service_role_arn,
2717
3377
  :trigger_configurations,
2718
3378
  :alarm_configuration,
2719
- :auto_rollback_configuration)
3379
+ :auto_rollback_configuration,
3380
+ :deployment_style,
3381
+ :blue_green_deployment_configuration,
3382
+ :load_balancer_info)
2720
3383
  include Aws::Structure
2721
3384
  end
2722
3385
 
@@ -2731,6 +3394,8 @@ module Aws::CodeDeploy
2731
3394
  # from the AWS account.
2732
3395
  # @return [Array<Types::AutoScalingGroup>]
2733
3396
  #
3397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupOutput AWS API Documentation
3398
+ #
2734
3399
  class UpdateDeploymentGroupOutput < Struct.new(
2735
3400
  :hooks_not_cleaned_up)
2736
3401
  include Aws::Structure