aws-sdk-ecs 1.60.0 → 1.66.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ecs.rb +3 -1
- data/lib/aws-sdk-ecs/client.rb +123 -9
- data/lib/aws-sdk-ecs/client_api.rb +36 -0
- data/lib/aws-sdk-ecs/customizations.rb +1 -0
- data/lib/aws-sdk-ecs/errors.rb +2 -0
- data/lib/aws-sdk-ecs/resource.rb +2 -0
- data/lib/aws-sdk-ecs/types.rb +399 -45
- data/lib/aws-sdk-ecs/waiters.rb +2 -0
- 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: 04732e46c443248173a3273f26e2ac0dcedeecc20a174dd5428e534afa763e01
|
4
|
+
data.tar.gz: ba5053fa0080e3f87f44e5975b2147f86de51ec15e9c07229743ce1b34b5bc5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 571e6f90fb3d9e81b7dcd082fcd021ac93a10bdb00fbbe6f103b5199ae0d438d051fa6d1c14767637871c69ca6d66095db498d6eb50884c932185013691ba8d3
|
7
|
+
data.tar.gz: 904e88b0b616bd0af4025392b62f59f6160e4ae71fd2f852ec799273c56e46eac65cf8a12e9215f6571f5495f0075ea44aa59241816265bcac470e1617d108e8
|
data/lib/aws-sdk-ecs.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-ecs/customizations'
|
|
46
48
|
# @service
|
47
49
|
module Aws::ECS
|
48
50
|
|
49
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.66.0'
|
50
52
|
|
51
53
|
end
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::ECS
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::ECS
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::ECS
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::ECS
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -396,13 +400,15 @@ module Aws::ECS
|
|
396
400
|
#
|
397
401
|
# resp.capacity_provider.capacity_provider_arn #=> String
|
398
402
|
# resp.capacity_provider.name #=> String
|
399
|
-
# resp.capacity_provider.status #=> String, one of "ACTIVE"
|
403
|
+
# resp.capacity_provider.status #=> String, one of "ACTIVE", "INACTIVE"
|
400
404
|
# resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
401
405
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
402
406
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
403
407
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
|
404
408
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
405
409
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
410
|
+
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
|
411
|
+
# resp.capacity_provider.update_status_reason #=> String
|
406
412
|
# resp.capacity_provider.tags #=> Array
|
407
413
|
# resp.capacity_provider.tags[0].key #=> String
|
408
414
|
# resp.capacity_provider.tags[0].value #=> String
|
@@ -1736,6 +1742,65 @@ module Aws::ECS
|
|
1736
1742
|
req.send_request(options)
|
1737
1743
|
end
|
1738
1744
|
|
1745
|
+
# Deletes the specified capacity provider.
|
1746
|
+
#
|
1747
|
+
# <note markdown="1"> The `FARGATE` and `FARGATE_SPOT` capacity providers are reserved and
|
1748
|
+
# cannot be deleted. You can disassociate them from a cluster using
|
1749
|
+
# either the PutClusterCapacityProviders API or by deleting the cluster.
|
1750
|
+
#
|
1751
|
+
# </note>
|
1752
|
+
#
|
1753
|
+
# Prior to a capacity provider being deleted, the capacity provider must
|
1754
|
+
# be removed from the capacity provider strategy from all services. The
|
1755
|
+
# UpdateService API can be used to remove a capacity provider from a
|
1756
|
+
# service's capacity provider strategy. When updating a service, the
|
1757
|
+
# `forceNewDeployment` option can be used to ensure that any tasks using
|
1758
|
+
# the Amazon EC2 instance capacity provided by the capacity provider are
|
1759
|
+
# transitioned to use the capacity from the remaining capacity
|
1760
|
+
# providers. Only capacity providers that are not associated with a
|
1761
|
+
# cluster can be deleted. To remove a capacity provider from a cluster,
|
1762
|
+
# you can either use PutClusterCapacityProviders or delete the cluster.
|
1763
|
+
#
|
1764
|
+
# @option params [required, String] :capacity_provider
|
1765
|
+
# The short name or full Amazon Resource Name (ARN) of the capacity
|
1766
|
+
# provider to delete.
|
1767
|
+
#
|
1768
|
+
# @return [Types::DeleteCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1769
|
+
#
|
1770
|
+
# * {Types::DeleteCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
|
1771
|
+
#
|
1772
|
+
# @example Request syntax with placeholder values
|
1773
|
+
#
|
1774
|
+
# resp = client.delete_capacity_provider({
|
1775
|
+
# capacity_provider: "String", # required
|
1776
|
+
# })
|
1777
|
+
#
|
1778
|
+
# @example Response structure
|
1779
|
+
#
|
1780
|
+
# resp.capacity_provider.capacity_provider_arn #=> String
|
1781
|
+
# resp.capacity_provider.name #=> String
|
1782
|
+
# resp.capacity_provider.status #=> String, one of "ACTIVE", "INACTIVE"
|
1783
|
+
# resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
1784
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
1785
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
1786
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
|
1787
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
1788
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
1789
|
+
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
|
1790
|
+
# resp.capacity_provider.update_status_reason #=> String
|
1791
|
+
# resp.capacity_provider.tags #=> Array
|
1792
|
+
# resp.capacity_provider.tags[0].key #=> String
|
1793
|
+
# resp.capacity_provider.tags[0].value #=> String
|
1794
|
+
#
|
1795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider AWS API Documentation
|
1796
|
+
#
|
1797
|
+
# @overload delete_capacity_provider(params = {})
|
1798
|
+
# @param [Hash] params ({})
|
1799
|
+
def delete_capacity_provider(params = {}, options = {})
|
1800
|
+
req = build_request(:delete_capacity_provider, params)
|
1801
|
+
req.send_request(options)
|
1802
|
+
end
|
1803
|
+
|
1739
1804
|
# Deletes the specified cluster. The cluster will transition to the
|
1740
1805
|
# `INACTIVE` state. Clusters with an `INACTIVE` status may remain
|
1741
1806
|
# discoverable in your account for a period of time. However, this
|
@@ -2296,6 +2361,9 @@ module Aws::ECS
|
|
2296
2361
|
# resp.task_definition.container_definitions[0].environment #=> Array
|
2297
2362
|
# resp.task_definition.container_definitions[0].environment[0].name #=> String
|
2298
2363
|
# resp.task_definition.container_definitions[0].environment[0].value #=> String
|
2364
|
+
# resp.task_definition.container_definitions[0].environment_files #=> Array
|
2365
|
+
# resp.task_definition.container_definitions[0].environment_files[0].value #=> String
|
2366
|
+
# resp.task_definition.container_definitions[0].environment_files[0].type #=> String, one of "s3"
|
2299
2367
|
# resp.task_definition.container_definitions[0].mount_points #=> Array
|
2300
2368
|
# resp.task_definition.container_definitions[0].mount_points[0].source_volume #=> String
|
2301
2369
|
# resp.task_definition.container_definitions[0].mount_points[0].container_path #=> String
|
@@ -2486,13 +2554,15 @@ module Aws::ECS
|
|
2486
2554
|
# resp.capacity_providers #=> Array
|
2487
2555
|
# resp.capacity_providers[0].capacity_provider_arn #=> String
|
2488
2556
|
# resp.capacity_providers[0].name #=> String
|
2489
|
-
# resp.capacity_providers[0].status #=> String, one of "ACTIVE"
|
2557
|
+
# resp.capacity_providers[0].status #=> String, one of "ACTIVE", "INACTIVE"
|
2490
2558
|
# resp.capacity_providers[0].auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
2491
2559
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
2492
2560
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
2493
2561
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
|
2494
2562
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
2495
2563
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
2564
|
+
# resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
|
2565
|
+
# resp.capacity_providers[0].update_status_reason #=> String
|
2496
2566
|
# resp.capacity_providers[0].tags #=> Array
|
2497
2567
|
# resp.capacity_providers[0].tags[0].key #=> String
|
2498
2568
|
# resp.capacity_providers[0].tags[0].value #=> String
|
@@ -3159,6 +3229,9 @@ module Aws::ECS
|
|
3159
3229
|
# resp.task_definition.container_definitions[0].environment #=> Array
|
3160
3230
|
# resp.task_definition.container_definitions[0].environment[0].name #=> String
|
3161
3231
|
# resp.task_definition.container_definitions[0].environment[0].value #=> String
|
3232
|
+
# resp.task_definition.container_definitions[0].environment_files #=> Array
|
3233
|
+
# resp.task_definition.container_definitions[0].environment_files[0].value #=> String
|
3234
|
+
# resp.task_definition.container_definitions[0].environment_files[0].type #=> String, one of "s3"
|
3162
3235
|
# resp.task_definition.container_definitions[0].mount_points #=> Array
|
3163
3236
|
# resp.task_definition.container_definitions[0].mount_points[0].source_volume #=> String
|
3164
3237
|
# resp.task_definition.container_definitions[0].mount_points[0].container_path #=> String
|
@@ -3537,6 +3610,9 @@ module Aws::ECS
|
|
3537
3610
|
# resp.tasks[0].overrides.container_overrides[0].environment #=> Array
|
3538
3611
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String
|
3539
3612
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String
|
3613
|
+
# resp.tasks[0].overrides.container_overrides[0].environment_files #=> Array
|
3614
|
+
# resp.tasks[0].overrides.container_overrides[0].environment_files[0].value #=> String
|
3615
|
+
# resp.tasks[0].overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3"
|
3540
3616
|
# resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer
|
3541
3617
|
# resp.tasks[0].overrides.container_overrides[0].memory #=> Integer
|
3542
3618
|
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
@@ -3633,7 +3709,7 @@ module Aws::ECS
|
|
3633
3709
|
# Lists the account settings for a specified principal.
|
3634
3710
|
#
|
3635
3711
|
# @option params [String] :name
|
3636
|
-
# The
|
3712
|
+
# The name of the account setting you want to list the settings for.
|
3637
3713
|
#
|
3638
3714
|
# @option params [String] :value
|
3639
3715
|
# The value of the account settings with which to filter results. You
|
@@ -5140,8 +5216,16 @@ module Aws::ECS
|
|
5140
5216
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
|
5141
5217
|
#
|
5142
5218
|
# @option params [String] :execution_role_arn
|
5143
|
-
# The Amazon Resource Name (ARN) of the task execution role that
|
5144
|
-
# Amazon ECS container agent
|
5219
|
+
# The Amazon Resource Name (ARN) of the task execution role that grants
|
5220
|
+
# the Amazon ECS container agent permission to make AWS API calls on
|
5221
|
+
# your behalf. The task execution IAM role is required depending on the
|
5222
|
+
# requirements of your task. For more information, see [Amazon ECS task
|
5223
|
+
# execution IAM role][1] in the *Amazon Elastic Container Service
|
5224
|
+
# Developer Guide*.
|
5225
|
+
#
|
5226
|
+
#
|
5227
|
+
#
|
5228
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
|
5145
5229
|
#
|
5146
5230
|
# @option params [String] :network_mode
|
5147
5231
|
# The Docker networking mode to use for the containers in the task. The
|
@@ -5492,6 +5576,12 @@ module Aws::ECS
|
|
5492
5576
|
# value: "String",
|
5493
5577
|
# },
|
5494
5578
|
# ],
|
5579
|
+
# environment_files: [
|
5580
|
+
# {
|
5581
|
+
# value: "String", # required
|
5582
|
+
# type: "s3", # required, accepts s3
|
5583
|
+
# },
|
5584
|
+
# ],
|
5495
5585
|
# mount_points: [
|
5496
5586
|
# {
|
5497
5587
|
# source_volume: "String",
|
@@ -5697,6 +5787,9 @@ module Aws::ECS
|
|
5697
5787
|
# resp.task_definition.container_definitions[0].environment #=> Array
|
5698
5788
|
# resp.task_definition.container_definitions[0].environment[0].name #=> String
|
5699
5789
|
# resp.task_definition.container_definitions[0].environment[0].value #=> String
|
5790
|
+
# resp.task_definition.container_definitions[0].environment_files #=> Array
|
5791
|
+
# resp.task_definition.container_definitions[0].environment_files[0].value #=> String
|
5792
|
+
# resp.task_definition.container_definitions[0].environment_files[0].type #=> String, one of "s3"
|
5700
5793
|
# resp.task_definition.container_definitions[0].mount_points #=> Array
|
5701
5794
|
# resp.task_definition.container_definitions[0].mount_points[0].source_volume #=> String
|
5702
5795
|
# resp.task_definition.container_definitions[0].mount_points[0].container_path #=> String
|
@@ -6115,6 +6208,12 @@ module Aws::ECS
|
|
6115
6208
|
# value: "String",
|
6116
6209
|
# },
|
6117
6210
|
# ],
|
6211
|
+
# environment_files: [
|
6212
|
+
# {
|
6213
|
+
# value: "String", # required
|
6214
|
+
# type: "s3", # required, accepts s3
|
6215
|
+
# },
|
6216
|
+
# ],
|
6118
6217
|
# cpu: 1,
|
6119
6218
|
# memory: 1,
|
6120
6219
|
# memory_reservation: 1,
|
@@ -6227,6 +6326,9 @@ module Aws::ECS
|
|
6227
6326
|
# resp.tasks[0].overrides.container_overrides[0].environment #=> Array
|
6228
6327
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String
|
6229
6328
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String
|
6329
|
+
# resp.tasks[0].overrides.container_overrides[0].environment_files #=> Array
|
6330
|
+
# resp.tasks[0].overrides.container_overrides[0].environment_files[0].value #=> String
|
6331
|
+
# resp.tasks[0].overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3"
|
6230
6332
|
# resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer
|
6231
6333
|
# resp.tasks[0].overrides.container_overrides[0].memory #=> Integer
|
6232
6334
|
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
@@ -6409,6 +6511,12 @@ module Aws::ECS
|
|
6409
6511
|
# value: "String",
|
6410
6512
|
# },
|
6411
6513
|
# ],
|
6514
|
+
# environment_files: [
|
6515
|
+
# {
|
6516
|
+
# value: "String", # required
|
6517
|
+
# type: "s3", # required, accepts s3
|
6518
|
+
# },
|
6519
|
+
# ],
|
6412
6520
|
# cpu: 1,
|
6413
6521
|
# memory: 1,
|
6414
6522
|
# memory_reservation: 1,
|
@@ -6508,6 +6616,9 @@ module Aws::ECS
|
|
6508
6616
|
# resp.tasks[0].overrides.container_overrides[0].environment #=> Array
|
6509
6617
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String
|
6510
6618
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String
|
6619
|
+
# resp.tasks[0].overrides.container_overrides[0].environment_files #=> Array
|
6620
|
+
# resp.tasks[0].overrides.container_overrides[0].environment_files[0].value #=> String
|
6621
|
+
# resp.tasks[0].overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3"
|
6511
6622
|
# resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer
|
6512
6623
|
# resp.tasks[0].overrides.container_overrides[0].memory #=> Integer
|
6513
6624
|
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
@@ -6662,6 +6773,9 @@ module Aws::ECS
|
|
6662
6773
|
# resp.task.overrides.container_overrides[0].environment #=> Array
|
6663
6774
|
# resp.task.overrides.container_overrides[0].environment[0].name #=> String
|
6664
6775
|
# resp.task.overrides.container_overrides[0].environment[0].value #=> String
|
6776
|
+
# resp.task.overrides.container_overrides[0].environment_files #=> Array
|
6777
|
+
# resp.task.overrides.container_overrides[0].environment_files[0].value #=> String
|
6778
|
+
# resp.task.overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3"
|
6665
6779
|
# resp.task.overrides.container_overrides[0].cpu #=> Integer
|
6666
6780
|
# resp.task.overrides.container_overrides[0].memory #=> Integer
|
6667
6781
|
# resp.task.overrides.container_overrides[0].memory_reservation #=> Integer
|
@@ -7959,7 +8073,7 @@ module Aws::ECS
|
|
7959
8073
|
params: params,
|
7960
8074
|
config: config)
|
7961
8075
|
context[:gem_name] = 'aws-sdk-ecs'
|
7962
|
-
context[:gem_version] = '1.
|
8076
|
+
context[:gem_version] = '1.66.0'
|
7963
8077
|
Seahorse::Client::Request.new(handlers, context)
|
7964
8078
|
end
|
7965
8079
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -36,6 +38,7 @@ module Aws::ECS
|
|
36
38
|
CapacityProviderStrategyItem = Shapes::StructureShape.new(name: 'CapacityProviderStrategyItem')
|
37
39
|
CapacityProviderStrategyItemBase = Shapes::IntegerShape.new(name: 'CapacityProviderStrategyItemBase')
|
38
40
|
CapacityProviderStrategyItemWeight = Shapes::IntegerShape.new(name: 'CapacityProviderStrategyItemWeight')
|
41
|
+
CapacityProviderUpdateStatus = Shapes::StringShape.new(name: 'CapacityProviderUpdateStatus')
|
39
42
|
CapacityProviders = Shapes::ListShape.new(name: 'CapacityProviders')
|
40
43
|
ClientException = Shapes::StructureShape.new(name: 'ClientException')
|
41
44
|
Cluster = Shapes::StructureShape.new(name: 'Cluster')
|
@@ -80,6 +83,8 @@ module Aws::ECS
|
|
80
83
|
DeleteAccountSettingResponse = Shapes::StructureShape.new(name: 'DeleteAccountSettingResponse')
|
81
84
|
DeleteAttributesRequest = Shapes::StructureShape.new(name: 'DeleteAttributesRequest')
|
82
85
|
DeleteAttributesResponse = Shapes::StructureShape.new(name: 'DeleteAttributesResponse')
|
86
|
+
DeleteCapacityProviderRequest = Shapes::StructureShape.new(name: 'DeleteCapacityProviderRequest')
|
87
|
+
DeleteCapacityProviderResponse = Shapes::StructureShape.new(name: 'DeleteCapacityProviderResponse')
|
83
88
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
84
89
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
85
90
|
DeleteServiceRequest = Shapes::StructureShape.new(name: 'DeleteServiceRequest')
|
@@ -123,6 +128,9 @@ module Aws::ECS
|
|
123
128
|
EFSAuthorizationConfigIAM = Shapes::StringShape.new(name: 'EFSAuthorizationConfigIAM')
|
124
129
|
EFSTransitEncryption = Shapes::StringShape.new(name: 'EFSTransitEncryption')
|
125
130
|
EFSVolumeConfiguration = Shapes::StructureShape.new(name: 'EFSVolumeConfiguration')
|
131
|
+
EnvironmentFile = Shapes::StructureShape.new(name: 'EnvironmentFile')
|
132
|
+
EnvironmentFileType = Shapes::StringShape.new(name: 'EnvironmentFileType')
|
133
|
+
EnvironmentFiles = Shapes::ListShape.new(name: 'EnvironmentFiles')
|
126
134
|
EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
|
127
135
|
Failure = Shapes::StructureShape.new(name: 'Failure')
|
128
136
|
Failures = Shapes::ListShape.new(name: 'Failures')
|
@@ -366,6 +374,8 @@ module Aws::ECS
|
|
366
374
|
CapacityProvider.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
367
375
|
CapacityProvider.add_member(:status, Shapes::ShapeRef.new(shape: CapacityProviderStatus, location_name: "status"))
|
368
376
|
CapacityProvider.add_member(:auto_scaling_group_provider, Shapes::ShapeRef.new(shape: AutoScalingGroupProvider, location_name: "autoScalingGroupProvider"))
|
377
|
+
CapacityProvider.add_member(:update_status, Shapes::ShapeRef.new(shape: CapacityProviderUpdateStatus, location_name: "updateStatus"))
|
378
|
+
CapacityProvider.add_member(:update_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "updateStatusReason"))
|
369
379
|
CapacityProvider.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
370
380
|
CapacityProvider.struct_class = Types::CapacityProvider
|
371
381
|
|
@@ -449,6 +459,7 @@ module Aws::ECS
|
|
449
459
|
ContainerDefinition.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "entryPoint"))
|
450
460
|
ContainerDefinition.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
451
461
|
ContainerDefinition.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
462
|
+
ContainerDefinition.add_member(:environment_files, Shapes::ShapeRef.new(shape: EnvironmentFiles, location_name: "environmentFiles"))
|
452
463
|
ContainerDefinition.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPointList, location_name: "mountPoints"))
|
453
464
|
ContainerDefinition.add_member(:volumes_from, Shapes::ShapeRef.new(shape: VolumeFromList, location_name: "volumesFrom"))
|
454
465
|
ContainerDefinition.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
@@ -511,6 +522,7 @@ module Aws::ECS
|
|
511
522
|
ContainerOverride.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
512
523
|
ContainerOverride.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
513
524
|
ContainerOverride.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
525
|
+
ContainerOverride.add_member(:environment_files, Shapes::ShapeRef.new(shape: EnvironmentFiles, location_name: "environmentFiles"))
|
514
526
|
ContainerOverride.add_member(:cpu, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "cpu"))
|
515
527
|
ContainerOverride.add_member(:memory, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memory"))
|
516
528
|
ContainerOverride.add_member(:memory_reservation, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memoryReservation"))
|
@@ -608,6 +620,12 @@ module Aws::ECS
|
|
608
620
|
DeleteAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
|
609
621
|
DeleteAttributesResponse.struct_class = Types::DeleteAttributesResponse
|
610
622
|
|
623
|
+
DeleteCapacityProviderRequest.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: String, required: true, location_name: "capacityProvider"))
|
624
|
+
DeleteCapacityProviderRequest.struct_class = Types::DeleteCapacityProviderRequest
|
625
|
+
|
626
|
+
DeleteCapacityProviderResponse.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: CapacityProvider, location_name: "capacityProvider"))
|
627
|
+
DeleteCapacityProviderResponse.struct_class = Types::DeleteCapacityProviderResponse
|
628
|
+
|
611
629
|
DeleteClusterRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
|
612
630
|
DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
|
613
631
|
|
@@ -770,6 +788,12 @@ module Aws::ECS
|
|
770
788
|
EFSVolumeConfiguration.add_member(:authorization_config, Shapes::ShapeRef.new(shape: EFSAuthorizationConfig, location_name: "authorizationConfig"))
|
771
789
|
EFSVolumeConfiguration.struct_class = Types::EFSVolumeConfiguration
|
772
790
|
|
791
|
+
EnvironmentFile.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
|
792
|
+
EnvironmentFile.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentFileType, required: true, location_name: "type"))
|
793
|
+
EnvironmentFile.struct_class = Types::EnvironmentFile
|
794
|
+
|
795
|
+
EnvironmentFiles.member = Shapes::ShapeRef.new(shape: EnvironmentFile)
|
796
|
+
|
773
797
|
EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair)
|
774
798
|
|
775
799
|
Failure.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
@@ -1530,6 +1554,7 @@ module Aws::ECS
|
|
1530
1554
|
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1531
1555
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1532
1556
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1557
|
+
o.errors << Shapes::ShapeRef.new(shape: UpdateInProgressException)
|
1533
1558
|
end)
|
1534
1559
|
|
1535
1560
|
api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1599,6 +1624,17 @@ module Aws::ECS
|
|
1599
1624
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1600
1625
|
end)
|
1601
1626
|
|
1627
|
+
api.add_operation(:delete_capacity_provider, Seahorse::Model::Operation.new.tap do |o|
|
1628
|
+
o.name = "DeleteCapacityProvider"
|
1629
|
+
o.http_method = "POST"
|
1630
|
+
o.http_request_uri = "/"
|
1631
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCapacityProviderRequest)
|
1632
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCapacityProviderResponse)
|
1633
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1634
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1635
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1636
|
+
end)
|
1637
|
+
|
1602
1638
|
api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1603
1639
|
o.name = "DeleteCluster"
|
1604
1640
|
o.http_method = "POST"
|
data/lib/aws-sdk-ecs/errors.rb
CHANGED
data/lib/aws-sdk-ecs/resource.rb
CHANGED
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -43,6 +45,7 @@ module Aws::ECS
|
|
43
45
|
:type,
|
44
46
|
:status,
|
45
47
|
:details)
|
48
|
+
SENSITIVE = []
|
46
49
|
include Aws::Structure
|
47
50
|
end
|
48
51
|
|
@@ -69,6 +72,7 @@ module Aws::ECS
|
|
69
72
|
class AttachmentStateChange < Struct.new(
|
70
73
|
:attachment_arn,
|
71
74
|
:status)
|
75
|
+
SENSITIVE = []
|
72
76
|
include Aws::Structure
|
73
77
|
end
|
74
78
|
|
@@ -121,6 +125,7 @@ module Aws::ECS
|
|
121
125
|
:value,
|
122
126
|
:target_type,
|
123
127
|
:target_id)
|
128
|
+
SENSITIVE = []
|
124
129
|
include Aws::Structure
|
125
130
|
end
|
126
131
|
|
@@ -189,6 +194,7 @@ module Aws::ECS
|
|
189
194
|
:auto_scaling_group_arn,
|
190
195
|
:managed_scaling,
|
191
196
|
:managed_termination_protection)
|
197
|
+
SENSITIVE = []
|
192
198
|
include Aws::Structure
|
193
199
|
end
|
194
200
|
|
@@ -234,6 +240,7 @@ module Aws::ECS
|
|
234
240
|
:subnets,
|
235
241
|
:security_groups,
|
236
242
|
:assign_public_ip)
|
243
|
+
SENSITIVE = []
|
237
244
|
include Aws::Structure
|
238
245
|
end
|
239
246
|
|
@@ -261,13 +268,38 @@ module Aws::ECS
|
|
261
268
|
#
|
262
269
|
# @!attribute [rw] status
|
263
270
|
# The current status of the capacity provider. Only capacity providers
|
264
|
-
# in an `ACTIVE` state can be used in a cluster.
|
271
|
+
# in an `ACTIVE` state can be used in a cluster. When a capacity
|
272
|
+
# provider is successfully deleted, it will have an `INACTIVE` status.
|
265
273
|
# @return [String]
|
266
274
|
#
|
267
275
|
# @!attribute [rw] auto_scaling_group_provider
|
268
276
|
# The Auto Scaling group settings for the capacity provider.
|
269
277
|
# @return [Types::AutoScalingGroupProvider]
|
270
278
|
#
|
279
|
+
# @!attribute [rw] update_status
|
280
|
+
# The update status of the capacity provider. The following are the
|
281
|
+
# possible states that will be returned.
|
282
|
+
#
|
283
|
+
# DELETE\_IN\_PROGRESS
|
284
|
+
#
|
285
|
+
# : The capacity provider is in the process of being deleted.
|
286
|
+
#
|
287
|
+
# DELETE\_COMPLETE
|
288
|
+
#
|
289
|
+
# : The capacity provider has been successfully deleted and will have
|
290
|
+
# an `INACTIVE` status.
|
291
|
+
#
|
292
|
+
# DELETE\_FAILED
|
293
|
+
#
|
294
|
+
# : The capacity provider was unable to be deleted. The update status
|
295
|
+
# reason will provide further details about why the delete failed.
|
296
|
+
# @return [String]
|
297
|
+
#
|
298
|
+
# @!attribute [rw] update_status_reason
|
299
|
+
# The update status reason. This provides further details about the
|
300
|
+
# update status for the capacity provider.
|
301
|
+
# @return [String]
|
302
|
+
#
|
271
303
|
# @!attribute [rw] tags
|
272
304
|
# The metadata that you apply to the capacity provider to help you
|
273
305
|
# categorize and organize it. Each tag consists of a key and an
|
@@ -306,7 +338,10 @@ module Aws::ECS
|
|
306
338
|
:name,
|
307
339
|
:status,
|
308
340
|
:auto_scaling_group_provider,
|
341
|
+
:update_status,
|
342
|
+
:update_status_reason,
|
309
343
|
:tags)
|
344
|
+
SENSITIVE = []
|
310
345
|
include Aws::Structure
|
311
346
|
end
|
312
347
|
|
@@ -351,6 +386,7 @@ module Aws::ECS
|
|
351
386
|
:capacity_provider,
|
352
387
|
:weight,
|
353
388
|
:base)
|
389
|
+
SENSITIVE = []
|
354
390
|
include Aws::Structure
|
355
391
|
end
|
356
392
|
|
@@ -366,6 +402,7 @@ module Aws::ECS
|
|
366
402
|
#
|
367
403
|
class ClientException < Struct.new(
|
368
404
|
:message)
|
405
|
+
SENSITIVE = []
|
369
406
|
include Aws::Structure
|
370
407
|
end
|
371
408
|
|
@@ -547,6 +584,7 @@ module Aws::ECS
|
|
547
584
|
:default_capacity_provider_strategy,
|
548
585
|
:attachments,
|
549
586
|
:attachments_status)
|
587
|
+
SENSITIVE = []
|
550
588
|
include Aws::Structure
|
551
589
|
end
|
552
590
|
|
@@ -610,6 +648,7 @@ module Aws::ECS
|
|
610
648
|
class ClusterSetting < Struct.new(
|
611
649
|
:name,
|
612
650
|
:value)
|
651
|
+
SENSITIVE = []
|
613
652
|
include Aws::Structure
|
614
653
|
end
|
615
654
|
|
@@ -708,6 +747,7 @@ module Aws::ECS
|
|
708
747
|
:memory,
|
709
748
|
:memory_reservation,
|
710
749
|
:gpu_ids)
|
750
|
+
SENSITIVE = []
|
711
751
|
include Aws::Structure
|
712
752
|
end
|
713
753
|
|
@@ -743,6 +783,12 @@ module Aws::ECS
|
|
743
783
|
# value: "String",
|
744
784
|
# },
|
745
785
|
# ],
|
786
|
+
# environment_files: [
|
787
|
+
# {
|
788
|
+
# value: "String", # required
|
789
|
+
# type: "s3", # required, accepts s3
|
790
|
+
# },
|
791
|
+
# ],
|
746
792
|
# mount_points: [
|
747
793
|
# {
|
748
794
|
# source_volume: "String",
|
@@ -1187,6 +1233,37 @@ module Aws::ECS
|
|
1187
1233
|
# [3]: https://docs.docker.com/engine/reference/run/
|
1188
1234
|
# @return [Array<Types::KeyValuePair>]
|
1189
1235
|
#
|
1236
|
+
# @!attribute [rw] environment_files
|
1237
|
+
# A list of files containing the environment variables to pass to a
|
1238
|
+
# container. This parameter maps to the `--env-file` option to [docker
|
1239
|
+
# run][1].
|
1240
|
+
#
|
1241
|
+
# You can specify up to ten environment files. The file must have a
|
1242
|
+
# `.env` file extension. Each line in an environment file should
|
1243
|
+
# contain an environment variable in `VARIABLE=VALUE` format. Lines
|
1244
|
+
# beginning with `#` are treated as comments and are ignored. For more
|
1245
|
+
# information on the environment variable file syntax, see [Declare
|
1246
|
+
# default environment variables in file][2].
|
1247
|
+
#
|
1248
|
+
# If there are environment variables specified using the `environment`
|
1249
|
+
# parameter in a container definition, they take precedence over the
|
1250
|
+
# variables contained within an environment file. If multiple
|
1251
|
+
# environment files are specified that contain the same variable, they
|
1252
|
+
# are processed from the top down. It is recommended to use unique
|
1253
|
+
# variable names. For more information, see [Specifying Environment
|
1254
|
+
# Variables][3] in the *Amazon Elastic Container Service Developer
|
1255
|
+
# Guide*.
|
1256
|
+
#
|
1257
|
+
# This field is not valid for containers in tasks using the Fargate
|
1258
|
+
# launch type.
|
1259
|
+
#
|
1260
|
+
#
|
1261
|
+
#
|
1262
|
+
# [1]: https://docs.docker.com/engine/reference/run/
|
1263
|
+
# [2]: https://docs.docker.com/compose/env-file/
|
1264
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html
|
1265
|
+
# @return [Array<Types::EnvironmentFile>]
|
1266
|
+
#
|
1190
1267
|
# @!attribute [rw] mount_points
|
1191
1268
|
# The mount points for data volumes in your container.
|
1192
1269
|
#
|
@@ -1583,15 +1660,16 @@ module Aws::ECS
|
|
1583
1660
|
# @return [Hash<String,String>]
|
1584
1661
|
#
|
1585
1662
|
# @!attribute [rw] ulimits
|
1586
|
-
# A list of `ulimits` to set in the container.
|
1587
|
-
#
|
1588
|
-
#
|
1589
|
-
#
|
1590
|
-
#
|
1591
|
-
#
|
1592
|
-
#
|
1593
|
-
#
|
1594
|
-
#
|
1663
|
+
# A list of `ulimits` to set in the container. If a ulimit value is
|
1664
|
+
# specified in a task definition, it will override the default values
|
1665
|
+
# set by Docker. This parameter maps to `Ulimits` in the [Create a
|
1666
|
+
# container][1] section of the [Docker Remote API][2] and the
|
1667
|
+
# `--ulimit` option to [docker run][3]. Valid naming values are
|
1668
|
+
# displayed in the Ulimit data type. This parameter requires version
|
1669
|
+
# 1.18 of the Docker Remote API or greater on your container instance.
|
1670
|
+
# To check the Docker Remote API version on your container instance,
|
1671
|
+
# log in to your container instance and run the following command:
|
1672
|
+
# `sudo docker version --format '\{\{.Server.APIVersion\}\}'`
|
1595
1673
|
#
|
1596
1674
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1597
1675
|
#
|
@@ -1719,6 +1797,7 @@ module Aws::ECS
|
|
1719
1797
|
:entry_point,
|
1720
1798
|
:command,
|
1721
1799
|
:environment,
|
1800
|
+
:environment_files,
|
1722
1801
|
:mount_points,
|
1723
1802
|
:volumes_from,
|
1724
1803
|
:linux_parameters,
|
@@ -1745,6 +1824,7 @@ module Aws::ECS
|
|
1745
1824
|
:system_controls,
|
1746
1825
|
:resource_requirements,
|
1747
1826
|
:firelens_configuration)
|
1827
|
+
SENSITIVE = []
|
1748
1828
|
include Aws::Structure
|
1749
1829
|
end
|
1750
1830
|
|
@@ -1815,6 +1895,7 @@ module Aws::ECS
|
|
1815
1895
|
class ContainerDependency < Struct.new(
|
1816
1896
|
:container_name,
|
1817
1897
|
:condition)
|
1898
|
+
SENSITIVE = []
|
1818
1899
|
include Aws::Structure
|
1819
1900
|
end
|
1820
1901
|
|
@@ -1997,6 +2078,7 @@ module Aws::ECS
|
|
1997
2078
|
:registered_at,
|
1998
2079
|
:attachments,
|
1999
2080
|
:tags)
|
2081
|
+
SENSITIVE = []
|
2000
2082
|
include Aws::Structure
|
2001
2083
|
end
|
2002
2084
|
|
@@ -2017,6 +2099,12 @@ module Aws::ECS
|
|
2017
2099
|
# value: "String",
|
2018
2100
|
# },
|
2019
2101
|
# ],
|
2102
|
+
# environment_files: [
|
2103
|
+
# {
|
2104
|
+
# value: "String", # required
|
2105
|
+
# type: "s3", # required, accepts s3
|
2106
|
+
# },
|
2107
|
+
# ],
|
2020
2108
|
# cpu: 1,
|
2021
2109
|
# memory: 1,
|
2022
2110
|
# memory_reservation: 1,
|
@@ -2047,6 +2135,11 @@ module Aws::ECS
|
|
2047
2135
|
# container name.
|
2048
2136
|
# @return [Array<Types::KeyValuePair>]
|
2049
2137
|
#
|
2138
|
+
# @!attribute [rw] environment_files
|
2139
|
+
# A list of files containing the environment variables to pass to a
|
2140
|
+
# container, instead of the value from the container definition.
|
2141
|
+
# @return [Array<Types::EnvironmentFile>]
|
2142
|
+
#
|
2050
2143
|
# @!attribute [rw] cpu
|
2051
2144
|
# The number of `cpu` units reserved for the container, instead of the
|
2052
2145
|
# default value from the task definition. You must also specify a
|
@@ -2078,10 +2171,12 @@ module Aws::ECS
|
|
2078
2171
|
:name,
|
2079
2172
|
:command,
|
2080
2173
|
:environment,
|
2174
|
+
:environment_files,
|
2081
2175
|
:cpu,
|
2082
2176
|
:memory,
|
2083
2177
|
:memory_reservation,
|
2084
2178
|
:resource_requirements)
|
2179
|
+
SENSITIVE = []
|
2085
2180
|
include Aws::Structure
|
2086
2181
|
end
|
2087
2182
|
|
@@ -2146,6 +2241,7 @@ module Aws::ECS
|
|
2146
2241
|
:network_bindings,
|
2147
2242
|
:reason,
|
2148
2243
|
:status)
|
2244
|
+
SENSITIVE = []
|
2149
2245
|
include Aws::Structure
|
2150
2246
|
end
|
2151
2247
|
|
@@ -2220,6 +2316,7 @@ module Aws::ECS
|
|
2220
2316
|
:name,
|
2221
2317
|
:auto_scaling_group_provider,
|
2222
2318
|
:tags)
|
2319
|
+
SENSITIVE = []
|
2223
2320
|
include Aws::Structure
|
2224
2321
|
end
|
2225
2322
|
|
@@ -2231,6 +2328,7 @@ module Aws::ECS
|
|
2231
2328
|
#
|
2232
2329
|
class CreateCapacityProviderResponse < Struct.new(
|
2233
2330
|
:capacity_provider)
|
2331
|
+
SENSITIVE = []
|
2234
2332
|
include Aws::Structure
|
2235
2333
|
end
|
2236
2334
|
|
@@ -2361,6 +2459,7 @@ module Aws::ECS
|
|
2361
2459
|
:settings,
|
2362
2460
|
:capacity_providers,
|
2363
2461
|
:default_capacity_provider_strategy)
|
2462
|
+
SENSITIVE = []
|
2364
2463
|
include Aws::Structure
|
2365
2464
|
end
|
2366
2465
|
|
@@ -2372,6 +2471,7 @@ module Aws::ECS
|
|
2372
2471
|
#
|
2373
2472
|
class CreateClusterResponse < Struct.new(
|
2374
2473
|
:cluster)
|
2474
|
+
SENSITIVE = []
|
2375
2475
|
include Aws::Structure
|
2376
2476
|
end
|
2377
2477
|
|
@@ -2808,6 +2908,7 @@ module Aws::ECS
|
|
2808
2908
|
:tags,
|
2809
2909
|
:enable_ecs_managed_tags,
|
2810
2910
|
:propagate_tags)
|
2911
|
+
SENSITIVE = []
|
2811
2912
|
include Aws::Structure
|
2812
2913
|
end
|
2813
2914
|
|
@@ -2828,6 +2929,7 @@ module Aws::ECS
|
|
2828
2929
|
#
|
2829
2930
|
class CreateServiceResponse < Struct.new(
|
2830
2931
|
:service)
|
2932
|
+
SENSITIVE = []
|
2831
2933
|
include Aws::Structure
|
2832
2934
|
end
|
2833
2935
|
|
@@ -3034,6 +3136,7 @@ module Aws::ECS
|
|
3034
3136
|
:scale,
|
3035
3137
|
:client_token,
|
3036
3138
|
:tags)
|
3139
|
+
SENSITIVE = []
|
3037
3140
|
include Aws::Structure
|
3038
3141
|
end
|
3039
3142
|
|
@@ -3048,6 +3151,7 @@ module Aws::ECS
|
|
3048
3151
|
#
|
3049
3152
|
class CreateTaskSetResponse < Struct.new(
|
3050
3153
|
:task_set)
|
3154
|
+
SENSITIVE = []
|
3051
3155
|
include Aws::Structure
|
3052
3156
|
end
|
3053
3157
|
|
@@ -3084,6 +3188,7 @@ module Aws::ECS
|
|
3084
3188
|
class DeleteAccountSettingRequest < Struct.new(
|
3085
3189
|
:name,
|
3086
3190
|
:principal_arn)
|
3191
|
+
SENSITIVE = []
|
3087
3192
|
include Aws::Structure
|
3088
3193
|
end
|
3089
3194
|
|
@@ -3095,6 +3200,7 @@ module Aws::ECS
|
|
3095
3200
|
#
|
3096
3201
|
class DeleteAccountSettingResponse < Struct.new(
|
3097
3202
|
:setting)
|
3203
|
+
SENSITIVE = []
|
3098
3204
|
include Aws::Structure
|
3099
3205
|
end
|
3100
3206
|
|
@@ -3132,6 +3238,7 @@ module Aws::ECS
|
|
3132
3238
|
class DeleteAttributesRequest < Struct.new(
|
3133
3239
|
:cluster,
|
3134
3240
|
:attributes)
|
3241
|
+
SENSITIVE = []
|
3135
3242
|
include Aws::Structure
|
3136
3243
|
end
|
3137
3244
|
|
@@ -3144,6 +3251,39 @@ module Aws::ECS
|
|
3144
3251
|
#
|
3145
3252
|
class DeleteAttributesResponse < Struct.new(
|
3146
3253
|
:attributes)
|
3254
|
+
SENSITIVE = []
|
3255
|
+
include Aws::Structure
|
3256
|
+
end
|
3257
|
+
|
3258
|
+
# @note When making an API call, you may pass DeleteCapacityProviderRequest
|
3259
|
+
# data as a hash:
|
3260
|
+
#
|
3261
|
+
# {
|
3262
|
+
# capacity_provider: "String", # required
|
3263
|
+
# }
|
3264
|
+
#
|
3265
|
+
# @!attribute [rw] capacity_provider
|
3266
|
+
# The short name or full Amazon Resource Name (ARN) of the capacity
|
3267
|
+
# provider to delete.
|
3268
|
+
# @return [String]
|
3269
|
+
#
|
3270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProviderRequest AWS API Documentation
|
3271
|
+
#
|
3272
|
+
class DeleteCapacityProviderRequest < Struct.new(
|
3273
|
+
:capacity_provider)
|
3274
|
+
SENSITIVE = []
|
3275
|
+
include Aws::Structure
|
3276
|
+
end
|
3277
|
+
|
3278
|
+
# @!attribute [rw] capacity_provider
|
3279
|
+
# The details of a capacity provider.
|
3280
|
+
# @return [Types::CapacityProvider]
|
3281
|
+
#
|
3282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProviderResponse AWS API Documentation
|
3283
|
+
#
|
3284
|
+
class DeleteCapacityProviderResponse < Struct.new(
|
3285
|
+
:capacity_provider)
|
3286
|
+
SENSITIVE = []
|
3147
3287
|
include Aws::Structure
|
3148
3288
|
end
|
3149
3289
|
|
@@ -3163,6 +3303,7 @@ module Aws::ECS
|
|
3163
3303
|
#
|
3164
3304
|
class DeleteClusterRequest < Struct.new(
|
3165
3305
|
:cluster)
|
3306
|
+
SENSITIVE = []
|
3166
3307
|
include Aws::Structure
|
3167
3308
|
end
|
3168
3309
|
|
@@ -3174,6 +3315,7 @@ module Aws::ECS
|
|
3174
3315
|
#
|
3175
3316
|
class DeleteClusterResponse < Struct.new(
|
3176
3317
|
:cluster)
|
3318
|
+
SENSITIVE = []
|
3177
3319
|
include Aws::Structure
|
3178
3320
|
end
|
3179
3321
|
|
@@ -3208,6 +3350,7 @@ module Aws::ECS
|
|
3208
3350
|
:cluster,
|
3209
3351
|
:service,
|
3210
3352
|
:force)
|
3353
|
+
SENSITIVE = []
|
3211
3354
|
include Aws::Structure
|
3212
3355
|
end
|
3213
3356
|
|
@@ -3219,6 +3362,7 @@ module Aws::ECS
|
|
3219
3362
|
#
|
3220
3363
|
class DeleteServiceResponse < Struct.new(
|
3221
3364
|
:service)
|
3365
|
+
SENSITIVE = []
|
3222
3366
|
include Aws::Structure
|
3223
3367
|
end
|
3224
3368
|
|
@@ -3259,6 +3403,7 @@ module Aws::ECS
|
|
3259
3403
|
:service,
|
3260
3404
|
:task_set,
|
3261
3405
|
:force)
|
3406
|
+
SENSITIVE = []
|
3262
3407
|
include Aws::Structure
|
3263
3408
|
end
|
3264
3409
|
|
@@ -3273,6 +3418,7 @@ module Aws::ECS
|
|
3273
3418
|
#
|
3274
3419
|
class DeleteTaskSetResponse < Struct.new(
|
3275
3420
|
:task_set)
|
3421
|
+
SENSITIVE = []
|
3276
3422
|
include Aws::Structure
|
3277
3423
|
end
|
3278
3424
|
|
@@ -3376,6 +3522,7 @@ module Aws::ECS
|
|
3376
3522
|
:launch_type,
|
3377
3523
|
:platform_version,
|
3378
3524
|
:network_configuration)
|
3525
|
+
SENSITIVE = []
|
3379
3526
|
include Aws::Structure
|
3380
3527
|
end
|
3381
3528
|
|
@@ -3447,6 +3594,7 @@ module Aws::ECS
|
|
3447
3594
|
class DeploymentConfiguration < Struct.new(
|
3448
3595
|
:maximum_percent,
|
3449
3596
|
:minimum_healthy_percent)
|
3597
|
+
SENSITIVE = []
|
3450
3598
|
include Aws::Structure
|
3451
3599
|
end
|
3452
3600
|
|
@@ -3497,6 +3645,7 @@ module Aws::ECS
|
|
3497
3645
|
#
|
3498
3646
|
class DeploymentController < Struct.new(
|
3499
3647
|
:type)
|
3648
|
+
SENSITIVE = []
|
3500
3649
|
include Aws::Structure
|
3501
3650
|
end
|
3502
3651
|
|
@@ -3546,6 +3695,7 @@ module Aws::ECS
|
|
3546
3695
|
:cluster,
|
3547
3696
|
:container_instance,
|
3548
3697
|
:force)
|
3698
|
+
SENSITIVE = []
|
3549
3699
|
include Aws::Structure
|
3550
3700
|
end
|
3551
3701
|
|
@@ -3557,6 +3707,7 @@ module Aws::ECS
|
|
3557
3707
|
#
|
3558
3708
|
class DeregisterContainerInstanceResponse < Struct.new(
|
3559
3709
|
:container_instance)
|
3710
|
+
SENSITIVE = []
|
3560
3711
|
include Aws::Structure
|
3561
3712
|
end
|
3562
3713
|
|
@@ -3577,6 +3728,7 @@ module Aws::ECS
|
|
3577
3728
|
#
|
3578
3729
|
class DeregisterTaskDefinitionRequest < Struct.new(
|
3579
3730
|
:task_definition)
|
3731
|
+
SENSITIVE = []
|
3580
3732
|
include Aws::Structure
|
3581
3733
|
end
|
3582
3734
|
|
@@ -3588,6 +3740,7 @@ module Aws::ECS
|
|
3588
3740
|
#
|
3589
3741
|
class DeregisterTaskDefinitionResponse < Struct.new(
|
3590
3742
|
:task_definition)
|
3743
|
+
SENSITIVE = []
|
3591
3744
|
include Aws::Structure
|
3592
3745
|
end
|
3593
3746
|
|
@@ -3647,6 +3800,7 @@ module Aws::ECS
|
|
3647
3800
|
:include,
|
3648
3801
|
:max_results,
|
3649
3802
|
:next_token)
|
3803
|
+
SENSITIVE = []
|
3650
3804
|
include Aws::Structure
|
3651
3805
|
end
|
3652
3806
|
|
@@ -3672,6 +3826,7 @@ module Aws::ECS
|
|
3672
3826
|
:capacity_providers,
|
3673
3827
|
:failures,
|
3674
3828
|
:next_token)
|
3829
|
+
SENSITIVE = []
|
3675
3830
|
include Aws::Structure
|
3676
3831
|
end
|
3677
3832
|
|
@@ -3728,6 +3883,7 @@ module Aws::ECS
|
|
3728
3883
|
class DescribeClustersRequest < Struct.new(
|
3729
3884
|
:clusters,
|
3730
3885
|
:include)
|
3886
|
+
SENSITIVE = []
|
3731
3887
|
include Aws::Structure
|
3732
3888
|
end
|
3733
3889
|
|
@@ -3744,6 +3900,7 @@ module Aws::ECS
|
|
3744
3900
|
class DescribeClustersResponse < Struct.new(
|
3745
3901
|
:clusters,
|
3746
3902
|
:failures)
|
3903
|
+
SENSITIVE = []
|
3747
3904
|
include Aws::Structure
|
3748
3905
|
end
|
3749
3906
|
|
@@ -3783,6 +3940,7 @@ module Aws::ECS
|
|
3783
3940
|
:cluster,
|
3784
3941
|
:container_instances,
|
3785
3942
|
:include)
|
3943
|
+
SENSITIVE = []
|
3786
3944
|
include Aws::Structure
|
3787
3945
|
end
|
3788
3946
|
|
@@ -3799,6 +3957,7 @@ module Aws::ECS
|
|
3799
3957
|
class DescribeContainerInstancesResponse < Struct.new(
|
3800
3958
|
:container_instances,
|
3801
3959
|
:failures)
|
3960
|
+
SENSITIVE = []
|
3802
3961
|
include Aws::Structure
|
3803
3962
|
end
|
3804
3963
|
|
@@ -3836,6 +3995,7 @@ module Aws::ECS
|
|
3836
3995
|
:cluster,
|
3837
3996
|
:services,
|
3838
3997
|
:include)
|
3998
|
+
SENSITIVE = []
|
3839
3999
|
include Aws::Structure
|
3840
4000
|
end
|
3841
4001
|
|
@@ -3852,6 +4012,7 @@ module Aws::ECS
|
|
3852
4012
|
class DescribeServicesResponse < Struct.new(
|
3853
4013
|
:services,
|
3854
4014
|
:failures)
|
4015
|
+
SENSITIVE = []
|
3855
4016
|
include Aws::Structure
|
3856
4017
|
end
|
3857
4018
|
|
@@ -3881,6 +4042,7 @@ module Aws::ECS
|
|
3881
4042
|
class DescribeTaskDefinitionRequest < Struct.new(
|
3882
4043
|
:task_definition,
|
3883
4044
|
:include)
|
4045
|
+
SENSITIVE = []
|
3884
4046
|
include Aws::Structure
|
3885
4047
|
end
|
3886
4048
|
|
@@ -3924,6 +4086,7 @@ module Aws::ECS
|
|
3924
4086
|
class DescribeTaskDefinitionResponse < Struct.new(
|
3925
4087
|
:task_definition,
|
3926
4088
|
:tags)
|
4089
|
+
SENSITIVE = []
|
3927
4090
|
include Aws::Structure
|
3928
4091
|
end
|
3929
4092
|
|
@@ -3964,6 +4127,7 @@ module Aws::ECS
|
|
3964
4127
|
:service,
|
3965
4128
|
:task_sets,
|
3966
4129
|
:include)
|
4130
|
+
SENSITIVE = []
|
3967
4131
|
include Aws::Structure
|
3968
4132
|
end
|
3969
4133
|
|
@@ -3980,6 +4144,7 @@ module Aws::ECS
|
|
3980
4144
|
class DescribeTaskSetsResponse < Struct.new(
|
3981
4145
|
:task_sets,
|
3982
4146
|
:failures)
|
4147
|
+
SENSITIVE = []
|
3983
4148
|
include Aws::Structure
|
3984
4149
|
end
|
3985
4150
|
|
@@ -4016,6 +4181,7 @@ module Aws::ECS
|
|
4016
4181
|
:cluster,
|
4017
4182
|
:tasks,
|
4018
4183
|
:include)
|
4184
|
+
SENSITIVE = []
|
4019
4185
|
include Aws::Structure
|
4020
4186
|
end
|
4021
4187
|
|
@@ -4032,6 +4198,7 @@ module Aws::ECS
|
|
4032
4198
|
class DescribeTasksResponse < Struct.new(
|
4033
4199
|
:tasks,
|
4034
4200
|
:failures)
|
4201
|
+
SENSITIVE = []
|
4035
4202
|
include Aws::Structure
|
4036
4203
|
end
|
4037
4204
|
|
@@ -4066,6 +4233,7 @@ module Aws::ECS
|
|
4066
4233
|
:host_path,
|
4067
4234
|
:container_path,
|
4068
4235
|
:permissions)
|
4236
|
+
SENSITIVE = []
|
4069
4237
|
include Aws::Structure
|
4070
4238
|
end
|
4071
4239
|
|
@@ -4096,6 +4264,7 @@ module Aws::ECS
|
|
4096
4264
|
class DiscoverPollEndpointRequest < Struct.new(
|
4097
4265
|
:container_instance,
|
4098
4266
|
:cluster)
|
4267
|
+
SENSITIVE = []
|
4099
4268
|
include Aws::Structure
|
4100
4269
|
end
|
4101
4270
|
|
@@ -4112,6 +4281,7 @@ module Aws::ECS
|
|
4112
4281
|
class DiscoverPollEndpointResponse < Struct.new(
|
4113
4282
|
:endpoint,
|
4114
4283
|
:telemetry_endpoint)
|
4284
|
+
SENSITIVE = []
|
4115
4285
|
include Aws::Structure
|
4116
4286
|
end
|
4117
4287
|
|
@@ -4205,6 +4375,7 @@ module Aws::ECS
|
|
4205
4375
|
:driver,
|
4206
4376
|
:driver_opts,
|
4207
4377
|
:labels)
|
4378
|
+
SENSITIVE = []
|
4208
4379
|
include Aws::Structure
|
4209
4380
|
end
|
4210
4381
|
|
@@ -4251,6 +4422,7 @@ module Aws::ECS
|
|
4251
4422
|
class EFSAuthorizationConfig < Struct.new(
|
4252
4423
|
:access_point_id,
|
4253
4424
|
:iam)
|
4425
|
+
SENSITIVE = []
|
4254
4426
|
include Aws::Structure
|
4255
4427
|
end
|
4256
4428
|
|
@@ -4326,6 +4498,58 @@ module Aws::ECS
|
|
4326
4498
|
:transit_encryption,
|
4327
4499
|
:transit_encryption_port,
|
4328
4500
|
:authorization_config)
|
4501
|
+
SENSITIVE = []
|
4502
|
+
include Aws::Structure
|
4503
|
+
end
|
4504
|
+
|
4505
|
+
# A list of files containing the environment variables to pass to a
|
4506
|
+
# container. You can specify up to ten environment files. The file must
|
4507
|
+
# have a `.env` file extension. Each line in an environment file should
|
4508
|
+
# contain an environment variable in `VARIABLE=VALUE` format. Lines
|
4509
|
+
# beginning with `#` are treated as comments and are ignored. For more
|
4510
|
+
# information on the environment variable file syntax, see [Declare
|
4511
|
+
# default environment variables in file][1].
|
4512
|
+
#
|
4513
|
+
# If there are environment variables specified using the `environment`
|
4514
|
+
# parameter in a container definition, they take precedence over the
|
4515
|
+
# variables contained within an environment file. If multiple
|
4516
|
+
# environment files are specified that contain the same variable, they
|
4517
|
+
# are processed from the top down. It is recommended to use unique
|
4518
|
+
# variable names. For more information, see [Specifying Environment
|
4519
|
+
# Variables][2] in the *Amazon Elastic Container Service Developer
|
4520
|
+
# Guide*.
|
4521
|
+
#
|
4522
|
+
# This field is not valid for containers in tasks using the Fargate
|
4523
|
+
# launch type.
|
4524
|
+
#
|
4525
|
+
#
|
4526
|
+
#
|
4527
|
+
# [1]: https://docs.docker.com/compose/env-file/
|
4528
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html
|
4529
|
+
#
|
4530
|
+
# @note When making an API call, you may pass EnvironmentFile
|
4531
|
+
# data as a hash:
|
4532
|
+
#
|
4533
|
+
# {
|
4534
|
+
# value: "String", # required
|
4535
|
+
# type: "s3", # required, accepts s3
|
4536
|
+
# }
|
4537
|
+
#
|
4538
|
+
# @!attribute [rw] value
|
4539
|
+
# The Amazon Resource Name (ARN) of the Amazon S3 object containing
|
4540
|
+
# the environment variable file.
|
4541
|
+
# @return [String]
|
4542
|
+
#
|
4543
|
+
# @!attribute [rw] type
|
4544
|
+
# The file type to use. The only supported value is `s3`.
|
4545
|
+
# @return [String]
|
4546
|
+
#
|
4547
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/EnvironmentFile AWS API Documentation
|
4548
|
+
#
|
4549
|
+
class EnvironmentFile < Struct.new(
|
4550
|
+
:value,
|
4551
|
+
:type)
|
4552
|
+
SENSITIVE = []
|
4329
4553
|
include Aws::Structure
|
4330
4554
|
end
|
4331
4555
|
|
@@ -4349,6 +4573,7 @@ module Aws::ECS
|
|
4349
4573
|
:arn,
|
4350
4574
|
:reason,
|
4351
4575
|
:detail)
|
4576
|
+
SENSITIVE = []
|
4352
4577
|
include Aws::Structure
|
4353
4578
|
end
|
4354
4579
|
|
@@ -4397,6 +4622,7 @@ module Aws::ECS
|
|
4397
4622
|
class FirelensConfiguration < Struct.new(
|
4398
4623
|
:type,
|
4399
4624
|
:options)
|
4625
|
+
SENSITIVE = []
|
4400
4626
|
include Aws::Structure
|
4401
4627
|
end
|
4402
4628
|
|
@@ -4524,6 +4750,7 @@ module Aws::ECS
|
|
4524
4750
|
:timeout,
|
4525
4751
|
:retries,
|
4526
4752
|
:start_period)
|
4753
|
+
SENSITIVE = []
|
4527
4754
|
include Aws::Structure
|
4528
4755
|
end
|
4529
4756
|
|
@@ -4552,6 +4779,7 @@ module Aws::ECS
|
|
4552
4779
|
class HostEntry < Struct.new(
|
4553
4780
|
:hostname,
|
4554
4781
|
:ip_address)
|
4782
|
+
SENSITIVE = []
|
4555
4783
|
include Aws::Structure
|
4556
4784
|
end
|
4557
4785
|
|
@@ -4583,6 +4811,7 @@ module Aws::ECS
|
|
4583
4811
|
#
|
4584
4812
|
class HostVolumeProperties < Struct.new(
|
4585
4813
|
:source_path)
|
4814
|
+
SENSITIVE = []
|
4586
4815
|
include Aws::Structure
|
4587
4816
|
end
|
4588
4817
|
|
@@ -4617,6 +4846,7 @@ module Aws::ECS
|
|
4617
4846
|
class InferenceAccelerator < Struct.new(
|
4618
4847
|
:device_name,
|
4619
4848
|
:device_type)
|
4849
|
+
SENSITIVE = []
|
4620
4850
|
include Aws::Structure
|
4621
4851
|
end
|
4622
4852
|
|
@@ -4653,6 +4883,7 @@ module Aws::ECS
|
|
4653
4883
|
class InferenceAcceleratorOverride < Struct.new(
|
4654
4884
|
:device_name,
|
4655
4885
|
:device_type)
|
4886
|
+
SENSITIVE = []
|
4656
4887
|
include Aws::Structure
|
4657
4888
|
end
|
4658
4889
|
|
@@ -4689,8 +4920,9 @@ module Aws::ECS
|
|
4689
4920
|
# `CapAdd` in the [Create a container][1] section of the [Docker
|
4690
4921
|
# Remote API][2] and the `--cap-add` option to [docker run][3].
|
4691
4922
|
#
|
4692
|
-
# <note markdown="1">
|
4693
|
-
#
|
4923
|
+
# <note markdown="1"> The `SYS_PTRACE` capability is supported for tasks that use the
|
4924
|
+
# Fargate launch type if they are also using platform version 1.4.0.
|
4925
|
+
# The other capabilities are not supported for any platform versions.
|
4694
4926
|
#
|
4695
4927
|
# </note>
|
4696
4928
|
#
|
@@ -4739,6 +4971,7 @@ module Aws::ECS
|
|
4739
4971
|
class KernelCapabilities < Struct.new(
|
4740
4972
|
:add,
|
4741
4973
|
:drop)
|
4974
|
+
SENSITIVE = []
|
4742
4975
|
include Aws::Structure
|
4743
4976
|
end
|
4744
4977
|
|
@@ -4767,6 +5000,7 @@ module Aws::ECS
|
|
4767
5000
|
class KeyValuePair < Struct.new(
|
4768
5001
|
:name,
|
4769
5002
|
:value)
|
5003
|
+
SENSITIVE = []
|
4770
5004
|
include Aws::Structure
|
4771
5005
|
end
|
4772
5006
|
|
@@ -4811,9 +5045,9 @@ module Aws::ECS
|
|
4811
5045
|
# The Linux capabilities for the container that are added to or
|
4812
5046
|
# dropped from the default configuration provided by Docker.
|
4813
5047
|
#
|
4814
|
-
# <note markdown="1">
|
4815
|
-
#
|
4816
|
-
# supported.
|
5048
|
+
# <note markdown="1"> For tasks that use the Fargate launch type, `capabilities` is
|
5049
|
+
# supported for all platform versions but the `add` parameter is only
|
5050
|
+
# supported if using platform version 1.4.0 or later.
|
4817
5051
|
#
|
4818
5052
|
# </note>
|
4819
5053
|
# @return [Types::KernelCapabilities]
|
@@ -4932,6 +5166,7 @@ module Aws::ECS
|
|
4932
5166
|
:tmpfs,
|
4933
5167
|
:max_swap,
|
4934
5168
|
:swappiness)
|
5169
|
+
SENSITIVE = []
|
4935
5170
|
include Aws::Structure
|
4936
5171
|
end
|
4937
5172
|
|
@@ -4948,7 +5183,7 @@ module Aws::ECS
|
|
4948
5183
|
# }
|
4949
5184
|
#
|
4950
5185
|
# @!attribute [rw] name
|
4951
|
-
# The
|
5186
|
+
# The name of the account setting you want to list the settings for.
|
4952
5187
|
# @return [String]
|
4953
5188
|
#
|
4954
5189
|
# @!attribute [rw] value
|
@@ -5004,6 +5239,7 @@ module Aws::ECS
|
|
5004
5239
|
:effective_settings,
|
5005
5240
|
:next_token,
|
5006
5241
|
:max_results)
|
5242
|
+
SENSITIVE = []
|
5007
5243
|
include Aws::Structure
|
5008
5244
|
end
|
5009
5245
|
|
@@ -5024,6 +5260,7 @@ module Aws::ECS
|
|
5024
5260
|
class ListAccountSettingsResponse < Struct.new(
|
5025
5261
|
:settings,
|
5026
5262
|
:next_token)
|
5263
|
+
SENSITIVE = []
|
5027
5264
|
include Aws::Structure
|
5028
5265
|
end
|
5029
5266
|
|
@@ -5091,6 +5328,7 @@ module Aws::ECS
|
|
5091
5328
|
:attribute_value,
|
5092
5329
|
:next_token,
|
5093
5330
|
:max_results)
|
5331
|
+
SENSITIVE = []
|
5094
5332
|
include Aws::Structure
|
5095
5333
|
end
|
5096
5334
|
|
@@ -5111,6 +5349,7 @@ module Aws::ECS
|
|
5111
5349
|
class ListAttributesResponse < Struct.new(
|
5112
5350
|
:attributes,
|
5113
5351
|
:next_token)
|
5352
|
+
SENSITIVE = []
|
5114
5353
|
include Aws::Structure
|
5115
5354
|
end
|
5116
5355
|
|
@@ -5151,6 +5390,7 @@ module Aws::ECS
|
|
5151
5390
|
class ListClustersRequest < Struct.new(
|
5152
5391
|
:next_token,
|
5153
5392
|
:max_results)
|
5393
|
+
SENSITIVE = []
|
5154
5394
|
include Aws::Structure
|
5155
5395
|
end
|
5156
5396
|
|
@@ -5171,6 +5411,7 @@ module Aws::ECS
|
|
5171
5411
|
class ListClustersResponse < Struct.new(
|
5172
5412
|
:cluster_arns,
|
5173
5413
|
:next_token)
|
5414
|
+
SENSITIVE = []
|
5174
5415
|
include Aws::Structure
|
5175
5416
|
end
|
5176
5417
|
|
@@ -5245,6 +5486,7 @@ module Aws::ECS
|
|
5245
5486
|
:next_token,
|
5246
5487
|
:max_results,
|
5247
5488
|
:status)
|
5489
|
+
SENSITIVE = []
|
5248
5490
|
include Aws::Structure
|
5249
5491
|
end
|
5250
5492
|
|
@@ -5266,6 +5508,7 @@ module Aws::ECS
|
|
5266
5508
|
class ListContainerInstancesResponse < Struct.new(
|
5267
5509
|
:container_instance_arns,
|
5268
5510
|
:next_token)
|
5511
|
+
SENSITIVE = []
|
5269
5512
|
include Aws::Structure
|
5270
5513
|
end
|
5271
5514
|
|
@@ -5326,6 +5569,7 @@ module Aws::ECS
|
|
5326
5569
|
:max_results,
|
5327
5570
|
:launch_type,
|
5328
5571
|
:scheduling_strategy)
|
5572
|
+
SENSITIVE = []
|
5329
5573
|
include Aws::Structure
|
5330
5574
|
end
|
5331
5575
|
|
@@ -5346,6 +5590,7 @@ module Aws::ECS
|
|
5346
5590
|
class ListServicesResponse < Struct.new(
|
5347
5591
|
:service_arns,
|
5348
5592
|
:next_token)
|
5593
|
+
SENSITIVE = []
|
5349
5594
|
include Aws::Structure
|
5350
5595
|
end
|
5351
5596
|
|
@@ -5367,6 +5612,7 @@ module Aws::ECS
|
|
5367
5612
|
#
|
5368
5613
|
class ListTagsForResourceRequest < Struct.new(
|
5369
5614
|
:resource_arn)
|
5615
|
+
SENSITIVE = []
|
5370
5616
|
include Aws::Structure
|
5371
5617
|
end
|
5372
5618
|
|
@@ -5378,6 +5624,7 @@ module Aws::ECS
|
|
5378
5624
|
#
|
5379
5625
|
class ListTagsForResourceResponse < Struct.new(
|
5380
5626
|
:tags)
|
5627
|
+
SENSITIVE = []
|
5381
5628
|
include Aws::Structure
|
5382
5629
|
end
|
5383
5630
|
|
@@ -5443,6 +5690,7 @@ module Aws::ECS
|
|
5443
5690
|
:status,
|
5444
5691
|
:next_token,
|
5445
5692
|
:max_results)
|
5693
|
+
SENSITIVE = []
|
5446
5694
|
include Aws::Structure
|
5447
5695
|
end
|
5448
5696
|
|
@@ -5464,6 +5712,7 @@ module Aws::ECS
|
|
5464
5712
|
class ListTaskDefinitionFamiliesResponse < Struct.new(
|
5465
5713
|
:families,
|
5466
5714
|
:next_token)
|
5715
|
+
SENSITIVE = []
|
5467
5716
|
include Aws::Structure
|
5468
5717
|
end
|
5469
5718
|
|
@@ -5537,6 +5786,7 @@ module Aws::ECS
|
|
5537
5786
|
:sort,
|
5538
5787
|
:next_token,
|
5539
5788
|
:max_results)
|
5789
|
+
SENSITIVE = []
|
5540
5790
|
include Aws::Structure
|
5541
5791
|
end
|
5542
5792
|
|
@@ -5558,6 +5808,7 @@ module Aws::ECS
|
|
5558
5808
|
class ListTaskDefinitionsResponse < Struct.new(
|
5559
5809
|
:task_definition_arns,
|
5560
5810
|
:next_token)
|
5811
|
+
SENSITIVE = []
|
5561
5812
|
include Aws::Structure
|
5562
5813
|
end
|
5563
5814
|
|
@@ -5664,6 +5915,7 @@ module Aws::ECS
|
|
5664
5915
|
:service_name,
|
5665
5916
|
:desired_status,
|
5666
5917
|
:launch_type)
|
5918
|
+
SENSITIVE = []
|
5667
5919
|
include Aws::Structure
|
5668
5920
|
end
|
5669
5921
|
|
@@ -5683,6 +5935,7 @@ module Aws::ECS
|
|
5683
5935
|
class ListTasksResponse < Struct.new(
|
5684
5936
|
:task_arns,
|
5685
5937
|
:next_token)
|
5938
|
+
SENSITIVE = []
|
5686
5939
|
include Aws::Structure
|
5687
5940
|
end
|
5688
5941
|
|
@@ -5762,6 +6015,7 @@ module Aws::ECS
|
|
5762
6015
|
:load_balancer_name,
|
5763
6016
|
:container_name,
|
5764
6017
|
:container_port)
|
6018
|
+
SENSITIVE = []
|
5765
6019
|
include Aws::Structure
|
5766
6020
|
end
|
5767
6021
|
|
@@ -5889,6 +6143,7 @@ module Aws::ECS
|
|
5889
6143
|
:log_driver,
|
5890
6144
|
:options,
|
5891
6145
|
:secret_options)
|
6146
|
+
SENSITIVE = []
|
5892
6147
|
include Aws::Structure
|
5893
6148
|
end
|
5894
6149
|
|
@@ -5949,6 +6204,7 @@ module Aws::ECS
|
|
5949
6204
|
:target_capacity,
|
5950
6205
|
:minimum_scaling_step_size,
|
5951
6206
|
:maximum_scaling_step_size)
|
6207
|
+
SENSITIVE = []
|
5952
6208
|
include Aws::Structure
|
5953
6209
|
end
|
5954
6210
|
|
@@ -5995,6 +6251,7 @@ module Aws::ECS
|
|
5995
6251
|
:source_volume,
|
5996
6252
|
:container_path,
|
5997
6253
|
:read_only)
|
6254
|
+
SENSITIVE = []
|
5998
6255
|
include Aws::Structure
|
5999
6256
|
end
|
6000
6257
|
|
@@ -6038,6 +6295,7 @@ module Aws::ECS
|
|
6038
6295
|
:container_port,
|
6039
6296
|
:host_port,
|
6040
6297
|
:protocol)
|
6298
|
+
SENSITIVE = []
|
6041
6299
|
include Aws::Structure
|
6042
6300
|
end
|
6043
6301
|
|
@@ -6067,6 +6325,7 @@ module Aws::ECS
|
|
6067
6325
|
#
|
6068
6326
|
class NetworkConfiguration < Struct.new(
|
6069
6327
|
:awsvpc_configuration)
|
6328
|
+
SENSITIVE = []
|
6070
6329
|
include Aws::Structure
|
6071
6330
|
end
|
6072
6331
|
|
@@ -6091,6 +6350,7 @@ module Aws::ECS
|
|
6091
6350
|
:attachment_id,
|
6092
6351
|
:private_ipv_4_address,
|
6093
6352
|
:ipv6_address)
|
6353
|
+
SENSITIVE = []
|
6094
6354
|
include Aws::Structure
|
6095
6355
|
end
|
6096
6356
|
|
@@ -6147,6 +6407,7 @@ module Aws::ECS
|
|
6147
6407
|
class PlacementConstraint < Struct.new(
|
6148
6408
|
:type,
|
6149
6409
|
:expression)
|
6410
|
+
SENSITIVE = []
|
6150
6411
|
include Aws::Structure
|
6151
6412
|
end
|
6152
6413
|
|
@@ -6193,6 +6454,7 @@ module Aws::ECS
|
|
6193
6454
|
class PlacementStrategy < Struct.new(
|
6194
6455
|
:type,
|
6195
6456
|
:field)
|
6457
|
+
SENSITIVE = []
|
6196
6458
|
include Aws::Structure
|
6197
6459
|
end
|
6198
6460
|
|
@@ -6223,6 +6485,7 @@ module Aws::ECS
|
|
6223
6485
|
class PlatformDevice < Struct.new(
|
6224
6486
|
:id,
|
6225
6487
|
:type)
|
6488
|
+
SENSITIVE = []
|
6226
6489
|
include Aws::Structure
|
6227
6490
|
end
|
6228
6491
|
|
@@ -6331,6 +6594,7 @@ module Aws::ECS
|
|
6331
6594
|
:container_port,
|
6332
6595
|
:host_port,
|
6333
6596
|
:protocol)
|
6597
|
+
SENSITIVE = []
|
6334
6598
|
include Aws::Structure
|
6335
6599
|
end
|
6336
6600
|
|
@@ -6413,6 +6677,7 @@ module Aws::ECS
|
|
6413
6677
|
:type,
|
6414
6678
|
:container_name,
|
6415
6679
|
:properties)
|
6680
|
+
SENSITIVE = []
|
6416
6681
|
include Aws::Structure
|
6417
6682
|
end
|
6418
6683
|
|
@@ -6447,6 +6712,7 @@ module Aws::ECS
|
|
6447
6712
|
class PutAccountSettingDefaultRequest < Struct.new(
|
6448
6713
|
:name,
|
6449
6714
|
:value)
|
6715
|
+
SENSITIVE = []
|
6450
6716
|
include Aws::Structure
|
6451
6717
|
end
|
6452
6718
|
|
@@ -6458,6 +6724,7 @@ module Aws::ECS
|
|
6458
6724
|
#
|
6459
6725
|
class PutAccountSettingDefaultResponse < Struct.new(
|
6460
6726
|
:setting)
|
6727
|
+
SENSITIVE = []
|
6461
6728
|
include Aws::Structure
|
6462
6729
|
end
|
6463
6730
|
|
@@ -6503,6 +6770,7 @@ module Aws::ECS
|
|
6503
6770
|
:name,
|
6504
6771
|
:value,
|
6505
6772
|
:principal_arn)
|
6773
|
+
SENSITIVE = []
|
6506
6774
|
include Aws::Structure
|
6507
6775
|
end
|
6508
6776
|
|
@@ -6514,6 +6782,7 @@ module Aws::ECS
|
|
6514
6782
|
#
|
6515
6783
|
class PutAccountSettingResponse < Struct.new(
|
6516
6784
|
:setting)
|
6785
|
+
SENSITIVE = []
|
6517
6786
|
include Aws::Structure
|
6518
6787
|
end
|
6519
6788
|
|
@@ -6549,6 +6818,7 @@ module Aws::ECS
|
|
6549
6818
|
class PutAttributesRequest < Struct.new(
|
6550
6819
|
:cluster,
|
6551
6820
|
:attributes)
|
6821
|
+
SENSITIVE = []
|
6552
6822
|
include Aws::Structure
|
6553
6823
|
end
|
6554
6824
|
|
@@ -6560,6 +6830,7 @@ module Aws::ECS
|
|
6560
6830
|
#
|
6561
6831
|
class PutAttributesResponse < Struct.new(
|
6562
6832
|
:attributes)
|
6833
|
+
SENSITIVE = []
|
6563
6834
|
include Aws::Structure
|
6564
6835
|
end
|
6565
6836
|
|
@@ -6630,6 +6901,7 @@ module Aws::ECS
|
|
6630
6901
|
:cluster,
|
6631
6902
|
:capacity_providers,
|
6632
6903
|
:default_capacity_provider_strategy)
|
6904
|
+
SENSITIVE = []
|
6633
6905
|
include Aws::Structure
|
6634
6906
|
end
|
6635
6907
|
|
@@ -6645,6 +6917,7 @@ module Aws::ECS
|
|
6645
6917
|
#
|
6646
6918
|
class PutClusterCapacityProvidersResponse < Struct.new(
|
6647
6919
|
:cluster)
|
6920
|
+
SENSITIVE = []
|
6648
6921
|
include Aws::Structure
|
6649
6922
|
end
|
6650
6923
|
|
@@ -6779,6 +7052,7 @@ module Aws::ECS
|
|
6779
7052
|
:attributes,
|
6780
7053
|
:platform_devices,
|
6781
7054
|
:tags)
|
7055
|
+
SENSITIVE = []
|
6782
7056
|
include Aws::Structure
|
6783
7057
|
end
|
6784
7058
|
|
@@ -6790,6 +7064,7 @@ module Aws::ECS
|
|
6790
7064
|
#
|
6791
7065
|
class RegisterContainerInstanceResponse < Struct.new(
|
6792
7066
|
:container_instance)
|
7067
|
+
SENSITIVE = []
|
6793
7068
|
include Aws::Structure
|
6794
7069
|
end
|
6795
7070
|
|
@@ -6828,6 +7103,12 @@ module Aws::ECS
|
|
6828
7103
|
# value: "String",
|
6829
7104
|
# },
|
6830
7105
|
# ],
|
7106
|
+
# environment_files: [
|
7107
|
+
# {
|
7108
|
+
# value: "String", # required
|
7109
|
+
# type: "s3", # required, accepts s3
|
7110
|
+
# },
|
7111
|
+
# ],
|
6831
7112
|
# mount_points: [
|
6832
7113
|
# {
|
6833
7114
|
# source_volume: "String",
|
@@ -7029,8 +7310,16 @@ module Aws::ECS
|
|
7029
7310
|
# @return [String]
|
7030
7311
|
#
|
7031
7312
|
# @!attribute [rw] execution_role_arn
|
7032
|
-
# The Amazon Resource Name (ARN) of the task execution role that
|
7033
|
-
# Amazon ECS container agent
|
7313
|
+
# The Amazon Resource Name (ARN) of the task execution role that
|
7314
|
+
# grants the Amazon ECS container agent permission to make AWS API
|
7315
|
+
# calls on your behalf. The task execution IAM role is required
|
7316
|
+
# depending on the requirements of your task. For more information,
|
7317
|
+
# see [Amazon ECS task execution IAM role][1] in the *Amazon Elastic
|
7318
|
+
# Container Service Developer Guide*.
|
7319
|
+
#
|
7320
|
+
#
|
7321
|
+
#
|
7322
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
|
7034
7323
|
# @return [String]
|
7035
7324
|
#
|
7036
7325
|
# @!attribute [rw] network_mode
|
@@ -7319,6 +7608,7 @@ module Aws::ECS
|
|
7319
7608
|
:ipc_mode,
|
7320
7609
|
:proxy_configuration,
|
7321
7610
|
:inference_accelerators)
|
7611
|
+
SENSITIVE = []
|
7322
7612
|
include Aws::Structure
|
7323
7613
|
end
|
7324
7614
|
|
@@ -7335,6 +7625,7 @@ module Aws::ECS
|
|
7335
7625
|
class RegisterTaskDefinitionResponse < Struct.new(
|
7336
7626
|
:task_definition,
|
7337
7627
|
:tags)
|
7628
|
+
SENSITIVE = []
|
7338
7629
|
include Aws::Structure
|
7339
7630
|
end
|
7340
7631
|
|
@@ -7364,6 +7655,7 @@ module Aws::ECS
|
|
7364
7655
|
#
|
7365
7656
|
class RepositoryCredentials < Struct.new(
|
7366
7657
|
:credentials_parameter)
|
7658
|
+
SENSITIVE = []
|
7367
7659
|
include Aws::Structure
|
7368
7660
|
end
|
7369
7661
|
|
@@ -7420,6 +7712,7 @@ module Aws::ECS
|
|
7420
7712
|
:long_value,
|
7421
7713
|
:integer_value,
|
7422
7714
|
:string_set_value)
|
7715
|
+
SENSITIVE = []
|
7423
7716
|
include Aws::Structure
|
7424
7717
|
end
|
7425
7718
|
|
@@ -7478,6 +7771,7 @@ module Aws::ECS
|
|
7478
7771
|
class ResourceRequirement < Struct.new(
|
7479
7772
|
:value,
|
7480
7773
|
:type)
|
7774
|
+
SENSITIVE = []
|
7481
7775
|
include Aws::Structure
|
7482
7776
|
end
|
7483
7777
|
|
@@ -7515,6 +7809,12 @@ module Aws::ECS
|
|
7515
7809
|
# value: "String",
|
7516
7810
|
# },
|
7517
7811
|
# ],
|
7812
|
+
# environment_files: [
|
7813
|
+
# {
|
7814
|
+
# value: "String", # required
|
7815
|
+
# type: "s3", # required, accepts s3
|
7816
|
+
# },
|
7817
|
+
# ],
|
7518
7818
|
# cpu: 1,
|
7519
7819
|
# memory: 1,
|
7520
7820
|
# memory_reservation: 1,
|
@@ -7768,6 +8068,7 @@ module Aws::ECS
|
|
7768
8068
|
:started_by,
|
7769
8069
|
:tags,
|
7770
8070
|
:task_definition)
|
8071
|
+
SENSITIVE = []
|
7771
8072
|
include Aws::Structure
|
7772
8073
|
end
|
7773
8074
|
|
@@ -7785,6 +8086,7 @@ module Aws::ECS
|
|
7785
8086
|
class RunTaskResponse < Struct.new(
|
7786
8087
|
:tasks,
|
7787
8088
|
:failures)
|
8089
|
+
SENSITIVE = []
|
7788
8090
|
include Aws::Structure
|
7789
8091
|
end
|
7790
8092
|
|
@@ -7814,6 +8116,7 @@ module Aws::ECS
|
|
7814
8116
|
class Scale < Struct.new(
|
7815
8117
|
:value,
|
7816
8118
|
:unit)
|
8119
|
+
SENSITIVE = []
|
7817
8120
|
include Aws::Structure
|
7818
8121
|
end
|
7819
8122
|
|
@@ -7863,6 +8166,7 @@ module Aws::ECS
|
|
7863
8166
|
class Secret < Struct.new(
|
7864
8167
|
:name,
|
7865
8168
|
:value_from)
|
8169
|
+
SENSITIVE = []
|
7866
8170
|
include Aws::Structure
|
7867
8171
|
end
|
7868
8172
|
|
@@ -7875,6 +8179,7 @@ module Aws::ECS
|
|
7875
8179
|
#
|
7876
8180
|
class ServerException < Struct.new(
|
7877
8181
|
:message)
|
8182
|
+
SENSITIVE = []
|
7878
8183
|
include Aws::Structure
|
7879
8184
|
end
|
7880
8185
|
|
@@ -8141,6 +8446,7 @@ module Aws::ECS
|
|
8141
8446
|
:created_by,
|
8142
8447
|
:enable_ecs_managed_tags,
|
8143
8448
|
:propagate_tags)
|
8449
|
+
SENSITIVE = []
|
8144
8450
|
include Aws::Structure
|
8145
8451
|
end
|
8146
8452
|
|
@@ -8164,6 +8470,7 @@ module Aws::ECS
|
|
8164
8470
|
:id,
|
8165
8471
|
:created_at,
|
8166
8472
|
:message)
|
8473
|
+
SENSITIVE = []
|
8167
8474
|
include Aws::Structure
|
8168
8475
|
end
|
8169
8476
|
|
@@ -8241,6 +8548,7 @@ module Aws::ECS
|
|
8241
8548
|
:port,
|
8242
8549
|
:container_name,
|
8243
8550
|
:container_port)
|
8551
|
+
SENSITIVE = []
|
8244
8552
|
include Aws::Structure
|
8245
8553
|
end
|
8246
8554
|
|
@@ -8267,6 +8575,7 @@ module Aws::ECS
|
|
8267
8575
|
:name,
|
8268
8576
|
:value,
|
8269
8577
|
:principal_arn)
|
8578
|
+
SENSITIVE = []
|
8270
8579
|
include Aws::Structure
|
8271
8580
|
end
|
8272
8581
|
|
@@ -8296,6 +8605,12 @@ module Aws::ECS
|
|
8296
8605
|
# value: "String",
|
8297
8606
|
# },
|
8298
8607
|
# ],
|
8608
|
+
# environment_files: [
|
8609
|
+
# {
|
8610
|
+
# value: "String", # required
|
8611
|
+
# type: "s3", # required, accepts s3
|
8612
|
+
# },
|
8613
|
+
# ],
|
8299
8614
|
# cpu: 1,
|
8300
8615
|
# memory: 1,
|
8301
8616
|
# memory_reservation: 1,
|
@@ -8454,6 +8769,7 @@ module Aws::ECS
|
|
8454
8769
|
:started_by,
|
8455
8770
|
:tags,
|
8456
8771
|
:task_definition)
|
8772
|
+
SENSITIVE = []
|
8457
8773
|
include Aws::Structure
|
8458
8774
|
end
|
8459
8775
|
|
@@ -8471,6 +8787,7 @@ module Aws::ECS
|
|
8471
8787
|
class StartTaskResponse < Struct.new(
|
8472
8788
|
:tasks,
|
8473
8789
|
:failures)
|
8790
|
+
SENSITIVE = []
|
8474
8791
|
include Aws::Structure
|
8475
8792
|
end
|
8476
8793
|
|
@@ -8507,6 +8824,7 @@ module Aws::ECS
|
|
8507
8824
|
:cluster,
|
8508
8825
|
:task,
|
8509
8826
|
:reason)
|
8827
|
+
SENSITIVE = []
|
8510
8828
|
include Aws::Structure
|
8511
8829
|
end
|
8512
8830
|
|
@@ -8518,6 +8836,7 @@ module Aws::ECS
|
|
8518
8836
|
#
|
8519
8837
|
class StopTaskResponse < Struct.new(
|
8520
8838
|
:task)
|
8839
|
+
SENSITIVE = []
|
8521
8840
|
include Aws::Structure
|
8522
8841
|
end
|
8523
8842
|
|
@@ -8548,6 +8867,7 @@ module Aws::ECS
|
|
8548
8867
|
class SubmitAttachmentStateChangesRequest < Struct.new(
|
8549
8868
|
:cluster,
|
8550
8869
|
:attachments)
|
8870
|
+
SENSITIVE = []
|
8551
8871
|
include Aws::Structure
|
8552
8872
|
end
|
8553
8873
|
|
@@ -8559,6 +8879,7 @@ module Aws::ECS
|
|
8559
8879
|
#
|
8560
8880
|
class SubmitAttachmentStateChangesResponse < Struct.new(
|
8561
8881
|
:acknowledgment)
|
8882
|
+
SENSITIVE = []
|
8562
8883
|
include Aws::Structure
|
8563
8884
|
end
|
8564
8885
|
|
@@ -8627,6 +8948,7 @@ module Aws::ECS
|
|
8627
8948
|
:exit_code,
|
8628
8949
|
:reason,
|
8629
8950
|
:network_bindings)
|
8951
|
+
SENSITIVE = []
|
8630
8952
|
include Aws::Structure
|
8631
8953
|
end
|
8632
8954
|
|
@@ -8638,6 +8960,7 @@ module Aws::ECS
|
|
8638
8960
|
#
|
8639
8961
|
class SubmitContainerStateChangeResponse < Struct.new(
|
8640
8962
|
:acknowledgment)
|
8963
|
+
SENSITIVE = []
|
8641
8964
|
include Aws::Structure
|
8642
8965
|
end
|
8643
8966
|
|
@@ -8727,6 +9050,7 @@ module Aws::ECS
|
|
8727
9050
|
:pull_started_at,
|
8728
9051
|
:pull_stopped_at,
|
8729
9052
|
:execution_stopped_at)
|
9053
|
+
SENSITIVE = []
|
8730
9054
|
include Aws::Structure
|
8731
9055
|
end
|
8732
9056
|
|
@@ -8738,6 +9062,7 @@ module Aws::ECS
|
|
8738
9062
|
#
|
8739
9063
|
class SubmitTaskStateChangeResponse < Struct.new(
|
8740
9064
|
:acknowledgment)
|
9065
|
+
SENSITIVE = []
|
8741
9066
|
include Aws::Structure
|
8742
9067
|
end
|
8743
9068
|
|
@@ -8790,6 +9115,7 @@ module Aws::ECS
|
|
8790
9115
|
class SystemControl < Struct.new(
|
8791
9116
|
:namespace,
|
8792
9117
|
:value)
|
9118
|
+
SENSITIVE = []
|
8793
9119
|
include Aws::Structure
|
8794
9120
|
end
|
8795
9121
|
|
@@ -8846,6 +9172,7 @@ module Aws::ECS
|
|
8846
9172
|
class Tag < Struct.new(
|
8847
9173
|
:key,
|
8848
9174
|
:value)
|
9175
|
+
SENSITIVE = []
|
8849
9176
|
include Aws::Structure
|
8850
9177
|
end
|
8851
9178
|
|
@@ -8904,6 +9231,7 @@ module Aws::ECS
|
|
8904
9231
|
class TagResourceRequest < Struct.new(
|
8905
9232
|
:resource_arn,
|
8906
9233
|
:tags)
|
9234
|
+
SENSITIVE = []
|
8907
9235
|
include Aws::Structure
|
8908
9236
|
end
|
8909
9237
|
|
@@ -9224,6 +9552,7 @@ module Aws::ECS
|
|
9224
9552
|
:task_arn,
|
9225
9553
|
:task_definition_arn,
|
9226
9554
|
:version)
|
9555
|
+
SENSITIVE = []
|
9227
9556
|
include Aws::Structure
|
9228
9557
|
end
|
9229
9558
|
|
@@ -9282,8 +9611,15 @@ module Aws::ECS
|
|
9282
9611
|
#
|
9283
9612
|
# @!attribute [rw] execution_role_arn
|
9284
9613
|
# The Amazon Resource Name (ARN) of the task execution role that
|
9285
|
-
#
|
9286
|
-
#
|
9614
|
+
# grants the Amazon ECS container agent permission to make AWS API
|
9615
|
+
# calls on your behalf. The task execution IAM role is required
|
9616
|
+
# depending on the requirements of your task. For more information,
|
9617
|
+
# see [Amazon ECS task execution IAM role][1] in the *Amazon Elastic
|
9618
|
+
# Container Service Developer Guide*.
|
9619
|
+
#
|
9620
|
+
#
|
9621
|
+
#
|
9622
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
|
9287
9623
|
# @return [String]
|
9288
9624
|
#
|
9289
9625
|
# @!attribute [rw] network_mode
|
@@ -9551,6 +9887,7 @@ module Aws::ECS
|
|
9551
9887
|
:pid_mode,
|
9552
9888
|
:ipc_mode,
|
9553
9889
|
:proxy_configuration)
|
9890
|
+
SENSITIVE = []
|
9554
9891
|
include Aws::Structure
|
9555
9892
|
end
|
9556
9893
|
|
@@ -9595,6 +9932,7 @@ module Aws::ECS
|
|
9595
9932
|
class TaskDefinitionPlacementConstraint < Struct.new(
|
9596
9933
|
:type,
|
9597
9934
|
:expression)
|
9935
|
+
SENSITIVE = []
|
9598
9936
|
include Aws::Structure
|
9599
9937
|
end
|
9600
9938
|
|
@@ -9614,6 +9952,12 @@ module Aws::ECS
|
|
9614
9952
|
# value: "String",
|
9615
9953
|
# },
|
9616
9954
|
# ],
|
9955
|
+
# environment_files: [
|
9956
|
+
# {
|
9957
|
+
# value: "String", # required
|
9958
|
+
# type: "s3", # required, accepts s3
|
9959
|
+
# },
|
9960
|
+
# ],
|
9617
9961
|
# cpu: 1,
|
9618
9962
|
# memory: 1,
|
9619
9963
|
# memory_reservation: 1,
|
@@ -9650,8 +9994,8 @@ module Aws::ECS
|
|
9650
9994
|
# @return [Array<Types::InferenceAcceleratorOverride>]
|
9651
9995
|
#
|
9652
9996
|
# @!attribute [rw] execution_role_arn
|
9653
|
-
# The Amazon Resource Name (ARN) of the task execution role
|
9654
|
-
#
|
9997
|
+
# The Amazon Resource Name (ARN) of the task execution IAM role
|
9998
|
+
# override for the task.
|
9655
9999
|
# @return [String]
|
9656
10000
|
#
|
9657
10001
|
# @!attribute [rw] memory
|
@@ -9673,6 +10017,7 @@ module Aws::ECS
|
|
9673
10017
|
:execution_role_arn,
|
9674
10018
|
:memory,
|
9675
10019
|
:task_role_arn)
|
10020
|
+
SENSITIVE = []
|
9676
10021
|
include Aws::Structure
|
9677
10022
|
end
|
9678
10023
|
|
@@ -9899,6 +10244,7 @@ module Aws::ECS
|
|
9899
10244
|
:stability_status,
|
9900
10245
|
:stability_status_at,
|
9901
10246
|
:tags)
|
10247
|
+
SENSITIVE = []
|
9902
10248
|
include Aws::Structure
|
9903
10249
|
end
|
9904
10250
|
|
@@ -9947,6 +10293,7 @@ module Aws::ECS
|
|
9947
10293
|
:container_path,
|
9948
10294
|
:size,
|
9949
10295
|
:mount_options)
|
10296
|
+
SENSITIVE = []
|
9950
10297
|
include Aws::Structure
|
9951
10298
|
end
|
9952
10299
|
|
@@ -9979,6 +10326,7 @@ module Aws::ECS
|
|
9979
10326
|
:name,
|
9980
10327
|
:soft_limit,
|
9981
10328
|
:hard_limit)
|
10329
|
+
SENSITIVE = []
|
9982
10330
|
include Aws::Structure
|
9983
10331
|
end
|
9984
10332
|
|
@@ -10012,6 +10360,7 @@ module Aws::ECS
|
|
10012
10360
|
class UntagResourceRequest < Struct.new(
|
10013
10361
|
:resource_arn,
|
10014
10362
|
:tag_keys)
|
10363
|
+
SENSITIVE = []
|
10015
10364
|
include Aws::Structure
|
10016
10365
|
end
|
10017
10366
|
|
@@ -10048,6 +10397,7 @@ module Aws::ECS
|
|
10048
10397
|
class UpdateClusterSettingsRequest < Struct.new(
|
10049
10398
|
:cluster,
|
10050
10399
|
:settings)
|
10400
|
+
SENSITIVE = []
|
10051
10401
|
include Aws::Structure
|
10052
10402
|
end
|
10053
10403
|
|
@@ -10063,6 +10413,7 @@ module Aws::ECS
|
|
10063
10413
|
#
|
10064
10414
|
class UpdateClusterSettingsResponse < Struct.new(
|
10065
10415
|
:cluster)
|
10416
|
+
SENSITIVE = []
|
10066
10417
|
include Aws::Structure
|
10067
10418
|
end
|
10068
10419
|
|
@@ -10091,6 +10442,7 @@ module Aws::ECS
|
|
10091
10442
|
class UpdateContainerAgentRequest < Struct.new(
|
10092
10443
|
:cluster,
|
10093
10444
|
:container_instance)
|
10445
|
+
SENSITIVE = []
|
10094
10446
|
include Aws::Structure
|
10095
10447
|
end
|
10096
10448
|
|
@@ -10102,6 +10454,7 @@ module Aws::ECS
|
|
10102
10454
|
#
|
10103
10455
|
class UpdateContainerAgentResponse < Struct.new(
|
10104
10456
|
:container_instance)
|
10457
|
+
SENSITIVE = []
|
10105
10458
|
include Aws::Structure
|
10106
10459
|
end
|
10107
10460
|
|
@@ -10140,6 +10493,7 @@ module Aws::ECS
|
|
10140
10493
|
:cluster,
|
10141
10494
|
:container_instances,
|
10142
10495
|
:status)
|
10496
|
+
SENSITIVE = []
|
10143
10497
|
include Aws::Structure
|
10144
10498
|
end
|
10145
10499
|
|
@@ -10156,6 +10510,7 @@ module Aws::ECS
|
|
10156
10510
|
class UpdateContainerInstancesStateResponse < Struct.new(
|
10157
10511
|
:container_instances,
|
10158
10512
|
:failures)
|
10513
|
+
SENSITIVE = []
|
10159
10514
|
include Aws::Structure
|
10160
10515
|
end
|
10161
10516
|
|
@@ -10200,6 +10555,7 @@ module Aws::ECS
|
|
10200
10555
|
:cluster,
|
10201
10556
|
:service,
|
10202
10557
|
:primary_task_set)
|
10558
|
+
SENSITIVE = []
|
10203
10559
|
include Aws::Structure
|
10204
10560
|
end
|
10205
10561
|
|
@@ -10214,6 +10570,7 @@ module Aws::ECS
|
|
10214
10570
|
#
|
10215
10571
|
class UpdateServicePrimaryTaskSetResponse < Struct.new(
|
10216
10572
|
:task_set)
|
10573
|
+
SENSITIVE = []
|
10217
10574
|
include Aws::Structure
|
10218
10575
|
end
|
10219
10576
|
|
@@ -10401,6 +10758,7 @@ module Aws::ECS
|
|
10401
10758
|
:platform_version,
|
10402
10759
|
:force_new_deployment,
|
10403
10760
|
:health_check_grace_period_seconds)
|
10761
|
+
SENSITIVE = []
|
10404
10762
|
include Aws::Structure
|
10405
10763
|
end
|
10406
10764
|
|
@@ -10412,6 +10770,7 @@ module Aws::ECS
|
|
10412
10770
|
#
|
10413
10771
|
class UpdateServiceResponse < Struct.new(
|
10414
10772
|
:service)
|
10773
|
+
SENSITIVE = []
|
10415
10774
|
include Aws::Structure
|
10416
10775
|
end
|
10417
10776
|
|
@@ -10455,6 +10814,7 @@ module Aws::ECS
|
|
10455
10814
|
:service,
|
10456
10815
|
:task_set,
|
10457
10816
|
:scale)
|
10817
|
+
SENSITIVE = []
|
10458
10818
|
include Aws::Structure
|
10459
10819
|
end
|
10460
10820
|
|
@@ -10469,6 +10829,7 @@ module Aws::ECS
|
|
10469
10829
|
#
|
10470
10830
|
class UpdateTaskSetResponse < Struct.new(
|
10471
10831
|
:task_set)
|
10832
|
+
SENSITIVE = []
|
10472
10833
|
include Aws::Structure
|
10473
10834
|
end
|
10474
10835
|
|
@@ -10507,13 +10868,16 @@ module Aws::ECS
|
|
10507
10868
|
:agent_version,
|
10508
10869
|
:agent_hash,
|
10509
10870
|
:docker_version)
|
10871
|
+
SENSITIVE = []
|
10510
10872
|
include Aws::Structure
|
10511
10873
|
end
|
10512
10874
|
|
10513
|
-
# A data volume used in a task definition. For tasks that use
|
10514
|
-
#
|
10515
|
-
#
|
10516
|
-
# For
|
10875
|
+
# A data volume used in a task definition. For tasks that use Amazon
|
10876
|
+
# Elastic File System (Amazon EFS) file storage, specify an
|
10877
|
+
# `efsVolumeConfiguration`. For tasks that use a Docker volume, specify
|
10878
|
+
# a `DockerVolumeConfiguration`. For tasks that use a bind mount host
|
10879
|
+
# volume, specify a `host` and optional `sourcePath`. For more
|
10880
|
+
# information, see [Using Data Volumes in Tasks][1].
|
10517
10881
|
#
|
10518
10882
|
#
|
10519
10883
|
#
|
@@ -10558,13 +10922,12 @@ module Aws::ECS
|
|
10558
10922
|
#
|
10559
10923
|
# @!attribute [rw] host
|
10560
10924
|
# This parameter is specified when you are using bind mount host
|
10561
|
-
# volumes.
|
10562
|
-
#
|
10563
|
-
#
|
10564
|
-
#
|
10565
|
-
#
|
10566
|
-
#
|
10567
|
-
# after the containers associated with it stop running.
|
10925
|
+
# volumes. The contents of the `host` parameter determine whether your
|
10926
|
+
# bind mount host volume persists on the host container instance and
|
10927
|
+
# where it is stored. If the `host` parameter is empty, then the
|
10928
|
+
# Docker daemon assigns a host path for your data volume. However, the
|
10929
|
+
# data is not guaranteed to persist after the containers associated
|
10930
|
+
# with it stop running.
|
10568
10931
|
#
|
10569
10932
|
# Windows containers can mount whole directories on the same drive as
|
10570
10933
|
# `$env:ProgramData`. Windows containers cannot mount directories on a
|
@@ -10582,18 +10945,7 @@ module Aws::ECS
|
|
10582
10945
|
#
|
10583
10946
|
# @!attribute [rw] efs_volume_configuration
|
10584
10947
|
# This parameter is specified when you are using an Amazon Elastic
|
10585
|
-
# File System
|
10586
|
-
# only supported when you are using the EC2 launch type.
|
10587
|
-
#
|
10588
|
-
# `EFSVolumeConfiguration` remains in preview and is a Beta Service as
|
10589
|
-
# defined by and subject to the Beta Service Participation Service
|
10590
|
-
# Terms located at [https://aws.amazon.com/service-terms][1] ("Beta
|
10591
|
-
# Terms"). These Beta Terms apply to your participation in this
|
10592
|
-
# preview of `EFSVolumeConfiguration`.
|
10593
|
-
#
|
10594
|
-
#
|
10595
|
-
#
|
10596
|
-
# [1]: https://aws.amazon.com/service-terms
|
10948
|
+
# File System file system for task storage.
|
10597
10949
|
# @return [Types::EFSVolumeConfiguration]
|
10598
10950
|
#
|
10599
10951
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Volume AWS API Documentation
|
@@ -10603,6 +10955,7 @@ module Aws::ECS
|
|
10603
10955
|
:host,
|
10604
10956
|
:docker_volume_configuration,
|
10605
10957
|
:efs_volume_configuration)
|
10958
|
+
SENSITIVE = []
|
10606
10959
|
include Aws::Structure
|
10607
10960
|
end
|
10608
10961
|
|
@@ -10633,6 +10986,7 @@ module Aws::ECS
|
|
10633
10986
|
class VolumeFrom < Struct.new(
|
10634
10987
|
:source_container,
|
10635
10988
|
:read_only)
|
10989
|
+
SENSITIVE = []
|
10636
10990
|
include Aws::Structure
|
10637
10991
|
end
|
10638
10992
|
|