aws-sdk-codedeploy 1.105.0 → 1.106.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0b86fc098318ce8cd21f431af8896d2e934aa1155c6afb51b0776b7ab8dda38
4
- data.tar.gz: 384da260c79aa606f39c1c1e19d1a8cb5f9522ca3e88d70c6e53d6776a2b4c33
3
+ metadata.gz: '09e02bdd217eed2bbc4072180487682bd4b4831320b7b09fba32a064c37cd454'
4
+ data.tar.gz: 25083d199ca706be66b05d5cdd32aa02268e2a0ec3d5fee3ef86fcebbe6a9ff6
5
5
  SHA512:
6
- metadata.gz: e71a8fe70ea8f35a2d50cc4c42a1ca34033ae13b924d181066b74a2da2544a41e50be7ac123644588ec27ff9d176d9b2d0dd45e54af8b3972ec41327d1a9bdc5
7
- data.tar.gz: 97ae0367cef2d9d7d021dcd40f00a50c75846f65b19a22277d17a9a0c5a64ed5428180e8ff0011f1b3b0e3f57baa28cfb1863da8250cb66a98fb096df54f80c6
6
+ metadata.gz: e535a3ad75b2254506c2e0a949d0d2cd83d5b3c34769fe9b0a047f3241ff90d9ca0da1f43099a987369f08d9aa2d7168eb3474ff96cc58705a76408b5b9fea53
7
+ data.tar.gz: d132235fb68a49e617f43a9b03a08f386238884e85531e80db3cd51115dfeae906d6266266646b059e799b41023fc354559d43da1ff9750e50b8b97009e81060
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.106.0 (2026-09-14)
5
+ ------------------
6
+
7
+ * Feature - AWS CodeDeploy now returns the deployment mode on GetDeployment and BatchGetDeployments. The new deploymentMode field on DeploymentInfo indicates whether a deployment used the standard deployment process or restarted the application using a previously installed revision (RESTART mode).
8
+
4
9
  1.105.0 (2026-09-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.105.0
1
+ 1.106.0
@@ -1049,6 +1049,7 @@ module Aws::CodeDeploy
1049
1049
  # resp.deployments_info[0].load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns[0] #=> String
1050
1050
  # resp.deployments_info[0].additional_deployment_status_info #=> String
1051
1051
  # resp.deployments_info[0].file_exists_behavior #=> String, one of "DISALLOW", "OVERWRITE", "RETAIN"
1052
+ # resp.deployments_info[0].deployment_mode #=> String, one of "STANDARD", "RESTART"
1052
1053
  # resp.deployments_info[0].deployment_status_messages #=> Array
1053
1054
  # resp.deployments_info[0].deployment_status_messages[0] #=> String
1054
1055
  # resp.deployments_info[0].compute_platform #=> String, one of "Server", "Lambda", "ECS"
@@ -1272,11 +1273,27 @@ module Aws::CodeDeploy
1272
1273
  # used as part of the new deployment.
1273
1274
  #
1274
1275
  # @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.
1276
+ # The type of deployment to create. Valid values are:
1277
+ #
1278
+ # * `STANDARD`: Deploys the specified revision. This is the default
1279
+ # behavior if `deploymentMode` is not specified.
1280
+ #
1281
+ # * `RESTART`: Restarts the application on the target instances using
1282
+ # the revision from the deployment group's last successful
1283
+ # deployment, without downloading a new revision. `RESTART` is
1284
+ # supported only for EC2/On-premises in-place deployments.
1285
+ #
1286
+ # When `deploymentMode` is `RESTART`, the following apply:
1287
+ #
1288
+ # * The call is rejected for Amazon ECS and Lambda deployments.
1289
+ #
1290
+ # * The `revision` parameter (including its `s3Location` and
1291
+ # `gitHubLocation`) must not be specified, and is rejected if
1292
+ # provided. The revision is resolved by the service from the
1293
+ # deployment group's last successful deployment.
1294
+ #
1295
+ # * The `updateOutdatedInstancesOnly` parameter must not be set to
1296
+ # `true`, and is rejected if provided.
1280
1297
  #
1281
1298
  # @option params [Types::AlarmConfiguration] :override_alarm_configuration
1282
1299
  # Allows you to specify information about alarms associated with a
@@ -2133,6 +2150,7 @@ module Aws::CodeDeploy
2133
2150
  # resp.deployment_info.load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns[0] #=> String
2134
2151
  # resp.deployment_info.additional_deployment_status_info #=> String
2135
2152
  # resp.deployment_info.file_exists_behavior #=> String, one of "DISALLOW", "OVERWRITE", "RETAIN"
2153
+ # resp.deployment_info.deployment_mode #=> String, one of "STANDARD", "RESTART"
2136
2154
  # resp.deployment_info.deployment_status_messages #=> Array
2137
2155
  # resp.deployment_info.deployment_status_messages[0] #=> String
2138
2156
  # resp.deployment_info.compute_platform #=> String, one of "Server", "Lambda", "ECS"
@@ -3670,7 +3688,7 @@ module Aws::CodeDeploy
3670
3688
  tracer: tracer
3671
3689
  )
3672
3690
  context[:gem_name] = 'aws-sdk-codedeploy'
3673
- context[:gem_version] = '1.105.0'
3691
+ context[:gem_version] = '1.106.0'
3674
3692
  Seahorse::Client::Request.new(handlers, context)
3675
3693
  end
3676
3694
 
@@ -719,6 +719,7 @@ module Aws::CodeDeploy
719
719
  DeploymentInfo.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
720
720
  DeploymentInfo.add_member(:additional_deployment_status_info, Shapes::ShapeRef.new(shape: AdditionalDeploymentStatusInfo, deprecated: true, location_name: "additionalDeploymentStatusInfo"))
721
721
  DeploymentInfo.add_member(:file_exists_behavior, Shapes::ShapeRef.new(shape: FileExistsBehavior, location_name: "fileExistsBehavior"))
722
+ DeploymentInfo.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
722
723
  DeploymentInfo.add_member(:deployment_status_messages, Shapes::ShapeRef.new(shape: DeploymentStatusMessageList, location_name: "deploymentStatusMessages"))
723
724
  DeploymentInfo.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
724
725
  DeploymentInfo.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
@@ -1095,11 +1095,27 @@ module Aws::CodeDeploy
1095
1095
  # @return [String]
1096
1096
  #
1097
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.
1098
+ # The type of deployment to create. Valid values are:
1099
+ #
1100
+ # * `STANDARD`: Deploys the specified revision. This is the default
1101
+ # behavior if `deploymentMode` is not specified.
1102
+ #
1103
+ # * `RESTART`: Restarts the application on the target instances using
1104
+ # the revision from the deployment group's last successful
1105
+ # deployment, without downloading a new revision. `RESTART` is
1106
+ # supported only for EC2/On-premises in-place deployments.
1107
+ #
1108
+ # When `deploymentMode` is `RESTART`, the following apply:
1109
+ #
1110
+ # * The call is rejected for Amazon ECS and Lambda deployments.
1111
+ #
1112
+ # * The `revision` parameter (including its `s3Location` and
1113
+ # `gitHubLocation`) must not be specified, and is rejected if
1114
+ # provided. The revision is resolved by the service from the
1115
+ # deployment group's last successful deployment.
1116
+ #
1117
+ # * The `updateOutdatedInstancesOnly` parameter must not be set to
1118
+ # `true`, and is rejected if provided.
1103
1119
  # @return [String]
1104
1120
  #
1105
1121
  # @!attribute [rw] override_alarm_configuration
@@ -1739,6 +1755,21 @@ module Aws::CodeDeploy
1739
1755
  # and used as part of the new deployment.
1740
1756
  # @return [String]
1741
1757
  #
1758
+ # @!attribute [rw] deployment_mode
1759
+ # The deployment's type. Valid values are:
1760
+ #
1761
+ # * `STANDARD`: The deployment installed the specified revision.
1762
+ #
1763
+ # * `RESTART`: The deployment restarted the application on the target
1764
+ # instances using the revision from the deployment group's last
1765
+ # successful deployment, without downloading a new revision.
1766
+ #
1767
+ # This field is absent for deployments created before `deploymentMode`
1768
+ # existed, and for `STANDARD` deployments. An absent value must not be
1769
+ # interpreted as `STANDARD`; it simply means no value was recorded
1770
+ # either way.
1771
+ # @return [String]
1772
+ #
1742
1773
  # @!attribute [rw] deployment_status_messages
1743
1774
  # Messages that contain information about the status of a deployment.
1744
1775
  # @return [Array<String>]
@@ -1790,6 +1821,7 @@ module Aws::CodeDeploy
1790
1821
  :load_balancer_info,
1791
1822
  :additional_deployment_status_info,
1792
1823
  :file_exists_behavior,
1824
+ :deployment_mode,
1793
1825
  :deployment_status_messages,
1794
1826
  :compute_platform,
1795
1827
  :external_id,
@@ -55,7 +55,7 @@ module Aws::CodeDeploy
55
55
  autoload :EndpointProvider, 'aws-sdk-codedeploy/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-codedeploy/endpoints'
57
57
 
58
- GEM_VERSION = '1.105.0'
58
+ GEM_VERSION = '1.106.0'
59
59
 
60
60
  end
61
61
 
data/sig/types.rbs CHANGED
@@ -404,6 +404,7 @@ module Aws::CodeDeploy
404
404
  attr_accessor load_balancer_info: Types::LoadBalancerInfo
405
405
  attr_accessor additional_deployment_status_info: ::String
406
406
  attr_accessor file_exists_behavior: ("DISALLOW" | "OVERWRITE" | "RETAIN")
407
+ attr_accessor deployment_mode: ("STANDARD" | "RESTART")
407
408
  attr_accessor deployment_status_messages: ::Array[::String]
408
409
  attr_accessor compute_platform: ("Server" | "Lambda" | "ECS")
409
410
  attr_accessor external_id: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codedeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.105.0
4
+ version: 1.106.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services