aws-sdk-codedeploy 1.102.0 → 1.103.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: 76b669b06cc4efc690891fd457dfa07b8ae96f89705aed5075a92ced1872f7c1
4
- data.tar.gz: 4a6ec8dcb6fc21e0f854f1e3b3e0e8c25d3b9e5276cd290d614696cffa42cfd2
3
+ metadata.gz: 529abec34d0481268222fee32040a2fdcb2480c96266122b6103c848ba09e45f
4
+ data.tar.gz: a5c1cd39016f543f4ea1e576818485f9c4182bf28d903205b7d8c908c3b2fa2f
5
5
  SHA512:
6
- metadata.gz: f0c2ec33f6e1dc4b0261d4545fe8c9ffa36fc2d3d2c5f174b98c103687ad3620f7f5b7ba4fdcc41e2d8d2e33f72dae6e1cc5be1a2afa6c73c6e74f08eebb47d5
7
- data.tar.gz: 3ce8b224f1e9842791ce00bdac5d39fb007f39a2d82e936b012b6b668c5bfd2cbc3c31a1f4721118ba9c11d6088c1b9dec9274588f1440396a9b150a38f0324d
6
+ metadata.gz: 9965825d50c5963d34ac018b8d1ce93da51c56c60db155b341810859129171525a8074b94527368d7773e8e783194d3cc349a63db5812030e855e9ba776ad034
7
+ data.tar.gz: 2274b0d01e8a2aeae2630abd8bf8334e5de032259387e24894c75d776c0a2af3cd86cecb02f2386c19e97f6cfd027c8148b3cf482f6c3f461ce3c0c007f29d20
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.103.0 (2026-08-27)
5
+ ------------------
6
+
7
+ * Feature - Added a deploymentMode parameter to CreateDeployment. Set it to RESTART to restart an EC2 and on-premises fleet, using the last successful revision, honoring Deployment Configuration.
8
+
4
9
  1.102.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.102.0
1
+ 1.103.0
@@ -1271,6 +1271,13 @@ module Aws::CodeDeploy
1271
1271
  # * RETAIN: The version of the file already on the instance is kept and
1272
1272
  # used as part of the new deployment.
1273
1273
  #
1274
+ # @option params [String] :deployment_mode
1275
+ # The deployment mode to use for the deployment. When set to STANDARD
1276
+ # (the default), the deployment runs the standard set of deployment
1277
+ # lifecycle events. When set to RESTART, an EC2/On-premises in-place
1278
+ # deployment runs a shortened set of lifecycle events to quickly restart
1279
+ # the application on the target instances.
1280
+ #
1274
1281
  # @option params [Types::AlarmConfiguration] :override_alarm_configuration
1275
1282
  # Allows you to specify information about alarms associated with a
1276
1283
  # deployment. The alarm configuration that you specify here will
@@ -1351,6 +1358,7 @@ module Aws::CodeDeploy
1351
1358
  # },
1352
1359
  # update_outdated_instances_only: false,
1353
1360
  # file_exists_behavior: "DISALLOW", # accepts DISALLOW, OVERWRITE, RETAIN
1361
+ # deployment_mode: "STANDARD", # accepts STANDARD, RESTART
1354
1362
  # override_alarm_configuration: {
1355
1363
  # enabled: false,
1356
1364
  # ignore_poll_alarm_failure: false,
@@ -3662,7 +3670,7 @@ module Aws::CodeDeploy
3662
3670
  tracer: tracer
3663
3671
  )
3664
3672
  context[:gem_name] = 'aws-sdk-codedeploy'
3665
- context[:gem_version] = '1.102.0'
3673
+ context[:gem_version] = '1.103.0'
3666
3674
  Seahorse::Client::Request.new(handlers, context)
3667
3675
  end
3668
3676
 
@@ -110,6 +110,7 @@ module Aws::CodeDeploy
110
110
  DeploymentInfo = Shapes::StructureShape.new(name: 'DeploymentInfo')
111
111
  DeploymentIsNotInReadyStateException = Shapes::StructureShape.new(name: 'DeploymentIsNotInReadyStateException')
112
112
  DeploymentLimitExceededException = Shapes::StructureShape.new(name: 'DeploymentLimitExceededException')
113
+ DeploymentMode = Shapes::StringShape.new(name: 'DeploymentMode')
113
114
  DeploymentNotStartedException = Shapes::StructureShape.new(name: 'DeploymentNotStartedException')
114
115
  DeploymentOption = Shapes::StringShape.new(name: 'DeploymentOption')
115
116
  DeploymentOverview = Shapes::StructureShape.new(name: 'DeploymentOverview')
@@ -596,6 +597,7 @@ module Aws::CodeDeploy
596
597
  CreateDeploymentInput.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
597
598
  CreateDeploymentInput.add_member(:update_outdated_instances_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "updateOutdatedInstancesOnly"))
598
599
  CreateDeploymentInput.add_member(:file_exists_behavior, Shapes::ShapeRef.new(shape: FileExistsBehavior, location_name: "fileExistsBehavior"))
600
+ CreateDeploymentInput.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
599
601
  CreateDeploymentInput.add_member(:override_alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "overrideAlarmConfiguration"))
600
602
  CreateDeploymentInput.struct_class = Types::CreateDeploymentInput
601
603
 
@@ -1589,6 +1591,7 @@ module Aws::CodeDeploy
1589
1591
  o.errors << Shapes::ShapeRef.new(shape: ApplicationLimitExceededException)
1590
1592
  o.errors << Shapes::ShapeRef.new(shape: InvalidComputePlatformException)
1591
1593
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagsToAddException)
1594
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1592
1595
  end)
1593
1596
 
1594
1597
  api.add_operation(:create_deployment, Seahorse::Model::Operation.new.tap do |o|
@@ -1616,6 +1619,7 @@ module Aws::CodeDeploy
1616
1619
  o.errors << Shapes::ShapeRef.new(shape: InvalidAutoRollbackConfigException)
1617
1620
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerInfoException)
1618
1621
  o.errors << Shapes::ShapeRef.new(shape: InvalidFileExistsBehaviorException)
1622
+ o.errors << Shapes::ShapeRef.new(shape: InvalidComputePlatformException)
1619
1623
  o.errors << Shapes::ShapeRef.new(shape: InvalidRoleException)
1620
1624
  o.errors << Shapes::ShapeRef.new(shape: InvalidAutoScalingGroupException)
1621
1625
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
@@ -1623,6 +1627,8 @@ module Aws::CodeDeploy
1623
1627
  o.errors << Shapes::ShapeRef.new(shape: InvalidIgnoreApplicationStopFailuresValueException)
1624
1628
  o.errors << Shapes::ShapeRef.new(shape: InvalidGitHubAccountTokenException)
1625
1629
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrafficRoutingConfigurationException)
1630
+ o.errors << Shapes::ShapeRef.new(shape: InvalidECSServiceException)
1631
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1626
1632
  end)
1627
1633
 
1628
1634
  api.add_operation(:create_deployment_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1940,6 +1946,8 @@ module Aws::CodeDeploy
1940
1946
  o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentInstanceTypeException)
1941
1947
  o.errors << Shapes::ShapeRef.new(shape: InvalidTargetFilterNameException)
1942
1948
  o.errors << Shapes::ShapeRef.new(shape: InvalidComputePlatformException)
1949
+ o.errors << Shapes::ShapeRef.new(shape: ApplicationDoesNotExistException)
1950
+ o.errors << Shapes::ShapeRef.new(shape: DeploymentGroupDoesNotExistException)
1943
1951
  o[:pager] = Aws::Pager.new(
1944
1952
  tokens: {
1945
1953
  "next_token" => "next_token"
@@ -1962,6 +1970,8 @@ module Aws::CodeDeploy
1962
1970
  o.errors << Shapes::ShapeRef.new(shape: InvalidInstanceTypeException)
1963
1971
  o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentInstanceTypeException)
1964
1972
  o.errors << Shapes::ShapeRef.new(shape: InvalidTargetFilterNameException)
1973
+ o.errors << Shapes::ShapeRef.new(shape: ApplicationDoesNotExistException)
1974
+ o.errors << Shapes::ShapeRef.new(shape: DeploymentGroupDoesNotExistException)
1965
1975
  end)
1966
1976
 
1967
1977
  api.add_operation(:list_deployments, Seahorse::Model::Operation.new.tap do |o|
@@ -1094,6 +1094,14 @@ module Aws::CodeDeploy
1094
1094
  # and used as part of the new deployment.
1095
1095
  # @return [String]
1096
1096
  #
1097
+ # @!attribute [rw] deployment_mode
1098
+ # The deployment mode to use for the deployment. When set to STANDARD
1099
+ # (the default), the deployment runs the standard set of deployment
1100
+ # lifecycle events. When set to RESTART, an EC2/On-premises in-place
1101
+ # deployment runs a shortened set of lifecycle events to quickly
1102
+ # restart the application on the target instances.
1103
+ # @return [String]
1104
+ #
1097
1105
  # @!attribute [rw] override_alarm_configuration
1098
1106
  # Allows you to specify information about alarms associated with a
1099
1107
  # deployment. The alarm configuration that you specify here will
@@ -1127,6 +1135,7 @@ module Aws::CodeDeploy
1127
1135
  :auto_rollback_configuration,
1128
1136
  :update_outdated_instances_only,
1129
1137
  :file_exists_behavior,
1138
+ :deployment_mode,
1130
1139
  :override_alarm_configuration)
1131
1140
  SENSITIVE = []
1132
1141
  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.102.0'
58
+ GEM_VERSION = '1.103.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -234,6 +234,7 @@ module Aws
234
234
  },
235
235
  ?update_outdated_instances_only: bool,
236
236
  ?file_exists_behavior: ("DISALLOW" | "OVERWRITE" | "RETAIN"),
237
+ ?deployment_mode: ("STANDARD" | "RESTART"),
237
238
  ?override_alarm_configuration: {
238
239
  enabled: bool?,
239
240
  ignore_poll_alarm_failure: bool?,
data/sig/types.rbs CHANGED
@@ -252,6 +252,7 @@ module Aws::CodeDeploy
252
252
  attr_accessor auto_rollback_configuration: Types::AutoRollbackConfiguration
253
253
  attr_accessor update_outdated_instances_only: bool
254
254
  attr_accessor file_exists_behavior: ("DISALLOW" | "OVERWRITE" | "RETAIN")
255
+ attr_accessor deployment_mode: ("STANDARD" | "RESTART")
255
256
  attr_accessor override_alarm_configuration: Types::AlarmConfiguration
256
257
  SENSITIVE: []
257
258
  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.102.0
4
+ version: 1.103.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services