aws-sdk-macie2 1.6.0 → 1.11.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
  SHA256:
3
- metadata.gz: 80aa60e9aad15bfed1af5c45507c056bc5383e9f6d1713e7d078476faf61e4cf
4
- data.tar.gz: 14394bd9f3b8d93f37fbd6df81eec563ae062a23816ddfc6a3050cf9009afe77
3
+ metadata.gz: 7dc6fc07cc713048b46697f79b9124178cd9c3a1b134c5bd994c036c0b7d8c1f
4
+ data.tar.gz: 1674077197e20b703dd2baa93289b3777b38dc290af8732a79c2346d1b7c0c82
5
5
  SHA512:
6
- metadata.gz: 6e7463e5b679b6d4c90da721b30b1f9ba898d4f174a33e1d0bb88450926f8fd4ef8c06ae9507f4aeac11e7d13c17daad14360f1a63097f10d2655bd0517da8be
7
- data.tar.gz: 41439a320744b2bc876ee3505478abfa2a33668a34123a0c87f19cb80bd6611fda2eca24ba94b94575cf4dcc8355dfe0e3e5b3ba75434118b47d5960bd32f86a
6
+ metadata.gz: 469efda9b2a931bdf83a783bc3b9ae35dd3632b2f149d9eb7bf2f3b02407370b893123c754d4ec7dff17d9466f3394c31c726e744455406208d52dcc985a0b88
7
+ data.tar.gz: 56be1fa9565b300d72665041616c2834d6d8aed63975c80592180e96d9f0c9c7eae156d61fe9fdd7584f376ae3acea262d7cb249bc342530ac40666087559dc0
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-macie2/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::Macie2
49
50
 
50
- GEM_VERSION = '1.6.0'
51
+ GEM_VERSION = '1.11.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::Macie2
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::Macie2
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -904,13 +919,14 @@ module Aws::Macie2
904
919
  # resp.buckets[0].bucket_created_at #=> Time
905
920
  # resp.buckets[0].bucket_name #=> String
906
921
  # resp.buckets[0].classifiable_object_count #=> Integer
922
+ # resp.buckets[0].classifiable_size_in_bytes #=> Integer
907
923
  # resp.buckets[0].last_updated #=> Time
908
924
  # resp.buckets[0].object_count #=> Integer
909
925
  # resp.buckets[0].object_count_by_encryption_type.customer_managed #=> Integer
910
926
  # resp.buckets[0].object_count_by_encryption_type.kms_managed #=> Integer
911
927
  # resp.buckets[0].object_count_by_encryption_type.s3_managed #=> Integer
912
928
  # resp.buckets[0].object_count_by_encryption_type.unencrypted #=> Integer
913
- # resp.buckets[0].public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC"
929
+ # resp.buckets[0].public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC", "UNKNOWN"
914
930
  # resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
915
931
  # resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
916
932
  # resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.ignore_public_acls #=> Boolean
@@ -928,12 +944,18 @@ module Aws::Macie2
928
944
  # resp.buckets[0].replication_details.replicated_externally #=> Boolean
929
945
  # resp.buckets[0].replication_details.replication_accounts #=> Array
930
946
  # resp.buckets[0].replication_details.replication_accounts[0] #=> String
931
- # resp.buckets[0].shared_access #=> String, one of "EXTERNAL", "INTERNAL", "NOT_SHARED"
947
+ # resp.buckets[0].shared_access #=> String, one of "EXTERNAL", "INTERNAL", "NOT_SHARED", "UNKNOWN"
932
948
  # resp.buckets[0].size_in_bytes #=> Integer
933
949
  # resp.buckets[0].size_in_bytes_compressed #=> Integer
934
950
  # resp.buckets[0].tags #=> Array
935
951
  # resp.buckets[0].tags[0].key #=> String
936
952
  # resp.buckets[0].tags[0].value #=> String
953
+ # resp.buckets[0].unclassifiable_object_count.file_type #=> Integer
954
+ # resp.buckets[0].unclassifiable_object_count.storage_class #=> Integer
955
+ # resp.buckets[0].unclassifiable_object_count.total #=> Integer
956
+ # resp.buckets[0].unclassifiable_object_size_in_bytes.file_type #=> Integer
957
+ # resp.buckets[0].unclassifiable_object_size_in_bytes.storage_class #=> Integer
958
+ # resp.buckets[0].unclassifiable_object_size_in_bytes.total #=> Integer
937
959
  # resp.buckets[0].versioning #=> Boolean
938
960
  # resp.next_token #=> String
939
961
  #
@@ -1199,10 +1221,13 @@ module Aws::Macie2
1199
1221
  # * {Types::GetBucketStatisticsResponse#bucket_count_by_encryption_type #bucket_count_by_encryption_type} => Types::BucketCountByEncryptionType
1200
1222
  # * {Types::GetBucketStatisticsResponse#bucket_count_by_shared_access_type #bucket_count_by_shared_access_type} => Types::BucketCountBySharedAccessType
1201
1223
  # * {Types::GetBucketStatisticsResponse#classifiable_object_count #classifiable_object_count} => Integer
1224
+ # * {Types::GetBucketStatisticsResponse#classifiable_size_in_bytes #classifiable_size_in_bytes} => Integer
1202
1225
  # * {Types::GetBucketStatisticsResponse#last_updated #last_updated} => Time
1203
1226
  # * {Types::GetBucketStatisticsResponse#object_count #object_count} => Integer
1204
1227
  # * {Types::GetBucketStatisticsResponse#size_in_bytes #size_in_bytes} => Integer
1205
1228
  # * {Types::GetBucketStatisticsResponse#size_in_bytes_compressed #size_in_bytes_compressed} => Integer
1229
+ # * {Types::GetBucketStatisticsResponse#unclassifiable_object_count #unclassifiable_object_count} => Types::ObjectLevelStatistics
1230
+ # * {Types::GetBucketStatisticsResponse#unclassifiable_object_size_in_bytes #unclassifiable_object_size_in_bytes} => Types::ObjectLevelStatistics
1206
1231
  #
1207
1232
  # @example Request syntax with placeholder values
1208
1233
  #
@@ -1223,10 +1248,17 @@ module Aws::Macie2
1223
1248
  # resp.bucket_count_by_shared_access_type.internal #=> Integer
1224
1249
  # resp.bucket_count_by_shared_access_type.not_shared #=> Integer
1225
1250
  # resp.classifiable_object_count #=> Integer
1251
+ # resp.classifiable_size_in_bytes #=> Integer
1226
1252
  # resp.last_updated #=> Time
1227
1253
  # resp.object_count #=> Integer
1228
1254
  # resp.size_in_bytes #=> Integer
1229
1255
  # resp.size_in_bytes_compressed #=> Integer
1256
+ # resp.unclassifiable_object_count.file_type #=> Integer
1257
+ # resp.unclassifiable_object_count.storage_class #=> Integer
1258
+ # resp.unclassifiable_object_count.total #=> Integer
1259
+ # resp.unclassifiable_object_size_in_bytes.file_type #=> Integer
1260
+ # resp.unclassifiable_object_size_in_bytes.storage_class #=> Integer
1261
+ # resp.unclassifiable_object_size_in_bytes.total #=> Integer
1230
1262
  #
1231
1263
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics AWS API Documentation
1232
1264
  #
@@ -1474,7 +1506,7 @@ module Aws::Macie2
1474
1506
  # resp.findings[0].resources_affected.s3_bucket.name #=> String
1475
1507
  # resp.findings[0].resources_affected.s3_bucket.owner.display_name #=> String
1476
1508
  # resp.findings[0].resources_affected.s3_bucket.owner.id #=> String
1477
- # resp.findings[0].resources_affected.s3_bucket.public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC"
1509
+ # resp.findings[0].resources_affected.s3_bucket.public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC", "UNKNOWN"
1478
1510
  # resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
1479
1511
  # resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
1480
1512
  # resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.ignore_public_acls #=> Boolean
@@ -1712,14 +1744,15 @@ module Aws::Macie2
1712
1744
  # resp = client.get_usage_statistics({
1713
1745
  # filter_by: [
1714
1746
  # {
1715
- # key: "accountId", # accepts accountId
1747
+ # comparator: "GT", # accepts GT, GTE, LT, LTE, EQ, NE, CONTAINS
1748
+ # key: "accountId", # accepts accountId, serviceLimit, freeTrialStartDate, total
1716
1749
  # values: ["__string"],
1717
1750
  # },
1718
1751
  # ],
1719
1752
  # max_results: 1,
1720
1753
  # next_token: "__string",
1721
1754
  # sort_by: {
1722
- # key: "accountId", # accepts accountId, total
1755
+ # key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
1723
1756
  # order_by: "ASC", # accepts ASC, DESC
1724
1757
  # },
1725
1758
  # })
@@ -2443,7 +2476,7 @@ module Aws::Macie2
2443
2476
  params: params,
2444
2477
  config: config)
2445
2478
  context[:gem_name] = 'aws-sdk-macie2'
2446
- context[:gem_version] = '1.6.0'
2479
+ context[:gem_version] = '1.11.0'
2447
2480
  Seahorse::Client::Request.new(handlers, context)
2448
2481
  end
2449
2482
 
@@ -183,6 +183,7 @@ module Aws::Macie2
183
183
  Member = Shapes::StructureShape.new(name: 'Member')
184
184
  MonthlySchedule = Shapes::StructureShape.new(name: 'MonthlySchedule')
185
185
  ObjectCountByEncryptionType = Shapes::StructureShape.new(name: 'ObjectCountByEncryptionType')
186
+ ObjectLevelStatistics = Shapes::StructureShape.new(name: 'ObjectLevelStatistics')
186
187
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
187
188
  PolicyDetails = Shapes::StructureShape.new(name: 'PolicyDetails')
188
189
  PutClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'PutClassificationExportConfigurationRequest')
@@ -241,6 +242,7 @@ module Aws::Macie2
241
242
  UsageByAccount = Shapes::StructureShape.new(name: 'UsageByAccount')
242
243
  UsageRecord = Shapes::StructureShape.new(name: 'UsageRecord')
243
244
  UsageStatisticsFilter = Shapes::StructureShape.new(name: 'UsageStatisticsFilter')
245
+ UsageStatisticsFilterComparator = Shapes::StringShape.new(name: 'UsageStatisticsFilterComparator')
244
246
  UsageStatisticsFilterKey = Shapes::StringShape.new(name: 'UsageStatisticsFilterKey')
245
247
  UsageStatisticsSortBy = Shapes::StructureShape.new(name: 'UsageStatisticsSortBy')
246
248
  UsageStatisticsSortKey = Shapes::StringShape.new(name: 'UsageStatisticsSortKey')
@@ -383,6 +385,7 @@ module Aws::Macie2
383
385
  BucketMetadata.add_member(:bucket_created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "bucketCreatedAt"))
384
386
  BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
385
387
  BucketMetadata.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
388
+ BucketMetadata.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
386
389
  BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
387
390
  BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
388
391
  BucketMetadata.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
@@ -393,6 +396,8 @@ module Aws::Macie2
393
396
  BucketMetadata.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
394
397
  BucketMetadata.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
395
398
  BucketMetadata.add_member(:tags, Shapes::ShapeRef.new(shape: __listOfKeyValuePair, location_name: "tags"))
399
+ BucketMetadata.add_member(:unclassifiable_object_count, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectCount"))
400
+ BucketMetadata.add_member(:unclassifiable_object_size_in_bytes, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectSizeInBytes"))
396
401
  BucketMetadata.add_member(:versioning, Shapes::ShapeRef.new(shape: __boolean, location_name: "versioning"))
397
402
  BucketMetadata.struct_class = Types::BucketMetadata
398
403
 
@@ -692,10 +697,13 @@ module Aws::Macie2
692
697
  GetBucketStatisticsResponse.add_member(:bucket_count_by_encryption_type, Shapes::ShapeRef.new(shape: BucketCountByEncryptionType, location_name: "bucketCountByEncryptionType"))
693
698
  GetBucketStatisticsResponse.add_member(:bucket_count_by_shared_access_type, Shapes::ShapeRef.new(shape: BucketCountBySharedAccessType, location_name: "bucketCountBySharedAccessType"))
694
699
  GetBucketStatisticsResponse.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
700
+ GetBucketStatisticsResponse.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
695
701
  GetBucketStatisticsResponse.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
696
702
  GetBucketStatisticsResponse.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
697
703
  GetBucketStatisticsResponse.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
698
704
  GetBucketStatisticsResponse.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
705
+ GetBucketStatisticsResponse.add_member(:unclassifiable_object_count, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectCount"))
706
+ GetBucketStatisticsResponse.add_member(:unclassifiable_object_size_in_bytes, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectSizeInBytes"))
699
707
  GetBucketStatisticsResponse.struct_class = Types::GetBucketStatisticsResponse
700
708
 
701
709
  GetClassificationExportConfigurationRequest.struct_class = Types::GetClassificationExportConfigurationRequest
@@ -963,6 +971,11 @@ module Aws::Macie2
963
971
  ObjectCountByEncryptionType.add_member(:unencrypted, Shapes::ShapeRef.new(shape: __long, location_name: "unencrypted"))
964
972
  ObjectCountByEncryptionType.struct_class = Types::ObjectCountByEncryptionType
965
973
 
974
+ ObjectLevelStatistics.add_member(:file_type, Shapes::ShapeRef.new(shape: __long, location_name: "fileType"))
975
+ ObjectLevelStatistics.add_member(:storage_class, Shapes::ShapeRef.new(shape: __long, location_name: "storageClass"))
976
+ ObjectLevelStatistics.add_member(:total, Shapes::ShapeRef.new(shape: __long, location_name: "total"))
977
+ ObjectLevelStatistics.struct_class = Types::ObjectLevelStatistics
978
+
966
979
  PolicyDetails.add_member(:action, Shapes::ShapeRef.new(shape: FindingAction, location_name: "action"))
967
980
  PolicyDetails.add_member(:actor, Shapes::ShapeRef.new(shape: FindingActor, location_name: "actor"))
968
981
  PolicyDetails.struct_class = Types::PolicyDetails
@@ -1169,6 +1182,7 @@ module Aws::Macie2
1169
1182
  UsageRecord.add_member(:usage, Shapes::ShapeRef.new(shape: __listOfUsageByAccount, location_name: "usage"))
1170
1183
  UsageRecord.struct_class = Types::UsageRecord
1171
1184
 
1185
+ UsageStatisticsFilter.add_member(:comparator, Shapes::ShapeRef.new(shape: UsageStatisticsFilterComparator, location_name: "comparator"))
1172
1186
  UsageStatisticsFilter.add_member(:key, Shapes::ShapeRef.new(shape: UsageStatisticsFilterKey, location_name: "key"))
1173
1187
  UsageStatisticsFilter.add_member(:values, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "values"))
1174
1188
  UsageStatisticsFilter.struct_class = Types::UsageStatisticsFilter
@@ -455,8 +455,8 @@ module Aws::Macie2
455
455
  include Aws::Structure
456
456
  end
457
457
 
458
- # Provides information about bucket-level permissions settings for an S3
459
- # bucket.
458
+ # Provides information about the bucket-level permissions settings for
459
+ # an S3 bucket.
460
460
  #
461
461
  # @!attribute [rw] access_control_list
462
462
  # Provides information about the permissions settings of the
@@ -508,6 +508,9 @@ module Aws::Macie2
508
508
  # @!attribute [rw] classifiable_object_count
509
509
  # @return [Integer]
510
510
  #
511
+ # @!attribute [rw] classifiable_size_in_bytes
512
+ # @return [Integer]
513
+ #
511
514
  # @!attribute [rw] last_updated
512
515
  # @return [Time]
513
516
  #
@@ -515,13 +518,13 @@ module Aws::Macie2
515
518
  # @return [Integer]
516
519
  #
517
520
  # @!attribute [rw] object_count_by_encryption_type
518
- # The total number of objects that are in the bucket, grouped by
519
- # server-side encryption type. This includes a grouping that reports
520
- # the total number of objects that aren't encrypted.
521
+ # Provides information about the number of objects that are in an S3
522
+ # bucket and use certain types of server-side encryption, use
523
+ # client-side encryption, or aren't encrypted.
521
524
  # @return [Types::ObjectCountByEncryptionType]
522
525
  #
523
526
  # @!attribute [rw] public_access
524
- # Provides information about permissions settings that determine
527
+ # Provides information about the permissions settings that determine
525
528
  # whether an S3 bucket is publicly accessible.
526
529
  # @return [Types::BucketPublicAccess]
527
530
  #
@@ -546,6 +549,22 @@ module Aws::Macie2
546
549
  # @!attribute [rw] tags
547
550
  # @return [Array<Types::KeyValuePair>]
548
551
  #
552
+ # @!attribute [rw] unclassifiable_object_count
553
+ # Provides information about the total storage size (in bytes) or
554
+ # number of objects that Amazon Macie can't analyze in one or more S3
555
+ # buckets. In a BucketMetadata object, this data is for a specific
556
+ # bucket. In a GetBucketStatisticsResponse object, this data is
557
+ # aggregated for all the buckets in the query results.
558
+ # @return [Types::ObjectLevelStatistics]
559
+ #
560
+ # @!attribute [rw] unclassifiable_object_size_in_bytes
561
+ # Provides information about the total storage size (in bytes) or
562
+ # number of objects that Amazon Macie can't analyze in one or more S3
563
+ # buckets. In a BucketMetadata object, this data is for a specific
564
+ # bucket. In a GetBucketStatisticsResponse object, this data is
565
+ # aggregated for all the buckets in the query results.
566
+ # @return [Types::ObjectLevelStatistics]
567
+ #
549
568
  # @!attribute [rw] versioning
550
569
  # @return [Boolean]
551
570
  #
@@ -557,6 +576,7 @@ module Aws::Macie2
557
576
  :bucket_created_at,
558
577
  :bucket_name,
559
578
  :classifiable_object_count,
579
+ :classifiable_size_in_bytes,
560
580
  :last_updated,
561
581
  :object_count,
562
582
  :object_count_by_encryption_type,
@@ -567,13 +587,15 @@ module Aws::Macie2
567
587
  :size_in_bytes,
568
588
  :size_in_bytes_compressed,
569
589
  :tags,
590
+ :unclassifiable_object_count,
591
+ :unclassifiable_object_size_in_bytes,
570
592
  :versioning)
571
593
  SENSITIVE = []
572
594
  include Aws::Structure
573
595
  end
574
596
 
575
- # The account-level and bucket-level permissions settings for an S3
576
- # bucket.
597
+ # Provides information about the account-level and bucket-level
598
+ # permissions settings for an S3 bucket.
577
599
  #
578
600
  # @!attribute [rw] account_level_permissions
579
601
  # Provides information about account-level permissions settings that
@@ -581,8 +603,8 @@ module Aws::Macie2
581
603
  # @return [Types::AccountLevelPermissions]
582
604
  #
583
605
  # @!attribute [rw] bucket_level_permissions
584
- # Provides information about bucket-level permissions settings for an
585
- # S3 bucket.
606
+ # Provides information about the bucket-level permissions settings for
607
+ # an S3 bucket.
586
608
  # @return [Types::BucketLevelPermissions]
587
609
  #
588
610
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketPermissionConfiguration AWS API Documentation
@@ -612,15 +634,15 @@ module Aws::Macie2
612
634
  include Aws::Structure
613
635
  end
614
636
 
615
- # Provides information about permissions settings that determine whether
616
- # an S3 bucket is publicly accessible.
637
+ # Provides information about the permissions settings that determine
638
+ # whether an S3 bucket is publicly accessible.
617
639
  #
618
640
  # @!attribute [rw] effective_permission
619
641
  # @return [String]
620
642
  #
621
643
  # @!attribute [rw] permission_configuration
622
- # The account-level and bucket-level permissions settings for an S3
623
- # bucket.
644
+ # Provides information about the account-level and bucket-level
645
+ # permissions settings for an S3 bucket.
624
646
  # @return [Types::BucketPermissionConfiguration]
625
647
  #
626
648
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketPublicAccess AWS API Documentation
@@ -785,9 +807,9 @@ module Aws::Macie2
785
807
 
786
808
  # Specifies the scope, schedule, and other settings for a classification
787
809
  # job. You can't delete or change the settings for a classification job
788
- # after you create it. In Amazon Macie, classification jobs are
789
- # immutable. This ensures accurate data classification results for
790
- # audits or investigations.
810
+ # after you create it. This helps ensure that you have an immutable
811
+ # history of sensitive data findings and discovery results for data
812
+ # privacy and protection audits or investigations.
791
813
  #
792
814
  # @note When making an API call, you may pass CreateClassificationJobRequest
793
815
  # data as a hash:
@@ -945,9 +967,9 @@ module Aws::Macie2
945
967
 
946
968
  # Specifies the criteria and other settings for a new custom data
947
969
  # identifier. You can't change a custom data identifier after you
948
- # create it. In Amazon Macie, custom data identifiers are immutable.
949
- # This ensures accurate data classification results for audits or
950
- # investigations.
970
+ # create it. This helps ensure that you have an immutable history of
971
+ # sensitive data findings and discovery results for data privacy and
972
+ # protection audits or investigations.
951
973
  #
952
974
  # @note When making an API call, you may pass CreateCustomDataIdentifierRequest
953
975
  # data as a hash:
@@ -2142,8 +2164,8 @@ module Aws::Macie2
2142
2164
  include Aws::Structure
2143
2165
  end
2144
2166
 
2145
- # Specifies an account that's associated with the S3 buckets to
2146
- # retrieve aggregated statistical data for.
2167
+ # Specifies the account that owns the S3 buckets to retrieve aggregated
2168
+ # statistical data for.
2147
2169
  #
2148
2170
  # @note When making an API call, you may pass GetBucketStatisticsRequest
2149
2171
  # data as a hash:
@@ -2164,8 +2186,7 @@ module Aws::Macie2
2164
2186
  end
2165
2187
 
2166
2188
  # Provides the results of a query that retrieved aggregated statistical
2167
- # data for all the S3 buckets that Amazon Macie monitors and analyzes
2168
- # for an account.
2189
+ # data for the S3 buckets that are owned by an account.
2169
2190
  #
2170
2191
  # @!attribute [rw] bucket_count
2171
2192
  # @return [Integer]
@@ -2190,6 +2211,9 @@ module Aws::Macie2
2190
2211
  # @!attribute [rw] classifiable_object_count
2191
2212
  # @return [Integer]
2192
2213
  #
2214
+ # @!attribute [rw] classifiable_size_in_bytes
2215
+ # @return [Integer]
2216
+ #
2193
2217
  # @!attribute [rw] last_updated
2194
2218
  # @return [Time]
2195
2219
  #
@@ -2202,6 +2226,22 @@ module Aws::Macie2
2202
2226
  # @!attribute [rw] size_in_bytes_compressed
2203
2227
  # @return [Integer]
2204
2228
  #
2229
+ # @!attribute [rw] unclassifiable_object_count
2230
+ # Provides information about the total storage size (in bytes) or
2231
+ # number of objects that Amazon Macie can't analyze in one or more S3
2232
+ # buckets. In a BucketMetadata object, this data is for a specific
2233
+ # bucket. In a GetBucketStatisticsResponse object, this data is
2234
+ # aggregated for all the buckets in the query results.
2235
+ # @return [Types::ObjectLevelStatistics]
2236
+ #
2237
+ # @!attribute [rw] unclassifiable_object_size_in_bytes
2238
+ # Provides information about the total storage size (in bytes) or
2239
+ # number of objects that Amazon Macie can't analyze in one or more S3
2240
+ # buckets. In a BucketMetadata object, this data is for a specific
2241
+ # bucket. In a GetBucketStatisticsResponse object, this data is
2242
+ # aggregated for all the buckets in the query results.
2243
+ # @return [Types::ObjectLevelStatistics]
2244
+ #
2205
2245
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatisticsResponse AWS API Documentation
2206
2246
  #
2207
2247
  class GetBucketStatisticsResponse < Struct.new(
@@ -2210,10 +2250,13 @@ module Aws::Macie2
2210
2250
  :bucket_count_by_encryption_type,
2211
2251
  :bucket_count_by_shared_access_type,
2212
2252
  :classifiable_object_count,
2253
+ :classifiable_size_in_bytes,
2213
2254
  :last_updated,
2214
2255
  :object_count,
2215
2256
  :size_in_bytes,
2216
- :size_in_bytes_compressed)
2257
+ :size_in_bytes_compressed,
2258
+ :unclassifiable_object_count,
2259
+ :unclassifiable_object_size_in_bytes)
2217
2260
  SENSITIVE = []
2218
2261
  include Aws::Structure
2219
2262
  end
@@ -2660,14 +2703,15 @@ module Aws::Macie2
2660
2703
  # {
2661
2704
  # filter_by: [
2662
2705
  # {
2663
- # key: "accountId", # accepts accountId
2706
+ # comparator: "GT", # accepts GT, GTE, LT, LTE, EQ, NE, CONTAINS
2707
+ # key: "accountId", # accepts accountId, serviceLimit, freeTrialStartDate, total
2664
2708
  # values: ["__string"],
2665
2709
  # },
2666
2710
  # ],
2667
2711
  # max_results: 1,
2668
2712
  # next_token: "__string",
2669
2713
  # sort_by: {
2670
- # key: "accountId", # accepts accountId, total
2714
+ # key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
2671
2715
  # order_by: "ASC", # accepts ASC, DESC
2672
2716
  # },
2673
2717
  # }
@@ -3678,9 +3722,9 @@ module Aws::Macie2
3678
3722
  include Aws::Structure
3679
3723
  end
3680
3724
 
3681
- # The total number of objects that are in the bucket, grouped by
3682
- # server-side encryption type. This includes a grouping that reports the
3683
- # total number of objects that aren't encrypted.
3725
+ # Provides information about the number of objects that are in an S3
3726
+ # bucket and use certain types of server-side encryption, use
3727
+ # client-side encryption, or aren't encrypted.
3684
3728
  #
3685
3729
  # @!attribute [rw] customer_managed
3686
3730
  # @return [Integer]
@@ -3705,6 +3749,31 @@ module Aws::Macie2
3705
3749
  include Aws::Structure
3706
3750
  end
3707
3751
 
3752
+ # Provides information about the total storage size (in bytes) or number
3753
+ # of objects that Amazon Macie can't analyze in one or more S3 buckets.
3754
+ # In a BucketMetadata object, this data is for a specific bucket. In a
3755
+ # GetBucketStatisticsResponse object, this data is aggregated for all
3756
+ # the buckets in the query results.
3757
+ #
3758
+ # @!attribute [rw] file_type
3759
+ # @return [Integer]
3760
+ #
3761
+ # @!attribute [rw] storage_class
3762
+ # @return [Integer]
3763
+ #
3764
+ # @!attribute [rw] total
3765
+ # @return [Integer]
3766
+ #
3767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ObjectLevelStatistics AWS API Documentation
3768
+ #
3769
+ class ObjectLevelStatistics < Struct.new(
3770
+ :file_type,
3771
+ :storage_class,
3772
+ :total)
3773
+ SENSITIVE = []
3774
+ include Aws::Structure
3775
+ end
3776
+
3708
3777
  # Provides the details of a policy finding.
3709
3778
  #
3710
3779
  # @!attribute [rw] action
@@ -3853,7 +3922,7 @@ module Aws::Macie2
3853
3922
  # @return [Types::S3BucketOwner]
3854
3923
  #
3855
3924
  # @!attribute [rw] public_access
3856
- # Provides information about permissions settings that determine
3925
+ # Provides information about the permissions settings that determine
3857
3926
  # whether an S3 bucket is publicly accessible.
3858
3927
  # @return [Types::BucketPublicAccess]
3859
3928
  #
@@ -4897,20 +4966,26 @@ module Aws::Macie2
4897
4966
  include Aws::Structure
4898
4967
  end
4899
4968
 
4900
- # Specifies criteria for filtering the results of a query for account
4969
+ # Specifies a condition for filtering the results of a query for account
4901
4970
  # quotas and usage data.
4902
4971
  #
4903
4972
  # @note When making an API call, you may pass UsageStatisticsFilter
4904
4973
  # data as a hash:
4905
4974
  #
4906
4975
  # {
4907
- # key: "accountId", # accepts accountId
4976
+ # comparator: "GT", # accepts GT, GTE, LT, LTE, EQ, NE, CONTAINS
4977
+ # key: "accountId", # accepts accountId, serviceLimit, freeTrialStartDate, total
4908
4978
  # values: ["__string"],
4909
4979
  # }
4910
4980
  #
4981
+ # @!attribute [rw] comparator
4982
+ # The operator to use in a condition that filters the results of a
4983
+ # query for account quotas and usage data. Valid values are:
4984
+ # @return [String]
4985
+ #
4911
4986
  # @!attribute [rw] key
4912
- # The field to use to filter the results of a query for account quotas
4913
- # and usage data:
4987
+ # The field to use in a condition that filters the results of a query
4988
+ # for account quotas and usage data. Valid values are:
4914
4989
  # @return [String]
4915
4990
  #
4916
4991
  # @!attribute [rw] values
@@ -4919,6 +4994,7 @@ module Aws::Macie2
4919
4994
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageStatisticsFilter AWS API Documentation
4920
4995
  #
4921
4996
  class UsageStatisticsFilter < Struct.new(
4997
+ :comparator,
4922
4998
  :key,
4923
4999
  :values)
4924
5000
  SENSITIVE = []
@@ -4932,7 +5008,7 @@ module Aws::Macie2
4932
5008
  # data as a hash:
4933
5009
  #
4934
5010
  # {
4935
- # key: "accountId", # accepts accountId, total
5011
+ # key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
4936
5012
  # order_by: "ASC", # accepts ASC, DESC
4937
5013
  # }
4938
5014
  #
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.6.0
4
+ version: 1.11.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: 2020-07-17 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core