aws-sdk-macie 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a0d8b8a351f1ef4b9b1f2846ad6558049421279
4
- data.tar.gz: 382f413f30156c76a946a2100ce2756decf69dbb
3
+ metadata.gz: 8356afeb02952fd403bf5c68dc0f2b447641cf31
4
+ data.tar.gz: 67621b54c1517c4f8cc8e7058c5d3954ab8152a5
5
5
  SHA512:
6
- metadata.gz: 43b6a7872336387bccdc2364b1f7482c10c2b726c3b5bbc40fbd172cfb6d233d394f976184d0e2d3ac985fe111a46a20cbf5b88cef049fcf73acd69d3e614737
7
- data.tar.gz: 0606b790825f2d6046b91451c35c578f5a5bda257d3507853d31a12f5d43d2a23c3eae87bf0c8a46ef56dce9d6923df551fae205777b03f25252c55e1ca09ed4
6
+ metadata.gz: fa5993dc7a1c25f2f03b584f0c255c439ffc8d147afdc3fc5f8fe0c7300abd873a63f97d1746bd07e1f7ec28c4549a4938b39776b6a6262a7b239e5433592c05
7
+ data.tar.gz: 51e65baf2829ea3a4f6f4b9844c720a624afb6ca8ec93a953ea7a4ee96d1e21f3a25acf1d9575598bc75a3699fa854e6bb51be0ee4462102e06c47dc38a6fb24
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-macie/customizations'
42
42
  # @service
43
43
  module Aws::Macie
44
44
 
45
- GEM_VERSION = '1.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  end
@@ -561,7 +561,7 @@ module Aws::Macie
561
561
  params: params,
562
562
  config: config)
563
563
  context[:gem_name] = 'aws-sdk-macie'
564
- context[:gem_version] = '1.11.0'
564
+ context[:gem_version] = '1.12.0'
565
565
  Seahorse::Client::Request.new(handlers, context)
566
566
  end
567
567
 
@@ -51,6 +51,10 @@ module Aws::Macie
51
51
  UpdateS3ResourcesRequest = Shapes::StructureShape.new(name: 'UpdateS3ResourcesRequest')
52
52
  UpdateS3ResourcesResult = Shapes::StructureShape.new(name: 'UpdateS3ResourcesResult')
53
53
 
54
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
55
+ AccessDeniedException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
56
+ AccessDeniedException.struct_class = Types::AccessDeniedException
57
+
54
58
  AssociateMemberAccountRequest.add_member(:member_account_id, Shapes::ShapeRef.new(shape: AWSAccountId, required: true, location_name: "memberAccountId"))
55
59
  AssociateMemberAccountRequest.struct_class = Types::AssociateMemberAccountRequest
56
60
 
@@ -86,6 +90,20 @@ module Aws::Macie
86
90
 
87
91
  FailedS3Resources.member = Shapes::ShapeRef.new(shape: FailedS3Resource)
88
92
 
93
+ InternalException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
94
+ InternalException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
95
+ InternalException.struct_class = Types::InternalException
96
+
97
+ InvalidInputException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
98
+ InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
99
+ InvalidInputException.add_member(:field_name, Shapes::ShapeRef.new(shape: FieldName, location_name: "fieldName"))
100
+ InvalidInputException.struct_class = Types::InvalidInputException
101
+
102
+ LimitExceededException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
103
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
104
+ LimitExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
105
+ LimitExceededException.struct_class = Types::LimitExceededException
106
+
89
107
  ListMemberAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
90
108
  ListMemberAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
91
109
  ListMemberAccountsRequest.struct_class = Types::ListMemberAccountsRequest
@@ -10,5 +10,99 @@ module Aws::Macie
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Macie::Types::AccessDeniedException] 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
+ # @return [String]
28
+ def resource_type
29
+ @data[:resource_type]
30
+ end
31
+
32
+ end
33
+
34
+ class InternalException < ServiceError
35
+
36
+ # @param [Seahorse::Client::RequestContext] context
37
+ # @param [String] message
38
+ # @param [Aws::Macie::Types::InternalException] data
39
+ def initialize(context, message, data = Aws::EmptyStructure.new)
40
+ super(context, message, data)
41
+ end
42
+
43
+ # @return [String]
44
+ def error_code
45
+ @data[:error_code]
46
+ end
47
+
48
+ # @return [String]
49
+ def message
50
+ @message || @data[:message]
51
+ end
52
+
53
+ end
54
+
55
+ class InvalidInputException < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::Macie::Types::InvalidInputException] data
60
+ def initialize(context, message, data = Aws::EmptyStructure.new)
61
+ super(context, message, data)
62
+ end
63
+
64
+ # @return [String]
65
+ def error_code
66
+ @data[:error_code]
67
+ end
68
+
69
+ # @return [String]
70
+ def message
71
+ @message || @data[:message]
72
+ end
73
+
74
+ # @return [String]
75
+ def field_name
76
+ @data[:field_name]
77
+ end
78
+
79
+ end
80
+
81
+ class LimitExceededException < ServiceError
82
+
83
+ # @param [Seahorse::Client::RequestContext] context
84
+ # @param [String] message
85
+ # @param [Aws::Macie::Types::LimitExceededException] data
86
+ def initialize(context, message, data = Aws::EmptyStructure.new)
87
+ super(context, message, data)
88
+ end
89
+
90
+ # @return [String]
91
+ def error_code
92
+ @data[:error_code]
93
+ end
94
+
95
+ # @return [String]
96
+ def message
97
+ @message || @data[:message]
98
+ end
99
+
100
+ # @return [String]
101
+ def resource_type
102
+ @data[:resource_type]
103
+ end
104
+
105
+ end
106
+
13
107
  end
14
108
  end
@@ -8,6 +8,23 @@
8
8
  module Aws::Macie
9
9
  module Types
10
10
 
11
+ # You do not have required permissions to access the requested resource.
12
+ #
13
+ # @!attribute [rw] message
14
+ # @return [String]
15
+ #
16
+ # @!attribute [rw] resource_type
17
+ # Resource type that caused the exception
18
+ # @return [String]
19
+ #
20
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AccessDeniedException AWS API Documentation
21
+ #
22
+ class AccessDeniedException < Struct.new(
23
+ :message,
24
+ :resource_type)
25
+ include Aws::Structure
26
+ end
27
+
11
28
  # @note When making an API call, you may pass AssociateMemberAccountRequest
12
29
  # data as a hash:
13
30
  #
@@ -223,6 +240,70 @@ module Aws::Macie
223
240
  include Aws::Structure
224
241
  end
225
242
 
243
+ # Internal server error.
244
+ #
245
+ # @!attribute [rw] error_code
246
+ # Error code for the exception
247
+ # @return [String]
248
+ #
249
+ # @!attribute [rw] message
250
+ # @return [String]
251
+ #
252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/InternalException AWS API Documentation
253
+ #
254
+ class InternalException < Struct.new(
255
+ :error_code,
256
+ :message)
257
+ include Aws::Structure
258
+ end
259
+
260
+ # The request was rejected because an invalid or out-of-range value was
261
+ # supplied for an input parameter.
262
+ #
263
+ # @!attribute [rw] error_code
264
+ # Error code for the exception
265
+ # @return [String]
266
+ #
267
+ # @!attribute [rw] message
268
+ # @return [String]
269
+ #
270
+ # @!attribute [rw] field_name
271
+ # Field that has invalid input
272
+ # @return [String]
273
+ #
274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/InvalidInputException AWS API Documentation
275
+ #
276
+ class InvalidInputException < Struct.new(
277
+ :error_code,
278
+ :message,
279
+ :field_name)
280
+ include Aws::Structure
281
+ end
282
+
283
+ # The request was rejected because it attempted to create resources
284
+ # beyond the current AWS account limits. The error code describes the
285
+ # limit exceeded.
286
+ #
287
+ # @!attribute [rw] error_code
288
+ # Error code for the exception
289
+ # @return [String]
290
+ #
291
+ # @!attribute [rw] message
292
+ # @return [String]
293
+ #
294
+ # @!attribute [rw] resource_type
295
+ # Resource type that caused the exception
296
+ # @return [String]
297
+ #
298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/LimitExceededException AWS API Documentation
299
+ #
300
+ class LimitExceededException < Struct.new(
301
+ :error_code,
302
+ :message,
303
+ :resource_type)
304
+ include Aws::Structure
305
+ end
306
+
226
307
  # @note When making an API call, you may pass ListMemberAccountsRequest
227
308
  # data as a hash:
228
309
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-macie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.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