aws-sdk-ecs 1.204.0 → 1.205.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: 5a74bf734d34a33e2fef2a312d74d47a75b537546edb624e72ddf145b58479ff
4
- data.tar.gz: 627cac1713d3e612e82c56da82b0a6ed278bfc750ffd9198b471448ea3473003
3
+ metadata.gz: efcb22e2ac4d043597f1353ad23f4ee49ca1c3c0a2ce05bd2b5901820d12da2f
4
+ data.tar.gz: e378a98df4a0fd037c174541728e261f5697b52fd51e15b676347a7bb88aed42
5
5
  SHA512:
6
- metadata.gz: beeff90b83243b65c589661fa16bafdd04b8610848578afa2489919d145dd57e96aaa7d4a382f847ebe5da98160b1e87134f09890aab7d20d08507ecc379f706
7
- data.tar.gz: 32adae7935082adf2e1b70839c6f4616679df8276dc820db2dea534e984035f182d44db66fcb47b3051c1fea03b53e19c22d71788306aa68205462f294fd90b6
6
+ metadata.gz: 0a2ee5a3fc4a0c99c6c6e5e9c753b50fa8c2894362248ae2108ccea98da0047c3886a45e91ea75e369ea0581eb280ea64fdccfab7110a75e3b8ab1e586345c03
7
+ data.tar.gz: 0ce427cc8fa23bb3da8db00a9971969b30f7f2698ba37c23638e9f5316dc9e1a1f4a9c2b4d99ae506294d70767edad95aac1312e9dc166d70cf31758d09bb3cf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.205.0 (2025-09-11)
5
+ ------------------
6
+
7
+ * Feature - This release supports hook details for Amazon ECS lifecycle hooks.
8
+
4
9
  1.204.0 (2025-09-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.204.0
1
+ 1.205.0
@@ -1096,8 +1096,8 @@ module Aws::ECS
1096
1096
  # The default behavior of `AvailabilityZoneRebalancing` differs between
1097
1097
  # create and update requests:
1098
1098
  #
1099
- # * For create service requests, when when no value is specified for
1100
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to to
1099
+ # * For create service requests, when no value is specified for
1100
+ # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
1101
1101
  # `ENABLED`.
1102
1102
  #
1103
1103
  # * For update service requests, when no value is specified for
@@ -1617,6 +1617,8 @@ module Aws::ECS
1617
1617
  # hook_target_arn: "String",
1618
1618
  # role_arn: "IAMRoleArn",
1619
1619
  # lifecycle_stages: ["RECONCILE_SERVICE"], # accepts RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT
1620
+ # hook_details: {
1621
+ # },
1620
1622
  # },
1621
1623
  # ],
1622
1624
  # },
@@ -9087,7 +9089,7 @@ module Aws::ECS
9087
9089
  # @option params [Array<Types::TaskVolumeConfiguration>] :volume_configurations
9088
9090
  # The details of the volume that was `configuredAtLaunch`. You can
9089
9091
  # configure the size, volumeType, IOPS, throughput, snapshot and
9090
- # encryption in in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
9092
+ # encryption in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
9091
9093
  # the volume must match the `name` from the task definition.
9092
9094
  #
9093
9095
  #
@@ -11712,8 +11714,8 @@ module Aws::ECS
11712
11714
  # The default behavior of `AvailabilityZoneRebalancing` differs between
11713
11715
  # create and update requests:
11714
11716
  #
11715
- # * For create service requests, when when no value is specified for
11716
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to to
11717
+ # * For create service requests, when no value is specified for
11718
+ # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
11717
11719
  # `ENABLED`.
11718
11720
  #
11719
11721
  # * For update service requests, when no value is specified for
@@ -12005,6 +12007,8 @@ module Aws::ECS
12005
12007
  # hook_target_arn: "String",
12006
12008
  # role_arn: "IAMRoleArn",
12007
12009
  # lifecycle_stages: ["RECONCILE_SERVICE"], # accepts RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT
12010
+ # hook_details: {
12011
+ # },
12008
12012
  # },
12009
12013
  # ],
12010
12014
  # },
@@ -12833,7 +12837,7 @@ module Aws::ECS
12833
12837
  tracer: tracer
12834
12838
  )
12835
12839
  context[:gem_name] = 'aws-sdk-ecs'
12836
- context[:gem_version] = '1.204.0'
12840
+ context[:gem_version] = '1.205.0'
12837
12841
  Seahorse::Client::Request.new(handlers, context)
12838
12842
  end
12839
12843
 
@@ -188,6 +188,7 @@ module Aws::ECS
188
188
  GpuIds = Shapes::ListShape.new(name: 'GpuIds')
189
189
  HealthCheck = Shapes::StructureShape.new(name: 'HealthCheck')
190
190
  HealthStatus = Shapes::StringShape.new(name: 'HealthStatus')
191
+ HookDetails = Shapes::DocumentShape.new(name: 'HookDetails', document: true)
191
192
  HostEntry = Shapes::StructureShape.new(name: 'HostEntry')
192
193
  HostEntryList = Shapes::ListShape.new(name: 'HostEntryList')
193
194
  HostVolumeProperties = Shapes::StructureShape.new(name: 'HostVolumeProperties')
@@ -896,6 +897,7 @@ module Aws::ECS
896
897
  DeploymentLifecycleHook.add_member(:hook_target_arn, Shapes::ShapeRef.new(shape: String, location_name: "hookTargetArn"))
897
898
  DeploymentLifecycleHook.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "roleArn"))
898
899
  DeploymentLifecycleHook.add_member(:lifecycle_stages, Shapes::ShapeRef.new(shape: DeploymentLifecycleHookStageList, location_name: "lifecycleStages"))
900
+ DeploymentLifecycleHook.add_member(:hook_details, Shapes::ShapeRef.new(shape: HookDetails, location_name: "hookDetails"))
899
901
  DeploymentLifecycleHook.struct_class = Types::DeploymentLifecycleHook
900
902
 
901
903
  DeploymentLifecycleHookList.member = Shapes::ShapeRef.new(shape: DeploymentLifecycleHook)
@@ -1328,12 +1328,12 @@ module Aws::ECS
1328
1328
  # so you can't access a container's mapped port from the host
1329
1329
  # itself.
1330
1330
  #
1331
- # This parameter maps to `PortBindings` in the the docker container
1332
- # create command and the `--publish` option to docker run. If the
1333
- # network mode of a task definition is set to `none`, then you can't
1334
- # specify port mappings. If the network mode of a task definition is
1335
- # set to `host`, then host ports must either be undefined or they must
1336
- # match the container port in the port mapping.
1331
+ # This parameter maps to `PortBindings` in the docker container create
1332
+ # command and the `--publish` option to docker run. If the network
1333
+ # mode of a task definition is set to `none`, then you can't specify
1334
+ # port mappings. If the network mode of a task definition is set to
1335
+ # `host`, then host ports must either be undefined or they must match
1336
+ # the container port in the port mapping.
1337
1337
  #
1338
1338
  # <note markdown="1"> After a task reaches the `RUNNING` status, manual and automatic host
1339
1339
  # and container port assignments are visible in the **Network
@@ -2728,8 +2728,8 @@ module Aws::ECS
2728
2728
  # The default behavior of `AvailabilityZoneRebalancing` differs
2729
2729
  # between create and update requests:
2730
2730
  #
2731
- # * For create service requests, when when no value is specified for
2732
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to to
2731
+ # * For create service requests, when no value is specified for
2732
+ # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
2733
2733
  # `ENABLED`.
2734
2734
  #
2735
2735
  # * For update service requests, when no value is specified for
@@ -4307,12 +4307,18 @@ module Aws::ECS
4307
4307
  # lifecycle hook.
4308
4308
  # @return [Array<String>]
4309
4309
  #
4310
+ # @!attribute [rw] hook_details
4311
+ # Use this field to specify custom parameters that Amazon ECS will
4312
+ # pass to your hook target invocations (such as a Lambda function).
4313
+ # @return [Hash,Array,String,Numeric,Boolean]
4314
+ #
4310
4315
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentLifecycleHook AWS API Documentation
4311
4316
  #
4312
4317
  class DeploymentLifecycleHook < Struct.new(
4313
4318
  :hook_target_arn,
4314
4319
  :role_arn,
4315
- :lifecycle_stages)
4320
+ :lifecycle_stages,
4321
+ :hook_details)
4316
4322
  SENSITIVE = []
4317
4323
  include Aws::Structure
4318
4324
  end
@@ -9600,8 +9606,8 @@ module Aws::ECS
9600
9606
  # @!attribute [rw] volume_configurations
9601
9607
  # The details of the volume that was `configuredAtLaunch`. You can
9602
9608
  # configure the size, volumeType, IOPS, throughput, snapshot and
9603
- # encryption in in [TaskManagedEBSVolumeConfiguration][1]. The `name`
9604
- # of the volume must match the `name` from the task definition.
9609
+ # encryption in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
9610
+ # the volume must match the `name` from the task definition.
9605
9611
  #
9606
9612
  #
9607
9613
  #
@@ -10044,8 +10050,8 @@ module Aws::ECS
10044
10050
  # The default behavior of `AvailabilityZoneRebalancing` differs
10045
10051
  # between create and update requests:
10046
10052
  #
10047
- # * For create service requests, when when no value is specified for
10048
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to to
10053
+ # * For create service requests, when no value is specified for
10054
+ # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
10049
10055
  # `ENABLED`.
10050
10056
  #
10051
10057
  # * For update service requests, when no value is specified for
@@ -13966,8 +13972,8 @@ module Aws::ECS
13966
13972
  # The default behavior of `AvailabilityZoneRebalancing` differs
13967
13973
  # between create and update requests:
13968
13974
  #
13969
- # * For create service requests, when when no value is specified for
13970
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to to
13975
+ # * For create service requests, when no value is specified for
13976
+ # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
13971
13977
  # `ENABLED`.
13972
13978
  #
13973
13979
  # * For update service requests, when no value is specified for
data/lib/aws-sdk-ecs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECS
55
55
  autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecs/endpoints'
57
57
 
58
- GEM_VERSION = '1.204.0'
58
+ GEM_VERSION = '1.205.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -219,7 +219,9 @@ module Aws
219
219
  {
220
220
  hook_target_arn: ::String?,
221
221
  role_arn: ::String?,
222
- lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]?
222
+ lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]?,
223
+ hook_details: {
224
+ }?
223
225
  },
224
226
  ]?
225
227
  },
@@ -1688,7 +1690,9 @@ module Aws
1688
1690
  {
1689
1691
  hook_target_arn: ::String?,
1690
1692
  role_arn: ::String?,
1691
- lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]?
1693
+ lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]?,
1694
+ hook_details: {
1695
+ }?
1692
1696
  },
1693
1697
  ]?
1694
1698
  },
data/sig/types.rbs CHANGED
@@ -521,6 +521,7 @@ module Aws::ECS
521
521
  attr_accessor hook_target_arn: ::String
522
522
  attr_accessor role_arn: ::String
523
523
  attr_accessor lifecycle_stages: ::Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]
524
+ attr_accessor hook_details: untyped
524
525
  SENSITIVE: []
525
526
  end
526
527
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.204.0
4
+ version: 1.205.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services