aws-sdk-macie2 1.7.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-macie2.rb +3 -2
- data/lib/aws-sdk-macie2/client.rb +43 -11
- data/lib/aws-sdk-macie2/client_api.rb +12 -0
- data/lib/aws-sdk-macie2/types.rb +91 -23
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4591575494f80e4e2c9b72f61c1bbf74941af846da2daaa331ff5f717d57d852
|
4
|
+
data.tar.gz: 95d83d23ade284ebd5b58648514c377293fa0ca17c479a975f3f68e7e1d2e6d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e4e8e0309e6b102000566261f3305aae5bb7d3c8af23a5f3e0ae4bf63277736a0e916d752be04ad1be96126ef80c38dbdaa09769c515a1133e4219e876bbe22
|
7
|
+
data.tar.gz: 3594a225da38b624ef4e568c54f175c7b25985dc1d672d62bf9f096e38c5f65acf64393ffc2fdb2de085eb170a4277f20a8e90ba8191befb022af54b4e2269ea
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -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
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::Macie2
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.12.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::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
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
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
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
|
@@ -2444,7 +2476,7 @@ module Aws::Macie2
|
|
2444
2476
|
params: params,
|
2445
2477
|
config: config)
|
2446
2478
|
context[:gem_name] = 'aws-sdk-macie2'
|
2447
|
-
context[:gem_version] = '1.
|
2479
|
+
context[:gem_version] = '1.12.0'
|
2448
2480
|
Seahorse::Client::Request.new(handlers, context)
|
2449
2481
|
end
|
2450
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')
|
@@ -384,6 +385,7 @@ module Aws::Macie2
|
|
384
385
|
BucketMetadata.add_member(:bucket_created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "bucketCreatedAt"))
|
385
386
|
BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
|
386
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"))
|
387
389
|
BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
|
388
390
|
BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
|
389
391
|
BucketMetadata.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
|
@@ -394,6 +396,8 @@ module Aws::Macie2
|
|
394
396
|
BucketMetadata.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
|
395
397
|
BucketMetadata.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
|
396
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"))
|
397
401
|
BucketMetadata.add_member(:versioning, Shapes::ShapeRef.new(shape: __boolean, location_name: "versioning"))
|
398
402
|
BucketMetadata.struct_class = Types::BucketMetadata
|
399
403
|
|
@@ -693,10 +697,13 @@ module Aws::Macie2
|
|
693
697
|
GetBucketStatisticsResponse.add_member(:bucket_count_by_encryption_type, Shapes::ShapeRef.new(shape: BucketCountByEncryptionType, location_name: "bucketCountByEncryptionType"))
|
694
698
|
GetBucketStatisticsResponse.add_member(:bucket_count_by_shared_access_type, Shapes::ShapeRef.new(shape: BucketCountBySharedAccessType, location_name: "bucketCountBySharedAccessType"))
|
695
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"))
|
696
701
|
GetBucketStatisticsResponse.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
|
697
702
|
GetBucketStatisticsResponse.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
|
698
703
|
GetBucketStatisticsResponse.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
|
699
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"))
|
700
707
|
GetBucketStatisticsResponse.struct_class = Types::GetBucketStatisticsResponse
|
701
708
|
|
702
709
|
GetClassificationExportConfigurationRequest.struct_class = Types::GetClassificationExportConfigurationRequest
|
@@ -964,6 +971,11 @@ module Aws::Macie2
|
|
964
971
|
ObjectCountByEncryptionType.add_member(:unencrypted, Shapes::ShapeRef.new(shape: __long, location_name: "unencrypted"))
|
965
972
|
ObjectCountByEncryptionType.struct_class = Types::ObjectCountByEncryptionType
|
966
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
|
+
|
967
979
|
PolicyDetails.add_member(:action, Shapes::ShapeRef.new(shape: FindingAction, location_name: "action"))
|
968
980
|
PolicyDetails.add_member(:actor, Shapes::ShapeRef.new(shape: FindingActor, location_name: "actor"))
|
969
981
|
PolicyDetails.struct_class = Types::PolicyDetails
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -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
|
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
|
#
|
@@ -521,7 +524,7 @@ module Aws::Macie2
|
|
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
|
-
#
|
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
|
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
|
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
|
-
#
|
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.
|
789
|
-
#
|
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.
|
949
|
-
#
|
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
|
2146
|
-
#
|
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
|
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
|
@@ -3706,6 +3749,31 @@ module Aws::Macie2
|
|
3706
3749
|
include Aws::Structure
|
3707
3750
|
end
|
3708
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
|
+
|
3709
3777
|
# Provides the details of a policy finding.
|
3710
3778
|
#
|
3711
3779
|
# @!attribute [rw] action
|
@@ -3854,7 +3922,7 @@ module Aws::Macie2
|
|
3854
3922
|
# @return [Types::S3BucketOwner]
|
3855
3923
|
#
|
3856
3924
|
# @!attribute [rw] public_access
|
3857
|
-
# Provides information about permissions settings that determine
|
3925
|
+
# Provides information about the permissions settings that determine
|
3858
3926
|
# whether an S3 bucket is publicly accessible.
|
3859
3927
|
# @return [Types::BucketPublicAccess]
|
3860
3928
|
#
|
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.
|
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: 2020-
|
11
|
+
date: 2020-09-30 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.
|
22
|
+
version: 3.109.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.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|