aws-sdk-codedeploy 1.106.0 → 1.108.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: '09e02bdd217eed2bbc4072180487682bd4b4831320b7b09fba32a064c37cd454'
4
- data.tar.gz: 25083d199ca706be66b05d5cdd32aa02268e2a0ec3d5fee3ef86fcebbe6a9ff6
3
+ metadata.gz: 825800ed6325b311ea52e981ca435c043efa8bad51890f71a0a7d196f7d3152c
4
+ data.tar.gz: e77d7db1fdec0c74863b6825ae51f4348fb59813b501f25fc6487469e020ff69
5
5
  SHA512:
6
- metadata.gz: e535a3ad75b2254506c2e0a949d0d2cd83d5b3c34769fe9b0a047f3241ff90d9ca0da1f43099a987369f08d9aa2d7168eb3474ff96cc58705a76408b5b9fea53
7
- data.tar.gz: d132235fb68a49e617f43a9b03a08f386238884e85531e80db3cd51115dfeae906d6266266646b059e799b41023fc354559d43da1ff9750e50b8b97009e81060
6
+ metadata.gz: 3fd67d7cebbee1c3a477bed761bb7791cfd632737426868c1f3b417273168c7622bbe8951c3732ee7b9d190bf2252ce5f34b7aa20f15dc4f9db708009f671661
7
+ data.tar.gz: b760b7e29b5d20c8f218b347a69b19aa4c3201f1d622b456d26b9ef59da21d924a79f0233928298b3770fcafd574364fff75da0e8dbb63fc606d4fdd2d4cd2ef
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.108.0 (2026-10-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.107.0 (2026-10-19)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.106.0 (2026-09-14)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.106.0
1
+ 1.108.0
@@ -199,13 +199,20 @@ module Aws::CodeDeploy
199
199
  # the required types.
200
200
  #
201
201
  # @option options [Boolean] :correct_clock_skew (true)
202
- # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
203
- # a clock skew correction and retry requests with skewed client clocks.
202
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether
203
+ # to apply a clock skew correction and retry requests with skewed client
204
+ # clocks. Takes effect only when `disable_clock_skew_correction` is not set.
204
205
  #
205
206
  # @option options [String] :defaults_mode ("legacy")
206
207
  # See {Aws::DefaultsModeConfiguration} for a list of the
207
208
  # accepted modes and the configuration defaults that are included.
208
209
  #
210
+ # @option options [Boolean] :disable_clock_skew_correction
211
+ # Used only in `standard` and `adaptive` retry modes. When `true`, the
212
+ # SDK does not apply a clock skew correction, does not update its stored
213
+ # skew from responses, and does not retry clock skew errors. Clock skew
214
+ # correction is enabled by default.
215
+ #
209
216
  # @option options [Boolean] :disable_host_prefix_injection (false)
210
217
  # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
211
218
  #
@@ -738,6 +745,8 @@ module Aws::CodeDeploy
738
745
  # resp.deployment_groups_info[0].ecs_services #=> Array
739
746
  # resp.deployment_groups_info[0].ecs_services[0].service_name #=> String
740
747
  # resp.deployment_groups_info[0].ecs_services[0].cluster_name #=> String
748
+ # resp.deployment_groups_info[0].ec2_deployment_options.auto_scaling_group_processes_to_suspend #=> Array
749
+ # resp.deployment_groups_info[0].ec2_deployment_options.auto_scaling_group_processes_to_suspend[0] #=> String, one of "Terminate", "AZRebalance", "InstanceRefresh", "ScheduledActions"
741
750
  # resp.deployment_groups_info[0].termination_hook_enabled #=> Boolean
742
751
  # resp.error_message #=> String
743
752
  #
@@ -1061,6 +1070,8 @@ module Aws::CodeDeploy
1061
1070
  # resp.deployments_info[0].override_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
1062
1071
  # resp.deployments_info[0].override_alarm_configuration.alarms #=> Array
1063
1072
  # resp.deployments_info[0].override_alarm_configuration.alarms[0].name #=> String
1073
+ # resp.deployments_info[0].ec2_deployment_options.auto_scaling_group_processes_to_suspend #=> Array
1074
+ # resp.deployments_info[0].ec2_deployment_options.auto_scaling_group_processes_to_suspend[0] #=> String, one of "Terminate", "AZRebalance", "InstanceRefresh", "ScheduledActions"
1064
1075
  #
1065
1076
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
1066
1077
  #
@@ -1314,6 +1325,10 @@ module Aws::CodeDeploy
1314
1325
  #
1315
1326
  # </note>
1316
1327
  #
1328
+ # @option params [Types::EC2DeploymentOptions] :ec2_deployment_options
1329
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
1330
+ # groups during a deployment.
1331
+ #
1317
1332
  # @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1318
1333
  #
1319
1334
  # * {Types::CreateDeploymentOutput#deployment_id #deployment_id} => String
@@ -1385,6 +1400,9 @@ module Aws::CodeDeploy
1385
1400
  # },
1386
1401
  # ],
1387
1402
  # },
1403
+ # ec2_deployment_options: {
1404
+ # auto_scaling_group_processes_to_suspend: ["Terminate"], # accepts Terminate, AZRebalance, InstanceRefresh, ScheduledActions
1405
+ # },
1388
1406
  # })
1389
1407
  #
1390
1408
  # @example Response structure
@@ -1603,6 +1621,10 @@ module Aws::CodeDeploy
1603
1621
  # you organize and categorize them. Each tag consists of a key and an
1604
1622
  # optional value, both of which you define.
1605
1623
  #
1624
+ # @option params [Types::EC2DeploymentOptions] :ec2_deployment_options
1625
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
1626
+ # groups during a deployment.
1627
+ #
1606
1628
  # @option params [Boolean] :termination_hook_enabled
1607
1629
  # This parameter only applies if you are using CodeDeploy with Amazon
1608
1630
  # EC2 Auto Scaling. For more information, see [Integrating CodeDeploy
@@ -1751,6 +1773,9 @@ module Aws::CodeDeploy
1751
1773
  # value: "Value",
1752
1774
  # },
1753
1775
  # ],
1776
+ # ec2_deployment_options: {
1777
+ # auto_scaling_group_processes_to_suspend: ["Terminate"], # accepts Terminate, AZRebalance, InstanceRefresh, ScheduledActions
1778
+ # },
1754
1779
  # termination_hook_enabled: false,
1755
1780
  # })
1756
1781
  #
@@ -2162,6 +2187,8 @@ module Aws::CodeDeploy
2162
2187
  # resp.deployment_info.override_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
2163
2188
  # resp.deployment_info.override_alarm_configuration.alarms #=> Array
2164
2189
  # resp.deployment_info.override_alarm_configuration.alarms[0].name #=> String
2190
+ # resp.deployment_info.ec2_deployment_options.auto_scaling_group_processes_to_suspend #=> Array
2191
+ # resp.deployment_info.ec2_deployment_options.auto_scaling_group_processes_to_suspend[0] #=> String, one of "Terminate", "AZRebalance", "InstanceRefresh", "ScheduledActions"
2165
2192
  #
2166
2193
  #
2167
2194
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2324,6 +2351,8 @@ module Aws::CodeDeploy
2324
2351
  # resp.deployment_group_info.ecs_services #=> Array
2325
2352
  # resp.deployment_group_info.ecs_services[0].service_name #=> String
2326
2353
  # resp.deployment_group_info.ecs_services[0].cluster_name #=> String
2354
+ # resp.deployment_group_info.ec2_deployment_options.auto_scaling_group_processes_to_suspend #=> Array
2355
+ # resp.deployment_group_info.ec2_deployment_options.auto_scaling_group_processes_to_suspend[0] #=> String, one of "Terminate", "AZRebalance", "InstanceRefresh", "ScheduledActions"
2327
2356
  # resp.deployment_group_info.termination_hook_enabled #=> Boolean
2328
2357
  #
2329
2358
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup AWS API Documentation
@@ -3508,6 +3537,10 @@ module Aws::CodeDeploy
3508
3537
  # group includes only on-premises instances identified by all the tag
3509
3538
  # groups.
3510
3539
  #
3540
+ # @option params [Types::EC2DeploymentOptions] :ec2_deployment_options
3541
+ # Options that control how CodeDeploy manages Amazon EC2 Auto Scaling
3542
+ # groups during a deployment.
3543
+ #
3511
3544
  # @option params [Boolean] :termination_hook_enabled
3512
3545
  # This parameter only applies if you are using CodeDeploy with Amazon
3513
3546
  # EC2 Auto Scaling. For more information, see [Integrating CodeDeploy
@@ -3651,6 +3684,9 @@ module Aws::CodeDeploy
3651
3684
  # ],
3652
3685
  # ],
3653
3686
  # },
3687
+ # ec2_deployment_options: {
3688
+ # auto_scaling_group_processes_to_suspend: ["Terminate"], # accepts Terminate, AZRebalance, InstanceRefresh, ScheduledActions
3689
+ # },
3654
3690
  # termination_hook_enabled: false,
3655
3691
  # })
3656
3692
  #
@@ -3688,7 +3724,7 @@ module Aws::CodeDeploy
3688
3724
  tracer: tracer
3689
3725
  )
3690
3726
  context[:gem_name] = 'aws-sdk-codedeploy'
3691
- context[:gem_version] = '1.106.0'
3727
+ context[:gem_version] = '1.108.0'
3692
3728
  Seahorse::Client::Request.new(handlers, context)
3693
3729
  end
3694
3730
 
@@ -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
 
@@ -725,6 +734,7 @@ module Aws::CodeDeploy
725
734
  DeploymentInfo.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
726
735
  DeploymentInfo.add_member(:related_deployments, Shapes::ShapeRef.new(shape: RelatedDeployments, location_name: "relatedDeployments"))
727
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"))
728
738
  DeploymentInfo.struct_class = Types::DeploymentInfo
729
739
 
730
740
  DeploymentIsNotInReadyStateException.struct_class = Types::DeploymentIsNotInReadyStateException
@@ -783,6 +793,9 @@ module Aws::CodeDeploy
783
793
  Diagnostics.add_member(:log_tail, Shapes::ShapeRef.new(shape: LogTail, location_name: "logTail"))
784
794
  Diagnostics.struct_class = Types::Diagnostics
785
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
+
786
799
  EC2TagFilter.add_member(:key, Shapes::ShapeRef.new(shape: Key, location_name: "Key"))
787
800
  EC2TagFilter.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "Value"))
788
801
  EC2TagFilter.add_member(:type, Shapes::ShapeRef.new(shape: EC2TagFilterType, location_name: "Type"))
@@ -977,6 +990,8 @@ module Aws::CodeDeploy
977
990
 
978
991
  InvalidAutoScalingGroupException.struct_class = Types::InvalidAutoScalingGroupException
979
992
 
993
+ InvalidAutoScalingGroupProcessToSuspendException.struct_class = Types::InvalidAutoScalingGroupProcessToSuspendException
994
+
980
995
  InvalidBlueGreenDeploymentConfigurationException.struct_class = Types::InvalidBlueGreenDeploymentConfigurationException
981
996
 
982
997
  InvalidBucketNameFilterException.struct_class = Types::InvalidBucketNameFilterException
@@ -1421,6 +1436,7 @@ module Aws::CodeDeploy
1421
1436
  UpdateDeploymentGroupInput.add_member(:ec2_tag_set, Shapes::ShapeRef.new(shape: EC2TagSet, location_name: "ec2TagSet"))
1422
1437
  UpdateDeploymentGroupInput.add_member(:ecs_services, Shapes::ShapeRef.new(shape: ECSServiceList, location_name: "ecsServices"))
1423
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"))
1424
1440
  UpdateDeploymentGroupInput.add_member(:termination_hook_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminationHookEnabled"))
1425
1441
  UpdateDeploymentGroupInput.struct_class = Types::UpdateDeploymentGroupInput
1426
1442
 
@@ -1628,6 +1644,7 @@ module Aws::CodeDeploy
1628
1644
  o.errors << Shapes::ShapeRef.new(shape: InvalidIgnoreApplicationStopFailuresValueException)
1629
1645
  o.errors << Shapes::ShapeRef.new(shape: InvalidGitHubAccountTokenException)
1630
1646
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrafficRoutingConfigurationException)
1647
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAutoScalingGroupProcessToSuspendException)
1631
1648
  o.errors << Shapes::ShapeRef.new(shape: InvalidECSServiceException)
1632
1649
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1633
1650
  end)
@@ -1687,6 +1704,7 @@ module Aws::CodeDeploy
1687
1704
  o.errors << Shapes::ShapeRef.new(shape: ECSServiceMappingLimitExceededException)
1688
1705
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagsToAddException)
1689
1706
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrafficRoutingConfigurationException)
1707
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAutoScalingGroupProcessToSuspendException)
1690
1708
  end)
1691
1709
 
1692
1710
  api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
@@ -2204,6 +2222,7 @@ module Aws::CodeDeploy
2204
2222
  o.errors << Shapes::ShapeRef.new(shape: InvalidTargetGroupPairException)
2205
2223
  o.errors << Shapes::ShapeRef.new(shape: ECSServiceMappingLimitExceededException)
2206
2224
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrafficRoutingConfigurationException)
2225
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAutoScalingGroupProcessToSuspendException)
2207
2226
  end)
2208
2227
  end
2209
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
@@ -1138,6 +1144,11 @@ module Aws::CodeDeploy
1138
1144
  # </note>
1139
1145
  # @return [Types::AlarmConfiguration]
1140
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
+ #
1141
1152
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput AWS API Documentation
1142
1153
  #
1143
1154
  class CreateDeploymentInput < Struct.new(
@@ -1152,7 +1163,8 @@ module Aws::CodeDeploy
1152
1163
  :update_outdated_instances_only,
1153
1164
  :file_exists_behavior,
1154
1165
  :deployment_mode,
1155
- :override_alarm_configuration)
1166
+ :override_alarm_configuration,
1167
+ :ec2_deployment_options)
1156
1168
  SENSITIVE = []
1157
1169
  include Aws::Structure
1158
1170
  end
@@ -1527,6 +1539,11 @@ module Aws::CodeDeploy
1527
1539
  # `<clustername>:<servicename>`.
1528
1540
  # @return [Array<Types::ECSService>]
1529
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
+ #
1530
1547
  # @!attribute [rw] termination_hook_enabled
1531
1548
  # Indicates whether the deployment group was configured to have
1532
1549
  # CodeDeploy install a termination hook into an Auto Scaling group.
@@ -1565,6 +1582,7 @@ module Aws::CodeDeploy
1565
1582
  :on_premises_tag_set,
1566
1583
  :compute_platform,
1567
1584
  :ecs_services,
1585
+ :ec2_deployment_options,
1568
1586
  :termination_hook_enabled)
1569
1587
  SENSITIVE = []
1570
1588
  include Aws::Structure
@@ -1793,6 +1811,11 @@ module Aws::CodeDeploy
1793
1811
  # group.
1794
1812
  # @return [Types::AlarmConfiguration]
1795
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
+ #
1796
1819
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo AWS API Documentation
1797
1820
  #
1798
1821
  class DeploymentInfo < Struct.new(
@@ -1826,7 +1849,8 @@ module Aws::CodeDeploy
1826
1849
  :compute_platform,
1827
1850
  :external_id,
1828
1851
  :related_deployments,
1829
- :override_alarm_configuration)
1852
+ :override_alarm_configuration,
1853
+ :ec2_deployment_options)
1830
1854
  SENSITIVE = []
1831
1855
  include Aws::Structure
1832
1856
  end
@@ -2079,6 +2103,50 @@ module Aws::CodeDeploy
2079
2103
  include Aws::Structure
2080
2104
  end
2081
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
+
2082
2150
  # Information about an EC2 tag filter.
2083
2151
  #
2084
2152
  # @!attribute [rw] key
@@ -2977,6 +3045,15 @@ module Aws::CodeDeploy
2977
3045
  #
2978
3046
  class InvalidAutoScalingGroupException < Aws::EmptyStructure; end
2979
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
+
2980
3057
  # The configuration for the blue/green deployment group was provided in
2981
3058
  # an invalid format. For information about deployment configuration
2982
3059
  # format, see CreateDeploymentConfig.
@@ -5146,6 +5223,11 @@ module Aws::CodeDeploy
5146
5223
  # groups.
5147
5224
  # @return [Types::OnPremisesTagSet]
5148
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
+ #
5149
5231
  # @!attribute [rw] termination_hook_enabled
5150
5232
  # This parameter only applies if you are using CodeDeploy with Amazon
5151
5233
  # EC2 Auto Scaling. For more information, see [Integrating CodeDeploy
@@ -5191,6 +5273,7 @@ module Aws::CodeDeploy
5191
5273
  :ec2_tag_set,
5192
5274
  :ecs_services,
5193
5275
  :on_premises_tag_set,
5276
+ :ec2_deployment_options,
5194
5277
  :termination_hook_enabled)
5195
5278
  SENSITIVE = []
5196
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.106.0'
58
+ GEM_VERSION = '1.108.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -27,6 +27,7 @@ module Aws
27
27
  ?convert_params: bool,
28
28
  ?correct_clock_skew: bool,
29
29
  ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
30
31
  ?disable_host_prefix_injection: bool,
31
32
  ?disable_request_compression: bool,
32
33
  ?endpoint: String,
@@ -243,6 +244,9 @@ module Aws
243
244
  name: ::String?
244
245
  }
245
246
  ]?
247
+ },
248
+ ?ec2_deployment_options: {
249
+ auto_scaling_group_processes_to_suspend: Array[("Terminate" | "AZRebalance" | "InstanceRefresh" | "ScheduledActions")]?
246
250
  }
247
251
  ) -> _CreateDeploymentResponseSuccess
248
252
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentResponseSuccess
@@ -367,6 +371,9 @@ module Aws
367
371
  value: ::String?
368
372
  }
369
373
  ],
374
+ ?ec2_deployment_options: {
375
+ auto_scaling_group_processes_to_suspend: Array[("Terminate" | "AZRebalance" | "InstanceRefresh" | "ScheduledActions")]?
376
+ },
370
377
  ?termination_hook_enabled: bool
371
378
  ) -> _CreateDeploymentGroupResponseSuccess
372
379
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentGroupResponseSuccess
@@ -816,6 +823,9 @@ module Aws
816
823
  ]
817
824
  ]?
818
825
  },
826
+ ?ec2_deployment_options: {
827
+ auto_scaling_group_processes_to_suspend: Array[("Terminate" | "AZRebalance" | "InstanceRefresh" | "ScheduledActions")]?
828
+ },
819
829
  ?termination_hook_enabled: bool
820
830
  ) -> _UpdateDeploymentGroupResponseSuccess
821
831
  | (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/resource.rbs CHANGED
@@ -27,6 +27,7 @@ module Aws
27
27
  ?convert_params: bool,
28
28
  ?correct_clock_skew: bool,
29
29
  ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
30
31
  ?disable_host_prefix_injection: bool,
31
32
  ?disable_request_compression: bool,
32
33
  ?endpoint: String,
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
@@ -410,6 +413,7 @@ module Aws::CodeDeploy
410
413
  attr_accessor external_id: ::String
411
414
  attr_accessor related_deployments: Types::RelatedDeployments
412
415
  attr_accessor override_alarm_configuration: Types::AlarmConfiguration
416
+ attr_accessor ec2_deployment_options: Types::EC2DeploymentOptions
413
417
  SENSITIVE: []
414
418
  end
415
419
 
@@ -478,6 +482,11 @@ module Aws::CodeDeploy
478
482
  SENSITIVE: []
479
483
  end
480
484
 
485
+ class EC2DeploymentOptions
486
+ attr_accessor auto_scaling_group_processes_to_suspend: ::Array[("Terminate" | "AZRebalance" | "InstanceRefresh" | "ScheduledActions")]
487
+ SENSITIVE: []
488
+ end
489
+
481
490
  class EC2TagFilter
482
491
  attr_accessor key: ::String
483
492
  attr_accessor value: ::String
@@ -722,6 +731,9 @@ module Aws::CodeDeploy
722
731
  class InvalidAutoScalingGroupException < Aws::EmptyStructure
723
732
  end
724
733
 
734
+ class InvalidAutoScalingGroupProcessToSuspendException < Aws::EmptyStructure
735
+ end
736
+
725
737
  class InvalidBlueGreenDeploymentConfigurationException < Aws::EmptyStructure
726
738
  end
727
739
 
@@ -1319,6 +1331,7 @@ module Aws::CodeDeploy
1319
1331
  attr_accessor ec2_tag_set: Types::EC2TagSet
1320
1332
  attr_accessor ecs_services: ::Array[Types::ECSService]
1321
1333
  attr_accessor on_premises_tag_set: Types::OnPremisesTagSet
1334
+ attr_accessor ec2_deployment_options: Types::EC2DeploymentOptions
1322
1335
  attr_accessor termination_hook_enabled: bool
1323
1336
  SENSITIVE: []
1324
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.106.0
4
+ version: 1.108.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