aws-sdk-macie2 1.20.0 → 1.25.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 +138 -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 +89 -19
- data/lib/aws-sdk-macie2/client_api.rb +60 -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 +208 -70
- metadata +8 -5
@@ -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
|
|
@@ -39,6 +39,7 @@ module Aws::Macie2
|
|
39
39
|
BucketPermissionConfiguration = Shapes::StructureShape.new(name: 'BucketPermissionConfiguration')
|
40
40
|
BucketPolicy = Shapes::StructureShape.new(name: 'BucketPolicy')
|
41
41
|
BucketPublicAccess = Shapes::StructureShape.new(name: 'BucketPublicAccess')
|
42
|
+
BucketServerSideEncryption = Shapes::StructureShape.new(name: 'BucketServerSideEncryption')
|
42
43
|
BucketSortCriteria = Shapes::StructureShape.new(name: 'BucketSortCriteria')
|
43
44
|
Cell = Shapes::StructureShape.new(name: 'Cell')
|
44
45
|
Cells = Shapes::ListShape.new(name: 'Cells')
|
@@ -90,6 +91,8 @@ module Aws::Macie2
|
|
90
91
|
DisableMacieResponse = Shapes::StructureShape.new(name: 'DisableMacieResponse')
|
91
92
|
DisableOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'DisableOrganizationAdminAccountRequest')
|
92
93
|
DisableOrganizationAdminAccountResponse = Shapes::StructureShape.new(name: 'DisableOrganizationAdminAccountResponse')
|
94
|
+
DisassociateFromAdministratorAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromAdministratorAccountRequest')
|
95
|
+
DisassociateFromAdministratorAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromAdministratorAccountResponse')
|
93
96
|
DisassociateFromMasterAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountRequest')
|
94
97
|
DisassociateFromMasterAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountResponse')
|
95
98
|
DisassociateMemberRequest = Shapes::StructureShape.new(name: 'DisassociateMemberRequest')
|
@@ -116,6 +119,8 @@ module Aws::Macie2
|
|
116
119
|
FindingType = Shapes::StringShape.new(name: 'FindingType')
|
117
120
|
FindingsFilterAction = Shapes::StringShape.new(name: 'FindingsFilterAction')
|
118
121
|
FindingsFilterListItem = Shapes::StructureShape.new(name: 'FindingsFilterListItem')
|
122
|
+
GetAdministratorAccountRequest = Shapes::StructureShape.new(name: 'GetAdministratorAccountRequest')
|
123
|
+
GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
|
119
124
|
GetBucketStatisticsRequest = Shapes::StructureShape.new(name: 'GetBucketStatisticsRequest')
|
120
125
|
GetBucketStatisticsResponse = Shapes::StructureShape.new(name: 'GetBucketStatisticsResponse')
|
121
126
|
GetClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'GetClassificationExportConfigurationRequest')
|
@@ -239,6 +244,8 @@ module Aws::Macie2
|
|
239
244
|
TestCustomDataIdentifierRequest = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierRequest')
|
240
245
|
TestCustomDataIdentifierResponse = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierResponse')
|
241
246
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
247
|
+
TimeRange = Shapes::StringShape.new(name: 'TimeRange')
|
248
|
+
Type = Shapes::StringShape.new(name: 'Type')
|
242
249
|
Unit = Shapes::StringShape.new(name: 'Unit')
|
243
250
|
UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
|
244
251
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
@@ -298,8 +305,9 @@ module Aws::Macie2
|
|
298
305
|
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
299
306
|
__timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
|
300
307
|
|
308
|
+
AcceptInvitationRequest.add_member(:administrator_account_id, Shapes::ShapeRef.new(shape: __string, location_name: "administratorAccountId"))
|
301
309
|
AcceptInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "invitationId"))
|
302
|
-
AcceptInvitationRequest.add_member(:master_account, Shapes::ShapeRef.new(shape: __string,
|
310
|
+
AcceptInvitationRequest.add_member(:master_account, Shapes::ShapeRef.new(shape: __string, location_name: "masterAccount"))
|
303
311
|
AcceptInvitationRequest.struct_class = Types::AcceptInvitationRequest
|
304
312
|
|
305
313
|
AcceptInvitationResponse.struct_class = Types::AcceptInvitationResponse
|
@@ -410,6 +418,7 @@ module Aws::Macie2
|
|
410
418
|
BucketMetadata.add_member(:public_access, Shapes::ShapeRef.new(shape: BucketPublicAccess, location_name: "publicAccess"))
|
411
419
|
BucketMetadata.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
|
412
420
|
BucketMetadata.add_member(:replication_details, Shapes::ShapeRef.new(shape: ReplicationDetails, location_name: "replicationDetails"))
|
421
|
+
BucketMetadata.add_member(:server_side_encryption, Shapes::ShapeRef.new(shape: BucketServerSideEncryption, location_name: "serverSideEncryption"))
|
413
422
|
BucketMetadata.add_member(:shared_access, Shapes::ShapeRef.new(shape: SharedAccess, location_name: "sharedAccess"))
|
414
423
|
BucketMetadata.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
|
415
424
|
BucketMetadata.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
|
@@ -431,6 +440,10 @@ module Aws::Macie2
|
|
431
440
|
BucketPublicAccess.add_member(:permission_configuration, Shapes::ShapeRef.new(shape: BucketPermissionConfiguration, location_name: "permissionConfiguration"))
|
432
441
|
BucketPublicAccess.struct_class = Types::BucketPublicAccess
|
433
442
|
|
443
|
+
BucketServerSideEncryption.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "kmsMasterKeyId"))
|
444
|
+
BucketServerSideEncryption.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
|
445
|
+
BucketServerSideEncryption.struct_class = Types::BucketServerSideEncryption
|
446
|
+
|
434
447
|
BucketSortCriteria.add_member(:attribute_name, Shapes::ShapeRef.new(shape: __string, location_name: "attributeName"))
|
435
448
|
BucketSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
|
436
449
|
BucketSortCriteria.struct_class = Types::BucketSortCriteria
|
@@ -644,6 +657,10 @@ module Aws::Macie2
|
|
644
657
|
|
645
658
|
DisableOrganizationAdminAccountResponse.struct_class = Types::DisableOrganizationAdminAccountResponse
|
646
659
|
|
660
|
+
DisassociateFromAdministratorAccountRequest.struct_class = Types::DisassociateFromAdministratorAccountRequest
|
661
|
+
|
662
|
+
DisassociateFromAdministratorAccountResponse.struct_class = Types::DisassociateFromAdministratorAccountResponse
|
663
|
+
|
647
664
|
DisassociateFromMasterAccountRequest.struct_class = Types::DisassociateFromMasterAccountRequest
|
648
665
|
|
649
666
|
DisassociateFromMasterAccountResponse.struct_class = Types::DisassociateFromMasterAccountResponse
|
@@ -721,6 +738,11 @@ module Aws::Macie2
|
|
721
738
|
FindingsFilterListItem.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
722
739
|
FindingsFilterListItem.struct_class = Types::FindingsFilterListItem
|
723
740
|
|
741
|
+
GetAdministratorAccountRequest.struct_class = Types::GetAdministratorAccountRequest
|
742
|
+
|
743
|
+
GetAdministratorAccountResponse.add_member(:administrator, Shapes::ShapeRef.new(shape: Invitation, location_name: "administrator"))
|
744
|
+
GetAdministratorAccountResponse.struct_class = Types::GetAdministratorAccountResponse
|
745
|
+
|
724
746
|
GetBucketStatisticsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
725
747
|
GetBucketStatisticsRequest.struct_class = Types::GetBucketStatisticsRequest
|
726
748
|
|
@@ -811,6 +833,7 @@ module Aws::Macie2
|
|
811
833
|
GetMemberRequest.struct_class = Types::GetMemberRequest
|
812
834
|
|
813
835
|
GetMemberResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
836
|
+
GetMemberResponse.add_member(:administrator_account_id, Shapes::ShapeRef.new(shape: __string, location_name: "administratorAccountId"))
|
814
837
|
GetMemberResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
815
838
|
GetMemberResponse.add_member(:email, Shapes::ShapeRef.new(shape: __string, location_name: "email"))
|
816
839
|
GetMemberResponse.add_member(:invited_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "invitedAt"))
|
@@ -824,14 +847,18 @@ module Aws::Macie2
|
|
824
847
|
GetUsageStatisticsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
|
825
848
|
GetUsageStatisticsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
826
849
|
GetUsageStatisticsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: UsageStatisticsSortBy, location_name: "sortBy"))
|
850
|
+
GetUsageStatisticsRequest.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
|
827
851
|
GetUsageStatisticsRequest.struct_class = Types::GetUsageStatisticsRequest
|
828
852
|
|
829
853
|
GetUsageStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
830
854
|
GetUsageStatisticsResponse.add_member(:records, Shapes::ShapeRef.new(shape: __listOfUsageRecord, location_name: "records"))
|
855
|
+
GetUsageStatisticsResponse.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
|
831
856
|
GetUsageStatisticsResponse.struct_class = Types::GetUsageStatisticsResponse
|
832
857
|
|
858
|
+
GetUsageTotalsRequest.add_member(:time_range, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "timeRange"))
|
833
859
|
GetUsageTotalsRequest.struct_class = Types::GetUsageTotalsRequest
|
834
860
|
|
861
|
+
GetUsageTotalsResponse.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
|
835
862
|
GetUsageTotalsResponse.add_member(:usage_totals, Shapes::ShapeRef.new(shape: __listOfUsageTotal, location_name: "usageTotals"))
|
836
863
|
GetUsageTotalsResponse.struct_class = Types::GetUsageTotalsResponse
|
837
864
|
|
@@ -996,6 +1023,7 @@ module Aws::Macie2
|
|
996
1023
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
997
1024
|
|
998
1025
|
Member.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
1026
|
+
Member.add_member(:administrator_account_id, Shapes::ShapeRef.new(shape: __string, location_name: "administratorAccountId"))
|
999
1027
|
Member.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
1000
1028
|
Member.add_member(:email, Shapes::ShapeRef.new(shape: __string, location_name: "email"))
|
1001
1029
|
Member.add_member(:invited_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "invitedAt"))
|
@@ -1629,6 +1657,21 @@ module Aws::Macie2
|
|
1629
1657
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1630
1658
|
end)
|
1631
1659
|
|
1660
|
+
api.add_operation(:disassociate_from_administrator_account, Seahorse::Model::Operation.new.tap do |o|
|
1661
|
+
o.name = "DisassociateFromAdministratorAccount"
|
1662
|
+
o.http_method = "POST"
|
1663
|
+
o.http_request_uri = "/administrator/disassociate"
|
1664
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateFromAdministratorAccountRequest)
|
1665
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateFromAdministratorAccountResponse)
|
1666
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1667
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1668
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1669
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1670
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1671
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1672
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1673
|
+
end)
|
1674
|
+
|
1632
1675
|
api.add_operation(:disassociate_from_master_account, Seahorse::Model::Operation.new.tap do |o|
|
1633
1676
|
o.name = "DisassociateFromMasterAccount"
|
1634
1677
|
o.http_method = "POST"
|
@@ -1689,6 +1732,21 @@ module Aws::Macie2
|
|
1689
1732
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1690
1733
|
end)
|
1691
1734
|
|
1735
|
+
api.add_operation(:get_administrator_account, Seahorse::Model::Operation.new.tap do |o|
|
1736
|
+
o.name = "GetAdministratorAccount"
|
1737
|
+
o.http_method = "GET"
|
1738
|
+
o.http_request_uri = "/administrator"
|
1739
|
+
o.input = Shapes::ShapeRef.new(shape: GetAdministratorAccountRequest)
|
1740
|
+
o.output = Shapes::ShapeRef.new(shape: GetAdministratorAccountResponse)
|
1741
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1742
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1743
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1744
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1745
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1746
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1747
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1748
|
+
end)
|
1749
|
+
|
1692
1750
|
api.add_operation(:get_bucket_statistics, Seahorse::Model::Operation.new.tap do |o|
|
1693
1751
|
o.name = "GetBucketStatistics"
|
1694
1752
|
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:
|
@@ -97,7 +107,7 @@ module Aws::Macie2
|
|
97
107
|
include Aws::Structure
|
98
108
|
end
|
99
109
|
|
100
|
-
# Provides information about account-level permissions settings that
|
110
|
+
# Provides information about the account-level permissions settings that
|
101
111
|
# apply to an S3 bucket.
|
102
112
|
#
|
103
113
|
# @!attribute [rw] block_public_access
|
@@ -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
|
@@ -365,7 +375,8 @@ module Aws::Macie2
|
|
365
375
|
end
|
366
376
|
|
367
377
|
# Provides information about the number of S3 buckets that use certain
|
368
|
-
# types of server-side encryption or don't encrypt
|
378
|
+
# types of server-side encryption by default or don't encrypt new
|
379
|
+
# objects by default.
|
369
380
|
#
|
370
381
|
# @!attribute [rw] kms_managed
|
371
382
|
# @return [Integer]
|
@@ -551,6 +562,18 @@ module Aws::Macie2
|
|
551
562
|
# accounts and, if so, which accounts.
|
552
563
|
# @return [Types::ReplicationDetails]
|
553
564
|
#
|
565
|
+
# @!attribute [rw] server_side_encryption
|
566
|
+
# Provides information about the default server-side encryption
|
567
|
+
# settings for an S3 bucket. For detailed information about these
|
568
|
+
# settings, see [Setting default server-side encryption behavior for
|
569
|
+
# Amazon S3 buckets][1] in the *Amazon Simple Storage Service User
|
570
|
+
# Guide*.
|
571
|
+
#
|
572
|
+
#
|
573
|
+
#
|
574
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
|
575
|
+
# @return [Types::BucketServerSideEncryption]
|
576
|
+
#
|
554
577
|
# @!attribute [rw] shared_access
|
555
578
|
# @return [String]
|
556
579
|
#
|
@@ -568,7 +591,9 @@ module Aws::Macie2
|
|
568
591
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
569
592
|
# buckets. In a BucketMetadata object, this data is for a specific
|
570
593
|
# bucket. In a GetBucketStatisticsResponse object, this data is
|
571
|
-
# aggregated for all the buckets in the query results.
|
594
|
+
# aggregated for all the buckets in the query results. If versioning
|
595
|
+
# is enabled for a bucket, total storage size values are based on the
|
596
|
+
# size of the latest version of each applicable object in the bucket.
|
572
597
|
# @return [Types::ObjectLevelStatistics]
|
573
598
|
#
|
574
599
|
# @!attribute [rw] unclassifiable_object_size_in_bytes
|
@@ -576,7 +601,9 @@ module Aws::Macie2
|
|
576
601
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
577
602
|
# buckets. In a BucketMetadata object, this data is for a specific
|
578
603
|
# bucket. In a GetBucketStatisticsResponse object, this data is
|
579
|
-
# aggregated for all the buckets in the query results.
|
604
|
+
# aggregated for all the buckets in the query results. If versioning
|
605
|
+
# is enabled for a bucket, total storage size values are based on the
|
606
|
+
# size of the latest version of each applicable object in the bucket.
|
580
607
|
# @return [Types::ObjectLevelStatistics]
|
581
608
|
#
|
582
609
|
# @!attribute [rw] versioning
|
@@ -598,6 +625,7 @@ module Aws::Macie2
|
|
598
625
|
:public_access,
|
599
626
|
:region,
|
600
627
|
:replication_details,
|
628
|
+
:server_side_encryption,
|
601
629
|
:shared_access,
|
602
630
|
:size_in_bytes,
|
603
631
|
:size_in_bytes_compressed,
|
@@ -613,8 +641,8 @@ module Aws::Macie2
|
|
613
641
|
# permissions settings for an S3 bucket.
|
614
642
|
#
|
615
643
|
# @!attribute [rw] account_level_permissions
|
616
|
-
# Provides information about account-level permissions settings
|
617
|
-
# apply to an S3 bucket.
|
644
|
+
# Provides information about the account-level permissions settings
|
645
|
+
# that apply to an S3 bucket.
|
618
646
|
# @return [Types::AccountLevelPermissions]
|
619
647
|
#
|
620
648
|
# @!attribute [rw] bucket_level_permissions
|
@@ -669,6 +697,30 @@ module Aws::Macie2
|
|
669
697
|
include Aws::Structure
|
670
698
|
end
|
671
699
|
|
700
|
+
# Provides information about the default server-side encryption settings
|
701
|
+
# for an S3 bucket. For detailed information about these settings, see
|
702
|
+
# [Setting default server-side encryption behavior for Amazon S3
|
703
|
+
# buckets][1] in the *Amazon Simple Storage Service User Guide*.
|
704
|
+
#
|
705
|
+
#
|
706
|
+
#
|
707
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
|
708
|
+
#
|
709
|
+
# @!attribute [rw] kms_master_key_id
|
710
|
+
# @return [String]
|
711
|
+
#
|
712
|
+
# @!attribute [rw] type
|
713
|
+
# @return [String]
|
714
|
+
#
|
715
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketServerSideEncryption AWS API Documentation
|
716
|
+
#
|
717
|
+
class BucketServerSideEncryption < Struct.new(
|
718
|
+
:kms_master_key_id,
|
719
|
+
:type)
|
720
|
+
SENSITIVE = []
|
721
|
+
include Aws::Structure
|
722
|
+
end
|
723
|
+
|
672
724
|
# Specifies criteria for sorting the results of a query for information
|
673
725
|
# about S3 buckets.
|
674
726
|
#
|
@@ -1226,7 +1278,8 @@ module Aws::Macie2
|
|
1226
1278
|
include Aws::Structure
|
1227
1279
|
end
|
1228
1280
|
|
1229
|
-
# Specifies an account to associate with an Amazon Macie
|
1281
|
+
# Specifies an AWS account to associate with an Amazon Macie
|
1282
|
+
# administrator account.
|
1230
1283
|
#
|
1231
1284
|
# @note When making an API call, you may pass CreateMemberRequest
|
1232
1285
|
# data as a hash:
|
@@ -1243,7 +1296,7 @@ module Aws::Macie2
|
|
1243
1296
|
#
|
1244
1297
|
# @!attribute [rw] account
|
1245
1298
|
# Specifies details for an account to associate with an Amazon Macie
|
1246
|
-
#
|
1299
|
+
# administrator account.
|
1247
1300
|
# @return [Types::AccountDetail]
|
1248
1301
|
#
|
1249
1302
|
# @!attribute [rw] tags
|
@@ -1262,7 +1315,7 @@ module Aws::Macie2
|
|
1262
1315
|
end
|
1263
1316
|
|
1264
1317
|
# Provides information about a request to associate an account with an
|
1265
|
-
# Amazon Macie
|
1318
|
+
# Amazon Macie administrator account.
|
1266
1319
|
#
|
1267
1320
|
# @!attribute [rw] arn
|
1268
1321
|
# @return [String]
|
@@ -1610,7 +1663,8 @@ module Aws::Macie2
|
|
1610
1663
|
class DeleteMemberResponse < Aws::EmptyStructure; end
|
1611
1664
|
|
1612
1665
|
# Specifies criteria for filtering, sorting, and paginating the results
|
1613
|
-
# of a query for information about S3
|
1666
|
+
# of a query for statistical data and other information about S3
|
1667
|
+
# buckets.
|
1614
1668
|
#
|
1615
1669
|
# @note When making an API call, you may pass DescribeBucketsRequest
|
1616
1670
|
# data as a hash:
|
@@ -1861,6 +1915,16 @@ module Aws::Macie2
|
|
1861
1915
|
#
|
1862
1916
|
class DisableOrganizationAdminAccountResponse < Aws::EmptyStructure; end
|
1863
1917
|
|
1918
|
+
# @api private
|
1919
|
+
#
|
1920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccountRequest AWS API Documentation
|
1921
|
+
#
|
1922
|
+
class DisassociateFromAdministratorAccountRequest < Aws::EmptyStructure; end
|
1923
|
+
|
1924
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccountResponse AWS API Documentation
|
1925
|
+
#
|
1926
|
+
class DisassociateFromAdministratorAccountResponse < Aws::EmptyStructure; end
|
1927
|
+
|
1864
1928
|
# @api private
|
1865
1929
|
#
|
1866
1930
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccountRequest AWS API Documentation
|
@@ -1914,8 +1978,8 @@ module Aws::Macie2
|
|
1914
1978
|
#
|
1915
1979
|
class Empty < Aws::EmptyStructure; end
|
1916
1980
|
|
1917
|
-
# Enables Amazon Macie and specifies the configuration settings for
|
1918
|
-
#
|
1981
|
+
# Enables Amazon Macie and specifies the configuration settings for a
|
1982
|
+
# Macie account.
|
1919
1983
|
#
|
1920
1984
|
# @note When making an API call, you may pass EnableMacieRequest
|
1921
1985
|
# data as a hash:
|
@@ -2271,6 +2335,30 @@ module Aws::Macie2
|
|
2271
2335
|
include Aws::Structure
|
2272
2336
|
end
|
2273
2337
|
|
2338
|
+
# @api private
|
2339
|
+
#
|
2340
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccountRequest AWS API Documentation
|
2341
|
+
#
|
2342
|
+
class GetAdministratorAccountRequest < Aws::EmptyStructure; end
|
2343
|
+
|
2344
|
+
# Provides information about the Amazon Macie administrator account for
|
2345
|
+
# an account. If the accounts are associated by a Macie membership
|
2346
|
+
# invitation, the response also provides information about that
|
2347
|
+
# invitation.
|
2348
|
+
#
|
2349
|
+
# @!attribute [rw] administrator
|
2350
|
+
# Provides information about an Amazon Macie membership invitation
|
2351
|
+
# that was received by an account.
|
2352
|
+
# @return [Types::Invitation]
|
2353
|
+
#
|
2354
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccountResponse AWS API Documentation
|
2355
|
+
#
|
2356
|
+
class GetAdministratorAccountResponse < Struct.new(
|
2357
|
+
:administrator)
|
2358
|
+
SENSITIVE = []
|
2359
|
+
include Aws::Structure
|
2360
|
+
end
|
2361
|
+
|
2274
2362
|
# Specifies the account that owns the S3 buckets to retrieve aggregated
|
2275
2363
|
# statistical data for.
|
2276
2364
|
#
|
@@ -2293,7 +2381,8 @@ module Aws::Macie2
|
|
2293
2381
|
end
|
2294
2382
|
|
2295
2383
|
# Provides the results of a query that retrieved aggregated statistical
|
2296
|
-
# data for the S3 buckets that
|
2384
|
+
# data for all the S3 buckets that Amazon Macie monitors and analyzes
|
2385
|
+
# for an account.
|
2297
2386
|
#
|
2298
2387
|
# @!attribute [rw] bucket_count
|
2299
2388
|
# @return [Integer]
|
@@ -2306,8 +2395,8 @@ module Aws::Macie2
|
|
2306
2395
|
#
|
2307
2396
|
# @!attribute [rw] bucket_count_by_encryption_type
|
2308
2397
|
# Provides information about the number of S3 buckets that use certain
|
2309
|
-
# types of server-side encryption or don't encrypt
|
2310
|
-
# default.
|
2398
|
+
# types of server-side encryption by default or don't encrypt new
|
2399
|
+
# objects by default.
|
2311
2400
|
# @return [Types::BucketCountByEncryptionType]
|
2312
2401
|
#
|
2313
2402
|
# @!attribute [rw] bucket_count_by_shared_access_type
|
@@ -2338,7 +2427,9 @@ module Aws::Macie2
|
|
2338
2427
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
2339
2428
|
# buckets. In a BucketMetadata object, this data is for a specific
|
2340
2429
|
# bucket. In a GetBucketStatisticsResponse object, this data is
|
2341
|
-
# aggregated for all the buckets in the query results.
|
2430
|
+
# aggregated for all the buckets in the query results. If versioning
|
2431
|
+
# is enabled for a bucket, total storage size values are based on the
|
2432
|
+
# size of the latest version of each applicable object in the bucket.
|
2342
2433
|
# @return [Types::ObjectLevelStatistics]
|
2343
2434
|
#
|
2344
2435
|
# @!attribute [rw] unclassifiable_object_size_in_bytes
|
@@ -2346,7 +2437,9 @@ module Aws::Macie2
|
|
2346
2437
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
2347
2438
|
# buckets. In a BucketMetadata object, this data is for a specific
|
2348
2439
|
# bucket. In a GetBucketStatisticsResponse object, this data is
|
2349
|
-
# aggregated for all the buckets in the query results.
|
2440
|
+
# aggregated for all the buckets in the query results. If versioning
|
2441
|
+
# is enabled for a bucket, total storage size values are based on the
|
2442
|
+
# size of the latest version of each applicable object in the bucket.
|
2350
2443
|
# @return [Types::ObjectLevelStatistics]
|
2351
2444
|
#
|
2352
2445
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatisticsResponse AWS API Documentation
|
@@ -2716,10 +2809,10 @@ module Aws::Macie2
|
|
2716
2809
|
#
|
2717
2810
|
class GetMasterAccountRequest < Aws::EmptyStructure; end
|
2718
2811
|
|
2719
|
-
# Provides information about the Amazon Macie
|
2720
|
-
# account. If the accounts are associated by a Macie
|
2721
|
-
# invitation, the response also provides information about
|
2722
|
-
# invitation.
|
2812
|
+
# (Deprecated) Provides information about the Amazon Macie administrator
|
2813
|
+
# account for an account. If the accounts are associated by a Macie
|
2814
|
+
# membership invitation, the response also provides information about
|
2815
|
+
# that invitation.
|
2723
2816
|
#
|
2724
2817
|
# @!attribute [rw] master
|
2725
2818
|
# Provides information about an Amazon Macie membership invitation
|
@@ -2753,11 +2846,14 @@ module Aws::Macie2
|
|
2753
2846
|
end
|
2754
2847
|
|
2755
2848
|
# Provides information about an account that's associated with an
|
2756
|
-
# Amazon Macie
|
2849
|
+
# Amazon Macie administrator account.
|
2757
2850
|
#
|
2758
2851
|
# @!attribute [rw] account_id
|
2759
2852
|
# @return [String]
|
2760
2853
|
#
|
2854
|
+
# @!attribute [rw] administrator_account_id
|
2855
|
+
# @return [String]
|
2856
|
+
#
|
2761
2857
|
# @!attribute [rw] arn
|
2762
2858
|
# @return [String]
|
2763
2859
|
#
|
@@ -2772,8 +2868,8 @@ module Aws::Macie2
|
|
2772
2868
|
#
|
2773
2869
|
# @!attribute [rw] relationship_status
|
2774
2870
|
# The current status of the relationship between an account and an
|
2775
|
-
# associated Amazon Macie
|
2776
|
-
# values are:
|
2871
|
+
# associated Amazon Macie administrator account (*inviter account*).
|
2872
|
+
# Possible values are:
|
2777
2873
|
# @return [String]
|
2778
2874
|
#
|
2779
2875
|
# @!attribute [rw] tags
|
@@ -2789,6 +2885,7 @@ module Aws::Macie2
|
|
2789
2885
|
#
|
2790
2886
|
class GetMemberResponse < Struct.new(
|
2791
2887
|
:account_id,
|
2888
|
+
:administrator_account_id,
|
2792
2889
|
:arn,
|
2793
2890
|
:email,
|
2794
2891
|
:invited_at,
|
@@ -2801,8 +2898,8 @@ module Aws::Macie2
|
|
2801
2898
|
end
|
2802
2899
|
|
2803
2900
|
# Specifies criteria for filtering, sorting, and paginating the results
|
2804
|
-
# of a query for quotas and aggregated usage data for one or more
|
2805
|
-
# accounts.
|
2901
|
+
# of a query for quotas and aggregated usage data for one or more Amazon
|
2902
|
+
# Macie accounts.
|
2806
2903
|
#
|
2807
2904
|
# @note When making an API call, you may pass GetUsageStatisticsRequest
|
2808
2905
|
# data as a hash:
|
@@ -2821,6 +2918,7 @@ module Aws::Macie2
|
|
2821
2918
|
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
2822
2919
|
# order_by: "ASC", # accepts ASC, DESC
|
2823
2920
|
# },
|
2921
|
+
# time_range: "MONTH_TO_DATE", # accepts MONTH_TO_DATE, PAST_30_DAYS
|
2824
2922
|
# }
|
2825
2923
|
#
|
2826
2924
|
# @!attribute [rw] filter_by
|
@@ -2833,23 +2931,29 @@ module Aws::Macie2
|
|
2833
2931
|
# @return [String]
|
2834
2932
|
#
|
2835
2933
|
# @!attribute [rw] sort_by
|
2836
|
-
# Specifies criteria for sorting the results of a query for
|
2837
|
-
# quotas and usage data.
|
2934
|
+
# Specifies criteria for sorting the results of a query for Amazon
|
2935
|
+
# Macie account quotas and usage data.
|
2838
2936
|
# @return [Types::UsageStatisticsSortBy]
|
2839
2937
|
#
|
2938
|
+
# @!attribute [rw] time_range
|
2939
|
+
# An inclusive time period that Amazon Macie usage data applies to.
|
2940
|
+
# Possible values are:
|
2941
|
+
# @return [String]
|
2942
|
+
#
|
2840
2943
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatisticsRequest AWS API Documentation
|
2841
2944
|
#
|
2842
2945
|
class GetUsageStatisticsRequest < Struct.new(
|
2843
2946
|
:filter_by,
|
2844
2947
|
:max_results,
|
2845
2948
|
:next_token,
|
2846
|
-
:sort_by
|
2949
|
+
:sort_by,
|
2950
|
+
:time_range)
|
2847
2951
|
SENSITIVE = []
|
2848
2952
|
include Aws::Structure
|
2849
2953
|
end
|
2850
2954
|
|
2851
2955
|
# Provides the results of a query that retrieved quotas and aggregated
|
2852
|
-
# usage data for one or more accounts.
|
2956
|
+
# usage data for one or more Amazon Macie accounts.
|
2853
2957
|
#
|
2854
2958
|
# @!attribute [rw] next_token
|
2855
2959
|
# @return [String]
|
@@ -2857,23 +2961,46 @@ module Aws::Macie2
|
|
2857
2961
|
# @!attribute [rw] records
|
2858
2962
|
# @return [Array<Types::UsageRecord>]
|
2859
2963
|
#
|
2964
|
+
# @!attribute [rw] time_range
|
2965
|
+
# An inclusive time period that Amazon Macie usage data applies to.
|
2966
|
+
# Possible values are:
|
2967
|
+
# @return [String]
|
2968
|
+
#
|
2860
2969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatisticsResponse AWS API Documentation
|
2861
2970
|
#
|
2862
2971
|
class GetUsageStatisticsResponse < Struct.new(
|
2863
2972
|
:next_token,
|
2864
|
-
:records
|
2973
|
+
:records,
|
2974
|
+
:time_range)
|
2865
2975
|
SENSITIVE = []
|
2866
2976
|
include Aws::Structure
|
2867
2977
|
end
|
2868
2978
|
|
2869
|
-
# @
|
2979
|
+
# @note When making an API call, you may pass GetUsageTotalsRequest
|
2980
|
+
# data as a hash:
|
2981
|
+
#
|
2982
|
+
# {
|
2983
|
+
# time_range: "__string",
|
2984
|
+
# }
|
2985
|
+
#
|
2986
|
+
# @!attribute [rw] time_range
|
2987
|
+
# @return [String]
|
2870
2988
|
#
|
2871
2989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotalsRequest AWS API Documentation
|
2872
2990
|
#
|
2873
|
-
class GetUsageTotalsRequest <
|
2991
|
+
class GetUsageTotalsRequest < Struct.new(
|
2992
|
+
:time_range)
|
2993
|
+
SENSITIVE = []
|
2994
|
+
include Aws::Structure
|
2995
|
+
end
|
2874
2996
|
|
2875
2997
|
# Provides the results of a query that retrieved aggregated usage data
|
2876
|
-
# for an
|
2998
|
+
# for an Amazon Macie account.
|
2999
|
+
#
|
3000
|
+
# @!attribute [rw] time_range
|
3001
|
+
# An inclusive time period that Amazon Macie usage data applies to.
|
3002
|
+
# Possible values are:
|
3003
|
+
# @return [String]
|
2877
3004
|
#
|
2878
3005
|
# @!attribute [rw] usage_totals
|
2879
3006
|
# @return [Array<Types::UsageTotal>]
|
@@ -2881,6 +3008,7 @@ module Aws::Macie2
|
|
2881
3008
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotalsResponse AWS API Documentation
|
2882
3009
|
#
|
2883
3010
|
class GetUsageTotalsResponse < Struct.new(
|
3011
|
+
:time_range,
|
2884
3012
|
:usage_totals)
|
2885
3013
|
SENSITIVE = []
|
2886
3014
|
include Aws::Structure
|
@@ -2958,8 +3086,8 @@ module Aws::Macie2
|
|
2958
3086
|
#
|
2959
3087
|
# @!attribute [rw] relationship_status
|
2960
3088
|
# The current status of the relationship between an account and an
|
2961
|
-
# associated Amazon Macie
|
2962
|
-
# values are:
|
3089
|
+
# associated Amazon Macie administrator account (*inviter account*).
|
3090
|
+
# Possible values are:
|
2963
3091
|
# @return [String]
|
2964
3092
|
#
|
2965
3093
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Invitation AWS API Documentation
|
@@ -3591,7 +3719,7 @@ module Aws::Macie2
|
|
3591
3719
|
include Aws::Structure
|
3592
3720
|
end
|
3593
3721
|
|
3594
|
-
# Provides information about
|
3722
|
+
# Provides information about the Amazon Macie membership invitations
|
3595
3723
|
# that were received by an account.
|
3596
3724
|
#
|
3597
3725
|
# @!attribute [rw] invitations
|
@@ -3737,7 +3865,7 @@ module Aws::Macie2
|
|
3737
3865
|
end
|
3738
3866
|
|
3739
3867
|
# Provides information about the accounts that are associated with an
|
3740
|
-
# Amazon Macie
|
3868
|
+
# Amazon Macie administrator account.
|
3741
3869
|
#
|
3742
3870
|
# @!attribute [rw] members
|
3743
3871
|
# @return [Array<Types::Member>]
|
@@ -3832,11 +3960,14 @@ module Aws::Macie2
|
|
3832
3960
|
end
|
3833
3961
|
|
3834
3962
|
# Provides information about an account that's associated with an
|
3835
|
-
# Amazon Macie
|
3963
|
+
# Amazon Macie administrator account.
|
3836
3964
|
#
|
3837
3965
|
# @!attribute [rw] account_id
|
3838
3966
|
# @return [String]
|
3839
3967
|
#
|
3968
|
+
# @!attribute [rw] administrator_account_id
|
3969
|
+
# @return [String]
|
3970
|
+
#
|
3840
3971
|
# @!attribute [rw] arn
|
3841
3972
|
# @return [String]
|
3842
3973
|
#
|
@@ -3851,8 +3982,8 @@ module Aws::Macie2
|
|
3851
3982
|
#
|
3852
3983
|
# @!attribute [rw] relationship_status
|
3853
3984
|
# The current status of the relationship between an account and an
|
3854
|
-
# associated Amazon Macie
|
3855
|
-
# values are:
|
3985
|
+
# associated Amazon Macie administrator account (*inviter account*).
|
3986
|
+
# Possible values are:
|
3856
3987
|
# @return [String]
|
3857
3988
|
#
|
3858
3989
|
# @!attribute [rw] tags
|
@@ -3868,6 +3999,7 @@ module Aws::Macie2
|
|
3868
3999
|
#
|
3869
4000
|
class Member < Struct.new(
|
3870
4001
|
:account_id,
|
4002
|
+
:administrator_account_id,
|
3871
4003
|
:arn,
|
3872
4004
|
:email,
|
3873
4005
|
:invited_at,
|
@@ -3931,7 +4063,9 @@ module Aws::Macie2
|
|
3931
4063
|
# of objects that Amazon Macie can't analyze in one or more S3 buckets.
|
3932
4064
|
# In a BucketMetadata object, this data is for a specific bucket. In a
|
3933
4065
|
# GetBucketStatisticsResponse object, this data is aggregated for all
|
3934
|
-
# the buckets in the query results.
|
4066
|
+
# the buckets in the query results. If versioning is enabled for a
|
4067
|
+
# bucket, total storage size values are based on the size of the latest
|
4068
|
+
# version of each applicable object in the bucket.
|
3935
4069
|
#
|
3936
4070
|
# @!attribute [rw] file_type
|
3937
4071
|
# @return [Integer]
|
@@ -4579,7 +4713,7 @@ module Aws::Macie2
|
|
4579
4713
|
include Aws::Structure
|
4580
4714
|
end
|
4581
4715
|
|
4582
|
-
# Specifies a current quota for an account.
|
4716
|
+
# Specifies a current quota for an Amazon Macie account.
|
4583
4717
|
#
|
4584
4718
|
# @!attribute [rw] is_service_limited
|
4585
4719
|
# @return [Boolean]
|
@@ -4962,7 +5096,7 @@ module Aws::Macie2
|
|
4962
5096
|
# @return [String]
|
4963
5097
|
#
|
4964
5098
|
# @!attribute [rw] error_code
|
4965
|
-
# The source of an
|
5099
|
+
# The source of an issue or delay. Possible values are:
|
4966
5100
|
# @return [String]
|
4967
5101
|
#
|
4968
5102
|
# @!attribute [rw] error_message
|
@@ -5189,7 +5323,7 @@ module Aws::Macie2
|
|
5189
5323
|
#
|
5190
5324
|
class UpdateMemberSessionResponse < Aws::EmptyStructure; end
|
5191
5325
|
|
5192
|
-
# Specifies whether Amazon Macie
|
5326
|
+
# Specifies whether to enable Amazon Macie automatically for accounts
|
5193
5327
|
# that are added to an AWS organization.
|
5194
5328
|
#
|
5195
5329
|
# @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
|
@@ -5215,23 +5349,23 @@ module Aws::Macie2
|
|
5215
5349
|
class UpdateOrganizationConfigurationResponse < Aws::EmptyStructure; end
|
5216
5350
|
|
5217
5351
|
# Provides data for a specific usage metric and the corresponding quota
|
5218
|
-
# for an account.
|
5219
|
-
# reports usage during the past 30 days.
|
5352
|
+
# for an Amazon Macie account.
|
5220
5353
|
#
|
5221
5354
|
# @!attribute [rw] currency
|
5222
|
-
# The type of currency that data for
|
5223
|
-
# Possible values are:
|
5355
|
+
# The type of currency that the data for an Amazon Macie usage metric
|
5356
|
+
# is reported in. Possible values are:
|
5224
5357
|
# @return [String]
|
5225
5358
|
#
|
5226
5359
|
# @!attribute [rw] estimated_cost
|
5227
5360
|
# @return [String]
|
5228
5361
|
#
|
5229
5362
|
# @!attribute [rw] service_limit
|
5230
|
-
# Specifies a current quota for an account.
|
5363
|
+
# Specifies a current quota for an Amazon Macie account.
|
5231
5364
|
# @return [Types::ServiceLimit]
|
5232
5365
|
#
|
5233
5366
|
# @!attribute [rw] type
|
5234
|
-
# The name of
|
5367
|
+
# The name of an Amazon Macie usage metric for an account. Possible
|
5368
|
+
# values are:
|
5235
5369
|
# @return [String]
|
5236
5370
|
#
|
5237
5371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageByAccount AWS API Documentation
|
@@ -5245,7 +5379,7 @@ module Aws::Macie2
|
|
5245
5379
|
include Aws::Structure
|
5246
5380
|
end
|
5247
5381
|
|
5248
|
-
# Provides quota and aggregated usage data for an account.
|
5382
|
+
# Provides quota and aggregated usage data for an Amazon Macie account.
|
5249
5383
|
#
|
5250
5384
|
# @!attribute [rw] account_id
|
5251
5385
|
# @return [String]
|
@@ -5266,8 +5400,8 @@ module Aws::Macie2
|
|
5266
5400
|
include Aws::Structure
|
5267
5401
|
end
|
5268
5402
|
|
5269
|
-
# Specifies a condition for filtering the results of a query for
|
5270
|
-
#
|
5403
|
+
# Specifies a condition for filtering the results of a query for quota
|
5404
|
+
# and usage data for one or more Amazon Macie accounts.
|
5271
5405
|
#
|
5272
5406
|
# @note When making an API call, you may pass UsageStatisticsFilter
|
5273
5407
|
# data as a hash:
|
@@ -5280,12 +5414,13 @@ module Aws::Macie2
|
|
5280
5414
|
#
|
5281
5415
|
# @!attribute [rw] comparator
|
5282
5416
|
# The operator to use in a condition that filters the results of a
|
5283
|
-
# query for account quotas and usage data. Valid values
|
5417
|
+
# query for Amazon Macie account quotas and usage data. Valid values
|
5418
|
+
# are:
|
5284
5419
|
# @return [String]
|
5285
5420
|
#
|
5286
5421
|
# @!attribute [rw] key
|
5287
5422
|
# The field to use in a condition that filters the results of a query
|
5288
|
-
# for account quotas and usage data. Valid values are:
|
5423
|
+
# for Amazon Macie account quotas and usage data. Valid values are:
|
5289
5424
|
# @return [String]
|
5290
5425
|
#
|
5291
5426
|
# @!attribute [rw] values
|
@@ -5301,8 +5436,8 @@ module Aws::Macie2
|
|
5301
5436
|
include Aws::Structure
|
5302
5437
|
end
|
5303
5438
|
|
5304
|
-
# Specifies criteria for sorting the results of a query for
|
5305
|
-
# quotas and usage data.
|
5439
|
+
# Specifies criteria for sorting the results of a query for Amazon Macie
|
5440
|
+
# account quotas and usage data.
|
5306
5441
|
#
|
5307
5442
|
# @note When making an API call, you may pass UsageStatisticsSortBy
|
5308
5443
|
# data as a hash:
|
@@ -5313,8 +5448,8 @@ module Aws::Macie2
|
|
5313
5448
|
# }
|
5314
5449
|
#
|
5315
5450
|
# @!attribute [rw] key
|
5316
|
-
# The field to use to sort the results of a query for
|
5317
|
-
# and usage data. Valid values are:
|
5451
|
+
# The field to use to sort the results of a query for Amazon Macie
|
5452
|
+
# account quotas and usage data. Valid values are:
|
5318
5453
|
# @return [String]
|
5319
5454
|
#
|
5320
5455
|
# @!attribute [rw] order_by
|
@@ -5329,19 +5464,22 @@ module Aws::Macie2
|
|
5329
5464
|
include Aws::Structure
|
5330
5465
|
end
|
5331
5466
|
|
5332
|
-
# Provides aggregated data for
|
5333
|
-
# reports usage data for an account
|
5467
|
+
# Provides aggregated data for an Amazon Macie usage metric. The value
|
5468
|
+
# for the metric reports estimated usage data for an account for the
|
5469
|
+
# preceding 30 days or the current calendar month to date, depending on
|
5470
|
+
# the time period (timeRange) specified in the request.
|
5334
5471
|
#
|
5335
5472
|
# @!attribute [rw] currency
|
5336
|
-
# The type of currency that data for
|
5337
|
-
# Possible values are:
|
5473
|
+
# The type of currency that the data for an Amazon Macie usage metric
|
5474
|
+
# is reported in. Possible values are:
|
5338
5475
|
# @return [String]
|
5339
5476
|
#
|
5340
5477
|
# @!attribute [rw] estimated_cost
|
5341
5478
|
# @return [String]
|
5342
5479
|
#
|
5343
5480
|
# @!attribute [rw] type
|
5344
|
-
# The name of
|
5481
|
+
# The name of an Amazon Macie usage metric for an account. Possible
|
5482
|
+
# values are:
|
5345
5483
|
# @return [String]
|
5346
5484
|
#
|
5347
5485
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageTotal AWS API Documentation
|