aws-sdk-ecs 1.135.0 → 1.137.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +285 -13
- data/lib/aws-sdk-ecs/client_api.rb +74 -0
- data/lib/aws-sdk-ecs/types.rb +622 -24
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1831d8de96691a085c28bb024bcbe0ba09ee1f4cb0066b4a797cbeafd989108c
|
4
|
+
data.tar.gz: 2183b2cc344d527efc934fe51cb2246c8b040c3ce796392a2c0bac0e3327fc15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33d4934c6f1f07ad670ceec3e8b8f6a8633ba5e961bd2eb10380569a3ecb81ed9ddac6e03adcc2ce65ffcbd48b9b156ac9c61669916d0766036abdf8ad78a22d
|
7
|
+
data.tar.gz: 6165f08049a21782ff9bea00050bf473e3d33a4f337255e87419995bb80eb2c739e7e65f04f21dde661f64fa9976c556f1498815dff2d4509d91a84f767cf774
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.137.0 (2024-01-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for adding an ElasticBlockStorage volume configurations in ECS RunTask/StartTask/CreateService/UpdateService APIs. The configuration allows for attaching EBS volumes to ECS Tasks.
|
8
|
+
|
9
|
+
1.136.0 (2024-01-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for managed instance draining which facilitates graceful termination of Amazon ECS instances.
|
13
|
+
|
4
14
|
1.135.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.137.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -464,6 +464,7 @@ module Aws::ECS
|
|
464
464
|
# instance_warmup_period: 1,
|
465
465
|
# },
|
466
466
|
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
467
|
+
# managed_draining: "ENABLED", # accepts ENABLED, DISABLED
|
467
468
|
# },
|
468
469
|
# tags: [
|
469
470
|
# {
|
@@ -485,6 +486,7 @@ module Aws::ECS
|
|
485
486
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
486
487
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
487
488
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
489
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
488
490
|
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
489
491
|
# resp.capacity_provider.update_status_reason #=> String
|
490
492
|
# resp.capacity_provider.tags #=> Array
|
@@ -773,6 +775,12 @@ module Aws::ECS
|
|
773
775
|
# balancing][1] in the *Amazon Elastic Container Service Developer
|
774
776
|
# Guide*.
|
775
777
|
#
|
778
|
+
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
779
|
+
# the volume when creating or updating a service. `volumeConfigurations`
|
780
|
+
# is only supported for REPLICA service and not DAEMON service. For more
|
781
|
+
# infomation, see [Amazon EBS volumes][2] in the *Amazon Elastic
|
782
|
+
# Container Service Developer Guide*.
|
783
|
+
#
|
776
784
|
# Tasks for services that don't use a load balancer are considered
|
777
785
|
# healthy if they're in the `RUNNING` state. Tasks for services that
|
778
786
|
# use a load balancer are considered healthy if they're in the
|
@@ -785,7 +793,7 @@ module Aws::ECS
|
|
785
793
|
# service scheduler spreads tasks across Availability Zones. You can
|
786
794
|
# use task placement strategies and constraints to customize task
|
787
795
|
# placement decisions. For more information, see [Service scheduler
|
788
|
-
# concepts][
|
796
|
+
# concepts][3] in the *Amazon Elastic Container Service Developer
|
789
797
|
# Guide*.
|
790
798
|
#
|
791
799
|
# * `DAEMON` - The daemon scheduling strategy deploys exactly one task
|
@@ -796,7 +804,7 @@ module Aws::ECS
|
|
796
804
|
# constraints. When using this strategy, you don't need to specify a
|
797
805
|
# desired number of tasks, a task placement strategy, or use Service
|
798
806
|
# Auto Scaling policies. For more information, see [Service scheduler
|
799
|
-
# concepts][
|
807
|
+
# concepts][3] in the *Amazon Elastic Container Service Developer
|
800
808
|
# Guide*.
|
801
809
|
#
|
802
810
|
# You can optionally specify a deployment configuration for your
|
@@ -852,20 +860,21 @@ module Aws::ECS
|
|
852
860
|
# controller, you can specify only parameters that aren't controlled at
|
853
861
|
# the task set level. The only required parameter is the service name.
|
854
862
|
# You control your services using the CreateTaskSet operation. For more
|
855
|
-
# information, see [Amazon ECS deployment types][
|
863
|
+
# information, see [Amazon ECS deployment types][4] in the *Amazon
|
856
864
|
# Elastic Container Service Developer Guide*.
|
857
865
|
#
|
858
866
|
# When the service scheduler launches new tasks, it determines task
|
859
867
|
# placement. For information about task placement and task placement
|
860
|
-
# strategies, see [Amazon ECS task placement][
|
868
|
+
# strategies, see [Amazon ECS task placement][5] in the *Amazon Elastic
|
861
869
|
# Container Service Developer Guide*.
|
862
870
|
#
|
863
871
|
#
|
864
872
|
#
|
865
873
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html
|
866
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
867
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
868
|
-
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
874
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
|
875
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
|
876
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
877
|
+
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html
|
869
878
|
#
|
870
879
|
# @option params [String] :cluster
|
871
880
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
@@ -1220,6 +1229,11 @@ module Aws::ECS
|
|
1220
1229
|
#
|
1221
1230
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
1222
1231
|
#
|
1232
|
+
# @option params [Array<Types::ServiceVolumeConfiguration>] :volume_configurations
|
1233
|
+
# The configuration for a volume specified in the task definition as a
|
1234
|
+
# volume that is configured at launch time. Currently, the only
|
1235
|
+
# supported volume type is an Amazon EBS volume.
|
1236
|
+
#
|
1223
1237
|
# @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1224
1238
|
#
|
1225
1239
|
# * {Types::CreateServiceResponse#service #service} => Types::Service
|
@@ -1451,6 +1465,34 @@ module Aws::ECS
|
|
1451
1465
|
# ],
|
1452
1466
|
# },
|
1453
1467
|
# },
|
1468
|
+
# volume_configurations: [
|
1469
|
+
# {
|
1470
|
+
# name: "ECSVolumeName", # required
|
1471
|
+
# managed_ebs_volume: {
|
1472
|
+
# encrypted: false,
|
1473
|
+
# kms_key_id: "EBSKMSKeyId",
|
1474
|
+
# volume_type: "EBSVolumeType",
|
1475
|
+
# size_in_gi_b: 1,
|
1476
|
+
# snapshot_id: "EBSSnapshotId",
|
1477
|
+
# iops: 1,
|
1478
|
+
# throughput: 1,
|
1479
|
+
# tag_specifications: [
|
1480
|
+
# {
|
1481
|
+
# resource_type: "volume", # required, accepts volume
|
1482
|
+
# tags: [
|
1483
|
+
# {
|
1484
|
+
# key: "TagKey",
|
1485
|
+
# value: "TagValue",
|
1486
|
+
# },
|
1487
|
+
# ],
|
1488
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
1489
|
+
# },
|
1490
|
+
# ],
|
1491
|
+
# role_arn: "IAMRoleArn", # required
|
1492
|
+
# filesystem_type: "ext3", # accepts ext3, ext4, xfs
|
1493
|
+
# },
|
1494
|
+
# },
|
1495
|
+
# ],
|
1454
1496
|
# })
|
1455
1497
|
#
|
1456
1498
|
# @example Response structure
|
@@ -1573,6 +1615,23 @@ module Aws::ECS
|
|
1573
1615
|
# resp.service.deployments[0].service_connect_resources #=> Array
|
1574
1616
|
# resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
|
1575
1617
|
# resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
|
1618
|
+
# resp.service.deployments[0].volume_configurations #=> Array
|
1619
|
+
# resp.service.deployments[0].volume_configurations[0].name #=> String
|
1620
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
|
1621
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.kms_key_id #=> String
|
1622
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
1623
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
1624
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
|
1625
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
1626
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
1627
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
1628
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].resource_type #=> String, one of "volume"
|
1629
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags #=> Array
|
1630
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].key #=> String
|
1631
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].value #=> String
|
1632
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
1633
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
1634
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs"
|
1576
1635
|
# resp.service.role_arn #=> String
|
1577
1636
|
# resp.service.events #=> Array
|
1578
1637
|
# resp.service.events[0].id #=> String
|
@@ -1615,6 +1674,8 @@ module Aws::ECS
|
|
1615
1674
|
# more information, see [Amazon ECS deployment types][1] in the *Amazon
|
1616
1675
|
# Elastic Container Service Developer Guide*.
|
1617
1676
|
#
|
1677
|
+
# You can create a maximum of 5 tasks sets for a deployment.
|
1678
|
+
#
|
1618
1679
|
#
|
1619
1680
|
#
|
1620
1681
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
@@ -2027,6 +2088,7 @@ module Aws::ECS
|
|
2027
2088
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
2028
2089
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
2029
2090
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
2091
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
2030
2092
|
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
2031
2093
|
# resp.capacity_provider.update_status_reason #=> String
|
2032
2094
|
# resp.capacity_provider.tags #=> Array
|
@@ -2321,6 +2383,23 @@ module Aws::ECS
|
|
2321
2383
|
# resp.service.deployments[0].service_connect_resources #=> Array
|
2322
2384
|
# resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
|
2323
2385
|
# resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
|
2386
|
+
# resp.service.deployments[0].volume_configurations #=> Array
|
2387
|
+
# resp.service.deployments[0].volume_configurations[0].name #=> String
|
2388
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
|
2389
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.kms_key_id #=> String
|
2390
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
2391
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
2392
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
|
2393
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
2394
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
2395
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
2396
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].resource_type #=> String, one of "volume"
|
2397
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags #=> Array
|
2398
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].key #=> String
|
2399
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].value #=> String
|
2400
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
2401
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
2402
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs"
|
2324
2403
|
# resp.service.role_arn #=> String
|
2325
2404
|
# resp.service.events #=> Array
|
2326
2405
|
# resp.service.events[0].id #=> String
|
@@ -2543,6 +2622,7 @@ module Aws::ECS
|
|
2543
2622
|
# resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
2544
2623
|
# resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
2545
2624
|
# resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
2625
|
+
# resp.task_definitions[0].volumes[0].configured_at_launch #=> Boolean
|
2546
2626
|
# resp.task_definitions[0].status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
|
2547
2627
|
# resp.task_definitions[0].requires_attributes #=> Array
|
2548
2628
|
# resp.task_definitions[0].requires_attributes[0].name #=> String
|
@@ -2998,6 +3078,7 @@ module Aws::ECS
|
|
2998
3078
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
2999
3079
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
3000
3080
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
3081
|
+
# resp.task_definition.volumes[0].configured_at_launch #=> Boolean
|
3001
3082
|
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
|
3002
3083
|
# resp.task_definition.requires_attributes #=> Array
|
3003
3084
|
# resp.task_definition.requires_attributes[0].name #=> String
|
@@ -3104,6 +3185,7 @@ module Aws::ECS
|
|
3104
3185
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
3105
3186
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
3106
3187
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
3188
|
+
# resp.capacity_providers[0].auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
3107
3189
|
# resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
3108
3190
|
# resp.capacity_providers[0].update_status_reason #=> String
|
3109
3191
|
# resp.capacity_providers[0].tags #=> Array
|
@@ -3640,6 +3722,23 @@ module Aws::ECS
|
|
3640
3722
|
# resp.services[0].deployments[0].service_connect_resources #=> Array
|
3641
3723
|
# resp.services[0].deployments[0].service_connect_resources[0].discovery_name #=> String
|
3642
3724
|
# resp.services[0].deployments[0].service_connect_resources[0].discovery_arn #=> String
|
3725
|
+
# resp.services[0].deployments[0].volume_configurations #=> Array
|
3726
|
+
# resp.services[0].deployments[0].volume_configurations[0].name #=> String
|
3727
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
|
3728
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.kms_key_id #=> String
|
3729
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
3730
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
3731
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
|
3732
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
3733
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
3734
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
3735
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].resource_type #=> String, one of "volume"
|
3736
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags #=> Array
|
3737
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].key #=> String
|
3738
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].value #=> String
|
3739
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
3740
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
3741
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs"
|
3643
3742
|
# resp.services[0].role_arn #=> String
|
3644
3743
|
# resp.services[0].events #=> Array
|
3645
3744
|
# resp.services[0].events[0].id #=> String
|
@@ -3916,6 +4015,7 @@ module Aws::ECS
|
|
3916
4015
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
3917
4016
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
3918
4017
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
4018
|
+
# resp.task_definition.volumes[0].configured_at_launch #=> Boolean
|
3919
4019
|
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
|
3920
4020
|
# resp.task_definition.requires_attributes #=> Array
|
3921
4021
|
# resp.task_definition.requires_attributes[0].name #=> String
|
@@ -6761,6 +6861,7 @@ module Aws::ECS
|
|
6761
6861
|
# domain: "String", # required
|
6762
6862
|
# },
|
6763
6863
|
# },
|
6864
|
+
# configured_at_launch: false,
|
6764
6865
|
# },
|
6765
6866
|
# ],
|
6766
6867
|
# placement_constraints: [
|
@@ -6939,6 +7040,7 @@ module Aws::ECS
|
|
6939
7040
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
6940
7041
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
6941
7042
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
7043
|
+
# resp.task_definition.volumes[0].configured_at_launch #=> Boolean
|
6942
7044
|
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
|
6943
7045
|
# resp.task_definition.requires_attributes #=> Array
|
6944
7046
|
# resp.task_definition.requires_attributes[0].name #=> String
|
@@ -7004,6 +7106,11 @@ module Aws::ECS
|
|
7004
7106
|
#
|
7005
7107
|
# </note>
|
7006
7108
|
#
|
7109
|
+
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
7110
|
+
# the volume when creating or updating a service. For more infomation,
|
7111
|
+
# see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
|
7112
|
+
# Developer Guide*.
|
7113
|
+
#
|
7007
7114
|
# The Amazon ECS API follows an eventual consistency model. This is
|
7008
7115
|
# because of the distributed nature of the system supporting the API.
|
7009
7116
|
# This means that the result of an API command you run that affects your
|
@@ -7029,6 +7136,7 @@ module Aws::ECS
|
|
7029
7136
|
#
|
7030
7137
|
#
|
7031
7138
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html
|
7139
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
|
7032
7140
|
#
|
7033
7141
|
# @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
|
7034
7142
|
# The capacity provider strategy to use for the task.
|
@@ -7254,6 +7362,16 @@ module Aws::ECS
|
|
7254
7362
|
#
|
7255
7363
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/ECS_Idempotency.html
|
7256
7364
|
#
|
7365
|
+
# @option params [Array<Types::TaskVolumeConfiguration>] :volume_configurations
|
7366
|
+
# The details of the volume that was `configuredAtLaunch`. You can
|
7367
|
+
# configure the size, volumeType, IOPS, throughput, snapshot and
|
7368
|
+
# encryption in in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
|
7369
|
+
# the volume must match the `name` from the task definition.
|
7370
|
+
#
|
7371
|
+
#
|
7372
|
+
#
|
7373
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html
|
7374
|
+
#
|
7257
7375
|
# @return [Types::RunTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7258
7376
|
#
|
7259
7377
|
# * {Types::RunTaskResponse#tasks #tasks} => Array<Types::Task>
|
@@ -7386,6 +7504,37 @@ module Aws::ECS
|
|
7386
7504
|
# ],
|
7387
7505
|
# task_definition: "String", # required
|
7388
7506
|
# client_token: "String",
|
7507
|
+
# volume_configurations: [
|
7508
|
+
# {
|
7509
|
+
# name: "ECSVolumeName", # required
|
7510
|
+
# managed_ebs_volume: {
|
7511
|
+
# encrypted: false,
|
7512
|
+
# kms_key_id: "EBSKMSKeyId",
|
7513
|
+
# volume_type: "EBSVolumeType",
|
7514
|
+
# size_in_gi_b: 1,
|
7515
|
+
# snapshot_id: "EBSSnapshotId",
|
7516
|
+
# iops: 1,
|
7517
|
+
# throughput: 1,
|
7518
|
+
# tag_specifications: [
|
7519
|
+
# {
|
7520
|
+
# resource_type: "volume", # required, accepts volume
|
7521
|
+
# tags: [
|
7522
|
+
# {
|
7523
|
+
# key: "TagKey",
|
7524
|
+
# value: "TagValue",
|
7525
|
+
# },
|
7526
|
+
# ],
|
7527
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
7528
|
+
# },
|
7529
|
+
# ],
|
7530
|
+
# role_arn: "IAMRoleArn", # required
|
7531
|
+
# termination_policy: {
|
7532
|
+
# delete_on_termination: false, # required
|
7533
|
+
# },
|
7534
|
+
# filesystem_type: "ext3", # accepts ext3, ext4, xfs
|
7535
|
+
# },
|
7536
|
+
# },
|
7537
|
+
# ],
|
7389
7538
|
# })
|
7390
7539
|
#
|
7391
7540
|
# @example Response structure
|
@@ -7527,9 +7676,15 @@ module Aws::ECS
|
|
7527
7676
|
# information, see [Scheduling Tasks][1] in the *Amazon Elastic
|
7528
7677
|
# Container Service Developer Guide*.
|
7529
7678
|
#
|
7679
|
+
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
7680
|
+
# the volume when creating or updating a service. For more infomation,
|
7681
|
+
# see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
|
7682
|
+
# Developer Guide*.
|
7683
|
+
#
|
7530
7684
|
#
|
7531
7685
|
#
|
7532
7686
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html
|
7687
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
|
7533
7688
|
#
|
7534
7689
|
# @option params [String] :cluster
|
7535
7690
|
# The short name or full Amazon Resource Name (ARN) of the cluster where
|
@@ -7635,6 +7790,16 @@ module Aws::ECS
|
|
7635
7790
|
# task definition to start. If a `revision` isn't specified, the latest
|
7636
7791
|
# `ACTIVE` revision is used.
|
7637
7792
|
#
|
7793
|
+
# @option params [Array<Types::TaskVolumeConfiguration>] :volume_configurations
|
7794
|
+
# The details of the volume that was `configuredAtLaunch`. You can
|
7795
|
+
# configure the size, volumeType, IOPS, throughput, snapshot and
|
7796
|
+
# encryption in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
|
7797
|
+
# the volume must match the `name` from the task definition.
|
7798
|
+
#
|
7799
|
+
#
|
7800
|
+
#
|
7801
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html
|
7802
|
+
#
|
7638
7803
|
# @return [Types::StartTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7639
7804
|
#
|
7640
7805
|
# * {Types::StartTaskResponse#tasks #tasks} => Array<Types::Task>
|
@@ -7707,6 +7872,37 @@ module Aws::ECS
|
|
7707
7872
|
# },
|
7708
7873
|
# ],
|
7709
7874
|
# task_definition: "String", # required
|
7875
|
+
# volume_configurations: [
|
7876
|
+
# {
|
7877
|
+
# name: "ECSVolumeName", # required
|
7878
|
+
# managed_ebs_volume: {
|
7879
|
+
# encrypted: false,
|
7880
|
+
# kms_key_id: "EBSKMSKeyId",
|
7881
|
+
# volume_type: "EBSVolumeType",
|
7882
|
+
# size_in_gi_b: 1,
|
7883
|
+
# snapshot_id: "EBSSnapshotId",
|
7884
|
+
# iops: 1,
|
7885
|
+
# throughput: 1,
|
7886
|
+
# tag_specifications: [
|
7887
|
+
# {
|
7888
|
+
# resource_type: "volume", # required, accepts volume
|
7889
|
+
# tags: [
|
7890
|
+
# {
|
7891
|
+
# key: "TagKey",
|
7892
|
+
# value: "TagValue",
|
7893
|
+
# },
|
7894
|
+
# ],
|
7895
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
7896
|
+
# },
|
7897
|
+
# ],
|
7898
|
+
# role_arn: "IAMRoleArn", # required
|
7899
|
+
# termination_policy: {
|
7900
|
+
# delete_on_termination: false, # required
|
7901
|
+
# },
|
7902
|
+
# filesystem_type: "ext3", # accepts ext3, ext4, xfs
|
7903
|
+
# },
|
7904
|
+
# },
|
7905
|
+
# ],
|
7710
7906
|
# })
|
7711
7907
|
#
|
7712
7908
|
# @example Response structure
|
@@ -8360,6 +8556,7 @@ module Aws::ECS
|
|
8360
8556
|
# instance_warmup_period: 1,
|
8361
8557
|
# },
|
8362
8558
|
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
8559
|
+
# managed_draining: "ENABLED", # accepts ENABLED, DISABLED
|
8363
8560
|
# },
|
8364
8561
|
# })
|
8365
8562
|
#
|
@@ -8375,6 +8572,7 @@ module Aws::ECS
|
|
8375
8572
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
8376
8573
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
8377
8574
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
8575
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
8378
8576
|
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
8379
8577
|
# resp.capacity_provider.update_status_reason #=> String
|
8380
8578
|
# resp.capacity_provider.tags #=> Array
|
@@ -8869,13 +9067,24 @@ module Aws::ECS
|
|
8869
9067
|
# task definition. When you update any of these parameters, Amazon ECS
|
8870
9068
|
# starts new tasks with the new configuration.
|
8871
9069
|
#
|
9070
|
+
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
9071
|
+
# the volume when starting or running a task, or when creating or
|
9072
|
+
# updating a service. For more infomation, see [Amazon EBS volumes][1]
|
9073
|
+
# in the *Amazon Elastic Container Service Developer Guide*. You can
|
9074
|
+
# update your volume configurations and trigger a new deployment.
|
9075
|
+
# `volumeConfigurations` is only supported for REPLICA service and not
|
9076
|
+
# DAEMON service. If you leave `volumeConfigurations` `null`, it
|
9077
|
+
# doesn't trigger a new deployment. For more infomation on volumes, see
|
9078
|
+
# [Amazon EBS volumes][1] in the *Amazon Elastic Container Service
|
9079
|
+
# Developer Guide*.
|
9080
|
+
#
|
8872
9081
|
# For services using the blue/green (`CODE_DEPLOY`) deployment
|
8873
9082
|
# controller, only the desired count, deployment configuration, health
|
8874
9083
|
# check grace period, task placement constraints and strategies, enable
|
8875
9084
|
# ECS managed tags option, and propagate tags can be updated using this
|
8876
9085
|
# API. If the network configuration, platform version, task definition,
|
8877
9086
|
# or load balancer need to be updated, create a new CodeDeploy
|
8878
|
-
# deployment. For more information, see [CreateDeployment][
|
9087
|
+
# deployment. For more information, see [CreateDeployment][2] in the
|
8879
9088
|
# *CodeDeploy API Reference*.
|
8880
9089
|
#
|
8881
9090
|
# For services using an external deployment controller, you can update
|
@@ -8890,7 +9099,12 @@ module Aws::ECS
|
|
8890
9099
|
# definition in a service by specifying the cluster that the service is
|
8891
9100
|
# running in and a new `desiredCount` parameter.
|
8892
9101
|
#
|
8893
|
-
#
|
9102
|
+
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
9103
|
+
# the volume when starting or running a task, or when creating or
|
9104
|
+
# updating a service. For more infomation, see [Amazon EBS volumes][1]
|
9105
|
+
# in the *Amazon Elastic Container Service Developer Guide*.
|
9106
|
+
#
|
9107
|
+
# If you have updated the container image of your application, you can
|
8894
9108
|
# create a new task definition with that image and deploy it to your
|
8895
9109
|
# service. The service scheduler uses the minimum healthy percent and
|
8896
9110
|
# maximum percent parameters (in the service's deployment
|
@@ -8979,14 +9193,15 @@ module Aws::ECS
|
|
8979
9193
|
# * `serviceRegistries`
|
8980
9194
|
#
|
8981
9195
|
# For more information about the role see the `CreateService` request
|
8982
|
-
# parameter [ `role` ][
|
9196
|
+
# parameter [ `role` ][3].
|
8983
9197
|
#
|
8984
9198
|
# </note>
|
8985
9199
|
#
|
8986
9200
|
#
|
8987
9201
|
#
|
8988
|
-
# [1]: https://docs.aws.amazon.com/
|
8989
|
-
# [2]: https://docs.aws.amazon.com/
|
9202
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
|
9203
|
+
# [2]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
|
9204
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
|
8990
9205
|
#
|
8991
9206
|
# @option params [String] :cluster
|
8992
9207
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
@@ -9195,6 +9410,18 @@ module Aws::ECS
|
|
9195
9410
|
#
|
9196
9411
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
9197
9412
|
#
|
9413
|
+
# @option params [Array<Types::ServiceVolumeConfiguration>] :volume_configurations
|
9414
|
+
# The details of the volume that was `configuredAtLaunch`. You can
|
9415
|
+
# configure the size, volumeType, IOPS, throughput, snapshot and
|
9416
|
+
# encryption in [ServiceManagedEBSVolumeConfiguration][1]. The `name` of
|
9417
|
+
# the volume must match the `name` from the task definition. If set to
|
9418
|
+
# null, no new deployment is triggered. Otherwise, if this configuration
|
9419
|
+
# differs from the existing one, it triggers a new deployment.
|
9420
|
+
#
|
9421
|
+
#
|
9422
|
+
#
|
9423
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceManagedEBSVolumeConfiguration.html
|
9424
|
+
#
|
9198
9425
|
# @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9199
9426
|
#
|
9200
9427
|
# * {Types::UpdateServiceResponse#service #service} => Types::Service
|
@@ -9323,6 +9550,34 @@ module Aws::ECS
|
|
9323
9550
|
# ],
|
9324
9551
|
# },
|
9325
9552
|
# },
|
9553
|
+
# volume_configurations: [
|
9554
|
+
# {
|
9555
|
+
# name: "ECSVolumeName", # required
|
9556
|
+
# managed_ebs_volume: {
|
9557
|
+
# encrypted: false,
|
9558
|
+
# kms_key_id: "EBSKMSKeyId",
|
9559
|
+
# volume_type: "EBSVolumeType",
|
9560
|
+
# size_in_gi_b: 1,
|
9561
|
+
# snapshot_id: "EBSSnapshotId",
|
9562
|
+
# iops: 1,
|
9563
|
+
# throughput: 1,
|
9564
|
+
# tag_specifications: [
|
9565
|
+
# {
|
9566
|
+
# resource_type: "volume", # required, accepts volume
|
9567
|
+
# tags: [
|
9568
|
+
# {
|
9569
|
+
# key: "TagKey",
|
9570
|
+
# value: "TagValue",
|
9571
|
+
# },
|
9572
|
+
# ],
|
9573
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
9574
|
+
# },
|
9575
|
+
# ],
|
9576
|
+
# role_arn: "IAMRoleArn", # required
|
9577
|
+
# filesystem_type: "ext3", # accepts ext3, ext4, xfs
|
9578
|
+
# },
|
9579
|
+
# },
|
9580
|
+
# ],
|
9326
9581
|
# })
|
9327
9582
|
#
|
9328
9583
|
# @example Response structure
|
@@ -9445,6 +9700,23 @@ module Aws::ECS
|
|
9445
9700
|
# resp.service.deployments[0].service_connect_resources #=> Array
|
9446
9701
|
# resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
|
9447
9702
|
# resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
|
9703
|
+
# resp.service.deployments[0].volume_configurations #=> Array
|
9704
|
+
# resp.service.deployments[0].volume_configurations[0].name #=> String
|
9705
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
|
9706
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.kms_key_id #=> String
|
9707
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
9708
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
9709
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
|
9710
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
9711
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
9712
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
9713
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].resource_type #=> String, one of "volume"
|
9714
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags #=> Array
|
9715
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].key #=> String
|
9716
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].value #=> String
|
9717
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
9718
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
9719
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs"
|
9448
9720
|
# resp.service.role_arn #=> String
|
9449
9721
|
# resp.service.events #=> Array
|
9450
9722
|
# resp.service.events[0].id #=> String
|
@@ -9851,7 +10123,7 @@ module Aws::ECS
|
|
9851
10123
|
params: params,
|
9852
10124
|
config: config)
|
9853
10125
|
context[:gem_name] = 'aws-sdk-ecs'
|
9854
|
-
context[:gem_version] = '1.
|
10126
|
+
context[:gem_version] = '1.137.0'
|
9855
10127
|
Seahorse::Client::Request.new(handlers, context)
|
9856
10128
|
end
|
9857
10129
|
|