aws-sdk-macie2 1.2.0 → 1.3.1

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
  SHA256:
3
- metadata.gz: 9323daf274a3d568f2587d30798fea1e8dd726c5a83ece2b968b8bba4b71085b
4
- data.tar.gz: 4d13643f0955b4e8e1045ca7172d42febd0d7ef6a0f219e27cb754765593864a
3
+ metadata.gz: 287275372e07b131bc142d5dbf01cb90e01c017947410c80afe69326de51f6e8
4
+ data.tar.gz: 00404c84a829eb5bc23063d6bf6607f3e13ba258304d8cc36fb4a9f92c68539c
5
5
  SHA512:
6
- metadata.gz: 76943a9f4e73c41574238508d5eae62d69f71ed2f2aebb8a133675357795ccca899bcde950f6805ae1c4d9ebef3d466161009dab8d92133071a674d9fdf22b62
7
- data.tar.gz: 2f07951cfdc7318fdd8b540db89f04b317d208091b6e58eebf0ffd5429a3d53d3ce03df8dcc96718a4bbaaa5190e7a95923b86a57b7dac792b3931362d02b66b
6
+ metadata.gz: 1c07cb3a8640b6c889f0ab49add80e05c1d77edc72765d6784509a89aabed5563f8665e4add12cde011c7845c5faa59d77b286dabab7ec88d0ab08f5e3b7b583
7
+ data.tar.gz: 053e09d19640634231a5d808918d1629f510162a8e9990ac3736cf31d6dd2498d11694ab4112809bb3c1056576098ec6cb9e1d9f9fc9ebfbdc3e6980f51ff544
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-macie2/customizations'
45
45
  # @service
46
46
  module Aws::Macie2
47
47
 
48
- GEM_VERSION = '1.2.0'
48
+ GEM_VERSION = '1.3.1'
49
49
 
50
50
  end
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
30
 
@@ -69,6 +70,7 @@ module Aws::Macie2
69
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
72
74
  add_plugin(Aws::Plugins::SignatureV4)
73
75
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
76
 
@@ -161,7 +163,7 @@ module Aws::Macie2
161
163
  # @option options [String] :endpoint
162
164
  # The client endpoint is normally constructed from the `:region`
163
165
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
167
  #
166
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -333,27 +335,6 @@ module Aws::Macie2
333
335
  req.send_request(options)
334
336
  end
335
337
 
336
- # Archives one or more findings.
337
- #
338
- # @option params [required, Array<String>] :finding_ids
339
- #
340
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
341
- #
342
- # @example Request syntax with placeholder values
343
- #
344
- # resp = client.archive_findings({
345
- # finding_ids: ["__string"], # required
346
- # })
347
- #
348
- # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ArchiveFindings AWS API Documentation
349
- #
350
- # @overload archive_findings(params = {})
351
- # @param [Hash] params ({})
352
- def archive_findings(params = {}, options = {})
353
- req = build_request(:archive_findings, params)
354
- req.send_request(options)
355
- end
356
-
357
338
  # Retrieves information about one or more custom data identifiers.
358
339
  #
359
340
  # @option params [Array<String>] :ids
@@ -1482,7 +1463,7 @@ module Aws::Macie2
1482
1463
  # resp.findings[0].region #=> String
1483
1464
  # resp.findings[0].resources_affected.s3_bucket.arn #=> String
1484
1465
  # resp.findings[0].resources_affected.s3_bucket.created_at #=> Time
1485
- # resp.findings[0].resources_affected.s3_bucket.default_server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms"
1466
+ # resp.findings[0].resources_affected.s3_bucket.default_server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms", "UNKNOWN"
1486
1467
  # resp.findings[0].resources_affected.s3_bucket.default_server_side_encryption.kms_master_key_id #=> String
1487
1468
  # resp.findings[0].resources_affected.s3_bucket.name #=> String
1488
1469
  # resp.findings[0].resources_affected.s3_bucket.owner.display_name #=> String
@@ -1510,7 +1491,7 @@ module Aws::Macie2
1510
1491
  # resp.findings[0].resources_affected.s3_object.last_modified #=> Time
1511
1492
  # resp.findings[0].resources_affected.s3_object.path #=> String
1512
1493
  # resp.findings[0].resources_affected.s3_object.public_access #=> Boolean
1513
- # resp.findings[0].resources_affected.s3_object.server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms"
1494
+ # resp.findings[0].resources_affected.s3_object.server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms", "UNKNOWN"
1514
1495
  # resp.findings[0].resources_affected.s3_object.server_side_encryption.kms_master_key_id #=> String
1515
1496
  # resp.findings[0].resources_affected.s3_object.size #=> Integer
1516
1497
  # resp.findings[0].resources_affected.s3_object.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "ONEZONE_IA", "GLACIER"
@@ -2239,27 +2220,6 @@ module Aws::Macie2
2239
2220
  req.send_request(options)
2240
2221
  end
2241
2222
 
2242
- # Reactivates (unarchives) one or more findings.
2243
- #
2244
- # @option params [required, Array<String>] :finding_ids
2245
- #
2246
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2247
- #
2248
- # @example Request syntax with placeholder values
2249
- #
2250
- # resp = client.unarchive_findings({
2251
- # finding_ids: ["__string"], # required
2252
- # })
2253
- #
2254
- # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UnarchiveFindings AWS API Documentation
2255
- #
2256
- # @overload unarchive_findings(params = {})
2257
- # @param [Hash] params ({})
2258
- def unarchive_findings(params = {}, options = {})
2259
- req = build_request(:unarchive_findings, params)
2260
- req.send_request(options)
2261
- end
2262
-
2263
2223
  # Removes one or more tags (keys and values) from a classification job,
2264
2224
  # custom data identifier, findings filter, or member account.
2265
2225
  #
@@ -2458,7 +2418,7 @@ module Aws::Macie2
2458
2418
  params: params,
2459
2419
  config: config)
2460
2420
  context[:gem_name] = 'aws-sdk-macie2'
2461
- context[:gem_version] = '1.2.0'
2421
+ context[:gem_version] = '1.3.1'
2462
2422
  Seahorse::Client::Request.new(handlers, context)
2463
2423
  end
2464
2424
 
@@ -20,8 +20,6 @@ module Aws::Macie2
20
20
  AdminAccount = Shapes::StructureShape.new(name: 'AdminAccount')
21
21
  AdminStatus = Shapes::StringShape.new(name: 'AdminStatus')
22
22
  ApiCallDetails = Shapes::StructureShape.new(name: 'ApiCallDetails')
23
- ArchiveFindingsRequest = Shapes::StructureShape.new(name: 'ArchiveFindingsRequest')
24
- ArchiveFindingsResponse = Shapes::StructureShape.new(name: 'ArchiveFindingsResponse')
25
23
  AssumedRole = Shapes::StructureShape.new(name: 'AssumedRole')
26
24
  AwsAccount = Shapes::StructureShape.new(name: 'AwsAccount')
27
25
  AwsService = Shapes::StructureShape.new(name: 'AwsService')
@@ -224,8 +222,6 @@ module Aws::Macie2
224
222
  TestCustomDataIdentifierRequest = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierRequest')
225
223
  TestCustomDataIdentifierResponse = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierResponse')
226
224
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
227
- UnarchiveFindingsRequest = Shapes::StructureShape.new(name: 'UnarchiveFindingsRequest')
228
- UnarchiveFindingsResponse = Shapes::StructureShape.new(name: 'UnarchiveFindingsResponse')
229
225
  Unit = Shapes::StringShape.new(name: 'Unit')
230
226
  UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
231
227
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -313,11 +309,6 @@ module Aws::Macie2
313
309
  ApiCallDetails.add_member(:last_seen, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastSeen"))
314
310
  ApiCallDetails.struct_class = Types::ApiCallDetails
315
311
 
316
- ArchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "findingIds"))
317
- ArchiveFindingsRequest.struct_class = Types::ArchiveFindingsRequest
318
-
319
- ArchiveFindingsResponse.struct_class = Types::ArchiveFindingsResponse
320
-
321
312
  AssumedRole.add_member(:access_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "accessKeyId"))
322
313
  AssumedRole.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
323
314
  AssumedRole.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -1118,11 +1109,6 @@ module Aws::Macie2
1118
1109
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1119
1110
  ThrottlingException.struct_class = Types::ThrottlingException
1120
1111
 
1121
- UnarchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "findingIds"))
1122
- UnarchiveFindingsRequest.struct_class = Types::UnarchiveFindingsRequest
1123
-
1124
- UnarchiveFindingsResponse.struct_class = Types::UnarchiveFindingsResponse
1125
-
1126
1112
  UnprocessedAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
1127
1113
  UnprocessedAccount.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
1128
1114
  UnprocessedAccount.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
@@ -1290,21 +1276,6 @@ module Aws::Macie2
1290
1276
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1291
1277
  end)
1292
1278
 
1293
- api.add_operation(:archive_findings, Seahorse::Model::Operation.new.tap do |o|
1294
- o.name = "ArchiveFindings"
1295
- o.http_method = "POST"
1296
- o.http_request_uri = "/findings/archive"
1297
- o.input = Shapes::ShapeRef.new(shape: ArchiveFindingsRequest)
1298
- o.output = Shapes::ShapeRef.new(shape: ArchiveFindingsResponse)
1299
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1300
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1301
- o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1302
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1303
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1304
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1305
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1306
- end)
1307
-
1308
1279
  api.add_operation(:batch_get_custom_data_identifiers, Seahorse::Model::Operation.new.tap do |o|
1309
1280
  o.name = "BatchGetCustomDataIdentifiers"
1310
1281
  o.http_method = "POST"
@@ -1951,21 +1922,6 @@ module Aws::Macie2
1951
1922
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1952
1923
  end)
1953
1924
 
1954
- api.add_operation(:unarchive_findings, Seahorse::Model::Operation.new.tap do |o|
1955
- o.name = "UnarchiveFindings"
1956
- o.http_method = "POST"
1957
- o.http_request_uri = "/findings/unarchive"
1958
- o.input = Shapes::ShapeRef.new(shape: UnarchiveFindingsRequest)
1959
- o.output = Shapes::ShapeRef.new(shape: UnarchiveFindingsResponse)
1960
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1961
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1962
- o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1963
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1964
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1965
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1966
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1967
- end)
1968
-
1969
1925
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1970
1926
  o.name = "UntagResource"
1971
1927
  o.http_method = "DELETE"
@@ -167,29 +167,6 @@ module Aws::Macie2
167
167
  include Aws::Structure
168
168
  end
169
169
 
170
- # Specifies one or more findings to archive.
171
- #
172
- # @note When making an API call, you may pass ArchiveFindingsRequest
173
- # data as a hash:
174
- #
175
- # {
176
- # finding_ids: ["__string"], # required
177
- # }
178
- #
179
- # @!attribute [rw] finding_ids
180
- # @return [Array<String>]
181
- #
182
- # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ArchiveFindingsRequest AWS API Documentation
183
- #
184
- class ArchiveFindingsRequest < Struct.new(
185
- :finding_ids)
186
- include Aws::Structure
187
- end
188
-
189
- # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ArchiveFindingsResponse AWS API Documentation
190
- #
191
- class ArchiveFindingsResponse < Aws::EmptyStructure; end
192
-
193
170
  # Reserved for future use.
194
171
  #
195
172
  # @!attribute [rw] access_key_id
@@ -4393,29 +4370,6 @@ module Aws::Macie2
4393
4370
  include Aws::Structure
4394
4371
  end
4395
4372
 
4396
- # Specifies one or more findings to reactivate (unarchive).
4397
- #
4398
- # @note When making an API call, you may pass UnarchiveFindingsRequest
4399
- # data as a hash:
4400
- #
4401
- # {
4402
- # finding_ids: ["__string"], # required
4403
- # }
4404
- #
4405
- # @!attribute [rw] finding_ids
4406
- # @return [Array<String>]
4407
- #
4408
- # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UnarchiveFindingsRequest AWS API Documentation
4409
- #
4410
- class UnarchiveFindingsRequest < Struct.new(
4411
- :finding_ids)
4412
- include Aws::Structure
4413
- end
4414
-
4415
- # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UnarchiveFindingsResponse AWS API Documentation
4416
- #
4417
- class UnarchiveFindingsResponse < Aws::EmptyStructure; end
4418
-
4419
4373
  # Provides information about an account-related request that hasn't
4420
4374
  # been processed.
4421
4375
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-macie2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.1
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-05-28 00:00:00.000000000 Z
11
+ date: 2020-06-11 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement