aws-sdk-ecs 1.57.0 → 1.58.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 +7 -4
- data/lib/aws-sdk-ecs/client.rb +61 -10
- data/lib/aws-sdk-ecs/client_api.rb +42 -0
- data/lib/aws-sdk-ecs/errors.rb +253 -0
- data/lib/aws-sdk-ecs/resource.rb +7 -0
- data/lib/aws-sdk-ecs/types.rb +159 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad6aee995ef876c4bb6361f374865a95fa81ba7a
|
4
|
+
data.tar.gz: f4b27a0183294d82f74dbbbf3ebc7403e0ab465b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfe8e6dffe386216d778b687c7d0c80125a779942d45f78f3ad872b351f02bfda773ebf3749ef894b32d5a1132cc3635209c700694f878be26997bceb7d6b359
|
7
|
+
data.tar.gz: f0f1629c32c1f50e9a4bda49d8737e0662775e3f75c92ef98b48f8acd46658c776c71849f8e96f3f9a9e44e5fc12b28d3b8f109810bbf68873549fb204776fc2
|
data/lib/aws-sdk-ecs.rb
CHANGED
@@ -25,17 +25,20 @@ require_relative 'aws-sdk-ecs/customizations'
|
|
25
25
|
# methods each accept a hash of request parameters and return a response
|
26
26
|
# structure.
|
27
27
|
#
|
28
|
+
# ecs = Aws::ECS::Client.new
|
29
|
+
# resp = ecs.create_capacity_provider(params)
|
30
|
+
#
|
28
31
|
# See {Client} for more information.
|
29
32
|
#
|
30
33
|
# # Errors
|
31
34
|
#
|
32
|
-
# Errors returned from Amazon EC2 Container Service
|
33
|
-
# extend {Errors::ServiceError}.
|
35
|
+
# Errors returned from Amazon EC2 Container Service are defined in the
|
36
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
37
|
#
|
35
38
|
# begin
|
36
39
|
# # do stuff
|
37
40
|
# rescue Aws::ECS::Errors::ServiceError
|
38
|
-
# # rescues all
|
41
|
+
# # rescues all Amazon EC2 Container Service API errors
|
39
42
|
# end
|
40
43
|
#
|
41
44
|
# See {Errors} for more information.
|
@@ -43,6 +46,6 @@ require_relative 'aws-sdk-ecs/customizations'
|
|
43
46
|
# @service
|
44
47
|
module Aws::ECS
|
45
48
|
|
46
|
-
GEM_VERSION = '1.
|
49
|
+
GEM_VERSION = '1.58.0'
|
47
50
|
|
48
51
|
end
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:ecs)
|
31
31
|
|
32
32
|
module Aws::ECS
|
33
|
+
# An API client for ECS. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::ECS::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -108,6 +120,12 @@ module Aws::ECS
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::ECS
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -166,15 +188,29 @@ module Aws::ECS
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,26 @@ module Aws::ECS
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
233
|
+
# no retry mode is provided.
|
234
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
235
|
+
# This includes support for retry quotas, which limit the number of
|
236
|
+
# unsuccessful retries a client can make.
|
237
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
238
|
+
# functionality of `standard` mode along with automatic client side
|
239
|
+
# throttling. This is a provisional mode that may change behavior
|
240
|
+
# in the future.
|
190
241
|
#
|
191
242
|
# @option options [String] :secret_access_key
|
192
243
|
#
|
@@ -219,16 +270,16 @@ module Aws::ECS
|
|
219
270
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
271
|
#
|
221
272
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
273
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
274
|
# `Timeout::Error`.
|
224
275
|
#
|
225
276
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
277
|
# number of seconds to wait for response data. This value can
|
227
278
|
# safely be set
|
228
|
-
# per-request on the session
|
279
|
+
# per-request on the session yielded by {#session_for}.
|
229
280
|
#
|
230
281
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
282
|
+
# seconds a connection is allowed to sit idle before it is
|
232
283
|
# considered stale. Stale connections are closed and removed
|
233
284
|
# from the pool before making a request.
|
234
285
|
#
|
@@ -237,7 +288,7 @@ module Aws::ECS
|
|
237
288
|
# request body. This option has no effect unless the request has
|
238
289
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
290
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
291
|
+
# request on the session yielded by {#session_for}.
|
241
292
|
#
|
242
293
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
294
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -7787,7 +7838,7 @@ module Aws::ECS
|
|
7787
7838
|
params: params,
|
7788
7839
|
config: config)
|
7789
7840
|
context[:gem_name] = 'aws-sdk-ecs'
|
7790
|
-
context[:gem_version] = '1.
|
7841
|
+
context[:gem_version] = '1.58.0'
|
7791
7842
|
Seahorse::Client::Request.new(handlers, context)
|
7792
7843
|
end
|
7793
7844
|
|
@@ -319,6 +319,8 @@ module Aws::ECS
|
|
319
319
|
VolumeFromList = Shapes::ListShape.new(name: 'VolumeFromList')
|
320
320
|
VolumeList = Shapes::ListShape.new(name: 'VolumeList')
|
321
321
|
|
322
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
323
|
+
|
322
324
|
Attachment.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
323
325
|
Attachment.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
324
326
|
Attachment.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
@@ -341,6 +343,8 @@ module Aws::ECS
|
|
341
343
|
Attribute.add_member(:target_id, Shapes::ShapeRef.new(shape: String, location_name: "targetId"))
|
342
344
|
Attribute.struct_class = Types::Attribute
|
343
345
|
|
346
|
+
AttributeLimitExceededException.struct_class = Types::AttributeLimitExceededException
|
347
|
+
|
344
348
|
Attributes.member = Shapes::ShapeRef.new(shape: Attribute)
|
345
349
|
|
346
350
|
AutoScalingGroupProvider.add_member(:auto_scaling_group_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "autoScalingGroupArn"))
|
@@ -353,6 +357,8 @@ module Aws::ECS
|
|
353
357
|
AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "assignPublicIp"))
|
354
358
|
AwsVpcConfiguration.struct_class = Types::AwsVpcConfiguration
|
355
359
|
|
360
|
+
BlockedException.struct_class = Types::BlockedException
|
361
|
+
|
356
362
|
CapacityProvider.add_member(:capacity_provider_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityProviderArn"))
|
357
363
|
CapacityProvider.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
358
364
|
CapacityProvider.add_member(:status, Shapes::ShapeRef.new(shape: CapacityProviderStatus, location_name: "status"))
|
@@ -390,8 +396,16 @@ module Aws::ECS
|
|
390
396
|
Cluster.add_member(:attachments_status, Shapes::ShapeRef.new(shape: String, location_name: "attachmentsStatus"))
|
391
397
|
Cluster.struct_class = Types::Cluster
|
392
398
|
|
399
|
+
ClusterContainsContainerInstancesException.struct_class = Types::ClusterContainsContainerInstancesException
|
400
|
+
|
401
|
+
ClusterContainsServicesException.struct_class = Types::ClusterContainsServicesException
|
402
|
+
|
403
|
+
ClusterContainsTasksException.struct_class = Types::ClusterContainsTasksException
|
404
|
+
|
393
405
|
ClusterFieldList.member = Shapes::ShapeRef.new(shape: ClusterField)
|
394
406
|
|
407
|
+
ClusterNotFoundException.struct_class = Types::ClusterNotFoundException
|
408
|
+
|
395
409
|
ClusterSetting.add_member(:name, Shapes::ShapeRef.new(shape: ClusterSettingName, location_name: "name"))
|
396
410
|
ClusterSetting.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
397
411
|
ClusterSetting.struct_class = Types::ClusterSetting
|
@@ -792,6 +806,8 @@ module Aws::ECS
|
|
792
806
|
|
793
807
|
InferenceAccelerators.member = Shapes::ShapeRef.new(shape: InferenceAccelerator)
|
794
808
|
|
809
|
+
InvalidParameterException.struct_class = Types::InvalidParameterException
|
810
|
+
|
795
811
|
KernelCapabilities.add_member(:add, Shapes::ShapeRef.new(shape: StringList, location_name: "add"))
|
796
812
|
KernelCapabilities.add_member(:drop, Shapes::ShapeRef.new(shape: StringList, location_name: "drop"))
|
797
813
|
KernelCapabilities.struct_class = Types::KernelCapabilities
|
@@ -800,6 +816,8 @@ module Aws::ECS
|
|
800
816
|
KeyValuePair.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
801
817
|
KeyValuePair.struct_class = Types::KeyValuePair
|
802
818
|
|
819
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
820
|
+
|
803
821
|
LinuxParameters.add_member(:capabilities, Shapes::ShapeRef.new(shape: KernelCapabilities, location_name: "capabilities"))
|
804
822
|
LinuxParameters.add_member(:devices, Shapes::ShapeRef.new(shape: DevicesList, location_name: "devices"))
|
805
823
|
LinuxParameters.add_member(:init_process_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "initProcessEnabled"))
|
@@ -927,6 +945,8 @@ module Aws::ECS
|
|
927
945
|
ManagedScaling.add_member(:maximum_scaling_step_size, Shapes::ShapeRef.new(shape: ManagedScalingStepSize, location_name: "maximumScalingStepSize"))
|
928
946
|
ManagedScaling.struct_class = Types::ManagedScaling
|
929
947
|
|
948
|
+
MissingVersionException.struct_class = Types::MissingVersionException
|
949
|
+
|
930
950
|
MountPoint.add_member(:source_volume, Shapes::ShapeRef.new(shape: String, location_name: "sourceVolume"))
|
931
951
|
MountPoint.add_member(:container_path, Shapes::ShapeRef.new(shape: String, location_name: "containerPath"))
|
932
952
|
MountPoint.add_member(:read_only, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "readOnly"))
|
@@ -952,6 +972,8 @@ module Aws::ECS
|
|
952
972
|
|
953
973
|
NetworkInterfaces.member = Shapes::ShapeRef.new(shape: NetworkInterface)
|
954
974
|
|
975
|
+
NoUpdateAvailableException.struct_class = Types::NoUpdateAvailableException
|
976
|
+
|
955
977
|
PlacementConstraint.add_member(:type, Shapes::ShapeRef.new(shape: PlacementConstraintType, location_name: "type"))
|
956
978
|
PlacementConstraint.add_member(:expression, Shapes::ShapeRef.new(shape: String, location_name: "expression"))
|
957
979
|
PlacementConstraint.struct_class = Types::PlacementConstraint
|
@@ -970,6 +992,10 @@ module Aws::ECS
|
|
970
992
|
|
971
993
|
PlatformDevices.member = Shapes::ShapeRef.new(shape: PlatformDevice)
|
972
994
|
|
995
|
+
PlatformTaskDefinitionIncompatibilityException.struct_class = Types::PlatformTaskDefinitionIncompatibilityException
|
996
|
+
|
997
|
+
PlatformUnknownException.struct_class = Types::PlatformUnknownException
|
998
|
+
|
973
999
|
PortMapping.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
|
974
1000
|
PortMapping.add_member(:host_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "hostPort"))
|
975
1001
|
PortMapping.add_member(:protocol, Shapes::ShapeRef.new(shape: TransportProtocol, location_name: "protocol"))
|
@@ -1062,6 +1088,10 @@ module Aws::ECS
|
|
1062
1088
|
Resource.add_member(:string_set_value, Shapes::ShapeRef.new(shape: StringList, location_name: "stringSetValue"))
|
1063
1089
|
Resource.struct_class = Types::Resource
|
1064
1090
|
|
1091
|
+
ResourceInUseException.struct_class = Types::ResourceInUseException
|
1092
|
+
|
1093
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1094
|
+
|
1065
1095
|
ResourceRequirement.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
|
1066
1096
|
ResourceRequirement.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "type"))
|
1067
1097
|
ResourceRequirement.struct_class = Types::ResourceRequirement
|
@@ -1145,6 +1175,10 @@ module Aws::ECS
|
|
1145
1175
|
|
1146
1176
|
ServiceFieldList.member = Shapes::ShapeRef.new(shape: ServiceField)
|
1147
1177
|
|
1178
|
+
ServiceNotActiveException.struct_class = Types::ServiceNotActiveException
|
1179
|
+
|
1180
|
+
ServiceNotFoundException.struct_class = Types::ServiceNotFoundException
|
1181
|
+
|
1148
1182
|
ServiceRegistries.member = Shapes::ShapeRef.new(shape: ServiceRegistry)
|
1149
1183
|
|
1150
1184
|
ServiceRegistry.add_member(:registry_arn, Shapes::ShapeRef.new(shape: String, location_name: "registryArn"))
|
@@ -1248,6 +1282,8 @@ module Aws::ECS
|
|
1248
1282
|
|
1249
1283
|
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
1250
1284
|
|
1285
|
+
TargetNotFoundException.struct_class = Types::TargetNotFoundException
|
1286
|
+
|
1251
1287
|
Task.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
|
1252
1288
|
Task.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
|
1253
1289
|
Task.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
@@ -1349,6 +1385,8 @@ module Aws::ECS
|
|
1349
1385
|
|
1350
1386
|
TaskSetFieldList.member = Shapes::ShapeRef.new(shape: TaskSetField)
|
1351
1387
|
|
1388
|
+
TaskSetNotFoundException.struct_class = Types::TaskSetNotFoundException
|
1389
|
+
|
1352
1390
|
TaskSets.member = Shapes::ShapeRef.new(shape: TaskSet)
|
1353
1391
|
|
1354
1392
|
Tasks.member = Shapes::ShapeRef.new(shape: Task)
|
@@ -1367,6 +1405,8 @@ module Aws::ECS
|
|
1367
1405
|
|
1368
1406
|
UlimitList.member = Shapes::ShapeRef.new(shape: Ulimit)
|
1369
1407
|
|
1408
|
+
UnsupportedFeatureException.struct_class = Types::UnsupportedFeatureException
|
1409
|
+
|
1370
1410
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceArn"))
|
1371
1411
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tagKeys"))
|
1372
1412
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -1396,6 +1436,8 @@ module Aws::ECS
|
|
1396
1436
|
UpdateContainerInstancesStateResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
|
1397
1437
|
UpdateContainerInstancesStateResponse.struct_class = Types::UpdateContainerInstancesStateResponse
|
1398
1438
|
|
1439
|
+
UpdateInProgressException.struct_class = Types::UpdateInProgressException
|
1440
|
+
|
1399
1441
|
UpdateServicePrimaryTaskSetRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
|
1400
1442
|
UpdateServicePrimaryTaskSetRequest.add_member(:service, Shapes::ShapeRef.new(shape: String, required: true, location_name: "service"))
|
1401
1443
|
UpdateServicePrimaryTaskSetRequest.add_member(:primary_task_set, Shapes::ShapeRef.new(shape: String, required: true, location_name: "primaryTaskSet"))
|
data/lib/aws-sdk-ecs/errors.rb
CHANGED
@@ -6,10 +6,85 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ECS
|
9
|
+
|
10
|
+
# When ECS returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::ECS::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all ECS errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::ECS::Errors::ServiceError
|
18
|
+
# # rescues all ECS API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {AccessDeniedException}
|
29
|
+
# * {AttributeLimitExceededException}
|
30
|
+
# * {BlockedException}
|
31
|
+
# * {ClientException}
|
32
|
+
# * {ClusterContainsContainerInstancesException}
|
33
|
+
# * {ClusterContainsServicesException}
|
34
|
+
# * {ClusterContainsTasksException}
|
35
|
+
# * {ClusterNotFoundException}
|
36
|
+
# * {InvalidParameterException}
|
37
|
+
# * {LimitExceededException}
|
38
|
+
# * {MissingVersionException}
|
39
|
+
# * {NoUpdateAvailableException}
|
40
|
+
# * {PlatformTaskDefinitionIncompatibilityException}
|
41
|
+
# * {PlatformUnknownException}
|
42
|
+
# * {ResourceInUseException}
|
43
|
+
# * {ResourceNotFoundException}
|
44
|
+
# * {ServerException}
|
45
|
+
# * {ServiceNotActiveException}
|
46
|
+
# * {ServiceNotFoundException}
|
47
|
+
# * {TargetNotFoundException}
|
48
|
+
# * {TaskSetNotFoundException}
|
49
|
+
# * {UnsupportedFeatureException}
|
50
|
+
# * {UpdateInProgressException}
|
51
|
+
#
|
52
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
53
|
+
# if they are not defined above.
|
9
54
|
module Errors
|
10
55
|
|
11
56
|
extend Aws::Errors::DynamicErrors
|
12
57
|
|
58
|
+
class AccessDeniedException < ServiceError
|
59
|
+
|
60
|
+
# @param [Seahorse::Client::RequestContext] context
|
61
|
+
# @param [String] message
|
62
|
+
# @param [Aws::ECS::Types::AccessDeniedException] data
|
63
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
64
|
+
super(context, message, data)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
class AttributeLimitExceededException < ServiceError
|
69
|
+
|
70
|
+
# @param [Seahorse::Client::RequestContext] context
|
71
|
+
# @param [String] message
|
72
|
+
# @param [Aws::ECS::Types::AttributeLimitExceededException] data
|
73
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
74
|
+
super(context, message, data)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
class BlockedException < ServiceError
|
79
|
+
|
80
|
+
# @param [Seahorse::Client::RequestContext] context
|
81
|
+
# @param [String] message
|
82
|
+
# @param [Aws::ECS::Types::BlockedException] data
|
83
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
84
|
+
super(context, message, data)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
13
88
|
class ClientException < ServiceError
|
14
89
|
|
15
90
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -23,7 +98,126 @@ module Aws::ECS
|
|
23
98
|
def message
|
24
99
|
@message || @data[:message]
|
25
100
|
end
|
101
|
+
end
|
102
|
+
|
103
|
+
class ClusterContainsContainerInstancesException < ServiceError
|
104
|
+
|
105
|
+
# @param [Seahorse::Client::RequestContext] context
|
106
|
+
# @param [String] message
|
107
|
+
# @param [Aws::ECS::Types::ClusterContainsContainerInstancesException] data
|
108
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
109
|
+
super(context, message, data)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
class ClusterContainsServicesException < ServiceError
|
114
|
+
|
115
|
+
# @param [Seahorse::Client::RequestContext] context
|
116
|
+
# @param [String] message
|
117
|
+
# @param [Aws::ECS::Types::ClusterContainsServicesException] data
|
118
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
119
|
+
super(context, message, data)
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
class ClusterContainsTasksException < ServiceError
|
124
|
+
|
125
|
+
# @param [Seahorse::Client::RequestContext] context
|
126
|
+
# @param [String] message
|
127
|
+
# @param [Aws::ECS::Types::ClusterContainsTasksException] data
|
128
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
129
|
+
super(context, message, data)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
class ClusterNotFoundException < ServiceError
|
134
|
+
|
135
|
+
# @param [Seahorse::Client::RequestContext] context
|
136
|
+
# @param [String] message
|
137
|
+
# @param [Aws::ECS::Types::ClusterNotFoundException] data
|
138
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
139
|
+
super(context, message, data)
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
class InvalidParameterException < ServiceError
|
144
|
+
|
145
|
+
# @param [Seahorse::Client::RequestContext] context
|
146
|
+
# @param [String] message
|
147
|
+
# @param [Aws::ECS::Types::InvalidParameterException] data
|
148
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
149
|
+
super(context, message, data)
|
150
|
+
end
|
151
|
+
end
|
26
152
|
|
153
|
+
class LimitExceededException < ServiceError
|
154
|
+
|
155
|
+
# @param [Seahorse::Client::RequestContext] context
|
156
|
+
# @param [String] message
|
157
|
+
# @param [Aws::ECS::Types::LimitExceededException] data
|
158
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
159
|
+
super(context, message, data)
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
class MissingVersionException < ServiceError
|
164
|
+
|
165
|
+
# @param [Seahorse::Client::RequestContext] context
|
166
|
+
# @param [String] message
|
167
|
+
# @param [Aws::ECS::Types::MissingVersionException] data
|
168
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
169
|
+
super(context, message, data)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
class NoUpdateAvailableException < ServiceError
|
174
|
+
|
175
|
+
# @param [Seahorse::Client::RequestContext] context
|
176
|
+
# @param [String] message
|
177
|
+
# @param [Aws::ECS::Types::NoUpdateAvailableException] data
|
178
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
179
|
+
super(context, message, data)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
class PlatformTaskDefinitionIncompatibilityException < ServiceError
|
184
|
+
|
185
|
+
# @param [Seahorse::Client::RequestContext] context
|
186
|
+
# @param [String] message
|
187
|
+
# @param [Aws::ECS::Types::PlatformTaskDefinitionIncompatibilityException] data
|
188
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
189
|
+
super(context, message, data)
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
class PlatformUnknownException < ServiceError
|
194
|
+
|
195
|
+
# @param [Seahorse::Client::RequestContext] context
|
196
|
+
# @param [String] message
|
197
|
+
# @param [Aws::ECS::Types::PlatformUnknownException] data
|
198
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
199
|
+
super(context, message, data)
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
class ResourceInUseException < ServiceError
|
204
|
+
|
205
|
+
# @param [Seahorse::Client::RequestContext] context
|
206
|
+
# @param [String] message
|
207
|
+
# @param [Aws::ECS::Types::ResourceInUseException] data
|
208
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
209
|
+
super(context, message, data)
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
class ResourceNotFoundException < ServiceError
|
214
|
+
|
215
|
+
# @param [Seahorse::Client::RequestContext] context
|
216
|
+
# @param [String] message
|
217
|
+
# @param [Aws::ECS::Types::ResourceNotFoundException] data
|
218
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
219
|
+
super(context, message, data)
|
220
|
+
end
|
27
221
|
end
|
28
222
|
|
29
223
|
class ServerException < ServiceError
|
@@ -39,7 +233,66 @@ module Aws::ECS
|
|
39
233
|
def message
|
40
234
|
@message || @data[:message]
|
41
235
|
end
|
236
|
+
end
|
42
237
|
|
238
|
+
class ServiceNotActiveException < ServiceError
|
239
|
+
|
240
|
+
# @param [Seahorse::Client::RequestContext] context
|
241
|
+
# @param [String] message
|
242
|
+
# @param [Aws::ECS::Types::ServiceNotActiveException] data
|
243
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
244
|
+
super(context, message, data)
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
class ServiceNotFoundException < ServiceError
|
249
|
+
|
250
|
+
# @param [Seahorse::Client::RequestContext] context
|
251
|
+
# @param [String] message
|
252
|
+
# @param [Aws::ECS::Types::ServiceNotFoundException] data
|
253
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
254
|
+
super(context, message, data)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
class TargetNotFoundException < ServiceError
|
259
|
+
|
260
|
+
# @param [Seahorse::Client::RequestContext] context
|
261
|
+
# @param [String] message
|
262
|
+
# @param [Aws::ECS::Types::TargetNotFoundException] data
|
263
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
264
|
+
super(context, message, data)
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
class TaskSetNotFoundException < ServiceError
|
269
|
+
|
270
|
+
# @param [Seahorse::Client::RequestContext] context
|
271
|
+
# @param [String] message
|
272
|
+
# @param [Aws::ECS::Types::TaskSetNotFoundException] data
|
273
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
274
|
+
super(context, message, data)
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
class UnsupportedFeatureException < ServiceError
|
279
|
+
|
280
|
+
# @param [Seahorse::Client::RequestContext] context
|
281
|
+
# @param [String] message
|
282
|
+
# @param [Aws::ECS::Types::UnsupportedFeatureException] data
|
283
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
284
|
+
super(context, message, data)
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
class UpdateInProgressException < ServiceError
|
289
|
+
|
290
|
+
# @param [Seahorse::Client::RequestContext] context
|
291
|
+
# @param [String] message
|
292
|
+
# @param [Aws::ECS::Types::UpdateInProgressException] data
|
293
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
294
|
+
super(context, message, data)
|
295
|
+
end
|
43
296
|
end
|
44
297
|
|
45
298
|
end
|
data/lib/aws-sdk-ecs/resource.rb
CHANGED
@@ -6,6 +6,13 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ECS
|
9
|
+
# This class provides a resource oriented interface for ECS.
|
10
|
+
# To create a resource object:
|
11
|
+
# resource = Aws::ECS::Resource.new(region: 'us-west-2')
|
12
|
+
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
+
# If you do not pass +:client+, a default client will be constructed.
|
14
|
+
# client = Aws::ECS::Client.new(region: 'us-west-2')
|
15
|
+
# resource = Aws::ECS::Resource.new(client: client)
|
9
16
|
class Resource
|
10
17
|
|
11
18
|
# @param options ({})
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -8,6 +8,12 @@
|
|
8
8
|
module Aws::ECS
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# You do not have authorization to perform the requested action.
|
12
|
+
#
|
13
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AccessDeniedException AWS API Documentation
|
14
|
+
#
|
15
|
+
class AccessDeniedException < Aws::EmptyStructure; end
|
16
|
+
|
11
17
|
# An object representing a container instance or task attachment.
|
12
18
|
#
|
13
19
|
# @!attribute [rw] id
|
@@ -118,6 +124,14 @@ module Aws::ECS
|
|
118
124
|
include Aws::Structure
|
119
125
|
end
|
120
126
|
|
127
|
+
# You can apply up to 10 custom attributes per resource. You can view
|
128
|
+
# the attributes of a resource with ListAttributes. You can remove
|
129
|
+
# existing attributes on a resource with DeleteAttributes.
|
130
|
+
#
|
131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AttributeLimitExceededException AWS API Documentation
|
132
|
+
#
|
133
|
+
class AttributeLimitExceededException < Aws::EmptyStructure; end
|
134
|
+
|
121
135
|
# The details of the Auto Scaling group for the capacity provider.
|
122
136
|
#
|
123
137
|
# @note When making an API call, you may pass AutoScalingGroupProvider
|
@@ -223,6 +237,17 @@ module Aws::ECS
|
|
223
237
|
include Aws::Structure
|
224
238
|
end
|
225
239
|
|
240
|
+
# Your AWS account has been blocked. For more information, contact [AWS
|
241
|
+
# Support][1].
|
242
|
+
#
|
243
|
+
#
|
244
|
+
#
|
245
|
+
# [1]: http://aws.amazon.com/contact-us/
|
246
|
+
#
|
247
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/BlockedException AWS API Documentation
|
248
|
+
#
|
249
|
+
class BlockedException < Aws::EmptyStructure; end
|
250
|
+
|
226
251
|
# The details of a capacity provider.
|
227
252
|
#
|
228
253
|
# @!attribute [rw] capacity_provider_arn
|
@@ -526,6 +551,35 @@ module Aws::ECS
|
|
526
551
|
include Aws::Structure
|
527
552
|
end
|
528
553
|
|
554
|
+
# You cannot delete a cluster that has registered container instances.
|
555
|
+
# First, deregister the container instances before you can delete the
|
556
|
+
# cluster. For more information, see DeregisterContainerInstance.
|
557
|
+
#
|
558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ClusterContainsContainerInstancesException AWS API Documentation
|
559
|
+
#
|
560
|
+
class ClusterContainsContainerInstancesException < Aws::EmptyStructure; end
|
561
|
+
|
562
|
+
# You cannot delete a cluster that contains services. First, update the
|
563
|
+
# service to reduce its desired task count to 0 and then delete the
|
564
|
+
# service. For more information, see UpdateService and DeleteService.
|
565
|
+
#
|
566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ClusterContainsServicesException AWS API Documentation
|
567
|
+
#
|
568
|
+
class ClusterContainsServicesException < Aws::EmptyStructure; end
|
569
|
+
|
570
|
+
# You cannot delete a cluster that has active tasks.
|
571
|
+
#
|
572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ClusterContainsTasksException AWS API Documentation
|
573
|
+
#
|
574
|
+
class ClusterContainsTasksException < Aws::EmptyStructure; end
|
575
|
+
|
576
|
+
# The specified cluster could not be found. You can view your available
|
577
|
+
# clusters with ListClusters. Amazon ECS clusters are Region-specific.
|
578
|
+
#
|
579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ClusterNotFoundException AWS API Documentation
|
580
|
+
#
|
581
|
+
class ClusterNotFoundException < Aws::EmptyStructure; end
|
582
|
+
|
529
583
|
# The settings to use when creating a cluster. This parameter is used to
|
530
584
|
# enable CloudWatch Container Insights for a cluster.
|
531
585
|
#
|
@@ -4470,6 +4524,13 @@ module Aws::ECS
|
|
4470
4524
|
include Aws::Structure
|
4471
4525
|
end
|
4472
4526
|
|
4527
|
+
# The specified parameter is invalid. Review the available parameters
|
4528
|
+
# for the API request.
|
4529
|
+
#
|
4530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/InvalidParameterException AWS API Documentation
|
4531
|
+
#
|
4532
|
+
class InvalidParameterException < Aws::EmptyStructure; end
|
4533
|
+
|
4473
4534
|
# The Linux capabilities for the container that are added to or dropped
|
4474
4535
|
# from the default configuration provided by Docker. For more
|
4475
4536
|
# information on the default capabilities and the non-default available
|
@@ -4577,6 +4638,12 @@ module Aws::ECS
|
|
4577
4638
|
include Aws::Structure
|
4578
4639
|
end
|
4579
4640
|
|
4641
|
+
# The limit for the resource has been exceeded.
|
4642
|
+
#
|
4643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LimitExceededException AWS API Documentation
|
4644
|
+
#
|
4645
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
4646
|
+
|
4580
4647
|
# Linux-specific options that are applied to the container, such as
|
4581
4648
|
# Linux KernelCapabilities.
|
4582
4649
|
#
|
@@ -5750,6 +5817,16 @@ module Aws::ECS
|
|
5750
5817
|
include Aws::Structure
|
5751
5818
|
end
|
5752
5819
|
|
5820
|
+
# Amazon ECS is unable to determine the current version of the Amazon
|
5821
|
+
# ECS container agent on the container instance and does not have enough
|
5822
|
+
# information to proceed with an update. This could be because the agent
|
5823
|
+
# running on the container instance is an older or custom version that
|
5824
|
+
# does not use our version information.
|
5825
|
+
#
|
5826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/MissingVersionException AWS API Documentation
|
5827
|
+
#
|
5828
|
+
class MissingVersionException < Aws::EmptyStructure; end
|
5829
|
+
|
5753
5830
|
# Details on a volume mount point that is used in a container
|
5754
5831
|
# definition.
|
5755
5832
|
#
|
@@ -5882,6 +5959,14 @@ module Aws::ECS
|
|
5882
5959
|
include Aws::Structure
|
5883
5960
|
end
|
5884
5961
|
|
5962
|
+
# There is no update available for this Amazon ECS container agent. This
|
5963
|
+
# could be because the agent is already running the latest version, or
|
5964
|
+
# it is so old that there is no update path to the current version.
|
5965
|
+
#
|
5966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NoUpdateAvailableException AWS API Documentation
|
5967
|
+
#
|
5968
|
+
class NoUpdateAvailableException < Aws::EmptyStructure; end
|
5969
|
+
|
5885
5970
|
# An object representing a constraint on task placement. For more
|
5886
5971
|
# information, see [Task Placement Constraints][1] in the *Amazon
|
5887
5972
|
# Elastic Container Service Developer Guide*.
|
@@ -6006,6 +6091,19 @@ module Aws::ECS
|
|
6006
6091
|
include Aws::Structure
|
6007
6092
|
end
|
6008
6093
|
|
6094
|
+
# The specified platform version does not satisfy the task definition's
|
6095
|
+
# required capabilities.
|
6096
|
+
#
|
6097
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PlatformTaskDefinitionIncompatibilityException AWS API Documentation
|
6098
|
+
#
|
6099
|
+
class PlatformTaskDefinitionIncompatibilityException < Aws::EmptyStructure; end
|
6100
|
+
|
6101
|
+
# The specified platform version does not exist.
|
6102
|
+
#
|
6103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PlatformUnknownException AWS API Documentation
|
6104
|
+
#
|
6105
|
+
class PlatformUnknownException < Aws::EmptyStructure; end
|
6106
|
+
|
6009
6107
|
# Port mappings allow containers to access ports on the host container
|
6010
6108
|
# instance to send or receive traffic. Port mappings are specified as
|
6011
6109
|
# part of the container definition.
|
@@ -7184,6 +7282,18 @@ module Aws::ECS
|
|
7184
7282
|
include Aws::Structure
|
7185
7283
|
end
|
7186
7284
|
|
7285
|
+
# The specified resource is in-use and cannot be removed.
|
7286
|
+
#
|
7287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ResourceInUseException AWS API Documentation
|
7288
|
+
#
|
7289
|
+
class ResourceInUseException < Aws::EmptyStructure; end
|
7290
|
+
|
7291
|
+
# The specified resource could not be found.
|
7292
|
+
#
|
7293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ResourceNotFoundException AWS API Documentation
|
7294
|
+
#
|
7295
|
+
class ResourceNotFoundException < Aws::EmptyStructure; end
|
7296
|
+
|
7187
7297
|
# The type and amount of a resource to assign to a container. The
|
7188
7298
|
# supported resource types are GPUs and Elastic Inference accelerators.
|
7189
7299
|
# For more information, see [Working with GPUs on Amazon ECS][1] or
|
@@ -7914,6 +8024,22 @@ module Aws::ECS
|
|
7914
8024
|
include Aws::Structure
|
7915
8025
|
end
|
7916
8026
|
|
8027
|
+
# The specified service is not active. You can't update a service that
|
8028
|
+
# is inactive. If you have previously deleted a service, you can
|
8029
|
+
# re-create it with CreateService.
|
8030
|
+
#
|
8031
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceNotActiveException AWS API Documentation
|
8032
|
+
#
|
8033
|
+
class ServiceNotActiveException < Aws::EmptyStructure; end
|
8034
|
+
|
8035
|
+
# The specified service could not be found. You can view your available
|
8036
|
+
# services with ListServices. Amazon ECS services are cluster-specific
|
8037
|
+
# and Region-specific.
|
8038
|
+
#
|
8039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceNotFoundException AWS API Documentation
|
8040
|
+
#
|
8041
|
+
class ServiceNotFoundException < Aws::EmptyStructure; end
|
8042
|
+
|
7917
8043
|
# Details of the service registry.
|
7918
8044
|
#
|
7919
8045
|
# @note When making an API call, you may pass ServiceRegistry
|
@@ -8642,6 +8768,14 @@ module Aws::ECS
|
|
8642
8768
|
#
|
8643
8769
|
class TagResourceResponse < Aws::EmptyStructure; end
|
8644
8770
|
|
8771
|
+
# The specified target could not be found. You can view your available
|
8772
|
+
# container instances with ListContainerInstances. Amazon ECS container
|
8773
|
+
# instances are cluster-specific and Region-specific.
|
8774
|
+
#
|
8775
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TargetNotFoundException AWS API Documentation
|
8776
|
+
#
|
8777
|
+
class TargetNotFoundException < Aws::EmptyStructure; end
|
8778
|
+
|
8645
8779
|
# Details on a task in a cluster.
|
8646
8780
|
#
|
8647
8781
|
# @!attribute [rw] attachments
|
@@ -9625,6 +9759,14 @@ module Aws::ECS
|
|
9625
9759
|
include Aws::Structure
|
9626
9760
|
end
|
9627
9761
|
|
9762
|
+
# The specified task set could not be found. You can view your available
|
9763
|
+
# task sets with DescribeTaskSets. Task sets are specific to each
|
9764
|
+
# cluster, service and Region.
|
9765
|
+
#
|
9766
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskSetNotFoundException AWS API Documentation
|
9767
|
+
#
|
9768
|
+
class TaskSetNotFoundException < Aws::EmptyStructure; end
|
9769
|
+
|
9628
9770
|
# The container path, mount options, and size of the tmpfs mount.
|
9629
9771
|
#
|
9630
9772
|
# @note When making an API call, you may pass Tmpfs
|
@@ -9697,6 +9839,12 @@ module Aws::ECS
|
|
9697
9839
|
include Aws::Structure
|
9698
9840
|
end
|
9699
9841
|
|
9842
|
+
# The specified task is not supported in this Region.
|
9843
|
+
#
|
9844
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UnsupportedFeatureException AWS API Documentation
|
9845
|
+
#
|
9846
|
+
class UnsupportedFeatureException < Aws::EmptyStructure; end
|
9847
|
+
|
9700
9848
|
# @note When making an API call, you may pass UntagResourceRequest
|
9701
9849
|
# data as a hash:
|
9702
9850
|
#
|
@@ -9868,6 +10016,17 @@ module Aws::ECS
|
|
9868
10016
|
include Aws::Structure
|
9869
10017
|
end
|
9870
10018
|
|
10019
|
+
# There is already a current Amazon ECS container agent update in
|
10020
|
+
# progress on the specified container instance. If the container agent
|
10021
|
+
# becomes disconnected while it is in a transitional stage, such as
|
10022
|
+
# `PENDING` or `STAGING`, the update process can get stuck in that
|
10023
|
+
# state. However, when the agent reconnects, it resumes where it stopped
|
10024
|
+
# previously.
|
10025
|
+
#
|
10026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateInProgressException AWS API Documentation
|
10027
|
+
#
|
10028
|
+
class UpdateInProgressException < Aws::EmptyStructure; end
|
10029
|
+
|
9871
10030
|
# @note When making an API call, you may pass UpdateServicePrimaryTaskSetRequest
|
9872
10031
|
# data as a hash:
|
9873
10032
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.58.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|