aws-sdk-macie2 1.46.0 → 1.48.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2/client.rb +263 -36
- data/lib/aws-sdk-macie2/client_api.rb +161 -0
- data/lib/aws-sdk-macie2/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-macie2/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-macie2/endpoints.rb +939 -0
- data/lib/aws-sdk-macie2/plugins/endpoints.rb +200 -0
- data/lib/aws-sdk-macie2/types.rb +444 -71
- data/lib/aws-sdk-macie2.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf5a3cda18dba6b766c42e090051e6e110531ea56b1e1d7a07b77cd9e5c0690f
|
|
4
|
+
data.tar.gz: 21d75f5eff95e504c8c2620672c72c43650a6e98bad4832ec401365d1a22b673
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0f5fd23b21717132ad84bfd700b418915519a82440693caa1dd407ad30f941acf5dfc4b416e0d135b0df91b54644146a3fff7b70bfb461fb6981382ea657c14
|
|
7
|
+
data.tar.gz: 972213274aa8909b24478b3cbb84406be0193740828470430a085e9a4fa15cad039a4ce38b644d9c5c2c61eed9b9de0c6731fd0ac6353bb6957ec75c5ede071e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.48.0 (2022-10-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.47.0 (2022-08-30)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release of the Amazon Macie API adds support for using allow lists to define specific text and text patterns to ignore when inspecting data sources for sensitive data.
|
|
13
|
+
|
|
4
14
|
1.46.0 (2022-07-26)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.48.0
|
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
|
33
|
-
require 'aws-sdk-core/plugins/
|
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
35
35
|
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:macie2)
|
|
@@ -79,8 +79,9 @@ module Aws::Macie2
|
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
|
82
|
-
add_plugin(Aws::Plugins::
|
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
|
84
|
+
add_plugin(Aws::Macie2::Plugins::Endpoints)
|
|
84
85
|
|
|
85
86
|
# @overload initialize(options)
|
|
86
87
|
# @param [Hash] options
|
|
@@ -287,6 +288,19 @@ module Aws::Macie2
|
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
288
289
|
# requests are made, and retries are disabled.
|
|
289
290
|
#
|
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
|
293
|
+
# following classes:
|
|
294
|
+
#
|
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
|
296
|
+
# tokens.
|
|
297
|
+
#
|
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
|
299
|
+
# access token generated from `aws login`.
|
|
300
|
+
#
|
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
|
303
|
+
#
|
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
292
306
|
# will be used if available.
|
|
@@ -300,6 +314,9 @@ module Aws::Macie2
|
|
|
300
314
|
# When `true`, request parameters are validated before
|
|
301
315
|
# sending the request.
|
|
302
316
|
#
|
|
317
|
+
# @option options [Aws::Macie2::EndpointProvider] :endpoint_provider
|
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Macie2::EndpointParameters`
|
|
319
|
+
#
|
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
|
305
322
|
#
|
|
@@ -415,8 +432,66 @@ module Aws::Macie2
|
|
|
415
432
|
req.send_request(options)
|
|
416
433
|
end
|
|
417
434
|
|
|
435
|
+
# Creates and defines the settings for an allow list.
|
|
436
|
+
#
|
|
437
|
+
# @option params [required, String] :client_token
|
|
438
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
439
|
+
# not need to pass this option.**
|
|
440
|
+
#
|
|
441
|
+
# @option params [required, Types::AllowListCriteria] :criteria
|
|
442
|
+
# Specifies the criteria for an allow list. The criteria must specify a
|
|
443
|
+
# regular expression (regex) or an S3 object (s3WordsList). It can't
|
|
444
|
+
# specify both.
|
|
445
|
+
#
|
|
446
|
+
# @option params [String] :description
|
|
447
|
+
#
|
|
448
|
+
# @option params [required, String] :name
|
|
449
|
+
#
|
|
450
|
+
# @option params [Hash<String,String>] :tags
|
|
451
|
+
# A string-to-string map of key-value pairs that specifies the tags
|
|
452
|
+
# (keys and values) for an Amazon Macie resource.
|
|
453
|
+
#
|
|
454
|
+
# @return [Types::CreateAllowListResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
455
|
+
#
|
|
456
|
+
# * {Types::CreateAllowListResponse#arn #arn} => String
|
|
457
|
+
# * {Types::CreateAllowListResponse#id #id} => String
|
|
458
|
+
#
|
|
459
|
+
# @example Request syntax with placeholder values
|
|
460
|
+
#
|
|
461
|
+
# resp = client.create_allow_list({
|
|
462
|
+
# client_token: "__string", # required
|
|
463
|
+
# criteria: { # required
|
|
464
|
+
# regex: "__stringMin1Max512PatternSS",
|
|
465
|
+
# s3_words_list: {
|
|
466
|
+
# bucket_name: "__stringMin3Max255PatternAZaZ093255", # required
|
|
467
|
+
# object_key: "__stringMin1Max1024PatternSS", # required
|
|
468
|
+
# },
|
|
469
|
+
# },
|
|
470
|
+
# description: "__stringMin1Max512PatternSS",
|
|
471
|
+
# name: "__stringMin1Max128Pattern", # required
|
|
472
|
+
# tags: {
|
|
473
|
+
# "__string" => "__string",
|
|
474
|
+
# },
|
|
475
|
+
# })
|
|
476
|
+
#
|
|
477
|
+
# @example Response structure
|
|
478
|
+
#
|
|
479
|
+
# resp.arn #=> String
|
|
480
|
+
# resp.id #=> String
|
|
481
|
+
#
|
|
482
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateAllowList AWS API Documentation
|
|
483
|
+
#
|
|
484
|
+
# @overload create_allow_list(params = {})
|
|
485
|
+
# @param [Hash] params ({})
|
|
486
|
+
def create_allow_list(params = {}, options = {})
|
|
487
|
+
req = build_request(:create_allow_list, params)
|
|
488
|
+
req.send_request(options)
|
|
489
|
+
end
|
|
490
|
+
|
|
418
491
|
# Creates and defines the settings for a classification job.
|
|
419
492
|
#
|
|
493
|
+
# @option params [Array<String>] :allow_list_ids
|
|
494
|
+
#
|
|
420
495
|
# @option params [required, String] :client_token
|
|
421
496
|
# **A suitable default value is auto-generated.** You should normally
|
|
422
497
|
# not need to pass this option.**
|
|
@@ -454,8 +529,7 @@ module Aws::Macie2
|
|
|
454
529
|
#
|
|
455
530
|
# @option params [Hash<String,String>] :tags
|
|
456
531
|
# A string-to-string map of key-value pairs that specifies the tags
|
|
457
|
-
# (keys and values) for
|
|
458
|
-
# findings filter, or member account.
|
|
532
|
+
# (keys and values) for an Amazon Macie resource.
|
|
459
533
|
#
|
|
460
534
|
# @return [Types::CreateClassificationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
461
535
|
#
|
|
@@ -465,6 +539,7 @@ module Aws::Macie2
|
|
|
465
539
|
# @example Request syntax with placeholder values
|
|
466
540
|
#
|
|
467
541
|
# resp = client.create_classification_job({
|
|
542
|
+
# allow_list_ids: ["__string"],
|
|
468
543
|
# client_token: "__string", # required
|
|
469
544
|
# custom_data_identifier_ids: ["__string"],
|
|
470
545
|
# description: "__string",
|
|
@@ -636,8 +711,7 @@ module Aws::Macie2
|
|
|
636
711
|
#
|
|
637
712
|
# @option params [Hash<String,String>] :tags
|
|
638
713
|
# A string-to-string map of key-value pairs that specifies the tags
|
|
639
|
-
# (keys and values) for
|
|
640
|
-
# findings filter, or member account.
|
|
714
|
+
# (keys and values) for an Amazon Macie resource.
|
|
641
715
|
#
|
|
642
716
|
# @return [Types::CreateCustomDataIdentifierResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
643
717
|
#
|
|
@@ -701,8 +775,7 @@ module Aws::Macie2
|
|
|
701
775
|
#
|
|
702
776
|
# @option params [Hash<String,String>] :tags
|
|
703
777
|
# A string-to-string map of key-value pairs that specifies the tags
|
|
704
|
-
# (keys and values) for
|
|
705
|
-
# findings filter, or member account.
|
|
778
|
+
# (keys and values) for an Amazon Macie resource.
|
|
706
779
|
#
|
|
707
780
|
# @return [Types::CreateFindingsFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
708
781
|
#
|
|
@@ -793,8 +866,7 @@ module Aws::Macie2
|
|
|
793
866
|
#
|
|
794
867
|
# @option params [Hash<String,String>] :tags
|
|
795
868
|
# A string-to-string map of key-value pairs that specifies the tags
|
|
796
|
-
# (keys and values) for
|
|
797
|
-
# findings filter, or member account.
|
|
869
|
+
# (keys and values) for an Amazon Macie resource.
|
|
798
870
|
#
|
|
799
871
|
# @return [Types::CreateMemberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
800
872
|
#
|
|
@@ -877,6 +949,30 @@ module Aws::Macie2
|
|
|
877
949
|
req.send_request(options)
|
|
878
950
|
end
|
|
879
951
|
|
|
952
|
+
# Deletes an allow list.
|
|
953
|
+
#
|
|
954
|
+
# @option params [required, String] :id
|
|
955
|
+
#
|
|
956
|
+
# @option params [String] :ignore_job_checks
|
|
957
|
+
#
|
|
958
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
959
|
+
#
|
|
960
|
+
# @example Request syntax with placeholder values
|
|
961
|
+
#
|
|
962
|
+
# resp = client.delete_allow_list({
|
|
963
|
+
# id: "__string", # required
|
|
964
|
+
# ignore_job_checks: "__string",
|
|
965
|
+
# })
|
|
966
|
+
#
|
|
967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteAllowList AWS API Documentation
|
|
968
|
+
#
|
|
969
|
+
# @overload delete_allow_list(params = {})
|
|
970
|
+
# @param [Hash] params ({})
|
|
971
|
+
def delete_allow_list(params = {}, options = {})
|
|
972
|
+
req = build_request(:delete_allow_list, params)
|
|
973
|
+
req.send_request(options)
|
|
974
|
+
end
|
|
975
|
+
|
|
880
976
|
# Soft deletes a custom data identifier.
|
|
881
977
|
#
|
|
882
978
|
# @option params [required, String] :id
|
|
@@ -1089,6 +1185,7 @@ module Aws::Macie2
|
|
|
1089
1185
|
#
|
|
1090
1186
|
# @return [Types::DescribeClassificationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1091
1187
|
#
|
|
1188
|
+
# * {Types::DescribeClassificationJobResponse#allow_list_ids #allow_list_ids} => Array<String>
|
|
1092
1189
|
# * {Types::DescribeClassificationJobResponse#client_token #client_token} => String
|
|
1093
1190
|
# * {Types::DescribeClassificationJobResponse#created_at #created_at} => Time
|
|
1094
1191
|
# * {Types::DescribeClassificationJobResponse#custom_data_identifier_ids #custom_data_identifier_ids} => Array<String>
|
|
@@ -1118,6 +1215,8 @@ module Aws::Macie2
|
|
|
1118
1215
|
#
|
|
1119
1216
|
# @example Response structure
|
|
1120
1217
|
#
|
|
1218
|
+
# resp.allow_list_ids #=> Array
|
|
1219
|
+
# resp.allow_list_ids[0] #=> String
|
|
1121
1220
|
# resp.client_token #=> String
|
|
1122
1221
|
# resp.created_at #=> Time
|
|
1123
1222
|
# resp.custom_data_identifier_ids #=> Array
|
|
@@ -1319,9 +1418,9 @@ module Aws::Macie2
|
|
|
1319
1418
|
# @option params [String] :finding_publishing_frequency
|
|
1320
1419
|
# The frequency with which Amazon Macie publishes updates to policy
|
|
1321
1420
|
# findings for an account. This includes publishing updates to Security
|
|
1322
|
-
# Hub and Amazon EventBridge (formerly
|
|
1323
|
-
#
|
|
1324
|
-
#
|
|
1421
|
+
# Hub and Amazon EventBridge (formerly Amazon CloudWatch Events). For
|
|
1422
|
+
# more information, see [Monitoring and processing findings][1] in the
|
|
1423
|
+
# *Amazon Macie User Guide*. Valid values are:
|
|
1325
1424
|
#
|
|
1326
1425
|
#
|
|
1327
1426
|
#
|
|
@@ -1399,6 +1498,53 @@ module Aws::Macie2
|
|
|
1399
1498
|
req.send_request(options)
|
|
1400
1499
|
end
|
|
1401
1500
|
|
|
1501
|
+
# Retrieves the settings and status of an allow list.
|
|
1502
|
+
#
|
|
1503
|
+
# @option params [required, String] :id
|
|
1504
|
+
#
|
|
1505
|
+
# @return [Types::GetAllowListResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1506
|
+
#
|
|
1507
|
+
# * {Types::GetAllowListResponse#arn #arn} => String
|
|
1508
|
+
# * {Types::GetAllowListResponse#created_at #created_at} => Time
|
|
1509
|
+
# * {Types::GetAllowListResponse#criteria #criteria} => Types::AllowListCriteria
|
|
1510
|
+
# * {Types::GetAllowListResponse#description #description} => String
|
|
1511
|
+
# * {Types::GetAllowListResponse#id #id} => String
|
|
1512
|
+
# * {Types::GetAllowListResponse#name #name} => String
|
|
1513
|
+
# * {Types::GetAllowListResponse#status #status} => Types::AllowListStatus
|
|
1514
|
+
# * {Types::GetAllowListResponse#tags #tags} => Hash<String,String>
|
|
1515
|
+
# * {Types::GetAllowListResponse#updated_at #updated_at} => Time
|
|
1516
|
+
#
|
|
1517
|
+
# @example Request syntax with placeholder values
|
|
1518
|
+
#
|
|
1519
|
+
# resp = client.get_allow_list({
|
|
1520
|
+
# id: "__string", # required
|
|
1521
|
+
# })
|
|
1522
|
+
#
|
|
1523
|
+
# @example Response structure
|
|
1524
|
+
#
|
|
1525
|
+
# resp.arn #=> String
|
|
1526
|
+
# resp.created_at #=> Time
|
|
1527
|
+
# resp.criteria.regex #=> String
|
|
1528
|
+
# resp.criteria.s3_words_list.bucket_name #=> String
|
|
1529
|
+
# resp.criteria.s3_words_list.object_key #=> String
|
|
1530
|
+
# resp.description #=> String
|
|
1531
|
+
# resp.id #=> String
|
|
1532
|
+
# resp.name #=> String
|
|
1533
|
+
# resp.status.code #=> String, one of "OK", "S3_OBJECT_NOT_FOUND", "S3_USER_ACCESS_DENIED", "S3_OBJECT_ACCESS_DENIED", "S3_THROTTLED", "S3_OBJECT_OVERSIZE", "S3_OBJECT_EMPTY", "UNKNOWN_ERROR"
|
|
1534
|
+
# resp.status.description #=> String
|
|
1535
|
+
# resp.tags #=> Hash
|
|
1536
|
+
# resp.tags["__string"] #=> String
|
|
1537
|
+
# resp.updated_at #=> Time
|
|
1538
|
+
#
|
|
1539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAllowList AWS API Documentation
|
|
1540
|
+
#
|
|
1541
|
+
# @overload get_allow_list(params = {})
|
|
1542
|
+
# @param [Hash] params ({})
|
|
1543
|
+
def get_allow_list(params = {}, options = {})
|
|
1544
|
+
req = build_request(:get_allow_list, params)
|
|
1545
|
+
req.send_request(options)
|
|
1546
|
+
end
|
|
1547
|
+
|
|
1402
1548
|
# Retrieves (queries) aggregated statistical data about S3 buckets that
|
|
1403
1549
|
# Amazon Macie monitors and analyzes.
|
|
1404
1550
|
#
|
|
@@ -1999,7 +2145,7 @@ module Aws::Macie2
|
|
|
1999
2145
|
end
|
|
2000
2146
|
|
|
2001
2147
|
# Retrieves the status and configuration settings for retrieving
|
|
2002
|
-
#
|
|
2148
|
+
# occurrences of sensitive data reported by findings.
|
|
2003
2149
|
#
|
|
2004
2150
|
# @return [Types::GetRevealConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2005
2151
|
#
|
|
@@ -2019,8 +2165,7 @@ module Aws::Macie2
|
|
|
2019
2165
|
req.send_request(options)
|
|
2020
2166
|
end
|
|
2021
2167
|
|
|
2022
|
-
# Retrieves
|
|
2023
|
-
# finding.
|
|
2168
|
+
# Retrieves occurrences of sensitive data reported by a finding.
|
|
2024
2169
|
#
|
|
2025
2170
|
# @option params [required, String] :finding_id
|
|
2026
2171
|
#
|
|
@@ -2058,8 +2203,8 @@ module Aws::Macie2
|
|
|
2058
2203
|
req.send_request(options)
|
|
2059
2204
|
end
|
|
2060
2205
|
|
|
2061
|
-
# Checks whether occurrences of sensitive data can be retrieved
|
|
2062
|
-
#
|
|
2206
|
+
# Checks whether occurrences of sensitive data can be retrieved for a
|
|
2207
|
+
# finding.
|
|
2063
2208
|
#
|
|
2064
2209
|
# @option params [required, String] :finding_id
|
|
2065
2210
|
#
|
|
@@ -2189,6 +2334,45 @@ module Aws::Macie2
|
|
|
2189
2334
|
req.send_request(options)
|
|
2190
2335
|
end
|
|
2191
2336
|
|
|
2337
|
+
# Retrieves a subset of information about all the allow lists for an
|
|
2338
|
+
# account.
|
|
2339
|
+
#
|
|
2340
|
+
# @option params [Integer] :max_results
|
|
2341
|
+
#
|
|
2342
|
+
# @option params [String] :next_token
|
|
2343
|
+
#
|
|
2344
|
+
# @return [Types::ListAllowListsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2345
|
+
#
|
|
2346
|
+
# * {Types::ListAllowListsResponse#allow_lists #allow_lists} => Array<Types::AllowListSummary>
|
|
2347
|
+
# * {Types::ListAllowListsResponse#next_token #next_token} => String
|
|
2348
|
+
#
|
|
2349
|
+
# @example Request syntax with placeholder values
|
|
2350
|
+
#
|
|
2351
|
+
# resp = client.list_allow_lists({
|
|
2352
|
+
# max_results: 1,
|
|
2353
|
+
# next_token: "__string",
|
|
2354
|
+
# })
|
|
2355
|
+
#
|
|
2356
|
+
# @example Response structure
|
|
2357
|
+
#
|
|
2358
|
+
# resp.allow_lists #=> Array
|
|
2359
|
+
# resp.allow_lists[0].arn #=> String
|
|
2360
|
+
# resp.allow_lists[0].created_at #=> Time
|
|
2361
|
+
# resp.allow_lists[0].description #=> String
|
|
2362
|
+
# resp.allow_lists[0].id #=> String
|
|
2363
|
+
# resp.allow_lists[0].name #=> String
|
|
2364
|
+
# resp.allow_lists[0].updated_at #=> Time
|
|
2365
|
+
# resp.next_token #=> String
|
|
2366
|
+
#
|
|
2367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListAllowLists AWS API Documentation
|
|
2368
|
+
#
|
|
2369
|
+
# @overload list_allow_lists(params = {})
|
|
2370
|
+
# @param [Hash] params ({})
|
|
2371
|
+
def list_allow_lists(params = {}, options = {})
|
|
2372
|
+
req = build_request(:list_allow_lists, params)
|
|
2373
|
+
req.send_request(options)
|
|
2374
|
+
end
|
|
2375
|
+
|
|
2192
2376
|
# Retrieves a subset of information about one or more classification
|
|
2193
2377
|
# jobs.
|
|
2194
2378
|
#
|
|
@@ -2579,9 +2763,8 @@ module Aws::Macie2
|
|
|
2579
2763
|
req.send_request(options)
|
|
2580
2764
|
end
|
|
2581
2765
|
|
|
2582
|
-
# Retrieves the tags (keys and values) that are associated with
|
|
2583
|
-
#
|
|
2584
|
-
# account.
|
|
2766
|
+
# Retrieves the tags (keys and values) that are associated with an
|
|
2767
|
+
# Amazon Macie resource.
|
|
2585
2768
|
#
|
|
2586
2769
|
# @option params [required, String] :resource_arn
|
|
2587
2770
|
#
|
|
@@ -2802,15 +2985,13 @@ module Aws::Macie2
|
|
|
2802
2985
|
end
|
|
2803
2986
|
|
|
2804
2987
|
# Adds or updates one or more tags (keys and values) that are associated
|
|
2805
|
-
# with
|
|
2806
|
-
# member account.
|
|
2988
|
+
# with an Amazon Macie resource.
|
|
2807
2989
|
#
|
|
2808
2990
|
# @option params [required, String] :resource_arn
|
|
2809
2991
|
#
|
|
2810
2992
|
# @option params [required, Hash<String,String>] :tags
|
|
2811
2993
|
# A string-to-string map of key-value pairs that specifies the tags
|
|
2812
|
-
# (keys and values) for
|
|
2813
|
-
# findings filter, or member account.
|
|
2994
|
+
# (keys and values) for an Amazon Macie resource.
|
|
2814
2995
|
#
|
|
2815
2996
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2816
2997
|
#
|
|
@@ -2871,8 +3052,8 @@ module Aws::Macie2
|
|
|
2871
3052
|
req.send_request(options)
|
|
2872
3053
|
end
|
|
2873
3054
|
|
|
2874
|
-
# Removes one or more tags (keys and values) from
|
|
2875
|
-
#
|
|
3055
|
+
# Removes one or more tags (keys and values) from an Amazon Macie
|
|
3056
|
+
# resource.
|
|
2876
3057
|
#
|
|
2877
3058
|
# @option params [required, String] :resource_arn
|
|
2878
3059
|
#
|
|
@@ -2896,6 +3077,53 @@ module Aws::Macie2
|
|
|
2896
3077
|
req.send_request(options)
|
|
2897
3078
|
end
|
|
2898
3079
|
|
|
3080
|
+
# Updates the settings for an allow list.
|
|
3081
|
+
#
|
|
3082
|
+
# @option params [required, Types::AllowListCriteria] :criteria
|
|
3083
|
+
# Specifies the criteria for an allow list. The criteria must specify a
|
|
3084
|
+
# regular expression (regex) or an S3 object (s3WordsList). It can't
|
|
3085
|
+
# specify both.
|
|
3086
|
+
#
|
|
3087
|
+
# @option params [String] :description
|
|
3088
|
+
#
|
|
3089
|
+
# @option params [required, String] :id
|
|
3090
|
+
#
|
|
3091
|
+
# @option params [required, String] :name
|
|
3092
|
+
#
|
|
3093
|
+
# @return [Types::UpdateAllowListResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3094
|
+
#
|
|
3095
|
+
# * {Types::UpdateAllowListResponse#arn #arn} => String
|
|
3096
|
+
# * {Types::UpdateAllowListResponse#id #id} => String
|
|
3097
|
+
#
|
|
3098
|
+
# @example Request syntax with placeholder values
|
|
3099
|
+
#
|
|
3100
|
+
# resp = client.update_allow_list({
|
|
3101
|
+
# criteria: { # required
|
|
3102
|
+
# regex: "__stringMin1Max512PatternSS",
|
|
3103
|
+
# s3_words_list: {
|
|
3104
|
+
# bucket_name: "__stringMin3Max255PatternAZaZ093255", # required
|
|
3105
|
+
# object_key: "__stringMin1Max1024PatternSS", # required
|
|
3106
|
+
# },
|
|
3107
|
+
# },
|
|
3108
|
+
# description: "__stringMin1Max512PatternSS",
|
|
3109
|
+
# id: "__string", # required
|
|
3110
|
+
# name: "__stringMin1Max128Pattern", # required
|
|
3111
|
+
# })
|
|
3112
|
+
#
|
|
3113
|
+
# @example Response structure
|
|
3114
|
+
#
|
|
3115
|
+
# resp.arn #=> String
|
|
3116
|
+
# resp.id #=> String
|
|
3117
|
+
#
|
|
3118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowList AWS API Documentation
|
|
3119
|
+
#
|
|
3120
|
+
# @overload update_allow_list(params = {})
|
|
3121
|
+
# @param [Hash] params ({})
|
|
3122
|
+
def update_allow_list(params = {}, options = {})
|
|
3123
|
+
req = build_request(:update_allow_list, params)
|
|
3124
|
+
req.send_request(options)
|
|
3125
|
+
end
|
|
3126
|
+
|
|
2899
3127
|
# Changes the status of a classification job.
|
|
2900
3128
|
#
|
|
2901
3129
|
# @option params [required, String] :job_id
|
|
@@ -2993,9 +3221,9 @@ module Aws::Macie2
|
|
|
2993
3221
|
# @option params [String] :finding_publishing_frequency
|
|
2994
3222
|
# The frequency with which Amazon Macie publishes updates to policy
|
|
2995
3223
|
# findings for an account. This includes publishing updates to Security
|
|
2996
|
-
# Hub and Amazon EventBridge (formerly
|
|
2997
|
-
#
|
|
2998
|
-
#
|
|
3224
|
+
# Hub and Amazon EventBridge (formerly Amazon CloudWatch Events). For
|
|
3225
|
+
# more information, see [Monitoring and processing findings][1] in the
|
|
3226
|
+
# *Amazon Macie User Guide*. Valid values are:
|
|
2999
3227
|
#
|
|
3000
3228
|
#
|
|
3001
3229
|
#
|
|
@@ -3071,16 +3299,15 @@ module Aws::Macie2
|
|
|
3071
3299
|
end
|
|
3072
3300
|
|
|
3073
3301
|
# Updates the status and configuration settings for retrieving
|
|
3074
|
-
#
|
|
3302
|
+
# occurrences of sensitive data reported by findings.
|
|
3075
3303
|
#
|
|
3076
3304
|
# @option params [required, Types::RevealConfiguration] :configuration
|
|
3077
3305
|
# Specifies the configuration settings for retrieving occurrences of
|
|
3078
3306
|
# sensitive data reported by findings, and the status of the
|
|
3079
3307
|
# configuration for an Amazon Macie account. When you enable the
|
|
3080
|
-
# configuration for the first time, your request must specify an
|
|
3081
|
-
# Management Service (
|
|
3082
|
-
#
|
|
3083
|
-
# retrieve.
|
|
3308
|
+
# configuration for the first time, your request must specify an Key
|
|
3309
|
+
# Management Service (KMS) key. Otherwise, an error occurs. Macie uses
|
|
3310
|
+
# the specified key to encrypt the sensitive data that you retrieve.
|
|
3084
3311
|
#
|
|
3085
3312
|
# @return [Types::UpdateRevealConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3086
3313
|
#
|
|
@@ -3122,7 +3349,7 @@ module Aws::Macie2
|
|
|
3122
3349
|
params: params,
|
|
3123
3350
|
config: config)
|
|
3124
3351
|
context[:gem_name] = 'aws-sdk-macie2'
|
|
3125
|
-
context[:gem_version] = '1.
|
|
3352
|
+
context[:gem_version] = '1.48.0'
|
|
3126
3353
|
Seahorse::Client::Request.new(handlers, context)
|
|
3127
3354
|
end
|
|
3128
3355
|
|