aws-sdk-ecs 1.76.0 → 1.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +79 -25
- data/lib/aws-sdk-ecs/client_api.rb +8 -0
- data/lib/aws-sdk-ecs/customizations.rb +1 -1
- data/lib/aws-sdk-ecs/types.rb +162 -89
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e445164b0e4079e2eaa8e135efa5be76393ba67e464e57d50f085aeb7d335c37
|
4
|
+
data.tar.gz: 207a0b2c9f4198ef2e3756c8143d3b4c191ff7f6ae71cbbb099d6a92c78ae84a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d8649e27ed33ae4a1a21fb6a54243b82c212f7c007df39618761eaefb002f580e07ec902251088594b809bfd4dcbd4d91287095f3adb0346d5c8f0278476953
|
7
|
+
data.tar.gz: 26f6bc1dcd7ba0e77a7125c6bdc8ec709030569eb84a5cb41c7f4f75fb27df6d8cf4022d145c144a609dab1aefdede1ef9eb38a971cdc88dcdbd6170285f0794
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -850,19 +850,17 @@ module Aws::ECS
|
|
850
850
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
|
851
851
|
#
|
852
852
|
# @option params [Array<Types::ServiceRegistry>] :service_registries
|
853
|
-
# The details of the service discovery
|
853
|
+
# The details of the service discovery registry to associate with this
|
854
854
|
# service. For more information, see [Service discovery][1].
|
855
855
|
#
|
856
|
-
# <note markdown="1">
|
857
|
-
#
|
858
|
-
# Fargate platform versions][2].
|
856
|
+
# <note markdown="1"> Each service may be associated with one service registry. Multiple
|
857
|
+
# service registries per service isn't supported.
|
859
858
|
#
|
860
859
|
# </note>
|
861
860
|
#
|
862
861
|
#
|
863
862
|
#
|
864
863
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
|
865
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
866
864
|
#
|
867
865
|
# @option params [Integer] :desired_count
|
868
866
|
# The number of instantiations of the specified task definition to place
|
@@ -1018,7 +1016,8 @@ module Aws::ECS
|
|
1018
1016
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
|
1019
1017
|
#
|
1020
1018
|
# @option params [Types::DeploymentController] :deployment_controller
|
1021
|
-
# The deployment controller to use for the service.
|
1019
|
+
# The deployment controller to use for the service. If no deployment
|
1020
|
+
# controller is specified, the default value of `ECS` is used.
|
1022
1021
|
#
|
1023
1022
|
# @option params [Array<Types::Tag>] :tags
|
1024
1023
|
# The metadata that you apply to the service to help you categorize and
|
@@ -1432,8 +1431,7 @@ module Aws::ECS
|
|
1432
1431
|
# The task definition for the tasks in the task set to use.
|
1433
1432
|
#
|
1434
1433
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
1435
|
-
# An object representing the network configuration for a task
|
1436
|
-
# service.
|
1434
|
+
# An object representing the network configuration for a task set.
|
1437
1435
|
#
|
1438
1436
|
# @option params [Array<Types::LoadBalancer>] :load_balancers
|
1439
1437
|
# A load balancer object representing the load balancer to use with the
|
@@ -2540,6 +2538,7 @@ module Aws::ECS
|
|
2540
2538
|
# resp.task_definition.registered_at #=> Time
|
2541
2539
|
# resp.task_definition.deregistered_at #=> Time
|
2542
2540
|
# resp.task_definition.registered_by #=> String
|
2541
|
+
# resp.task_definition.ephemeral_storage.size_in_gi_b #=> Integer
|
2543
2542
|
#
|
2544
2543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition AWS API Documentation
|
2545
2544
|
#
|
@@ -3429,6 +3428,7 @@ module Aws::ECS
|
|
3429
3428
|
# resp.task_definition.registered_at #=> Time
|
3430
3429
|
# resp.task_definition.deregistered_at #=> Time
|
3431
3430
|
# resp.task_definition.registered_by #=> String
|
3431
|
+
# resp.task_definition.ephemeral_storage.size_in_gi_b #=> Integer
|
3432
3432
|
# resp.tags #=> Array
|
3433
3433
|
# resp.tags[0].key #=> String
|
3434
3434
|
# resp.tags[0].value #=> String
|
@@ -3706,6 +3706,7 @@ module Aws::ECS
|
|
3706
3706
|
# resp.tasks[0].overrides.execution_role_arn #=> String
|
3707
3707
|
# resp.tasks[0].overrides.memory #=> String
|
3708
3708
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
3709
|
+
# resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
3709
3710
|
# resp.tasks[0].platform_version #=> String
|
3710
3711
|
# resp.tasks[0].pull_started_at #=> Time
|
3711
3712
|
# resp.tasks[0].pull_stopped_at #=> Time
|
@@ -3721,6 +3722,7 @@ module Aws::ECS
|
|
3721
3722
|
# resp.tasks[0].task_arn #=> String
|
3722
3723
|
# resp.tasks[0].task_definition_arn #=> String
|
3723
3724
|
# resp.tasks[0].version #=> Integer
|
3725
|
+
# resp.tasks[0].ephemeral_storage.size_in_gi_b #=> Integer
|
3724
3726
|
# resp.failures #=> Array
|
3725
3727
|
# resp.failures[0].arn #=> String
|
3726
3728
|
# resp.failures[0].reason #=> String
|
@@ -3860,6 +3862,11 @@ module Aws::ECS
|
|
3860
3862
|
# root user. If this field is omitted, the account settings are listed
|
3861
3863
|
# only for the authenticated user.
|
3862
3864
|
#
|
3865
|
+
# <note markdown="1"> Federated users assume the account setting of the root user and can't
|
3866
|
+
# have explicit account settings set for them.
|
3867
|
+
#
|
3868
|
+
# </note>
|
3869
|
+
#
|
3863
3870
|
# @option params [Boolean] :effective_settings
|
3864
3871
|
# Specifies whether to return the effective settings. If `true`, the
|
3865
3872
|
# account settings for the root user or the default setting for the
|
@@ -4818,6 +4825,11 @@ module Aws::ECS
|
|
4818
4825
|
# this field is omitted, the setting is changed only for the
|
4819
4826
|
# authenticated user.
|
4820
4827
|
#
|
4828
|
+
# <note markdown="1"> Federated users assume the account setting of the root user and can't
|
4829
|
+
# have explicit account settings set for them.
|
4830
|
+
#
|
4831
|
+
# </note>
|
4832
|
+
#
|
4821
4833
|
# @return [Types::PutAccountSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4822
4834
|
#
|
4823
4835
|
# * {Types::PutAccountSettingResponse#setting #setting} => Types::Setting
|
@@ -5614,22 +5626,39 @@ module Aws::ECS
|
|
5614
5626
|
# @option params [Types::ProxyConfiguration] :proxy_configuration
|
5615
5627
|
# The configuration details for the App Mesh proxy.
|
5616
5628
|
#
|
5617
|
-
# For tasks
|
5618
|
-
# at least version 1.26.0 of the container agent and at least
|
5619
|
-
# 1.26.0-1 of the `ecs-init` package to enable a proxy
|
5620
|
-
# your container instances are launched from the
|
5621
|
-
# AMI version `20190301` or later, then they
|
5622
|
-
# versions of the container agent and `ecs-init`.
|
5623
|
-
# see [Amazon ECS-optimized
|
5629
|
+
# For tasks hosted on Amazon EC2 instances, the container instances
|
5630
|
+
# require at least version `1.26.0` of the container agent and at least
|
5631
|
+
# version `1.26.0-1` of the `ecs-init` package to enable a proxy
|
5632
|
+
# configuration. If your container instances are launched from the
|
5633
|
+
# Amazon ECS-optimized AMI version `20190301` or later, then they
|
5634
|
+
# contain the required versions of the container agent and `ecs-init`.
|
5635
|
+
# For more information, see [Amazon ECS-optimized AMI versions][1] in
|
5636
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
5624
5637
|
#
|
5625
5638
|
#
|
5626
5639
|
#
|
5627
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
5640
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-versions.html
|
5628
5641
|
#
|
5629
5642
|
# @option params [Array<Types::InferenceAccelerator>] :inference_accelerators
|
5630
5643
|
# The Elastic Inference accelerators to use for the containers in the
|
5631
5644
|
# task.
|
5632
5645
|
#
|
5646
|
+
# @option params [Types::EphemeralStorage] :ephemeral_storage
|
5647
|
+
# The amount of ephemeral storage to allocate for the task. This
|
5648
|
+
# parameter is used to expand the total amount of ephemeral storage
|
5649
|
+
# available, beyond the default amount, for tasks hosted on AWS Fargate.
|
5650
|
+
# For more information, see [Fargate task storage][1] in the *Amazon ECS
|
5651
|
+
# User Guide for AWS Fargate*.
|
5652
|
+
#
|
5653
|
+
# <note markdown="1"> This parameter is only supported for tasks hosted on AWS Fargate using
|
5654
|
+
# platform version `1.4.0` or later.
|
5655
|
+
#
|
5656
|
+
# </note>
|
5657
|
+
#
|
5658
|
+
#
|
5659
|
+
#
|
5660
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
|
5661
|
+
#
|
5633
5662
|
# @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5634
5663
|
#
|
5635
5664
|
# * {Types::RegisterTaskDefinitionResponse#task_definition #task_definition} => Types::TaskDefinition
|
@@ -5919,6 +5948,9 @@ module Aws::ECS
|
|
5919
5948
|
# device_type: "String", # required
|
5920
5949
|
# },
|
5921
5950
|
# ],
|
5951
|
+
# ephemeral_storage: {
|
5952
|
+
# size_in_gi_b: 1, # required
|
5953
|
+
# },
|
5922
5954
|
# })
|
5923
5955
|
#
|
5924
5956
|
# @example Response structure
|
@@ -6078,6 +6110,7 @@ module Aws::ECS
|
|
6078
6110
|
# resp.task_definition.registered_at #=> Time
|
6079
6111
|
# resp.task_definition.deregistered_at #=> Time
|
6080
6112
|
# resp.task_definition.registered_by #=> String
|
6113
|
+
# resp.task_definition.ephemeral_storage.size_in_gi_b #=> Integer
|
6081
6114
|
# resp.tags #=> Array
|
6082
6115
|
# resp.tags[0].key #=> String
|
6083
6116
|
# resp.tags[0].value #=> String
|
@@ -6393,6 +6426,9 @@ module Aws::ECS
|
|
6393
6426
|
# execution_role_arn: "String",
|
6394
6427
|
# memory: "String",
|
6395
6428
|
# task_role_arn: "String",
|
6429
|
+
# ephemeral_storage: {
|
6430
|
+
# size_in_gi_b: 1, # required
|
6431
|
+
# },
|
6396
6432
|
# },
|
6397
6433
|
# placement_constraints: [
|
6398
6434
|
# {
|
@@ -6506,6 +6542,7 @@ module Aws::ECS
|
|
6506
6542
|
# resp.tasks[0].overrides.execution_role_arn #=> String
|
6507
6543
|
# resp.tasks[0].overrides.memory #=> String
|
6508
6544
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
6545
|
+
# resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
6509
6546
|
# resp.tasks[0].platform_version #=> String
|
6510
6547
|
# resp.tasks[0].pull_started_at #=> Time
|
6511
6548
|
# resp.tasks[0].pull_stopped_at #=> Time
|
@@ -6521,6 +6558,7 @@ module Aws::ECS
|
|
6521
6558
|
# resp.tasks[0].task_arn #=> String
|
6522
6559
|
# resp.tasks[0].task_definition_arn #=> String
|
6523
6560
|
# resp.tasks[0].version #=> Integer
|
6561
|
+
# resp.tasks[0].ephemeral_storage.size_in_gi_b #=> Integer
|
6524
6562
|
# resp.failures #=> Array
|
6525
6563
|
# resp.failures[0].arn #=> String
|
6526
6564
|
# resp.failures[0].reason #=> String
|
@@ -6708,6 +6746,9 @@ module Aws::ECS
|
|
6708
6746
|
# execution_role_arn: "String",
|
6709
6747
|
# memory: "String",
|
6710
6748
|
# task_role_arn: "String",
|
6749
|
+
# ephemeral_storage: {
|
6750
|
+
# size_in_gi_b: 1, # required
|
6751
|
+
# },
|
6711
6752
|
# },
|
6712
6753
|
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
|
6713
6754
|
# reference_id: "String",
|
@@ -6808,6 +6849,7 @@ module Aws::ECS
|
|
6808
6849
|
# resp.tasks[0].overrides.execution_role_arn #=> String
|
6809
6850
|
# resp.tasks[0].overrides.memory #=> String
|
6810
6851
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
6852
|
+
# resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
6811
6853
|
# resp.tasks[0].platform_version #=> String
|
6812
6854
|
# resp.tasks[0].pull_started_at #=> Time
|
6813
6855
|
# resp.tasks[0].pull_stopped_at #=> Time
|
@@ -6823,6 +6865,7 @@ module Aws::ECS
|
|
6823
6865
|
# resp.tasks[0].task_arn #=> String
|
6824
6866
|
# resp.tasks[0].task_definition_arn #=> String
|
6825
6867
|
# resp.tasks[0].version #=> Integer
|
6868
|
+
# resp.tasks[0].ephemeral_storage.size_in_gi_b #=> Integer
|
6826
6869
|
# resp.failures #=> Array
|
6827
6870
|
# resp.failures[0].arn #=> String
|
6828
6871
|
# resp.failures[0].reason #=> String
|
@@ -6971,6 +7014,7 @@ module Aws::ECS
|
|
6971
7014
|
# resp.task.overrides.execution_role_arn #=> String
|
6972
7015
|
# resp.task.overrides.memory #=> String
|
6973
7016
|
# resp.task.overrides.task_role_arn #=> String
|
7017
|
+
# resp.task.overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
6974
7018
|
# resp.task.platform_version #=> String
|
6975
7019
|
# resp.task.pull_started_at #=> Time
|
6976
7020
|
# resp.task.pull_stopped_at #=> Time
|
@@ -6986,6 +7030,7 @@ module Aws::ECS
|
|
6986
7030
|
# resp.task.task_arn #=> String
|
6987
7031
|
# resp.task.task_definition_arn #=> String
|
6988
7032
|
# resp.task.version #=> Integer
|
7033
|
+
# resp.task.ephemeral_storage.size_in_gi_b #=> Integer
|
6989
7034
|
#
|
6990
7035
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask AWS API Documentation
|
6991
7036
|
#
|
@@ -7560,15 +7605,25 @@ module Aws::ECS
|
|
7560
7605
|
# instance was launched with the Amazon ECS-optimized AMI or another
|
7561
7606
|
# operating system.
|
7562
7607
|
#
|
7563
|
-
# `UpdateContainerAgent`
|
7564
|
-
#
|
7565
|
-
#
|
7566
|
-
#
|
7567
|
-
# *Amazon Elastic Container
|
7608
|
+
# <note markdown="1"> The `UpdateContainerAgent` API isn't supported for container
|
7609
|
+
# instances using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI.
|
7610
|
+
# To update the container agent, you can update the `ecs-init` package
|
7611
|
+
# which will update the agent. For more information, see [Updating the
|
7612
|
+
# Amazon ECS container agent][1] in the *Amazon Elastic Container
|
7613
|
+
# Service Developer Guide*.
|
7614
|
+
#
|
7615
|
+
# </note>
|
7616
|
+
#
|
7617
|
+
# The `UpdateContainerAgent` API requires an Amazon ECS-optimized AMI or
|
7618
|
+
# Amazon Linux AMI with the `ecs-init` service installed and running.
|
7619
|
+
# For help updating the Amazon ECS container agent on other operating
|
7620
|
+
# systems, see [Manually updating the Amazon ECS container agent][2] in
|
7621
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
7568
7622
|
#
|
7569
7623
|
#
|
7570
7624
|
#
|
7571
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
7625
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/agent-update-ecs-ami.html
|
7626
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent
|
7572
7627
|
#
|
7573
7628
|
# @option params [String] :cluster
|
7574
7629
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
@@ -7969,8 +8024,7 @@ module Aws::ECS
|
|
7969
8024
|
# the deployment and the ordering of stopping and starting tasks.
|
7970
8025
|
#
|
7971
8026
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
7972
|
-
# An object representing the network configuration for
|
7973
|
-
# service.
|
8027
|
+
# An object representing the network configuration for the service.
|
7974
8028
|
#
|
7975
8029
|
# @option params [Array<Types::PlacementConstraint>] :placement_constraints
|
7976
8030
|
# An array of task placement constraint objects to update the service to
|
@@ -8436,7 +8490,7 @@ module Aws::ECS
|
|
8436
8490
|
params: params,
|
8437
8491
|
config: config)
|
8438
8492
|
context[:gem_name] = 'aws-sdk-ecs'
|
8439
|
-
context[:gem_version] = '1.
|
8493
|
+
context[:gem_version] = '1.77.0'
|
8440
8494
|
Seahorse::Client::Request.new(handlers, context)
|
8441
8495
|
end
|
8442
8496
|
|
@@ -136,6 +136,7 @@ module Aws::ECS
|
|
136
136
|
EnvironmentFileType = Shapes::StringShape.new(name: 'EnvironmentFileType')
|
137
137
|
EnvironmentFiles = Shapes::ListShape.new(name: 'EnvironmentFiles')
|
138
138
|
EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
|
139
|
+
EphemeralStorage = Shapes::StructureShape.new(name: 'EphemeralStorage')
|
139
140
|
ExecuteCommandConfiguration = Shapes::StructureShape.new(name: 'ExecuteCommandConfiguration')
|
140
141
|
ExecuteCommandLogConfiguration = Shapes::StructureShape.new(name: 'ExecuteCommandLogConfiguration')
|
141
142
|
ExecuteCommandLogging = Shapes::StringShape.new(name: 'ExecuteCommandLogging')
|
@@ -839,6 +840,9 @@ module Aws::ECS
|
|
839
840
|
|
840
841
|
EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair)
|
841
842
|
|
843
|
+
EphemeralStorage.add_member(:size_in_gi_b, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "sizeInGiB"))
|
844
|
+
EphemeralStorage.struct_class = Types::EphemeralStorage
|
845
|
+
|
842
846
|
ExecuteCommandConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
843
847
|
ExecuteCommandConfiguration.add_member(:logging, Shapes::ShapeRef.new(shape: ExecuteCommandLogging, location_name: "logging"))
|
844
848
|
ExecuteCommandConfiguration.add_member(:log_configuration, Shapes::ShapeRef.new(shape: ExecuteCommandLogConfiguration, location_name: "logConfiguration"))
|
@@ -1199,6 +1203,7 @@ module Aws::ECS
|
|
1199
1203
|
RegisterTaskDefinitionRequest.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: IpcMode, location_name: "ipcMode"))
|
1200
1204
|
RegisterTaskDefinitionRequest.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
|
1201
1205
|
RegisterTaskDefinitionRequest.add_member(:inference_accelerators, Shapes::ShapeRef.new(shape: InferenceAccelerators, location_name: "inferenceAccelerators"))
|
1206
|
+
RegisterTaskDefinitionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
1202
1207
|
RegisterTaskDefinitionRequest.struct_class = Types::RegisterTaskDefinitionRequest
|
1203
1208
|
|
1204
1209
|
RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
|
@@ -1459,6 +1464,7 @@ module Aws::ECS
|
|
1459
1464
|
Task.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
|
1460
1465
|
Task.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
|
1461
1466
|
Task.add_member(:version, Shapes::ShapeRef.new(shape: Long, location_name: "version"))
|
1467
|
+
Task.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
1462
1468
|
Task.struct_class = Types::Task
|
1463
1469
|
|
1464
1470
|
TaskDefinition.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
|
@@ -1483,6 +1489,7 @@ module Aws::ECS
|
|
1483
1489
|
TaskDefinition.add_member(:registered_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "registeredAt"))
|
1484
1490
|
TaskDefinition.add_member(:deregistered_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "deregisteredAt"))
|
1485
1491
|
TaskDefinition.add_member(:registered_by, Shapes::ShapeRef.new(shape: String, location_name: "registeredBy"))
|
1492
|
+
TaskDefinition.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
1486
1493
|
TaskDefinition.struct_class = Types::TaskDefinition
|
1487
1494
|
|
1488
1495
|
TaskDefinitionFieldList.member = Shapes::ShapeRef.new(shape: TaskDefinitionField)
|
@@ -1501,6 +1508,7 @@ module Aws::ECS
|
|
1501
1508
|
TaskOverride.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
|
1502
1509
|
TaskOverride.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
1503
1510
|
TaskOverride.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
|
1511
|
+
TaskOverride.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
1504
1512
|
TaskOverride.struct_class = Types::TaskOverride
|
1505
1513
|
|
1506
1514
|
TaskSet.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# WARNING ABOUT GENERATED CODE
|
3
3
|
#
|
4
4
|
# This file is generated. See the contributing for info on making contributions:
|
5
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
5
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
6
6
|
#
|
7
7
|
# WARNING ABOUT GENERATED CODE
|
8
8
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -222,21 +222,6 @@ module Aws::ECS
|
|
222
222
|
# @!attribute [rw] managed_scaling
|
223
223
|
# The managed scaling settings for the Auto Scaling group capacity
|
224
224
|
# provider.
|
225
|
-
#
|
226
|
-
# When managed scaling is enabled, Amazon ECS manages the scale-in and
|
227
|
-
# scale-out actions of the Auto Scaling group. Amazon ECS manages a
|
228
|
-
# target tracking scaling policy using an Amazon ECS-managed
|
229
|
-
# CloudWatch metric with the specified `targetCapacity` value as the
|
230
|
-
# target value for the metric. For more information, see [Using
|
231
|
-
# Managed Scaling][1] in the *Amazon Elastic Container Service
|
232
|
-
# Developer Guide*.
|
233
|
-
#
|
234
|
-
# If managed scaling is disabled, the user must manage the scaling of
|
235
|
-
# the Auto Scaling group.
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling
|
240
225
|
# @return [Types::ManagedScaling]
|
241
226
|
#
|
242
227
|
# @!attribute [rw] managed_termination_protection
|
@@ -1255,8 +1240,7 @@ module Aws::ECS
|
|
1255
1240
|
# container][2] section of the [Docker Remote API][3] and the `--link`
|
1256
1241
|
# option to [docker run][4].
|
1257
1242
|
#
|
1258
|
-
# <note markdown="1"> This parameter is not supported for Windows containers
|
1259
|
-
# use the awsvpc network mode.
|
1243
|
+
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1260
1244
|
#
|
1261
1245
|
# </note>
|
1262
1246
|
#
|
@@ -1604,8 +1588,7 @@ module Aws::ECS
|
|
1604
1588
|
#
|
1605
1589
|
# * `uid:group`
|
1606
1590
|
#
|
1607
|
-
# <note markdown="1"> This parameter is not supported for Windows containers
|
1608
|
-
# use the awsvpc network mode.
|
1591
|
+
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1609
1592
|
#
|
1610
1593
|
# </note>
|
1611
1594
|
#
|
@@ -1634,8 +1617,7 @@ module Aws::ECS
|
|
1634
1617
|
# container. This parameter maps to `NetworkDisabled` in the [Create a
|
1635
1618
|
# container][1] section of the [Docker Remote API][2].
|
1636
1619
|
#
|
1637
|
-
# <note markdown="1"> This parameter is not supported for Windows containers
|
1638
|
-
# use the awsvpc network mode.
|
1620
|
+
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1639
1621
|
#
|
1640
1622
|
# </note>
|
1641
1623
|
#
|
@@ -1670,8 +1652,7 @@ module Aws::ECS
|
|
1670
1652
|
# the [Create a container][1] section of the [Docker Remote API][2]
|
1671
1653
|
# and the `--read-only` option to [docker run][3].
|
1672
1654
|
#
|
1673
|
-
# <note markdown="1"> This parameter is not supported for Windows containers
|
1674
|
-
# use the awsvpc network mode.
|
1655
|
+
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1675
1656
|
#
|
1676
1657
|
# </note>
|
1677
1658
|
#
|
@@ -1688,8 +1669,7 @@ module Aws::ECS
|
|
1688
1669
|
# the [Docker Remote API][2] and the `--dns` option to [docker
|
1689
1670
|
# run][3].
|
1690
1671
|
#
|
1691
|
-
# <note markdown="1"> This parameter is not supported for Windows containers
|
1692
|
-
# use the awsvpc network mode.
|
1672
|
+
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1693
1673
|
#
|
1694
1674
|
# </note>
|
1695
1675
|
#
|
@@ -1706,8 +1686,7 @@ module Aws::ECS
|
|
1706
1686
|
# section of the [Docker Remote API][2] and the `--dns-search` option
|
1707
1687
|
# to [docker run][3].
|
1708
1688
|
#
|
1709
|
-
# <note markdown="1"> This parameter is not supported for Windows containers
|
1710
|
-
# use the awsvpc network mode.
|
1689
|
+
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1711
1690
|
#
|
1712
1691
|
# </note>
|
1713
1692
|
#
|
@@ -1824,14 +1803,22 @@ module Aws::ECS
|
|
1824
1803
|
# set by Docker. This parameter maps to `Ulimits` in the [Create a
|
1825
1804
|
# container][1] section of the [Docker Remote API][2] and the
|
1826
1805
|
# `--ulimit` option to [docker run][3]. Valid naming values are
|
1827
|
-
# displayed in the Ulimit data type.
|
1828
|
-
# 1.18 of the Docker Remote API or greater on your container instance.
|
1829
|
-
# To check the Docker Remote API version on your container instance,
|
1830
|
-
# log in to your container instance and run the following command:
|
1831
|
-
# `sudo docker version --format '\{\{.Server.APIVersion\}\}'`
|
1806
|
+
# displayed in the Ulimit data type.
|
1832
1807
|
#
|
1833
|
-
#
|
1834
|
-
#
|
1808
|
+
# Amazon ECS tasks hosted on Fargate use the default resource limit
|
1809
|
+
# values set by the operating system with the exception of the
|
1810
|
+
# `nofile` resource limit parameter which Fargate overrides. The
|
1811
|
+
# `nofile` resource limit sets a restriction on the number of open
|
1812
|
+
# files that a container can use. The default `nofile` soft limit is
|
1813
|
+
# `1024` and hard limit is `4096`.
|
1814
|
+
#
|
1815
|
+
# This parameter requires version 1.18 of the Docker Remote API or
|
1816
|
+
# greater on your container instance. To check the Docker Remote API
|
1817
|
+
# version on your container instance, log in to your container
|
1818
|
+
# instance and run the following command: `sudo docker version
|
1819
|
+
# --format '\{\{.Server.APIVersion\}\}'`
|
1820
|
+
#
|
1821
|
+
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1835
1822
|
#
|
1836
1823
|
# </note>
|
1837
1824
|
#
|
@@ -2806,19 +2793,17 @@ module Aws::ECS
|
|
2806
2793
|
# @return [Array<Types::LoadBalancer>]
|
2807
2794
|
#
|
2808
2795
|
# @!attribute [rw] service_registries
|
2809
|
-
# The details of the service discovery
|
2796
|
+
# The details of the service discovery registry to associate with this
|
2810
2797
|
# service. For more information, see [Service discovery][1].
|
2811
2798
|
#
|
2812
|
-
# <note markdown="1">
|
2813
|
-
#
|
2814
|
-
# Fargate platform versions][2].
|
2799
|
+
# <note markdown="1"> Each service may be associated with one service registry. Multiple
|
2800
|
+
# service registries per service isn't supported.
|
2815
2801
|
#
|
2816
2802
|
# </note>
|
2817
2803
|
#
|
2818
2804
|
#
|
2819
2805
|
#
|
2820
2806
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
|
2821
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
2822
2807
|
# @return [Array<Types::ServiceRegistry>]
|
2823
2808
|
#
|
2824
2809
|
# @!attribute [rw] desired_count
|
@@ -2993,7 +2978,8 @@ module Aws::ECS
|
|
2993
2978
|
# @return [String]
|
2994
2979
|
#
|
2995
2980
|
# @!attribute [rw] deployment_controller
|
2996
|
-
# The deployment controller to use for the service.
|
2981
|
+
# The deployment controller to use for the service. If no deployment
|
2982
|
+
# controller is specified, the default value of `ECS` is used.
|
2997
2983
|
# @return [Types::DeploymentController]
|
2998
2984
|
#
|
2999
2985
|
# @!attribute [rw] tags
|
@@ -3179,8 +3165,7 @@ module Aws::ECS
|
|
3179
3165
|
# @return [String]
|
3180
3166
|
#
|
3181
3167
|
# @!attribute [rw] network_configuration
|
3182
|
-
# An object representing the network configuration for a task
|
3183
|
-
# service.
|
3168
|
+
# An object representing the network configuration for a task set.
|
3184
3169
|
# @return [Types::NetworkConfiguration]
|
3185
3170
|
#
|
3186
3171
|
# @!attribute [rw] load_balancers
|
@@ -3312,9 +3297,9 @@ module Aws::ECS
|
|
3312
3297
|
|
3313
3298
|
# @!attribute [rw] task_set
|
3314
3299
|
# Information about a set of Amazon ECS tasks in either an AWS
|
3315
|
-
# CodeDeploy or an `EXTERNAL` deployment.
|
3316
|
-
#
|
3317
|
-
#
|
3300
|
+
# CodeDeploy or an `EXTERNAL` deployment. A task set includes details
|
3301
|
+
# such as the desired number of tasks, how many tasks are running, and
|
3302
|
+
# whether the task set serves production traffic.
|
3318
3303
|
# @return [Types::TaskSet]
|
3319
3304
|
#
|
3320
3305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateTaskSetResponse AWS API Documentation
|
@@ -3446,7 +3431,7 @@ module Aws::ECS
|
|
3446
3431
|
end
|
3447
3432
|
|
3448
3433
|
# @!attribute [rw] capacity_provider
|
3449
|
-
# The details of
|
3434
|
+
# The details of the capacity provider.
|
3450
3435
|
# @return [Types::CapacityProvider]
|
3451
3436
|
#
|
3452
3437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProviderResponse AWS API Documentation
|
@@ -3578,10 +3563,7 @@ module Aws::ECS
|
|
3578
3563
|
end
|
3579
3564
|
|
3580
3565
|
# @!attribute [rw] task_set
|
3581
|
-
#
|
3582
|
-
# CodeDeploy or an `EXTERNAL` deployment. An Amazon ECS task set
|
3583
|
-
# includes details such as the desired number of tasks, how many tasks
|
3584
|
-
# are running, and whether the task set serves production traffic.
|
3566
|
+
# Details about the task set.
|
3585
3567
|
# @return [Types::TaskSet]
|
3586
3568
|
#
|
3587
3569
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskSetResponse AWS API Documentation
|
@@ -4830,6 +4812,42 @@ module Aws::ECS
|
|
4830
4812
|
include Aws::Structure
|
4831
4813
|
end
|
4832
4814
|
|
4815
|
+
# The amount of ephemeral storage to allocate for the task. This
|
4816
|
+
# parameter is used to expand the total amount of ephemeral storage
|
4817
|
+
# available, beyond the default amount, for tasks hosted on AWS Fargate.
|
4818
|
+
# For more information, see [Fargate task storage][1] in the *Amazon ECS
|
4819
|
+
# User Guide for AWS Fargate*.
|
4820
|
+
#
|
4821
|
+
# <note markdown="1"> This parameter is only supported for tasks hosted on AWS Fargate using
|
4822
|
+
# platform version `1.4.0` or later.
|
4823
|
+
#
|
4824
|
+
# </note>
|
4825
|
+
#
|
4826
|
+
#
|
4827
|
+
#
|
4828
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
|
4829
|
+
#
|
4830
|
+
# @note When making an API call, you may pass EphemeralStorage
|
4831
|
+
# data as a hash:
|
4832
|
+
#
|
4833
|
+
# {
|
4834
|
+
# size_in_gi_b: 1, # required
|
4835
|
+
# }
|
4836
|
+
#
|
4837
|
+
# @!attribute [rw] size_in_gi_b
|
4838
|
+
# The total amount, in GiB, of ephemeral storage to set for the task.
|
4839
|
+
# The minimum supported value is `21` GiB and the maximum supported
|
4840
|
+
# value is `200` GiB.
|
4841
|
+
# @return [Integer]
|
4842
|
+
#
|
4843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/EphemeralStorage AWS API Documentation
|
4844
|
+
#
|
4845
|
+
class EphemeralStorage < Struct.new(
|
4846
|
+
:size_in_gi_b)
|
4847
|
+
SENSITIVE = []
|
4848
|
+
include Aws::Structure
|
4849
|
+
end
|
4850
|
+
|
4833
4851
|
# The details of the execute command configuration.
|
4834
4852
|
#
|
4835
4853
|
# @note When making an API call, you may pass ExecuteCommandConfiguration
|
@@ -5775,6 +5793,11 @@ module Aws::ECS
|
|
5775
5793
|
# The ARN of the principal, which can be an IAM user, IAM role, or the
|
5776
5794
|
# root user. If this field is omitted, the account settings are listed
|
5777
5795
|
# only for the authenticated user.
|
5796
|
+
#
|
5797
|
+
# <note markdown="1"> Federated users assume the account setting of the root user and
|
5798
|
+
# can't have explicit account settings set for them.
|
5799
|
+
#
|
5800
|
+
# </note>
|
5778
5801
|
# @return [String]
|
5779
5802
|
#
|
5780
5803
|
# @!attribute [rw] effective_settings
|
@@ -7164,6 +7187,11 @@ module Aws::ECS
|
|
7164
7187
|
# The `hostPort` can be left blank or it must be the same value as the
|
7165
7188
|
# `containerPort`.
|
7166
7189
|
#
|
7190
|
+
# <note markdown="1"> You cannot expose the same container port for multiple protocols. An
|
7191
|
+
# error will be returned if this is attempted
|
7192
|
+
#
|
7193
|
+
# </note>
|
7194
|
+
#
|
7167
7195
|
# After a task reaches the `RUNNING` status, manual and automatic host
|
7168
7196
|
# and container port assignments are visible in the `networkBindings`
|
7169
7197
|
# section of DescribeTasks API responses.
|
@@ -7363,7 +7391,7 @@ module Aws::ECS
|
|
7363
7391
|
end
|
7364
7392
|
|
7365
7393
|
# @!attribute [rw] setting
|
7366
|
-
# The current
|
7394
|
+
# The current setting for a resource.
|
7367
7395
|
# @return [Types::Setting]
|
7368
7396
|
#
|
7369
7397
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingDefaultResponse AWS API Documentation
|
@@ -7408,6 +7436,11 @@ module Aws::ECS
|
|
7408
7436
|
# account unless an IAM user or role explicitly overrides these
|
7409
7437
|
# settings. If this field is omitted, the setting is changed only for
|
7410
7438
|
# the authenticated user.
|
7439
|
+
#
|
7440
|
+
# <note markdown="1"> Federated users assume the account setting of the root user and
|
7441
|
+
# can't have explicit account settings set for them.
|
7442
|
+
#
|
7443
|
+
# </note>
|
7411
7444
|
# @return [String]
|
7412
7445
|
#
|
7413
7446
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingRequest AWS API Documentation
|
@@ -7552,11 +7585,7 @@ module Aws::ECS
|
|
7552
7585
|
end
|
7553
7586
|
|
7554
7587
|
# @!attribute [rw] cluster
|
7555
|
-
#
|
7556
|
-
# can run task requests. Each account receives a default cluster the
|
7557
|
-
# first time you use the Amazon ECS service, but you may also create
|
7558
|
-
# other clusters. Clusters may contain more than one instance type
|
7559
|
-
# simultaneously.
|
7588
|
+
# Details about the cluster.
|
7560
7589
|
# @return [Types::Cluster]
|
7561
7590
|
#
|
7562
7591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutClusterCapacityProvidersResponse AWS API Documentation
|
@@ -7942,6 +7971,9 @@ module Aws::ECS
|
|
7942
7971
|
# device_type: "String", # required
|
7943
7972
|
# },
|
7944
7973
|
# ],
|
7974
|
+
# ephemeral_storage: {
|
7975
|
+
# size_in_gi_b: 1, # required
|
7976
|
+
# },
|
7945
7977
|
# }
|
7946
7978
|
#
|
7947
7979
|
# @!attribute [rw] family
|
@@ -8230,17 +8262,18 @@ module Aws::ECS
|
|
8230
8262
|
# @!attribute [rw] proxy_configuration
|
8231
8263
|
# The configuration details for the App Mesh proxy.
|
8232
8264
|
#
|
8233
|
-
# For tasks
|
8234
|
-
# at least version 1.26.0 of the container agent and at
|
8235
|
-
# 1.26.0-1 of the `ecs-init` package to enable a proxy
|
8236
|
-
# If your container instances are launched from the
|
8237
|
-
# ECS-optimized AMI version `20190301` or later, then they
|
8238
|
-
# required versions of the container agent and `ecs-init`.
|
8239
|
-
# information, see [Amazon ECS-optimized
|
8265
|
+
# For tasks hosted on Amazon EC2 instances, the container instances
|
8266
|
+
# require at least version `1.26.0` of the container agent and at
|
8267
|
+
# least version `1.26.0-1` of the `ecs-init` package to enable a proxy
|
8268
|
+
# configuration. If your container instances are launched from the
|
8269
|
+
# Amazon ECS-optimized AMI version `20190301` or later, then they
|
8270
|
+
# contain the required versions of the container agent and `ecs-init`.
|
8271
|
+
# For more information, see [Amazon ECS-optimized AMI versions][1] in
|
8272
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
8240
8273
|
#
|
8241
8274
|
#
|
8242
8275
|
#
|
8243
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
8276
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-versions.html
|
8244
8277
|
# @return [Types::ProxyConfiguration]
|
8245
8278
|
#
|
8246
8279
|
# @!attribute [rw] inference_accelerators
|
@@ -8248,6 +8281,23 @@ module Aws::ECS
|
|
8248
8281
|
# task.
|
8249
8282
|
# @return [Array<Types::InferenceAccelerator>]
|
8250
8283
|
#
|
8284
|
+
# @!attribute [rw] ephemeral_storage
|
8285
|
+
# The amount of ephemeral storage to allocate for the task. This
|
8286
|
+
# parameter is used to expand the total amount of ephemeral storage
|
8287
|
+
# available, beyond the default amount, for tasks hosted on AWS
|
8288
|
+
# Fargate. For more information, see [Fargate task storage][1] in the
|
8289
|
+
# *Amazon ECS User Guide for AWS Fargate*.
|
8290
|
+
#
|
8291
|
+
# <note markdown="1"> This parameter is only supported for tasks hosted on AWS Fargate
|
8292
|
+
# using platform version `1.4.0` or later.
|
8293
|
+
#
|
8294
|
+
# </note>
|
8295
|
+
#
|
8296
|
+
#
|
8297
|
+
#
|
8298
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
|
8299
|
+
# @return [Types::EphemeralStorage]
|
8300
|
+
#
|
8251
8301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest AWS API Documentation
|
8252
8302
|
#
|
8253
8303
|
class RegisterTaskDefinitionRequest < Struct.new(
|
@@ -8265,7 +8315,8 @@ module Aws::ECS
|
|
8265
8315
|
:pid_mode,
|
8266
8316
|
:ipc_mode,
|
8267
8317
|
:proxy_configuration,
|
8268
|
-
:inference_accelerators
|
8318
|
+
:inference_accelerators,
|
8319
|
+
:ephemeral_storage)
|
8269
8320
|
SENSITIVE = []
|
8270
8321
|
include Aws::Structure
|
8271
8322
|
end
|
@@ -8495,6 +8546,9 @@ module Aws::ECS
|
|
8495
8546
|
# execution_role_arn: "String",
|
8496
8547
|
# memory: "String",
|
8497
8548
|
# task_role_arn: "String",
|
8549
|
+
# ephemeral_storage: {
|
8550
|
+
# size_in_gi_b: 1, # required
|
8551
|
+
# },
|
8498
8552
|
# },
|
8499
8553
|
# placement_constraints: [
|
8500
8554
|
# {
|
@@ -9320,6 +9374,9 @@ module Aws::ECS
|
|
9320
9374
|
# execution_role_arn: "String",
|
9321
9375
|
# memory: "String",
|
9322
9376
|
# task_role_arn: "String",
|
9377
|
+
# ephemeral_storage: {
|
9378
|
+
# size_in_gi_b: 1, # required
|
9379
|
+
# },
|
9323
9380
|
# },
|
9324
9381
|
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE
|
9325
9382
|
# reference_id: "String",
|
@@ -10237,6 +10294,10 @@ module Aws::ECS
|
|
10237
10294
|
# version in your event stream is current.
|
10238
10295
|
# @return [Integer]
|
10239
10296
|
#
|
10297
|
+
# @!attribute [rw] ephemeral_storage
|
10298
|
+
# The ephemeral storage settings for the task.
|
10299
|
+
# @return [Types::EphemeralStorage]
|
10300
|
+
#
|
10240
10301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Task AWS API Documentation
|
10241
10302
|
#
|
10242
10303
|
class Task < Struct.new(
|
@@ -10273,7 +10334,8 @@ module Aws::ECS
|
|
10273
10334
|
:tags,
|
10274
10335
|
:task_arn,
|
10275
10336
|
:task_definition_arn,
|
10276
|
-
:version
|
10337
|
+
:version,
|
10338
|
+
:ephemeral_storage)
|
10277
10339
|
SENSITIVE = []
|
10278
10340
|
include Aws::Structure
|
10279
10341
|
end
|
@@ -10629,6 +10691,11 @@ module Aws::ECS
|
|
10629
10691
|
# The principal that registered the task definition.
|
10630
10692
|
# @return [String]
|
10631
10693
|
#
|
10694
|
+
# @!attribute [rw] ephemeral_storage
|
10695
|
+
# The ephemeral storage settings to use for tasks run with the task
|
10696
|
+
# definition.
|
10697
|
+
# @return [Types::EphemeralStorage]
|
10698
|
+
#
|
10632
10699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinition AWS API Documentation
|
10633
10700
|
#
|
10634
10701
|
class TaskDefinition < Struct.new(
|
@@ -10653,7 +10720,8 @@ module Aws::ECS
|
|
10653
10720
|
:proxy_configuration,
|
10654
10721
|
:registered_at,
|
10655
10722
|
:deregistered_at,
|
10656
|
-
:registered_by
|
10723
|
+
:registered_by,
|
10724
|
+
:ephemeral_storage)
|
10657
10725
|
SENSITIVE = []
|
10658
10726
|
include Aws::Structure
|
10659
10727
|
end
|
@@ -10746,6 +10814,9 @@ module Aws::ECS
|
|
10746
10814
|
# execution_role_arn: "String",
|
10747
10815
|
# memory: "String",
|
10748
10816
|
# task_role_arn: "String",
|
10817
|
+
# ephemeral_storage: {
|
10818
|
+
# size_in_gi_b: 1, # required
|
10819
|
+
# },
|
10749
10820
|
# }
|
10750
10821
|
#
|
10751
10822
|
# @!attribute [rw] container_overrides
|
@@ -10775,6 +10846,15 @@ module Aws::ECS
|
|
10775
10846
|
# permissions that are specified in this role.
|
10776
10847
|
# @return [String]
|
10777
10848
|
#
|
10849
|
+
# @!attribute [rw] ephemeral_storage
|
10850
|
+
# The ephemeral storage setting override for the task.
|
10851
|
+
#
|
10852
|
+
# <note markdown="1"> This parameter is only supported for tasks hosted on AWS Fargate
|
10853
|
+
# using platform version `1.4.0` or later.
|
10854
|
+
#
|
10855
|
+
# </note>
|
10856
|
+
# @return [Types::EphemeralStorage]
|
10857
|
+
#
|
10778
10858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskOverride AWS API Documentation
|
10779
10859
|
#
|
10780
10860
|
class TaskOverride < Struct.new(
|
@@ -10783,7 +10863,8 @@ module Aws::ECS
|
|
10783
10863
|
:inference_accelerator_overrides,
|
10784
10864
|
:execution_role_arn,
|
10785
10865
|
:memory,
|
10786
|
-
:task_role_arn
|
10866
|
+
:task_role_arn,
|
10867
|
+
:ephemeral_storage)
|
10787
10868
|
SENSITIVE = []
|
10788
10869
|
include Aws::Structure
|
10789
10870
|
end
|
@@ -11065,6 +11146,13 @@ module Aws::ECS
|
|
11065
11146
|
|
11066
11147
|
# The `ulimit` settings to pass to the container.
|
11067
11148
|
#
|
11149
|
+
# Amazon ECS tasks hosted on Fargate use the default resource limit
|
11150
|
+
# values set by the operating system with the exception of the `nofile`
|
11151
|
+
# resource limit parameter which Fargate overrides. The `nofile`
|
11152
|
+
# resource limit sets a restriction on the number of open files that a
|
11153
|
+
# container can use. The default `nofile` soft limit is `1024` and hard
|
11154
|
+
# limit is `4096`.
|
11155
|
+
#
|
11068
11156
|
# @note When making an API call, you may pass Ulimit
|
11069
11157
|
# data as a hash:
|
11070
11158
|
#
|
@@ -11170,7 +11258,7 @@ module Aws::ECS
|
|
11170
11258
|
end
|
11171
11259
|
|
11172
11260
|
# @!attribute [rw] capacity_provider
|
11173
|
-
#
|
11261
|
+
# Details about the capacity provider.
|
11174
11262
|
# @return [Types::CapacityProvider]
|
11175
11263
|
#
|
11176
11264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCapacityProviderResponse AWS API Documentation
|
@@ -11230,11 +11318,7 @@ module Aws::ECS
|
|
11230
11318
|
end
|
11231
11319
|
|
11232
11320
|
# @!attribute [rw] cluster
|
11233
|
-
#
|
11234
|
-
# can run task requests. Each account receives a default cluster the
|
11235
|
-
# first time you use the Amazon ECS service, but you may also create
|
11236
|
-
# other clusters. Clusters may contain more than one instance type
|
11237
|
-
# simultaneously.
|
11321
|
+
# Details about the cluster.
|
11238
11322
|
# @return [Types::Cluster]
|
11239
11323
|
#
|
11240
11324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterResponse AWS API Documentation
|
@@ -11279,11 +11363,7 @@ module Aws::ECS
|
|
11279
11363
|
end
|
11280
11364
|
|
11281
11365
|
# @!attribute [rw] cluster
|
11282
|
-
#
|
11283
|
-
# can run task requests. Each account receives a default cluster the
|
11284
|
-
# first time you use the Amazon ECS service, but you may also create
|
11285
|
-
# other clusters. Clusters may contain more than one instance type
|
11286
|
-
# simultaneously.
|
11366
|
+
# Details about the cluster
|
11287
11367
|
# @return [Types::Cluster]
|
11288
11368
|
#
|
11289
11369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettingsResponse AWS API Documentation
|
@@ -11437,10 +11517,7 @@ module Aws::ECS
|
|
11437
11517
|
end
|
11438
11518
|
|
11439
11519
|
# @!attribute [rw] task_set
|
11440
|
-
#
|
11441
|
-
# CodeDeploy or an `EXTERNAL` deployment. An Amazon ECS task set
|
11442
|
-
# includes details such as the desired number of tasks, how many tasks
|
11443
|
-
# are running, and whether the task set serves production traffic.
|
11520
|
+
# Details about the task set.
|
11444
11521
|
# @return [Types::TaskSet]
|
11445
11522
|
#
|
11446
11523
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSetResponse AWS API Documentation
|
@@ -11562,8 +11639,7 @@ module Aws::ECS
|
|
11562
11639
|
# @return [Types::DeploymentConfiguration]
|
11563
11640
|
#
|
11564
11641
|
# @!attribute [rw] network_configuration
|
11565
|
-
# An object representing the network configuration for
|
11566
|
-
# service.
|
11642
|
+
# An object representing the network configuration for the service.
|
11567
11643
|
# @return [Types::NetworkConfiguration]
|
11568
11644
|
#
|
11569
11645
|
# @!attribute [rw] placement_constraints
|
@@ -11711,10 +11787,7 @@ module Aws::ECS
|
|
11711
11787
|
end
|
11712
11788
|
|
11713
11789
|
# @!attribute [rw] task_set
|
11714
|
-
#
|
11715
|
-
# CodeDeploy or an `EXTERNAL` deployment. An Amazon ECS task set
|
11716
|
-
# includes details such as the desired number of tasks, how many tasks
|
11717
|
-
# are running, and whether the task set serves production traffic.
|
11790
|
+
# Details about the task set.
|
11718
11791
|
# @return [Types::TaskSet]
|
11719
11792
|
#
|
11720
11793
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateTaskSetResponse AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.77.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -67,8 +67,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
67
67
|
licenses:
|
68
68
|
- Apache-2.0
|
69
69
|
metadata:
|
70
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
71
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecs
|
71
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecs/CHANGELOG.md
|
72
72
|
post_install_message:
|
73
73
|
rdoc_options: []
|
74
74
|
require_paths:
|
@@ -84,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
|
88
|
-
rubygems_version: 2.7.6.2
|
87
|
+
rubygems_version: 3.1.6
|
89
88
|
signing_key:
|
90
89
|
specification_version: 4
|
91
90
|
summary: AWS SDK for Ruby - Amazon ECS
|