aws-sdk-macie2 1.1.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c43ec0011cec09df2b73a8ddc72fcde72e945cf843e56782772090bf7a40859
4
- data.tar.gz: 1119339c13110714cb6cdc5ff190b04ffd6e0780471ca2cd3901b249b5663747
3
+ metadata.gz: 80aa60e9aad15bfed1af5c45507c056bc5383e9f6d1713e7d078476faf61e4cf
4
+ data.tar.gz: 14394bd9f3b8d93f37fbd6df81eec563ae062a23816ddfc6a3050cf9009afe77
5
5
  SHA512:
6
- metadata.gz: 0b1d031bcf037fdc76c6bd74a957fa060858bdb8a2d259c8149da2630c9a95116baf3ead4428aeaf8249d55ee8b2996596abe176d86999f42c05f7c18c304648
7
- data.tar.gz: 6fc7438d3bb2dc8fbbe2d97d76ee0714a69023326da3a19cae013fb316e13df9e8e955a466c745581a8d61ba9d43b9611ec6622258df781924ec1e68740c821f
6
+ metadata.gz: 6e7463e5b679b6d4c90da721b30b1f9ba898d4f174a33e1d0bb88450926f8fd4ef8c06ae9507f4aeac11e7d13c17daad14360f1a63097f10d2655bd0517da8be
7
+ data.tar.gz: 41439a320744b2bc876ee3505478abfa2a33668a34123a0c87f19cb80bd6611fda2eca24ba94b94575cf4dcc8355dfe0e3e5b3ba75434118b47d5960bd32f86a
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-macie2/customizations'
45
47
  # @service
46
48
  module Aws::Macie2
47
49
 
48
- GEM_VERSION = '1.1.0'
50
+ GEM_VERSION = '1.6.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::Macie2
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -161,7 +165,7 @@ module Aws::Macie2
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::Macie2
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -333,27 +337,6 @@ module Aws::Macie2
333
337
  req.send_request(options)
334
338
  end
335
339
 
336
- # Archives one or more findings.
337
- #
338
- # @option params [required, Array<String>] :finding_ids
339
- #
340
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
341
- #
342
- # @example Request syntax with placeholder values
343
- #
344
- # resp = client.archive_findings({
345
- # finding_ids: ["__string"], # required
346
- # })
347
- #
348
- # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ArchiveFindings AWS API Documentation
349
- #
350
- # @overload archive_findings(params = {})
351
- # @param [Hash] params ({})
352
- def archive_findings(params = {}, options = {})
353
- req = build_request(:archive_findings, params)
354
- req.send_request(options)
355
- end
356
-
357
340
  # Retrieves information about one or more custom data identifiers.
358
341
  #
359
342
  # @option params [Array<String>] :ids
@@ -579,8 +562,9 @@ module Aws::Macie2
579
562
  # filter.
580
563
  #
581
564
  # @option params [required, String] :action
582
- # The action to perform on findings that meet the filter criteria. Valid
583
- # values are:
565
+ # The action to perform on findings that meet the filter criteria. To
566
+ # suppress (automatically archive) findings that meet the criteria, set
567
+ # this value to ARCHIVE. Valid values are:
584
568
  #
585
569
  # @option params [String] :client_token
586
570
  # **A suitable default value is auto-generated.** You should normally
@@ -773,7 +757,7 @@ module Aws::Macie2
773
757
  req.send_request(options)
774
758
  end
775
759
 
776
- # Deletes a custom data identifier.
760
+ # Soft deletes a custom data identifier.
777
761
  #
778
762
  # @option params [required, String] :id
779
763
  #
@@ -888,6 +872,8 @@ module Aws::Macie2
888
872
  # * {Types::DescribeBucketsResponse#buckets #buckets} => Array&lt;Types::BucketMetadata&gt;
889
873
  # * {Types::DescribeBucketsResponse#next_token #next_token} => String
890
874
  #
875
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
876
+ #
891
877
  # @example Request syntax with placeholder values
892
878
  #
893
879
  # resp = client.describe_buckets({
@@ -1147,9 +1133,10 @@ module Aws::Macie2
1147
1133
  # not need to pass this option.**
1148
1134
  #
1149
1135
  # @option params [String] :finding_publishing_frequency
1150
- # The frequency with which Amazon Macie publishes findings for an
1151
- # account. This includes adding findings to AWS Security Hub and
1152
- # exporting finding events to Amazon CloudWatch. Valid values are:
1136
+ # The frequency with which Amazon Macie publishes updates to policy
1137
+ # findings for an account. This includes publishing updates to AWS
1138
+ # Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch
1139
+ # Events). Valid values are:
1153
1140
  #
1154
1141
  # @option params [String] :status
1155
1142
  # The status of an Amazon Macie account. Valid values are:
@@ -1250,7 +1237,7 @@ module Aws::Macie2
1250
1237
  req.send_request(options)
1251
1238
  end
1252
1239
 
1253
- # Retrieves the configuration settings for exporting data classification
1240
+ # Retrieves the configuration settings for storing data classification
1254
1241
  # results.
1255
1242
  #
1256
1243
  # @return [Types::GetClassificationExportConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1334,8 +1321,8 @@ module Aws::Macie2
1334
1321
  # @option params [Integer] :size
1335
1322
  #
1336
1323
  # @option params [Types::FindingStatisticsSortCriteria] :sort_criteria
1337
- # Specifies criteria for sorting the results of a query for information
1338
- # about findings.
1324
+ # Specifies criteria for sorting the results of a query that retrieves
1325
+ # aggregated statistical data about findings.
1339
1326
  #
1340
1327
  # @return [Types::GetFindingStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1341
1328
  #
@@ -1482,7 +1469,7 @@ module Aws::Macie2
1482
1469
  # resp.findings[0].region #=> String
1483
1470
  # resp.findings[0].resources_affected.s3_bucket.arn #=> String
1484
1471
  # resp.findings[0].resources_affected.s3_bucket.created_at #=> Time
1485
- # resp.findings[0].resources_affected.s3_bucket.default_server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms"
1472
+ # resp.findings[0].resources_affected.s3_bucket.default_server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms", "UNKNOWN"
1486
1473
  # resp.findings[0].resources_affected.s3_bucket.default_server_side_encryption.kms_master_key_id #=> String
1487
1474
  # resp.findings[0].resources_affected.s3_bucket.name #=> String
1488
1475
  # resp.findings[0].resources_affected.s3_bucket.owner.display_name #=> String
@@ -1510,7 +1497,7 @@ module Aws::Macie2
1510
1497
  # resp.findings[0].resources_affected.s3_object.last_modified #=> Time
1511
1498
  # resp.findings[0].resources_affected.s3_object.path #=> String
1512
1499
  # resp.findings[0].resources_affected.s3_object.public_access #=> Boolean
1513
- # resp.findings[0].resources_affected.s3_object.server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms"
1500
+ # resp.findings[0].resources_affected.s3_object.server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms", "UNKNOWN"
1514
1501
  # resp.findings[0].resources_affected.s3_object.server_side_encryption.kms_master_key_id #=> String
1515
1502
  # resp.findings[0].resources_affected.s3_object.size #=> Integer
1516
1503
  # resp.findings[0].resources_affected.s3_object.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "ONEZONE_IA", "GLACIER"
@@ -1646,7 +1633,7 @@ module Aws::Macie2
1646
1633
  # resp.master.account_id #=> String
1647
1634
  # resp.master.invitation_id #=> String
1648
1635
  # resp.master.invited_at #=> Time
1649
- # resp.master.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed"
1636
+ # resp.master.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
1650
1637
  #
1651
1638
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount AWS API Documentation
1652
1639
  #
@@ -1686,7 +1673,7 @@ module Aws::Macie2
1686
1673
  # resp.email #=> String
1687
1674
  # resp.invited_at #=> Time
1688
1675
  # resp.master_account_id #=> String
1689
- # resp.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed"
1676
+ # resp.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
1690
1677
  # resp.tags #=> Hash
1691
1678
  # resp.tags["__string"] #=> String
1692
1679
  # resp.updated_at #=> Time
@@ -1718,6 +1705,8 @@ module Aws::Macie2
1718
1705
  # * {Types::GetUsageStatisticsResponse#next_token #next_token} => String
1719
1706
  # * {Types::GetUsageStatisticsResponse#records #records} => Array&lt;Types::UsageRecord&gt;
1720
1707
  #
1708
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1709
+ #
1721
1710
  # @example Request syntax with placeholder values
1722
1711
  #
1723
1712
  # resp = client.get_usage_statistics({
@@ -1780,8 +1769,8 @@ module Aws::Macie2
1780
1769
  req.send_request(options)
1781
1770
  end
1782
1771
 
1783
- # Retrieves information about the status and settings for one or more
1784
- # classification jobs.
1772
+ # Retrieves a subset of information about one or more classification
1773
+ # jobs.
1785
1774
  #
1786
1775
  # @option params [Types::ListJobsFilterCriteria] :filter_criteria
1787
1776
  # Specifies criteria for filtering the results of a request for
@@ -1800,6 +1789,8 @@ module Aws::Macie2
1800
1789
  # * {Types::ListClassificationJobsResponse#items #items} => Array&lt;Types::JobSummary&gt;
1801
1790
  # * {Types::ListClassificationJobsResponse#next_token #next_token} => String
1802
1791
  #
1792
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1793
+ #
1803
1794
  # @example Request syntax with placeholder values
1804
1795
  #
1805
1796
  # resp = client.list_classification_jobs({
@@ -1862,6 +1853,8 @@ module Aws::Macie2
1862
1853
  # * {Types::ListCustomDataIdentifiersResponse#items #items} => Array&lt;Types::CustomDataIdentifierSummary&gt;
1863
1854
  # * {Types::ListCustomDataIdentifiersResponse#next_token #next_token} => String
1864
1855
  #
1856
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1857
+ #
1865
1858
  # @example Request syntax with placeholder values
1866
1859
  #
1867
1860
  # resp = client.list_custom_data_identifiers({
@@ -1907,6 +1900,8 @@ module Aws::Macie2
1907
1900
  # * {Types::ListFindingsResponse#finding_ids #finding_ids} => Array&lt;String&gt;
1908
1901
  # * {Types::ListFindingsResponse#next_token #next_token} => String
1909
1902
  #
1903
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1904
+ #
1910
1905
  # @example Request syntax with placeholder values
1911
1906
  #
1912
1907
  # resp = client.list_findings({
@@ -1957,6 +1952,8 @@ module Aws::Macie2
1957
1952
  # * {Types::ListFindingsFiltersResponse#findings_filter_list_items #findings_filter_list_items} => Array&lt;Types::FindingsFilterListItem&gt;
1958
1953
  # * {Types::ListFindingsFiltersResponse#next_token #next_token} => String
1959
1954
  #
1955
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1956
+ #
1960
1957
  # @example Request syntax with placeholder values
1961
1958
  #
1962
1959
  # resp = client.list_findings_filters({
@@ -1967,6 +1964,7 @@ module Aws::Macie2
1967
1964
  # @example Response structure
1968
1965
  #
1969
1966
  # resp.findings_filter_list_items #=> Array
1967
+ # resp.findings_filter_list_items[0].action #=> String, one of "ARCHIVE", "NOOP"
1970
1968
  # resp.findings_filter_list_items[0].arn #=> String
1971
1969
  # resp.findings_filter_list_items[0].id #=> String
1972
1970
  # resp.findings_filter_list_items[0].name #=> String
@@ -1995,6 +1993,8 @@ module Aws::Macie2
1995
1993
  # * {Types::ListInvitationsResponse#invitations #invitations} => Array&lt;Types::Invitation&gt;
1996
1994
  # * {Types::ListInvitationsResponse#next_token #next_token} => String
1997
1995
  #
1996
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1997
+ #
1998
1998
  # @example Request syntax with placeholder values
1999
1999
  #
2000
2000
  # resp = client.list_invitations({
@@ -2008,7 +2008,7 @@ module Aws::Macie2
2008
2008
  # resp.invitations[0].account_id #=> String
2009
2009
  # resp.invitations[0].invitation_id #=> String
2010
2010
  # resp.invitations[0].invited_at #=> Time
2011
- # resp.invitations[0].relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed"
2011
+ # resp.invitations[0].relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
2012
2012
  # resp.next_token #=> String
2013
2013
  #
2014
2014
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations AWS API Documentation
@@ -2034,6 +2034,8 @@ module Aws::Macie2
2034
2034
  # * {Types::ListMembersResponse#members #members} => Array&lt;Types::Member&gt;
2035
2035
  # * {Types::ListMembersResponse#next_token #next_token} => String
2036
2036
  #
2037
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2038
+ #
2037
2039
  # @example Request syntax with placeholder values
2038
2040
  #
2039
2041
  # resp = client.list_members({
@@ -2050,7 +2052,7 @@ module Aws::Macie2
2050
2052
  # resp.members[0].email #=> String
2051
2053
  # resp.members[0].invited_at #=> Time
2052
2054
  # resp.members[0].master_account_id #=> String
2053
- # resp.members[0].relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed"
2055
+ # resp.members[0].relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
2054
2056
  # resp.members[0].tags #=> Hash
2055
2057
  # resp.members[0].tags["__string"] #=> String
2056
2058
  # resp.members[0].updated_at #=> Time
@@ -2077,6 +2079,8 @@ module Aws::Macie2
2077
2079
  # * {Types::ListOrganizationAdminAccountsResponse#admin_accounts #admin_accounts} => Array&lt;Types::AdminAccount&gt;
2078
2080
  # * {Types::ListOrganizationAdminAccountsResponse#next_token #next_token} => String
2079
2081
  #
2082
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2083
+ #
2080
2084
  # @example Request syntax with placeholder values
2081
2085
  #
2082
2086
  # resp = client.list_organization_admin_accounts({
@@ -2130,13 +2134,13 @@ module Aws::Macie2
2130
2134
  req.send_request(options)
2131
2135
  end
2132
2136
 
2133
- # Creates or updates the configuration settings for exporting data
2137
+ # Creates or updates the configuration settings for storing data
2134
2138
  # classification results.
2135
2139
  #
2136
2140
  # @option params [required, Types::ClassificationExportConfiguration] :configuration
2137
- # Specifies where to export data classification results to, and the
2141
+ # Specifies where to store data classification results, and the
2138
2142
  # encryption settings to use when storing results in that location.
2139
- # Currently, you can export classification results only to an S3 bucket.
2143
+ # Currently, you can store classification results only in an S3 bucket.
2140
2144
  #
2141
2145
  # @return [Types::PutClassificationExportConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2142
2146
  #
@@ -2239,27 +2243,6 @@ module Aws::Macie2
2239
2243
  req.send_request(options)
2240
2244
  end
2241
2245
 
2242
- # Reactivates (unarchives) one or more findings.
2243
- #
2244
- # @option params [required, Array<String>] :finding_ids
2245
- #
2246
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2247
- #
2248
- # @example Request syntax with placeholder values
2249
- #
2250
- # resp = client.unarchive_findings({
2251
- # finding_ids: ["__string"], # required
2252
- # })
2253
- #
2254
- # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UnarchiveFindings AWS API Documentation
2255
- #
2256
- # @overload unarchive_findings(params = {})
2257
- # @param [Hash] params ({})
2258
- def unarchive_findings(params = {}, options = {})
2259
- req = build_request(:unarchive_findings, params)
2260
- req.send_request(options)
2261
- end
2262
-
2263
2246
  # Removes one or more tags (keys and values) from a classification job,
2264
2247
  # custom data identifier, findings filter, or member account.
2265
2248
  #
@@ -2290,7 +2273,7 @@ module Aws::Macie2
2290
2273
  # @option params [required, String] :job_id
2291
2274
  #
2292
2275
  # @option params [required, String] :job_status
2293
- # The current status of a classification job. Valid values are:
2276
+ # The current status of a classification job. Possible values are:
2294
2277
  #
2295
2278
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2296
2279
  #
@@ -2313,8 +2296,9 @@ module Aws::Macie2
2313
2296
  # Updates the criteria and other settings for a findings filter.
2314
2297
  #
2315
2298
  # @option params [String] :action
2316
- # The action to perform on findings that meet the filter criteria. Valid
2317
- # values are:
2299
+ # The action to perform on findings that meet the filter criteria. To
2300
+ # suppress (automatically archive) findings that meet the criteria, set
2301
+ # this value to ARCHIVE. Valid values are:
2318
2302
  #
2319
2303
  # @option params [String] :description
2320
2304
  #
@@ -2373,9 +2357,10 @@ module Aws::Macie2
2373
2357
  # configuration settings for a Macie account.
2374
2358
  #
2375
2359
  # @option params [String] :finding_publishing_frequency
2376
- # The frequency with which Amazon Macie publishes findings for an
2377
- # account. This includes adding findings to AWS Security Hub and
2378
- # exporting finding events to Amazon CloudWatch. Valid values are:
2360
+ # The frequency with which Amazon Macie publishes updates to policy
2361
+ # findings for an account. This includes publishing updates to AWS
2362
+ # Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch
2363
+ # Events). Valid values are:
2379
2364
  #
2380
2365
  # @option params [String] :status
2381
2366
  # The status of an Amazon Macie account. Valid values are:
@@ -2458,7 +2443,7 @@ module Aws::Macie2
2458
2443
  params: params,
2459
2444
  config: config)
2460
2445
  context[:gem_name] = 'aws-sdk-macie2'
2461
- context[:gem_version] = '1.1.0'
2446
+ context[:gem_version] = '1.6.0'
2462
2447
  Seahorse::Client::Request.new(handlers, context)
2463
2448
  end
2464
2449
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -20,8 +22,6 @@ module Aws::Macie2
20
22
  AdminAccount = Shapes::StructureShape.new(name: 'AdminAccount')
21
23
  AdminStatus = Shapes::StringShape.new(name: 'AdminStatus')
22
24
  ApiCallDetails = Shapes::StructureShape.new(name: 'ApiCallDetails')
23
- ArchiveFindingsRequest = Shapes::StructureShape.new(name: 'ArchiveFindingsRequest')
24
- ArchiveFindingsResponse = Shapes::StructureShape.new(name: 'ArchiveFindingsResponse')
25
25
  AssumedRole = Shapes::StructureShape.new(name: 'AssumedRole')
26
26
  AwsAccount = Shapes::StructureShape.new(name: 'AwsAccount')
27
27
  AwsService = Shapes::StructureShape.new(name: 'AwsService')
@@ -224,8 +224,6 @@ module Aws::Macie2
224
224
  TestCustomDataIdentifierRequest = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierRequest')
225
225
  TestCustomDataIdentifierResponse = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierResponse')
226
226
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
227
- UnarchiveFindingsRequest = Shapes::StructureShape.new(name: 'UnarchiveFindingsRequest')
228
- UnarchiveFindingsResponse = Shapes::StructureShape.new(name: 'UnarchiveFindingsResponse')
229
227
  Unit = Shapes::StringShape.new(name: 'Unit')
230
228
  UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
231
229
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -313,11 +311,6 @@ module Aws::Macie2
313
311
  ApiCallDetails.add_member(:last_seen, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastSeen"))
314
312
  ApiCallDetails.struct_class = Types::ApiCallDetails
315
313
 
316
- ArchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "findingIds"))
317
- ArchiveFindingsRequest.struct_class = Types::ArchiveFindingsRequest
318
-
319
- ArchiveFindingsResponse.struct_class = Types::ArchiveFindingsResponse
320
-
321
314
  AssumedRole.add_member(:access_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "accessKeyId"))
322
315
  AssumedRole.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
323
316
  AssumedRole.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -684,6 +677,7 @@ module Aws::Macie2
684
677
  FindingStatisticsSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
685
678
  FindingStatisticsSortCriteria.struct_class = Types::FindingStatisticsSortCriteria
686
679
 
680
+ FindingsFilterListItem.add_member(:action, Shapes::ShapeRef.new(shape: FindingsFilterAction, location_name: "action"))
687
681
  FindingsFilterListItem.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
688
682
  FindingsFilterListItem.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
689
683
  FindingsFilterListItem.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
@@ -1118,11 +1112,6 @@ module Aws::Macie2
1118
1112
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1119
1113
  ThrottlingException.struct_class = Types::ThrottlingException
1120
1114
 
1121
- UnarchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "findingIds"))
1122
- UnarchiveFindingsRequest.struct_class = Types::UnarchiveFindingsRequest
1123
-
1124
- UnarchiveFindingsResponse.struct_class = Types::UnarchiveFindingsResponse
1125
-
1126
1115
  UnprocessedAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
1127
1116
  UnprocessedAccount.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
1128
1117
  UnprocessedAccount.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
@@ -1290,21 +1279,6 @@ module Aws::Macie2
1290
1279
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1291
1280
  end)
1292
1281
 
1293
- api.add_operation(:archive_findings, Seahorse::Model::Operation.new.tap do |o|
1294
- o.name = "ArchiveFindings"
1295
- o.http_method = "POST"
1296
- o.http_request_uri = "/findings/archive"
1297
- o.input = Shapes::ShapeRef.new(shape: ArchiveFindingsRequest)
1298
- o.output = Shapes::ShapeRef.new(shape: ArchiveFindingsResponse)
1299
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1300
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1301
- o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1302
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1303
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1304
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1305
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1306
- end)
1307
-
1308
1282
  api.add_operation(:batch_get_custom_data_identifiers, Seahorse::Model::Operation.new.tap do |o|
1309
1283
  o.name = "BatchGetCustomDataIdentifiers"
1310
1284
  o.http_method = "POST"
@@ -1498,6 +1472,12 @@ module Aws::Macie2
1498
1472
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1499
1473
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1500
1474
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1475
+ o[:pager] = Aws::Pager.new(
1476
+ limit_key: "max_results",
1477
+ tokens: {
1478
+ "next_token" => "next_token"
1479
+ }
1480
+ )
1501
1481
  end)
1502
1482
 
1503
1483
  api.add_operation(:describe_classification_job, Seahorse::Model::Operation.new.tap do |o|
@@ -1783,6 +1763,12 @@ module Aws::Macie2
1783
1763
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1784
1764
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1785
1765
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1766
+ o[:pager] = Aws::Pager.new(
1767
+ limit_key: "max_results",
1768
+ tokens: {
1769
+ "next_token" => "next_token"
1770
+ }
1771
+ )
1786
1772
  end)
1787
1773
 
1788
1774
  api.add_operation(:get_usage_totals, Seahorse::Model::Operation.new.tap do |o|
@@ -1813,6 +1799,12 @@ module Aws::Macie2
1813
1799
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1814
1800
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1815
1801
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1802
+ o[:pager] = Aws::Pager.new(
1803
+ limit_key: "max_results",
1804
+ tokens: {
1805
+ "next_token" => "next_token"
1806
+ }
1807
+ )
1816
1808
  end)
1817
1809
 
1818
1810
  api.add_operation(:list_custom_data_identifiers, Seahorse::Model::Operation.new.tap do |o|
@@ -1828,6 +1820,12 @@ module Aws::Macie2
1828
1820
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1829
1821
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1830
1822
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1823
+ o[:pager] = Aws::Pager.new(
1824
+ limit_key: "max_results",
1825
+ tokens: {
1826
+ "next_token" => "next_token"
1827
+ }
1828
+ )
1831
1829
  end)
1832
1830
 
1833
1831
  api.add_operation(:list_findings, Seahorse::Model::Operation.new.tap do |o|
@@ -1843,6 +1841,12 @@ module Aws::Macie2
1843
1841
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1844
1842
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1845
1843
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1844
+ o[:pager] = Aws::Pager.new(
1845
+ limit_key: "max_results",
1846
+ tokens: {
1847
+ "next_token" => "next_token"
1848
+ }
1849
+ )
1846
1850
  end)
1847
1851
 
1848
1852
  api.add_operation(:list_findings_filters, Seahorse::Model::Operation.new.tap do |o|
@@ -1858,6 +1862,12 @@ module Aws::Macie2
1858
1862
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1859
1863
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1860
1864
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1865
+ o[:pager] = Aws::Pager.new(
1866
+ limit_key: "max_results",
1867
+ tokens: {
1868
+ "next_token" => "next_token"
1869
+ }
1870
+ )
1861
1871
  end)
1862
1872
 
1863
1873
  api.add_operation(:list_invitations, Seahorse::Model::Operation.new.tap do |o|
@@ -1873,6 +1883,12 @@ module Aws::Macie2
1873
1883
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1874
1884
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1875
1885
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1886
+ o[:pager] = Aws::Pager.new(
1887
+ limit_key: "max_results",
1888
+ tokens: {
1889
+ "next_token" => "next_token"
1890
+ }
1891
+ )
1876
1892
  end)
1877
1893
 
1878
1894
  api.add_operation(:list_members, Seahorse::Model::Operation.new.tap do |o|
@@ -1888,6 +1904,12 @@ module Aws::Macie2
1888
1904
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1889
1905
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1890
1906
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1907
+ o[:pager] = Aws::Pager.new(
1908
+ limit_key: "max_results",
1909
+ tokens: {
1910
+ "next_token" => "next_token"
1911
+ }
1912
+ )
1891
1913
  end)
1892
1914
 
1893
1915
  api.add_operation(:list_organization_admin_accounts, Seahorse::Model::Operation.new.tap do |o|
@@ -1903,6 +1925,12 @@ module Aws::Macie2
1903
1925
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1904
1926
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1905
1927
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1928
+ o[:pager] = Aws::Pager.new(
1929
+ limit_key: "max_results",
1930
+ tokens: {
1931
+ "next_token" => "next_token"
1932
+ }
1933
+ )
1906
1934
  end)
1907
1935
 
1908
1936
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1951,21 +1979,6 @@ module Aws::Macie2
1951
1979
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1952
1980
  end)
1953
1981
 
1954
- api.add_operation(:unarchive_findings, Seahorse::Model::Operation.new.tap do |o|
1955
- o.name = "UnarchiveFindings"
1956
- o.http_method = "POST"
1957
- o.http_request_uri = "/findings/unarchive"
1958
- o.input = Shapes::ShapeRef.new(shape: UnarchiveFindingsRequest)
1959
- o.output = Shapes::ShapeRef.new(shape: UnarchiveFindingsResponse)
1960
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1961
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1962
- o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1963
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1964
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1965
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1966
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1967
- end)
1968
-
1969
1982
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1970
1983
  o.name = "UntagResource"
1971
1984
  o.http_method = "DELETE"