aws-sdk-codedeploy 1.39.0 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cbe38af3a6a53f2f9f275bea8db259bd3e20484d81ec06a501ebf0b934cd5bb
4
- data.tar.gz: 8bb49f9c2fcf1885868f26e54cefe821dc58318ebb0e65203bceee694dcb2801
3
+ metadata.gz: baae2ee4416435c8bb5ca301b9e8f7a104dbc41c328ca285fe204eba7173cdd1
4
+ data.tar.gz: 7cfb92eb14f999463b45ecca74d16da747fd740a2fc0389afbf310f09ff7e19c
5
5
  SHA512:
6
- metadata.gz: 61b597c51a5e6e2cff6035ca90f3d30ca4a3c2b0f44688d676f792ef4cfeabe6390a373b45c85ddc27f5eca6d1b32eee0d50f36f08823e656941b55513154176
7
- data.tar.gz: e9c5ec522c034655b137ee1bbf07501e7a808ed5ab05ab9c99c97fba5c6105d8ad25fe58dc2cb2bbac6d41c3ef3b912cc9021a51fbff5f23306e7bb59f6ab94d
6
+ metadata.gz: 33662be07ff348b1c6957acbb3b6ffd9e5d18f4750478d4b8d5f7c7f4a9050dae84954fd2b873bd7ad8855fbf65944d67c78a2117b0ec602242af7f4f0eef97b
7
+ data.tar.gz: 2478d6aab0e83013f3d53f35dec545db11fbd00ee699e5f34bb8e0b6c1534724dfe3838b17eeb0626c84bc6eb8a0dc07a93e42de9e70429a304f366b635e7810
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.40.0 (2021-03-15)
5
+ ------------------
6
+
7
+ * Feature - AWS CodeDeploy can now detect instances running an outdated revision of your application and automatically update them with the latest revision.
8
+
4
9
  1.39.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.40.0
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-codedeploy/customizations'
49
49
  # @!group service
50
50
  module Aws::CodeDeploy
51
51
 
52
- GEM_VERSION = '1.39.0'
52
+ GEM_VERSION = '1.40.0'
53
53
 
54
54
  end
@@ -554,6 +554,7 @@ module Aws::CodeDeploy
554
554
  # resp.deployment_groups_info[0].auto_rollback_configuration.events[0] #=> String, one of "DEPLOYMENT_FAILURE", "DEPLOYMENT_STOP_ON_ALARM", "DEPLOYMENT_STOP_ON_REQUEST"
555
555
  # resp.deployment_groups_info[0].deployment_style.deployment_type #=> String, one of "IN_PLACE", "BLUE_GREEN"
556
556
  # resp.deployment_groups_info[0].deployment_style.deployment_option #=> String, one of "WITH_TRAFFIC_CONTROL", "WITHOUT_TRAFFIC_CONTROL"
557
+ # resp.deployment_groups_info[0].outdated_instances_strategy #=> String, one of "UPDATE", "IGNORE"
557
558
  # resp.deployment_groups_info[0].blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.action #=> String, one of "TERMINATE", "KEEP_ALIVE"
558
559
  # resp.deployment_groups_info[0].blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.termination_wait_time_in_minutes #=> Integer
559
560
  # resp.deployment_groups_info[0].blue_green_deployment_configuration.deployment_ready_option.action_on_timeout #=> String, one of "CONTINUE_DEPLOYMENT", "STOP_DEPLOYMENT"
@@ -861,7 +862,7 @@ module Aws::CodeDeploy
861
862
  # resp.deployments_info[0].deployment_overview.skipped #=> Integer
862
863
  # resp.deployments_info[0].deployment_overview.ready #=> Integer
863
864
  # resp.deployments_info[0].description #=> String
864
- # resp.deployments_info[0].creator #=> String, one of "user", "autoscaling", "codeDeployRollback", "CodeDeploy", "CloudFormation", "CloudFormationRollback"
865
+ # resp.deployments_info[0].creator #=> String, one of "user", "autoscaling", "codeDeployRollback", "CodeDeploy", "CodeDeployAutoUpdate", "CloudFormation", "CloudFormationRollback"
865
866
  # resp.deployments_info[0].ignore_application_stop_failures #=> Boolean
866
867
  # resp.deployments_info[0].auto_rollback_configuration.enabled #=> Boolean
867
868
  # resp.deployments_info[0].auto_rollback_configuration.events #=> Array
@@ -906,6 +907,9 @@ module Aws::CodeDeploy
906
907
  # resp.deployments_info[0].deployment_status_messages[0] #=> String
907
908
  # resp.deployments_info[0].compute_platform #=> String, one of "Server", "Lambda", "ECS"
908
909
  # resp.deployments_info[0].external_id #=> String
910
+ # resp.deployments_info[0].related_deployments.auto_update_outdated_instances_root_deployment_id #=> String
911
+ # resp.deployments_info[0].related_deployments.auto_update_outdated_instances_deployment_ids #=> Array
912
+ # resp.deployments_info[0].related_deployments.auto_update_outdated_instances_deployment_ids[0] #=> String
909
913
  #
910
914
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
911
915
  #
@@ -1235,8 +1239,8 @@ module Aws::CodeDeploy
1235
1239
  # resp = client.create_deployment_config({
1236
1240
  # deployment_config_name: "DeploymentConfigName", # required
1237
1241
  # minimum_healthy_hosts: {
1238
- # value: 1,
1239
1242
  # type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
1243
+ # value: 1,
1240
1244
  # },
1241
1245
  # traffic_routing_config: {
1242
1246
  # type: "TimeBasedCanary", # accepts TimeBasedCanary, TimeBasedLinear, AllAtOnce
@@ -1327,6 +1331,18 @@ module Aws::CodeDeploy
1327
1331
  # Configuration information for an automatic rollback that is added when
1328
1332
  # a deployment group is created.
1329
1333
  #
1334
+ # @option params [String] :outdated_instances_strategy
1335
+ # Indicates what happens when new EC2 instances are launched
1336
+ # mid-deployment and do not receive the deployed application revision.
1337
+ #
1338
+ # If this option is set to `UPDATE` or is unspecified, CodeDeploy
1339
+ # initiates one or more 'auto-update outdated instances' deployments
1340
+ # to apply the deployed application revision to the new EC2 instances.
1341
+ #
1342
+ # If this option is set to `IGNORE`, CodeDeploy does not initiate a
1343
+ # deployment to update the new EC2 instances. This may result in
1344
+ # instances having different revisions.
1345
+ #
1330
1346
  # @option params [Types::DeploymentStyle] :deployment_style
1331
1347
  # Information about the type of deployment, in-place or blue/green, that
1332
1348
  # you want to run and whether to route deployment traffic behind a load
@@ -1407,6 +1423,7 @@ module Aws::CodeDeploy
1407
1423
  # enabled: false,
1408
1424
  # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
1409
1425
  # },
1426
+ # outdated_instances_strategy: "UPDATE", # accepts UPDATE, IGNORE
1410
1427
  # deployment_style: {
1411
1428
  # deployment_type: "IN_PLACE", # accepts IN_PLACE, BLUE_GREEN
1412
1429
  # deployment_option: "WITH_TRAFFIC_CONTROL", # accepts WITH_TRAFFIC_CONTROL, WITHOUT_TRAFFIC_CONTROL
@@ -1833,7 +1850,7 @@ module Aws::CodeDeploy
1833
1850
  # resp.deployment_info.deployment_overview.skipped #=> Integer
1834
1851
  # resp.deployment_info.deployment_overview.ready #=> Integer
1835
1852
  # resp.deployment_info.description #=> String
1836
- # resp.deployment_info.creator #=> String, one of "user", "autoscaling", "codeDeployRollback", "CodeDeploy", "CloudFormation", "CloudFormationRollback"
1853
+ # resp.deployment_info.creator #=> String, one of "user", "autoscaling", "codeDeployRollback", "CodeDeploy", "CodeDeployAutoUpdate", "CloudFormation", "CloudFormationRollback"
1837
1854
  # resp.deployment_info.ignore_application_stop_failures #=> Boolean
1838
1855
  # resp.deployment_info.auto_rollback_configuration.enabled #=> Boolean
1839
1856
  # resp.deployment_info.auto_rollback_configuration.events #=> Array
@@ -1878,6 +1895,9 @@ module Aws::CodeDeploy
1878
1895
  # resp.deployment_info.deployment_status_messages[0] #=> String
1879
1896
  # resp.deployment_info.compute_platform #=> String, one of "Server", "Lambda", "ECS"
1880
1897
  # resp.deployment_info.external_id #=> String
1898
+ # resp.deployment_info.related_deployments.auto_update_outdated_instances_root_deployment_id #=> String
1899
+ # resp.deployment_info.related_deployments.auto_update_outdated_instances_deployment_ids #=> Array
1900
+ # resp.deployment_info.related_deployments.auto_update_outdated_instances_deployment_ids[0] #=> String
1881
1901
  #
1882
1902
  #
1883
1903
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1913,8 +1933,8 @@ module Aws::CodeDeploy
1913
1933
  #
1914
1934
  # resp.deployment_config_info.deployment_config_id #=> String
1915
1935
  # resp.deployment_config_info.deployment_config_name #=> String
1916
- # resp.deployment_config_info.minimum_healthy_hosts.value #=> Integer
1917
1936
  # resp.deployment_config_info.minimum_healthy_hosts.type #=> String, one of "HOST_COUNT", "FLEET_PERCENT"
1937
+ # resp.deployment_config_info.minimum_healthy_hosts.value #=> Integer
1918
1938
  # resp.deployment_config_info.create_time #=> Time
1919
1939
  # resp.deployment_config_info.compute_platform #=> String, one of "Server", "Lambda", "ECS"
1920
1940
  # resp.deployment_config_info.traffic_routing_config.type #=> String, one of "TimeBasedCanary", "TimeBasedLinear", "AllAtOnce"
@@ -1996,6 +2016,7 @@ module Aws::CodeDeploy
1996
2016
  # resp.deployment_group_info.auto_rollback_configuration.events[0] #=> String, one of "DEPLOYMENT_FAILURE", "DEPLOYMENT_STOP_ON_ALARM", "DEPLOYMENT_STOP_ON_REQUEST"
1997
2017
  # resp.deployment_group_info.deployment_style.deployment_type #=> String, one of "IN_PLACE", "BLUE_GREEN"
1998
2018
  # resp.deployment_group_info.deployment_style.deployment_option #=> String, one of "WITH_TRAFFIC_CONTROL", "WITHOUT_TRAFFIC_CONTROL"
2019
+ # resp.deployment_group_info.outdated_instances_strategy #=> String, one of "UPDATE", "IGNORE"
1999
2020
  # resp.deployment_group_info.blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.action #=> String, one of "TERMINATE", "KEEP_ALIVE"
2000
2021
  # resp.deployment_group_info.blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.termination_wait_time_in_minutes #=> Integer
2001
2022
  # resp.deployment_group_info.blue_green_deployment_configuration.deployment_ready_option.action_on_timeout #=> String, one of "CONTINUE_DEPLOYMENT", "STOP_DEPLOYMENT"
@@ -2812,7 +2833,8 @@ module Aws::CodeDeploy
2812
2833
  #
2813
2834
  # @option params [String] :status
2814
2835
  # The result of a Lambda function that validates a deployment lifecycle
2815
- # event (`Succeeded` or `Failed`).
2836
+ # event. `Succeeded` and `Failed` are the only valid values for
2837
+ # `status`.
2816
2838
  #
2817
2839
  # @return [Types::PutLifecycleEventHookExecutionStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2818
2840
  #
@@ -3163,6 +3185,18 @@ module Aws::CodeDeploy
3163
3185
  # Information for an automatic rollback configuration that is added or
3164
3186
  # changed when a deployment group is updated.
3165
3187
  #
3188
+ # @option params [String] :outdated_instances_strategy
3189
+ # Indicates what happens when new EC2 instances are launched
3190
+ # mid-deployment and do not receive the deployed application revision.
3191
+ #
3192
+ # If this option is set to `UPDATE` or is unspecified, CodeDeploy
3193
+ # initiates one or more 'auto-update outdated instances' deployments
3194
+ # to apply the deployed application revision to the new EC2 instances.
3195
+ #
3196
+ # If this option is set to `IGNORE`, CodeDeploy does not initiate a
3197
+ # deployment to update the new EC2 instances. This may result in
3198
+ # instances having different revisions.
3199
+ #
3166
3200
  # @option params [Types::DeploymentStyle] :deployment_style
3167
3201
  # Information about the type of deployment, either in-place or
3168
3202
  # blue/green, you want to run and whether to route deployment traffic
@@ -3238,6 +3272,7 @@ module Aws::CodeDeploy
3238
3272
  # enabled: false,
3239
3273
  # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
3240
3274
  # },
3275
+ # outdated_instances_strategy: "UPDATE", # accepts UPDATE, IGNORE
3241
3276
  # deployment_style: {
3242
3277
  # deployment_type: "IN_PLACE", # accepts IN_PLACE, BLUE_GREEN
3243
3278
  # deployment_option: "WITH_TRAFFIC_CONTROL", # accepts WITH_TRAFFIC_CONTROL, WITHOUT_TRAFFIC_CONTROL
@@ -3340,7 +3375,7 @@ module Aws::CodeDeploy
3340
3375
  params: params,
3341
3376
  config: config)
3342
3377
  context[:gem_name] = 'aws-sdk-codedeploy'
3343
- context[:gem_version] = '1.39.0'
3378
+ context[:gem_version] = '1.40.0'
3344
3379
  Seahorse::Client::Request.new(handlers, context)
3345
3380
  end
3346
3381
 
@@ -221,7 +221,6 @@ module Aws::CodeDeploy
221
221
  InvalidBucketNameFilterException = Shapes::StructureShape.new(name: 'InvalidBucketNameFilterException')
222
222
  InvalidComputePlatformException = Shapes::StructureShape.new(name: 'InvalidComputePlatformException')
223
223
  InvalidDeployedStateFilterException = Shapes::StructureShape.new(name: 'InvalidDeployedStateFilterException')
224
- InvalidDeploymentConfigIdException = Shapes::StructureShape.new(name: 'InvalidDeploymentConfigIdException')
225
224
  InvalidDeploymentConfigNameException = Shapes::StructureShape.new(name: 'InvalidDeploymentConfigNameException')
226
225
  InvalidDeploymentGroupNameException = Shapes::StructureShape.new(name: 'InvalidDeploymentGroupNameException')
227
226
  InvalidDeploymentIdException = Shapes::StructureShape.new(name: 'InvalidDeploymentIdException')
@@ -319,6 +318,7 @@ module Aws::CodeDeploy
319
318
  OnPremisesTagSet = Shapes::StructureShape.new(name: 'OnPremisesTagSet')
320
319
  OnPremisesTagSetList = Shapes::ListShape.new(name: 'OnPremisesTagSetList')
321
320
  OperationNotSupportedException = Shapes::StructureShape.new(name: 'OperationNotSupportedException')
321
+ OutdatedInstancesStrategy = Shapes::StringShape.new(name: 'OutdatedInstancesStrategy')
322
322
  Percentage = Shapes::IntegerShape.new(name: 'Percentage')
323
323
  PutLifecycleEventHookExecutionStatusInput = Shapes::StructureShape.new(name: 'PutLifecycleEventHookExecutionStatusInput')
324
324
  PutLifecycleEventHookExecutionStatusOutput = Shapes::StructureShape.new(name: 'PutLifecycleEventHookExecutionStatusOutput')
@@ -328,6 +328,7 @@ module Aws::CodeDeploy
328
328
  RegisterApplicationRevisionInput = Shapes::StructureShape.new(name: 'RegisterApplicationRevisionInput')
329
329
  RegisterOnPremisesInstanceInput = Shapes::StructureShape.new(name: 'RegisterOnPremisesInstanceInput')
330
330
  RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus')
331
+ RelatedDeployments = Shapes::StructureShape.new(name: 'RelatedDeployments')
331
332
  RemoveTagsFromOnPremisesInstancesInput = Shapes::StructureShape.new(name: 'RemoveTagsFromOnPremisesInstancesInput')
332
333
  Repository = Shapes::StringShape.new(name: 'Repository')
333
334
  ResourceArnRequiredException = Shapes::StructureShape.new(name: 'ResourceArnRequiredException')
@@ -562,6 +563,7 @@ module Aws::CodeDeploy
562
563
  CreateDeploymentGroupInput.add_member(:trigger_configurations, Shapes::ShapeRef.new(shape: TriggerConfigList, location_name: "triggerConfigurations"))
563
564
  CreateDeploymentGroupInput.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "alarmConfiguration"))
564
565
  CreateDeploymentGroupInput.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
566
+ CreateDeploymentGroupInput.add_member(:outdated_instances_strategy, Shapes::ShapeRef.new(shape: OutdatedInstancesStrategy, location_name: "outdatedInstancesStrategy"))
565
567
  CreateDeploymentGroupInput.add_member(:deployment_style, Shapes::ShapeRef.new(shape: DeploymentStyle, location_name: "deploymentStyle"))
566
568
  CreateDeploymentGroupInput.add_member(:blue_green_deployment_configuration, Shapes::ShapeRef.new(shape: BlueGreenDeploymentConfiguration, location_name: "blueGreenDeploymentConfiguration"))
567
569
  CreateDeploymentGroupInput.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
@@ -656,6 +658,7 @@ module Aws::CodeDeploy
656
658
  DeploymentGroupInfo.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "alarmConfiguration"))
657
659
  DeploymentGroupInfo.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
658
660
  DeploymentGroupInfo.add_member(:deployment_style, Shapes::ShapeRef.new(shape: DeploymentStyle, location_name: "deploymentStyle"))
661
+ DeploymentGroupInfo.add_member(:outdated_instances_strategy, Shapes::ShapeRef.new(shape: OutdatedInstancesStrategy, location_name: "outdatedInstancesStrategy"))
659
662
  DeploymentGroupInfo.add_member(:blue_green_deployment_configuration, Shapes::ShapeRef.new(shape: BlueGreenDeploymentConfiguration, location_name: "blueGreenDeploymentConfiguration"))
660
663
  DeploymentGroupInfo.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
661
664
  DeploymentGroupInfo.add_member(:last_successful_deployment, Shapes::ShapeRef.new(shape: LastDeploymentInfo, location_name: "lastSuccessfulDeployment"))
@@ -704,6 +707,7 @@ module Aws::CodeDeploy
704
707
  DeploymentInfo.add_member(:deployment_status_messages, Shapes::ShapeRef.new(shape: DeploymentStatusMessageList, location_name: "deploymentStatusMessages"))
705
708
  DeploymentInfo.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
706
709
  DeploymentInfo.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
710
+ DeploymentInfo.add_member(:related_deployments, Shapes::ShapeRef.new(shape: RelatedDeployments, location_name: "relatedDeployments"))
707
711
  DeploymentInfo.struct_class = Types::DeploymentInfo
708
712
 
709
713
  DeploymentIsNotInReadyStateException.struct_class = Types::DeploymentIsNotInReadyStateException
@@ -964,8 +968,6 @@ module Aws::CodeDeploy
964
968
 
965
969
  InvalidDeployedStateFilterException.struct_class = Types::InvalidDeployedStateFilterException
966
970
 
967
- InvalidDeploymentConfigIdException.struct_class = Types::InvalidDeploymentConfigIdException
968
-
969
971
  InvalidDeploymentConfigNameException.struct_class = Types::InvalidDeploymentConfigNameException
970
972
 
971
973
  InvalidDeploymentGroupNameException.struct_class = Types::InvalidDeploymentGroupNameException
@@ -1193,8 +1195,8 @@ module Aws::CodeDeploy
1193
1195
  LoadBalancerInfo.add_member(:target_group_pair_info_list, Shapes::ShapeRef.new(shape: TargetGroupPairInfoList, location_name: "targetGroupPairInfoList"))
1194
1196
  LoadBalancerInfo.struct_class = Types::LoadBalancerInfo
1195
1197
 
1196
- MinimumHealthyHosts.add_member(:value, Shapes::ShapeRef.new(shape: MinimumHealthyHostsValue, location_name: "value"))
1197
1198
  MinimumHealthyHosts.add_member(:type, Shapes::ShapeRef.new(shape: MinimumHealthyHostsType, location_name: "type"))
1199
+ MinimumHealthyHosts.add_member(:value, Shapes::ShapeRef.new(shape: MinimumHealthyHostsValue, location_name: "value"))
1198
1200
  MinimumHealthyHosts.struct_class = Types::MinimumHealthyHosts
1199
1201
 
1200
1202
  MultipleIamArnsProvidedException.struct_class = Types::MultipleIamArnsProvidedException
@@ -1228,6 +1230,10 @@ module Aws::CodeDeploy
1228
1230
  RegisterOnPremisesInstanceInput.add_member(:iam_user_arn, Shapes::ShapeRef.new(shape: IamUserArn, location_name: "iamUserArn"))
1229
1231
  RegisterOnPremisesInstanceInput.struct_class = Types::RegisterOnPremisesInstanceInput
1230
1232
 
1233
+ RelatedDeployments.add_member(:auto_update_outdated_instances_root_deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "autoUpdateOutdatedInstancesRootDeploymentId"))
1234
+ RelatedDeployments.add_member(:auto_update_outdated_instances_deployment_ids, Shapes::ShapeRef.new(shape: DeploymentsList, location_name: "autoUpdateOutdatedInstancesDeploymentIds"))
1235
+ RelatedDeployments.struct_class = Types::RelatedDeployments
1236
+
1231
1237
  RemoveTagsFromOnPremisesInstancesInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
1232
1238
  RemoveTagsFromOnPremisesInstancesInput.add_member(:instance_names, Shapes::ShapeRef.new(shape: InstanceNameList, required: true, location_name: "instanceNames"))
1233
1239
  RemoveTagsFromOnPremisesInstancesInput.struct_class = Types::RemoveTagsFromOnPremisesInstancesInput
@@ -1385,6 +1391,7 @@ module Aws::CodeDeploy
1385
1391
  UpdateDeploymentGroupInput.add_member(:trigger_configurations, Shapes::ShapeRef.new(shape: TriggerConfigList, location_name: "triggerConfigurations"))
1386
1392
  UpdateDeploymentGroupInput.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "alarmConfiguration"))
1387
1393
  UpdateDeploymentGroupInput.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
1394
+ UpdateDeploymentGroupInput.add_member(:outdated_instances_strategy, Shapes::ShapeRef.new(shape: OutdatedInstancesStrategy, location_name: "outdatedInstancesStrategy"))
1388
1395
  UpdateDeploymentGroupInput.add_member(:deployment_style, Shapes::ShapeRef.new(shape: DeploymentStyle, location_name: "deploymentStyle"))
1389
1396
  UpdateDeploymentGroupInput.add_member(:blue_green_deployment_configuration, Shapes::ShapeRef.new(shape: BlueGreenDeploymentConfiguration, location_name: "blueGreenDeploymentConfiguration"))
1390
1397
  UpdateDeploymentGroupInput.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
@@ -77,7 +77,6 @@ module Aws::CodeDeploy
77
77
  # * {InvalidBucketNameFilterException}
78
78
  # * {InvalidComputePlatformException}
79
79
  # * {InvalidDeployedStateFilterException}
80
- # * {InvalidDeploymentConfigIdException}
81
80
  # * {InvalidDeploymentConfigNameException}
82
81
  # * {InvalidDeploymentGroupNameException}
83
82
  # * {InvalidDeploymentIdException}
@@ -647,16 +646,6 @@ module Aws::CodeDeploy
647
646
  end
648
647
  end
649
648
 
650
- class InvalidDeploymentConfigIdException < ServiceError
651
-
652
- # @param [Seahorse::Client::RequestContext] context
653
- # @param [String] message
654
- # @param [Aws::CodeDeploy::Types::InvalidDeploymentConfigIdException] data
655
- def initialize(context, message, data = Aws::EmptyStructure.new)
656
- super(context, message, data)
657
- end
658
- end
659
-
660
649
  class InvalidDeploymentConfigNameException < ServiceError
661
650
 
662
651
  # @param [Seahorse::Client::RequestContext] context
@@ -888,8 +888,8 @@ module Aws::CodeDeploy
888
888
  # {
889
889
  # deployment_config_name: "DeploymentConfigName", # required
890
890
  # minimum_healthy_hosts: {
891
- # value: 1,
892
891
  # type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
892
+ # value: 1,
893
893
  # },
894
894
  # traffic_routing_config: {
895
895
  # type: "TimeBasedCanary", # accepts TimeBasedCanary, TimeBasedLinear, AllAtOnce
@@ -1012,6 +1012,7 @@ module Aws::CodeDeploy
1012
1012
  # enabled: false,
1013
1013
  # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
1014
1014
  # },
1015
+ # outdated_instances_strategy: "UPDATE", # accepts UPDATE, IGNORE
1015
1016
  # deployment_style: {
1016
1017
  # deployment_type: "IN_PLACE", # accepts IN_PLACE, BLUE_GREEN
1017
1018
  # deployment_option: "WITH_TRAFFIC_CONTROL", # accepts WITH_TRAFFIC_CONTROL, WITHOUT_TRAFFIC_CONTROL
@@ -1161,6 +1162,19 @@ module Aws::CodeDeploy
1161
1162
  # when a deployment group is created.
1162
1163
  # @return [Types::AutoRollbackConfiguration]
1163
1164
  #
1165
+ # @!attribute [rw] outdated_instances_strategy
1166
+ # Indicates what happens when new EC2 instances are launched
1167
+ # mid-deployment and do not receive the deployed application revision.
1168
+ #
1169
+ # If this option is set to `UPDATE` or is unspecified, CodeDeploy
1170
+ # initiates one or more 'auto-update outdated instances' deployments
1171
+ # to apply the deployed application revision to the new EC2 instances.
1172
+ #
1173
+ # If this option is set to `IGNORE`, CodeDeploy does not initiate a
1174
+ # deployment to update the new EC2 instances. This may result in
1175
+ # instances having different revisions.
1176
+ # @return [String]
1177
+ #
1164
1178
  # @!attribute [rw] deployment_style
1165
1179
  # Information about the type of deployment, in-place or blue/green,
1166
1180
  # that you want to run and whether to route deployment traffic behind
@@ -1216,6 +1230,7 @@ module Aws::CodeDeploy
1216
1230
  :trigger_configurations,
1217
1231
  :alarm_configuration,
1218
1232
  :auto_rollback_configuration,
1233
+ :outdated_instances_strategy,
1219
1234
  :deployment_style,
1220
1235
  :blue_green_deployment_configuration,
1221
1236
  :load_balancer_info,
@@ -1750,6 +1765,19 @@ module Aws::CodeDeploy
1750
1765
  # behind a load balancer.
1751
1766
  # @return [Types::DeploymentStyle]
1752
1767
  #
1768
+ # @!attribute [rw] outdated_instances_strategy
1769
+ # Indicates what happens when new EC2 instances are launched
1770
+ # mid-deployment and do not receive the deployed application revision.
1771
+ #
1772
+ # If this option is set to `UPDATE` or is unspecified, CodeDeploy
1773
+ # initiates one or more 'auto-update outdated instances' deployments
1774
+ # to apply the deployed application revision to the new EC2 instances.
1775
+ #
1776
+ # If this option is set to `IGNORE`, CodeDeploy does not initiate a
1777
+ # deployment to update the new EC2 instances. This may result in
1778
+ # instances having different revisions.
1779
+ # @return [String]
1780
+ #
1753
1781
  # @!attribute [rw] blue_green_deployment_configuration
1754
1782
  # Information about blue/green deployment options for a deployment
1755
1783
  # group.
@@ -1811,6 +1839,7 @@ module Aws::CodeDeploy
1811
1839
  :alarm_configuration,
1812
1840
  :auto_rollback_configuration,
1813
1841
  :deployment_style,
1842
+ :outdated_instances_strategy,
1814
1843
  :blue_green_deployment_configuration,
1815
1844
  :load_balancer_info,
1816
1845
  :last_successful_deployment,
@@ -1912,6 +1941,9 @@ module Aws::CodeDeploy
1912
1941
  # * `autoscaling`\: Amazon EC2 Auto Scaling created the deployment.
1913
1942
  #
1914
1943
  # * `codeDeployRollback`\: A rollback process created the deployment.
1944
+ #
1945
+ # * `CodeDeployAutoUpdate`\: An auto-update process created the
1946
+ # deployment when it detected outdated EC2 instances.
1915
1947
  # @return [String]
1916
1948
  #
1917
1949
  # @!attribute [rw] ignore_application_stop_failures
@@ -2019,6 +2051,10 @@ module Aws::CodeDeploy
2019
2051
  # CloudFormation stack ID) that is linked to this deployment.
2020
2052
  # @return [String]
2021
2053
  #
2054
+ # @!attribute [rw] related_deployments
2055
+ # Information about deployments related to the specified deployment.
2056
+ # @return [Types::RelatedDeployments]
2057
+ #
2022
2058
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo AWS API Documentation
2023
2059
  #
2024
2060
  class DeploymentInfo < Struct.new(
@@ -2049,7 +2085,8 @@ module Aws::CodeDeploy
2049
2085
  :file_exists_behavior,
2050
2086
  :deployment_status_messages,
2051
2087
  :compute_platform,
2052
- :external_id)
2088
+ :external_id,
2089
+ :related_deployments)
2053
2090
  SENSITIVE = []
2054
2091
  include Aws::Structure
2055
2092
  end
@@ -3385,12 +3422,6 @@ module Aws::CodeDeploy
3385
3422
  #
3386
3423
  class InvalidDeployedStateFilterException < Aws::EmptyStructure; end
3387
3424
 
3388
- # The ID of the deployment configuration is invalid.
3389
- #
3390
- # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentConfigIdException AWS API Documentation
3391
- #
3392
- class InvalidDeploymentConfigIdException < Aws::EmptyStructure; end
3393
-
3394
3425
  # The deployment configuration name was specified in an invalid format.
3395
3426
  #
3396
3427
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentConfigNameException AWS API Documentation
@@ -4632,14 +4663,10 @@ module Aws::CodeDeploy
4632
4663
  # data as a hash:
4633
4664
  #
4634
4665
  # {
4635
- # value: 1,
4636
4666
  # type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
4667
+ # value: 1,
4637
4668
  # }
4638
4669
  #
4639
- # @!attribute [rw] value
4640
- # The minimum healthy instance value.
4641
- # @return [Integer]
4642
- #
4643
4670
  # @!attribute [rw] type
4644
4671
  # The minimum healthy instance type:
4645
4672
  #
@@ -4678,11 +4705,15 @@ module Aws::CodeDeploy
4678
4705
  # [1]: https://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html
4679
4706
  # @return [String]
4680
4707
  #
4708
+ # @!attribute [rw] value
4709
+ # The minimum healthy instance value.
4710
+ # @return [Integer]
4711
+ #
4681
4712
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/MinimumHealthyHosts AWS API Documentation
4682
4713
  #
4683
4714
  class MinimumHealthyHosts < Struct.new(
4684
- :value,
4685
- :type)
4715
+ :type,
4716
+ :value)
4686
4717
  SENSITIVE = []
4687
4718
  include Aws::Structure
4688
4719
  end
@@ -4753,7 +4784,8 @@ module Aws::CodeDeploy
4753
4784
  #
4754
4785
  # @!attribute [rw] status
4755
4786
  # The result of a Lambda function that validates a deployment
4756
- # lifecycle event (`Succeeded` or `Failed`).
4787
+ # lifecycle event. `Succeeded` and `Failed` are the only valid values
4788
+ # for `status`.
4757
4789
  # @return [String]
4758
4790
  #
4759
4791
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatusInput AWS API Documentation
@@ -4900,6 +4932,27 @@ module Aws::CodeDeploy
4900
4932
  include Aws::Structure
4901
4933
  end
4902
4934
 
4935
+ # Information about deployments related to the specified deployment.
4936
+ #
4937
+ # @!attribute [rw] auto_update_outdated_instances_root_deployment_id
4938
+ # The deployment ID of the root deployment that triggered this
4939
+ # deployment.
4940
+ # @return [String]
4941
+ #
4942
+ # @!attribute [rw] auto_update_outdated_instances_deployment_ids
4943
+ # The deployment IDs of 'auto-update outdated instances' deployments
4944
+ # triggered by this deployment.
4945
+ # @return [Array<String>]
4946
+ #
4947
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RelatedDeployments AWS API Documentation
4948
+ #
4949
+ class RelatedDeployments < Struct.new(
4950
+ :auto_update_outdated_instances_root_deployment_id,
4951
+ :auto_update_outdated_instances_deployment_ids)
4952
+ SENSITIVE = []
4953
+ include Aws::Structure
4954
+ end
4955
+
4903
4956
  # Represents the input of a `RemoveTagsFromOnPremisesInstances`
4904
4957
  # operation.
4905
4958
  #
@@ -5811,6 +5864,7 @@ module Aws::CodeDeploy
5811
5864
  # enabled: false,
5812
5865
  # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
5813
5866
  # },
5867
+ # outdated_instances_strategy: "UPDATE", # accepts UPDATE, IGNORE
5814
5868
  # deployment_style: {
5815
5869
  # deployment_type: "IN_PLACE", # accepts IN_PLACE, BLUE_GREEN
5816
5870
  # deployment_option: "WITH_TRAFFIC_CONTROL", # accepts WITH_TRAFFIC_CONTROL, WITHOUT_TRAFFIC_CONTROL
@@ -5946,6 +6000,19 @@ module Aws::CodeDeploy
5946
6000
  # changed when a deployment group is updated.
5947
6001
  # @return [Types::AutoRollbackConfiguration]
5948
6002
  #
6003
+ # @!attribute [rw] outdated_instances_strategy
6004
+ # Indicates what happens when new EC2 instances are launched
6005
+ # mid-deployment and do not receive the deployed application revision.
6006
+ #
6007
+ # If this option is set to `UPDATE` or is unspecified, CodeDeploy
6008
+ # initiates one or more 'auto-update outdated instances' deployments
6009
+ # to apply the deployed application revision to the new EC2 instances.
6010
+ #
6011
+ # If this option is set to `IGNORE`, CodeDeploy does not initiate a
6012
+ # deployment to update the new EC2 instances. This may result in
6013
+ # instances having different revisions.
6014
+ # @return [String]
6015
+ #
5949
6016
  # @!attribute [rw] deployment_style
5950
6017
  # Information about the type of deployment, either in-place or
5951
6018
  # blue/green, you want to run and whether to route deployment traffic
@@ -5995,6 +6062,7 @@ module Aws::CodeDeploy
5995
6062
  :trigger_configurations,
5996
6063
  :alarm_configuration,
5997
6064
  :auto_rollback_configuration,
6065
+ :outdated_instances_strategy,
5998
6066
  :deployment_style,
5999
6067
  :blue_green_deployment_configuration,
6000
6068
  :load_balancer_info,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codedeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.39.0
4
+ version: 1.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core