aws-sdk-ecs 1.39.0 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +1 -1
- data/lib/aws-sdk-ecs/client_api.rb +6 -0
- data/lib/aws-sdk-ecs/errors.rb +32 -0
- data/lib/aws-sdk-ecs/types.rb +27 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 407e993f9e909fa19d956389ebaf06e29b5a5cc3
|
4
|
+
data.tar.gz: 1f0440c269550335af726a564b7f51f0c4b10383
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 836c668d30e8032217bc4f90f450d272ce90e9ee30dbe4ba6cbdd2bcd2765077a00a9808f8aad5ad431832476a160a99007feafe64dcb34bc3e5df1e10f0c8c3
|
7
|
+
data.tar.gz: 81ac8494584951a8cdc06481bfb0839df21485bc5a0bb9407067e8ab9c7c9d437d9d0c437c297ce4e3ee4392c8a5972e3d271b96ae61b8973d539753a6e4df82
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -308,6 +308,9 @@ module Aws::ECS
|
|
308
308
|
AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "assignPublicIp"))
|
309
309
|
AwsVpcConfiguration.struct_class = Types::AwsVpcConfiguration
|
310
310
|
|
311
|
+
ClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
312
|
+
ClientException.struct_class = Types::ClientException
|
313
|
+
|
311
314
|
Cluster.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
|
312
315
|
Cluster.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
313
316
|
Cluster.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
@@ -947,6 +950,9 @@ module Aws::ECS
|
|
947
950
|
|
948
951
|
SecretList.member = Shapes::ShapeRef.new(shape: Secret)
|
949
952
|
|
953
|
+
ServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
954
|
+
ServerException.struct_class = Types::ServerException
|
955
|
+
|
950
956
|
Service.add_member(:service_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceArn"))
|
951
957
|
Service.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
|
952
958
|
Service.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
|
data/lib/aws-sdk-ecs/errors.rb
CHANGED
@@ -10,5 +10,37 @@ module Aws::ECS
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class ClientException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::ECS::Types::ClientException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class ServerException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::ECS::Types::ServerException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
13
45
|
end
|
14
46
|
end
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -163,6 +163,21 @@ module Aws::ECS
|
|
163
163
|
include Aws::Structure
|
164
164
|
end
|
165
165
|
|
166
|
+
# These errors are usually caused by a client action, such as using an
|
167
|
+
# action or resource on behalf of a user that doesn't have permissions
|
168
|
+
# to use the action or resource, or specifying an identifier that is not
|
169
|
+
# valid.
|
170
|
+
#
|
171
|
+
# @!attribute [rw] message
|
172
|
+
# @return [String]
|
173
|
+
#
|
174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ClientException AWS API Documentation
|
175
|
+
#
|
176
|
+
class ClientException < Struct.new(
|
177
|
+
:message)
|
178
|
+
include Aws::Structure
|
179
|
+
end
|
180
|
+
|
166
181
|
# A regional grouping of one or more container instances on which you
|
167
182
|
# can run task requests. Each account receives a default cluster the
|
168
183
|
# first time you use the Amazon ECS service, but you may also create
|
@@ -6166,6 +6181,18 @@ module Aws::ECS
|
|
6166
6181
|
include Aws::Structure
|
6167
6182
|
end
|
6168
6183
|
|
6184
|
+
# These errors are usually caused by a server issue.
|
6185
|
+
#
|
6186
|
+
# @!attribute [rw] message
|
6187
|
+
# @return [String]
|
6188
|
+
#
|
6189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServerException AWS API Documentation
|
6190
|
+
#
|
6191
|
+
class ServerException < Struct.new(
|
6192
|
+
:message)
|
6193
|
+
include Aws::Structure
|
6194
|
+
end
|
6195
|
+
|
6169
6196
|
# Details on a service within a cluster
|
6170
6197
|
#
|
6171
6198
|
# @!attribute [rw] service_arn
|
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.40.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: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.53.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|