aws-sdk-ecs 1.70.0 → 1.75.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +460 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ecs.rb +2 -2
- data/lib/aws-sdk-ecs/client.rb +157 -35
- data/lib/aws-sdk-ecs/client_api.rb +53 -1
- data/lib/aws-sdk-ecs/errors.rb +1 -1
- data/lib/aws-sdk-ecs/resource.rb +1 -1
- data/lib/aws-sdk-ecs/types.rb +592 -185
- data/lib/aws-sdk-ecs/waiters.rb +1 -1
- metadata +8 -5
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.75.0
|
data/lib/aws-sdk-ecs.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ecs/customizations'
|
|
49
49
|
# @!group service
|
50
50
|
module Aws::ECS
|
51
51
|
|
52
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.75.0'
|
53
53
|
|
54
54
|
end
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -400,6 +400,7 @@ module Aws::ECS
|
|
400
400
|
# target_capacity: 1,
|
401
401
|
# minimum_scaling_step_size: 1,
|
402
402
|
# maximum_scaling_step_size: 1,
|
403
|
+
# instance_warmup_period: 1,
|
403
404
|
# },
|
404
405
|
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
405
406
|
# },
|
@@ -421,8 +422,9 @@ module Aws::ECS
|
|
421
422
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
422
423
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
|
423
424
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
425
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
424
426
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
425
|
-
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
|
427
|
+
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
426
428
|
# resp.capacity_provider.update_status_reason #=> String
|
427
429
|
# resp.capacity_provider.tags #=> Array
|
428
430
|
# resp.capacity_provider.tags[0].key #=> String
|
@@ -775,8 +777,8 @@ module Aws::ECS
|
|
775
777
|
# task definition to run in your service. If a `revision` is not
|
776
778
|
# specified, the latest `ACTIVE` revision is used.
|
777
779
|
#
|
778
|
-
# A task definition must be specified if the service is using the
|
779
|
-
# deployment
|
780
|
+
# A task definition must be specified if the service is using either the
|
781
|
+
# `ECS` or `CODE_DEPLOY` deployment controllers.
|
780
782
|
#
|
781
783
|
# @option params [Array<Types::LoadBalancer>] :load_balancers
|
782
784
|
# A load balancer object representing the load balancers to use with
|
@@ -785,11 +787,11 @@ module Aws::ECS
|
|
785
787
|
#
|
786
788
|
# If the service is using the rolling update (`ECS`) deployment
|
787
789
|
# controller and using either an Application Load Balancer or Network
|
788
|
-
# Load Balancer, you
|
789
|
-
# service. The service-linked role is required for
|
790
|
-
# use of multiple target groups. For more
|
791
|
-
# Service-Linked Roles for Amazon ECS][2] in the
|
792
|
-
# Container Service Developer Guide*.
|
790
|
+
# Load Balancer, you must specify one or more target group ARNs to
|
791
|
+
# attach to the service. The service-linked role is required for
|
792
|
+
# services that make use of multiple target groups. For more
|
793
|
+
# information, see [Using Service-Linked Roles for Amazon ECS][2] in the
|
794
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
793
795
|
#
|
794
796
|
# If the service is using the `CODE_DEPLOY` deployment controller, the
|
795
797
|
# service is required to use either an Application Load Balancer or
|
@@ -812,15 +814,17 @@ module Aws::ECS
|
|
812
814
|
# For Application Load Balancers and Network Load Balancers, this object
|
813
815
|
# must contain the load balancer target group ARN, the container name
|
814
816
|
# (as it appears in a container definition), and the container port to
|
815
|
-
# access from the load balancer.
|
816
|
-
#
|
817
|
-
#
|
817
|
+
# access from the load balancer. The load balancer name parameter must
|
818
|
+
# be omitted. When a task from this service is placed on a container
|
819
|
+
# instance, the container instance and port combination is registered as
|
820
|
+
# a target in the target group specified here.
|
818
821
|
#
|
819
822
|
# For Classic Load Balancers, this object must contain the load balancer
|
820
823
|
# name, the container name (as it appears in a container definition),
|
821
|
-
# and the container port to access from the load balancer.
|
822
|
-
#
|
823
|
-
#
|
824
|
+
# and the container port to access from the load balancer. The target
|
825
|
+
# group ARN parameter must be omitted. When a task from this service is
|
826
|
+
# placed on a container instance, the container instance is registered
|
827
|
+
# with the load balancer specified here.
|
824
828
|
#
|
825
829
|
# Services with tasks that use the `awsvpc` network mode (for example,
|
826
830
|
# those with the Fargate launch type) only support Application Load
|
@@ -1224,6 +1228,10 @@ module Aws::ECS
|
|
1224
1228
|
# platform_version: "String",
|
1225
1229
|
# role: "String",
|
1226
1230
|
# deployment_configuration: {
|
1231
|
+
# deployment_circuit_breaker: {
|
1232
|
+
# enable: false, # required
|
1233
|
+
# rollback: false, # required
|
1234
|
+
# },
|
1227
1235
|
# maximum_percent: 1,
|
1228
1236
|
# minimum_healthy_percent: 1,
|
1229
1237
|
# },
|
@@ -1287,6 +1295,8 @@ module Aws::ECS
|
|
1287
1295
|
# resp.service.capacity_provider_strategy[0].base #=> Integer
|
1288
1296
|
# resp.service.platform_version #=> String
|
1289
1297
|
# resp.service.task_definition #=> String
|
1298
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
1299
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
1290
1300
|
# resp.service.deployment_configuration.maximum_percent #=> Integer
|
1291
1301
|
# resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
|
1292
1302
|
# resp.service.task_sets #=> Array
|
@@ -1338,6 +1348,7 @@ module Aws::ECS
|
|
1338
1348
|
# resp.service.deployments[0].desired_count #=> Integer
|
1339
1349
|
# resp.service.deployments[0].pending_count #=> Integer
|
1340
1350
|
# resp.service.deployments[0].running_count #=> Integer
|
1351
|
+
# resp.service.deployments[0].failed_tasks #=> Integer
|
1341
1352
|
# resp.service.deployments[0].created_at #=> Time
|
1342
1353
|
# resp.service.deployments[0].updated_at #=> Time
|
1343
1354
|
# resp.service.deployments[0].capacity_provider_strategy #=> Array
|
@@ -1351,6 +1362,8 @@ module Aws::ECS
|
|
1351
1362
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
1352
1363
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
|
1353
1364
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
1365
|
+
# resp.service.deployments[0].rollout_state #=> String, one of "COMPLETED", "FAILED", "IN_PROGRESS"
|
1366
|
+
# resp.service.deployments[0].rollout_state_reason #=> String
|
1354
1367
|
# resp.service.role_arn #=> String
|
1355
1368
|
# resp.service.events #=> Array
|
1356
1369
|
# resp.service.events[0].id #=> String
|
@@ -1800,8 +1813,9 @@ module Aws::ECS
|
|
1800
1813
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
1801
1814
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
|
1802
1815
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
1816
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
1803
1817
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
1804
|
-
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
|
1818
|
+
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
1805
1819
|
# resp.capacity_provider.update_status_reason #=> String
|
1806
1820
|
# resp.capacity_provider.tags #=> Array
|
1807
1821
|
# resp.capacity_provider.tags[0].key #=> String
|
@@ -1993,6 +2007,8 @@ module Aws::ECS
|
|
1993
2007
|
# resp.service.capacity_provider_strategy[0].base #=> Integer
|
1994
2008
|
# resp.service.platform_version #=> String
|
1995
2009
|
# resp.service.task_definition #=> String
|
2010
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
2011
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
1996
2012
|
# resp.service.deployment_configuration.maximum_percent #=> Integer
|
1997
2013
|
# resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
|
1998
2014
|
# resp.service.task_sets #=> Array
|
@@ -2044,6 +2060,7 @@ module Aws::ECS
|
|
2044
2060
|
# resp.service.deployments[0].desired_count #=> Integer
|
2045
2061
|
# resp.service.deployments[0].pending_count #=> Integer
|
2046
2062
|
# resp.service.deployments[0].running_count #=> Integer
|
2063
|
+
# resp.service.deployments[0].failed_tasks #=> Integer
|
2047
2064
|
# resp.service.deployments[0].created_at #=> Time
|
2048
2065
|
# resp.service.deployments[0].updated_at #=> Time
|
2049
2066
|
# resp.service.deployments[0].capacity_provider_strategy #=> Array
|
@@ -2057,6 +2074,8 @@ module Aws::ECS
|
|
2057
2074
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
2058
2075
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
|
2059
2076
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
2077
|
+
# resp.service.deployments[0].rollout_state #=> String, one of "COMPLETED", "FAILED", "IN_PROGRESS"
|
2078
|
+
# resp.service.deployments[0].rollout_state_reason #=> String
|
2060
2079
|
# resp.service.role_arn #=> String
|
2061
2080
|
# resp.service.events #=> Array
|
2062
2081
|
# resp.service.events[0].id #=> String
|
@@ -2477,6 +2496,10 @@ module Aws::ECS
|
|
2477
2496
|
# resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
2478
2497
|
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
2479
2498
|
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
2499
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
|
2500
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
2501
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
2502
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
2480
2503
|
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
|
2481
2504
|
# resp.task_definition.requires_attributes #=> Array
|
2482
2505
|
# resp.task_definition.requires_attributes[0].name #=> String
|
@@ -2502,6 +2525,9 @@ module Aws::ECS
|
|
2502
2525
|
# resp.task_definition.proxy_configuration.properties #=> Array
|
2503
2526
|
# resp.task_definition.proxy_configuration.properties[0].name #=> String
|
2504
2527
|
# resp.task_definition.proxy_configuration.properties[0].value #=> String
|
2528
|
+
# resp.task_definition.registered_at #=> Time
|
2529
|
+
# resp.task_definition.deregistered_at #=> Time
|
2530
|
+
# resp.task_definition.registered_by #=> String
|
2505
2531
|
#
|
2506
2532
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition AWS API Documentation
|
2507
2533
|
#
|
@@ -2575,8 +2601,9 @@ module Aws::ECS
|
|
2575
2601
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
2576
2602
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
|
2577
2603
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
2604
|
+
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
2578
2605
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
2579
|
-
# resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
|
2606
|
+
# resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
2580
2607
|
# resp.capacity_providers[0].update_status_reason #=> String
|
2581
2608
|
# resp.capacity_providers[0].tags #=> Array
|
2582
2609
|
# resp.capacity_providers[0].tags[0].key #=> String
|
@@ -3015,6 +3042,8 @@ module Aws::ECS
|
|
3015
3042
|
# resp.services[0].capacity_provider_strategy[0].base #=> Integer
|
3016
3043
|
# resp.services[0].platform_version #=> String
|
3017
3044
|
# resp.services[0].task_definition #=> String
|
3045
|
+
# resp.services[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
3046
|
+
# resp.services[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
3018
3047
|
# resp.services[0].deployment_configuration.maximum_percent #=> Integer
|
3019
3048
|
# resp.services[0].deployment_configuration.minimum_healthy_percent #=> Integer
|
3020
3049
|
# resp.services[0].task_sets #=> Array
|
@@ -3066,6 +3095,7 @@ module Aws::ECS
|
|
3066
3095
|
# resp.services[0].deployments[0].desired_count #=> Integer
|
3067
3096
|
# resp.services[0].deployments[0].pending_count #=> Integer
|
3068
3097
|
# resp.services[0].deployments[0].running_count #=> Integer
|
3098
|
+
# resp.services[0].deployments[0].failed_tasks #=> Integer
|
3069
3099
|
# resp.services[0].deployments[0].created_at #=> Time
|
3070
3100
|
# resp.services[0].deployments[0].updated_at #=> Time
|
3071
3101
|
# resp.services[0].deployments[0].capacity_provider_strategy #=> Array
|
@@ -3079,6 +3109,8 @@ module Aws::ECS
|
|
3079
3109
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
3080
3110
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
|
3081
3111
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
3112
|
+
# resp.services[0].deployments[0].rollout_state #=> String, one of "COMPLETED", "FAILED", "IN_PROGRESS"
|
3113
|
+
# resp.services[0].deployments[0].rollout_state_reason #=> String
|
3082
3114
|
# resp.services[0].role_arn #=> String
|
3083
3115
|
# resp.services[0].events #=> Array
|
3084
3116
|
# resp.services[0].events[0].id #=> String
|
@@ -3345,6 +3377,10 @@ module Aws::ECS
|
|
3345
3377
|
# resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
3346
3378
|
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
3347
3379
|
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
3380
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
|
3381
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
3382
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
3383
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
3348
3384
|
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
|
3349
3385
|
# resp.task_definition.requires_attributes #=> Array
|
3350
3386
|
# resp.task_definition.requires_attributes[0].name #=> String
|
@@ -3370,6 +3406,9 @@ module Aws::ECS
|
|
3370
3406
|
# resp.task_definition.proxy_configuration.properties #=> Array
|
3371
3407
|
# resp.task_definition.proxy_configuration.properties[0].name #=> String
|
3372
3408
|
# resp.task_definition.proxy_configuration.properties[0].value #=> String
|
3409
|
+
# resp.task_definition.registered_at #=> Time
|
3410
|
+
# resp.task_definition.deregistered_at #=> Time
|
3411
|
+
# resp.task_definition.registered_by #=> String
|
3373
3412
|
# resp.tags #=> Array
|
3374
3413
|
# resp.tags[0].key #=> String
|
3375
3414
|
# resp.tags[0].value #=> String
|
@@ -5244,16 +5283,17 @@ module Aws::ECS
|
|
5244
5283
|
#
|
5245
5284
|
# @option params [String] :network_mode
|
5246
5285
|
# The Docker networking mode to use for the containers in the task. The
|
5247
|
-
# valid values are `none`, `bridge`, `awsvpc`, and `host`.
|
5248
|
-
#
|
5249
|
-
#
|
5250
|
-
#
|
5251
|
-
#
|
5252
|
-
#
|
5253
|
-
#
|
5254
|
-
#
|
5255
|
-
#
|
5256
|
-
#
|
5286
|
+
# valid values are `none`, `bridge`, `awsvpc`, and `host`. If no network
|
5287
|
+
# mode is specified, the default is `bridge`.
|
5288
|
+
#
|
5289
|
+
# For Amazon ECS tasks on Fargate, the `awsvpc` network mode is
|
5290
|
+
# required. For Amazon ECS tasks on Amazon EC2 instances, any network
|
5291
|
+
# mode can be used. If the network mode is set to `none`, you cannot
|
5292
|
+
# specify port mappings in your container definitions, and the tasks
|
5293
|
+
# containers do not have external connectivity. The `host` and `awsvpc`
|
5294
|
+
# network modes offer the highest networking performance for containers
|
5295
|
+
# because they use the EC2 network stack instead of the virtualized
|
5296
|
+
# network stack provided by the `bridge` mode.
|
5257
5297
|
#
|
5258
5298
|
# With the `host` and `awsvpc` network modes, exposed container ports
|
5259
5299
|
# are mapped directly to the corresponding host port (for the `host`
|
@@ -5261,6 +5301,10 @@ module Aws::ECS
|
|
5261
5301
|
# `awsvpc` network mode), so you cannot take advantage of dynamic host
|
5262
5302
|
# port mappings.
|
5263
5303
|
#
|
5304
|
+
# When using the `host` network mode, you should not run containers
|
5305
|
+
# using the root user (UID 0). It is considered best practice to use a
|
5306
|
+
# non-root user.
|
5307
|
+
#
|
5264
5308
|
# If the network mode is `awsvpc`, the task is allocated an elastic
|
5265
5309
|
# network interface, and you must specify a NetworkConfiguration value
|
5266
5310
|
# when you create a service or run a task with the task definition. For
|
@@ -5305,8 +5349,10 @@ module Aws::ECS
|
|
5305
5349
|
# constraints in the task definition and those specified at runtime).
|
5306
5350
|
#
|
5307
5351
|
# @option params [Array<String>] :requires_compatibilities
|
5308
|
-
# The launch type
|
5309
|
-
#
|
5352
|
+
# The task launch type that Amazon ECS should validate the task
|
5353
|
+
# definition against. This ensures that the task definition parameters
|
5354
|
+
# are compatible with the specified launch type. If no value is
|
5355
|
+
# specified, it defaults to `EC2`.
|
5310
5356
|
#
|
5311
5357
|
# @option params [String] :cpu
|
5312
5358
|
# The number of CPU units used by the task. It can be expressed as an
|
@@ -5481,11 +5527,7 @@ module Aws::ECS
|
|
5481
5527
|
# your container instances are launched from the Amazon ECS-optimized
|
5482
5528
|
# AMI version `20190301` or later, then they contain the required
|
5483
5529
|
# versions of the container agent and `ecs-init`. For more information,
|
5484
|
-
# see [Amazon ECS-optimized Linux AMI][1]
|
5485
|
-
# Container Service Developer Guide*.
|
5486
|
-
#
|
5487
|
-
# For tasks using the Fargate launch type, the task or service requires
|
5488
|
-
# platform version 1.3.0 or later.
|
5530
|
+
# see [Amazon ECS-optimized Linux AMI][1]
|
5489
5531
|
#
|
5490
5532
|
#
|
5491
5533
|
#
|
@@ -5741,6 +5783,14 @@ module Aws::ECS
|
|
5741
5783
|
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
5742
5784
|
# },
|
5743
5785
|
# },
|
5786
|
+
# fsx_windows_file_server_volume_configuration: {
|
5787
|
+
# file_system_id: "String", # required
|
5788
|
+
# root_directory: "String", # required
|
5789
|
+
# authorization_config: { # required
|
5790
|
+
# credentials_parameter: "String", # required
|
5791
|
+
# domain: "String", # required
|
5792
|
+
# },
|
5793
|
+
# },
|
5744
5794
|
# },
|
5745
5795
|
# ],
|
5746
5796
|
# placement_constraints: [
|
@@ -5903,6 +5953,10 @@ module Aws::ECS
|
|
5903
5953
|
# resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
|
5904
5954
|
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
|
5905
5955
|
# resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
|
5956
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
|
5957
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
5958
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
5959
|
+
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
5906
5960
|
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
|
5907
5961
|
# resp.task_definition.requires_attributes #=> Array
|
5908
5962
|
# resp.task_definition.requires_attributes[0].name #=> String
|
@@ -5928,6 +5982,9 @@ module Aws::ECS
|
|
5928
5982
|
# resp.task_definition.proxy_configuration.properties #=> Array
|
5929
5983
|
# resp.task_definition.proxy_configuration.properties[0].name #=> String
|
5930
5984
|
# resp.task_definition.proxy_configuration.properties[0].value #=> String
|
5985
|
+
# resp.task_definition.registered_at #=> Time
|
5986
|
+
# resp.task_definition.deregistered_at #=> Time
|
5987
|
+
# resp.task_definition.registered_by #=> String
|
5931
5988
|
# resp.tags #=> Array
|
5932
5989
|
# resp.tags[0].key #=> String
|
5933
5990
|
# resp.tags[0].value #=> String
|
@@ -7154,6 +7211,62 @@ module Aws::ECS
|
|
7154
7211
|
req.send_request(options)
|
7155
7212
|
end
|
7156
7213
|
|
7214
|
+
# Modifies the parameters for a capacity provider.
|
7215
|
+
#
|
7216
|
+
# @option params [required, String] :name
|
7217
|
+
# The name of the capacity provider to update.
|
7218
|
+
#
|
7219
|
+
# @option params [required, Types::AutoScalingGroupProviderUpdate] :auto_scaling_group_provider
|
7220
|
+
# An object representing the parameters to update for the Auto Scaling
|
7221
|
+
# group capacity provider.
|
7222
|
+
#
|
7223
|
+
# @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7224
|
+
#
|
7225
|
+
# * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
|
7226
|
+
#
|
7227
|
+
# @example Request syntax with placeholder values
|
7228
|
+
#
|
7229
|
+
# resp = client.update_capacity_provider({
|
7230
|
+
# name: "String", # required
|
7231
|
+
# auto_scaling_group_provider: { # required
|
7232
|
+
# managed_scaling: {
|
7233
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
7234
|
+
# target_capacity: 1,
|
7235
|
+
# minimum_scaling_step_size: 1,
|
7236
|
+
# maximum_scaling_step_size: 1,
|
7237
|
+
# instance_warmup_period: 1,
|
7238
|
+
# },
|
7239
|
+
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
7240
|
+
# },
|
7241
|
+
# })
|
7242
|
+
#
|
7243
|
+
# @example Response structure
|
7244
|
+
#
|
7245
|
+
# resp.capacity_provider.capacity_provider_arn #=> String
|
7246
|
+
# resp.capacity_provider.name #=> String
|
7247
|
+
# resp.capacity_provider.status #=> String, one of "ACTIVE", "INACTIVE"
|
7248
|
+
# resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
7249
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
7250
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
7251
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
|
7252
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
|
7253
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
7254
|
+
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
7255
|
+
# resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
7256
|
+
# resp.capacity_provider.update_status_reason #=> String
|
7257
|
+
# resp.capacity_provider.tags #=> Array
|
7258
|
+
# resp.capacity_provider.tags[0].key #=> String
|
7259
|
+
# resp.capacity_provider.tags[0].value #=> String
|
7260
|
+
#
|
7261
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCapacityProvider AWS API Documentation
|
7262
|
+
#
|
7263
|
+
# @overload update_capacity_provider(params = {})
|
7264
|
+
# @param [Hash] params ({})
|
7265
|
+
def update_capacity_provider(params = {}, options = {})
|
7266
|
+
req = build_request(:update_capacity_provider, params)
|
7267
|
+
req.send_request(options)
|
7268
|
+
end
|
7269
|
+
|
7157
7270
|
# Modifies the settings to use for a cluster.
|
7158
7271
|
#
|
7159
7272
|
# @option params [required, String] :cluster
|
@@ -7740,6 +7853,10 @@ module Aws::ECS
|
|
7740
7853
|
# },
|
7741
7854
|
# ],
|
7742
7855
|
# deployment_configuration: {
|
7856
|
+
# deployment_circuit_breaker: {
|
7857
|
+
# enable: false, # required
|
7858
|
+
# rollback: false, # required
|
7859
|
+
# },
|
7743
7860
|
# maximum_percent: 1,
|
7744
7861
|
# minimum_healthy_percent: 1,
|
7745
7862
|
# },
|
@@ -7793,6 +7910,8 @@ module Aws::ECS
|
|
7793
7910
|
# resp.service.capacity_provider_strategy[0].base #=> Integer
|
7794
7911
|
# resp.service.platform_version #=> String
|
7795
7912
|
# resp.service.task_definition #=> String
|
7913
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
7914
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
7796
7915
|
# resp.service.deployment_configuration.maximum_percent #=> Integer
|
7797
7916
|
# resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
|
7798
7917
|
# resp.service.task_sets #=> Array
|
@@ -7844,6 +7963,7 @@ module Aws::ECS
|
|
7844
7963
|
# resp.service.deployments[0].desired_count #=> Integer
|
7845
7964
|
# resp.service.deployments[0].pending_count #=> Integer
|
7846
7965
|
# resp.service.deployments[0].running_count #=> Integer
|
7966
|
+
# resp.service.deployments[0].failed_tasks #=> Integer
|
7847
7967
|
# resp.service.deployments[0].created_at #=> Time
|
7848
7968
|
# resp.service.deployments[0].updated_at #=> Time
|
7849
7969
|
# resp.service.deployments[0].capacity_provider_strategy #=> Array
|
@@ -7857,6 +7977,8 @@ module Aws::ECS
|
|
7857
7977
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
7858
7978
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
|
7859
7979
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
7980
|
+
# resp.service.deployments[0].rollout_state #=> String, one of "COMPLETED", "FAILED", "IN_PROGRESS"
|
7981
|
+
# resp.service.deployments[0].rollout_state_reason #=> String
|
7860
7982
|
# resp.service.role_arn #=> String
|
7861
7983
|
# resp.service.events #=> Array
|
7862
7984
|
# resp.service.events[0].id #=> String
|
@@ -8088,7 +8210,7 @@ module Aws::ECS
|
|
8088
8210
|
params: params,
|
8089
8211
|
config: config)
|
8090
8212
|
context[:gem_name] = 'aws-sdk-ecs'
|
8091
|
-
context[:gem_version] = '1.
|
8213
|
+
context[:gem_version] = '1.75.0'
|
8092
8214
|
Seahorse::Client::Request.new(handlers, context)
|
8093
8215
|
end
|
8094
8216
|
|