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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee028f64d336abd70eab88c260c80338616bea29
4
- data.tar.gz: 501e2a7876817e68627127905427a790efbbfa6d
3
+ metadata.gz: 407e993f9e909fa19d956389ebaf06e29b5a5cc3
4
+ data.tar.gz: 1f0440c269550335af726a564b7f51f0c4b10383
5
5
  SHA512:
6
- metadata.gz: d267394a94d6bba28bacdd8d89e1c30677de0bbf279455b548279fbf5266e06b59f3dbab7cb7d269a33758ce7b70f66e70c9c74d34e9f4630c6d591ca9707b62
7
- data.tar.gz: 2772703d151efa447755f658eba80d42b01d2949f62732bb66a4b2fc1713c4045aed89cc9f909c2e7a98d509d79a745ff7118fd7bb71d71982daeb9e33599cf3
6
+ metadata.gz: 836c668d30e8032217bc4f90f450d272ce90e9ee30dbe4ba6cbdd2bcd2765077a00a9808f8aad5ad431832476a160a99007feafe64dcb34bc3e5df1e10f0c8c3
7
+ data.tar.gz: 81ac8494584951a8cdc06481bfb0839df21485bc5a0bb9407067e8ab9c7c9d437d9d0c437c297ce4e3ee4392c8a5972e3d271b96ae61b8973d539753a6e4df82
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.39.0'
46
+ GEM_VERSION = '1.40.0'
47
47
 
48
48
  end
@@ -6592,7 +6592,7 @@ module Aws::ECS
6592
6592
  params: params,
6593
6593
  config: config)
6594
6594
  context[:gem_name] = 'aws-sdk-ecs'
6595
- context[:gem_version] = '1.39.0'
6595
+ context[:gem_version] = '1.40.0'
6596
6596
  Seahorse::Client::Request.new(handlers, context)
6597
6597
  end
6598
6598
 
@@ -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"))
@@ -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
@@ -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.39.0
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-15 00:00:00.000000000 Z
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.52.1
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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement