aws-sdk-ecs 1.63.0 → 1.65.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/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +80 -7
- data/lib/aws-sdk-ecs/client_api.rb +23 -0
- data/lib/aws-sdk-ecs/types.rb +103 -40
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b40e7e2bb608b1b80b3f55506f8fd2864b9978492aa63563d9b7663f8bc012cd
|
4
|
+
data.tar.gz: b6b4af2d1ce82fa56fe41a9535ee6b8bc5830b589d57664060e44db32fce0e6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5824d1945bdb0c00d34a20991d05ffe752e3d35cca5157ff8655c1438680adc13193a72f44020bbd1b546a91b0417272ace3c94b36403c9b484052fc01b9fe89
|
7
|
+
data.tar.gz: f861f386d4db1d98c0c64504ea245bedc0acae1b8f48451760128f2a70f2f856d89aeb36cdaf674e5dfff221ade117cb8647bd1929d49901217a777ea67fbc3d
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
30
|
|
@@ -69,6 +70,7 @@ module Aws::ECS
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
76
|
|
@@ -161,7 +163,7 @@ module Aws::ECS
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -396,13 +398,15 @@ module Aws::ECS
|
|
396
398
|
#
|
397
399
|
# resp.capacity_provider.capacity_provider_arn #=> String
|
398
400
|
# resp.capacity_provider.name #=> String
|
399
|
-
# resp.capacity_provider.status #=> String, one of "ACTIVE"
|
401
|
+
# resp.capacity_provider.status #=> String, one of "ACTIVE", "INACTIVE"
|
400
402
|
# resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
401
403
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
402
404
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
403
405
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
|
404
406
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
405
407
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
408
|
+
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
|
409
|
+
# resp.capacity_provider.update_status_reason #=> String
|
406
410
|
# resp.capacity_provider.tags #=> Array
|
407
411
|
# resp.capacity_provider.tags[0].key #=> String
|
408
412
|
# resp.capacity_provider.tags[0].value #=> String
|
@@ -1736,6 +1740,65 @@ module Aws::ECS
|
|
1736
1740
|
req.send_request(options)
|
1737
1741
|
end
|
1738
1742
|
|
1743
|
+
# Deletes the specified capacity provider.
|
1744
|
+
#
|
1745
|
+
# <note markdown="1"> The `FARGATE` and `FARGATE_SPOT` capacity providers are reserved and
|
1746
|
+
# cannot be deleted. You can disassociate them from a cluster using
|
1747
|
+
# either the PutClusterCapacityProviders API or by deleting the cluster.
|
1748
|
+
#
|
1749
|
+
# </note>
|
1750
|
+
#
|
1751
|
+
# Prior to a capacity provider being deleted, the capacity provider must
|
1752
|
+
# be removed from the capacity provider strategy from all services. The
|
1753
|
+
# UpdateService API can be used to remove a capacity provider from a
|
1754
|
+
# service's capacity provider strategy. When updating a service, the
|
1755
|
+
# `forceNewDeployment` option can be used to ensure that any tasks using
|
1756
|
+
# the Amazon EC2 instance capacity provided by the capacity provider are
|
1757
|
+
# transitioned to use the capacity from the remaining capacity
|
1758
|
+
# providers. Only capacity providers that are not associated with a
|
1759
|
+
# cluster can be deleted. To remove a capacity provider from a cluster,
|
1760
|
+
# you can either use PutClusterCapacityProviders or delete the cluster.
|
1761
|
+
#
|
1762
|
+
# @option params [required, String] :capacity_provider
|
1763
|
+
# The short name or full Amazon Resource Name (ARN) of the capacity
|
1764
|
+
# provider to delete.
|
1765
|
+
#
|
1766
|
+
# @return [Types::DeleteCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1767
|
+
#
|
1768
|
+
# * {Types::DeleteCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
|
1769
|
+
#
|
1770
|
+
# @example Request syntax with placeholder values
|
1771
|
+
#
|
1772
|
+
# resp = client.delete_capacity_provider({
|
1773
|
+
# capacity_provider: "String", # required
|
1774
|
+
# })
|
1775
|
+
#
|
1776
|
+
# @example Response structure
|
1777
|
+
#
|
1778
|
+
# resp.capacity_provider.capacity_provider_arn #=> String
|
1779
|
+
# resp.capacity_provider.name #=> String
|
1780
|
+
# resp.capacity_provider.status #=> String, one of "ACTIVE", "INACTIVE"
|
1781
|
+
# resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
1782
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
1783
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
1784
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
|
1785
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
1786
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
1787
|
+
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
|
1788
|
+
# resp.capacity_provider.update_status_reason #=> String
|
1789
|
+
# resp.capacity_provider.tags #=> Array
|
1790
|
+
# resp.capacity_provider.tags[0].key #=> String
|
1791
|
+
# resp.capacity_provider.tags[0].value #=> String
|
1792
|
+
#
|
1793
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider AWS API Documentation
|
1794
|
+
#
|
1795
|
+
# @overload delete_capacity_provider(params = {})
|
1796
|
+
# @param [Hash] params ({})
|
1797
|
+
def delete_capacity_provider(params = {}, options = {})
|
1798
|
+
req = build_request(:delete_capacity_provider, params)
|
1799
|
+
req.send_request(options)
|
1800
|
+
end
|
1801
|
+
|
1739
1802
|
# Deletes the specified cluster. The cluster will transition to the
|
1740
1803
|
# `INACTIVE` state. Clusters with an `INACTIVE` status may remain
|
1741
1804
|
# discoverable in your account for a period of time. However, this
|
@@ -2489,13 +2552,15 @@ module Aws::ECS
|
|
2489
2552
|
# resp.capacity_providers #=> Array
|
2490
2553
|
# resp.capacity_providers[0].capacity_provider_arn #=> String
|
2491
2554
|
# resp.capacity_providers[0].name #=> String
|
2492
|
-
# resp.capacity_providers[0].status #=> String, one of "ACTIVE"
|
2555
|
+
# resp.capacity_providers[0].status #=> String, one of "ACTIVE", "INACTIVE"
|
2493
2556
|
# resp.capacity_providers[0].auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
2494
2557
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
2495
2558
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
2496
2559
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
|
2497
2560
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
2498
2561
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
2562
|
+
# resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
|
2563
|
+
# resp.capacity_providers[0].update_status_reason #=> String
|
2499
2564
|
# resp.capacity_providers[0].tags #=> Array
|
2500
2565
|
# resp.capacity_providers[0].tags[0].key #=> String
|
2501
2566
|
# resp.capacity_providers[0].tags[0].value #=> String
|
@@ -3642,7 +3707,7 @@ module Aws::ECS
|
|
3642
3707
|
# Lists the account settings for a specified principal.
|
3643
3708
|
#
|
3644
3709
|
# @option params [String] :name
|
3645
|
-
# The
|
3710
|
+
# The name of the account setting you want to list the settings for.
|
3646
3711
|
#
|
3647
3712
|
# @option params [String] :value
|
3648
3713
|
# The value of the account settings with which to filter results. You
|
@@ -5149,8 +5214,16 @@ module Aws::ECS
|
|
5149
5214
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
|
5150
5215
|
#
|
5151
5216
|
# @option params [String] :execution_role_arn
|
5152
|
-
# The Amazon Resource Name (ARN) of the task execution role that
|
5153
|
-
# Amazon ECS container agent
|
5217
|
+
# The Amazon Resource Name (ARN) of the task execution role that grants
|
5218
|
+
# the Amazon ECS container agent permission to make AWS API calls on
|
5219
|
+
# your behalf. The task execution IAM role is required depending on the
|
5220
|
+
# requirements of your task. For more information, see [Amazon ECS task
|
5221
|
+
# execution IAM role][1] in the *Amazon Elastic Container Service
|
5222
|
+
# Developer Guide*.
|
5223
|
+
#
|
5224
|
+
#
|
5225
|
+
#
|
5226
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
|
5154
5227
|
#
|
5155
5228
|
# @option params [String] :network_mode
|
5156
5229
|
# The Docker networking mode to use for the containers in the task. The
|
@@ -7998,7 +8071,7 @@ module Aws::ECS
|
|
7998
8071
|
params: params,
|
7999
8072
|
config: config)
|
8000
8073
|
context[:gem_name] = 'aws-sdk-ecs'
|
8001
|
-
context[:gem_version] = '1.
|
8074
|
+
context[:gem_version] = '1.65.0'
|
8002
8075
|
Seahorse::Client::Request.new(handlers, context)
|
8003
8076
|
end
|
8004
8077
|
|
@@ -36,6 +36,7 @@ module Aws::ECS
|
|
36
36
|
CapacityProviderStrategyItem = Shapes::StructureShape.new(name: 'CapacityProviderStrategyItem')
|
37
37
|
CapacityProviderStrategyItemBase = Shapes::IntegerShape.new(name: 'CapacityProviderStrategyItemBase')
|
38
38
|
CapacityProviderStrategyItemWeight = Shapes::IntegerShape.new(name: 'CapacityProviderStrategyItemWeight')
|
39
|
+
CapacityProviderUpdateStatus = Shapes::StringShape.new(name: 'CapacityProviderUpdateStatus')
|
39
40
|
CapacityProviders = Shapes::ListShape.new(name: 'CapacityProviders')
|
40
41
|
ClientException = Shapes::StructureShape.new(name: 'ClientException')
|
41
42
|
Cluster = Shapes::StructureShape.new(name: 'Cluster')
|
@@ -80,6 +81,8 @@ module Aws::ECS
|
|
80
81
|
DeleteAccountSettingResponse = Shapes::StructureShape.new(name: 'DeleteAccountSettingResponse')
|
81
82
|
DeleteAttributesRequest = Shapes::StructureShape.new(name: 'DeleteAttributesRequest')
|
82
83
|
DeleteAttributesResponse = Shapes::StructureShape.new(name: 'DeleteAttributesResponse')
|
84
|
+
DeleteCapacityProviderRequest = Shapes::StructureShape.new(name: 'DeleteCapacityProviderRequest')
|
85
|
+
DeleteCapacityProviderResponse = Shapes::StructureShape.new(name: 'DeleteCapacityProviderResponse')
|
83
86
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
84
87
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
85
88
|
DeleteServiceRequest = Shapes::StructureShape.new(name: 'DeleteServiceRequest')
|
@@ -369,6 +372,8 @@ module Aws::ECS
|
|
369
372
|
CapacityProvider.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
370
373
|
CapacityProvider.add_member(:status, Shapes::ShapeRef.new(shape: CapacityProviderStatus, location_name: "status"))
|
371
374
|
CapacityProvider.add_member(:auto_scaling_group_provider, Shapes::ShapeRef.new(shape: AutoScalingGroupProvider, location_name: "autoScalingGroupProvider"))
|
375
|
+
CapacityProvider.add_member(:update_status, Shapes::ShapeRef.new(shape: CapacityProviderUpdateStatus, location_name: "updateStatus"))
|
376
|
+
CapacityProvider.add_member(:update_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "updateStatusReason"))
|
372
377
|
CapacityProvider.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
373
378
|
CapacityProvider.struct_class = Types::CapacityProvider
|
374
379
|
|
@@ -613,6 +618,12 @@ module Aws::ECS
|
|
613
618
|
DeleteAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
|
614
619
|
DeleteAttributesResponse.struct_class = Types::DeleteAttributesResponse
|
615
620
|
|
621
|
+
DeleteCapacityProviderRequest.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: String, required: true, location_name: "capacityProvider"))
|
622
|
+
DeleteCapacityProviderRequest.struct_class = Types::DeleteCapacityProviderRequest
|
623
|
+
|
624
|
+
DeleteCapacityProviderResponse.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: CapacityProvider, location_name: "capacityProvider"))
|
625
|
+
DeleteCapacityProviderResponse.struct_class = Types::DeleteCapacityProviderResponse
|
626
|
+
|
616
627
|
DeleteClusterRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
|
617
628
|
DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
|
618
629
|
|
@@ -1541,6 +1552,7 @@ module Aws::ECS
|
|
1541
1552
|
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1542
1553
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1543
1554
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1555
|
+
o.errors << Shapes::ShapeRef.new(shape: UpdateInProgressException)
|
1544
1556
|
end)
|
1545
1557
|
|
1546
1558
|
api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1610,6 +1622,17 @@ module Aws::ECS
|
|
1610
1622
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1611
1623
|
end)
|
1612
1624
|
|
1625
|
+
api.add_operation(:delete_capacity_provider, Seahorse::Model::Operation.new.tap do |o|
|
1626
|
+
o.name = "DeleteCapacityProvider"
|
1627
|
+
o.http_method = "POST"
|
1628
|
+
o.http_request_uri = "/"
|
1629
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCapacityProviderRequest)
|
1630
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCapacityProviderResponse)
|
1631
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1632
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1633
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1634
|
+
end)
|
1635
|
+
|
1613
1636
|
api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1614
1637
|
o.name = "DeleteCluster"
|
1615
1638
|
o.http_method = "POST"
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -261,13 +261,38 @@ module Aws::ECS
|
|
261
261
|
#
|
262
262
|
# @!attribute [rw] status
|
263
263
|
# The current status of the capacity provider. Only capacity providers
|
264
|
-
# in an `ACTIVE` state can be used in a cluster.
|
264
|
+
# in an `ACTIVE` state can be used in a cluster. When a capacity
|
265
|
+
# provider is successfully deleted, it will have an `INACTIVE` status.
|
265
266
|
# @return [String]
|
266
267
|
#
|
267
268
|
# @!attribute [rw] auto_scaling_group_provider
|
268
269
|
# The Auto Scaling group settings for the capacity provider.
|
269
270
|
# @return [Types::AutoScalingGroupProvider]
|
270
271
|
#
|
272
|
+
# @!attribute [rw] update_status
|
273
|
+
# The update status of the capacity provider. The following are the
|
274
|
+
# possible states that will be returned.
|
275
|
+
#
|
276
|
+
# DELETE\_IN\_PROGRESS
|
277
|
+
#
|
278
|
+
# : The capacity provider is in the process of being deleted.
|
279
|
+
#
|
280
|
+
# DELETE\_COMPLETE
|
281
|
+
#
|
282
|
+
# : The capacity provider has been successfully deleted and will have
|
283
|
+
# an `INACTIVE` status.
|
284
|
+
#
|
285
|
+
# DELETE\_FAILED
|
286
|
+
#
|
287
|
+
# : The capacity provider was unable to be deleted. The update status
|
288
|
+
# reason will provide further details about why the delete failed.
|
289
|
+
# @return [String]
|
290
|
+
#
|
291
|
+
# @!attribute [rw] update_status_reason
|
292
|
+
# The update status reason. This provides further details about the
|
293
|
+
# update status for the capacity provider.
|
294
|
+
# @return [String]
|
295
|
+
#
|
271
296
|
# @!attribute [rw] tags
|
272
297
|
# The metadata that you apply to the capacity provider to help you
|
273
298
|
# categorize and organize it. Each tag consists of a key and an
|
@@ -306,6 +331,8 @@ module Aws::ECS
|
|
306
331
|
:name,
|
307
332
|
:status,
|
308
333
|
:auto_scaling_group_provider,
|
334
|
+
:update_status,
|
335
|
+
:update_status_reason,
|
309
336
|
:tags)
|
310
337
|
include Aws::Structure
|
311
338
|
end
|
@@ -1620,15 +1647,16 @@ module Aws::ECS
|
|
1620
1647
|
# @return [Hash<String,String>]
|
1621
1648
|
#
|
1622
1649
|
# @!attribute [rw] ulimits
|
1623
|
-
# A list of `ulimits` to set in the container.
|
1624
|
-
#
|
1625
|
-
#
|
1626
|
-
#
|
1627
|
-
#
|
1628
|
-
#
|
1629
|
-
#
|
1630
|
-
#
|
1631
|
-
#
|
1650
|
+
# A list of `ulimits` to set in the container. If a ulimit value is
|
1651
|
+
# specified in a task definition, it will override the default values
|
1652
|
+
# set by Docker. This parameter maps to `Ulimits` in the [Create a
|
1653
|
+
# container][1] section of the [Docker Remote API][2] and the
|
1654
|
+
# `--ulimit` option to [docker run][3]. Valid naming values are
|
1655
|
+
# displayed in the Ulimit data type. This parameter requires version
|
1656
|
+
# 1.18 of the Docker Remote API or greater on your container instance.
|
1657
|
+
# To check the Docker Remote API version on your container instance,
|
1658
|
+
# log in to your container instance and run the following command:
|
1659
|
+
# `sudo docker version --format '\{\{.Server.APIVersion\}\}'`
|
1632
1660
|
#
|
1633
1661
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1634
1662
|
#
|
@@ -3197,6 +3225,36 @@ module Aws::ECS
|
|
3197
3225
|
include Aws::Structure
|
3198
3226
|
end
|
3199
3227
|
|
3228
|
+
# @note When making an API call, you may pass DeleteCapacityProviderRequest
|
3229
|
+
# data as a hash:
|
3230
|
+
#
|
3231
|
+
# {
|
3232
|
+
# capacity_provider: "String", # required
|
3233
|
+
# }
|
3234
|
+
#
|
3235
|
+
# @!attribute [rw] capacity_provider
|
3236
|
+
# The short name or full Amazon Resource Name (ARN) of the capacity
|
3237
|
+
# provider to delete.
|
3238
|
+
# @return [String]
|
3239
|
+
#
|
3240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProviderRequest AWS API Documentation
|
3241
|
+
#
|
3242
|
+
class DeleteCapacityProviderRequest < Struct.new(
|
3243
|
+
:capacity_provider)
|
3244
|
+
include Aws::Structure
|
3245
|
+
end
|
3246
|
+
|
3247
|
+
# @!attribute [rw] capacity_provider
|
3248
|
+
# The details of a capacity provider.
|
3249
|
+
# @return [Types::CapacityProvider]
|
3250
|
+
#
|
3251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProviderResponse AWS API Documentation
|
3252
|
+
#
|
3253
|
+
class DeleteCapacityProviderResponse < Struct.new(
|
3254
|
+
:capacity_provider)
|
3255
|
+
include Aws::Structure
|
3256
|
+
end
|
3257
|
+
|
3200
3258
|
# @note When making an API call, you may pass DeleteClusterRequest
|
3201
3259
|
# data as a hash:
|
3202
3260
|
#
|
@@ -5049,7 +5107,7 @@ module Aws::ECS
|
|
5049
5107
|
# }
|
5050
5108
|
#
|
5051
5109
|
# @!attribute [rw] name
|
5052
|
-
# The
|
5110
|
+
# The name of the account setting you want to list the settings for.
|
5053
5111
|
# @return [String]
|
5054
5112
|
#
|
5055
5113
|
# @!attribute [rw] value
|
@@ -7136,8 +7194,16 @@ module Aws::ECS
|
|
7136
7194
|
# @return [String]
|
7137
7195
|
#
|
7138
7196
|
# @!attribute [rw] execution_role_arn
|
7139
|
-
# The Amazon Resource Name (ARN) of the task execution role that
|
7140
|
-
# Amazon ECS container agent
|
7197
|
+
# The Amazon Resource Name (ARN) of the task execution role that
|
7198
|
+
# grants the Amazon ECS container agent permission to make AWS API
|
7199
|
+
# calls on your behalf. The task execution IAM role is required
|
7200
|
+
# depending on the requirements of your task. For more information,
|
7201
|
+
# see [Amazon ECS task execution IAM role][1] in the *Amazon Elastic
|
7202
|
+
# Container Service Developer Guide*.
|
7203
|
+
#
|
7204
|
+
#
|
7205
|
+
#
|
7206
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
|
7141
7207
|
# @return [String]
|
7142
7208
|
#
|
7143
7209
|
# @!attribute [rw] network_mode
|
@@ -9401,8 +9467,15 @@ module Aws::ECS
|
|
9401
9467
|
#
|
9402
9468
|
# @!attribute [rw] execution_role_arn
|
9403
9469
|
# The Amazon Resource Name (ARN) of the task execution role that
|
9404
|
-
#
|
9405
|
-
#
|
9470
|
+
# grants the Amazon ECS container agent permission to make AWS API
|
9471
|
+
# calls on your behalf. The task execution IAM role is required
|
9472
|
+
# depending on the requirements of your task. For more information,
|
9473
|
+
# see [Amazon ECS task execution IAM role][1] in the *Amazon Elastic
|
9474
|
+
# Container Service Developer Guide*.
|
9475
|
+
#
|
9476
|
+
#
|
9477
|
+
#
|
9478
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
|
9406
9479
|
# @return [String]
|
9407
9480
|
#
|
9408
9481
|
# @!attribute [rw] network_mode
|
@@ -9775,8 +9848,8 @@ module Aws::ECS
|
|
9775
9848
|
# @return [Array<Types::InferenceAcceleratorOverride>]
|
9776
9849
|
#
|
9777
9850
|
# @!attribute [rw] execution_role_arn
|
9778
|
-
# The Amazon Resource Name (ARN) of the task execution role
|
9779
|
-
#
|
9851
|
+
# The Amazon Resource Name (ARN) of the task execution IAM role
|
9852
|
+
# override for the task.
|
9780
9853
|
# @return [String]
|
9781
9854
|
#
|
9782
9855
|
# @!attribute [rw] memory
|
@@ -10635,10 +10708,12 @@ module Aws::ECS
|
|
10635
10708
|
include Aws::Structure
|
10636
10709
|
end
|
10637
10710
|
|
10638
|
-
# A data volume used in a task definition. For tasks that use
|
10639
|
-
#
|
10640
|
-
#
|
10641
|
-
# For
|
10711
|
+
# A data volume used in a task definition. For tasks that use Amazon
|
10712
|
+
# Elastic File System (Amazon EFS) file storage, specify an
|
10713
|
+
# `efsVolumeConfiguration`. For tasks that use a Docker volume, specify
|
10714
|
+
# a `DockerVolumeConfiguration`. For tasks that use a bind mount host
|
10715
|
+
# volume, specify a `host` and optional `sourcePath`. For more
|
10716
|
+
# information, see [Using Data Volumes in Tasks][1].
|
10642
10717
|
#
|
10643
10718
|
#
|
10644
10719
|
#
|
@@ -10683,13 +10758,12 @@ module Aws::ECS
|
|
10683
10758
|
#
|
10684
10759
|
# @!attribute [rw] host
|
10685
10760
|
# This parameter is specified when you are using bind mount host
|
10686
|
-
# volumes.
|
10687
|
-
#
|
10688
|
-
#
|
10689
|
-
#
|
10690
|
-
#
|
10691
|
-
#
|
10692
|
-
# after the containers associated with it stop running.
|
10761
|
+
# volumes. The contents of the `host` parameter determine whether your
|
10762
|
+
# bind mount host volume persists on the host container instance and
|
10763
|
+
# where it is stored. If the `host` parameter is empty, then the
|
10764
|
+
# Docker daemon assigns a host path for your data volume. However, the
|
10765
|
+
# data is not guaranteed to persist after the containers associated
|
10766
|
+
# with it stop running.
|
10693
10767
|
#
|
10694
10768
|
# Windows containers can mount whole directories on the same drive as
|
10695
10769
|
# `$env:ProgramData`. Windows containers cannot mount directories on a
|
@@ -10707,18 +10781,7 @@ module Aws::ECS
|
|
10707
10781
|
#
|
10708
10782
|
# @!attribute [rw] efs_volume_configuration
|
10709
10783
|
# This parameter is specified when you are using an Amazon Elastic
|
10710
|
-
# File System
|
10711
|
-
# only supported when you are using the EC2 launch type.
|
10712
|
-
#
|
10713
|
-
# `EFSVolumeConfiguration` remains in preview and is a Beta Service as
|
10714
|
-
# defined by and subject to the Beta Service Participation Service
|
10715
|
-
# Terms located at [https://aws.amazon.com/service-terms][1] ("Beta
|
10716
|
-
# Terms"). These Beta Terms apply to your participation in this
|
10717
|
-
# preview of `EFSVolumeConfiguration`.
|
10718
|
-
#
|
10719
|
-
#
|
10720
|
-
#
|
10721
|
-
# [1]: https://aws.amazon.com/service-terms
|
10784
|
+
# File System file system for task storage.
|
10722
10785
|
# @return [Types::EFSVolumeConfiguration]
|
10723
10786
|
#
|
10724
10787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Volume 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.65.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: 2020-
|
11
|
+
date: 2020-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|