aws-sdk-ecs 1.187.0 → 1.196.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: '09c619b78988ca5a2fa649f490f1cf3aecc5b3c1eed42080433dbd9772395b3c'
4
- data.tar.gz: 4b2518777e4fb53f18a1888d685757a7eae6b3e1dc14ffaac12394079526b171
3
+ metadata.gz: b03afafe381980714c7792a1994c93ce0df58ea7973e8d1ac47a50a7c7cdcda9
4
+ data.tar.gz: 693a2bd31645ab103e569b93174dc1307ea43c79b7070027494166d2c67e4b34
5
5
  SHA512:
6
- metadata.gz: 00f4e4804053306a2c19d3d9845eb2ae858b4a476dfec8db1992781f453715b034e8b23c272705dcd0ee689a78cfe9e2500b19440661cf3e22db037c145fc352
7
- data.tar.gz: 0d97846575b79ce159643ab3f981b4d9aca6a5a93fdf5a8fdddf1f1fcf45a62d7a5dafe8133f66e396f9ab69d6370a6a18f36a09cf18a1e383c1b17574650c7a
6
+ metadata.gz: 39b2e3dc8dacb00e5c93d636df3b03c105129740ccc9abc6d14bf81d16c5435d9ccf7059f146d609a2862bbd00ae39764799a1d01af81383c9543fbe063647ec
7
+ data.tar.gz: d665c206e42ca7c76a4c998c4fe6720adf67fb9e0945b54839775fe6a7769772c5a9c0113212077b61609b68d7611d30d8a09a4c45b0ee7dcdfce58be59aec24
data/CHANGELOG.md CHANGED
@@ -1,6 +1,51 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.196.0 (2025-06-25)
5
+ ------------------
6
+
7
+ * Feature - Updates for change to Amazon ECS default log driver mode from blocking to non-blocking
8
+
9
+ 1.195.0 (2025-06-20)
10
+ ------------------
11
+
12
+ * Feature - Add ECS support for Windows Server 2025
13
+
14
+ 1.194.0 (2025-06-12)
15
+ ------------------
16
+
17
+ * Feature - This Amazon ECS release supports updating the capacityProviderStrategy parameter in update-service.
18
+
19
+ 1.193.0 (2025-06-02)
20
+ ------------------
21
+
22
+ * Feature - Updates Amazon ECS documentation to include note for upcoming default log driver mode change.
23
+
24
+ 1.192.0 (2025-05-16)
25
+ ------------------
26
+
27
+ * Feature - This is an Amazon ECs documentation only release to support the change of the container exit "reason" field from 255 characters to 1024 characters.
28
+
29
+ 1.191.0 (2025-05-13)
30
+ ------------------
31
+
32
+ * Feature - This release extends functionality for Amazon EBS volumes attached to Amazon ECS tasks by adding support for the new EBS volumeInitializationRate parameter in ECS RunTask/StartTask/CreateService/UpdateService APIs.
33
+
34
+ 1.190.0 (2025-05-12)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.189.0 (2025-05-05)
40
+ ------------------
41
+
42
+ * Feature - Add support to roll back an In_Progress ECS Service Deployment
43
+
44
+ 1.188.0 (2025-05-01)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
4
49
  1.187.0 (2025-04-25)
5
50
  ------------------
6
51
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.187.0
1
+ 1.196.0
@@ -200,8 +200,7 @@ module Aws::ECS
200
200
  # accepted modes and the configuration defaults that are included.
201
201
  #
202
202
  # @option options [Boolean] :disable_host_prefix_injection (false)
203
- # Set to true to disable SDK automatically adding host prefix
204
- # to default service endpoint when available.
203
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
205
204
  #
206
205
  # @option options [Boolean] :disable_request_compression (false)
207
206
  # When set to 'true' the request body will not be compressed
@@ -909,7 +908,7 @@ module Aws::ECS
909
908
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
910
909
  # the volume when creating or updating a service. `volumeConfigurations`
911
910
  # is only supported for REPLICA service and not DAEMON service. For more
912
- # infomation, see [Amazon EBS volumes][3] in the *Amazon Elastic
911
+ # information, see [Amazon EBS volumes][3] in the *Amazon Elastic
913
912
  # Container Service Developer Guide*.
914
913
  #
915
914
  # Tasks for services that don't use a load balancer are considered
@@ -1631,6 +1630,7 @@ module Aws::ECS
1631
1630
  # volume_type: "EBSVolumeType",
1632
1631
  # size_in_gi_b: 1,
1633
1632
  # snapshot_id: "EBSSnapshotId",
1633
+ # volume_initialization_rate: 1,
1634
1634
  # iops: 1,
1635
1635
  # throughput: 1,
1636
1636
  # tag_specifications: [
@@ -1792,6 +1792,7 @@ module Aws::ECS
1792
1792
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
1793
1793
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
1794
1794
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
1795
+ # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_initialization_rate #=> Integer
1795
1796
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
1796
1797
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
1797
1798
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
@@ -2173,13 +2174,16 @@ module Aws::ECS
2173
2174
  # container instances is affected.
2174
2175
  #
2175
2176
  # @option params [String] :principal_arn
2176
- # The Amazon Resource Name (ARN) of the principal. It can be an user,
2177
+ # The Amazon Resource Name (ARN) of the principal. It can be a user,
2177
2178
  # role, or the root user. If you specify the root user, it disables the
2178
2179
  # account setting for all users, roles, and the root user of the account
2179
2180
  # unless a user or role explicitly overrides these settings. If this
2180
2181
  # field is omitted, the setting is changed only for the authenticated
2181
2182
  # user.
2182
2183
  #
2184
+ # In order to use this parameter, you must be the root user, or the
2185
+ # principal.
2186
+ #
2183
2187
  # @return [Types::DeleteAccountSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2184
2188
  #
2185
2189
  # * {Types::DeleteAccountSettingResponse#setting #setting} => Types::Setting
@@ -2722,6 +2726,7 @@ module Aws::ECS
2722
2726
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
2723
2727
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
2724
2728
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
2729
+ # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_initialization_rate #=> Integer
2725
2730
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
2726
2731
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
2727
2732
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
@@ -2850,7 +2855,7 @@ module Aws::ECS
2850
2855
  # environment: [
2851
2856
  # ],
2852
2857
  # essential: true,
2853
- # image: "ubuntu",
2858
+ # image: "public.ecr.aws/docker/library/ubuntu:latest",
2854
2859
  # memory: 100,
2855
2860
  # mount_points: [
2856
2861
  # ],
@@ -3029,7 +3034,7 @@ module Aws::ECS
3029
3034
  # resp.task_definitions[0].compatibilities #=> Array
3030
3035
  # resp.task_definitions[0].compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3031
3036
  # resp.task_definitions[0].runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
3032
- # resp.task_definitions[0].runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
3037
+ # resp.task_definitions[0].runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
3033
3038
  # resp.task_definitions[0].requires_compatibilities #=> Array
3034
3039
  # resp.task_definitions[0].requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3035
3040
  # resp.task_definitions[0].cpu #=> String
@@ -3386,10 +3391,10 @@ module Aws::ECS
3386
3391
  #
3387
3392
  # @example Example: To deregister a revision of a task definition
3388
3393
  #
3389
- # # This example deregisters the first revision of the curler task definition
3394
+ # # This example deregisters the first revision of the fargate-task task definition
3390
3395
  #
3391
3396
  # resp = client.deregister_task_definition({
3392
- # task_definition: "curler:1",
3397
+ # task_definition: "fargate-task:1",
3393
3398
  # })
3394
3399
  #
3395
3400
  # resp.to_h outputs the following:
@@ -3397,30 +3402,23 @@ module Aws::ECS
3397
3402
  # task_definition: {
3398
3403
  # container_definitions: [
3399
3404
  # {
3400
- # name: "curler",
3401
- # command: [
3402
- # "curl -v http://example.com/",
3403
- # ],
3404
- # cpu: 100,
3405
- # entry_point: [
3406
- # ],
3407
- # environment: [
3408
- # ],
3405
+ # name: "nginx",
3406
+ # cpu: 256,
3409
3407
  # essential: true,
3410
- # image: "curl:latest",
3411
- # memory: 256,
3412
- # mount_points: [
3413
- # ],
3408
+ # image: "public.ecr.aws/docker/library/nginx:latest",
3409
+ # memory: 128,
3414
3410
  # port_mappings: [
3415
- # ],
3416
- # volumes_from: [
3411
+ # {
3412
+ # container_port: 80,
3413
+ # host_port: 80,
3414
+ # protocol: "tcp",
3415
+ # },
3417
3416
  # ],
3418
3417
  # },
3419
3418
  # ],
3420
- # family: "curler",
3421
- # revision: 1,
3419
+ # family: "fargate-task",
3422
3420
  # status: "INACTIVE",
3423
- # task_definition_arn: "arn:aws:ecs:us-west-2:123456789012:task-definition/curler:1",
3421
+ # task_definition_arn: "arn:aws:ecs:us-west-2:123456789012:task-definition/fargate-task:1",
3424
3422
  # volumes: [
3425
3423
  # ],
3426
3424
  # },
@@ -3584,7 +3582,7 @@ module Aws::ECS
3584
3582
  # resp.task_definition.compatibilities #=> Array
3585
3583
  # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3586
3584
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
3587
- # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
3585
+ # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
3588
3586
  # resp.task_definition.requires_compatibilities #=> Array
3589
3587
  # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3590
3588
  # resp.task_definition.cpu #=> String
@@ -4361,6 +4359,7 @@ module Aws::ECS
4361
4359
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
4362
4360
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
4363
4361
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
4362
+ # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.volume_initialization_rate #=> Integer
4364
4363
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
4365
4364
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
4366
4365
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
@@ -4611,6 +4610,7 @@ module Aws::ECS
4611
4610
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
4612
4611
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
4613
4612
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
4613
+ # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.volume_initialization_rate #=> Integer
4614
4614
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
4615
4615
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
4616
4616
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
@@ -4921,7 +4921,7 @@ module Aws::ECS
4921
4921
  # resp.task_definition.compatibilities #=> Array
4922
4922
  # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
4923
4923
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
4924
- # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
4924
+ # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
4925
4925
  # resp.task_definition.requires_compatibilities #=> Array
4926
4926
  # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
4927
4927
  # resp.task_definition.cpu #=> String
@@ -5552,6 +5552,9 @@ module Aws::ECS
5552
5552
  # If this field is omitted, the account settings are listed only for the
5553
5553
  # authenticated user.
5554
5554
  #
5555
+ # In order to use this parameter, you must be the root user, or the
5556
+ # principal.
5557
+ #
5555
5558
  # <note markdown="1"> Federated users assume the account setting of the root user and can't
5556
5559
  # have explicit account settings set for them.
5557
5560
  #
@@ -6786,6 +6789,18 @@ module Aws::ECS
6786
6789
  # using this account setting will be used as the default. For more
6787
6790
  # information about log delivery modes, see [LogConfiguration][7].
6788
6791
  #
6792
+ # <note markdown="1"> On June 25, 2025, Amazon ECS changed the default log driver mode
6793
+ # from `blocking` to `non-blocking` to prioritize task availability
6794
+ # over logging. To continue using the `blocking` mode after this
6795
+ # change, do one of the following:
6796
+ #
6797
+ # * Set the `mode` option in your container definition's
6798
+ # `logConfiguration` as `blocking`.
6799
+ #
6800
+ # * Set the `defaultLogDriverMode` account setting to `blocking`.
6801
+ #
6802
+ # </note>
6803
+ #
6789
6804
  # * `guardDutyActivate` - The `guardDutyActivate` parameter is read-only
6790
6805
  # in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is
6791
6806
  # enabled or disabled by your security administrator in your Amazon
@@ -6827,6 +6842,9 @@ module Aws::ECS
6827
6842
  # explicitly overrides these settings. If this field is omitted, the
6828
6843
  # setting is changed only for the authenticated user.
6829
6844
  #
6845
+ # In order to use this parameter, you must be the root user, or the
6846
+ # principal.
6847
+ #
6830
6848
  # <note markdown="1"> You must use the root user when you set the Fargate wait time
6831
6849
  # (`fargateTaskRetirementWaitPeriod`).
6832
6850
  #
@@ -7010,6 +7028,18 @@ module Aws::ECS
7010
7028
  # using this account setting will be used as the default. For more
7011
7029
  # information about log delivery modes, see [LogConfiguration][7].
7012
7030
  #
7031
+ # <note markdown="1"> On June 25, 2025, Amazon ECS changed the default log driver mode
7032
+ # from `blocking` to `non-blocking` to prioritize task availability
7033
+ # over logging. To continue using the `blocking` mode after this
7034
+ # change, do one of the following:
7035
+ #
7036
+ # * Set the `mode` option in your container definition's
7037
+ # `logConfiguration` as `blocking`.
7038
+ #
7039
+ # * Set the `defaultLogDriverMode` account setting to `blocking`.
7040
+ #
7041
+ # </note>
7042
+ #
7013
7043
  # * `guardDutyActivate` - The `guardDutyActivate` parameter is read-only
7014
7044
  # in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is
7015
7045
  # enabled or disabled by your security administrator in your Amazon
@@ -8111,7 +8141,7 @@ module Aws::ECS
8111
8141
  # ],
8112
8142
  # cpu: 10,
8113
8143
  # essential: true,
8114
- # image: "busybox",
8144
+ # image: "public.ecr.aws/docker/library/busybox:latest",
8115
8145
  # memory: 10,
8116
8146
  # },
8117
8147
  # ],
@@ -8135,7 +8165,7 @@ module Aws::ECS
8135
8165
  # environment: [
8136
8166
  # ],
8137
8167
  # essential: true,
8138
- # image: "busybox",
8168
+ # image: "public.ecr.aws/docker/library/busybox:latest",
8139
8169
  # memory: 10,
8140
8170
  # mount_points: [
8141
8171
  # ],
@@ -8396,7 +8426,7 @@ module Aws::ECS
8396
8426
  # },
8397
8427
  # runtime_platform: {
8398
8428
  # cpu_architecture: "X86_64", # accepts X86_64, ARM64
8399
- # operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
8429
+ # operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_2025_CORE, WINDOWS_SERVER_2025_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
8400
8430
  # },
8401
8431
  # enable_fault_injection: false,
8402
8432
  # })
@@ -8553,7 +8583,7 @@ module Aws::ECS
8553
8583
  # resp.task_definition.compatibilities #=> Array
8554
8584
  # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8555
8585
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
8556
- # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
8586
+ # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
8557
8587
  # resp.task_definition.requires_compatibilities #=> Array
8558
8588
  # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8559
8589
  # resp.task_definition.cpu #=> String
@@ -8608,7 +8638,7 @@ module Aws::ECS
8608
8638
  # place tasks manually on specific container instances.
8609
8639
  #
8610
8640
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
8611
- # the volume when creating or updating a service. For more infomation,
8641
+ # the volume when creating or updating a service. For more information,
8612
8642
  # see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
8613
8643
  # Developer Guide*.
8614
8644
  #
@@ -8647,10 +8677,17 @@ module Aws::ECS
8647
8677
  # * Run `RunTask` with the `clientToken` and the original set of
8648
8678
  # parameters
8649
8679
  #
8680
+ # If you get a `ClientException`error, the `RunTask` could not be
8681
+ # processed because you use managed scaling and there is a capacity
8682
+ # error because the quota of tasks in the `PROVISIONING` per cluster has
8683
+ # been reached. For information about the service quotas, see [Amazon
8684
+ # ECS service quotas][3].
8685
+ #
8650
8686
  #
8651
8687
  #
8652
8688
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html
8653
8689
  # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
8690
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html
8654
8691
  #
8655
8692
  # @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
8656
8693
  # The capacity provider strategy to use for the task.
@@ -9033,6 +9070,7 @@ module Aws::ECS
9033
9070
  # volume_type: "EBSVolumeType",
9034
9071
  # size_in_gi_b: 1,
9035
9072
  # snapshot_id: "EBSSnapshotId",
9073
+ # volume_initialization_rate: 1,
9036
9074
  # iops: 1,
9037
9075
  # throughput: 1,
9038
9076
  # tag_specifications: [
@@ -9199,7 +9237,7 @@ module Aws::ECS
9199
9237
  # Container Service Developer Guide*.
9200
9238
  #
9201
9239
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
9202
- # the volume when creating or updating a service. For more infomation,
9240
+ # the volume when creating or updating a service. For more information,
9203
9241
  # see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
9204
9242
  # Developer Guide*.
9205
9243
  #
@@ -9465,6 +9503,7 @@ module Aws::ECS
9465
9503
  # volume_type: "EBSVolumeType",
9466
9504
  # size_in_gi_b: 1,
9467
9505
  # snapshot_id: "EBSSnapshotId",
9506
+ # volume_initialization_rate: 1,
9468
9507
  # iops: 1,
9469
9508
  # throughput: 1,
9470
9509
  # tag_specifications: [
@@ -9614,9 +9653,20 @@ module Aws::ECS
9614
9653
 
9615
9654
  # Stops an ongoing service deployment.
9616
9655
  #
9617
- # <note markdown="1"> StopServiceDeployment isn't currently supported.
9656
+ # The following stop types are avaiable:
9657
+ #
9658
+ # * ROLLBACK - This option rolls back the service deployment to the
9659
+ # previous service revision.
9660
+ #
9661
+ # You can use this option even if you didn't configure the service
9662
+ # deployment for the rollback option.
9663
+ #
9664
+ # For more information, see [Stopping Amazon ECS service deployments][1]
9665
+ # in the *Amazon Elastic Container Service Developer Guide*.
9666
+ #
9618
9667
  #
9619
- # </note>
9668
+ #
9669
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-service-deployment.html
9620
9670
  #
9621
9671
  # @option params [required, String] :service_deployment_arn
9622
9672
  # The ARN of the service deployment that you want to stop.
@@ -9624,7 +9674,7 @@ module Aws::ECS
9624
9674
  # @option params [String] :stop_type
9625
9675
  # How you want Amazon ECS to stop the service.
9626
9676
  #
9627
- # The ROLLBACK and ABORT stopType aren't supported.
9677
+ # The valid values are `ROLLBACK`.
9628
9678
  #
9629
9679
  # @return [Types::StopServiceDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9630
9680
  #
@@ -11291,13 +11341,13 @@ module Aws::ECS
11291
11341
  #
11292
11342
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
11293
11343
  # the volume when starting or running a task, or when creating or
11294
- # updating a service. For more infomation, see [Amazon EBS volumes][1]
11344
+ # updating a service. For more information, see [Amazon EBS volumes][1]
11295
11345
  # in the *Amazon Elastic Container Service Developer Guide*. You can
11296
11346
  # update your volume configurations and trigger a new deployment.
11297
11347
  # `volumeConfigurations` is only supported for REPLICA service and not
11298
11348
  # DAEMON service. If you leave `volumeConfigurations` `null`, it
11299
- # doesn't trigger a new deployment. For more infomation on volumes, see
11300
- # [Amazon EBS volumes][1] in the *Amazon Elastic Container Service
11349
+ # doesn't trigger a new deployment. For more information on volumes,
11350
+ # see [Amazon EBS volumes][1] in the *Amazon Elastic Container Service
11301
11351
  # Developer Guide*.
11302
11352
  #
11303
11353
  # For services using the blue/green (`CODE_DEPLOY`) deployment
@@ -11323,7 +11373,7 @@ module Aws::ECS
11323
11373
  #
11324
11374
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
11325
11375
  # the volume when starting or running a task, or when creating or
11326
- # updating a service. For more infomation, see [Amazon EBS volumes][1]
11376
+ # updating a service. For more information, see [Amazon EBS volumes][1]
11327
11377
  # in the *Amazon Elastic Container Service Developer Guide*.
11328
11378
  #
11329
11379
  # If you have updated the container image of your application, you can
@@ -11407,31 +11457,20 @@ module Aws::ECS
11407
11457
  # Zone (based on the previous steps), favoring container instances
11408
11458
  # with the largest number of running tasks for this service.
11409
11459
  #
11410
- # <note markdown="1"> You must have a service-linked role when you update any of the
11411
- # following service properties:
11412
- #
11413
- # * `loadBalancers`,
11414
- #
11415
- # * `serviceRegistries`
11416
- #
11417
- # For more information about the role see the `CreateService` request
11418
- # parameter [ `role` ][5].
11419
- #
11420
- # </note>
11421
- #
11422
11460
  #
11423
11461
  #
11424
11462
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
11425
11463
  # [2]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
11426
11464
  # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html
11427
11465
  # [4]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
11428
- # [5]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
11429
11466
  #
11430
11467
  # @option params [String] :cluster
11431
11468
  # The short name or full Amazon Resource Name (ARN) of the cluster that
11432
11469
  # your service runs on. If you do not specify a cluster, the default
11433
11470
  # cluster is assumed.
11434
11471
  #
11472
+ # You can't change the cluster name.
11473
+ #
11435
11474
  # @option params [required, String] :service
11436
11475
  # The name of the service to update.
11437
11476
  #
@@ -11448,41 +11487,42 @@ module Aws::ECS
11448
11487
  # after the new version is running.
11449
11488
  #
11450
11489
  # @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
11451
- # The capacity provider strategy to update the service to use.
11490
+ # The details of a capacity provider strategy. You can set a capacity
11491
+ # provider when you create a cluster, run a task, or update a service.
11452
11492
  #
11453
- # if the service uses the default capacity provider strategy for the
11454
- # cluster, the service can be updated to use one or more capacity
11455
- # providers as opposed to the default capacity provider strategy.
11456
- # However, when a service is using a capacity provider strategy that's
11457
- # not the default capacity provider strategy, the service can't be
11458
- # updated to use the cluster's default capacity provider strategy.
11493
+ # When you use Fargate, the capacity providers are `FARGATE` or
11494
+ # `FARGATE_SPOT`.
11459
11495
  #
11460
- # A capacity provider strategy consists of one or more capacity
11461
- # providers along with the `base` and `weight` to assign to them. A
11462
- # capacity provider must be associated with the cluster to be used in a
11463
- # capacity provider strategy. The [PutClusterCapacityProviders][1] API
11464
- # is used to associate a capacity provider with a cluster. Only capacity
11465
- # providers with an `ACTIVE` or `UPDATING` status can be used.
11496
+ # When you use Amazon EC2, the capacity providers are Auto Scaling
11497
+ # groups.
11466
11498
  #
11467
- # If specifying a capacity provider that uses an Auto Scaling group, the
11468
- # capacity provider must already be created. New capacity providers can
11469
- # be created with the [CreateClusterCapacityProvider][2] API operation.
11499
+ # You can change capacity providers for rolling deployments and
11500
+ # blue/green deployments.
11470
11501
  #
11471
- # To use a Fargate capacity provider, specify either the `FARGATE` or
11472
- # `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
11473
- # available to all accounts and only need to be associated with a
11474
- # cluster to be used.
11502
+ # The following list provides the valid transitions:
11475
11503
  #
11476
- # The [PutClusterCapacityProviders][1]API operation is used to update
11477
- # the list of available capacity providers for a cluster after the
11478
- # cluster is created.
11504
+ # * Update the Fargate launch type to an Auto Scaling group capacity
11505
+ # provider.
11479
11506
  #
11507
+ # * Update the Amazon EC2 launch type to a Fargate capacity provider.
11480
11508
  #
11509
+ # * Update the Fargate capacity provider to an Auto Scaling group
11510
+ # capacity provider.
11481
11511
  #
11512
+ # * Update the Amazon EC2 capacity provider to a Fargate capacity
11513
+ # provider.
11482
11514
  #
11515
+ # * Update the Auto Scaling group or Fargate capacity provider back to
11516
+ # the launch type.
11483
11517
  #
11484
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
11485
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateClusterCapacityProvider.html
11518
+ # Pass an empty list in the `capacityProviderStrategy` parameter.
11519
+ #
11520
+ # For information about Amazon Web Services CDK considerations, see
11521
+ # [Amazon Web Services CDK considerations][1].
11522
+ #
11523
+ #
11524
+ #
11525
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html
11486
11526
  #
11487
11527
  # @option params [Types::DeploymentConfiguration] :deployment_configuration
11488
11528
  # Optional deployment parameters that control how many tasks run during
@@ -11579,6 +11619,10 @@ module Aws::ECS
11579
11619
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
11580
11620
  #
11581
11621
  # @option params [Array<Types::LoadBalancer>] :load_balancers
11622
+ # <note markdown="1"> You must have a service-linked role when you update this property
11623
+ #
11624
+ # </note>
11625
+ #
11582
11626
  # A list of Elastic Load Balancing load balancer objects. It contains
11583
11627
  # the load balancer name, the container name, and the container port to
11584
11628
  # access from the load balancer. The container name is as it appears in
@@ -11625,8 +11669,15 @@ module Aws::ECS
11625
11669
  # that Amazon ECS starts new tasks with the updated tags.
11626
11670
  #
11627
11671
  # @option params [Array<Types::ServiceRegistry>] :service_registries
11672
+ # <note markdown="1"> You must have a service-linked role when you update this property.
11673
+ #
11674
+ # For more information about the role see the `CreateService` request
11675
+ # parameter [ `role` ][1].
11676
+ #
11677
+ # </note>
11678
+ #
11628
11679
  # The details for the service discovery registries to assign to this
11629
- # service. For more information, see [Service Discovery][1].
11680
+ # service. For more information, see [Service Discovery][2].
11630
11681
  #
11631
11682
  # When you add, update, or remove the service registries configuration,
11632
11683
  # Amazon ECS starts new tasks with the updated service registries
@@ -11637,7 +11688,8 @@ module Aws::ECS
11637
11688
  #
11638
11689
  #
11639
11690
  #
11640
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
11691
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
11692
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
11641
11693
  #
11642
11694
  # @option params [Types::ServiceConnectConfiguration] :service_connect_configuration
11643
11695
  # The configuration for this service to discover and connect to
@@ -11821,6 +11873,7 @@ module Aws::ECS
11821
11873
  # volume_type: "EBSVolumeType",
11822
11874
  # size_in_gi_b: 1,
11823
11875
  # snapshot_id: "EBSSnapshotId",
11876
+ # volume_initialization_rate: 1,
11824
11877
  # iops: 1,
11825
11878
  # throughput: 1,
11826
11879
  # tag_specifications: [
@@ -11982,6 +12035,7 @@ module Aws::ECS
11982
12035
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
11983
12036
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
11984
12037
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
12038
+ # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_initialization_rate #=> Integer
11985
12039
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
11986
12040
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
11987
12041
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
@@ -12511,7 +12565,7 @@ module Aws::ECS
12511
12565
  tracer: tracer
12512
12566
  )
12513
12567
  context[:gem_name] = 'aws-sdk-ecs'
12514
- context[:gem_version] = '1.187.0'
12568
+ context[:gem_version] = '1.196.0'
12515
12569
  Seahorse::Client::Request.new(handlers, context)
12516
12570
  end
12517
12571
 
@@ -1497,7 +1497,7 @@ module Aws::ECS
1497
1497
  RunTaskRequest.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
1498
1498
  RunTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1499
1499
  RunTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
1500
- RunTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1500
+ RunTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1501
1501
  RunTaskRequest.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: TaskVolumeConfigurations, location_name: "volumeConfigurations"))
1502
1502
  RunTaskRequest.struct_class = Types::RunTaskRequest
1503
1503
 
@@ -1653,6 +1653,7 @@ module Aws::ECS
1653
1653
  ServiceManagedEBSVolumeConfiguration.add_member(:volume_type, Shapes::ShapeRef.new(shape: EBSVolumeType, location_name: "volumeType"))
1654
1654
  ServiceManagedEBSVolumeConfiguration.add_member(:size_in_gi_b, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "sizeInGiB"))
1655
1655
  ServiceManagedEBSVolumeConfiguration.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: EBSSnapshotId, location_name: "snapshotId"))
1656
+ ServiceManagedEBSVolumeConfiguration.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "volumeInitializationRate"))
1656
1657
  ServiceManagedEBSVolumeConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "iops"))
1657
1658
  ServiceManagedEBSVolumeConfiguration.add_member(:throughput, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "throughput"))
1658
1659
  ServiceManagedEBSVolumeConfiguration.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: EBSTagSpecifications, location_name: "tagSpecifications"))
@@ -1910,6 +1911,7 @@ module Aws::ECS
1910
1911
  TaskManagedEBSVolumeConfiguration.add_member(:volume_type, Shapes::ShapeRef.new(shape: EBSVolumeType, location_name: "volumeType"))
1911
1912
  TaskManagedEBSVolumeConfiguration.add_member(:size_in_gi_b, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "sizeInGiB"))
1912
1913
  TaskManagedEBSVolumeConfiguration.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: EBSSnapshotId, location_name: "snapshotId"))
1914
+ TaskManagedEBSVolumeConfiguration.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "volumeInitializationRate"))
1913
1915
  TaskManagedEBSVolumeConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "iops"))
1914
1916
  TaskManagedEBSVolumeConfiguration.add_member(:throughput, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "throughput"))
1915
1917
  TaskManagedEBSVolumeConfiguration.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: EBSTagSpecifications, location_name: "tagSpecifications"))