aws-sdk-ecs 1.165.0 → 1.171.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 +30 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +456 -55
- data/lib/aws-sdk-ecs/client_api.rb +203 -1
- data/lib/aws-sdk-ecs/types.rb +940 -101
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +62 -4
- data/sig/types.rbs +150 -1
- metadata +2 -2
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -972,6 +972,18 @@ module Aws::ECS
|
|
972
972
|
#
|
973
973
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
974
974
|
#
|
975
|
+
# @option params [String] :availability_zone_rebalancing
|
976
|
+
# Indicates whether to use Availability Zone rebalancing for the
|
977
|
+
# service.
|
978
|
+
#
|
979
|
+
# For more information, see [Balancing an Amazon ECS service across
|
980
|
+
# Availability Zones][1] in the *Amazon Elastic Container Service
|
981
|
+
# Developer Guide*.
|
982
|
+
#
|
983
|
+
#
|
984
|
+
#
|
985
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
|
986
|
+
#
|
975
987
|
# @option params [Array<Types::LoadBalancer>] :load_balancers
|
976
988
|
# A load balancer object representing the load balancers to use with
|
977
989
|
# your service. For more information, see [Service load balancing][1] in
|
@@ -1164,26 +1176,18 @@ module Aws::ECS
|
|
1164
1176
|
#
|
1165
1177
|
# @option params [Integer] :health_check_grace_period_seconds
|
1166
1178
|
# The period of time, in seconds, that the Amazon ECS service scheduler
|
1167
|
-
# ignores unhealthy Elastic Load Balancing
|
1168
|
-
# task has first started.
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
#
|
1172
|
-
#
|
1173
|
-
# If
|
1174
|
-
#
|
1175
|
-
#
|
1176
|
-
#
|
1177
|
-
#
|
1178
|
-
#
|
1179
|
-
# period of up to 2,147,483,647 seconds (about 69 years). During that
|
1180
|
-
# time, the Amazon ECS service scheduler ignores health check status.
|
1181
|
-
# This grace period can prevent the service scheduler from marking tasks
|
1182
|
-
# as unhealthy and stopping them before they have time to come up.
|
1183
|
-
#
|
1184
|
-
#
|
1185
|
-
#
|
1186
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html
|
1179
|
+
# ignores unhealthy Elastic Load Balancing, VPC Lattice, and container
|
1180
|
+
# health checks after a task has first started. If you don't specify a
|
1181
|
+
# health check grace period value, the default value of `0` is used. If
|
1182
|
+
# you don't use any of the health checks, then
|
1183
|
+
# `healthCheckGracePeriodSeconds` is unused.
|
1184
|
+
#
|
1185
|
+
# If your service's tasks take a while to start and respond to health
|
1186
|
+
# checks, you can specify a health check grace period of up to
|
1187
|
+
# 2,147,483,647 seconds (about 69 years). During that time, the Amazon
|
1188
|
+
# ECS service scheduler ignores health check status. This grace period
|
1189
|
+
# can prevent the service scheduler from marking tasks as unhealthy and
|
1190
|
+
# stopping them before they have time to come up.
|
1187
1191
|
#
|
1188
1192
|
# @option params [String] :scheduling_strategy
|
1189
1193
|
# The scheduling strategy to use for the service. For more information,
|
@@ -1309,6 +1313,9 @@ module Aws::ECS
|
|
1309
1313
|
# volume that is configured at launch time. Currently, the only
|
1310
1314
|
# supported volume type is an Amazon EBS volume.
|
1311
1315
|
#
|
1316
|
+
# @option params [Array<Types::VpcLatticeConfiguration>] :vpc_lattice_configurations
|
1317
|
+
# The VPC Lattice configuration for the service being created.
|
1318
|
+
#
|
1312
1319
|
# @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1313
1320
|
#
|
1314
1321
|
# * {Types::CreateServiceResponse#service #service} => Types::Service
|
@@ -1437,6 +1444,7 @@ module Aws::ECS
|
|
1437
1444
|
# cluster: "String",
|
1438
1445
|
# service_name: "String", # required
|
1439
1446
|
# task_definition: "String",
|
1447
|
+
# availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED
|
1440
1448
|
# load_balancers: [
|
1441
1449
|
# {
|
1442
1450
|
# target_group_arn: "String",
|
@@ -1474,8 +1482,8 @@ module Aws::ECS
|
|
1474
1482
|
# minimum_healthy_percent: 1,
|
1475
1483
|
# alarms: {
|
1476
1484
|
# alarm_names: ["String"], # required
|
1477
|
-
# enable: false, # required
|
1478
1485
|
# rollback: false, # required
|
1486
|
+
# enable: false, # required
|
1479
1487
|
# },
|
1480
1488
|
# },
|
1481
1489
|
# placement_constraints: [
|
@@ -1579,6 +1587,13 @@ module Aws::ECS
|
|
1579
1587
|
# },
|
1580
1588
|
# },
|
1581
1589
|
# ],
|
1590
|
+
# vpc_lattice_configurations: [
|
1591
|
+
# {
|
1592
|
+
# role_arn: "IAMRoleArn", # required
|
1593
|
+
# target_group_arn: "String", # required
|
1594
|
+
# port_name: "String", # required
|
1595
|
+
# },
|
1596
|
+
# ],
|
1582
1597
|
# })
|
1583
1598
|
#
|
1584
1599
|
# @example Response structure
|
@@ -1614,8 +1629,8 @@ module Aws::ECS
|
|
1614
1629
|
# resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
|
1615
1630
|
# resp.service.deployment_configuration.alarms.alarm_names #=> Array
|
1616
1631
|
# resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
|
1617
|
-
# resp.service.deployment_configuration.alarms.enable #=> Boolean
|
1618
1632
|
# resp.service.deployment_configuration.alarms.rollback #=> Boolean
|
1633
|
+
# resp.service.deployment_configuration.alarms.enable #=> Boolean
|
1619
1634
|
# resp.service.task_sets #=> Array
|
1620
1635
|
# resp.service.task_sets[0].id #=> String
|
1621
1636
|
# resp.service.task_sets[0].task_set_arn #=> String
|
@@ -1725,6 +1740,10 @@ module Aws::ECS
|
|
1725
1740
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
1726
1741
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs", "ntfs"
|
1727
1742
|
# resp.service.deployments[0].fargate_ephemeral_storage.kms_key_id #=> String
|
1743
|
+
# resp.service.deployments[0].vpc_lattice_configurations #=> Array
|
1744
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].role_arn #=> String
|
1745
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].target_group_arn #=> String
|
1746
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].port_name #=> String
|
1728
1747
|
# resp.service.role_arn #=> String
|
1729
1748
|
# resp.service.events #=> Array
|
1730
1749
|
# resp.service.events[0].id #=> String
|
@@ -1752,6 +1771,7 @@ module Aws::ECS
|
|
1752
1771
|
# resp.service.enable_ecs_managed_tags #=> Boolean
|
1753
1772
|
# resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
1754
1773
|
# resp.service.enable_execute_command #=> Boolean
|
1774
|
+
# resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
|
1755
1775
|
#
|
1756
1776
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService AWS API Documentation
|
1757
1777
|
#
|
@@ -2156,7 +2176,7 @@ module Aws::ECS
|
|
2156
2176
|
#
|
2157
2177
|
# <note markdown="1"> The `FARGATE` and `FARGATE_SPOT` capacity providers are reserved and
|
2158
2178
|
# can't be deleted. You can disassociate them from a cluster using
|
2159
|
-
# either [
|
2179
|
+
# either [PutClusterCapacityProviders][1] or by deleting the cluster.
|
2160
2180
|
#
|
2161
2181
|
# </note>
|
2162
2182
|
#
|
@@ -2169,12 +2189,12 @@ module Aws::ECS
|
|
2169
2189
|
# transitioned to use the capacity from the remaining capacity
|
2170
2190
|
# providers. Only capacity providers that aren't associated with a
|
2171
2191
|
# cluster can be deleted. To remove a capacity provider from a cluster,
|
2172
|
-
# you can either use [
|
2192
|
+
# you can either use [PutClusterCapacityProviders][1] or delete the
|
2173
2193
|
# cluster.
|
2174
2194
|
#
|
2175
2195
|
#
|
2176
2196
|
#
|
2177
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/
|
2197
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
|
2178
2198
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
|
2179
2199
|
#
|
2180
2200
|
# @option params [required, String] :capacity_provider
|
@@ -2425,8 +2445,8 @@ module Aws::ECS
|
|
2425
2445
|
# resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
|
2426
2446
|
# resp.service.deployment_configuration.alarms.alarm_names #=> Array
|
2427
2447
|
# resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
|
2428
|
-
# resp.service.deployment_configuration.alarms.enable #=> Boolean
|
2429
2448
|
# resp.service.deployment_configuration.alarms.rollback #=> Boolean
|
2449
|
+
# resp.service.deployment_configuration.alarms.enable #=> Boolean
|
2430
2450
|
# resp.service.task_sets #=> Array
|
2431
2451
|
# resp.service.task_sets[0].id #=> String
|
2432
2452
|
# resp.service.task_sets[0].task_set_arn #=> String
|
@@ -2536,6 +2556,10 @@ module Aws::ECS
|
|
2536
2556
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
2537
2557
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs", "ntfs"
|
2538
2558
|
# resp.service.deployments[0].fargate_ephemeral_storage.kms_key_id #=> String
|
2559
|
+
# resp.service.deployments[0].vpc_lattice_configurations #=> Array
|
2560
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].role_arn #=> String
|
2561
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].target_group_arn #=> String
|
2562
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].port_name #=> String
|
2539
2563
|
# resp.service.role_arn #=> String
|
2540
2564
|
# resp.service.events #=> Array
|
2541
2565
|
# resp.service.events[0].id #=> String
|
@@ -2563,6 +2587,7 @@ module Aws::ECS
|
|
2563
2587
|
# resp.service.enable_ecs_managed_tags #=> Boolean
|
2564
2588
|
# resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
2565
2589
|
# resp.service.enable_execute_command #=> Boolean
|
2590
|
+
# resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
|
2566
2591
|
#
|
2567
2592
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService AWS API Documentation
|
2568
2593
|
#
|
@@ -2691,6 +2716,7 @@ module Aws::ECS
|
|
2691
2716
|
# resp.task_definitions[0].container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
|
2692
2717
|
# resp.task_definitions[0].container_definitions[0].start_timeout #=> Integer
|
2693
2718
|
# resp.task_definitions[0].container_definitions[0].stop_timeout #=> Integer
|
2719
|
+
# resp.task_definitions[0].container_definitions[0].version_consistency #=> String, one of "enabled", "disabled"
|
2694
2720
|
# resp.task_definitions[0].container_definitions[0].hostname #=> String
|
2695
2721
|
# resp.task_definitions[0].container_definitions[0].user #=> String
|
2696
2722
|
# resp.task_definitions[0].container_definitions[0].working_directory #=> String
|
@@ -3152,6 +3178,7 @@ module Aws::ECS
|
|
3152
3178
|
# resp.task_definition.container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
|
3153
3179
|
# resp.task_definition.container_definitions[0].start_timeout #=> Integer
|
3154
3180
|
# resp.task_definition.container_definitions[0].stop_timeout #=> Integer
|
3181
|
+
# resp.task_definition.container_definitions[0].version_consistency #=> String, one of "enabled", "disabled"
|
3155
3182
|
# resp.task_definition.container_definitions[0].hostname #=> String
|
3156
3183
|
# resp.task_definition.container_definitions[0].user #=> String
|
3157
3184
|
# resp.task_definition.container_definitions[0].working_directory #=> String
|
@@ -3353,6 +3380,12 @@ module Aws::ECS
|
|
3353
3380
|
|
3354
3381
|
# Describes one or more of your clusters.
|
3355
3382
|
#
|
3383
|
+
# For CLI examples, see [describe-clusters.rst][1] on GitHub.
|
3384
|
+
#
|
3385
|
+
#
|
3386
|
+
#
|
3387
|
+
# [1]: https://github.com/aws/aws-cli/blob/develop/awscli/examples/ecs/describe-clusters.rst
|
3388
|
+
#
|
3356
3389
|
# @option params [Array<String>] :clusters
|
3357
3390
|
# A list of up to 100 cluster names or full cluster Amazon Resource Name
|
3358
3391
|
# (ARN) entries. If you do not specify a cluster, the default cluster is
|
@@ -3662,6 +3695,215 @@ module Aws::ECS
|
|
3662
3695
|
req.send_request(options)
|
3663
3696
|
end
|
3664
3697
|
|
3698
|
+
# Describes one or more of your service deployments.
|
3699
|
+
#
|
3700
|
+
# A service deployment happens when you release a software update for
|
3701
|
+
# the service. For more information, see [Amazon ECS service
|
3702
|
+
# deployments][1].
|
3703
|
+
#
|
3704
|
+
#
|
3705
|
+
#
|
3706
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployments.html
|
3707
|
+
#
|
3708
|
+
# @option params [required, Array<String>] :service_deployment_arns
|
3709
|
+
# The ARN of the service deployment.
|
3710
|
+
#
|
3711
|
+
# You can specify a maximum of 20 ARNs.
|
3712
|
+
#
|
3713
|
+
# @return [Types::DescribeServiceDeploymentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3714
|
+
#
|
3715
|
+
# * {Types::DescribeServiceDeploymentsResponse#service_deployments #service_deployments} => Array<Types::ServiceDeployment>
|
3716
|
+
# * {Types::DescribeServiceDeploymentsResponse#failures #failures} => Array<Types::Failure>
|
3717
|
+
#
|
3718
|
+
# @example Request syntax with placeholder values
|
3719
|
+
#
|
3720
|
+
# resp = client.describe_service_deployments({
|
3721
|
+
# service_deployment_arns: ["String"], # required
|
3722
|
+
# })
|
3723
|
+
#
|
3724
|
+
# @example Response structure
|
3725
|
+
#
|
3726
|
+
# resp.service_deployments #=> Array
|
3727
|
+
# resp.service_deployments[0].service_deployment_arn #=> String
|
3728
|
+
# resp.service_deployments[0].service_arn #=> String
|
3729
|
+
# resp.service_deployments[0].cluster_arn #=> String
|
3730
|
+
# resp.service_deployments[0].created_at #=> Time
|
3731
|
+
# resp.service_deployments[0].started_at #=> Time
|
3732
|
+
# resp.service_deployments[0].finished_at #=> Time
|
3733
|
+
# resp.service_deployments[0].stopped_at #=> Time
|
3734
|
+
# resp.service_deployments[0].updated_at #=> Time
|
3735
|
+
# resp.service_deployments[0].source_service_revisions #=> Array
|
3736
|
+
# resp.service_deployments[0].source_service_revisions[0].arn #=> String
|
3737
|
+
# resp.service_deployments[0].source_service_revisions[0].requested_task_count #=> Integer
|
3738
|
+
# resp.service_deployments[0].source_service_revisions[0].running_task_count #=> Integer
|
3739
|
+
# resp.service_deployments[0].source_service_revisions[0].pending_task_count #=> Integer
|
3740
|
+
# resp.service_deployments[0].target_service_revision.arn #=> String
|
3741
|
+
# resp.service_deployments[0].target_service_revision.requested_task_count #=> Integer
|
3742
|
+
# resp.service_deployments[0].target_service_revision.running_task_count #=> Integer
|
3743
|
+
# resp.service_deployments[0].target_service_revision.pending_task_count #=> Integer
|
3744
|
+
# resp.service_deployments[0].status #=> String, one of "PENDING", "SUCCESSFUL", "STOPPED", "STOP_REQUESTED", "IN_PROGRESS", "ROLLBACK_IN_PROGRESS", "ROLLBACK_SUCCESSFUL", "ROLLBACK_FAILED"
|
3745
|
+
# resp.service_deployments[0].status_reason #=> String
|
3746
|
+
# resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
3747
|
+
# resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
3748
|
+
# resp.service_deployments[0].deployment_configuration.maximum_percent #=> Integer
|
3749
|
+
# resp.service_deployments[0].deployment_configuration.minimum_healthy_percent #=> Integer
|
3750
|
+
# resp.service_deployments[0].deployment_configuration.alarms.alarm_names #=> Array
|
3751
|
+
# resp.service_deployments[0].deployment_configuration.alarms.alarm_names[0] #=> String
|
3752
|
+
# resp.service_deployments[0].deployment_configuration.alarms.rollback #=> Boolean
|
3753
|
+
# resp.service_deployments[0].deployment_configuration.alarms.enable #=> Boolean
|
3754
|
+
# resp.service_deployments[0].rollback.reason #=> String
|
3755
|
+
# resp.service_deployments[0].rollback.started_at #=> Time
|
3756
|
+
# resp.service_deployments[0].rollback.service_revision_arn #=> String
|
3757
|
+
# resp.service_deployments[0].deployment_circuit_breaker.status #=> String, one of "TRIGGERED", "MONITORING", "MONITORING_COMPLETE", "DISABLED"
|
3758
|
+
# resp.service_deployments[0].deployment_circuit_breaker.failure_count #=> Integer
|
3759
|
+
# resp.service_deployments[0].deployment_circuit_breaker.threshold #=> Integer
|
3760
|
+
# resp.service_deployments[0].alarms.status #=> String, one of "TRIGGERED", "MONITORING", "MONITORING_COMPLETE", "DISABLED"
|
3761
|
+
# resp.service_deployments[0].alarms.alarm_names #=> Array
|
3762
|
+
# resp.service_deployments[0].alarms.alarm_names[0] #=> String
|
3763
|
+
# resp.service_deployments[0].alarms.triggered_alarm_names #=> Array
|
3764
|
+
# resp.service_deployments[0].alarms.triggered_alarm_names[0] #=> String
|
3765
|
+
# resp.failures #=> Array
|
3766
|
+
# resp.failures[0].arn #=> String
|
3767
|
+
# resp.failures[0].reason #=> String
|
3768
|
+
# resp.failures[0].detail #=> String
|
3769
|
+
#
|
3770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServiceDeployments AWS API Documentation
|
3771
|
+
#
|
3772
|
+
# @overload describe_service_deployments(params = {})
|
3773
|
+
# @param [Hash] params ({})
|
3774
|
+
def describe_service_deployments(params = {}, options = {})
|
3775
|
+
req = build_request(:describe_service_deployments, params)
|
3776
|
+
req.send_request(options)
|
3777
|
+
end
|
3778
|
+
|
3779
|
+
# Describes one or more service revisions.
|
3780
|
+
#
|
3781
|
+
# A service revision is a version of the service that includes the
|
3782
|
+
# values for the Amazon ECS resources (for example, task definition) and
|
3783
|
+
# the environment resources (for example, load balancers, subnets, and
|
3784
|
+
# security groups). For more information, see [Amazon ECS service
|
3785
|
+
# revisions][1].
|
3786
|
+
#
|
3787
|
+
# You can't describe a service revision that was created before October
|
3788
|
+
# 25, 2024.
|
3789
|
+
#
|
3790
|
+
#
|
3791
|
+
#
|
3792
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-revision.html
|
3793
|
+
#
|
3794
|
+
# @option params [required, Array<String>] :service_revision_arns
|
3795
|
+
# The ARN of the service revision.
|
3796
|
+
#
|
3797
|
+
# You can specify a maximum of 20 ARNs.
|
3798
|
+
#
|
3799
|
+
# You can call [ListServiceDeployments][1] to get the ARNs.
|
3800
|
+
#
|
3801
|
+
#
|
3802
|
+
#
|
3803
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServiceDeployments.html
|
3804
|
+
#
|
3805
|
+
# @return [Types::DescribeServiceRevisionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3806
|
+
#
|
3807
|
+
# * {Types::DescribeServiceRevisionsResponse#service_revisions #service_revisions} => Array<Types::ServiceRevision>
|
3808
|
+
# * {Types::DescribeServiceRevisionsResponse#failures #failures} => Array<Types::Failure>
|
3809
|
+
#
|
3810
|
+
# @example Request syntax with placeholder values
|
3811
|
+
#
|
3812
|
+
# resp = client.describe_service_revisions({
|
3813
|
+
# service_revision_arns: ["String"], # required
|
3814
|
+
# })
|
3815
|
+
#
|
3816
|
+
# @example Response structure
|
3817
|
+
#
|
3818
|
+
# resp.service_revisions #=> Array
|
3819
|
+
# resp.service_revisions[0].service_revision_arn #=> String
|
3820
|
+
# resp.service_revisions[0].service_arn #=> String
|
3821
|
+
# resp.service_revisions[0].cluster_arn #=> String
|
3822
|
+
# resp.service_revisions[0].task_definition #=> String
|
3823
|
+
# resp.service_revisions[0].capacity_provider_strategy #=> Array
|
3824
|
+
# resp.service_revisions[0].capacity_provider_strategy[0].capacity_provider #=> String
|
3825
|
+
# resp.service_revisions[0].capacity_provider_strategy[0].weight #=> Integer
|
3826
|
+
# resp.service_revisions[0].capacity_provider_strategy[0].base #=> Integer
|
3827
|
+
# resp.service_revisions[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3828
|
+
# resp.service_revisions[0].platform_version #=> String
|
3829
|
+
# resp.service_revisions[0].platform_family #=> String
|
3830
|
+
# resp.service_revisions[0].load_balancers #=> Array
|
3831
|
+
# resp.service_revisions[0].load_balancers[0].target_group_arn #=> String
|
3832
|
+
# resp.service_revisions[0].load_balancers[0].load_balancer_name #=> String
|
3833
|
+
# resp.service_revisions[0].load_balancers[0].container_name #=> String
|
3834
|
+
# resp.service_revisions[0].load_balancers[0].container_port #=> Integer
|
3835
|
+
# resp.service_revisions[0].service_registries #=> Array
|
3836
|
+
# resp.service_revisions[0].service_registries[0].registry_arn #=> String
|
3837
|
+
# resp.service_revisions[0].service_registries[0].port #=> Integer
|
3838
|
+
# resp.service_revisions[0].service_registries[0].container_name #=> String
|
3839
|
+
# resp.service_revisions[0].service_registries[0].container_port #=> Integer
|
3840
|
+
# resp.service_revisions[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
3841
|
+
# resp.service_revisions[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
3842
|
+
# resp.service_revisions[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
3843
|
+
# resp.service_revisions[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
|
3844
|
+
# resp.service_revisions[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
3845
|
+
# resp.service_revisions[0].container_images #=> Array
|
3846
|
+
# resp.service_revisions[0].container_images[0].container_name #=> String
|
3847
|
+
# resp.service_revisions[0].container_images[0].image_digest #=> String
|
3848
|
+
# resp.service_revisions[0].container_images[0].image #=> String
|
3849
|
+
# resp.service_revisions[0].guard_duty_enabled #=> Boolean
|
3850
|
+
# resp.service_revisions[0].service_connect_configuration.enabled #=> Boolean
|
3851
|
+
# resp.service_revisions[0].service_connect_configuration.namespace #=> String
|
3852
|
+
# resp.service_revisions[0].service_connect_configuration.services #=> Array
|
3853
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].port_name #=> String
|
3854
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].discovery_name #=> String
|
3855
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].client_aliases #=> Array
|
3856
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
3857
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
3858
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
3859
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
3860
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
3861
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
3862
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
3863
|
+
# resp.service_revisions[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
3864
|
+
# resp.service_revisions[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
3865
|
+
# resp.service_revisions[0].service_connect_configuration.log_configuration.options #=> Hash
|
3866
|
+
# resp.service_revisions[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
3867
|
+
# resp.service_revisions[0].service_connect_configuration.log_configuration.secret_options #=> Array
|
3868
|
+
# resp.service_revisions[0].service_connect_configuration.log_configuration.secret_options[0].name #=> String
|
3869
|
+
# resp.service_revisions[0].service_connect_configuration.log_configuration.secret_options[0].value_from #=> String
|
3870
|
+
# resp.service_revisions[0].volume_configurations #=> Array
|
3871
|
+
# resp.service_revisions[0].volume_configurations[0].name #=> String
|
3872
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
|
3873
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.kms_key_id #=> String
|
3874
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
3875
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
3876
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
|
3877
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
3878
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
3879
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
3880
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].resource_type #=> String, one of "volume"
|
3881
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags #=> Array
|
3882
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].key #=> String
|
3883
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].value #=> String
|
3884
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
3885
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
3886
|
+
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs", "ntfs"
|
3887
|
+
# resp.service_revisions[0].fargate_ephemeral_storage.kms_key_id #=> String
|
3888
|
+
# resp.service_revisions[0].created_at #=> Time
|
3889
|
+
# resp.service_revisions[0].vpc_lattice_configurations #=> Array
|
3890
|
+
# resp.service_revisions[0].vpc_lattice_configurations[0].role_arn #=> String
|
3891
|
+
# resp.service_revisions[0].vpc_lattice_configurations[0].target_group_arn #=> String
|
3892
|
+
# resp.service_revisions[0].vpc_lattice_configurations[0].port_name #=> String
|
3893
|
+
# resp.failures #=> Array
|
3894
|
+
# resp.failures[0].arn #=> String
|
3895
|
+
# resp.failures[0].reason #=> String
|
3896
|
+
# resp.failures[0].detail #=> String
|
3897
|
+
#
|
3898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServiceRevisions AWS API Documentation
|
3899
|
+
#
|
3900
|
+
# @overload describe_service_revisions(params = {})
|
3901
|
+
# @param [Hash] params ({})
|
3902
|
+
def describe_service_revisions(params = {}, options = {})
|
3903
|
+
req = build_request(:describe_service_revisions, params)
|
3904
|
+
req.send_request(options)
|
3905
|
+
end
|
3906
|
+
|
3665
3907
|
# Describes the specified services running in your cluster.
|
3666
3908
|
#
|
3667
3909
|
# @option params [String] :cluster
|
@@ -3782,8 +4024,8 @@ module Aws::ECS
|
|
3782
4024
|
# resp.services[0].deployment_configuration.minimum_healthy_percent #=> Integer
|
3783
4025
|
# resp.services[0].deployment_configuration.alarms.alarm_names #=> Array
|
3784
4026
|
# resp.services[0].deployment_configuration.alarms.alarm_names[0] #=> String
|
3785
|
-
# resp.services[0].deployment_configuration.alarms.enable #=> Boolean
|
3786
4027
|
# resp.services[0].deployment_configuration.alarms.rollback #=> Boolean
|
4028
|
+
# resp.services[0].deployment_configuration.alarms.enable #=> Boolean
|
3787
4029
|
# resp.services[0].task_sets #=> Array
|
3788
4030
|
# resp.services[0].task_sets[0].id #=> String
|
3789
4031
|
# resp.services[0].task_sets[0].task_set_arn #=> String
|
@@ -3893,6 +4135,10 @@ module Aws::ECS
|
|
3893
4135
|
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
3894
4136
|
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs", "ntfs"
|
3895
4137
|
# resp.services[0].deployments[0].fargate_ephemeral_storage.kms_key_id #=> String
|
4138
|
+
# resp.services[0].deployments[0].vpc_lattice_configurations #=> Array
|
4139
|
+
# resp.services[0].deployments[0].vpc_lattice_configurations[0].role_arn #=> String
|
4140
|
+
# resp.services[0].deployments[0].vpc_lattice_configurations[0].target_group_arn #=> String
|
4141
|
+
# resp.services[0].deployments[0].vpc_lattice_configurations[0].port_name #=> String
|
3896
4142
|
# resp.services[0].role_arn #=> String
|
3897
4143
|
# resp.services[0].events #=> Array
|
3898
4144
|
# resp.services[0].events[0].id #=> String
|
@@ -3920,6 +4166,7 @@ module Aws::ECS
|
|
3920
4166
|
# resp.services[0].enable_ecs_managed_tags #=> Boolean
|
3921
4167
|
# resp.services[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
3922
4168
|
# resp.services[0].enable_execute_command #=> Boolean
|
4169
|
+
# resp.services[0].availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
|
3923
4170
|
# resp.failures #=> Array
|
3924
4171
|
# resp.failures[0].arn #=> String
|
3925
4172
|
# resp.failures[0].reason #=> String
|
@@ -4102,6 +4349,7 @@ module Aws::ECS
|
|
4102
4349
|
# resp.task_definition.container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
|
4103
4350
|
# resp.task_definition.container_definitions[0].start_timeout #=> Integer
|
4104
4351
|
# resp.task_definition.container_definitions[0].stop_timeout #=> Integer
|
4352
|
+
# resp.task_definition.container_definitions[0].version_consistency #=> String, one of "enabled", "disabled"
|
4105
4353
|
# resp.task_definition.container_definitions[0].hostname #=> String
|
4106
4354
|
# resp.task_definition.container_definitions[0].user #=> String
|
4107
4355
|
# resp.task_definition.container_definitions[0].working_directory #=> String
|
@@ -4330,9 +4578,8 @@ module Aws::ECS
|
|
4330
4578
|
# @option params [String] :cluster
|
4331
4579
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
4332
4580
|
# hosts the task or tasks to describe. If you do not specify a cluster,
|
4333
|
-
# the default cluster is assumed. This parameter is required
|
4334
|
-
#
|
4335
|
-
# the default cluster.
|
4581
|
+
# the default cluster is assumed. This parameter is required. If you do
|
4582
|
+
# not specify a value, the `default` cluster is used.
|
4336
4583
|
#
|
4337
4584
|
# @option params [required, Array<String>] :tasks
|
4338
4585
|
# A list of up to 100 task IDs or full ARN entries.
|
@@ -5127,6 +5374,100 @@ module Aws::ECS
|
|
5127
5374
|
req.send_request(options)
|
5128
5375
|
end
|
5129
5376
|
|
5377
|
+
# This operation lists all the service deployments that meet the
|
5378
|
+
# specified filter criteria.
|
5379
|
+
#
|
5380
|
+
# A service deployment happens when you release a softwre update for the
|
5381
|
+
# service. You route traffic from the running service revisions to the
|
5382
|
+
# new service revison and control the number of running tasks.
|
5383
|
+
#
|
5384
|
+
# This API returns the values that you use for the request parameters in
|
5385
|
+
# [DescribeServiceRevisions][1].
|
5386
|
+
#
|
5387
|
+
#
|
5388
|
+
#
|
5389
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceRevisions.html
|
5390
|
+
#
|
5391
|
+
# @option params [required, String] :service
|
5392
|
+
# The ARN or name of the service
|
5393
|
+
#
|
5394
|
+
# @option params [String] :cluster
|
5395
|
+
# The cluster that hosts the service. This can either be the cluster
|
5396
|
+
# name or ARN. Starting April 15, 2023, Amazon Web Services will not
|
5397
|
+
# onboard new customers to Amazon Elastic Inference (EI), and will help
|
5398
|
+
# current customers migrate their workloads to options that offer better
|
5399
|
+
# price and performanceIf you don't specify a cluster, `default` is
|
5400
|
+
# used.
|
5401
|
+
#
|
5402
|
+
# @option params [Array<String>] :status
|
5403
|
+
# An optional filter you can use to narrow the results. If you do not
|
5404
|
+
# specify a status, then all status values are included in the result.
|
5405
|
+
#
|
5406
|
+
# @option params [Types::CreatedAt] :created_at
|
5407
|
+
# An optional filter you can use to narrow the results by the service
|
5408
|
+
# creation date. If you do not specify a value, the result includes all
|
5409
|
+
# services created before the current time. The format is yyyy-MM-dd
|
5410
|
+
# HH:mm:ss.SSSSSS.
|
5411
|
+
#
|
5412
|
+
# @option params [String] :next_token
|
5413
|
+
# The `nextToken` value returned from a `ListServiceDeployments` request
|
5414
|
+
# indicating that more results are available to fulfill the request and
|
5415
|
+
# further calls are needed. If you provided `maxResults`, it's possible
|
5416
|
+
# the number of results is fewer than `maxResults`.
|
5417
|
+
#
|
5418
|
+
# @option params [Integer] :max_results
|
5419
|
+
# The maximum number of service deployment results that
|
5420
|
+
# `ListServiceDeployments` returned in paginated output. When this
|
5421
|
+
# parameter is used, `ListServiceDeployments` only returns `maxResults`
|
5422
|
+
# results in a single page along with a `nextToken` response element.
|
5423
|
+
# The remaining results of the initial request can be seen by sending
|
5424
|
+
# another `ListServiceDeployments` request with the returned `nextToken`
|
5425
|
+
# value. This value can be between 1 and 100. If this parameter isn't
|
5426
|
+
# used, then `ListServiceDeployments` returns up to 20 results and a
|
5427
|
+
# `nextToken` value if applicable.
|
5428
|
+
#
|
5429
|
+
# @return [Types::ListServiceDeploymentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5430
|
+
#
|
5431
|
+
# * {Types::ListServiceDeploymentsResponse#service_deployments #service_deployments} => Array<Types::ServiceDeploymentBrief>
|
5432
|
+
# * {Types::ListServiceDeploymentsResponse#next_token #next_token} => String
|
5433
|
+
#
|
5434
|
+
# @example Request syntax with placeholder values
|
5435
|
+
#
|
5436
|
+
# resp = client.list_service_deployments({
|
5437
|
+
# service: "String", # required
|
5438
|
+
# cluster: "String",
|
5439
|
+
# status: ["PENDING"], # accepts PENDING, SUCCESSFUL, STOPPED, STOP_REQUESTED, IN_PROGRESS, ROLLBACK_IN_PROGRESS, ROLLBACK_SUCCESSFUL, ROLLBACK_FAILED
|
5440
|
+
# created_at: {
|
5441
|
+
# before: Time.now,
|
5442
|
+
# after: Time.now,
|
5443
|
+
# },
|
5444
|
+
# next_token: "String",
|
5445
|
+
# max_results: 1,
|
5446
|
+
# })
|
5447
|
+
#
|
5448
|
+
# @example Response structure
|
5449
|
+
#
|
5450
|
+
# resp.service_deployments #=> Array
|
5451
|
+
# resp.service_deployments[0].service_deployment_arn #=> String
|
5452
|
+
# resp.service_deployments[0].service_arn #=> String
|
5453
|
+
# resp.service_deployments[0].cluster_arn #=> String
|
5454
|
+
# resp.service_deployments[0].started_at #=> Time
|
5455
|
+
# resp.service_deployments[0].created_at #=> Time
|
5456
|
+
# resp.service_deployments[0].finished_at #=> Time
|
5457
|
+
# resp.service_deployments[0].target_service_revision_arn #=> String
|
5458
|
+
# resp.service_deployments[0].status #=> String, one of "PENDING", "SUCCESSFUL", "STOPPED", "STOP_REQUESTED", "IN_PROGRESS", "ROLLBACK_IN_PROGRESS", "ROLLBACK_SUCCESSFUL", "ROLLBACK_FAILED"
|
5459
|
+
# resp.service_deployments[0].status_reason #=> String
|
5460
|
+
# resp.next_token #=> String
|
5461
|
+
#
|
5462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServiceDeployments AWS API Documentation
|
5463
|
+
#
|
5464
|
+
# @overload list_service_deployments(params = {})
|
5465
|
+
# @param [Hash] params ({})
|
5466
|
+
def list_service_deployments(params = {}, options = {})
|
5467
|
+
req = build_request(:list_service_deployments, params)
|
5468
|
+
req.send_request(options)
|
5469
|
+
end
|
5470
|
+
|
5130
5471
|
# Returns a list of services. You can filter the results by cluster,
|
5131
5472
|
# launch type, and scheduling strategy.
|
5132
5473
|
#
|
@@ -5769,12 +6110,25 @@ module Aws::ECS
|
|
5769
6110
|
# Network Interface Trunking][1] in the *Amazon Elastic Container
|
5770
6111
|
# Service Developer Guide*.
|
5771
6112
|
#
|
5772
|
-
# * `containerInsights` -
|
5773
|
-
#
|
5774
|
-
#
|
5775
|
-
#
|
5776
|
-
#
|
5777
|
-
#
|
6113
|
+
# * `containerInsights` - Container Insights with enhanced observability
|
6114
|
+
# provides all the Container Insights metrics, plus additional task
|
6115
|
+
# and container metrics. This version supports enhanced observability
|
6116
|
+
# for Amazon ECS clusters using the Amazon EC2 and Fargate launch
|
6117
|
+
# types. After you configure Container Insights with enhanced
|
6118
|
+
# observability on Amazon ECS, Container Insights auto-collects
|
6119
|
+
# detailed infrastructure telemetry from the cluster level down to the
|
6120
|
+
# container level in your environment and displays these critical
|
6121
|
+
# performance data in curated dashboards removing the heavy lifting in
|
6122
|
+
# observability set-up.
|
6123
|
+
#
|
6124
|
+
# To use Container Insights with enhanced observability, set the
|
6125
|
+
# `containerInsights` account setting to `enhanced`.
|
6126
|
+
#
|
6127
|
+
# To use Container Insights, set the `containerInsights` account
|
6128
|
+
# setting to `enabled`.
|
6129
|
+
#
|
6130
|
+
# For more information, see [Monitor Amazon ECS containers using
|
6131
|
+
# Container Insights with enhanced observability][2] in the *Amazon
|
5778
6132
|
# Elastic Container Service Developer Guide*.
|
5779
6133
|
#
|
5780
6134
|
# * `dualStackIPv6` - When turned on, when using a VPC in dual stack
|
@@ -5822,7 +6176,7 @@ module Aws::ECS
|
|
5822
6176
|
#
|
5823
6177
|
# @option params [required, String] :value
|
5824
6178
|
# The account setting value for the specified principal ARN. Accepted
|
5825
|
-
# values are `enabled`, `disabled`, `on`, and `off`.
|
6179
|
+
# values are `enabled`, `disabled`, `enhanced`, `on`, and `off`.
|
5826
6180
|
#
|
5827
6181
|
# When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the
|
5828
6182
|
# following are the valid values:
|
@@ -5965,12 +6319,25 @@ module Aws::ECS
|
|
5965
6319
|
# Network Interface Trunking][1] in the *Amazon Elastic Container
|
5966
6320
|
# Service Developer Guide*.
|
5967
6321
|
#
|
5968
|
-
# * `containerInsights` -
|
5969
|
-
#
|
5970
|
-
#
|
5971
|
-
#
|
5972
|
-
#
|
5973
|
-
#
|
6322
|
+
# * `containerInsights` - Container Insights with enhanced observability
|
6323
|
+
# provides all the Container Insights metrics, plus additional task
|
6324
|
+
# and container metrics. This version supports enhanced observability
|
6325
|
+
# for Amazon ECS clusters using the Amazon EC2 and Fargate launch
|
6326
|
+
# types. After you configure Container Insights with enhanced
|
6327
|
+
# observability on Amazon ECS, Container Insights auto-collects
|
6328
|
+
# detailed infrastructure telemetry from the cluster level down to the
|
6329
|
+
# container level in your environment and displays these critical
|
6330
|
+
# performance data in curated dashboards removing the heavy lifting in
|
6331
|
+
# observability set-up.
|
6332
|
+
#
|
6333
|
+
# To use Container Insights with enhanced observability, set the
|
6334
|
+
# `containerInsights` account setting to `enhanced`.
|
6335
|
+
#
|
6336
|
+
# To use Container Insights, set the `containerInsights` account
|
6337
|
+
# setting to `enabled`.
|
6338
|
+
#
|
6339
|
+
# For more information, see [Monitor Amazon ECS containers using
|
6340
|
+
# Container Insights with enhanced observability][2] in the *Amazon
|
5974
6341
|
# Elastic Container Service Developer Guide*.
|
5975
6342
|
#
|
5976
6343
|
# * `dualStackIPv6` - When turned on, when using a VPC in dual stack
|
@@ -6021,7 +6388,7 @@ module Aws::ECS
|
|
6021
6388
|
#
|
6022
6389
|
# @option params [required, String] :value
|
6023
6390
|
# The account setting value for the specified principal ARN. Accepted
|
6024
|
-
# values are `enabled`, `disabled`, `on`, and `off`.
|
6391
|
+
# values are `enabled`, `disabled`, `on`, `enhanced`, and `off`.
|
6025
6392
|
#
|
6026
6393
|
# When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the
|
6027
6394
|
# following are the valid values:
|
@@ -6981,6 +7348,7 @@ module Aws::ECS
|
|
6981
7348
|
# ],
|
6982
7349
|
# start_timeout: 1,
|
6983
7350
|
# stop_timeout: 1,
|
7351
|
+
# version_consistency: "enabled", # accepts enabled, disabled
|
6984
7352
|
# hostname: "String",
|
6985
7353
|
# user: "String",
|
6986
7354
|
# working_directory: "String",
|
@@ -7195,6 +7563,7 @@ module Aws::ECS
|
|
7195
7563
|
# resp.task_definition.container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
|
7196
7564
|
# resp.task_definition.container_definitions[0].start_timeout #=> Integer
|
7197
7565
|
# resp.task_definition.container_definitions[0].stop_timeout #=> Integer
|
7566
|
+
# resp.task_definition.container_definitions[0].version_consistency #=> String, one of "enabled", "disabled"
|
7198
7567
|
# resp.task_definition.container_definitions[0].hostname #=> String
|
7199
7568
|
# resp.task_definition.container_definitions[0].user #=> String
|
7200
7569
|
# resp.task_definition.container_definitions[0].working_directory #=> String
|
@@ -9541,6 +9910,18 @@ module Aws::ECS
|
|
9541
9910
|
# Optional deployment parameters that control how many tasks run during
|
9542
9911
|
# the deployment and the ordering of stopping and starting tasks.
|
9543
9912
|
#
|
9913
|
+
# @option params [String] :availability_zone_rebalancing
|
9914
|
+
# Indicates whether to use Availability Zone rebalancing for the
|
9915
|
+
# service.
|
9916
|
+
#
|
9917
|
+
# For more information, see [Balancing an Amazon ECS service across
|
9918
|
+
# Availability Zones][1] in the *Amazon Elastic Container Service
|
9919
|
+
# Developer Guide*.
|
9920
|
+
#
|
9921
|
+
#
|
9922
|
+
#
|
9923
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
|
9924
|
+
#
|
9544
9925
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
9545
9926
|
# An object representing the network configuration for the service.
|
9546
9927
|
#
|
@@ -9585,14 +9966,17 @@ module Aws::ECS
|
|
9585
9966
|
#
|
9586
9967
|
# @option params [Integer] :health_check_grace_period_seconds
|
9587
9968
|
# The period of time, in seconds, that the Amazon ECS service scheduler
|
9588
|
-
# ignores unhealthy Elastic Load Balancing
|
9589
|
-
# task has first started.
|
9590
|
-
#
|
9591
|
-
#
|
9592
|
-
#
|
9593
|
-
#
|
9594
|
-
#
|
9595
|
-
#
|
9969
|
+
# ignores unhealthy Elastic Load Balancing, VPC Lattice, and container
|
9970
|
+
# health checks after a task has first started. If you don't specify a
|
9971
|
+
# health check grace period value, the default value of `0` is used. If
|
9972
|
+
# you don't use any of the health checks, then
|
9973
|
+
# `healthCheckGracePeriodSeconds` is unused.
|
9974
|
+
#
|
9975
|
+
# If your service's tasks take a while to start and respond to health
|
9976
|
+
# checks, you can specify a health check grace period of up to
|
9977
|
+
# 2,147,483,647 seconds (about 69 years). During that time, the Amazon
|
9978
|
+
# ECS service scheduler ignores health check status. This grace period
|
9979
|
+
# can prevent the service scheduler from marking tasks as unhealthy and
|
9596
9980
|
# stopping them before they have time to come up.
|
9597
9981
|
#
|
9598
9982
|
# @option params [Boolean] :enable_execute_command
|
@@ -9706,6 +10090,10 @@ module Aws::ECS
|
|
9706
10090
|
#
|
9707
10091
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceManagedEBSVolumeConfiguration.html
|
9708
10092
|
#
|
10093
|
+
# @option params [Array<Types::VpcLatticeConfiguration>] :vpc_lattice_configurations
|
10094
|
+
# An object representing the VPC Lattice configuration for the service
|
10095
|
+
# being updated.
|
10096
|
+
#
|
9709
10097
|
# @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9710
10098
|
#
|
9711
10099
|
# * {Types::UpdateServiceResponse#service #service} => Types::Service
|
@@ -9760,10 +10148,11 @@ module Aws::ECS
|
|
9760
10148
|
# minimum_healthy_percent: 1,
|
9761
10149
|
# alarms: {
|
9762
10150
|
# alarm_names: ["String"], # required
|
9763
|
-
# enable: false, # required
|
9764
10151
|
# rollback: false, # required
|
10152
|
+
# enable: false, # required
|
9765
10153
|
# },
|
9766
10154
|
# },
|
10155
|
+
# availability_zone_rebalancing: "ENABLED", # accepts ENABLED, DISABLED
|
9767
10156
|
# network_configuration: {
|
9768
10157
|
# awsvpc_configuration: {
|
9769
10158
|
# subnets: ["String"], # required
|
@@ -9873,6 +10262,13 @@ module Aws::ECS
|
|
9873
10262
|
# },
|
9874
10263
|
# },
|
9875
10264
|
# ],
|
10265
|
+
# vpc_lattice_configurations: [
|
10266
|
+
# {
|
10267
|
+
# role_arn: "IAMRoleArn", # required
|
10268
|
+
# target_group_arn: "String", # required
|
10269
|
+
# port_name: "String", # required
|
10270
|
+
# },
|
10271
|
+
# ],
|
9876
10272
|
# })
|
9877
10273
|
#
|
9878
10274
|
# @example Response structure
|
@@ -9908,8 +10304,8 @@ module Aws::ECS
|
|
9908
10304
|
# resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
|
9909
10305
|
# resp.service.deployment_configuration.alarms.alarm_names #=> Array
|
9910
10306
|
# resp.service.deployment_configuration.alarms.alarm_names[0] #=> String
|
9911
|
-
# resp.service.deployment_configuration.alarms.enable #=> Boolean
|
9912
10307
|
# resp.service.deployment_configuration.alarms.rollback #=> Boolean
|
10308
|
+
# resp.service.deployment_configuration.alarms.enable #=> Boolean
|
9913
10309
|
# resp.service.task_sets #=> Array
|
9914
10310
|
# resp.service.task_sets[0].id #=> String
|
9915
10311
|
# resp.service.task_sets[0].task_set_arn #=> String
|
@@ -10019,6 +10415,10 @@ module Aws::ECS
|
|
10019
10415
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
10020
10416
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs", "ntfs"
|
10021
10417
|
# resp.service.deployments[0].fargate_ephemeral_storage.kms_key_id #=> String
|
10418
|
+
# resp.service.deployments[0].vpc_lattice_configurations #=> Array
|
10419
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].role_arn #=> String
|
10420
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].target_group_arn #=> String
|
10421
|
+
# resp.service.deployments[0].vpc_lattice_configurations[0].port_name #=> String
|
10022
10422
|
# resp.service.role_arn #=> String
|
10023
10423
|
# resp.service.events #=> Array
|
10024
10424
|
# resp.service.events[0].id #=> String
|
@@ -10046,6 +10446,7 @@ module Aws::ECS
|
|
10046
10446
|
# resp.service.enable_ecs_managed_tags #=> Boolean
|
10047
10447
|
# resp.service.propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
10048
10448
|
# resp.service.enable_execute_command #=> Boolean
|
10449
|
+
# resp.service.availability_zone_rebalancing #=> String, one of "ENABLED", "DISABLED"
|
10049
10450
|
#
|
10050
10451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService AWS API Documentation
|
10051
10452
|
#
|
@@ -10432,7 +10833,7 @@ module Aws::ECS
|
|
10432
10833
|
tracer: tracer
|
10433
10834
|
)
|
10434
10835
|
context[:gem_name] = 'aws-sdk-ecs'
|
10435
|
-
context[:gem_version] = '1.
|
10836
|
+
context[:gem_version] = '1.171.0'
|
10436
10837
|
Seahorse::Client::Request.new(handlers, context)
|
10437
10838
|
end
|
10438
10839
|
|