aws-sdk-macie2 1.34.0 → 1.35.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
  SHA256:
3
- metadata.gz: cff82eacab779eb1a6545659e010b456c06abdc2989b9827a480c7f15c451120
4
- data.tar.gz: cadf174b74d815dcadad7e73dcf3f7a8bf5fc690fd13db67099a0dbd26d89aef
3
+ metadata.gz: 4554d22602a3db074df0b0337b53e188f4c36bcd89247a5db757aa7f9d951803
4
+ data.tar.gz: 5259f3f0e4fd5762919b408cf9fb2e786d33bce1908ac9768380a5f3717ac394
5
5
  SHA512:
6
- metadata.gz: 84ae0ea49cdc18e1cab933d5c40eca7d1b0760d38bb166d1bf71a731480a50bd707d2f1ad5423065ea3193a981693b65bba9efe005571f769b0440cbd8d0d1c7
7
- data.tar.gz: 3178b5f6b434b42fb9bded536cb3865c9a24c35c2ce0d793a8187e5060696680c101a55e558604cc49532fa383b3a575aa8860b7772613933315e4edd2a40e15
6
+ metadata.gz: c85b2e8141723f9d29b3588ca8ae6f888c0b693d5ef988197f4287671a23171631c9a7d03f0ba6adaa0c9c8efe1d23ca2b393003050d6da652fd741214e12e14
7
+ data.tar.gz: 0c448916f46a02b7dda11d9fac4f28ab6821e43d12d4f9924b938435c93bfb977ee0da973b440f6e146ce00f7d3a1d5772d0389e547035f8f2c998d21546bbc7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2021-09-30)
5
+ ------------------
6
+
7
+ * Feature - Amazon S3 bucket metadata now indicates whether an error or a bucket's permissions settings prevented Amazon Macie from retrieving data about the bucket or the bucket's objects.
8
+
4
9
  1.34.0 (2021-09-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.35.0
@@ -980,6 +980,8 @@ module Aws::Macie2
980
980
  # resp.buckets[0].bucket_name #=> String
981
981
  # resp.buckets[0].classifiable_object_count #=> Integer
982
982
  # resp.buckets[0].classifiable_size_in_bytes #=> Integer
983
+ # resp.buckets[0].error_code #=> String, one of "ACCESS_DENIED"
984
+ # resp.buckets[0].error_message #=> String
983
985
  # resp.buckets[0].job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
984
986
  # resp.buckets[0].job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
985
987
  # resp.buckets[0].job_details.last_job_id #=> String
@@ -2626,6 +2628,8 @@ module Aws::Macie2
2626
2628
  # resp.matching_resources[0].matching_bucket.bucket_name #=> String
2627
2629
  # resp.matching_resources[0].matching_bucket.classifiable_object_count #=> Integer
2628
2630
  # resp.matching_resources[0].matching_bucket.classifiable_size_in_bytes #=> Integer
2631
+ # resp.matching_resources[0].matching_bucket.error_code #=> String, one of "ACCESS_DENIED"
2632
+ # resp.matching_resources[0].matching_bucket.error_message #=> String
2629
2633
  # resp.matching_resources[0].matching_bucket.job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
2630
2634
  # resp.matching_resources[0].matching_bucket.job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
2631
2635
  # resp.matching_resources[0].matching_bucket.job_details.last_job_id #=> String
@@ -2937,7 +2941,7 @@ module Aws::Macie2
2937
2941
  params: params,
2938
2942
  config: config)
2939
2943
  context[:gem_name] = 'aws-sdk-macie2'
2940
- context[:gem_version] = '1.34.0'
2944
+ context[:gem_version] = '1.35.0'
2941
2945
  Seahorse::Client::Request.new(handlers, context)
2942
2946
  end
2943
2947
 
@@ -38,6 +38,7 @@ module Aws::Macie2
38
38
  BucketCriteriaAdditionalProperties = Shapes::StructureShape.new(name: 'BucketCriteriaAdditionalProperties')
39
39
  BucketLevelPermissions = Shapes::StructureShape.new(name: 'BucketLevelPermissions')
40
40
  BucketMetadata = Shapes::StructureShape.new(name: 'BucketMetadata')
41
+ BucketMetadataErrorCode = Shapes::StringShape.new(name: 'BucketMetadataErrorCode')
41
42
  BucketPermissionConfiguration = Shapes::StructureShape.new(name: 'BucketPermissionConfiguration')
42
43
  BucketPolicy = Shapes::StructureShape.new(name: 'BucketPolicy')
43
44
  BucketPublicAccess = Shapes::StructureShape.new(name: 'BucketPublicAccess')
@@ -456,6 +457,8 @@ module Aws::Macie2
456
457
  BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
457
458
  BucketMetadata.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
458
459
  BucketMetadata.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
460
+ BucketMetadata.add_member(:error_code, Shapes::ShapeRef.new(shape: BucketMetadataErrorCode, location_name: "errorCode"))
461
+ BucketMetadata.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
459
462
  BucketMetadata.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
460
463
  BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
461
464
  BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
@@ -1100,6 +1103,8 @@ module Aws::Macie2
1100
1103
  MatchingBucket.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
1101
1104
  MatchingBucket.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
1102
1105
  MatchingBucket.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
1106
+ MatchingBucket.add_member(:error_code, Shapes::ShapeRef.new(shape: BucketMetadataErrorCode, location_name: "errorCode"))
1107
+ MatchingBucket.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
1103
1108
  MatchingBucket.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
1104
1109
  MatchingBucket.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
1105
1110
  MatchingBucket.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
@@ -545,8 +545,13 @@ module Aws::Macie2
545
545
  include Aws::Structure
546
546
  end
547
547
 
548
- # Provides information about an S3 bucket that Amazon Macie monitors and
549
- # analyzes.
548
+ # Provides statistical data and other information about an S3 bucket
549
+ # that Amazon Macie monitors and analyzes for your account. If an error
550
+ # occurs when Macie attempts to retrieve and process information about
551
+ # the bucket or the bucket's objects, the value for most of these
552
+ # properties is null. Exceptions are accountId, bucketArn,
553
+ # bucketCreatedAt, bucketName, lastUpdated, and region. To identify the
554
+ # cause of the error, refer to the errorCode and errorMessage values.
550
555
  #
551
556
  # @!attribute [rw] account_id
552
557
  # @return [String]
@@ -569,6 +574,15 @@ module Aws::Macie2
569
574
  # @!attribute [rw] classifiable_size_in_bytes
570
575
  # @return [Integer]
571
576
  #
577
+ # @!attribute [rw] error_code
578
+ # The error code for an error that prevented Amazon Macie from
579
+ # retrieving and processing information about an S3 bucket and the
580
+ # bucket's objects.
581
+ # @return [String]
582
+ #
583
+ # @!attribute [rw] error_message
584
+ # @return [String]
585
+ #
572
586
  # @!attribute [rw] job_details
573
587
  # Specifies whether any one-time or recurring classification jobs are
574
588
  # configured to analyze data in an S3 bucket, and, if so, the details
@@ -630,7 +644,7 @@ module Aws::Macie2
630
644
  # number of objects that Amazon Macie can't analyze in one or more S3
631
645
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
632
646
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
633
- # data is aggregated for all the buckets in the query results. If
647
+ # data is aggregated for the buckets in the query results. If
634
648
  # versioning is enabled for a bucket, total storage size values are
635
649
  # based on the size of the latest version of each applicable object in
636
650
  # the bucket.
@@ -641,7 +655,7 @@ module Aws::Macie2
641
655
  # number of objects that Amazon Macie can't analyze in one or more S3
642
656
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
643
657
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
644
- # data is aggregated for all the buckets in the query results. If
658
+ # data is aggregated for the buckets in the query results. If
645
659
  # versioning is enabled for a bucket, total storage size values are
646
660
  # based on the size of the latest version of each applicable object in
647
661
  # the bucket.
@@ -660,6 +674,8 @@ module Aws::Macie2
660
674
  :bucket_name,
661
675
  :classifiable_object_count,
662
676
  :classifiable_size_in_bytes,
677
+ :error_code,
678
+ :error_message,
663
679
  :job_details,
664
680
  :last_updated,
665
681
  :object_count,
@@ -1900,7 +1916,7 @@ module Aws::Macie2
1900
1916
 
1901
1917
  # Provides the results of a query that retrieved statistical data and
1902
1918
  # other information about one or more S3 buckets that Amazon Macie
1903
- # monitors and analyzes.
1919
+ # monitors and analyzes for your account.
1904
1920
  #
1905
1921
  # @!attribute [rw] buckets
1906
1922
  # @return [Array<Types::BucketMetadata>]
@@ -2589,7 +2605,7 @@ module Aws::Macie2
2589
2605
 
2590
2606
  # Provides the results of a query that retrieved aggregated statistical
2591
2607
  # data for all the S3 buckets that Amazon Macie monitors and analyzes
2592
- # for an account.
2608
+ # for your account.
2593
2609
  #
2594
2610
  # @!attribute [rw] bucket_count
2595
2611
  # @return [Integer]
@@ -2646,7 +2662,7 @@ module Aws::Macie2
2646
2662
  # number of objects that Amazon Macie can't analyze in one or more S3
2647
2663
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
2648
2664
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
2649
- # data is aggregated for all the buckets in the query results. If
2665
+ # data is aggregated for the buckets in the query results. If
2650
2666
  # versioning is enabled for a bucket, total storage size values are
2651
2667
  # based on the size of the latest version of each applicable object in
2652
2668
  # the bucket.
@@ -2657,7 +2673,7 @@ module Aws::Macie2
2657
2673
  # number of objects that Amazon Macie can't analyze in one or more S3
2658
2674
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
2659
2675
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
2660
- # data is aggregated for all the buckets in the query results. If
2676
+ # data is aggregated for the buckets in the query results. If
2661
2677
  # versioning is enabled for a bucket, total storage size values are
2662
2678
  # based on the size of the latest version of each applicable object in
2663
2679
  # the bucket.
@@ -4296,7 +4312,12 @@ module Aws::Macie2
4296
4312
  end
4297
4313
 
4298
4314
  # Provides statistical data and other information about an S3 bucket
4299
- # that Amazon Macie monitors and analyzes.
4315
+ # that Amazon Macie monitors and analyzes for your account. If an error
4316
+ # occurs when Macie attempts to retrieve and process information about
4317
+ # the bucket or the bucket's objects, the value for most of these
4318
+ # properties is null. Exceptions are accountId and bucketName. To
4319
+ # identify the cause of the error, refer to the errorCode and
4320
+ # errorMessage values.
4300
4321
  #
4301
4322
  # @!attribute [rw] account_id
4302
4323
  # @return [String]
@@ -4310,6 +4331,15 @@ module Aws::Macie2
4310
4331
  # @!attribute [rw] classifiable_size_in_bytes
4311
4332
  # @return [Integer]
4312
4333
  #
4334
+ # @!attribute [rw] error_code
4335
+ # The error code for an error that prevented Amazon Macie from
4336
+ # retrieving and processing information about an S3 bucket and the
4337
+ # bucket's objects.
4338
+ # @return [String]
4339
+ #
4340
+ # @!attribute [rw] error_message
4341
+ # @return [String]
4342
+ #
4313
4343
  # @!attribute [rw] job_details
4314
4344
  # Specifies whether any one-time or recurring classification jobs are
4315
4345
  # configured to analyze data in an S3 bucket, and, if so, the details
@@ -4336,7 +4366,7 @@ module Aws::Macie2
4336
4366
  # number of objects that Amazon Macie can't analyze in one or more S3
4337
4367
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
4338
4368
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
4339
- # data is aggregated for all the buckets in the query results. If
4369
+ # data is aggregated for the buckets in the query results. If
4340
4370
  # versioning is enabled for a bucket, total storage size values are
4341
4371
  # based on the size of the latest version of each applicable object in
4342
4372
  # the bucket.
@@ -4347,7 +4377,7 @@ module Aws::Macie2
4347
4377
  # number of objects that Amazon Macie can't analyze in one or more S3
4348
4378
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
4349
4379
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
4350
- # data is aggregated for all the buckets in the query results. If
4380
+ # data is aggregated for the buckets in the query results. If
4351
4381
  # versioning is enabled for a bucket, total storage size values are
4352
4382
  # based on the size of the latest version of each applicable object in
4353
4383
  # the bucket.
@@ -4360,6 +4390,8 @@ module Aws::Macie2
4360
4390
  :bucket_name,
4361
4391
  :classifiable_object_count,
4362
4392
  :classifiable_size_in_bytes,
4393
+ :error_code,
4394
+ :error_message,
4363
4395
  :job_details,
4364
4396
  :object_count,
4365
4397
  :object_count_by_encryption_type,
@@ -4372,11 +4404,17 @@ module Aws::Macie2
4372
4404
  end
4373
4405
 
4374
4406
  # Provides statistical data and other information about an Amazon Web
4375
- # Services resource that Amazon Macie monitors and analyzes.
4407
+ # Services resource that Amazon Macie monitors and analyzes for your
4408
+ # account.
4376
4409
  #
4377
4410
  # @!attribute [rw] matching_bucket
4378
4411
  # Provides statistical data and other information about an S3 bucket
4379
- # that Amazon Macie monitors and analyzes.
4412
+ # that Amazon Macie monitors and analyzes for your account. If an
4413
+ # error occurs when Macie attempts to retrieve and process information
4414
+ # about the bucket or the bucket's objects, the value for most of
4415
+ # these properties is null. Exceptions are accountId and bucketName.
4416
+ # To identify the cause of the error, refer to the errorCode and
4417
+ # errorMessage values.
4380
4418
  # @return [Types::MatchingBucket]
4381
4419
  #
4382
4420
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/MatchingResource AWS API Documentation
@@ -4495,7 +4533,7 @@ module Aws::Macie2
4495
4533
  # of objects that Amazon Macie can't analyze in one or more S3 buckets.
4496
4534
  # In a BucketMetadata or MatchingBucket object, this data is for a
4497
4535
  # specific bucket. In a GetBucketStatisticsResponse object, this data is
4498
- # aggregated for all the buckets in the query results. If versioning is
4536
+ # aggregated for the buckets in the query results. If versioning is
4499
4537
  # enabled for a bucket, total storage size values are based on the size
4500
4538
  # of the latest version of each applicable object in the bucket.
4501
4539
  #
@@ -5501,7 +5539,7 @@ module Aws::Macie2
5501
5539
 
5502
5540
  # Provides the results of a query that retrieved statistical data and
5503
5541
  # other information about Amazon Web Services resources that Amazon
5504
- # Macie monitors and analyzes.
5542
+ # Macie monitors and analyzes for your account.
5505
5543
  #
5506
5544
  # @!attribute [rw] matching_resources
5507
5545
  # @return [Array<Types::MatchingResource>]
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-macie2/customizations'
48
48
  # @!group service
49
49
  module Aws::Macie2
50
50
 
51
- GEM_VERSION = '1.34.0'
51
+ GEM_VERSION = '1.35.0'
52
52
 
53
53
  end
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.34.0
4
+ version: 1.35.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: 2021-09-16 00:00:00.000000000 Z
11
+ date: 2021-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core