aws-sdk-macie2 1.22.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +148 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-macie2.rb +2 -2
- data/lib/aws-sdk-macie2/client.rb +147 -19
- data/lib/aws-sdk-macie2/client_api.rb +110 -2
- data/lib/aws-sdk-macie2/errors.rb +1 -1
- data/lib/aws-sdk-macie2/resource.rb +1 -1
- data/lib/aws-sdk-macie2/types.rb +293 -50
- metadata +9 -7
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -21,6 +21,7 @@ module Aws::Macie2
|
|
21
21
|
AccountLevelPermissions = Shapes::StructureShape.new(name: 'AccountLevelPermissions')
|
22
22
|
AdminAccount = Shapes::StructureShape.new(name: 'AdminAccount')
|
23
23
|
AdminStatus = Shapes::StringShape.new(name: 'AdminStatus')
|
24
|
+
AllowsUnencryptedObjectUploads = Shapes::StringShape.new(name: 'AllowsUnencryptedObjectUploads')
|
24
25
|
ApiCallDetails = Shapes::StructureShape.new(name: 'ApiCallDetails')
|
25
26
|
AssumedRole = Shapes::StructureShape.new(name: 'AssumedRole')
|
26
27
|
AwsAccount = Shapes::StructureShape.new(name: 'AwsAccount')
|
@@ -32,6 +33,7 @@ module Aws::Macie2
|
|
32
33
|
BucketCountByEffectivePermission = Shapes::StructureShape.new(name: 'BucketCountByEffectivePermission')
|
33
34
|
BucketCountByEncryptionType = Shapes::StructureShape.new(name: 'BucketCountByEncryptionType')
|
34
35
|
BucketCountBySharedAccessType = Shapes::StructureShape.new(name: 'BucketCountBySharedAccessType')
|
36
|
+
BucketCountPolicyAllowsUnencryptedObjectUploads = Shapes::StructureShape.new(name: 'BucketCountPolicyAllowsUnencryptedObjectUploads')
|
35
37
|
BucketCriteria = Shapes::MapShape.new(name: 'BucketCriteria')
|
36
38
|
BucketCriteriaAdditionalProperties = Shapes::StructureShape.new(name: 'BucketCriteriaAdditionalProperties')
|
37
39
|
BucketLevelPermissions = Shapes::StructureShape.new(name: 'BucketLevelPermissions')
|
@@ -91,6 +93,8 @@ module Aws::Macie2
|
|
91
93
|
DisableMacieResponse = Shapes::StructureShape.new(name: 'DisableMacieResponse')
|
92
94
|
DisableOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'DisableOrganizationAdminAccountRequest')
|
93
95
|
DisableOrganizationAdminAccountResponse = Shapes::StructureShape.new(name: 'DisableOrganizationAdminAccountResponse')
|
96
|
+
DisassociateFromAdministratorAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromAdministratorAccountRequest')
|
97
|
+
DisassociateFromAdministratorAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromAdministratorAccountResponse')
|
94
98
|
DisassociateFromMasterAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountRequest')
|
95
99
|
DisassociateFromMasterAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountResponse')
|
96
100
|
DisassociateMemberRequest = Shapes::StructureShape.new(name: 'DisassociateMemberRequest')
|
@@ -117,6 +121,8 @@ module Aws::Macie2
|
|
117
121
|
FindingType = Shapes::StringShape.new(name: 'FindingType')
|
118
122
|
FindingsFilterAction = Shapes::StringShape.new(name: 'FindingsFilterAction')
|
119
123
|
FindingsFilterListItem = Shapes::StructureShape.new(name: 'FindingsFilterListItem')
|
124
|
+
GetAdministratorAccountRequest = Shapes::StructureShape.new(name: 'GetAdministratorAccountRequest')
|
125
|
+
GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
|
120
126
|
GetBucketStatisticsRequest = Shapes::StructureShape.new(name: 'GetBucketStatisticsRequest')
|
121
127
|
GetBucketStatisticsResponse = Shapes::StructureShape.new(name: 'GetBucketStatisticsResponse')
|
122
128
|
GetClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'GetClassificationExportConfigurationRequest')
|
@@ -127,6 +133,8 @@ module Aws::Macie2
|
|
127
133
|
GetFindingStatisticsResponse = Shapes::StructureShape.new(name: 'GetFindingStatisticsResponse')
|
128
134
|
GetFindingsFilterRequest = Shapes::StructureShape.new(name: 'GetFindingsFilterRequest')
|
129
135
|
GetFindingsFilterResponse = Shapes::StructureShape.new(name: 'GetFindingsFilterResponse')
|
136
|
+
GetFindingsPublicationConfigurationRequest = Shapes::StructureShape.new(name: 'GetFindingsPublicationConfigurationRequest')
|
137
|
+
GetFindingsPublicationConfigurationResponse = Shapes::StructureShape.new(name: 'GetFindingsPublicationConfigurationResponse')
|
130
138
|
GetFindingsRequest = Shapes::StructureShape.new(name: 'GetFindingsRequest')
|
131
139
|
GetFindingsResponse = Shapes::StructureShape.new(name: 'GetFindingsResponse')
|
132
140
|
GetInvitationsCountRequest = Shapes::StructureShape.new(name: 'GetInvitationsCountRequest')
|
@@ -199,6 +207,8 @@ module Aws::Macie2
|
|
199
207
|
PolicyDetails = Shapes::StructureShape.new(name: 'PolicyDetails')
|
200
208
|
PutClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'PutClassificationExportConfigurationRequest')
|
201
209
|
PutClassificationExportConfigurationResponse = Shapes::StructureShape.new(name: 'PutClassificationExportConfigurationResponse')
|
210
|
+
PutFindingsPublicationConfigurationRequest = Shapes::StructureShape.new(name: 'PutFindingsPublicationConfigurationRequest')
|
211
|
+
PutFindingsPublicationConfigurationResponse = Shapes::StructureShape.new(name: 'PutFindingsPublicationConfigurationResponse')
|
202
212
|
Range = Shapes::StructureShape.new(name: 'Range')
|
203
213
|
Ranges = Shapes::ListShape.new(name: 'Ranges')
|
204
214
|
Record = Shapes::StructureShape.new(name: 'Record')
|
@@ -215,6 +225,7 @@ module Aws::Macie2
|
|
215
225
|
S3Object = Shapes::StructureShape.new(name: 'S3Object')
|
216
226
|
ScopeFilterKey = Shapes::StringShape.new(name: 'ScopeFilterKey')
|
217
227
|
Scoping = Shapes::StructureShape.new(name: 'Scoping')
|
228
|
+
SecurityHubConfiguration = Shapes::StructureShape.new(name: 'SecurityHubConfiguration')
|
218
229
|
SensitiveData = Shapes::ListShape.new(name: 'SensitiveData')
|
219
230
|
SensitiveDataItem = Shapes::StructureShape.new(name: 'SensitiveDataItem')
|
220
231
|
SensitiveDataItemCategory = Shapes::StringShape.new(name: 'SensitiveDataItemCategory')
|
@@ -301,8 +312,9 @@ module Aws::Macie2
|
|
301
312
|
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
302
313
|
__timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
|
303
314
|
|
315
|
+
AcceptInvitationRequest.add_member(:administrator_account_id, Shapes::ShapeRef.new(shape: __string, location_name: "administratorAccountId"))
|
304
316
|
AcceptInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "invitationId"))
|
305
|
-
AcceptInvitationRequest.add_member(:master_account, Shapes::ShapeRef.new(shape: __string,
|
317
|
+
AcceptInvitationRequest.add_member(:master_account, Shapes::ShapeRef.new(shape: __string, location_name: "masterAccount"))
|
306
318
|
AcceptInvitationRequest.struct_class = Types::AcceptInvitationRequest
|
307
319
|
|
308
320
|
AcceptInvitationResponse.struct_class = Types::AcceptInvitationResponse
|
@@ -375,6 +387,7 @@ module Aws::Macie2
|
|
375
387
|
BucketCountByEncryptionType.add_member(:kms_managed, Shapes::ShapeRef.new(shape: __long, location_name: "kmsManaged"))
|
376
388
|
BucketCountByEncryptionType.add_member(:s3_managed, Shapes::ShapeRef.new(shape: __long, location_name: "s3Managed"))
|
377
389
|
BucketCountByEncryptionType.add_member(:unencrypted, Shapes::ShapeRef.new(shape: __long, location_name: "unencrypted"))
|
390
|
+
BucketCountByEncryptionType.add_member(:unknown, Shapes::ShapeRef.new(shape: __long, location_name: "unknown"))
|
378
391
|
BucketCountByEncryptionType.struct_class = Types::BucketCountByEncryptionType
|
379
392
|
|
380
393
|
BucketCountBySharedAccessType.add_member(:external, Shapes::ShapeRef.new(shape: __long, location_name: "external"))
|
@@ -383,6 +396,11 @@ module Aws::Macie2
|
|
383
396
|
BucketCountBySharedAccessType.add_member(:unknown, Shapes::ShapeRef.new(shape: __long, location_name: "unknown"))
|
384
397
|
BucketCountBySharedAccessType.struct_class = Types::BucketCountBySharedAccessType
|
385
398
|
|
399
|
+
BucketCountPolicyAllowsUnencryptedObjectUploads.add_member(:allows_unencrypted_object_uploads, Shapes::ShapeRef.new(shape: __long, location_name: "allowsUnencryptedObjectUploads"))
|
400
|
+
BucketCountPolicyAllowsUnencryptedObjectUploads.add_member(:denies_unencrypted_object_uploads, Shapes::ShapeRef.new(shape: __long, location_name: "deniesUnencryptedObjectUploads"))
|
401
|
+
BucketCountPolicyAllowsUnencryptedObjectUploads.add_member(:unknown, Shapes::ShapeRef.new(shape: __long, location_name: "unknown"))
|
402
|
+
BucketCountPolicyAllowsUnencryptedObjectUploads.struct_class = Types::BucketCountPolicyAllowsUnencryptedObjectUploads
|
403
|
+
|
386
404
|
BucketCriteria.key = Shapes::ShapeRef.new(shape: __string)
|
387
405
|
BucketCriteria.value = Shapes::ShapeRef.new(shape: BucketCriteriaAdditionalProperties)
|
388
406
|
|
@@ -401,6 +419,7 @@ module Aws::Macie2
|
|
401
419
|
BucketLevelPermissions.struct_class = Types::BucketLevelPermissions
|
402
420
|
|
403
421
|
BucketMetadata.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
422
|
+
BucketMetadata.add_member(:allows_unencrypted_object_uploads, Shapes::ShapeRef.new(shape: AllowsUnencryptedObjectUploads, location_name: "allowsUnencryptedObjectUploads"))
|
404
423
|
BucketMetadata.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: __string, location_name: "bucketArn"))
|
405
424
|
BucketMetadata.add_member(:bucket_created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "bucketCreatedAt"))
|
406
425
|
BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
|
@@ -652,6 +671,10 @@ module Aws::Macie2
|
|
652
671
|
|
653
672
|
DisableOrganizationAdminAccountResponse.struct_class = Types::DisableOrganizationAdminAccountResponse
|
654
673
|
|
674
|
+
DisassociateFromAdministratorAccountRequest.struct_class = Types::DisassociateFromAdministratorAccountRequest
|
675
|
+
|
676
|
+
DisassociateFromAdministratorAccountResponse.struct_class = Types::DisassociateFromAdministratorAccountResponse
|
677
|
+
|
655
678
|
DisassociateFromMasterAccountRequest.struct_class = Types::DisassociateFromMasterAccountRequest
|
656
679
|
|
657
680
|
DisassociateFromMasterAccountResponse.struct_class = Types::DisassociateFromMasterAccountResponse
|
@@ -729,12 +752,18 @@ module Aws::Macie2
|
|
729
752
|
FindingsFilterListItem.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
730
753
|
FindingsFilterListItem.struct_class = Types::FindingsFilterListItem
|
731
754
|
|
755
|
+
GetAdministratorAccountRequest.struct_class = Types::GetAdministratorAccountRequest
|
756
|
+
|
757
|
+
GetAdministratorAccountResponse.add_member(:administrator, Shapes::ShapeRef.new(shape: Invitation, location_name: "administrator"))
|
758
|
+
GetAdministratorAccountResponse.struct_class = Types::GetAdministratorAccountResponse
|
759
|
+
|
732
760
|
GetBucketStatisticsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
733
761
|
GetBucketStatisticsRequest.struct_class = Types::GetBucketStatisticsRequest
|
734
762
|
|
735
763
|
GetBucketStatisticsResponse.add_member(:bucket_count, Shapes::ShapeRef.new(shape: __long, location_name: "bucketCount"))
|
736
764
|
GetBucketStatisticsResponse.add_member(:bucket_count_by_effective_permission, Shapes::ShapeRef.new(shape: BucketCountByEffectivePermission, location_name: "bucketCountByEffectivePermission"))
|
737
765
|
GetBucketStatisticsResponse.add_member(:bucket_count_by_encryption_type, Shapes::ShapeRef.new(shape: BucketCountByEncryptionType, location_name: "bucketCountByEncryptionType"))
|
766
|
+
GetBucketStatisticsResponse.add_member(:bucket_count_by_object_encryption_requirement, Shapes::ShapeRef.new(shape: BucketCountPolicyAllowsUnencryptedObjectUploads, location_name: "bucketCountByObjectEncryptionRequirement"))
|
738
767
|
GetBucketStatisticsResponse.add_member(:bucket_count_by_shared_access_type, Shapes::ShapeRef.new(shape: BucketCountBySharedAccessType, location_name: "bucketCountBySharedAccessType"))
|
739
768
|
GetBucketStatisticsResponse.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
|
740
769
|
GetBucketStatisticsResponse.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
|
@@ -789,6 +818,11 @@ module Aws::Macie2
|
|
789
818
|
GetFindingsFilterResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
790
819
|
GetFindingsFilterResponse.struct_class = Types::GetFindingsFilterResponse
|
791
820
|
|
821
|
+
GetFindingsPublicationConfigurationRequest.struct_class = Types::GetFindingsPublicationConfigurationRequest
|
822
|
+
|
823
|
+
GetFindingsPublicationConfigurationResponse.add_member(:security_hub_configuration, Shapes::ShapeRef.new(shape: SecurityHubConfiguration, location_name: "securityHubConfiguration"))
|
824
|
+
GetFindingsPublicationConfigurationResponse.struct_class = Types::GetFindingsPublicationConfigurationResponse
|
825
|
+
|
792
826
|
GetFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "findingIds"))
|
793
827
|
GetFindingsRequest.add_member(:sort_criteria, Shapes::ShapeRef.new(shape: SortCriteria, location_name: "sortCriteria"))
|
794
828
|
GetFindingsRequest.struct_class = Types::GetFindingsRequest
|
@@ -819,6 +853,7 @@ module Aws::Macie2
|
|
819
853
|
GetMemberRequest.struct_class = Types::GetMemberRequest
|
820
854
|
|
821
855
|
GetMemberResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
856
|
+
GetMemberResponse.add_member(:administrator_account_id, Shapes::ShapeRef.new(shape: __string, location_name: "administratorAccountId"))
|
822
857
|
GetMemberResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
823
858
|
GetMemberResponse.add_member(:email, Shapes::ShapeRef.new(shape: __string, location_name: "email"))
|
824
859
|
GetMemberResponse.add_member(:invited_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "invitedAt"))
|
@@ -1008,6 +1043,7 @@ module Aws::Macie2
|
|
1008
1043
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1009
1044
|
|
1010
1045
|
Member.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
1046
|
+
Member.add_member(:administrator_account_id, Shapes::ShapeRef.new(shape: __string, location_name: "administratorAccountId"))
|
1011
1047
|
Member.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
1012
1048
|
Member.add_member(:email, Shapes::ShapeRef.new(shape: __string, location_name: "email"))
|
1013
1049
|
Member.add_member(:invited_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "invitedAt"))
|
@@ -1024,6 +1060,7 @@ module Aws::Macie2
|
|
1024
1060
|
ObjectCountByEncryptionType.add_member(:kms_managed, Shapes::ShapeRef.new(shape: __long, location_name: "kmsManaged"))
|
1025
1061
|
ObjectCountByEncryptionType.add_member(:s3_managed, Shapes::ShapeRef.new(shape: __long, location_name: "s3Managed"))
|
1026
1062
|
ObjectCountByEncryptionType.add_member(:unencrypted, Shapes::ShapeRef.new(shape: __long, location_name: "unencrypted"))
|
1063
|
+
ObjectCountByEncryptionType.add_member(:unknown, Shapes::ShapeRef.new(shape: __long, location_name: "unknown"))
|
1027
1064
|
ObjectCountByEncryptionType.struct_class = Types::ObjectCountByEncryptionType
|
1028
1065
|
|
1029
1066
|
ObjectLevelStatistics.add_member(:file_type, Shapes::ShapeRef.new(shape: __long, location_name: "fileType"))
|
@@ -1055,6 +1092,12 @@ module Aws::Macie2
|
|
1055
1092
|
PutClassificationExportConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: ClassificationExportConfiguration, location_name: "configuration"))
|
1056
1093
|
PutClassificationExportConfigurationResponse.struct_class = Types::PutClassificationExportConfigurationResponse
|
1057
1094
|
|
1095
|
+
PutFindingsPublicationConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1096
|
+
PutFindingsPublicationConfigurationRequest.add_member(:security_hub_configuration, Shapes::ShapeRef.new(shape: SecurityHubConfiguration, location_name: "securityHubConfiguration"))
|
1097
|
+
PutFindingsPublicationConfigurationRequest.struct_class = Types::PutFindingsPublicationConfigurationRequest
|
1098
|
+
|
1099
|
+
PutFindingsPublicationConfigurationResponse.struct_class = Types::PutFindingsPublicationConfigurationResponse
|
1100
|
+
|
1058
1101
|
Range.add_member(:end, Shapes::ShapeRef.new(shape: __long, location_name: "end"))
|
1059
1102
|
Range.add_member(:start, Shapes::ShapeRef.new(shape: __long, location_name: "start"))
|
1060
1103
|
Range.add_member(:start_column, Shapes::ShapeRef.new(shape: __long, location_name: "startColumn"))
|
@@ -1080,6 +1123,7 @@ module Aws::Macie2
|
|
1080
1123
|
ResourcesAffected.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "s3Object"))
|
1081
1124
|
ResourcesAffected.struct_class = Types::ResourcesAffected
|
1082
1125
|
|
1126
|
+
S3Bucket.add_member(:allows_unencrypted_object_uploads, Shapes::ShapeRef.new(shape: AllowsUnencryptedObjectUploads, location_name: "allowsUnencryptedObjectUploads"))
|
1083
1127
|
S3Bucket.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
1084
1128
|
S3Bucket.add_member(:created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdAt"))
|
1085
1129
|
S3Bucket.add_member(:default_server_side_encryption, Shapes::ShapeRef.new(shape: ServerSideEncryption, location_name: "defaultServerSideEncryption"))
|
@@ -1124,6 +1168,10 @@ module Aws::Macie2
|
|
1124
1168
|
Scoping.add_member(:includes, Shapes::ShapeRef.new(shape: JobScopingBlock, location_name: "includes"))
|
1125
1169
|
Scoping.struct_class = Types::Scoping
|
1126
1170
|
|
1171
|
+
SecurityHubConfiguration.add_member(:publish_classification_findings, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "publishClassificationFindings"))
|
1172
|
+
SecurityHubConfiguration.add_member(:publish_policy_findings, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "publishPolicyFindings"))
|
1173
|
+
SecurityHubConfiguration.struct_class = Types::SecurityHubConfiguration
|
1174
|
+
|
1127
1175
|
SensitiveData.member = Shapes::ShapeRef.new(shape: SensitiveDataItem)
|
1128
1176
|
|
1129
1177
|
SensitiveDataItem.add_member(:category, Shapes::ShapeRef.new(shape: SensitiveDataItemCategory, location_name: "category"))
|
@@ -1641,6 +1689,21 @@ module Aws::Macie2
|
|
1641
1689
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1642
1690
|
end)
|
1643
1691
|
|
1692
|
+
api.add_operation(:disassociate_from_administrator_account, Seahorse::Model::Operation.new.tap do |o|
|
1693
|
+
o.name = "DisassociateFromAdministratorAccount"
|
1694
|
+
o.http_method = "POST"
|
1695
|
+
o.http_request_uri = "/administrator/disassociate"
|
1696
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateFromAdministratorAccountRequest)
|
1697
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateFromAdministratorAccountResponse)
|
1698
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1699
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1700
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1701
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1702
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1703
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1704
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1705
|
+
end)
|
1706
|
+
|
1644
1707
|
api.add_operation(:disassociate_from_master_account, Seahorse::Model::Operation.new.tap do |o|
|
1645
1708
|
o.name = "DisassociateFromMasterAccount"
|
1646
1709
|
o.http_method = "POST"
|
@@ -1701,6 +1764,21 @@ module Aws::Macie2
|
|
1701
1764
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1702
1765
|
end)
|
1703
1766
|
|
1767
|
+
api.add_operation(:get_administrator_account, Seahorse::Model::Operation.new.tap do |o|
|
1768
|
+
o.name = "GetAdministratorAccount"
|
1769
|
+
o.http_method = "GET"
|
1770
|
+
o.http_request_uri = "/administrator"
|
1771
|
+
o.input = Shapes::ShapeRef.new(shape: GetAdministratorAccountRequest)
|
1772
|
+
o.output = Shapes::ShapeRef.new(shape: GetAdministratorAccountResponse)
|
1773
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1774
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1775
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1776
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1777
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1778
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1779
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1780
|
+
end)
|
1781
|
+
|
1704
1782
|
api.add_operation(:get_bucket_statistics, Seahorse::Model::Operation.new.tap do |o|
|
1705
1783
|
o.name = "GetBucketStatistics"
|
1706
1784
|
o.http_method = "POST"
|
@@ -1791,6 +1869,21 @@ module Aws::Macie2
|
|
1791
1869
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1792
1870
|
end)
|
1793
1871
|
|
1872
|
+
api.add_operation(:get_findings_publication_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1873
|
+
o.name = "GetFindingsPublicationConfiguration"
|
1874
|
+
o.http_method = "GET"
|
1875
|
+
o.http_request_uri = "/findings-publication-configuration"
|
1876
|
+
o.input = Shapes::ShapeRef.new(shape: GetFindingsPublicationConfigurationRequest)
|
1877
|
+
o.output = Shapes::ShapeRef.new(shape: GetFindingsPublicationConfigurationResponse)
|
1878
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1879
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1880
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1881
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1882
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1883
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1884
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1885
|
+
end)
|
1886
|
+
|
1794
1887
|
api.add_operation(:get_invitations_count, Seahorse::Model::Operation.new.tap do |o|
|
1795
1888
|
o.name = "GetInvitationsCount"
|
1796
1889
|
o.http_method = "GET"
|
@@ -2057,6 +2150,21 @@ module Aws::Macie2
|
|
2057
2150
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2058
2151
|
end)
|
2059
2152
|
|
2153
|
+
api.add_operation(:put_findings_publication_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2154
|
+
o.name = "PutFindingsPublicationConfiguration"
|
2155
|
+
o.http_method = "PUT"
|
2156
|
+
o.http_request_uri = "/findings-publication-configuration"
|
2157
|
+
o.input = Shapes::ShapeRef.new(shape: PutFindingsPublicationConfigurationRequest)
|
2158
|
+
o.output = Shapes::ShapeRef.new(shape: PutFindingsPublicationConfigurationResponse)
|
2159
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2160
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2161
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2162
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2163
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2164
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2165
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2166
|
+
end)
|
2167
|
+
|
2060
2168
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2061
2169
|
o.name = "TagResource"
|
2062
2170
|
o.http_method = "POST"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -3,23 +3,32 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
10
|
module Aws::Macie2
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# Specifies an Amazon Macie membership invitation to accept.
|
13
|
+
# Specifies an Amazon Macie membership invitation to accept. In the
|
14
|
+
# request, you have to specify the ID for the AWS account that sent the
|
15
|
+
# invitation. Otherwise, a validation error occurs. To specify this ID,
|
16
|
+
# we recommend that you use the administratorAccountId property instead
|
17
|
+
# of the masterAccount property. The masterAccount property has been
|
18
|
+
# deprecated and is retained only for backward compatibility.
|
14
19
|
#
|
15
20
|
# @note When making an API call, you may pass AcceptInvitationRequest
|
16
21
|
# data as a hash:
|
17
22
|
#
|
18
23
|
# {
|
24
|
+
# administrator_account_id: "__string",
|
19
25
|
# invitation_id: "__string", # required
|
20
|
-
# master_account: "__string",
|
26
|
+
# master_account: "__string",
|
21
27
|
# }
|
22
28
|
#
|
29
|
+
# @!attribute [rw] administrator_account_id
|
30
|
+
# @return [String]
|
31
|
+
#
|
23
32
|
# @!attribute [rw] invitation_id
|
24
33
|
# @return [String]
|
25
34
|
#
|
@@ -29,6 +38,7 @@ module Aws::Macie2
|
|
29
38
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitationRequest AWS API Documentation
|
30
39
|
#
|
31
40
|
class AcceptInvitationRequest < Struct.new(
|
41
|
+
:administrator_account_id,
|
32
42
|
:invitation_id,
|
33
43
|
:master_account)
|
34
44
|
SENSITIVE = []
|
@@ -72,7 +82,7 @@ module Aws::Macie2
|
|
72
82
|
end
|
73
83
|
|
74
84
|
# Specifies details for an account to associate with an Amazon Macie
|
75
|
-
#
|
85
|
+
# administrator account.
|
76
86
|
#
|
77
87
|
# @note When making an API call, you may pass AccountDetail
|
78
88
|
# data as a hash:
|
@@ -128,7 +138,7 @@ module Aws::Macie2
|
|
128
138
|
#
|
129
139
|
# @!attribute [rw] status
|
130
140
|
# The current status of an account as the delegated Amazon Macie
|
131
|
-
# administrator account for an AWS organization.
|
141
|
+
# administrator account for an AWS organization. Possible values are:
|
132
142
|
# @return [String]
|
133
143
|
#
|
134
144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AdminAccount AWS API Documentation
|
@@ -366,7 +376,13 @@ module Aws::Macie2
|
|
366
376
|
|
367
377
|
# Provides information about the number of S3 buckets that use certain
|
368
378
|
# types of server-side encryption by default or don't encrypt new
|
369
|
-
# objects by default.
|
379
|
+
# objects by default. For detailed information about these settings, see
|
380
|
+
# [Setting default server-side encryption behavior for Amazon S3
|
381
|
+
# buckets][1] in the *Amazon Simple Storage Service User Guide*.
|
382
|
+
#
|
383
|
+
#
|
384
|
+
#
|
385
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
|
370
386
|
#
|
371
387
|
# @!attribute [rw] kms_managed
|
372
388
|
# @return [Integer]
|
@@ -377,18 +393,22 @@ module Aws::Macie2
|
|
377
393
|
# @!attribute [rw] unencrypted
|
378
394
|
# @return [Integer]
|
379
395
|
#
|
396
|
+
# @!attribute [rw] unknown
|
397
|
+
# @return [Integer]
|
398
|
+
#
|
380
399
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketCountByEncryptionType AWS API Documentation
|
381
400
|
#
|
382
401
|
class BucketCountByEncryptionType < Struct.new(
|
383
402
|
:kms_managed,
|
384
403
|
:s3_managed,
|
385
|
-
:unencrypted
|
404
|
+
:unencrypted,
|
405
|
+
:unknown)
|
386
406
|
SENSITIVE = []
|
387
407
|
include Aws::Structure
|
388
408
|
end
|
389
409
|
|
390
|
-
# Provides information about the number of S3 buckets that are
|
391
|
-
# with other AWS accounts.
|
410
|
+
# Provides information about the number of S3 buckets that are and
|
411
|
+
# aren't shared with other AWS accounts.
|
392
412
|
#
|
393
413
|
# @!attribute [rw] external
|
394
414
|
# @return [Integer]
|
@@ -413,6 +433,29 @@ module Aws::Macie2
|
|
413
433
|
include Aws::Structure
|
414
434
|
end
|
415
435
|
|
436
|
+
# Provides information about the number of S3 buckets whose bucket
|
437
|
+
# policies do and don't require server-side encryption of objects when
|
438
|
+
# objects are uploaded to the buckets.
|
439
|
+
#
|
440
|
+
# @!attribute [rw] allows_unencrypted_object_uploads
|
441
|
+
# @return [Integer]
|
442
|
+
#
|
443
|
+
# @!attribute [rw] denies_unencrypted_object_uploads
|
444
|
+
# @return [Integer]
|
445
|
+
#
|
446
|
+
# @!attribute [rw] unknown
|
447
|
+
# @return [Integer]
|
448
|
+
#
|
449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketCountPolicyAllowsUnencryptedObjectUploads AWS API Documentation
|
450
|
+
#
|
451
|
+
class BucketCountPolicyAllowsUnencryptedObjectUploads < Struct.new(
|
452
|
+
:allows_unencrypted_object_uploads,
|
453
|
+
:denies_unencrypted_object_uploads,
|
454
|
+
:unknown)
|
455
|
+
SENSITIVE = []
|
456
|
+
include Aws::Structure
|
457
|
+
end
|
458
|
+
|
416
459
|
# Specifies the operator to use in a property-based condition that
|
417
460
|
# filters the results of a query for information about S3 buckets.
|
418
461
|
#
|
@@ -485,7 +528,7 @@ module Aws::Macie2
|
|
485
528
|
# @return [Types::BlockPublicAccess]
|
486
529
|
#
|
487
530
|
# @!attribute [rw] bucket_policy
|
488
|
-
# Provides information about the permissions settings of
|
531
|
+
# Provides information about the permissions settings of the bucket
|
489
532
|
# policy for an S3 bucket.
|
490
533
|
# @return [Types::BucketPolicy]
|
491
534
|
#
|
@@ -505,6 +548,9 @@ module Aws::Macie2
|
|
505
548
|
# @!attribute [rw] account_id
|
506
549
|
# @return [String]
|
507
550
|
#
|
551
|
+
# @!attribute [rw] allows_unencrypted_object_uploads
|
552
|
+
# @return [String]
|
553
|
+
#
|
508
554
|
# @!attribute [rw] bucket_arn
|
509
555
|
# @return [String]
|
510
556
|
#
|
@@ -581,7 +627,9 @@ module Aws::Macie2
|
|
581
627
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
582
628
|
# buckets. In a BucketMetadata object, this data is for a specific
|
583
629
|
# bucket. In a GetBucketStatisticsResponse object, this data is
|
584
|
-
# aggregated for all the buckets in the query results.
|
630
|
+
# aggregated for all the buckets in the query results. If versioning
|
631
|
+
# is enabled for a bucket, total storage size values are based on the
|
632
|
+
# size of the latest version of each applicable object in the bucket.
|
585
633
|
# @return [Types::ObjectLevelStatistics]
|
586
634
|
#
|
587
635
|
# @!attribute [rw] unclassifiable_object_size_in_bytes
|
@@ -589,7 +637,9 @@ module Aws::Macie2
|
|
589
637
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
590
638
|
# buckets. In a BucketMetadata object, this data is for a specific
|
591
639
|
# bucket. In a GetBucketStatisticsResponse object, this data is
|
592
|
-
# aggregated for all the buckets in the query results.
|
640
|
+
# aggregated for all the buckets in the query results. If versioning
|
641
|
+
# is enabled for a bucket, total storage size values are based on the
|
642
|
+
# size of the latest version of each applicable object in the bucket.
|
593
643
|
# @return [Types::ObjectLevelStatistics]
|
594
644
|
#
|
595
645
|
# @!attribute [rw] versioning
|
@@ -599,6 +649,7 @@ module Aws::Macie2
|
|
599
649
|
#
|
600
650
|
class BucketMetadata < Struct.new(
|
601
651
|
:account_id,
|
652
|
+
:allows_unencrypted_object_uploads,
|
602
653
|
:bucket_arn,
|
603
654
|
:bucket_created_at,
|
604
655
|
:bucket_name,
|
@@ -645,8 +696,8 @@ module Aws::Macie2
|
|
645
696
|
include Aws::Structure
|
646
697
|
end
|
647
698
|
|
648
|
-
# Provides information about the permissions settings of
|
649
|
-
# for an S3 bucket.
|
699
|
+
# Provides information about the permissions settings of the bucket
|
700
|
+
# policy for an S3 bucket.
|
650
701
|
#
|
651
702
|
# @!attribute [rw] allows_public_read_access
|
652
703
|
# @return [Boolean]
|
@@ -1264,7 +1315,8 @@ module Aws::Macie2
|
|
1264
1315
|
include Aws::Structure
|
1265
1316
|
end
|
1266
1317
|
|
1267
|
-
# Specifies an account to associate with an Amazon Macie
|
1318
|
+
# Specifies an AWS account to associate with an Amazon Macie
|
1319
|
+
# administrator account.
|
1268
1320
|
#
|
1269
1321
|
# @note When making an API call, you may pass CreateMemberRequest
|
1270
1322
|
# data as a hash:
|
@@ -1281,7 +1333,7 @@ module Aws::Macie2
|
|
1281
1333
|
#
|
1282
1334
|
# @!attribute [rw] account
|
1283
1335
|
# Specifies details for an account to associate with an Amazon Macie
|
1284
|
-
#
|
1336
|
+
# administrator account.
|
1285
1337
|
# @return [Types::AccountDetail]
|
1286
1338
|
#
|
1287
1339
|
# @!attribute [rw] tags
|
@@ -1300,7 +1352,7 @@ module Aws::Macie2
|
|
1300
1352
|
end
|
1301
1353
|
|
1302
1354
|
# Provides information about a request to associate an account with an
|
1303
|
-
# Amazon Macie
|
1355
|
+
# Amazon Macie administrator account.
|
1304
1356
|
#
|
1305
1357
|
# @!attribute [rw] arn
|
1306
1358
|
# @return [String]
|
@@ -1648,7 +1700,8 @@ module Aws::Macie2
|
|
1648
1700
|
class DeleteMemberResponse < Aws::EmptyStructure; end
|
1649
1701
|
|
1650
1702
|
# Specifies criteria for filtering, sorting, and paginating the results
|
1651
|
-
# of a query for information about S3
|
1703
|
+
# of a query for statistical data and other information about S3
|
1704
|
+
# buckets.
|
1652
1705
|
#
|
1653
1706
|
# @note When making an API call, you may pass DescribeBucketsRequest
|
1654
1707
|
# data as a hash:
|
@@ -1899,6 +1952,16 @@ module Aws::Macie2
|
|
1899
1952
|
#
|
1900
1953
|
class DisableOrganizationAdminAccountResponse < Aws::EmptyStructure; end
|
1901
1954
|
|
1955
|
+
# @api private
|
1956
|
+
#
|
1957
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccountRequest AWS API Documentation
|
1958
|
+
#
|
1959
|
+
class DisassociateFromAdministratorAccountRequest < Aws::EmptyStructure; end
|
1960
|
+
|
1961
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccountResponse AWS API Documentation
|
1962
|
+
#
|
1963
|
+
class DisassociateFromAdministratorAccountResponse < Aws::EmptyStructure; end
|
1964
|
+
|
1902
1965
|
# @api private
|
1903
1966
|
#
|
1904
1967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccountRequest AWS API Documentation
|
@@ -1952,8 +2015,8 @@ module Aws::Macie2
|
|
1952
2015
|
#
|
1953
2016
|
class Empty < Aws::EmptyStructure; end
|
1954
2017
|
|
1955
|
-
# Enables Amazon Macie and specifies the configuration settings for
|
1956
|
-
#
|
2018
|
+
# Enables Amazon Macie and specifies the configuration settings for a
|
2019
|
+
# Macie account.
|
1957
2020
|
#
|
1958
2021
|
# @note When making an API call, you may pass EnableMacieRequest
|
1959
2022
|
# data as a hash:
|
@@ -1973,7 +2036,13 @@ module Aws::Macie2
|
|
1973
2036
|
# The frequency with which Amazon Macie publishes updates to policy
|
1974
2037
|
# findings for an account. This includes publishing updates to AWS
|
1975
2038
|
# Security Hub and Amazon EventBridge (formerly called Amazon
|
1976
|
-
# CloudWatch Events).
|
2039
|
+
# CloudWatch Events). For more information, see [Monitoring and
|
2040
|
+
# processing findings][1] in the *Amazon Macie User Guide*. Valid
|
2041
|
+
# values are:
|
2042
|
+
#
|
2043
|
+
#
|
2044
|
+
#
|
2045
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
1977
2046
|
# @return [String]
|
1978
2047
|
#
|
1979
2048
|
# @!attribute [rw] status
|
@@ -2309,6 +2378,30 @@ module Aws::Macie2
|
|
2309
2378
|
include Aws::Structure
|
2310
2379
|
end
|
2311
2380
|
|
2381
|
+
# @api private
|
2382
|
+
#
|
2383
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccountRequest AWS API Documentation
|
2384
|
+
#
|
2385
|
+
class GetAdministratorAccountRequest < Aws::EmptyStructure; end
|
2386
|
+
|
2387
|
+
# Provides information about the Amazon Macie administrator account for
|
2388
|
+
# an account. If the accounts are associated by a Macie membership
|
2389
|
+
# invitation, the response also provides information about that
|
2390
|
+
# invitation.
|
2391
|
+
#
|
2392
|
+
# @!attribute [rw] administrator
|
2393
|
+
# Provides information about an Amazon Macie membership invitation
|
2394
|
+
# that was received by an account.
|
2395
|
+
# @return [Types::Invitation]
|
2396
|
+
#
|
2397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccountResponse AWS API Documentation
|
2398
|
+
#
|
2399
|
+
class GetAdministratorAccountResponse < Struct.new(
|
2400
|
+
:administrator)
|
2401
|
+
SENSITIVE = []
|
2402
|
+
include Aws::Structure
|
2403
|
+
end
|
2404
|
+
|
2312
2405
|
# Specifies the account that owns the S3 buckets to retrieve aggregated
|
2313
2406
|
# statistical data for.
|
2314
2407
|
#
|
@@ -2331,7 +2424,8 @@ module Aws::Macie2
|
|
2331
2424
|
end
|
2332
2425
|
|
2333
2426
|
# Provides the results of a query that retrieved aggregated statistical
|
2334
|
-
# data for the S3 buckets that
|
2427
|
+
# data for all the S3 buckets that Amazon Macie monitors and analyzes
|
2428
|
+
# for an account.
|
2335
2429
|
#
|
2336
2430
|
# @!attribute [rw] bucket_count
|
2337
2431
|
# @return [Integer]
|
@@ -2345,12 +2439,24 @@ module Aws::Macie2
|
|
2345
2439
|
# @!attribute [rw] bucket_count_by_encryption_type
|
2346
2440
|
# Provides information about the number of S3 buckets that use certain
|
2347
2441
|
# types of server-side encryption by default or don't encrypt new
|
2348
|
-
# objects by default.
|
2442
|
+
# objects by default. For detailed information about these settings,
|
2443
|
+
# see [Setting default server-side encryption behavior for Amazon S3
|
2444
|
+
# buckets][1] in the *Amazon Simple Storage Service User Guide*.
|
2445
|
+
#
|
2446
|
+
#
|
2447
|
+
#
|
2448
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
|
2349
2449
|
# @return [Types::BucketCountByEncryptionType]
|
2350
2450
|
#
|
2451
|
+
# @!attribute [rw] bucket_count_by_object_encryption_requirement
|
2452
|
+
# Provides information about the number of S3 buckets whose bucket
|
2453
|
+
# policies do and don't require server-side encryption of objects
|
2454
|
+
# when objects are uploaded to the buckets.
|
2455
|
+
# @return [Types::BucketCountPolicyAllowsUnencryptedObjectUploads]
|
2456
|
+
#
|
2351
2457
|
# @!attribute [rw] bucket_count_by_shared_access_type
|
2352
|
-
# Provides information about the number of S3 buckets that are
|
2353
|
-
# with other AWS accounts.
|
2458
|
+
# Provides information about the number of S3 buckets that are and
|
2459
|
+
# aren't shared with other AWS accounts.
|
2354
2460
|
# @return [Types::BucketCountBySharedAccessType]
|
2355
2461
|
#
|
2356
2462
|
# @!attribute [rw] classifiable_object_count
|
@@ -2376,7 +2482,9 @@ module Aws::Macie2
|
|
2376
2482
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
2377
2483
|
# buckets. In a BucketMetadata object, this data is for a specific
|
2378
2484
|
# bucket. In a GetBucketStatisticsResponse object, this data is
|
2379
|
-
# aggregated for all the buckets in the query results.
|
2485
|
+
# aggregated for all the buckets in the query results. If versioning
|
2486
|
+
# is enabled for a bucket, total storage size values are based on the
|
2487
|
+
# size of the latest version of each applicable object in the bucket.
|
2380
2488
|
# @return [Types::ObjectLevelStatistics]
|
2381
2489
|
#
|
2382
2490
|
# @!attribute [rw] unclassifiable_object_size_in_bytes
|
@@ -2384,7 +2492,9 @@ module Aws::Macie2
|
|
2384
2492
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
2385
2493
|
# buckets. In a BucketMetadata object, this data is for a specific
|
2386
2494
|
# bucket. In a GetBucketStatisticsResponse object, this data is
|
2387
|
-
# aggregated for all the buckets in the query results.
|
2495
|
+
# aggregated for all the buckets in the query results. If versioning
|
2496
|
+
# is enabled for a bucket, total storage size values are based on the
|
2497
|
+
# size of the latest version of each applicable object in the bucket.
|
2388
2498
|
# @return [Types::ObjectLevelStatistics]
|
2389
2499
|
#
|
2390
2500
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatisticsResponse AWS API Documentation
|
@@ -2393,6 +2503,7 @@ module Aws::Macie2
|
|
2393
2503
|
:bucket_count,
|
2394
2504
|
:bucket_count_by_effective_permission,
|
2395
2505
|
:bucket_count_by_encryption_type,
|
2506
|
+
:bucket_count_by_object_encryption_requirement,
|
2396
2507
|
:bucket_count_by_shared_access_type,
|
2397
2508
|
:classifiable_object_count,
|
2398
2509
|
:classifiable_size_in_bytes,
|
@@ -2643,6 +2754,34 @@ module Aws::Macie2
|
|
2643
2754
|
include Aws::Structure
|
2644
2755
|
end
|
2645
2756
|
|
2757
|
+
# @api private
|
2758
|
+
#
|
2759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfigurationRequest AWS API Documentation
|
2760
|
+
#
|
2761
|
+
class GetFindingsPublicationConfigurationRequest < Aws::EmptyStructure; end
|
2762
|
+
|
2763
|
+
# Provides information about the current configuration settings for
|
2764
|
+
# publishing findings to AWS Security Hub automatically.
|
2765
|
+
#
|
2766
|
+
# @!attribute [rw] security_hub_configuration
|
2767
|
+
# Specifies configuration settings that determine which findings are
|
2768
|
+
# published to AWS Security Hub automatically. For information about
|
2769
|
+
# how Macie publishes findings to Security Hub, see [Amazon Macie
|
2770
|
+
# integration with Security Hub][1] in the *Amazon Macie User Guide*.
|
2771
|
+
#
|
2772
|
+
#
|
2773
|
+
#
|
2774
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html
|
2775
|
+
# @return [Types::SecurityHubConfiguration]
|
2776
|
+
#
|
2777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfigurationResponse AWS API Documentation
|
2778
|
+
#
|
2779
|
+
class GetFindingsPublicationConfigurationResponse < Struct.new(
|
2780
|
+
:security_hub_configuration)
|
2781
|
+
SENSITIVE = []
|
2782
|
+
include Aws::Structure
|
2783
|
+
end
|
2784
|
+
|
2646
2785
|
# Specifies one or more findings to retrieve.
|
2647
2786
|
#
|
2648
2787
|
# @note When making an API call, you may pass GetFindingsRequest
|
@@ -2723,7 +2862,13 @@ module Aws::Macie2
|
|
2723
2862
|
# The frequency with which Amazon Macie publishes updates to policy
|
2724
2863
|
# findings for an account. This includes publishing updates to AWS
|
2725
2864
|
# Security Hub and Amazon EventBridge (formerly called Amazon
|
2726
|
-
# CloudWatch Events).
|
2865
|
+
# CloudWatch Events). For more information, see [Monitoring and
|
2866
|
+
# processing findings][1] in the *Amazon Macie User Guide*. Valid
|
2867
|
+
# values are:
|
2868
|
+
#
|
2869
|
+
#
|
2870
|
+
#
|
2871
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
2727
2872
|
# @return [String]
|
2728
2873
|
#
|
2729
2874
|
# @!attribute [rw] service_role
|
@@ -2754,10 +2899,10 @@ module Aws::Macie2
|
|
2754
2899
|
#
|
2755
2900
|
class GetMasterAccountRequest < Aws::EmptyStructure; end
|
2756
2901
|
|
2757
|
-
# Provides information about the Amazon Macie
|
2758
|
-
# account. If the accounts are associated by a Macie
|
2759
|
-
# invitation, the response also provides information about
|
2760
|
-
# invitation.
|
2902
|
+
# (Deprecated) Provides information about the Amazon Macie administrator
|
2903
|
+
# account for an account. If the accounts are associated by a Macie
|
2904
|
+
# membership invitation, the response also provides information about
|
2905
|
+
# that invitation.
|
2761
2906
|
#
|
2762
2907
|
# @!attribute [rw] master
|
2763
2908
|
# Provides information about an Amazon Macie membership invitation
|
@@ -2791,11 +2936,14 @@ module Aws::Macie2
|
|
2791
2936
|
end
|
2792
2937
|
|
2793
2938
|
# Provides information about an account that's associated with an
|
2794
|
-
# Amazon Macie
|
2939
|
+
# Amazon Macie administrator account.
|
2795
2940
|
#
|
2796
2941
|
# @!attribute [rw] account_id
|
2797
2942
|
# @return [String]
|
2798
2943
|
#
|
2944
|
+
# @!attribute [rw] administrator_account_id
|
2945
|
+
# @return [String]
|
2946
|
+
#
|
2799
2947
|
# @!attribute [rw] arn
|
2800
2948
|
# @return [String]
|
2801
2949
|
#
|
@@ -2810,8 +2958,8 @@ module Aws::Macie2
|
|
2810
2958
|
#
|
2811
2959
|
# @!attribute [rw] relationship_status
|
2812
2960
|
# The current status of the relationship between an account and an
|
2813
|
-
# associated Amazon Macie
|
2814
|
-
# values are:
|
2961
|
+
# associated Amazon Macie administrator account (*inviter account*).
|
2962
|
+
# Possible values are:
|
2815
2963
|
# @return [String]
|
2816
2964
|
#
|
2817
2965
|
# @!attribute [rw] tags
|
@@ -2827,6 +2975,7 @@ module Aws::Macie2
|
|
2827
2975
|
#
|
2828
2976
|
class GetMemberResponse < Struct.new(
|
2829
2977
|
:account_id,
|
2978
|
+
:administrator_account_id,
|
2830
2979
|
:arn,
|
2831
2980
|
:email,
|
2832
2981
|
:invited_at,
|
@@ -3027,8 +3176,8 @@ module Aws::Macie2
|
|
3027
3176
|
#
|
3028
3177
|
# @!attribute [rw] relationship_status
|
3029
3178
|
# The current status of the relationship between an account and an
|
3030
|
-
# associated Amazon Macie
|
3031
|
-
# values are:
|
3179
|
+
# associated Amazon Macie administrator account (*inviter account*).
|
3180
|
+
# Possible values are:
|
3032
3181
|
# @return [String]
|
3033
3182
|
#
|
3034
3183
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Invitation AWS API Documentation
|
@@ -3660,7 +3809,7 @@ module Aws::Macie2
|
|
3660
3809
|
include Aws::Structure
|
3661
3810
|
end
|
3662
3811
|
|
3663
|
-
# Provides information about
|
3812
|
+
# Provides information about the Amazon Macie membership invitations
|
3664
3813
|
# that were received by an account.
|
3665
3814
|
#
|
3666
3815
|
# @!attribute [rw] invitations
|
@@ -3806,7 +3955,7 @@ module Aws::Macie2
|
|
3806
3955
|
end
|
3807
3956
|
|
3808
3957
|
# Provides information about the accounts that are associated with an
|
3809
|
-
# Amazon Macie
|
3958
|
+
# Amazon Macie administrator account.
|
3810
3959
|
#
|
3811
3960
|
# @!attribute [rw] members
|
3812
3961
|
# @return [Array<Types::Member>]
|
@@ -3901,11 +4050,14 @@ module Aws::Macie2
|
|
3901
4050
|
end
|
3902
4051
|
|
3903
4052
|
# Provides information about an account that's associated with an
|
3904
|
-
# Amazon Macie
|
4053
|
+
# Amazon Macie administrator account.
|
3905
4054
|
#
|
3906
4055
|
# @!attribute [rw] account_id
|
3907
4056
|
# @return [String]
|
3908
4057
|
#
|
4058
|
+
# @!attribute [rw] administrator_account_id
|
4059
|
+
# @return [String]
|
4060
|
+
#
|
3909
4061
|
# @!attribute [rw] arn
|
3910
4062
|
# @return [String]
|
3911
4063
|
#
|
@@ -3920,8 +4072,8 @@ module Aws::Macie2
|
|
3920
4072
|
#
|
3921
4073
|
# @!attribute [rw] relationship_status
|
3922
4074
|
# The current status of the relationship between an account and an
|
3923
|
-
# associated Amazon Macie
|
3924
|
-
# values are:
|
4075
|
+
# associated Amazon Macie administrator account (*inviter account*).
|
4076
|
+
# Possible values are:
|
3925
4077
|
# @return [String]
|
3926
4078
|
#
|
3927
4079
|
# @!attribute [rw] tags
|
@@ -3937,6 +4089,7 @@ module Aws::Macie2
|
|
3937
4089
|
#
|
3938
4090
|
class Member < Struct.new(
|
3939
4091
|
:account_id,
|
4092
|
+
:administrator_account_id,
|
3940
4093
|
:arn,
|
3941
4094
|
:email,
|
3942
4095
|
:invited_at,
|
@@ -3985,13 +4138,17 @@ module Aws::Macie2
|
|
3985
4138
|
# @!attribute [rw] unencrypted
|
3986
4139
|
# @return [Integer]
|
3987
4140
|
#
|
4141
|
+
# @!attribute [rw] unknown
|
4142
|
+
# @return [Integer]
|
4143
|
+
#
|
3988
4144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ObjectCountByEncryptionType AWS API Documentation
|
3989
4145
|
#
|
3990
4146
|
class ObjectCountByEncryptionType < Struct.new(
|
3991
4147
|
:customer_managed,
|
3992
4148
|
:kms_managed,
|
3993
4149
|
:s3_managed,
|
3994
|
-
:unencrypted
|
4150
|
+
:unencrypted,
|
4151
|
+
:unknown)
|
3995
4152
|
SENSITIVE = []
|
3996
4153
|
include Aws::Structure
|
3997
4154
|
end
|
@@ -4000,7 +4157,9 @@ module Aws::Macie2
|
|
4000
4157
|
# of objects that Amazon Macie can't analyze in one or more S3 buckets.
|
4001
4158
|
# In a BucketMetadata object, this data is for a specific bucket. In a
|
4002
4159
|
# GetBucketStatisticsResponse object, this data is aggregated for all
|
4003
|
-
# the buckets in the query results.
|
4160
|
+
# the buckets in the query results. If versioning is enabled for a
|
4161
|
+
# bucket, total storage size values are based on the size of the latest
|
4162
|
+
# version of each applicable object in the bucket.
|
4004
4163
|
#
|
4005
4164
|
# @!attribute [rw] file_type
|
4006
4165
|
# @return [Integer]
|
@@ -4163,6 +4322,49 @@ module Aws::Macie2
|
|
4163
4322
|
include Aws::Structure
|
4164
4323
|
end
|
4165
4324
|
|
4325
|
+
# Specifies configuration settings for publishing findings to AWS
|
4326
|
+
# Security Hub automatically.
|
4327
|
+
#
|
4328
|
+
# @note When making an API call, you may pass PutFindingsPublicationConfigurationRequest
|
4329
|
+
# data as a hash:
|
4330
|
+
#
|
4331
|
+
# {
|
4332
|
+
# client_token: "__string",
|
4333
|
+
# security_hub_configuration: {
|
4334
|
+
# publish_classification_findings: false, # required
|
4335
|
+
# publish_policy_findings: false, # required
|
4336
|
+
# },
|
4337
|
+
# }
|
4338
|
+
#
|
4339
|
+
# @!attribute [rw] client_token
|
4340
|
+
# **A suitable default value is auto-generated.** You should normally
|
4341
|
+
# not need to pass this option.
|
4342
|
+
# @return [String]
|
4343
|
+
#
|
4344
|
+
# @!attribute [rw] security_hub_configuration
|
4345
|
+
# Specifies configuration settings that determine which findings are
|
4346
|
+
# published to AWS Security Hub automatically. For information about
|
4347
|
+
# how Macie publishes findings to Security Hub, see [Amazon Macie
|
4348
|
+
# integration with Security Hub][1] in the *Amazon Macie User Guide*.
|
4349
|
+
#
|
4350
|
+
#
|
4351
|
+
#
|
4352
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html
|
4353
|
+
# @return [Types::SecurityHubConfiguration]
|
4354
|
+
#
|
4355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfigurationRequest AWS API Documentation
|
4356
|
+
#
|
4357
|
+
class PutFindingsPublicationConfigurationRequest < Struct.new(
|
4358
|
+
:client_token,
|
4359
|
+
:security_hub_configuration)
|
4360
|
+
SENSITIVE = []
|
4361
|
+
include Aws::Structure
|
4362
|
+
end
|
4363
|
+
|
4364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfigurationResponse AWS API Documentation
|
4365
|
+
#
|
4366
|
+
class PutFindingsPublicationConfigurationResponse < Aws::EmptyStructure; end
|
4367
|
+
|
4166
4368
|
# Provides details about the location of an occurrence of sensitive data
|
4167
4369
|
# in an Adobe Portable Document Format file, Microsoft Word document, or
|
4168
4370
|
# non-binary text file.
|
@@ -4262,6 +4464,9 @@ module Aws::Macie2
|
|
4262
4464
|
|
4263
4465
|
# Provides information about an S3 bucket that a finding applies to.
|
4264
4466
|
#
|
4467
|
+
# @!attribute [rw] allows_unencrypted_object_uploads
|
4468
|
+
# @return [String]
|
4469
|
+
#
|
4265
4470
|
# @!attribute [rw] arn
|
4266
4471
|
# @return [String]
|
4267
4472
|
#
|
@@ -4294,6 +4499,7 @@ module Aws::Macie2
|
|
4294
4499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3Bucket AWS API Documentation
|
4295
4500
|
#
|
4296
4501
|
class S3Bucket < Struct.new(
|
4502
|
+
:allows_unencrypted_object_uploads,
|
4297
4503
|
:arn,
|
4298
4504
|
:created_at,
|
4299
4505
|
:default_server_side_encryption,
|
@@ -4600,6 +4806,38 @@ module Aws::Macie2
|
|
4600
4806
|
include Aws::Structure
|
4601
4807
|
end
|
4602
4808
|
|
4809
|
+
# Specifies configuration settings that determine which findings are
|
4810
|
+
# published to AWS Security Hub automatically. For information about how
|
4811
|
+
# Macie publishes findings to Security Hub, see [Amazon Macie
|
4812
|
+
# integration with Security Hub][1] in the *Amazon Macie User Guide*.
|
4813
|
+
#
|
4814
|
+
#
|
4815
|
+
#
|
4816
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html
|
4817
|
+
#
|
4818
|
+
# @note When making an API call, you may pass SecurityHubConfiguration
|
4819
|
+
# data as a hash:
|
4820
|
+
#
|
4821
|
+
# {
|
4822
|
+
# publish_classification_findings: false, # required
|
4823
|
+
# publish_policy_findings: false, # required
|
4824
|
+
# }
|
4825
|
+
#
|
4826
|
+
# @!attribute [rw] publish_classification_findings
|
4827
|
+
# @return [Boolean]
|
4828
|
+
#
|
4829
|
+
# @!attribute [rw] publish_policy_findings
|
4830
|
+
# @return [Boolean]
|
4831
|
+
#
|
4832
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SecurityHubConfiguration AWS API Documentation
|
4833
|
+
#
|
4834
|
+
class SecurityHubConfiguration < Struct.new(
|
4835
|
+
:publish_classification_findings,
|
4836
|
+
:publish_policy_findings)
|
4837
|
+
SENSITIVE = []
|
4838
|
+
include Aws::Structure
|
4839
|
+
end
|
4840
|
+
|
4603
4841
|
# Provides information about the category, types, and occurrences of
|
4604
4842
|
# sensitive data that produced a sensitive data finding.
|
4605
4843
|
#
|
@@ -5031,7 +5269,7 @@ module Aws::Macie2
|
|
5031
5269
|
# @return [String]
|
5032
5270
|
#
|
5033
5271
|
# @!attribute [rw] error_code
|
5034
|
-
# The source of an
|
5272
|
+
# The source of an issue or delay. Possible values are:
|
5035
5273
|
# @return [String]
|
5036
5274
|
#
|
5037
5275
|
# @!attribute [rw] error_message
|
@@ -5208,7 +5446,13 @@ module Aws::Macie2
|
|
5208
5446
|
# The frequency with which Amazon Macie publishes updates to policy
|
5209
5447
|
# findings for an account. This includes publishing updates to AWS
|
5210
5448
|
# Security Hub and Amazon EventBridge (formerly called Amazon
|
5211
|
-
# CloudWatch Events).
|
5449
|
+
# CloudWatch Events). For more information, see [Monitoring and
|
5450
|
+
# processing findings][1] in the *Amazon Macie User Guide*. Valid
|
5451
|
+
# values are:
|
5452
|
+
#
|
5453
|
+
#
|
5454
|
+
#
|
5455
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
5212
5456
|
# @return [String]
|
5213
5457
|
#
|
5214
5458
|
# @!attribute [rw] status
|
@@ -5258,7 +5502,7 @@ module Aws::Macie2
|
|
5258
5502
|
#
|
5259
5503
|
class UpdateMemberSessionResponse < Aws::EmptyStructure; end
|
5260
5504
|
|
5261
|
-
# Specifies whether Amazon Macie
|
5505
|
+
# Specifies whether to enable Amazon Macie automatically for accounts
|
5262
5506
|
# that are added to an AWS organization.
|
5263
5507
|
#
|
5264
5508
|
# @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
|
@@ -5335,9 +5579,8 @@ module Aws::Macie2
|
|
5335
5579
|
include Aws::Structure
|
5336
5580
|
end
|
5337
5581
|
|
5338
|
-
# Specifies a condition for filtering the results of a query for
|
5339
|
-
#
|
5340
|
-
# accounts.
|
5582
|
+
# Specifies a condition for filtering the results of a query for quota
|
5583
|
+
# and usage data for one or more Amazon Macie accounts.
|
5341
5584
|
#
|
5342
5585
|
# @note When making an API call, you may pass UsageStatisticsFilter
|
5343
5586
|
# data as a hash:
|