aws-sdk-macie2 1.5.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-macie2.rb +2 -2
- data/lib/aws-sdk-macie2/client.rb +75 -23
- data/lib/aws-sdk-macie2/client_api.rb +69 -0
- data/lib/aws-sdk-macie2/types.rb +280 -124
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6ba72ff8fa68db8d435e9156f578909c47a0fba50bce4f9e7b3f1d4dccabbbb
|
4
|
+
data.tar.gz: 0b652fd5bf2a51fe6f64e38f8fed05a680280caac71a8579fd87c94fb59e964e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3de05e1d841fc3159859e4e03bdc30551891e7d2d4c89acbbc56468c1472669c3a5a6a71a7b092d7f9c4c1bdf549968c22f8736e5d318b1af57d08e858300ca
|
7
|
+
data.tar.gz: 2c24cc5c0aaa6ff18eea9ec57b618dc7ff6618c2dfb6ecfb9a844e87a9e4136a43203f0bfec1f4c9740635c83029f548388dd07f22ba241d336f448ffbe6e10a
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::Macie2
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Macie2
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -757,7 +772,7 @@ module Aws::Macie2
|
|
757
772
|
req.send_request(options)
|
758
773
|
end
|
759
774
|
|
760
|
-
#
|
775
|
+
# Soft deletes a custom data identifier.
|
761
776
|
#
|
762
777
|
# @option params [required, String] :id
|
763
778
|
#
|
@@ -872,6 +887,8 @@ module Aws::Macie2
|
|
872
887
|
# * {Types::DescribeBucketsResponse#buckets #buckets} => Array<Types::BucketMetadata>
|
873
888
|
# * {Types::DescribeBucketsResponse#next_token #next_token} => String
|
874
889
|
#
|
890
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
891
|
+
#
|
875
892
|
# @example Request syntax with placeholder values
|
876
893
|
#
|
877
894
|
# resp = client.describe_buckets({
|
@@ -902,13 +919,14 @@ module Aws::Macie2
|
|
902
919
|
# resp.buckets[0].bucket_created_at #=> Time
|
903
920
|
# resp.buckets[0].bucket_name #=> String
|
904
921
|
# resp.buckets[0].classifiable_object_count #=> Integer
|
922
|
+
# resp.buckets[0].classifiable_size_in_bytes #=> Integer
|
905
923
|
# resp.buckets[0].last_updated #=> Time
|
906
924
|
# resp.buckets[0].object_count #=> Integer
|
907
925
|
# resp.buckets[0].object_count_by_encryption_type.customer_managed #=> Integer
|
908
926
|
# resp.buckets[0].object_count_by_encryption_type.kms_managed #=> Integer
|
909
927
|
# resp.buckets[0].object_count_by_encryption_type.s3_managed #=> Integer
|
910
928
|
# resp.buckets[0].object_count_by_encryption_type.unencrypted #=> Integer
|
911
|
-
# resp.buckets[0].public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC"
|
929
|
+
# resp.buckets[0].public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC", "UNKNOWN"
|
912
930
|
# resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
|
913
931
|
# resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
|
914
932
|
# resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.ignore_public_acls #=> Boolean
|
@@ -926,12 +944,18 @@ module Aws::Macie2
|
|
926
944
|
# resp.buckets[0].replication_details.replicated_externally #=> Boolean
|
927
945
|
# resp.buckets[0].replication_details.replication_accounts #=> Array
|
928
946
|
# resp.buckets[0].replication_details.replication_accounts[0] #=> String
|
929
|
-
# resp.buckets[0].shared_access #=> String, one of "EXTERNAL", "INTERNAL", "NOT_SHARED"
|
947
|
+
# resp.buckets[0].shared_access #=> String, one of "EXTERNAL", "INTERNAL", "NOT_SHARED", "UNKNOWN"
|
930
948
|
# resp.buckets[0].size_in_bytes #=> Integer
|
931
949
|
# resp.buckets[0].size_in_bytes_compressed #=> Integer
|
932
950
|
# resp.buckets[0].tags #=> Array
|
933
951
|
# resp.buckets[0].tags[0].key #=> String
|
934
952
|
# resp.buckets[0].tags[0].value #=> String
|
953
|
+
# resp.buckets[0].unclassifiable_object_count.file_type #=> Integer
|
954
|
+
# resp.buckets[0].unclassifiable_object_count.storage_class #=> Integer
|
955
|
+
# resp.buckets[0].unclassifiable_object_count.total #=> Integer
|
956
|
+
# resp.buckets[0].unclassifiable_object_size_in_bytes.file_type #=> Integer
|
957
|
+
# resp.buckets[0].unclassifiable_object_size_in_bytes.storage_class #=> Integer
|
958
|
+
# resp.buckets[0].unclassifiable_object_size_in_bytes.total #=> Integer
|
935
959
|
# resp.buckets[0].versioning #=> Boolean
|
936
960
|
# resp.next_token #=> String
|
937
961
|
#
|
@@ -1197,10 +1221,13 @@ module Aws::Macie2
|
|
1197
1221
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_encryption_type #bucket_count_by_encryption_type} => Types::BucketCountByEncryptionType
|
1198
1222
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_shared_access_type #bucket_count_by_shared_access_type} => Types::BucketCountBySharedAccessType
|
1199
1223
|
# * {Types::GetBucketStatisticsResponse#classifiable_object_count #classifiable_object_count} => Integer
|
1224
|
+
# * {Types::GetBucketStatisticsResponse#classifiable_size_in_bytes #classifiable_size_in_bytes} => Integer
|
1200
1225
|
# * {Types::GetBucketStatisticsResponse#last_updated #last_updated} => Time
|
1201
1226
|
# * {Types::GetBucketStatisticsResponse#object_count #object_count} => Integer
|
1202
1227
|
# * {Types::GetBucketStatisticsResponse#size_in_bytes #size_in_bytes} => Integer
|
1203
1228
|
# * {Types::GetBucketStatisticsResponse#size_in_bytes_compressed #size_in_bytes_compressed} => Integer
|
1229
|
+
# * {Types::GetBucketStatisticsResponse#unclassifiable_object_count #unclassifiable_object_count} => Types::ObjectLevelStatistics
|
1230
|
+
# * {Types::GetBucketStatisticsResponse#unclassifiable_object_size_in_bytes #unclassifiable_object_size_in_bytes} => Types::ObjectLevelStatistics
|
1204
1231
|
#
|
1205
1232
|
# @example Request syntax with placeholder values
|
1206
1233
|
#
|
@@ -1221,10 +1248,17 @@ module Aws::Macie2
|
|
1221
1248
|
# resp.bucket_count_by_shared_access_type.internal #=> Integer
|
1222
1249
|
# resp.bucket_count_by_shared_access_type.not_shared #=> Integer
|
1223
1250
|
# resp.classifiable_object_count #=> Integer
|
1251
|
+
# resp.classifiable_size_in_bytes #=> Integer
|
1224
1252
|
# resp.last_updated #=> Time
|
1225
1253
|
# resp.object_count #=> Integer
|
1226
1254
|
# resp.size_in_bytes #=> Integer
|
1227
1255
|
# resp.size_in_bytes_compressed #=> Integer
|
1256
|
+
# resp.unclassifiable_object_count.file_type #=> Integer
|
1257
|
+
# resp.unclassifiable_object_count.storage_class #=> Integer
|
1258
|
+
# resp.unclassifiable_object_count.total #=> Integer
|
1259
|
+
# resp.unclassifiable_object_size_in_bytes.file_type #=> Integer
|
1260
|
+
# resp.unclassifiable_object_size_in_bytes.storage_class #=> Integer
|
1261
|
+
# resp.unclassifiable_object_size_in_bytes.total #=> Integer
|
1228
1262
|
#
|
1229
1263
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics AWS API Documentation
|
1230
1264
|
#
|
@@ -1319,8 +1353,8 @@ module Aws::Macie2
|
|
1319
1353
|
# @option params [Integer] :size
|
1320
1354
|
#
|
1321
1355
|
# @option params [Types::FindingStatisticsSortCriteria] :sort_criteria
|
1322
|
-
# Specifies criteria for sorting the results of a query
|
1323
|
-
# about findings.
|
1356
|
+
# Specifies criteria for sorting the results of a query that retrieves
|
1357
|
+
# aggregated statistical data about findings.
|
1324
1358
|
#
|
1325
1359
|
# @return [Types::GetFindingStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1326
1360
|
#
|
@@ -1472,7 +1506,7 @@ module Aws::Macie2
|
|
1472
1506
|
# resp.findings[0].resources_affected.s3_bucket.name #=> String
|
1473
1507
|
# resp.findings[0].resources_affected.s3_bucket.owner.display_name #=> String
|
1474
1508
|
# resp.findings[0].resources_affected.s3_bucket.owner.id #=> String
|
1475
|
-
# resp.findings[0].resources_affected.s3_bucket.public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC"
|
1509
|
+
# resp.findings[0].resources_affected.s3_bucket.public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC", "UNKNOWN"
|
1476
1510
|
# resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
|
1477
1511
|
# resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
|
1478
1512
|
# resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.ignore_public_acls #=> Boolean
|
@@ -1631,7 +1665,7 @@ module Aws::Macie2
|
|
1631
1665
|
# resp.master.account_id #=> String
|
1632
1666
|
# resp.master.invitation_id #=> String
|
1633
1667
|
# resp.master.invited_at #=> Time
|
1634
|
-
# resp.master.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed"
|
1668
|
+
# resp.master.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
|
1635
1669
|
#
|
1636
1670
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount AWS API Documentation
|
1637
1671
|
#
|
@@ -1671,7 +1705,7 @@ module Aws::Macie2
|
|
1671
1705
|
# resp.email #=> String
|
1672
1706
|
# resp.invited_at #=> Time
|
1673
1707
|
# resp.master_account_id #=> String
|
1674
|
-
# resp.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed"
|
1708
|
+
# resp.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
|
1675
1709
|
# resp.tags #=> Hash
|
1676
1710
|
# resp.tags["__string"] #=> String
|
1677
1711
|
# resp.updated_at #=> Time
|
@@ -1703,19 +1737,22 @@ module Aws::Macie2
|
|
1703
1737
|
# * {Types::GetUsageStatisticsResponse#next_token #next_token} => String
|
1704
1738
|
# * {Types::GetUsageStatisticsResponse#records #records} => Array<Types::UsageRecord>
|
1705
1739
|
#
|
1740
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1741
|
+
#
|
1706
1742
|
# @example Request syntax with placeholder values
|
1707
1743
|
#
|
1708
1744
|
# resp = client.get_usage_statistics({
|
1709
1745
|
# filter_by: [
|
1710
1746
|
# {
|
1711
|
-
#
|
1747
|
+
# comparator: "GT", # accepts GT, GTE, LT, LTE, EQ, NE, CONTAINS
|
1748
|
+
# key: "accountId", # accepts accountId, serviceLimit, freeTrialStartDate, total
|
1712
1749
|
# values: ["__string"],
|
1713
1750
|
# },
|
1714
1751
|
# ],
|
1715
1752
|
# max_results: 1,
|
1716
1753
|
# next_token: "__string",
|
1717
1754
|
# sort_by: {
|
1718
|
-
# key: "accountId", # accepts accountId, total
|
1755
|
+
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
1719
1756
|
# order_by: "ASC", # accepts ASC, DESC
|
1720
1757
|
# },
|
1721
1758
|
# })
|
@@ -1765,8 +1802,8 @@ module Aws::Macie2
|
|
1765
1802
|
req.send_request(options)
|
1766
1803
|
end
|
1767
1804
|
|
1768
|
-
# Retrieves
|
1769
|
-
#
|
1805
|
+
# Retrieves a subset of information about one or more classification
|
1806
|
+
# jobs.
|
1770
1807
|
#
|
1771
1808
|
# @option params [Types::ListJobsFilterCriteria] :filter_criteria
|
1772
1809
|
# Specifies criteria for filtering the results of a request for
|
@@ -1785,6 +1822,8 @@ module Aws::Macie2
|
|
1785
1822
|
# * {Types::ListClassificationJobsResponse#items #items} => Array<Types::JobSummary>
|
1786
1823
|
# * {Types::ListClassificationJobsResponse#next_token #next_token} => String
|
1787
1824
|
#
|
1825
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1826
|
+
#
|
1788
1827
|
# @example Request syntax with placeholder values
|
1789
1828
|
#
|
1790
1829
|
# resp = client.list_classification_jobs({
|
@@ -1847,6 +1886,8 @@ module Aws::Macie2
|
|
1847
1886
|
# * {Types::ListCustomDataIdentifiersResponse#items #items} => Array<Types::CustomDataIdentifierSummary>
|
1848
1887
|
# * {Types::ListCustomDataIdentifiersResponse#next_token #next_token} => String
|
1849
1888
|
#
|
1889
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1890
|
+
#
|
1850
1891
|
# @example Request syntax with placeholder values
|
1851
1892
|
#
|
1852
1893
|
# resp = client.list_custom_data_identifiers({
|
@@ -1892,6 +1933,8 @@ module Aws::Macie2
|
|
1892
1933
|
# * {Types::ListFindingsResponse#finding_ids #finding_ids} => Array<String>
|
1893
1934
|
# * {Types::ListFindingsResponse#next_token #next_token} => String
|
1894
1935
|
#
|
1936
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1937
|
+
#
|
1895
1938
|
# @example Request syntax with placeholder values
|
1896
1939
|
#
|
1897
1940
|
# resp = client.list_findings({
|
@@ -1942,6 +1985,8 @@ module Aws::Macie2
|
|
1942
1985
|
# * {Types::ListFindingsFiltersResponse#findings_filter_list_items #findings_filter_list_items} => Array<Types::FindingsFilterListItem>
|
1943
1986
|
# * {Types::ListFindingsFiltersResponse#next_token #next_token} => String
|
1944
1987
|
#
|
1988
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1989
|
+
#
|
1945
1990
|
# @example Request syntax with placeholder values
|
1946
1991
|
#
|
1947
1992
|
# resp = client.list_findings_filters({
|
@@ -1952,6 +1997,7 @@ module Aws::Macie2
|
|
1952
1997
|
# @example Response structure
|
1953
1998
|
#
|
1954
1999
|
# resp.findings_filter_list_items #=> Array
|
2000
|
+
# resp.findings_filter_list_items[0].action #=> String, one of "ARCHIVE", "NOOP"
|
1955
2001
|
# resp.findings_filter_list_items[0].arn #=> String
|
1956
2002
|
# resp.findings_filter_list_items[0].id #=> String
|
1957
2003
|
# resp.findings_filter_list_items[0].name #=> String
|
@@ -1980,6 +2026,8 @@ module Aws::Macie2
|
|
1980
2026
|
# * {Types::ListInvitationsResponse#invitations #invitations} => Array<Types::Invitation>
|
1981
2027
|
# * {Types::ListInvitationsResponse#next_token #next_token} => String
|
1982
2028
|
#
|
2029
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2030
|
+
#
|
1983
2031
|
# @example Request syntax with placeholder values
|
1984
2032
|
#
|
1985
2033
|
# resp = client.list_invitations({
|
@@ -1993,7 +2041,7 @@ module Aws::Macie2
|
|
1993
2041
|
# resp.invitations[0].account_id #=> String
|
1994
2042
|
# resp.invitations[0].invitation_id #=> String
|
1995
2043
|
# resp.invitations[0].invited_at #=> Time
|
1996
|
-
# resp.invitations[0].relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed"
|
2044
|
+
# resp.invitations[0].relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
|
1997
2045
|
# resp.next_token #=> String
|
1998
2046
|
#
|
1999
2047
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations AWS API Documentation
|
@@ -2019,6 +2067,8 @@ module Aws::Macie2
|
|
2019
2067
|
# * {Types::ListMembersResponse#members #members} => Array<Types::Member>
|
2020
2068
|
# * {Types::ListMembersResponse#next_token #next_token} => String
|
2021
2069
|
#
|
2070
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2071
|
+
#
|
2022
2072
|
# @example Request syntax with placeholder values
|
2023
2073
|
#
|
2024
2074
|
# resp = client.list_members({
|
@@ -2035,7 +2085,7 @@ module Aws::Macie2
|
|
2035
2085
|
# resp.members[0].email #=> String
|
2036
2086
|
# resp.members[0].invited_at #=> Time
|
2037
2087
|
# resp.members[0].master_account_id #=> String
|
2038
|
-
# resp.members[0].relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed"
|
2088
|
+
# resp.members[0].relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
|
2039
2089
|
# resp.members[0].tags #=> Hash
|
2040
2090
|
# resp.members[0].tags["__string"] #=> String
|
2041
2091
|
# resp.members[0].updated_at #=> Time
|
@@ -2062,6 +2112,8 @@ module Aws::Macie2
|
|
2062
2112
|
# * {Types::ListOrganizationAdminAccountsResponse#admin_accounts #admin_accounts} => Array<Types::AdminAccount>
|
2063
2113
|
# * {Types::ListOrganizationAdminAccountsResponse#next_token #next_token} => String
|
2064
2114
|
#
|
2115
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2116
|
+
#
|
2065
2117
|
# @example Request syntax with placeholder values
|
2066
2118
|
#
|
2067
2119
|
# resp = client.list_organization_admin_accounts({
|
@@ -2254,7 +2306,7 @@ module Aws::Macie2
|
|
2254
2306
|
# @option params [required, String] :job_id
|
2255
2307
|
#
|
2256
2308
|
# @option params [required, String] :job_status
|
2257
|
-
# The current status of a classification job.
|
2309
|
+
# The current status of a classification job. Possible values are:
|
2258
2310
|
#
|
2259
2311
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2260
2312
|
#
|
@@ -2424,7 +2476,7 @@ module Aws::Macie2
|
|
2424
2476
|
params: params,
|
2425
2477
|
config: config)
|
2426
2478
|
context[:gem_name] = 'aws-sdk-macie2'
|
2427
|
-
context[:gem_version] = '1.
|
2479
|
+
context[:gem_version] = '1.10.0'
|
2428
2480
|
Seahorse::Client::Request.new(handlers, context)
|
2429
2481
|
end
|
2430
2482
|
|
@@ -183,6 +183,7 @@ module Aws::Macie2
|
|
183
183
|
Member = Shapes::StructureShape.new(name: 'Member')
|
184
184
|
MonthlySchedule = Shapes::StructureShape.new(name: 'MonthlySchedule')
|
185
185
|
ObjectCountByEncryptionType = Shapes::StructureShape.new(name: 'ObjectCountByEncryptionType')
|
186
|
+
ObjectLevelStatistics = Shapes::StructureShape.new(name: 'ObjectLevelStatistics')
|
186
187
|
OrderBy = Shapes::StringShape.new(name: 'OrderBy')
|
187
188
|
PolicyDetails = Shapes::StructureShape.new(name: 'PolicyDetails')
|
188
189
|
PutClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'PutClassificationExportConfigurationRequest')
|
@@ -241,6 +242,7 @@ module Aws::Macie2
|
|
241
242
|
UsageByAccount = Shapes::StructureShape.new(name: 'UsageByAccount')
|
242
243
|
UsageRecord = Shapes::StructureShape.new(name: 'UsageRecord')
|
243
244
|
UsageStatisticsFilter = Shapes::StructureShape.new(name: 'UsageStatisticsFilter')
|
245
|
+
UsageStatisticsFilterComparator = Shapes::StringShape.new(name: 'UsageStatisticsFilterComparator')
|
244
246
|
UsageStatisticsFilterKey = Shapes::StringShape.new(name: 'UsageStatisticsFilterKey')
|
245
247
|
UsageStatisticsSortBy = Shapes::StructureShape.new(name: 'UsageStatisticsSortBy')
|
246
248
|
UsageStatisticsSortKey = Shapes::StringShape.new(name: 'UsageStatisticsSortKey')
|
@@ -383,6 +385,7 @@ module Aws::Macie2
|
|
383
385
|
BucketMetadata.add_member(:bucket_created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "bucketCreatedAt"))
|
384
386
|
BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
|
385
387
|
BucketMetadata.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
|
388
|
+
BucketMetadata.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
|
386
389
|
BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
|
387
390
|
BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
|
388
391
|
BucketMetadata.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
|
@@ -393,6 +396,8 @@ module Aws::Macie2
|
|
393
396
|
BucketMetadata.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
|
394
397
|
BucketMetadata.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
|
395
398
|
BucketMetadata.add_member(:tags, Shapes::ShapeRef.new(shape: __listOfKeyValuePair, location_name: "tags"))
|
399
|
+
BucketMetadata.add_member(:unclassifiable_object_count, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectCount"))
|
400
|
+
BucketMetadata.add_member(:unclassifiable_object_size_in_bytes, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectSizeInBytes"))
|
396
401
|
BucketMetadata.add_member(:versioning, Shapes::ShapeRef.new(shape: __boolean, location_name: "versioning"))
|
397
402
|
BucketMetadata.struct_class = Types::BucketMetadata
|
398
403
|
|
@@ -677,6 +682,7 @@ module Aws::Macie2
|
|
677
682
|
FindingStatisticsSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
|
678
683
|
FindingStatisticsSortCriteria.struct_class = Types::FindingStatisticsSortCriteria
|
679
684
|
|
685
|
+
FindingsFilterListItem.add_member(:action, Shapes::ShapeRef.new(shape: FindingsFilterAction, location_name: "action"))
|
680
686
|
FindingsFilterListItem.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
681
687
|
FindingsFilterListItem.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
|
682
688
|
FindingsFilterListItem.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
@@ -691,10 +697,13 @@ module Aws::Macie2
|
|
691
697
|
GetBucketStatisticsResponse.add_member(:bucket_count_by_encryption_type, Shapes::ShapeRef.new(shape: BucketCountByEncryptionType, location_name: "bucketCountByEncryptionType"))
|
692
698
|
GetBucketStatisticsResponse.add_member(:bucket_count_by_shared_access_type, Shapes::ShapeRef.new(shape: BucketCountBySharedAccessType, location_name: "bucketCountBySharedAccessType"))
|
693
699
|
GetBucketStatisticsResponse.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
|
700
|
+
GetBucketStatisticsResponse.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
|
694
701
|
GetBucketStatisticsResponse.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
|
695
702
|
GetBucketStatisticsResponse.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
|
696
703
|
GetBucketStatisticsResponse.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
|
697
704
|
GetBucketStatisticsResponse.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
|
705
|
+
GetBucketStatisticsResponse.add_member(:unclassifiable_object_count, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectCount"))
|
706
|
+
GetBucketStatisticsResponse.add_member(:unclassifiable_object_size_in_bytes, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectSizeInBytes"))
|
698
707
|
GetBucketStatisticsResponse.struct_class = Types::GetBucketStatisticsResponse
|
699
708
|
|
700
709
|
GetClassificationExportConfigurationRequest.struct_class = Types::GetClassificationExportConfigurationRequest
|
@@ -962,6 +971,11 @@ module Aws::Macie2
|
|
962
971
|
ObjectCountByEncryptionType.add_member(:unencrypted, Shapes::ShapeRef.new(shape: __long, location_name: "unencrypted"))
|
963
972
|
ObjectCountByEncryptionType.struct_class = Types::ObjectCountByEncryptionType
|
964
973
|
|
974
|
+
ObjectLevelStatistics.add_member(:file_type, Shapes::ShapeRef.new(shape: __long, location_name: "fileType"))
|
975
|
+
ObjectLevelStatistics.add_member(:storage_class, Shapes::ShapeRef.new(shape: __long, location_name: "storageClass"))
|
976
|
+
ObjectLevelStatistics.add_member(:total, Shapes::ShapeRef.new(shape: __long, location_name: "total"))
|
977
|
+
ObjectLevelStatistics.struct_class = Types::ObjectLevelStatistics
|
978
|
+
|
965
979
|
PolicyDetails.add_member(:action, Shapes::ShapeRef.new(shape: FindingAction, location_name: "action"))
|
966
980
|
PolicyDetails.add_member(:actor, Shapes::ShapeRef.new(shape: FindingActor, location_name: "actor"))
|
967
981
|
PolicyDetails.struct_class = Types::PolicyDetails
|
@@ -1168,6 +1182,7 @@ module Aws::Macie2
|
|
1168
1182
|
UsageRecord.add_member(:usage, Shapes::ShapeRef.new(shape: __listOfUsageByAccount, location_name: "usage"))
|
1169
1183
|
UsageRecord.struct_class = Types::UsageRecord
|
1170
1184
|
|
1185
|
+
UsageStatisticsFilter.add_member(:comparator, Shapes::ShapeRef.new(shape: UsageStatisticsFilterComparator, location_name: "comparator"))
|
1171
1186
|
UsageStatisticsFilter.add_member(:key, Shapes::ShapeRef.new(shape: UsageStatisticsFilterKey, location_name: "key"))
|
1172
1187
|
UsageStatisticsFilter.add_member(:values, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "values"))
|
1173
1188
|
UsageStatisticsFilter.struct_class = Types::UsageStatisticsFilter
|
@@ -1471,6 +1486,12 @@ module Aws::Macie2
|
|
1471
1486
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1472
1487
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1473
1488
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1489
|
+
o[:pager] = Aws::Pager.new(
|
1490
|
+
limit_key: "max_results",
|
1491
|
+
tokens: {
|
1492
|
+
"next_token" => "next_token"
|
1493
|
+
}
|
1494
|
+
)
|
1474
1495
|
end)
|
1475
1496
|
|
1476
1497
|
api.add_operation(:describe_classification_job, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1756,6 +1777,12 @@ module Aws::Macie2
|
|
1756
1777
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1757
1778
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1758
1779
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1780
|
+
o[:pager] = Aws::Pager.new(
|
1781
|
+
limit_key: "max_results",
|
1782
|
+
tokens: {
|
1783
|
+
"next_token" => "next_token"
|
1784
|
+
}
|
1785
|
+
)
|
1759
1786
|
end)
|
1760
1787
|
|
1761
1788
|
api.add_operation(:get_usage_totals, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1786,6 +1813,12 @@ module Aws::Macie2
|
|
1786
1813
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1787
1814
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1788
1815
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1816
|
+
o[:pager] = Aws::Pager.new(
|
1817
|
+
limit_key: "max_results",
|
1818
|
+
tokens: {
|
1819
|
+
"next_token" => "next_token"
|
1820
|
+
}
|
1821
|
+
)
|
1789
1822
|
end)
|
1790
1823
|
|
1791
1824
|
api.add_operation(:list_custom_data_identifiers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1801,6 +1834,12 @@ module Aws::Macie2
|
|
1801
1834
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1802
1835
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1803
1836
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1837
|
+
o[:pager] = Aws::Pager.new(
|
1838
|
+
limit_key: "max_results",
|
1839
|
+
tokens: {
|
1840
|
+
"next_token" => "next_token"
|
1841
|
+
}
|
1842
|
+
)
|
1804
1843
|
end)
|
1805
1844
|
|
1806
1845
|
api.add_operation(:list_findings, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1816,6 +1855,12 @@ module Aws::Macie2
|
|
1816
1855
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1817
1856
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1818
1857
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1858
|
+
o[:pager] = Aws::Pager.new(
|
1859
|
+
limit_key: "max_results",
|
1860
|
+
tokens: {
|
1861
|
+
"next_token" => "next_token"
|
1862
|
+
}
|
1863
|
+
)
|
1819
1864
|
end)
|
1820
1865
|
|
1821
1866
|
api.add_operation(:list_findings_filters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1831,6 +1876,12 @@ module Aws::Macie2
|
|
1831
1876
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1832
1877
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1833
1878
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1879
|
+
o[:pager] = Aws::Pager.new(
|
1880
|
+
limit_key: "max_results",
|
1881
|
+
tokens: {
|
1882
|
+
"next_token" => "next_token"
|
1883
|
+
}
|
1884
|
+
)
|
1834
1885
|
end)
|
1835
1886
|
|
1836
1887
|
api.add_operation(:list_invitations, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1846,6 +1897,12 @@ module Aws::Macie2
|
|
1846
1897
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1847
1898
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1848
1899
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1900
|
+
o[:pager] = Aws::Pager.new(
|
1901
|
+
limit_key: "max_results",
|
1902
|
+
tokens: {
|
1903
|
+
"next_token" => "next_token"
|
1904
|
+
}
|
1905
|
+
)
|
1849
1906
|
end)
|
1850
1907
|
|
1851
1908
|
api.add_operation(:list_members, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1861,6 +1918,12 @@ module Aws::Macie2
|
|
1861
1918
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1862
1919
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1863
1920
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1921
|
+
o[:pager] = Aws::Pager.new(
|
1922
|
+
limit_key: "max_results",
|
1923
|
+
tokens: {
|
1924
|
+
"next_token" => "next_token"
|
1925
|
+
}
|
1926
|
+
)
|
1864
1927
|
end)
|
1865
1928
|
|
1866
1929
|
api.add_operation(:list_organization_admin_accounts, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1876,6 +1939,12 @@ module Aws::Macie2
|
|
1876
1939
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1877
1940
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1878
1941
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1942
|
+
o[:pager] = Aws::Pager.new(
|
1943
|
+
limit_key: "max_results",
|
1944
|
+
tokens: {
|
1945
|
+
"next_token" => "next_token"
|
1946
|
+
}
|
1947
|
+
)
|
1879
1948
|
end)
|
1880
1949
|
|
1881
1950
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|