aws-sdk-codedeploy 1.106.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +30 -1
- data/lib/aws-sdk-codedeploy/client_api.rb +19 -0
- data/lib/aws-sdk-codedeploy/errors.rb +11 -0
- data/lib/aws-sdk-codedeploy/types.rb +85 -2
- data/lib/aws-sdk-codedeploy.rb +1 -1
- data/sig/client.rbs +9 -0
- data/sig/errors.rbs +115 -113
- data/sig/types.rbs +13 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a142e7f8bcf77d87a1cfc208b3c1b6a330eb2b3e7f8e7da0075b1f20dbee13b
|
|
4
|
+
data.tar.gz: afbd634794bb55d53ccfbc4a513428b5ba40b318e459fb81ce809eecfbb1ba53
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e58a7296c73c44ad1d535bb7bf525e0562c08db44b541b1e14a87af9ad8ae3188e2dde0c902082fd7580a15c6f12e3524292264a0a53919afcb14977939baa0e
|
|
7
|
+
data.tar.gz: f0b8908b3970edae094e249f7c232746df6088405908351ddb6a6e895828e2d7152f324a5ed891739186ec7091eea412fea528356ccbcaed8387f0c5a4172ffb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
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
|
+
|
|
4
9
|
1.106.0 (2026-09-14)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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
|
#
|
|
@@ -1061,6 +1063,8 @@ module Aws::CodeDeploy
|
|
|
1061
1063
|
# resp.deployments_info[0].override_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
|
1062
1064
|
# resp.deployments_info[0].override_alarm_configuration.alarms #=> Array
|
|
1063
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"
|
|
1064
1068
|
#
|
|
1065
1069
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
|
|
1066
1070
|
#
|
|
@@ -1314,6 +1318,10 @@ module Aws::CodeDeploy
|
|
|
1314
1318
|
#
|
|
1315
1319
|
# </note>
|
|
1316
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
|
+
#
|
|
1317
1325
|
# @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1318
1326
|
#
|
|
1319
1327
|
# * {Types::CreateDeploymentOutput#deployment_id #deployment_id} => String
|
|
@@ -1385,6 +1393,9 @@ module Aws::CodeDeploy
|
|
|
1385
1393
|
# },
|
|
1386
1394
|
# ],
|
|
1387
1395
|
# },
|
|
1396
|
+
# ec2_deployment_options: {
|
|
1397
|
+
# auto_scaling_group_processes_to_suspend: ["Terminate"], # accepts Terminate, AZRebalance, InstanceRefresh, ScheduledActions
|
|
1398
|
+
# },
|
|
1388
1399
|
# })
|
|
1389
1400
|
#
|
|
1390
1401
|
# @example Response structure
|
|
@@ -1603,6 +1614,10 @@ module Aws::CodeDeploy
|
|
|
1603
1614
|
# you organize and categorize them. Each tag consists of a key and an
|
|
1604
1615
|
# optional value, both of which you define.
|
|
1605
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
|
+
#
|
|
1606
1621
|
# @option params [Boolean] :termination_hook_enabled
|
|
1607
1622
|
# This parameter only applies if you are using CodeDeploy with Amazon
|
|
1608
1623
|
# EC2 Auto Scaling. For more information, see [Integrating CodeDeploy
|
|
@@ -1751,6 +1766,9 @@ module Aws::CodeDeploy
|
|
|
1751
1766
|
# value: "Value",
|
|
1752
1767
|
# },
|
|
1753
1768
|
# ],
|
|
1769
|
+
# ec2_deployment_options: {
|
|
1770
|
+
# auto_scaling_group_processes_to_suspend: ["Terminate"], # accepts Terminate, AZRebalance, InstanceRefresh, ScheduledActions
|
|
1771
|
+
# },
|
|
1754
1772
|
# termination_hook_enabled: false,
|
|
1755
1773
|
# })
|
|
1756
1774
|
#
|
|
@@ -2162,6 +2180,8 @@ module Aws::CodeDeploy
|
|
|
2162
2180
|
# resp.deployment_info.override_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
|
2163
2181
|
# resp.deployment_info.override_alarm_configuration.alarms #=> Array
|
|
2164
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"
|
|
2165
2185
|
#
|
|
2166
2186
|
#
|
|
2167
2187
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -2324,6 +2344,8 @@ module Aws::CodeDeploy
|
|
|
2324
2344
|
# resp.deployment_group_info.ecs_services #=> Array
|
|
2325
2345
|
# resp.deployment_group_info.ecs_services[0].service_name #=> String
|
|
2326
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"
|
|
2327
2349
|
# resp.deployment_group_info.termination_hook_enabled #=> Boolean
|
|
2328
2350
|
#
|
|
2329
2351
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup AWS API Documentation
|
|
@@ -3508,6 +3530,10 @@ module Aws::CodeDeploy
|
|
|
3508
3530
|
# group includes only on-premises instances identified by all the tag
|
|
3509
3531
|
# groups.
|
|
3510
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
|
+
#
|
|
3511
3537
|
# @option params [Boolean] :termination_hook_enabled
|
|
3512
3538
|
# This parameter only applies if you are using CodeDeploy with Amazon
|
|
3513
3539
|
# EC2 Auto Scaling. For more information, see [Integrating CodeDeploy
|
|
@@ -3651,6 +3677,9 @@ module Aws::CodeDeploy
|
|
|
3651
3677
|
# ],
|
|
3652
3678
|
# ],
|
|
3653
3679
|
# },
|
|
3680
|
+
# ec2_deployment_options: {
|
|
3681
|
+
# auto_scaling_group_processes_to_suspend: ["Terminate"], # accepts Terminate, AZRebalance, InstanceRefresh, ScheduledActions
|
|
3682
|
+
# },
|
|
3654
3683
|
# termination_hook_enabled: false,
|
|
3655
3684
|
# })
|
|
3656
3685
|
#
|
|
@@ -3688,7 +3717,7 @@ module Aws::CodeDeploy
|
|
|
3688
3717
|
tracer: tracer
|
|
3689
3718
|
)
|
|
3690
3719
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
|
3691
|
-
context[:gem_version] = '1.
|
|
3720
|
+
context[:gem_version] = '1.107.0'
|
|
3692
3721
|
Seahorse::Client::Request.new(handlers, context)
|
|
3693
3722
|
end
|
|
3694
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
|
|
|
@@ -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
|
data/lib/aws-sdk-codedeploy.rb
CHANGED
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 <
|
|
14
|
+
class AlarmsLimitExceededException < ServiceError
|
|
15
15
|
end
|
|
16
|
-
class ApplicationAlreadyExistsException <
|
|
16
|
+
class ApplicationAlreadyExistsException < ServiceError
|
|
17
17
|
end
|
|
18
|
-
class ApplicationDoesNotExistException <
|
|
18
|
+
class ApplicationDoesNotExistException < ServiceError
|
|
19
19
|
end
|
|
20
|
-
class ApplicationLimitExceededException <
|
|
20
|
+
class ApplicationLimitExceededException < ServiceError
|
|
21
21
|
end
|
|
22
|
-
class ApplicationNameRequiredException <
|
|
22
|
+
class ApplicationNameRequiredException < ServiceError
|
|
23
23
|
end
|
|
24
|
-
class ArnNotSupportedException <
|
|
24
|
+
class ArnNotSupportedException < ServiceError
|
|
25
25
|
end
|
|
26
|
-
class BatchLimitExceededException <
|
|
26
|
+
class BatchLimitExceededException < ServiceError
|
|
27
27
|
end
|
|
28
|
-
class BucketNameFilterRequiredException <
|
|
28
|
+
class BucketNameFilterRequiredException < ServiceError
|
|
29
29
|
end
|
|
30
|
-
class DeploymentAlreadyCompletedException <
|
|
30
|
+
class DeploymentAlreadyCompletedException < ServiceError
|
|
31
31
|
end
|
|
32
|
-
class DeploymentAlreadyStartedException <
|
|
32
|
+
class DeploymentAlreadyStartedException < ServiceError
|
|
33
33
|
end
|
|
34
|
-
class DeploymentConfigAlreadyExistsException <
|
|
34
|
+
class DeploymentConfigAlreadyExistsException < ServiceError
|
|
35
35
|
end
|
|
36
|
-
class DeploymentConfigDoesNotExistException <
|
|
36
|
+
class DeploymentConfigDoesNotExistException < ServiceError
|
|
37
37
|
end
|
|
38
|
-
class DeploymentConfigInUseException <
|
|
38
|
+
class DeploymentConfigInUseException < ServiceError
|
|
39
39
|
end
|
|
40
|
-
class DeploymentConfigLimitExceededException <
|
|
40
|
+
class DeploymentConfigLimitExceededException < ServiceError
|
|
41
41
|
end
|
|
42
|
-
class DeploymentConfigNameRequiredException <
|
|
42
|
+
class DeploymentConfigNameRequiredException < ServiceError
|
|
43
43
|
end
|
|
44
|
-
class DeploymentDoesNotExistException <
|
|
44
|
+
class DeploymentDoesNotExistException < ServiceError
|
|
45
45
|
end
|
|
46
|
-
class DeploymentGroupAlreadyExistsException <
|
|
46
|
+
class DeploymentGroupAlreadyExistsException < ServiceError
|
|
47
47
|
end
|
|
48
|
-
class DeploymentGroupDoesNotExistException <
|
|
48
|
+
class DeploymentGroupDoesNotExistException < ServiceError
|
|
49
49
|
end
|
|
50
|
-
class DeploymentGroupLimitExceededException <
|
|
50
|
+
class DeploymentGroupLimitExceededException < ServiceError
|
|
51
51
|
end
|
|
52
|
-
class DeploymentGroupNameRequiredException <
|
|
52
|
+
class DeploymentGroupNameRequiredException < ServiceError
|
|
53
53
|
end
|
|
54
|
-
class DeploymentIdRequiredException <
|
|
54
|
+
class DeploymentIdRequiredException < ServiceError
|
|
55
55
|
end
|
|
56
|
-
class DeploymentIsNotInReadyStateException <
|
|
56
|
+
class DeploymentIsNotInReadyStateException < ServiceError
|
|
57
57
|
end
|
|
58
|
-
class DeploymentLimitExceededException <
|
|
58
|
+
class DeploymentLimitExceededException < ServiceError
|
|
59
59
|
end
|
|
60
|
-
class DeploymentNotStartedException <
|
|
60
|
+
class DeploymentNotStartedException < ServiceError
|
|
61
61
|
end
|
|
62
|
-
class DeploymentTargetDoesNotExistException <
|
|
62
|
+
class DeploymentTargetDoesNotExistException < ServiceError
|
|
63
63
|
end
|
|
64
|
-
class DeploymentTargetIdRequiredException <
|
|
64
|
+
class DeploymentTargetIdRequiredException < ServiceError
|
|
65
65
|
end
|
|
66
|
-
class DeploymentTargetListSizeExceededException <
|
|
66
|
+
class DeploymentTargetListSizeExceededException < ServiceError
|
|
67
67
|
end
|
|
68
|
-
class DescriptionTooLongException <
|
|
68
|
+
class DescriptionTooLongException < ServiceError
|
|
69
69
|
end
|
|
70
|
-
class ECSServiceMappingLimitExceededException <
|
|
70
|
+
class ECSServiceMappingLimitExceededException < ServiceError
|
|
71
71
|
end
|
|
72
|
-
class GitHubAccountTokenDoesNotExistException <
|
|
72
|
+
class GitHubAccountTokenDoesNotExistException < ServiceError
|
|
73
73
|
end
|
|
74
|
-
class GitHubAccountTokenNameRequiredException <
|
|
74
|
+
class GitHubAccountTokenNameRequiredException < ServiceError
|
|
75
75
|
end
|
|
76
|
-
class IamArnRequiredException <
|
|
76
|
+
class IamArnRequiredException < ServiceError
|
|
77
77
|
end
|
|
78
|
-
class IamSessionArnAlreadyRegisteredException <
|
|
78
|
+
class IamSessionArnAlreadyRegisteredException < ServiceError
|
|
79
79
|
end
|
|
80
|
-
class IamUserArnAlreadyRegisteredException <
|
|
80
|
+
class IamUserArnAlreadyRegisteredException < ServiceError
|
|
81
81
|
end
|
|
82
|
-
class IamUserArnRequiredException <
|
|
82
|
+
class IamUserArnRequiredException < ServiceError
|
|
83
83
|
end
|
|
84
|
-
class InstanceDoesNotExistException <
|
|
84
|
+
class InstanceDoesNotExistException < ServiceError
|
|
85
85
|
end
|
|
86
|
-
class InstanceIdRequiredException <
|
|
86
|
+
class InstanceIdRequiredException < ServiceError
|
|
87
87
|
end
|
|
88
|
-
class InstanceLimitExceededException <
|
|
88
|
+
class InstanceLimitExceededException < ServiceError
|
|
89
89
|
end
|
|
90
|
-
class InstanceNameAlreadyRegisteredException <
|
|
90
|
+
class InstanceNameAlreadyRegisteredException < ServiceError
|
|
91
91
|
end
|
|
92
|
-
class InstanceNameRequiredException <
|
|
92
|
+
class InstanceNameRequiredException < ServiceError
|
|
93
93
|
end
|
|
94
|
-
class InstanceNotRegisteredException <
|
|
94
|
+
class InstanceNotRegisteredException < ServiceError
|
|
95
95
|
end
|
|
96
|
-
class InvalidAlarmConfigException <
|
|
96
|
+
class InvalidAlarmConfigException < ServiceError
|
|
97
97
|
end
|
|
98
|
-
class InvalidApplicationNameException <
|
|
98
|
+
class InvalidApplicationNameException < ServiceError
|
|
99
99
|
end
|
|
100
|
-
class InvalidArnException <
|
|
100
|
+
class InvalidArnException < ServiceError
|
|
101
101
|
end
|
|
102
|
-
class InvalidAutoRollbackConfigException <
|
|
102
|
+
class InvalidAutoRollbackConfigException < ServiceError
|
|
103
103
|
end
|
|
104
|
-
class InvalidAutoScalingGroupException <
|
|
104
|
+
class InvalidAutoScalingGroupException < ServiceError
|
|
105
105
|
end
|
|
106
|
-
class
|
|
106
|
+
class InvalidAutoScalingGroupProcessToSuspendException < ServiceError
|
|
107
107
|
end
|
|
108
|
-
class
|
|
108
|
+
class InvalidBlueGreenDeploymentConfigurationException < ServiceError
|
|
109
109
|
end
|
|
110
|
-
class
|
|
110
|
+
class InvalidBucketNameFilterException < ServiceError
|
|
111
111
|
end
|
|
112
|
-
class
|
|
112
|
+
class InvalidComputePlatformException < ServiceError
|
|
113
113
|
end
|
|
114
|
-
class
|
|
114
|
+
class InvalidDeployedStateFilterException < ServiceError
|
|
115
115
|
end
|
|
116
|
-
class
|
|
116
|
+
class InvalidDeploymentConfigNameException < ServiceError
|
|
117
117
|
end
|
|
118
|
-
class
|
|
118
|
+
class InvalidDeploymentGroupNameException < ServiceError
|
|
119
119
|
end
|
|
120
|
-
class
|
|
120
|
+
class InvalidDeploymentIdException < ServiceError
|
|
121
121
|
end
|
|
122
|
-
class
|
|
122
|
+
class InvalidDeploymentInstanceTypeException < ServiceError
|
|
123
123
|
end
|
|
124
|
-
class
|
|
124
|
+
class InvalidDeploymentStatusException < ServiceError
|
|
125
125
|
end
|
|
126
|
-
class
|
|
126
|
+
class InvalidDeploymentStyleException < ServiceError
|
|
127
127
|
end
|
|
128
|
-
class
|
|
128
|
+
class InvalidDeploymentTargetIdException < ServiceError
|
|
129
129
|
end
|
|
130
|
-
class
|
|
130
|
+
class InvalidDeploymentWaitTypeException < ServiceError
|
|
131
131
|
end
|
|
132
|
-
class
|
|
132
|
+
class InvalidEC2TagCombinationException < ServiceError
|
|
133
133
|
end
|
|
134
|
-
class
|
|
134
|
+
class InvalidEC2TagException < ServiceError
|
|
135
135
|
end
|
|
136
|
-
class
|
|
136
|
+
class InvalidECSServiceException < ServiceError
|
|
137
137
|
end
|
|
138
|
-
class
|
|
138
|
+
class InvalidExternalIdException < ServiceError
|
|
139
139
|
end
|
|
140
|
-
class
|
|
140
|
+
class InvalidFileExistsBehaviorException < ServiceError
|
|
141
141
|
end
|
|
142
|
-
class
|
|
142
|
+
class InvalidGitHubAccountTokenException < ServiceError
|
|
143
143
|
end
|
|
144
|
-
class
|
|
144
|
+
class InvalidGitHubAccountTokenNameException < ServiceError
|
|
145
145
|
end
|
|
146
|
-
class
|
|
146
|
+
class InvalidIamSessionArnException < ServiceError
|
|
147
147
|
end
|
|
148
|
-
class
|
|
148
|
+
class InvalidIamUserArnException < ServiceError
|
|
149
149
|
end
|
|
150
|
-
class
|
|
150
|
+
class InvalidIgnoreApplicationStopFailuresValueException < ServiceError
|
|
151
151
|
end
|
|
152
|
-
class
|
|
152
|
+
class InvalidInputException < ServiceError
|
|
153
153
|
end
|
|
154
|
-
class
|
|
154
|
+
class InvalidInstanceIdException < ServiceError
|
|
155
155
|
end
|
|
156
|
-
class
|
|
156
|
+
class InvalidInstanceNameException < ServiceError
|
|
157
157
|
end
|
|
158
|
-
class
|
|
158
|
+
class InvalidInstanceStatusException < ServiceError
|
|
159
159
|
end
|
|
160
|
-
class
|
|
160
|
+
class InvalidInstanceTypeException < ServiceError
|
|
161
161
|
end
|
|
162
|
-
class
|
|
162
|
+
class InvalidKeyPrefixFilterException < ServiceError
|
|
163
163
|
end
|
|
164
|
-
class
|
|
164
|
+
class InvalidLifecycleEventHookExecutionIdException < ServiceError
|
|
165
165
|
end
|
|
166
|
-
class
|
|
166
|
+
class InvalidLifecycleEventHookExecutionStatusException < ServiceError
|
|
167
167
|
end
|
|
168
|
-
class
|
|
168
|
+
class InvalidLoadBalancerInfoException < ServiceError
|
|
169
169
|
end
|
|
170
|
-
class
|
|
170
|
+
class InvalidMinimumHealthyHostValueException < ServiceError
|
|
171
171
|
end
|
|
172
|
-
class
|
|
172
|
+
class InvalidNextTokenException < ServiceError
|
|
173
173
|
end
|
|
174
|
-
class
|
|
174
|
+
class InvalidOnPremisesTagCombinationException < ServiceError
|
|
175
175
|
end
|
|
176
|
-
class
|
|
176
|
+
class InvalidOperationException < ServiceError
|
|
177
177
|
end
|
|
178
|
-
class
|
|
178
|
+
class InvalidRegistrationStatusException < ServiceError
|
|
179
179
|
end
|
|
180
|
-
class
|
|
180
|
+
class InvalidRevisionException < ServiceError
|
|
181
181
|
end
|
|
182
|
-
class
|
|
182
|
+
class InvalidRoleException < ServiceError
|
|
183
183
|
end
|
|
184
|
-
class
|
|
184
|
+
class InvalidSortByException < ServiceError
|
|
185
185
|
end
|
|
186
|
-
class
|
|
186
|
+
class InvalidSortOrderException < ServiceError
|
|
187
187
|
end
|
|
188
|
-
class
|
|
188
|
+
class InvalidTagException < ServiceError
|
|
189
189
|
end
|
|
190
|
-
class
|
|
190
|
+
class InvalidTagFilterException < ServiceError
|
|
191
191
|
end
|
|
192
|
-
class
|
|
192
|
+
class InvalidTagsToAddException < ServiceError
|
|
193
193
|
end
|
|
194
|
-
class
|
|
194
|
+
class InvalidTargetException < ServiceError
|
|
195
195
|
end
|
|
196
|
-
class
|
|
196
|
+
class InvalidTargetFilterNameException < ServiceError
|
|
197
197
|
end
|
|
198
|
-
class
|
|
198
|
+
class InvalidTargetGroupPairException < ServiceError
|
|
199
199
|
end
|
|
200
|
-
class
|
|
200
|
+
class InvalidTargetInstancesException < ServiceError
|
|
201
201
|
end
|
|
202
|
-
class
|
|
202
|
+
class InvalidTimeRangeException < ServiceError
|
|
203
203
|
end
|
|
204
|
-
class
|
|
204
|
+
class InvalidTrafficRoutingConfigurationException < ServiceError
|
|
205
205
|
end
|
|
206
|
-
class
|
|
206
|
+
class InvalidTriggerConfigException < ServiceError
|
|
207
207
|
end
|
|
208
|
-
class
|
|
208
|
+
class InvalidUpdateOutdatedInstancesOnlyValueException < ServiceError
|
|
209
209
|
end
|
|
210
|
-
class
|
|
210
|
+
class InvalidZonalDeploymentConfigurationException < ServiceError
|
|
211
211
|
end
|
|
212
|
-
class
|
|
212
|
+
class LifecycleEventAlreadyCompletedException < ServiceError
|
|
213
213
|
end
|
|
214
|
-
class
|
|
214
|
+
class LifecycleHookLimitExceededException < ServiceError
|
|
215
215
|
end
|
|
216
|
-
class
|
|
216
|
+
class MultipleIamArnsProvidedException < ServiceError
|
|
217
217
|
end
|
|
218
|
-
class
|
|
218
|
+
class OperationNotSupportedException < ServiceError
|
|
219
219
|
end
|
|
220
|
-
class
|
|
220
|
+
class ResourceArnRequiredException < ServiceError
|
|
221
221
|
end
|
|
222
|
-
class
|
|
222
|
+
class ResourceValidationException < ServiceError
|
|
223
223
|
end
|
|
224
|
-
class
|
|
224
|
+
class RevisionDoesNotExistException < ServiceError
|
|
225
225
|
end
|
|
226
|
-
class
|
|
226
|
+
class RevisionRequiredException < ServiceError
|
|
227
227
|
end
|
|
228
|
-
class
|
|
228
|
+
class RoleRequiredException < ServiceError
|
|
229
229
|
end
|
|
230
|
-
class
|
|
230
|
+
class TagLimitExceededException < ServiceError
|
|
231
231
|
end
|
|
232
|
-
class
|
|
232
|
+
class TagRequiredException < ServiceError
|
|
233
233
|
end
|
|
234
|
-
class
|
|
234
|
+
class TagSetListLimitExceededException < ServiceError
|
|
235
235
|
end
|
|
236
|
-
class
|
|
236
|
+
class ThrottlingException < ServiceError
|
|
237
237
|
end
|
|
238
|
-
class
|
|
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
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
31
|
+
version: 3.258.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|