aws-sdk-macie2 1.27.0 → 1.31.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2.rb +1 -1
- data/lib/aws-sdk-macie2/client.rb +227 -26
- data/lib/aws-sdk-macie2/client_api.rb +138 -0
- data/lib/aws-sdk-macie2/types.rb +1061 -204
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb404806fd6e06e2dc64d88b713e27cf3b28d23a5c12d0da079dc5798a072be7
|
4
|
+
data.tar.gz: c4a49b360743c0315ca69e8f96bf98d8b7220c3e73d857b66d562491f450ad4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f3528eaba80e6e88097119d06d13762448e229dfb214d13a22be2200d9cdec876153895a2f2716525e3403e581c0629db2668774229d9e991d5acdf271f5768
|
7
|
+
data.tar.gz: d6f73f23c5a64f3f371781f2a040f1804596514c0f4383ffd8a4a4eebf38f44df7039258c3fb92116e836700c952b784ce98b9620d575d9a7e7d9b88a27293e2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.31.0 (2021-07-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.30.0 (2021-07-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Sensitive data findings in Amazon Macie now include enhanced location data for JSON and JSON Lines files
|
13
|
+
|
14
|
+
1.29.0 (2021-06-08)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release of the Amazon Macie API introduces stricter validation of S3 object criteria for classification jobs.
|
18
|
+
|
19
|
+
1.28.0 (2021-05-14)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release of the Amazon Macie API adds support for defining run-time, S3 bucket criteria for classification jobs. It also adds resources for querying data about AWS resources that Macie monitors.
|
23
|
+
|
4
24
|
1.27.0 (2021-04-29)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -410,7 +410,12 @@ module Aws::Macie2
|
|
410
410
|
#
|
411
411
|
# @option params [required, Types::S3JobDefinition] :s3_job_definition
|
412
412
|
# Specifies which S3 buckets contain the objects that a classification
|
413
|
-
# job analyzes, and the scope of that analysis.
|
413
|
+
# job analyzes, and the scope of that analysis. The bucket specification
|
414
|
+
# can be static (bucketDefinitions) or dynamic (bucketCriteria). If
|
415
|
+
# it's static, the job analyzes objects in the same predefined set of
|
416
|
+
# buckets each time the job runs. If it's dynamic, the job analyzes
|
417
|
+
# objects in any buckets that match the specified criteria each time the
|
418
|
+
# job starts to run.
|
414
419
|
#
|
415
420
|
# @option params [Integer] :sampling_percentage
|
416
421
|
#
|
@@ -449,7 +454,7 @@ module Aws::Macie2
|
|
449
454
|
# {
|
450
455
|
# simple_scope_term: {
|
451
456
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
452
|
-
# key: "
|
457
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
453
458
|
# values: ["__string"],
|
454
459
|
# },
|
455
460
|
# tag_scope_term: {
|
@@ -471,7 +476,7 @@ module Aws::Macie2
|
|
471
476
|
# {
|
472
477
|
# simple_scope_term: {
|
473
478
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
474
|
-
# key: "
|
479
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
475
480
|
# values: ["__string"],
|
476
481
|
# },
|
477
482
|
# tag_scope_term: {
|
@@ -489,6 +494,48 @@ module Aws::Macie2
|
|
489
494
|
# ],
|
490
495
|
# },
|
491
496
|
# },
|
497
|
+
# bucket_criteria: {
|
498
|
+
# excludes: {
|
499
|
+
# and: [
|
500
|
+
# {
|
501
|
+
# simple_criterion: {
|
502
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
503
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
504
|
+
# values: ["__string"],
|
505
|
+
# },
|
506
|
+
# tag_criterion: {
|
507
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
508
|
+
# tag_values: [
|
509
|
+
# {
|
510
|
+
# key: "__string",
|
511
|
+
# value: "__string",
|
512
|
+
# },
|
513
|
+
# ],
|
514
|
+
# },
|
515
|
+
# },
|
516
|
+
# ],
|
517
|
+
# },
|
518
|
+
# includes: {
|
519
|
+
# and: [
|
520
|
+
# {
|
521
|
+
# simple_criterion: {
|
522
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
523
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
524
|
+
# values: ["__string"],
|
525
|
+
# },
|
526
|
+
# tag_criterion: {
|
527
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
528
|
+
# tag_values: [
|
529
|
+
# {
|
530
|
+
# key: "__string",
|
531
|
+
# value: "__string",
|
532
|
+
# },
|
533
|
+
# ],
|
534
|
+
# },
|
535
|
+
# },
|
536
|
+
# ],
|
537
|
+
# },
|
538
|
+
# },
|
492
539
|
# },
|
493
540
|
# sampling_percentage: 1,
|
494
541
|
# schedule_frequency: {
|
@@ -687,7 +734,7 @@ module Aws::Macie2
|
|
687
734
|
# Associates an account with an Amazon Macie administrator account.
|
688
735
|
#
|
689
736
|
# @option params [required, Types::AccountDetail] :account
|
690
|
-
# Specifies details
|
737
|
+
# Specifies the details of an account to associate with an Amazon Macie
|
691
738
|
# administrator account.
|
692
739
|
#
|
693
740
|
# @option params [Hash<String,String>] :tags
|
@@ -1032,7 +1079,7 @@ module Aws::Macie2
|
|
1032
1079
|
# resp.s3_job_definition.bucket_definitions[0].buckets[0] #=> String
|
1033
1080
|
# resp.s3_job_definition.scoping.excludes.and #=> Array
|
1034
1081
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1035
|
-
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.key #=> String, one of "
|
1082
|
+
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.key #=> String, one of "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "OBJECT_KEY"
|
1036
1083
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values #=> Array
|
1037
1084
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values[0] #=> String
|
1038
1085
|
# resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
@@ -1043,7 +1090,7 @@ module Aws::Macie2
|
|
1043
1090
|
# resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.target #=> String, one of "S3_OBJECT"
|
1044
1091
|
# resp.s3_job_definition.scoping.includes.and #=> Array
|
1045
1092
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1046
|
-
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.key #=> String, one of "
|
1093
|
+
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.key #=> String, one of "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "OBJECT_KEY"
|
1047
1094
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values #=> Array
|
1048
1095
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values[0] #=> String
|
1049
1096
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
@@ -1052,6 +1099,24 @@ module Aws::Macie2
|
|
1052
1099
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values[0].key #=> String
|
1053
1100
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values[0].value #=> String
|
1054
1101
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.target #=> String, one of "S3_OBJECT"
|
1102
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and #=> Array
|
1103
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1104
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
1105
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.values #=> Array
|
1106
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.values[0] #=> String
|
1107
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1108
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values #=> Array
|
1109
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].key #=> String
|
1110
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].value #=> String
|
1111
|
+
# resp.s3_job_definition.bucket_criteria.includes.and #=> Array
|
1112
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1113
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
1114
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.values #=> Array
|
1115
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.values[0] #=> String
|
1116
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1117
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values #=> Array
|
1118
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values[0].key #=> String
|
1119
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values[0].value #=> String
|
1055
1120
|
# resp.sampling_percentage #=> Integer
|
1056
1121
|
# resp.schedule_frequency.monthly_schedule.day_of_month #=> Integer
|
1057
1122
|
# resp.schedule_frequency.weekly_schedule.day_of_week #=> String, one of "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"
|
@@ -1072,8 +1137,8 @@ module Aws::Macie2
|
|
1072
1137
|
req.send_request(options)
|
1073
1138
|
end
|
1074
1139
|
|
1075
|
-
# Retrieves the Amazon Macie configuration settings for an
|
1076
|
-
# organization.
|
1140
|
+
# Retrieves the Amazon Macie configuration settings for an Amazon Web
|
1141
|
+
# Services organization.
|
1077
1142
|
#
|
1078
1143
|
# @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1079
1144
|
#
|
@@ -1109,7 +1174,7 @@ module Aws::Macie2
|
|
1109
1174
|
end
|
1110
1175
|
|
1111
1176
|
# Disables an account as the delegated Amazon Macie administrator
|
1112
|
-
# account for an
|
1177
|
+
# account for an Amazon Web Services organization.
|
1113
1178
|
#
|
1114
1179
|
# @option params [required, String] :admin_account_id
|
1115
1180
|
#
|
@@ -1192,10 +1257,10 @@ module Aws::Macie2
|
|
1192
1257
|
#
|
1193
1258
|
# @option params [String] :finding_publishing_frequency
|
1194
1259
|
# The frequency with which Amazon Macie publishes updates to policy
|
1195
|
-
# findings for an account. This includes publishing updates to
|
1196
|
-
#
|
1197
|
-
#
|
1198
|
-
#
|
1260
|
+
# findings for an account. This includes publishing updates to Security
|
1261
|
+
# Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
|
1262
|
+
# For more information, see [Monitoring and processing findings][1] in
|
1263
|
+
# the *Amazon Macie User Guide*. Valid values are:
|
1199
1264
|
#
|
1200
1265
|
#
|
1201
1266
|
#
|
@@ -1224,7 +1289,7 @@ module Aws::Macie2
|
|
1224
1289
|
end
|
1225
1290
|
|
1226
1291
|
# Designates an account as the delegated Amazon Macie administrator
|
1227
|
-
# account for an
|
1292
|
+
# account for an Amazon Web Services organization.
|
1228
1293
|
#
|
1229
1294
|
# @option params [required, String] :admin_account_id
|
1230
1295
|
#
|
@@ -1727,7 +1792,7 @@ module Aws::Macie2
|
|
1727
1792
|
req.send_request(options)
|
1728
1793
|
end
|
1729
1794
|
|
1730
|
-
# Retrieves the configuration settings for publishing findings to
|
1795
|
+
# Retrieves the configuration settings for publishing findings to
|
1731
1796
|
# Security Hub.
|
1732
1797
|
#
|
1733
1798
|
# @return [Types::GetFindingsPublicationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2032,6 +2097,24 @@ module Aws::Macie2
|
|
2032
2097
|
# resp.items[0].user_paused_details.job_expires_at #=> Time
|
2033
2098
|
# resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
|
2034
2099
|
# resp.items[0].user_paused_details.job_paused_at #=> Time
|
2100
|
+
# resp.items[0].bucket_criteria.excludes.and #=> Array
|
2101
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2102
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
2103
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.values #=> Array
|
2104
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.values[0] #=> String
|
2105
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2106
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.tag_values #=> Array
|
2107
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].key #=> String
|
2108
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].value #=> String
|
2109
|
+
# resp.items[0].bucket_criteria.includes.and #=> Array
|
2110
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2111
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
2112
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.values #=> Array
|
2113
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.values[0] #=> String
|
2114
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2115
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values #=> Array
|
2116
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values[0].key #=> String
|
2117
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values[0].value #=> String
|
2035
2118
|
# resp.next_token #=> String
|
2036
2119
|
#
|
2037
2120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation
|
@@ -2271,7 +2354,7 @@ module Aws::Macie2
|
|
2271
2354
|
end
|
2272
2355
|
|
2273
2356
|
# Retrieves information about the delegated Amazon Macie administrator
|
2274
|
-
# account for an
|
2357
|
+
# account for an Amazon Web Services organization.
|
2275
2358
|
#
|
2276
2359
|
# @option params [Integer] :max_results
|
2277
2360
|
#
|
@@ -2376,8 +2459,8 @@ module Aws::Macie2
|
|
2376
2459
|
req.send_request(options)
|
2377
2460
|
end
|
2378
2461
|
|
2379
|
-
# Updates the configuration settings for publishing findings to
|
2380
|
-
#
|
2462
|
+
# Updates the configuration settings for publishing findings to Security
|
2463
|
+
# Hub.
|
2381
2464
|
#
|
2382
2465
|
# @option params [String] :client_token
|
2383
2466
|
# **A suitable default value is auto-generated.** You should normally
|
@@ -2385,7 +2468,7 @@ module Aws::Macie2
|
|
2385
2468
|
#
|
2386
2469
|
# @option params [Types::SecurityHubConfiguration] :security_hub_configuration
|
2387
2470
|
# Specifies configuration settings that determine which findings are
|
2388
|
-
# published to
|
2471
|
+
# published to Security Hub automatically. For information about how
|
2389
2472
|
# Macie publishes findings to Security Hub, see [Amazon Macie
|
2390
2473
|
# integration with Security Hub][1] in the *Amazon Macie User Guide*.
|
2391
2474
|
#
|
@@ -2414,6 +2497,119 @@ module Aws::Macie2
|
|
2414
2497
|
req.send_request(options)
|
2415
2498
|
end
|
2416
2499
|
|
2500
|
+
# Retrieves (queries) statistical data and other information about
|
2501
|
+
# Amazon Web Services resources that Amazon Macie monitors and analyzes.
|
2502
|
+
#
|
2503
|
+
# @option params [Types::SearchResourcesBucketCriteria] :bucket_criteria
|
2504
|
+
# Specifies property- and tag-based conditions that define filter
|
2505
|
+
# criteria for including or excluding S3 buckets from the query results.
|
2506
|
+
# Exclude conditions take precedence over include conditions.
|
2507
|
+
#
|
2508
|
+
# @option params [Integer] :max_results
|
2509
|
+
#
|
2510
|
+
# @option params [String] :next_token
|
2511
|
+
#
|
2512
|
+
# @option params [Types::SearchResourcesSortCriteria] :sort_criteria
|
2513
|
+
# Specifies criteria for sorting the results of a query for information
|
2514
|
+
# about Amazon Web Services resources that Amazon Macie monitors and
|
2515
|
+
# analyzes.
|
2516
|
+
#
|
2517
|
+
# @return [Types::SearchResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2518
|
+
#
|
2519
|
+
# * {Types::SearchResourcesResponse#matching_resources #matching_resources} => Array<Types::MatchingResource>
|
2520
|
+
# * {Types::SearchResourcesResponse#next_token #next_token} => String
|
2521
|
+
#
|
2522
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2523
|
+
#
|
2524
|
+
# @example Request syntax with placeholder values
|
2525
|
+
#
|
2526
|
+
# resp = client.search_resources({
|
2527
|
+
# bucket_criteria: {
|
2528
|
+
# excludes: {
|
2529
|
+
# and: [
|
2530
|
+
# {
|
2531
|
+
# simple_criterion: {
|
2532
|
+
# comparator: "EQ", # accepts EQ, NE
|
2533
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
2534
|
+
# values: ["__string"],
|
2535
|
+
# },
|
2536
|
+
# tag_criterion: {
|
2537
|
+
# comparator: "EQ", # accepts EQ, NE
|
2538
|
+
# tag_values: [
|
2539
|
+
# {
|
2540
|
+
# key: "__string",
|
2541
|
+
# value: "__string",
|
2542
|
+
# },
|
2543
|
+
# ],
|
2544
|
+
# },
|
2545
|
+
# },
|
2546
|
+
# ],
|
2547
|
+
# },
|
2548
|
+
# includes: {
|
2549
|
+
# and: [
|
2550
|
+
# {
|
2551
|
+
# simple_criterion: {
|
2552
|
+
# comparator: "EQ", # accepts EQ, NE
|
2553
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
2554
|
+
# values: ["__string"],
|
2555
|
+
# },
|
2556
|
+
# tag_criterion: {
|
2557
|
+
# comparator: "EQ", # accepts EQ, NE
|
2558
|
+
# tag_values: [
|
2559
|
+
# {
|
2560
|
+
# key: "__string",
|
2561
|
+
# value: "__string",
|
2562
|
+
# },
|
2563
|
+
# ],
|
2564
|
+
# },
|
2565
|
+
# },
|
2566
|
+
# ],
|
2567
|
+
# },
|
2568
|
+
# },
|
2569
|
+
# max_results: 1,
|
2570
|
+
# next_token: "__string",
|
2571
|
+
# sort_criteria: {
|
2572
|
+
# attribute_name: "ACCOUNT_ID", # accepts ACCOUNT_ID, RESOURCE_NAME, S3_CLASSIFIABLE_OBJECT_COUNT, S3_CLASSIFIABLE_SIZE_IN_BYTES
|
2573
|
+
# order_by: "ASC", # accepts ASC, DESC
|
2574
|
+
# },
|
2575
|
+
# })
|
2576
|
+
#
|
2577
|
+
# @example Response structure
|
2578
|
+
#
|
2579
|
+
# resp.matching_resources #=> Array
|
2580
|
+
# resp.matching_resources[0].matching_bucket.account_id #=> String
|
2581
|
+
# resp.matching_resources[0].matching_bucket.bucket_name #=> String
|
2582
|
+
# resp.matching_resources[0].matching_bucket.classifiable_object_count #=> Integer
|
2583
|
+
# resp.matching_resources[0].matching_bucket.classifiable_size_in_bytes #=> Integer
|
2584
|
+
# resp.matching_resources[0].matching_bucket.job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
2585
|
+
# resp.matching_resources[0].matching_bucket.job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
2586
|
+
# resp.matching_resources[0].matching_bucket.job_details.last_job_id #=> String
|
2587
|
+
# resp.matching_resources[0].matching_bucket.job_details.last_job_run_time #=> Time
|
2588
|
+
# resp.matching_resources[0].matching_bucket.object_count #=> Integer
|
2589
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.customer_managed #=> Integer
|
2590
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.kms_managed #=> Integer
|
2591
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.s3_managed #=> Integer
|
2592
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.unencrypted #=> Integer
|
2593
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.unknown #=> Integer
|
2594
|
+
# resp.matching_resources[0].matching_bucket.size_in_bytes #=> Integer
|
2595
|
+
# resp.matching_resources[0].matching_bucket.size_in_bytes_compressed #=> Integer
|
2596
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_count.file_type #=> Integer
|
2597
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_count.storage_class #=> Integer
|
2598
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_count.total #=> Integer
|
2599
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_size_in_bytes.file_type #=> Integer
|
2600
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_size_in_bytes.storage_class #=> Integer
|
2601
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_size_in_bytes.total #=> Integer
|
2602
|
+
# resp.next_token #=> String
|
2603
|
+
#
|
2604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources AWS API Documentation
|
2605
|
+
#
|
2606
|
+
# @overload search_resources(params = {})
|
2607
|
+
# @param [Hash] params ({})
|
2608
|
+
def search_resources(params = {}, options = {})
|
2609
|
+
req = build_request(:search_resources, params)
|
2610
|
+
req.send_request(options)
|
2611
|
+
end
|
2612
|
+
|
2417
2613
|
# Adds or updates one or more tags (keys and values) that are associated
|
2418
2614
|
# with a classification job, custom data identifier, findings filter, or
|
2419
2615
|
# member account.
|
@@ -2553,6 +2749,10 @@ module Aws::Macie2
|
|
2553
2749
|
#
|
2554
2750
|
# @option params [Integer] :position
|
2555
2751
|
#
|
2752
|
+
# @option params [String] :client_token
|
2753
|
+
# **A suitable default value is auto-generated.** You should normally
|
2754
|
+
# not need to pass this option.**
|
2755
|
+
#
|
2556
2756
|
# @return [Types::UpdateFindingsFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2557
2757
|
#
|
2558
2758
|
# * {Types::UpdateFindingsFilterResponse#arn #arn} => String
|
@@ -2579,6 +2779,7 @@ module Aws::Macie2
|
|
2579
2779
|
# id: "__string", # required
|
2580
2780
|
# name: "__string",
|
2581
2781
|
# position: 1,
|
2782
|
+
# client_token: "__string",
|
2582
2783
|
# })
|
2583
2784
|
#
|
2584
2785
|
# @example Response structure
|
@@ -2600,10 +2801,10 @@ module Aws::Macie2
|
|
2600
2801
|
#
|
2601
2802
|
# @option params [String] :finding_publishing_frequency
|
2602
2803
|
# The frequency with which Amazon Macie publishes updates to policy
|
2603
|
-
# findings for an account. This includes publishing updates to
|
2604
|
-
#
|
2605
|
-
#
|
2606
|
-
#
|
2804
|
+
# findings for an account. This includes publishing updates to Security
|
2805
|
+
# Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
|
2806
|
+
# For more information, see [Monitoring and processing findings][1] in
|
2807
|
+
# the *Amazon Macie User Guide*. Valid values are:
|
2607
2808
|
#
|
2608
2809
|
#
|
2609
2810
|
#
|
@@ -2656,8 +2857,8 @@ module Aws::Macie2
|
|
2656
2857
|
req.send_request(options)
|
2657
2858
|
end
|
2658
2859
|
|
2659
|
-
# Updates the Amazon Macie configuration settings for an
|
2660
|
-
# organization.
|
2860
|
+
# Updates the Amazon Macie configuration settings for an Amazon Web
|
2861
|
+
# Services organization.
|
2661
2862
|
#
|
2662
2863
|
# @option params [required, Boolean] :auto_enable
|
2663
2864
|
#
|
@@ -2691,7 +2892,7 @@ module Aws::Macie2
|
|
2691
2892
|
params: params,
|
2692
2893
|
config: config)
|
2693
2894
|
context[:gem_name] = 'aws-sdk-macie2'
|
2694
|
-
context[:gem_version] = '1.
|
2895
|
+
context[:gem_version] = '1.31.0'
|
2695
2896
|
Seahorse::Client::Request.new(handlers, context)
|
2696
2897
|
end
|
2697
2898
|
|