aws-sdk-codedeploy 1.105.0 → 1.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0b86fc098318ce8cd21f431af8896d2e934aa1155c6afb51b0776b7ab8dda38
4
- data.tar.gz: 384da260c79aa606f39c1c1e19d1a8cb5f9522ca3e88d70c6e53d6776a2b4c33
3
+ metadata.gz: 6a142e7f8bcf77d87a1cfc208b3c1b6a330eb2b3e7f8e7da0075b1f20dbee13b
4
+ data.tar.gz: afbd634794bb55d53ccfbc4a513428b5ba40b318e459fb81ce809eecfbb1ba53
5
5
  SHA512:
6
- metadata.gz: e71a8fe70ea8f35a2d50cc4c42a1ca34033ae13b924d181066b74a2da2544a41e50be7ac123644588ec27ff9d176d9b2d0dd45e54af8b3972ec41327d1a9bdc5
7
- data.tar.gz: 97ae0367cef2d9d7d021dcd40f00a50c75846f65b19a22277d17a9a0c5a64ed5428180e8ff0011f1b3b0e3f57baa28cfb1863da8250cb66a98fb096df54f80c6
6
+ metadata.gz: e58a7296c73c44ad1d535bb7bf525e0562c08db44b541b1e14a87af9ad8ae3188e2dde0c902082fd7580a15c6f12e3524292264a0a53919afcb14977939baa0e
7
+ data.tar.gz: f0b8908b3970edae094e249f7c232746df6088405908351ddb6a6e895828e2d7152f324a5ed891739186ec7091eea412fea528356ccbcaed8387f0c5a4172ffb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.107.0 (2026-10-19)
5
+ ------------------
6
+
7
+ * Feature - Adds support for suspending Amazon EC2 Auto Scaling processes during CodeDeploy EC2 in-place deployments. Use ec2DeploymentOptions to choose which processes are suspended and resumed.
8
+
9
+ 1.106.0 (2026-09-14)
10
+ ------------------
11
+
12
+ * Feature - AWS CodeDeploy now returns the deployment mode on GetDeployment and BatchGetDeployments. The new deploymentMode field on DeploymentInfo indicates whether a deployment used the standard deployment process or restarted the application using a previously installed revision (RESTART mode).
13
+
4
14
  1.105.0 (2026-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.105.0
1
+ 1.107.0
@@ -738,6 +738,8 @@ module Aws::CodeDeploy
738
738
  # resp.deployment_groups_info[0].ecs_services #=> Array
739
739
  # resp.deployment_groups_info[0].ecs_services[0].service_name #=> String
740
740
  # resp.deployment_groups_info[0].ecs_services[0].cluster_name #=> String
741
+ # resp.deployment_groups_info[0].ec2_deployment_options.auto_scaling_group_processes_to_suspend #=> Array
742
+ # resp.deployment_groups_info[0].ec2_deployment_options.auto_scaling_group_processes_to_suspend[0] #=> String, one of "Terminate", "AZRebalance", "InstanceRefresh", "ScheduledActions"
741
743
  # resp.deployment_groups_info[0].termination_hook_enabled #=> Boolean
742
744
  # resp.error_message #=> String
743
745
  #
@@ -1049,6 +1051,7 @@ module Aws::CodeDeploy
1049
1051
  # resp.deployments_info[0].load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns[0] #=> String
1050
1052
  # resp.deployments_info[0].additional_deployment_status_info #=> String
1051
1053
  # resp.deployments_info[0].file_exists_behavior #=> String, one of "DISALLOW", "OVERWRITE", "RETAIN"
1054
+ # resp.deployments_info[0].deployment_mode #=> String, one of "STANDARD", "RESTART"
1052
1055
  # resp.deployments_info[0].deployment_status_messages #=> Array
1053
1056
  # resp.deployments_info[0].deployment_status_messages[0] #=> String
1054
1057
  # resp.deployments_info[0].compute_platform #=> String, one of "Server", "Lambda", "ECS"
@@ -1060,6 +1063,8 @@ module Aws::CodeDeploy
1060
1063
  # resp.deployments_info[0].override_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
1061
1064
  # resp.deployments_info[0].override_alarm_configuration.alarms #=> Array
1062
1065
  # resp.deployments_info[0].override_alarm_configuration.alarms[0].name #=> String
1066
+ # resp.deployments_info[0].ec2_deployment_options.auto_scaling_group_processes_to_suspend #=> Array
1067
+ # resp.deployments_info[0].ec2_deployment_options.auto_scaling_group_processes_to_suspend[0] #=> String, one of "Terminate", "AZRebalance", "InstanceRefresh", "ScheduledActions"
1063
1068
  #
1064
1069
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
1065
1070
  #
@@ -1272,11 +1277,27 @@ module Aws::CodeDeploy
1272
1277
  # used as part of the new deployment.
1273
1278
  #
1274
1279
  # @option params [String] :deployment_mode
1275
- # The deployment mode to use for the deployment. When set to STANDARD
1276
- # (the default), the deployment runs the standard set of deployment
1277
- # lifecycle events. When set to RESTART, an EC2/On-premises in-place
1278
- # deployment runs a shortened set of lifecycle events to quickly restart
1279
- # the application on the target instances.
1280
+ # The type of deployment to create. Valid values are:
1281
+ #
1282
+ # * `STANDARD`: Deploys the specified revision. This is the default
1283
+ # behavior if `deploymentMode` is not specified.
1284
+ #
1285
+ # * `RESTART`: Restarts the application on the target instances using
1286
+ # the revision from the deployment group's last successful
1287
+ # deployment, without downloading a new revision. `RESTART` is
1288
+ # supported only for EC2/On-premises in-place deployments.
1289
+ #
1290
+ # When `deploymentMode` is `RESTART`, the following apply:
1291
+ #
1292
+ # * The call is rejected for Amazon ECS and Lambda deployments.
1293
+ #
1294
+ # * The `revision` parameter (including its `s3Location` and
1295
+ # `gitHubLocation`) must not be specified, and is rejected if
1296
+ # provided. The revision is resolved by the service from the
1297
+ # deployment group's last successful deployment.
1298
+ #
1299
+ # * The `updateOutdatedInstancesOnly` parameter must not be set to
1300
+ # `true`, and is rejected if provided.
1280
1301
  #
1281
1302
  # @option params [Types::AlarmConfiguration] :override_alarm_configuration
1282
1303
  # Allows you to specify information about alarms associated with a
@@ -1297,6 +1318,10 @@ module Aws::CodeDeploy
1297
1318
  #
1298
1319
  # </note>
1299
1320
  #
1321
+ # @option params [Types::EC2DeploymentOptions] :ec2_deployment_options
1322
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
1323
+ # groups during a deployment.
1324
+ #
1300
1325
  # @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1301
1326
  #
1302
1327
  # * {Types::CreateDeploymentOutput#deployment_id #deployment_id} => String
@@ -1368,6 +1393,9 @@ module Aws::CodeDeploy
1368
1393
  # },
1369
1394
  # ],
1370
1395
  # },
1396
+ # ec2_deployment_options: {
1397
+ # auto_scaling_group_processes_to_suspend: ["Terminate"], # accepts Terminate, AZRebalance, InstanceRefresh, ScheduledActions
1398
+ # },
1371
1399
  # })
1372
1400
  #
1373
1401
  # @example Response structure
@@ -1586,6 +1614,10 @@ module Aws::CodeDeploy
1586
1614
  # you organize and categorize them. Each tag consists of a key and an
1587
1615
  # optional value, both of which you define.
1588
1616
  #
1617
+ # @option params [Types::EC2DeploymentOptions] :ec2_deployment_options
1618
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
1619
+ # groups during a deployment.
1620
+ #
1589
1621
  # @option params [Boolean] :termination_hook_enabled
1590
1622
  # This parameter only applies if you are using CodeDeploy with Amazon
1591
1623
  # EC2 Auto Scaling. For more information, see [Integrating CodeDeploy
@@ -1734,6 +1766,9 @@ module Aws::CodeDeploy
1734
1766
  # value: "Value",
1735
1767
  # },
1736
1768
  # ],
1769
+ # ec2_deployment_options: {
1770
+ # auto_scaling_group_processes_to_suspend: ["Terminate"], # accepts Terminate, AZRebalance, InstanceRefresh, ScheduledActions
1771
+ # },
1737
1772
  # termination_hook_enabled: false,
1738
1773
  # })
1739
1774
  #
@@ -2133,6 +2168,7 @@ module Aws::CodeDeploy
2133
2168
  # resp.deployment_info.load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns[0] #=> String
2134
2169
  # resp.deployment_info.additional_deployment_status_info #=> String
2135
2170
  # resp.deployment_info.file_exists_behavior #=> String, one of "DISALLOW", "OVERWRITE", "RETAIN"
2171
+ # resp.deployment_info.deployment_mode #=> String, one of "STANDARD", "RESTART"
2136
2172
  # resp.deployment_info.deployment_status_messages #=> Array
2137
2173
  # resp.deployment_info.deployment_status_messages[0] #=> String
2138
2174
  # resp.deployment_info.compute_platform #=> String, one of "Server", "Lambda", "ECS"
@@ -2144,6 +2180,8 @@ module Aws::CodeDeploy
2144
2180
  # resp.deployment_info.override_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
2145
2181
  # resp.deployment_info.override_alarm_configuration.alarms #=> Array
2146
2182
  # resp.deployment_info.override_alarm_configuration.alarms[0].name #=> String
2183
+ # resp.deployment_info.ec2_deployment_options.auto_scaling_group_processes_to_suspend #=> Array
2184
+ # resp.deployment_info.ec2_deployment_options.auto_scaling_group_processes_to_suspend[0] #=> String, one of "Terminate", "AZRebalance", "InstanceRefresh", "ScheduledActions"
2147
2185
  #
2148
2186
  #
2149
2187
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2306,6 +2344,8 @@ module Aws::CodeDeploy
2306
2344
  # resp.deployment_group_info.ecs_services #=> Array
2307
2345
  # resp.deployment_group_info.ecs_services[0].service_name #=> String
2308
2346
  # resp.deployment_group_info.ecs_services[0].cluster_name #=> String
2347
+ # resp.deployment_group_info.ec2_deployment_options.auto_scaling_group_processes_to_suspend #=> Array
2348
+ # resp.deployment_group_info.ec2_deployment_options.auto_scaling_group_processes_to_suspend[0] #=> String, one of "Terminate", "AZRebalance", "InstanceRefresh", "ScheduledActions"
2309
2349
  # resp.deployment_group_info.termination_hook_enabled #=> Boolean
2310
2350
  #
2311
2351
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup AWS API Documentation
@@ -3490,6 +3530,10 @@ module Aws::CodeDeploy
3490
3530
  # group includes only on-premises instances identified by all the tag
3491
3531
  # groups.
3492
3532
  #
3533
+ # @option params [Types::EC2DeploymentOptions] :ec2_deployment_options
3534
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
3535
+ # groups during a deployment.
3536
+ #
3493
3537
  # @option params [Boolean] :termination_hook_enabled
3494
3538
  # This parameter only applies if you are using CodeDeploy with Amazon
3495
3539
  # EC2 Auto Scaling. For more information, see [Integrating CodeDeploy
@@ -3633,6 +3677,9 @@ module Aws::CodeDeploy
3633
3677
  # ],
3634
3678
  # ],
3635
3679
  # },
3680
+ # ec2_deployment_options: {
3681
+ # auto_scaling_group_processes_to_suspend: ["Terminate"], # accepts Terminate, AZRebalance, InstanceRefresh, ScheduledActions
3682
+ # },
3636
3683
  # termination_hook_enabled: false,
3637
3684
  # })
3638
3685
  #
@@ -3670,7 +3717,7 @@ module Aws::CodeDeploy
3670
3717
  tracer: tracer
3671
3718
  )
3672
3719
  context[:gem_name] = 'aws-sdk-codedeploy'
3673
- context[:gem_version] = '1.105.0'
3720
+ context[:gem_version] = '1.107.0'
3674
3721
  Seahorse::Client::Request.new(handlers, context)
3675
3722
  end
3676
3723
 
@@ -42,6 +42,8 @@ module Aws::CodeDeploy
42
42
  AutoScalingGroupList = Shapes::ListShape.new(name: 'AutoScalingGroupList')
43
43
  AutoScalingGroupName = Shapes::StringShape.new(name: 'AutoScalingGroupName')
44
44
  AutoScalingGroupNameList = Shapes::ListShape.new(name: 'AutoScalingGroupNameList')
45
+ AutoScalingGroupProcess = Shapes::StringShape.new(name: 'AutoScalingGroupProcess')
46
+ AutoScalingGroupProcessesToSuspendList = Shapes::ListShape.new(name: 'AutoScalingGroupProcessesToSuspendList')
45
47
  BatchGetApplicationRevisionsInput = Shapes::StructureShape.new(name: 'BatchGetApplicationRevisionsInput')
46
48
  BatchGetApplicationRevisionsOutput = Shapes::StructureShape.new(name: 'BatchGetApplicationRevisionsOutput')
47
49
  BatchGetApplicationsInput = Shapes::StructureShape.new(name: 'BatchGetApplicationsInput')
@@ -135,6 +137,7 @@ module Aws::CodeDeploy
135
137
  DescriptionTooLongException = Shapes::StructureShape.new(name: 'DescriptionTooLongException')
136
138
  Diagnostics = Shapes::StructureShape.new(name: 'Diagnostics')
137
139
  Duration = Shapes::IntegerShape.new(name: 'Duration')
140
+ EC2DeploymentOptions = Shapes::StructureShape.new(name: 'EC2DeploymentOptions')
138
141
  EC2TagFilter = Shapes::StructureShape.new(name: 'EC2TagFilter')
139
142
  EC2TagFilterList = Shapes::ListShape.new(name: 'EC2TagFilterList')
140
143
  EC2TagFilterType = Shapes::StringShape.new(name: 'EC2TagFilterType')
@@ -219,6 +222,7 @@ module Aws::CodeDeploy
219
222
  InvalidArnException = Shapes::StructureShape.new(name: 'InvalidArnException')
220
223
  InvalidAutoRollbackConfigException = Shapes::StructureShape.new(name: 'InvalidAutoRollbackConfigException')
221
224
  InvalidAutoScalingGroupException = Shapes::StructureShape.new(name: 'InvalidAutoScalingGroupException')
225
+ InvalidAutoScalingGroupProcessToSuspendException = Shapes::StructureShape.new(name: 'InvalidAutoScalingGroupProcessToSuspendException')
222
226
  InvalidBlueGreenDeploymentConfigurationException = Shapes::StructureShape.new(name: 'InvalidBlueGreenDeploymentConfigurationException')
223
227
  InvalidBucketNameFilterException = Shapes::StructureShape.new(name: 'InvalidBucketNameFilterException')
224
228
  InvalidComputePlatformException = Shapes::StructureShape.new(name: 'InvalidComputePlatformException')
@@ -469,6 +473,8 @@ module Aws::CodeDeploy
469
473
 
470
474
  AutoScalingGroupNameList.member = Shapes::ShapeRef.new(shape: AutoScalingGroupName)
471
475
 
476
+ AutoScalingGroupProcessesToSuspendList.member = Shapes::ShapeRef.new(shape: AutoScalingGroupProcess)
477
+
472
478
  BatchGetApplicationRevisionsInput.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "applicationName"))
473
479
  BatchGetApplicationRevisionsInput.add_member(:revisions, Shapes::ShapeRef.new(shape: RevisionLocationList, required: true, location_name: "revisions"))
474
480
  BatchGetApplicationRevisionsInput.struct_class = Types::BatchGetApplicationRevisionsInput
@@ -581,6 +587,7 @@ module Aws::CodeDeploy
581
587
  CreateDeploymentGroupInput.add_member(:ecs_services, Shapes::ShapeRef.new(shape: ECSServiceList, location_name: "ecsServices"))
582
588
  CreateDeploymentGroupInput.add_member(:on_premises_tag_set, Shapes::ShapeRef.new(shape: OnPremisesTagSet, location_name: "onPremisesTagSet"))
583
589
  CreateDeploymentGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
590
+ CreateDeploymentGroupInput.add_member(:ec2_deployment_options, Shapes::ShapeRef.new(shape: EC2DeploymentOptions, location_name: "ec2DeploymentOptions"))
584
591
  CreateDeploymentGroupInput.add_member(:termination_hook_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminationHookEnabled"))
585
592
  CreateDeploymentGroupInput.struct_class = Types::CreateDeploymentGroupInput
586
593
 
@@ -599,6 +606,7 @@ module Aws::CodeDeploy
599
606
  CreateDeploymentInput.add_member(:file_exists_behavior, Shapes::ShapeRef.new(shape: FileExistsBehavior, location_name: "fileExistsBehavior"))
600
607
  CreateDeploymentInput.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
601
608
  CreateDeploymentInput.add_member(:override_alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "overrideAlarmConfiguration"))
609
+ CreateDeploymentInput.add_member(:ec2_deployment_options, Shapes::ShapeRef.new(shape: EC2DeploymentOptions, location_name: "ec2DeploymentOptions"))
602
610
  CreateDeploymentInput.struct_class = Types::CreateDeploymentInput
603
611
 
604
612
  CreateDeploymentOutput.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
@@ -681,6 +689,7 @@ module Aws::CodeDeploy
681
689
  DeploymentGroupInfo.add_member(:on_premises_tag_set, Shapes::ShapeRef.new(shape: OnPremisesTagSet, location_name: "onPremisesTagSet"))
682
690
  DeploymentGroupInfo.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
683
691
  DeploymentGroupInfo.add_member(:ecs_services, Shapes::ShapeRef.new(shape: ECSServiceList, location_name: "ecsServices"))
692
+ DeploymentGroupInfo.add_member(:ec2_deployment_options, Shapes::ShapeRef.new(shape: EC2DeploymentOptions, location_name: "ec2DeploymentOptions"))
684
693
  DeploymentGroupInfo.add_member(:termination_hook_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "terminationHookEnabled"))
685
694
  DeploymentGroupInfo.struct_class = Types::DeploymentGroupInfo
686
695
 
@@ -719,11 +728,13 @@ module Aws::CodeDeploy
719
728
  DeploymentInfo.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
720
729
  DeploymentInfo.add_member(:additional_deployment_status_info, Shapes::ShapeRef.new(shape: AdditionalDeploymentStatusInfo, deprecated: true, location_name: "additionalDeploymentStatusInfo"))
721
730
  DeploymentInfo.add_member(:file_exists_behavior, Shapes::ShapeRef.new(shape: FileExistsBehavior, location_name: "fileExistsBehavior"))
731
+ DeploymentInfo.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
722
732
  DeploymentInfo.add_member(:deployment_status_messages, Shapes::ShapeRef.new(shape: DeploymentStatusMessageList, location_name: "deploymentStatusMessages"))
723
733
  DeploymentInfo.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
724
734
  DeploymentInfo.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
725
735
  DeploymentInfo.add_member(:related_deployments, Shapes::ShapeRef.new(shape: RelatedDeployments, location_name: "relatedDeployments"))
726
736
  DeploymentInfo.add_member(:override_alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "overrideAlarmConfiguration"))
737
+ DeploymentInfo.add_member(:ec2_deployment_options, Shapes::ShapeRef.new(shape: EC2DeploymentOptions, location_name: "ec2DeploymentOptions"))
727
738
  DeploymentInfo.struct_class = Types::DeploymentInfo
728
739
 
729
740
  DeploymentIsNotInReadyStateException.struct_class = Types::DeploymentIsNotInReadyStateException
@@ -782,6 +793,9 @@ module Aws::CodeDeploy
782
793
  Diagnostics.add_member(:log_tail, Shapes::ShapeRef.new(shape: LogTail, location_name: "logTail"))
783
794
  Diagnostics.struct_class = Types::Diagnostics
784
795
 
796
+ EC2DeploymentOptions.add_member(:auto_scaling_group_processes_to_suspend, Shapes::ShapeRef.new(shape: AutoScalingGroupProcessesToSuspendList, location_name: "autoScalingGroupProcessesToSuspend"))
797
+ EC2DeploymentOptions.struct_class = Types::EC2DeploymentOptions
798
+
785
799
  EC2TagFilter.add_member(:key, Shapes::ShapeRef.new(shape: Key, location_name: "Key"))
786
800
  EC2TagFilter.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "Value"))
787
801
  EC2TagFilter.add_member(:type, Shapes::ShapeRef.new(shape: EC2TagFilterType, location_name: "Type"))
@@ -976,6 +990,8 @@ module Aws::CodeDeploy
976
990
 
977
991
  InvalidAutoScalingGroupException.struct_class = Types::InvalidAutoScalingGroupException
978
992
 
993
+ InvalidAutoScalingGroupProcessToSuspendException.struct_class = Types::InvalidAutoScalingGroupProcessToSuspendException
994
+
979
995
  InvalidBlueGreenDeploymentConfigurationException.struct_class = Types::InvalidBlueGreenDeploymentConfigurationException
980
996
 
981
997
  InvalidBucketNameFilterException.struct_class = Types::InvalidBucketNameFilterException
@@ -1420,6 +1436,7 @@ module Aws::CodeDeploy
1420
1436
  UpdateDeploymentGroupInput.add_member(:ec2_tag_set, Shapes::ShapeRef.new(shape: EC2TagSet, location_name: "ec2TagSet"))
1421
1437
  UpdateDeploymentGroupInput.add_member(:ecs_services, Shapes::ShapeRef.new(shape: ECSServiceList, location_name: "ecsServices"))
1422
1438
  UpdateDeploymentGroupInput.add_member(:on_premises_tag_set, Shapes::ShapeRef.new(shape: OnPremisesTagSet, location_name: "onPremisesTagSet"))
1439
+ UpdateDeploymentGroupInput.add_member(:ec2_deployment_options, Shapes::ShapeRef.new(shape: EC2DeploymentOptions, location_name: "ec2DeploymentOptions"))
1423
1440
  UpdateDeploymentGroupInput.add_member(:termination_hook_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminationHookEnabled"))
1424
1441
  UpdateDeploymentGroupInput.struct_class = Types::UpdateDeploymentGroupInput
1425
1442
 
@@ -1627,6 +1644,7 @@ module Aws::CodeDeploy
1627
1644
  o.errors << Shapes::ShapeRef.new(shape: InvalidIgnoreApplicationStopFailuresValueException)
1628
1645
  o.errors << Shapes::ShapeRef.new(shape: InvalidGitHubAccountTokenException)
1629
1646
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrafficRoutingConfigurationException)
1647
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAutoScalingGroupProcessToSuspendException)
1630
1648
  o.errors << Shapes::ShapeRef.new(shape: InvalidECSServiceException)
1631
1649
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1632
1650
  end)
@@ -1686,6 +1704,7 @@ module Aws::CodeDeploy
1686
1704
  o.errors << Shapes::ShapeRef.new(shape: ECSServiceMappingLimitExceededException)
1687
1705
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagsToAddException)
1688
1706
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrafficRoutingConfigurationException)
1707
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAutoScalingGroupProcessToSuspendException)
1689
1708
  end)
1690
1709
 
1691
1710
  api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
@@ -2203,6 +2222,7 @@ module Aws::CodeDeploy
2203
2222
  o.errors << Shapes::ShapeRef.new(shape: InvalidTargetGroupPairException)
2204
2223
  o.errors << Shapes::ShapeRef.new(shape: ECSServiceMappingLimitExceededException)
2205
2224
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrafficRoutingConfigurationException)
2225
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAutoScalingGroupProcessToSuspendException)
2206
2226
  end)
2207
2227
  end
2208
2228
 
@@ -73,6 +73,7 @@ module Aws::CodeDeploy
73
73
  # * {InvalidArnException}
74
74
  # * {InvalidAutoRollbackConfigException}
75
75
  # * {InvalidAutoScalingGroupException}
76
+ # * {InvalidAutoScalingGroupProcessToSuspendException}
76
77
  # * {InvalidBlueGreenDeploymentConfigurationException}
77
78
  # * {InvalidBucketNameFilterException}
78
79
  # * {InvalidComputePlatformException}
@@ -607,6 +608,16 @@ module Aws::CodeDeploy
607
608
  end
608
609
  end
609
610
 
611
+ class InvalidAutoScalingGroupProcessToSuspendException < ServiceError
612
+
613
+ # @param [Seahorse::Client::RequestContext] context
614
+ # @param [String] message
615
+ # @param [Aws::CodeDeploy::Types::InvalidAutoScalingGroupProcessToSuspendException] data
616
+ def initialize(context, message, data = Aws::EmptyStructure.new)
617
+ super(context, message, data)
618
+ end
619
+ end
620
+
610
621
  class InvalidBlueGreenDeploymentConfigurationException < ServiceError
611
622
 
612
623
  # @param [Seahorse::Client::RequestContext] context
@@ -938,6 +938,11 @@ module Aws::CodeDeploy
938
938
  # optional value, both of which you define.
939
939
  # @return [Array<Types::Tag>]
940
940
  #
941
+ # @!attribute [rw] ec2_deployment_options
942
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
943
+ # groups during a deployment.
944
+ # @return [Types::EC2DeploymentOptions]
945
+ #
941
946
  # @!attribute [rw] termination_hook_enabled
942
947
  # This parameter only applies if you are using CodeDeploy with Amazon
943
948
  # EC2 Auto Scaling. For more information, see [Integrating CodeDeploy
@@ -983,6 +988,7 @@ module Aws::CodeDeploy
983
988
  :ecs_services,
984
989
  :on_premises_tag_set,
985
990
  :tags,
991
+ :ec2_deployment_options,
986
992
  :termination_hook_enabled)
987
993
  SENSITIVE = []
988
994
  include Aws::Structure
@@ -1095,11 +1101,27 @@ module Aws::CodeDeploy
1095
1101
  # @return [String]
1096
1102
  #
1097
1103
  # @!attribute [rw] deployment_mode
1098
- # The deployment mode to use for the deployment. When set to STANDARD
1099
- # (the default), the deployment runs the standard set of deployment
1100
- # lifecycle events. When set to RESTART, an EC2/On-premises in-place
1101
- # deployment runs a shortened set of lifecycle events to quickly
1102
- # restart the application on the target instances.
1104
+ # The type of deployment to create. Valid values are:
1105
+ #
1106
+ # * `STANDARD`: Deploys the specified revision. This is the default
1107
+ # behavior if `deploymentMode` is not specified.
1108
+ #
1109
+ # * `RESTART`: Restarts the application on the target instances using
1110
+ # the revision from the deployment group's last successful
1111
+ # deployment, without downloading a new revision. `RESTART` is
1112
+ # supported only for EC2/On-premises in-place deployments.
1113
+ #
1114
+ # When `deploymentMode` is `RESTART`, the following apply:
1115
+ #
1116
+ # * The call is rejected for Amazon ECS and Lambda deployments.
1117
+ #
1118
+ # * The `revision` parameter (including its `s3Location` and
1119
+ # `gitHubLocation`) must not be specified, and is rejected if
1120
+ # provided. The revision is resolved by the service from the
1121
+ # deployment group's last successful deployment.
1122
+ #
1123
+ # * The `updateOutdatedInstancesOnly` parameter must not be set to
1124
+ # `true`, and is rejected if provided.
1103
1125
  # @return [String]
1104
1126
  #
1105
1127
  # @!attribute [rw] override_alarm_configuration
@@ -1122,6 +1144,11 @@ module Aws::CodeDeploy
1122
1144
  # </note>
1123
1145
  # @return [Types::AlarmConfiguration]
1124
1146
  #
1147
+ # @!attribute [rw] ec2_deployment_options
1148
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
1149
+ # groups during a deployment.
1150
+ # @return [Types::EC2DeploymentOptions]
1151
+ #
1125
1152
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput AWS API Documentation
1126
1153
  #
1127
1154
  class CreateDeploymentInput < Struct.new(
@@ -1136,7 +1163,8 @@ module Aws::CodeDeploy
1136
1163
  :update_outdated_instances_only,
1137
1164
  :file_exists_behavior,
1138
1165
  :deployment_mode,
1139
- :override_alarm_configuration)
1166
+ :override_alarm_configuration,
1167
+ :ec2_deployment_options)
1140
1168
  SENSITIVE = []
1141
1169
  include Aws::Structure
1142
1170
  end
@@ -1511,6 +1539,11 @@ module Aws::CodeDeploy
1511
1539
  # `<clustername>:<servicename>`.
1512
1540
  # @return [Array<Types::ECSService>]
1513
1541
  #
1542
+ # @!attribute [rw] ec2_deployment_options
1543
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
1544
+ # groups during a deployment.
1545
+ # @return [Types::EC2DeploymentOptions]
1546
+ #
1514
1547
  # @!attribute [rw] termination_hook_enabled
1515
1548
  # Indicates whether the deployment group was configured to have
1516
1549
  # CodeDeploy install a termination hook into an Auto Scaling group.
@@ -1549,6 +1582,7 @@ module Aws::CodeDeploy
1549
1582
  :on_premises_tag_set,
1550
1583
  :compute_platform,
1551
1584
  :ecs_services,
1585
+ :ec2_deployment_options,
1552
1586
  :termination_hook_enabled)
1553
1587
  SENSITIVE = []
1554
1588
  include Aws::Structure
@@ -1739,6 +1773,21 @@ module Aws::CodeDeploy
1739
1773
  # and used as part of the new deployment.
1740
1774
  # @return [String]
1741
1775
  #
1776
+ # @!attribute [rw] deployment_mode
1777
+ # The deployment's type. Valid values are:
1778
+ #
1779
+ # * `STANDARD`: The deployment installed the specified revision.
1780
+ #
1781
+ # * `RESTART`: The deployment restarted the application on the target
1782
+ # instances using the revision from the deployment group's last
1783
+ # successful deployment, without downloading a new revision.
1784
+ #
1785
+ # This field is absent for deployments created before `deploymentMode`
1786
+ # existed, and for `STANDARD` deployments. An absent value must not be
1787
+ # interpreted as `STANDARD`; it simply means no value was recorded
1788
+ # either way.
1789
+ # @return [String]
1790
+ #
1742
1791
  # @!attribute [rw] deployment_status_messages
1743
1792
  # Messages that contain information about the status of a deployment.
1744
1793
  # @return [Array<String>]
@@ -1762,6 +1811,11 @@ module Aws::CodeDeploy
1762
1811
  # group.
1763
1812
  # @return [Types::AlarmConfiguration]
1764
1813
  #
1814
+ # @!attribute [rw] ec2_deployment_options
1815
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
1816
+ # groups during a deployment.
1817
+ # @return [Types::EC2DeploymentOptions]
1818
+ #
1765
1819
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo AWS API Documentation
1766
1820
  #
1767
1821
  class DeploymentInfo < Struct.new(
@@ -1790,11 +1844,13 @@ module Aws::CodeDeploy
1790
1844
  :load_balancer_info,
1791
1845
  :additional_deployment_status_info,
1792
1846
  :file_exists_behavior,
1847
+ :deployment_mode,
1793
1848
  :deployment_status_messages,
1794
1849
  :compute_platform,
1795
1850
  :external_id,
1796
1851
  :related_deployments,
1797
- :override_alarm_configuration)
1852
+ :override_alarm_configuration,
1853
+ :ec2_deployment_options)
1798
1854
  SENSITIVE = []
1799
1855
  include Aws::Structure
1800
1856
  end
@@ -2047,6 +2103,50 @@ module Aws::CodeDeploy
2047
2103
  include Aws::Structure
2048
2104
  end
2049
2105
 
2106
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
2107
+ # groups during a deployment.
2108
+ #
2109
+ # @!attribute [rw] auto_scaling_group_processes_to_suspend
2110
+ # The Amazon EC2 Auto Scaling processes to suspend during the
2111
+ # deployment. CodeDeploy suspends these processes before it deploys to
2112
+ # instances in an Auto Scaling group, and resumes them when the
2113
+ # deployment succeeds, fails, or is stopped. Valid values are
2114
+ # `Terminate`, `AZRebalance`, `InstanceRefresh`, and
2115
+ # `ScheduledActions`.
2116
+ #
2117
+ # This parameter applies only to in-place deployments on the
2118
+ # EC2/On-premises compute platform. If the list is empty, or if the
2119
+ # deployment does not target instances in an Auto Scaling group, no
2120
+ # processes are suspended.
2121
+ #
2122
+ # The service role for the deployment group must have permission to
2123
+ # call `autoscaling:SuspendProcesses` and
2124
+ # `autoscaling:ResumeProcesses` on the target Auto Scaling groups. If
2125
+ # the processes cannot be suspended, the deployment fails before any
2126
+ # instance is updated.
2127
+ #
2128
+ # If you suspend `ScheduledActions`, scheduled actions with a start
2129
+ # time during the deployment are skipped and do not run after the
2130
+ # process resumes.
2131
+ #
2132
+ # <note markdown="1"> If CodeDeploy cannot resume the processes, the deployment fails and
2133
+ # the processes stay suspended until you resume them with the Auto
2134
+ # Scaling `ResumeProcesses` action. While `Terminate` is suspended,
2135
+ # Auto Scaling does not replace unhealthy instances. If you suspend
2136
+ # `Terminate`, configure a trigger that notifies you when a deployment
2137
+ # fails.
2138
+ #
2139
+ # </note>
2140
+ # @return [Array<String>]
2141
+ #
2142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2DeploymentOptions AWS API Documentation
2143
+ #
2144
+ class EC2DeploymentOptions < Struct.new(
2145
+ :auto_scaling_group_processes_to_suspend)
2146
+ SENSITIVE = []
2147
+ include Aws::Structure
2148
+ end
2149
+
2050
2150
  # Information about an EC2 tag filter.
2051
2151
  #
2052
2152
  # @!attribute [rw] key
@@ -2945,6 +3045,15 @@ module Aws::CodeDeploy
2945
3045
  #
2946
3046
  class InvalidAutoScalingGroupException < Aws::EmptyStructure; end
2947
3047
 
3048
+ # The `autoScalingGroupProcessesToSuspend` list in
3049
+ # `ec2DeploymentOptions` contains a process that is not valid. Valid
3050
+ # values are `Terminate`, `AZRebalance`, `InstanceRefresh`, and
3051
+ # `ScheduledActions`. Process names are case sensitive.
3052
+ #
3053
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidAutoScalingGroupProcessToSuspendException AWS API Documentation
3054
+ #
3055
+ class InvalidAutoScalingGroupProcessToSuspendException < Aws::EmptyStructure; end
3056
+
2948
3057
  # The configuration for the blue/green deployment group was provided in
2949
3058
  # an invalid format. For information about deployment configuration
2950
3059
  # format, see CreateDeploymentConfig.
@@ -5114,6 +5223,11 @@ module Aws::CodeDeploy
5114
5223
  # groups.
5115
5224
  # @return [Types::OnPremisesTagSet]
5116
5225
  #
5226
+ # @!attribute [rw] ec2_deployment_options
5227
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
5228
+ # groups during a deployment.
5229
+ # @return [Types::EC2DeploymentOptions]
5230
+ #
5117
5231
  # @!attribute [rw] termination_hook_enabled
5118
5232
  # This parameter only applies if you are using CodeDeploy with Amazon
5119
5233
  # EC2 Auto Scaling. For more information, see [Integrating CodeDeploy
@@ -5159,6 +5273,7 @@ module Aws::CodeDeploy
5159
5273
  :ec2_tag_set,
5160
5274
  :ecs_services,
5161
5275
  :on_premises_tag_set,
5276
+ :ec2_deployment_options,
5162
5277
  :termination_hook_enabled)
5163
5278
  SENSITIVE = []
5164
5279
  include Aws::Structure
@@ -55,7 +55,7 @@ module Aws::CodeDeploy
55
55
  autoload :EndpointProvider, 'aws-sdk-codedeploy/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-codedeploy/endpoints'
57
57
 
58
- GEM_VERSION = '1.105.0'
58
+ GEM_VERSION = '1.107.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -243,6 +243,9 @@ module Aws
243
243
  name: ::String?
244
244
  }
245
245
  ]?
246
+ },
247
+ ?ec2_deployment_options: {
248
+ auto_scaling_group_processes_to_suspend: Array[("Terminate" | "AZRebalance" | "InstanceRefresh" | "ScheduledActions")]?
246
249
  }
247
250
  ) -> _CreateDeploymentResponseSuccess
248
251
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentResponseSuccess
@@ -367,6 +370,9 @@ module Aws
367
370
  value: ::String?
368
371
  }
369
372
  ],
373
+ ?ec2_deployment_options: {
374
+ auto_scaling_group_processes_to_suspend: Array[("Terminate" | "AZRebalance" | "InstanceRefresh" | "ScheduledActions")]?
375
+ },
370
376
  ?termination_hook_enabled: bool
371
377
  ) -> _CreateDeploymentGroupResponseSuccess
372
378
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentGroupResponseSuccess
@@ -816,6 +822,9 @@ module Aws
816
822
  ]
817
823
  ]?
818
824
  },
825
+ ?ec2_deployment_options: {
826
+ auto_scaling_group_processes_to_suspend: Array[("Terminate" | "AZRebalance" | "InstanceRefresh" | "ScheduledActions")]?
827
+ },
819
828
  ?termination_hook_enabled: bool
820
829
  ) -> _UpdateDeploymentGroupResponseSuccess
821
830
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeploymentGroupResponseSuccess
data/sig/errors.rbs CHANGED
@@ -11,231 +11,233 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
- class AlarmsLimitExceededException < ::Aws::Errors::ServiceError
14
+ class AlarmsLimitExceededException < ServiceError
15
15
  end
16
- class ApplicationAlreadyExistsException < ::Aws::Errors::ServiceError
16
+ class ApplicationAlreadyExistsException < ServiceError
17
17
  end
18
- class ApplicationDoesNotExistException < ::Aws::Errors::ServiceError
18
+ class ApplicationDoesNotExistException < ServiceError
19
19
  end
20
- class ApplicationLimitExceededException < ::Aws::Errors::ServiceError
20
+ class ApplicationLimitExceededException < ServiceError
21
21
  end
22
- class ApplicationNameRequiredException < ::Aws::Errors::ServiceError
22
+ class ApplicationNameRequiredException < ServiceError
23
23
  end
24
- class ArnNotSupportedException < ::Aws::Errors::ServiceError
24
+ class ArnNotSupportedException < ServiceError
25
25
  end
26
- class BatchLimitExceededException < ::Aws::Errors::ServiceError
26
+ class BatchLimitExceededException < ServiceError
27
27
  end
28
- class BucketNameFilterRequiredException < ::Aws::Errors::ServiceError
28
+ class BucketNameFilterRequiredException < ServiceError
29
29
  end
30
- class DeploymentAlreadyCompletedException < ::Aws::Errors::ServiceError
30
+ class DeploymentAlreadyCompletedException < ServiceError
31
31
  end
32
- class DeploymentAlreadyStartedException < ::Aws::Errors::ServiceError
32
+ class DeploymentAlreadyStartedException < ServiceError
33
33
  end
34
- class DeploymentConfigAlreadyExistsException < ::Aws::Errors::ServiceError
34
+ class DeploymentConfigAlreadyExistsException < ServiceError
35
35
  end
36
- class DeploymentConfigDoesNotExistException < ::Aws::Errors::ServiceError
36
+ class DeploymentConfigDoesNotExistException < ServiceError
37
37
  end
38
- class DeploymentConfigInUseException < ::Aws::Errors::ServiceError
38
+ class DeploymentConfigInUseException < ServiceError
39
39
  end
40
- class DeploymentConfigLimitExceededException < ::Aws::Errors::ServiceError
40
+ class DeploymentConfigLimitExceededException < ServiceError
41
41
  end
42
- class DeploymentConfigNameRequiredException < ::Aws::Errors::ServiceError
42
+ class DeploymentConfigNameRequiredException < ServiceError
43
43
  end
44
- class DeploymentDoesNotExistException < ::Aws::Errors::ServiceError
44
+ class DeploymentDoesNotExistException < ServiceError
45
45
  end
46
- class DeploymentGroupAlreadyExistsException < ::Aws::Errors::ServiceError
46
+ class DeploymentGroupAlreadyExistsException < ServiceError
47
47
  end
48
- class DeploymentGroupDoesNotExistException < ::Aws::Errors::ServiceError
48
+ class DeploymentGroupDoesNotExistException < ServiceError
49
49
  end
50
- class DeploymentGroupLimitExceededException < ::Aws::Errors::ServiceError
50
+ class DeploymentGroupLimitExceededException < ServiceError
51
51
  end
52
- class DeploymentGroupNameRequiredException < ::Aws::Errors::ServiceError
52
+ class DeploymentGroupNameRequiredException < ServiceError
53
53
  end
54
- class DeploymentIdRequiredException < ::Aws::Errors::ServiceError
54
+ class DeploymentIdRequiredException < ServiceError
55
55
  end
56
- class DeploymentIsNotInReadyStateException < ::Aws::Errors::ServiceError
56
+ class DeploymentIsNotInReadyStateException < ServiceError
57
57
  end
58
- class DeploymentLimitExceededException < ::Aws::Errors::ServiceError
58
+ class DeploymentLimitExceededException < ServiceError
59
59
  end
60
- class DeploymentNotStartedException < ::Aws::Errors::ServiceError
60
+ class DeploymentNotStartedException < ServiceError
61
61
  end
62
- class DeploymentTargetDoesNotExistException < ::Aws::Errors::ServiceError
62
+ class DeploymentTargetDoesNotExistException < ServiceError
63
63
  end
64
- class DeploymentTargetIdRequiredException < ::Aws::Errors::ServiceError
64
+ class DeploymentTargetIdRequiredException < ServiceError
65
65
  end
66
- class DeploymentTargetListSizeExceededException < ::Aws::Errors::ServiceError
66
+ class DeploymentTargetListSizeExceededException < ServiceError
67
67
  end
68
- class DescriptionTooLongException < ::Aws::Errors::ServiceError
68
+ class DescriptionTooLongException < ServiceError
69
69
  end
70
- class ECSServiceMappingLimitExceededException < ::Aws::Errors::ServiceError
70
+ class ECSServiceMappingLimitExceededException < ServiceError
71
71
  end
72
- class GitHubAccountTokenDoesNotExistException < ::Aws::Errors::ServiceError
72
+ class GitHubAccountTokenDoesNotExistException < ServiceError
73
73
  end
74
- class GitHubAccountTokenNameRequiredException < ::Aws::Errors::ServiceError
74
+ class GitHubAccountTokenNameRequiredException < ServiceError
75
75
  end
76
- class IamArnRequiredException < ::Aws::Errors::ServiceError
76
+ class IamArnRequiredException < ServiceError
77
77
  end
78
- class IamSessionArnAlreadyRegisteredException < ::Aws::Errors::ServiceError
78
+ class IamSessionArnAlreadyRegisteredException < ServiceError
79
79
  end
80
- class IamUserArnAlreadyRegisteredException < ::Aws::Errors::ServiceError
80
+ class IamUserArnAlreadyRegisteredException < ServiceError
81
81
  end
82
- class IamUserArnRequiredException < ::Aws::Errors::ServiceError
82
+ class IamUserArnRequiredException < ServiceError
83
83
  end
84
- class InstanceDoesNotExistException < ::Aws::Errors::ServiceError
84
+ class InstanceDoesNotExistException < ServiceError
85
85
  end
86
- class InstanceIdRequiredException < ::Aws::Errors::ServiceError
86
+ class InstanceIdRequiredException < ServiceError
87
87
  end
88
- class InstanceLimitExceededException < ::Aws::Errors::ServiceError
88
+ class InstanceLimitExceededException < ServiceError
89
89
  end
90
- class InstanceNameAlreadyRegisteredException < ::Aws::Errors::ServiceError
90
+ class InstanceNameAlreadyRegisteredException < ServiceError
91
91
  end
92
- class InstanceNameRequiredException < ::Aws::Errors::ServiceError
92
+ class InstanceNameRequiredException < ServiceError
93
93
  end
94
- class InstanceNotRegisteredException < ::Aws::Errors::ServiceError
94
+ class InstanceNotRegisteredException < ServiceError
95
95
  end
96
- class InvalidAlarmConfigException < ::Aws::Errors::ServiceError
96
+ class InvalidAlarmConfigException < ServiceError
97
97
  end
98
- class InvalidApplicationNameException < ::Aws::Errors::ServiceError
98
+ class InvalidApplicationNameException < ServiceError
99
99
  end
100
- class InvalidArnException < ::Aws::Errors::ServiceError
100
+ class InvalidArnException < ServiceError
101
101
  end
102
- class InvalidAutoRollbackConfigException < ::Aws::Errors::ServiceError
102
+ class InvalidAutoRollbackConfigException < ServiceError
103
103
  end
104
- class InvalidAutoScalingGroupException < ::Aws::Errors::ServiceError
104
+ class InvalidAutoScalingGroupException < ServiceError
105
105
  end
106
- class InvalidBlueGreenDeploymentConfigurationException < ::Aws::Errors::ServiceError
106
+ class InvalidAutoScalingGroupProcessToSuspendException < ServiceError
107
107
  end
108
- class InvalidBucketNameFilterException < ::Aws::Errors::ServiceError
108
+ class InvalidBlueGreenDeploymentConfigurationException < ServiceError
109
109
  end
110
- class InvalidComputePlatformException < ::Aws::Errors::ServiceError
110
+ class InvalidBucketNameFilterException < ServiceError
111
111
  end
112
- class InvalidDeployedStateFilterException < ::Aws::Errors::ServiceError
112
+ class InvalidComputePlatformException < ServiceError
113
113
  end
114
- class InvalidDeploymentConfigNameException < ::Aws::Errors::ServiceError
114
+ class InvalidDeployedStateFilterException < ServiceError
115
115
  end
116
- class InvalidDeploymentGroupNameException < ::Aws::Errors::ServiceError
116
+ class InvalidDeploymentConfigNameException < ServiceError
117
117
  end
118
- class InvalidDeploymentIdException < ::Aws::Errors::ServiceError
118
+ class InvalidDeploymentGroupNameException < ServiceError
119
119
  end
120
- class InvalidDeploymentInstanceTypeException < ::Aws::Errors::ServiceError
120
+ class InvalidDeploymentIdException < ServiceError
121
121
  end
122
- class InvalidDeploymentStatusException < ::Aws::Errors::ServiceError
122
+ class InvalidDeploymentInstanceTypeException < ServiceError
123
123
  end
124
- class InvalidDeploymentStyleException < ::Aws::Errors::ServiceError
124
+ class InvalidDeploymentStatusException < ServiceError
125
125
  end
126
- class InvalidDeploymentTargetIdException < ::Aws::Errors::ServiceError
126
+ class InvalidDeploymentStyleException < ServiceError
127
127
  end
128
- class InvalidDeploymentWaitTypeException < ::Aws::Errors::ServiceError
128
+ class InvalidDeploymentTargetIdException < ServiceError
129
129
  end
130
- class InvalidEC2TagCombinationException < ::Aws::Errors::ServiceError
130
+ class InvalidDeploymentWaitTypeException < ServiceError
131
131
  end
132
- class InvalidEC2TagException < ::Aws::Errors::ServiceError
132
+ class InvalidEC2TagCombinationException < ServiceError
133
133
  end
134
- class InvalidECSServiceException < ::Aws::Errors::ServiceError
134
+ class InvalidEC2TagException < ServiceError
135
135
  end
136
- class InvalidExternalIdException < ::Aws::Errors::ServiceError
136
+ class InvalidECSServiceException < ServiceError
137
137
  end
138
- class InvalidFileExistsBehaviorException < ::Aws::Errors::ServiceError
138
+ class InvalidExternalIdException < ServiceError
139
139
  end
140
- class InvalidGitHubAccountTokenException < ::Aws::Errors::ServiceError
140
+ class InvalidFileExistsBehaviorException < ServiceError
141
141
  end
142
- class InvalidGitHubAccountTokenNameException < ::Aws::Errors::ServiceError
142
+ class InvalidGitHubAccountTokenException < ServiceError
143
143
  end
144
- class InvalidIamSessionArnException < ::Aws::Errors::ServiceError
144
+ class InvalidGitHubAccountTokenNameException < ServiceError
145
145
  end
146
- class InvalidIamUserArnException < ::Aws::Errors::ServiceError
146
+ class InvalidIamSessionArnException < ServiceError
147
147
  end
148
- class InvalidIgnoreApplicationStopFailuresValueException < ::Aws::Errors::ServiceError
148
+ class InvalidIamUserArnException < ServiceError
149
149
  end
150
- class InvalidInputException < ::Aws::Errors::ServiceError
150
+ class InvalidIgnoreApplicationStopFailuresValueException < ServiceError
151
151
  end
152
- class InvalidInstanceIdException < ::Aws::Errors::ServiceError
152
+ class InvalidInputException < ServiceError
153
153
  end
154
- class InvalidInstanceNameException < ::Aws::Errors::ServiceError
154
+ class InvalidInstanceIdException < ServiceError
155
155
  end
156
- class InvalidInstanceStatusException < ::Aws::Errors::ServiceError
156
+ class InvalidInstanceNameException < ServiceError
157
157
  end
158
- class InvalidInstanceTypeException < ::Aws::Errors::ServiceError
158
+ class InvalidInstanceStatusException < ServiceError
159
159
  end
160
- class InvalidKeyPrefixFilterException < ::Aws::Errors::ServiceError
160
+ class InvalidInstanceTypeException < ServiceError
161
161
  end
162
- class InvalidLifecycleEventHookExecutionIdException < ::Aws::Errors::ServiceError
162
+ class InvalidKeyPrefixFilterException < ServiceError
163
163
  end
164
- class InvalidLifecycleEventHookExecutionStatusException < ::Aws::Errors::ServiceError
164
+ class InvalidLifecycleEventHookExecutionIdException < ServiceError
165
165
  end
166
- class InvalidLoadBalancerInfoException < ::Aws::Errors::ServiceError
166
+ class InvalidLifecycleEventHookExecutionStatusException < ServiceError
167
167
  end
168
- class InvalidMinimumHealthyHostValueException < ::Aws::Errors::ServiceError
168
+ class InvalidLoadBalancerInfoException < ServiceError
169
169
  end
170
- class InvalidNextTokenException < ::Aws::Errors::ServiceError
170
+ class InvalidMinimumHealthyHostValueException < ServiceError
171
171
  end
172
- class InvalidOnPremisesTagCombinationException < ::Aws::Errors::ServiceError
172
+ class InvalidNextTokenException < ServiceError
173
173
  end
174
- class InvalidOperationException < ::Aws::Errors::ServiceError
174
+ class InvalidOnPremisesTagCombinationException < ServiceError
175
175
  end
176
- class InvalidRegistrationStatusException < ::Aws::Errors::ServiceError
176
+ class InvalidOperationException < ServiceError
177
177
  end
178
- class InvalidRevisionException < ::Aws::Errors::ServiceError
178
+ class InvalidRegistrationStatusException < ServiceError
179
179
  end
180
- class InvalidRoleException < ::Aws::Errors::ServiceError
180
+ class InvalidRevisionException < ServiceError
181
181
  end
182
- class InvalidSortByException < ::Aws::Errors::ServiceError
182
+ class InvalidRoleException < ServiceError
183
183
  end
184
- class InvalidSortOrderException < ::Aws::Errors::ServiceError
184
+ class InvalidSortByException < ServiceError
185
185
  end
186
- class InvalidTagException < ::Aws::Errors::ServiceError
186
+ class InvalidSortOrderException < ServiceError
187
187
  end
188
- class InvalidTagFilterException < ::Aws::Errors::ServiceError
188
+ class InvalidTagException < ServiceError
189
189
  end
190
- class InvalidTagsToAddException < ::Aws::Errors::ServiceError
190
+ class InvalidTagFilterException < ServiceError
191
191
  end
192
- class InvalidTargetException < ::Aws::Errors::ServiceError
192
+ class InvalidTagsToAddException < ServiceError
193
193
  end
194
- class InvalidTargetFilterNameException < ::Aws::Errors::ServiceError
194
+ class InvalidTargetException < ServiceError
195
195
  end
196
- class InvalidTargetGroupPairException < ::Aws::Errors::ServiceError
196
+ class InvalidTargetFilterNameException < ServiceError
197
197
  end
198
- class InvalidTargetInstancesException < ::Aws::Errors::ServiceError
198
+ class InvalidTargetGroupPairException < ServiceError
199
199
  end
200
- class InvalidTimeRangeException < ::Aws::Errors::ServiceError
200
+ class InvalidTargetInstancesException < ServiceError
201
201
  end
202
- class InvalidTrafficRoutingConfigurationException < ::Aws::Errors::ServiceError
202
+ class InvalidTimeRangeException < ServiceError
203
203
  end
204
- class InvalidTriggerConfigException < ::Aws::Errors::ServiceError
204
+ class InvalidTrafficRoutingConfigurationException < ServiceError
205
205
  end
206
- class InvalidUpdateOutdatedInstancesOnlyValueException < ::Aws::Errors::ServiceError
206
+ class InvalidTriggerConfigException < ServiceError
207
207
  end
208
- class InvalidZonalDeploymentConfigurationException < ::Aws::Errors::ServiceError
208
+ class InvalidUpdateOutdatedInstancesOnlyValueException < ServiceError
209
209
  end
210
- class LifecycleEventAlreadyCompletedException < ::Aws::Errors::ServiceError
210
+ class InvalidZonalDeploymentConfigurationException < ServiceError
211
211
  end
212
- class LifecycleHookLimitExceededException < ::Aws::Errors::ServiceError
212
+ class LifecycleEventAlreadyCompletedException < ServiceError
213
213
  end
214
- class MultipleIamArnsProvidedException < ::Aws::Errors::ServiceError
214
+ class LifecycleHookLimitExceededException < ServiceError
215
215
  end
216
- class OperationNotSupportedException < ::Aws::Errors::ServiceError
216
+ class MultipleIamArnsProvidedException < ServiceError
217
217
  end
218
- class ResourceArnRequiredException < ::Aws::Errors::ServiceError
218
+ class OperationNotSupportedException < ServiceError
219
219
  end
220
- class ResourceValidationException < ::Aws::Errors::ServiceError
220
+ class ResourceArnRequiredException < ServiceError
221
221
  end
222
- class RevisionDoesNotExistException < ::Aws::Errors::ServiceError
222
+ class ResourceValidationException < ServiceError
223
223
  end
224
- class RevisionRequiredException < ::Aws::Errors::ServiceError
224
+ class RevisionDoesNotExistException < ServiceError
225
225
  end
226
- class RoleRequiredException < ::Aws::Errors::ServiceError
226
+ class RevisionRequiredException < ServiceError
227
227
  end
228
- class TagLimitExceededException < ::Aws::Errors::ServiceError
228
+ class RoleRequiredException < ServiceError
229
229
  end
230
- class TagRequiredException < ::Aws::Errors::ServiceError
230
+ class TagLimitExceededException < ServiceError
231
231
  end
232
- class TagSetListLimitExceededException < ::Aws::Errors::ServiceError
232
+ class TagRequiredException < ServiceError
233
233
  end
234
- class ThrottlingException < ::Aws::Errors::ServiceError
234
+ class TagSetListLimitExceededException < ServiceError
235
235
  end
236
- class TriggerTargetsLimitExceededException < ::Aws::Errors::ServiceError
236
+ class ThrottlingException < ServiceError
237
237
  end
238
- class UnsupportedActionForDeploymentTypeException < ::Aws::Errors::ServiceError
238
+ class TriggerTargetsLimitExceededException < ServiceError
239
+ end
240
+ class UnsupportedActionForDeploymentTypeException < ServiceError
239
241
  end
240
242
  end
241
243
  end
data/sig/types.rbs CHANGED
@@ -232,6 +232,7 @@ module Aws::CodeDeploy
232
232
  attr_accessor ecs_services: ::Array[Types::ECSService]
233
233
  attr_accessor on_premises_tag_set: Types::OnPremisesTagSet
234
234
  attr_accessor tags: ::Array[Types::Tag]
235
+ attr_accessor ec2_deployment_options: Types::EC2DeploymentOptions
235
236
  attr_accessor termination_hook_enabled: bool
236
237
  SENSITIVE: []
237
238
  end
@@ -254,6 +255,7 @@ module Aws::CodeDeploy
254
255
  attr_accessor file_exists_behavior: ("DISALLOW" | "OVERWRITE" | "RETAIN")
255
256
  attr_accessor deployment_mode: ("STANDARD" | "RESTART")
256
257
  attr_accessor override_alarm_configuration: Types::AlarmConfiguration
258
+ attr_accessor ec2_deployment_options: Types::EC2DeploymentOptions
257
259
  SENSITIVE: []
258
260
  end
259
261
 
@@ -365,6 +367,7 @@ module Aws::CodeDeploy
365
367
  attr_accessor on_premises_tag_set: Types::OnPremisesTagSet
366
368
  attr_accessor compute_platform: ("Server" | "Lambda" | "ECS")
367
369
  attr_accessor ecs_services: ::Array[Types::ECSService]
370
+ attr_accessor ec2_deployment_options: Types::EC2DeploymentOptions
368
371
  attr_accessor termination_hook_enabled: bool
369
372
  SENSITIVE: []
370
373
  end
@@ -404,11 +407,13 @@ module Aws::CodeDeploy
404
407
  attr_accessor load_balancer_info: Types::LoadBalancerInfo
405
408
  attr_accessor additional_deployment_status_info: ::String
406
409
  attr_accessor file_exists_behavior: ("DISALLOW" | "OVERWRITE" | "RETAIN")
410
+ attr_accessor deployment_mode: ("STANDARD" | "RESTART")
407
411
  attr_accessor deployment_status_messages: ::Array[::String]
408
412
  attr_accessor compute_platform: ("Server" | "Lambda" | "ECS")
409
413
  attr_accessor external_id: ::String
410
414
  attr_accessor related_deployments: Types::RelatedDeployments
411
415
  attr_accessor override_alarm_configuration: Types::AlarmConfiguration
416
+ attr_accessor ec2_deployment_options: Types::EC2DeploymentOptions
412
417
  SENSITIVE: []
413
418
  end
414
419
 
@@ -477,6 +482,11 @@ module Aws::CodeDeploy
477
482
  SENSITIVE: []
478
483
  end
479
484
 
485
+ class EC2DeploymentOptions
486
+ attr_accessor auto_scaling_group_processes_to_suspend: ::Array[("Terminate" | "AZRebalance" | "InstanceRefresh" | "ScheduledActions")]
487
+ SENSITIVE: []
488
+ end
489
+
480
490
  class EC2TagFilter
481
491
  attr_accessor key: ::String
482
492
  attr_accessor value: ::String
@@ -721,6 +731,9 @@ module Aws::CodeDeploy
721
731
  class InvalidAutoScalingGroupException < Aws::EmptyStructure
722
732
  end
723
733
 
734
+ class InvalidAutoScalingGroupProcessToSuspendException < Aws::EmptyStructure
735
+ end
736
+
724
737
  class InvalidBlueGreenDeploymentConfigurationException < Aws::EmptyStructure
725
738
  end
726
739
 
@@ -1318,6 +1331,7 @@ module Aws::CodeDeploy
1318
1331
  attr_accessor ec2_tag_set: Types::EC2TagSet
1319
1332
  attr_accessor ecs_services: ::Array[Types::ECSService]
1320
1333
  attr_accessor on_premises_tag_set: Types::OnPremisesTagSet
1334
+ attr_accessor ec2_deployment_options: Types::EC2DeploymentOptions
1321
1335
  attr_accessor termination_hook_enabled: bool
1322
1336
  SENSITIVE: []
1323
1337
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codedeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.105.0
4
+ version: 1.107.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.256.0
21
+ version: 3.258.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.256.0
31
+ version: 3.258.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement