aws-sdk-macie2 1.36.0 → 1.40.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2/client.rb +54 -17
- data/lib/aws-sdk-macie2/client_api.rb +11 -0
- data/lib/aws-sdk-macie2/types.rb +104 -33
- data/lib/aws-sdk-macie2.rb +1 -1
- 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: ad07cd0aa374ed4fd3e6ccd034378a83e6ebb99d80735a523849f097b5f0fec4
|
4
|
+
data.tar.gz: 72cc5ee81103a534af8b4d95dc1105a410451d8e3c0011cfca6ec74236e7ac9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d10f1928c86a95c2f2f86e0cdf81868321e80781b1615439ad9dfa1910310d8c13962cfc7bc768bbf8a7088a2d7483849c03c3b212919304086d38bf4f218379
|
7
|
+
data.tar.gz: 92fde1fb968a003760474e8ca90a01058c15dd9c43188ca86d3d8f440f0745c40edfec2077d0b3ec3886f706f153cfe7247f7bc04c1f41594d0a5ec835b17e2d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.39.0 (2021-11-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon Macie
|
13
|
+
|
14
|
+
1.38.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.37.0 (2021-11-03)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release adds support for specifying the severity of findings that a custom data identifier produces, based on the number of occurrences of text that matches the detection criteria.
|
23
|
+
|
4
24
|
1.36.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
@@ -119,7 +119,9 @@ module Aws::Macie2
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -275,6 +277,15 @@ module Aws::Macie2
|
|
275
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
278
|
# requests are made, and retries are disabled.
|
277
279
|
#
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
|
+
# will be used if available.
|
283
|
+
#
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
287
|
+
# is set to `true`.
|
288
|
+
#
|
278
289
|
# @option options [Boolean] :validate_params (true)
|
279
290
|
# When `true`, request parameters are validated before
|
280
291
|
# sending the request.
|
@@ -594,6 +605,22 @@ module Aws::Macie2
|
|
594
605
|
#
|
595
606
|
# @option params [String] :regex
|
596
607
|
#
|
608
|
+
# @option params [Array<Types::SeverityLevel>] :severity_levels
|
609
|
+
# The severity to assign to findings that the custom data identifier
|
610
|
+
# produces, based on the number of occurrences of text that matches the
|
611
|
+
# custom data identifier's detection criteria. You can specify as many
|
612
|
+
# as three SeverityLevel objects in this array, one for each severity:
|
613
|
+
# LOW, MEDIUM, or HIGH. If you specify more than one, the occurrences
|
614
|
+
# thresholds must be in ascending order by severity, moving from LOW to
|
615
|
+
# HIGH. For example, 1 for LOW, 50 for MEDIUM, and 100 for HIGH. If an
|
616
|
+
# S3 object contains fewer occurrences than the lowest specified
|
617
|
+
# threshold, Amazon Macie doesn't create a finding.
|
618
|
+
#
|
619
|
+
# If you don't specify any values for this array, Macie creates
|
620
|
+
# findings for S3 objects that contain at least one occurrence of text
|
621
|
+
# that matches the detection criteria, and Macie automatically assigns
|
622
|
+
# the MEDIUM severity to those findings.
|
623
|
+
#
|
597
624
|
# @option params [Hash<String,String>] :tags
|
598
625
|
# A string-to-string map of key-value pairs that specifies the tags
|
599
626
|
# (keys and values) for a classification job, custom data identifier,
|
@@ -613,6 +640,12 @@ module Aws::Macie2
|
|
613
640
|
# maximum_match_distance: 1,
|
614
641
|
# name: "__string",
|
615
642
|
# regex: "__string",
|
643
|
+
# severity_levels: [
|
644
|
+
# {
|
645
|
+
# occurrences_threshold: 1, # required
|
646
|
+
# severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
647
|
+
# },
|
648
|
+
# ],
|
616
649
|
# tags: {
|
617
650
|
# "__string" => "__string",
|
618
651
|
# },
|
@@ -1152,8 +1185,8 @@ module Aws::Macie2
|
|
1152
1185
|
req.send_request(options)
|
1153
1186
|
end
|
1154
1187
|
|
1155
|
-
# Retrieves the Amazon Macie configuration settings for an
|
1156
|
-
#
|
1188
|
+
# Retrieves the Amazon Macie configuration settings for an organization
|
1189
|
+
# in Organizations.
|
1157
1190
|
#
|
1158
1191
|
# @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1159
1192
|
#
|
@@ -1174,8 +1207,8 @@ module Aws::Macie2
|
|
1174
1207
|
req.send_request(options)
|
1175
1208
|
end
|
1176
1209
|
|
1177
|
-
# Disables
|
1178
|
-
# account.
|
1210
|
+
# Disables Amazon Macie and deletes all settings and resources for a
|
1211
|
+
# Macie account.
|
1179
1212
|
#
|
1180
1213
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1181
1214
|
#
|
@@ -1189,7 +1222,7 @@ module Aws::Macie2
|
|
1189
1222
|
end
|
1190
1223
|
|
1191
1224
|
# Disables an account as the delegated Amazon Macie administrator
|
1192
|
-
# account for an
|
1225
|
+
# account for an organization in Organizations.
|
1193
1226
|
#
|
1194
1227
|
# @option params [required, String] :admin_account_id
|
1195
1228
|
#
|
@@ -1304,7 +1337,7 @@ module Aws::Macie2
|
|
1304
1337
|
end
|
1305
1338
|
|
1306
1339
|
# Designates an account as the delegated Amazon Macie administrator
|
1307
|
-
# account for an
|
1340
|
+
# account for an organization in Organizations.
|
1308
1341
|
#
|
1309
1342
|
# @option params [required, String] :admin_account_id
|
1310
1343
|
#
|
@@ -1353,8 +1386,8 @@ module Aws::Macie2
|
|
1353
1386
|
req.send_request(options)
|
1354
1387
|
end
|
1355
1388
|
|
1356
|
-
# Retrieves (queries) aggregated statistical data
|
1357
|
-
#
|
1389
|
+
# Retrieves (queries) aggregated statistical data about S3 buckets that
|
1390
|
+
# Amazon Macie monitors and analyzes.
|
1358
1391
|
#
|
1359
1392
|
# @option params [String] :account_id
|
1360
1393
|
#
|
@@ -1459,6 +1492,7 @@ module Aws::Macie2
|
|
1459
1492
|
# * {Types::GetCustomDataIdentifierResponse#maximum_match_distance #maximum_match_distance} => Integer
|
1460
1493
|
# * {Types::GetCustomDataIdentifierResponse#name #name} => String
|
1461
1494
|
# * {Types::GetCustomDataIdentifierResponse#regex #regex} => String
|
1495
|
+
# * {Types::GetCustomDataIdentifierResponse#severity_levels #severity_levels} => Array<Types::SeverityLevel>
|
1462
1496
|
# * {Types::GetCustomDataIdentifierResponse#tags #tags} => Hash<String,String>
|
1463
1497
|
#
|
1464
1498
|
# @example Request syntax with placeholder values
|
@@ -1481,6 +1515,9 @@ module Aws::Macie2
|
|
1481
1515
|
# resp.maximum_match_distance #=> Integer
|
1482
1516
|
# resp.name #=> String
|
1483
1517
|
# resp.regex #=> String
|
1518
|
+
# resp.severity_levels #=> Array
|
1519
|
+
# resp.severity_levels[0].occurrences_threshold #=> Integer
|
1520
|
+
# resp.severity_levels[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
1484
1521
|
# resp.tags #=> Hash
|
1485
1522
|
# resp.tags["__string"] #=> String
|
1486
1523
|
#
|
@@ -2401,7 +2438,7 @@ module Aws::Macie2
|
|
2401
2438
|
end
|
2402
2439
|
|
2403
2440
|
# Retrieves information about the delegated Amazon Macie administrator
|
2404
|
-
# account for an
|
2441
|
+
# account for an organization in Organizations.
|
2405
2442
|
#
|
2406
2443
|
# @option params [Integer] :max_results
|
2407
2444
|
#
|
@@ -2845,8 +2882,8 @@ module Aws::Macie2
|
|
2845
2882
|
req.send_request(options)
|
2846
2883
|
end
|
2847
2884
|
|
2848
|
-
# Suspends or re-enables
|
2849
|
-
#
|
2885
|
+
# Suspends or re-enables Amazon Macie, or updates the configuration
|
2886
|
+
# settings for a Macie account.
|
2850
2887
|
#
|
2851
2888
|
# @option params [String] :finding_publishing_frequency
|
2852
2889
|
# The frequency with which Amazon Macie publishes updates to policy
|
@@ -2880,8 +2917,8 @@ module Aws::Macie2
|
|
2880
2917
|
req.send_request(options)
|
2881
2918
|
end
|
2882
2919
|
|
2883
|
-
# Enables an Amazon Macie administrator to suspend or re-enable
|
2884
|
-
# account.
|
2920
|
+
# Enables an Amazon Macie administrator to suspend or re-enable Macie
|
2921
|
+
# for a member account.
|
2885
2922
|
#
|
2886
2923
|
# @option params [required, String] :id
|
2887
2924
|
#
|
@@ -2906,8 +2943,8 @@ module Aws::Macie2
|
|
2906
2943
|
req.send_request(options)
|
2907
2944
|
end
|
2908
2945
|
|
2909
|
-
# Updates the Amazon Macie configuration settings for an
|
2910
|
-
#
|
2946
|
+
# Updates the Amazon Macie configuration settings for an organization in
|
2947
|
+
# Organizations.
|
2911
2948
|
#
|
2912
2949
|
# @option params [required, Boolean] :auto_enable
|
2913
2950
|
#
|
@@ -2941,7 +2978,7 @@ module Aws::Macie2
|
|
2941
2978
|
params: params,
|
2942
2979
|
config: config)
|
2943
2980
|
context[:gem_name] = 'aws-sdk-macie2'
|
2944
|
-
context[:gem_version] = '1.
|
2981
|
+
context[:gem_version] = '1.40.0'
|
2945
2982
|
Seahorse::Client::Request.new(handlers, context)
|
2946
2983
|
end
|
2947
2984
|
|
@@ -73,6 +73,7 @@ module Aws::Macie2
|
|
73
73
|
CustomDetection = Shapes::StructureShape.new(name: 'CustomDetection')
|
74
74
|
CustomDetections = Shapes::ListShape.new(name: 'CustomDetections')
|
75
75
|
DailySchedule = Shapes::StructureShape.new(name: 'DailySchedule')
|
76
|
+
DataIdentifierSeverity = Shapes::StringShape.new(name: 'DataIdentifierSeverity')
|
76
77
|
DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
|
77
78
|
DeclineInvitationsRequest = Shapes::StructureShape.new(name: 'DeclineInvitationsRequest')
|
78
79
|
DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
|
@@ -259,6 +260,8 @@ module Aws::Macie2
|
|
259
260
|
SessionIssuer = Shapes::StructureShape.new(name: 'SessionIssuer')
|
260
261
|
Severity = Shapes::StructureShape.new(name: 'Severity')
|
261
262
|
SeverityDescription = Shapes::StringShape.new(name: 'SeverityDescription')
|
263
|
+
SeverityLevel = Shapes::StructureShape.new(name: 'SeverityLevel')
|
264
|
+
SeverityLevelList = Shapes::ListShape.new(name: 'SeverityLevelList')
|
262
265
|
SharedAccess = Shapes::StringShape.new(name: 'SharedAccess')
|
263
266
|
SimpleCriterionForJob = Shapes::StructureShape.new(name: 'SimpleCriterionForJob')
|
264
267
|
SimpleCriterionKeyForJob = Shapes::StringShape.new(name: 'SimpleCriterionKeyForJob')
|
@@ -553,6 +556,7 @@ module Aws::Macie2
|
|
553
556
|
CreateCustomDataIdentifierRequest.add_member(:maximum_match_distance, Shapes::ShapeRef.new(shape: __integer, location_name: "maximumMatchDistance"))
|
554
557
|
CreateCustomDataIdentifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
555
558
|
CreateCustomDataIdentifierRequest.add_member(:regex, Shapes::ShapeRef.new(shape: __string, location_name: "regex"))
|
559
|
+
CreateCustomDataIdentifierRequest.add_member(:severity_levels, Shapes::ShapeRef.new(shape: SeverityLevelList, location_name: "severityLevels"))
|
556
560
|
CreateCustomDataIdentifierRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
557
561
|
CreateCustomDataIdentifierRequest.struct_class = Types::CreateCustomDataIdentifierRequest
|
558
562
|
|
@@ -838,6 +842,7 @@ module Aws::Macie2
|
|
838
842
|
GetCustomDataIdentifierResponse.add_member(:maximum_match_distance, Shapes::ShapeRef.new(shape: __integer, location_name: "maximumMatchDistance"))
|
839
843
|
GetCustomDataIdentifierResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
840
844
|
GetCustomDataIdentifierResponse.add_member(:regex, Shapes::ShapeRef.new(shape: __string, location_name: "regex"))
|
845
|
+
GetCustomDataIdentifierResponse.add_member(:severity_levels, Shapes::ShapeRef.new(shape: SeverityLevelList, location_name: "severityLevels"))
|
841
846
|
GetCustomDataIdentifierResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
842
847
|
GetCustomDataIdentifierResponse.struct_class = Types::GetCustomDataIdentifierResponse
|
843
848
|
|
@@ -1328,6 +1333,12 @@ module Aws::Macie2
|
|
1328
1333
|
Severity.add_member(:score, Shapes::ShapeRef.new(shape: __long, location_name: "score"))
|
1329
1334
|
Severity.struct_class = Types::Severity
|
1330
1335
|
|
1336
|
+
SeverityLevel.add_member(:occurrences_threshold, Shapes::ShapeRef.new(shape: __long, required: true, location_name: "occurrencesThreshold"))
|
1337
|
+
SeverityLevel.add_member(:severity, Shapes::ShapeRef.new(shape: DataIdentifierSeverity, required: true, location_name: "severity"))
|
1338
|
+
SeverityLevel.struct_class = Types::SeverityLevel
|
1339
|
+
|
1340
|
+
SeverityLevelList.member = Shapes::ShapeRef.new(shape: SeverityLevel)
|
1341
|
+
|
1331
1342
|
SimpleCriterionForJob.add_member(:comparator, Shapes::ShapeRef.new(shape: JobComparator, location_name: "comparator"))
|
1332
1343
|
SimpleCriterionForJob.add_member(:key, Shapes::ShapeRef.new(shape: SimpleCriterionKeyForJob, location_name: "key"))
|
1333
1344
|
SimpleCriterionForJob.add_member(:values, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "values"))
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -132,15 +132,15 @@ module Aws::Macie2
|
|
132
132
|
end
|
133
133
|
|
134
134
|
# Provides information about the delegated Amazon Macie administrator
|
135
|
-
# account for an
|
135
|
+
# account for an organization in Organizations.
|
136
136
|
#
|
137
137
|
# @!attribute [rw] account_id
|
138
138
|
# @return [String]
|
139
139
|
#
|
140
140
|
# @!attribute [rw] status
|
141
141
|
# The current status of an account as the delegated Amazon Macie
|
142
|
-
# administrator account for an
|
143
|
-
#
|
142
|
+
# administrator account for an organization in Organizations. Possible
|
143
|
+
# values are:
|
144
144
|
# @return [String]
|
145
145
|
#
|
146
146
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AdminAccount AWS API Documentation
|
@@ -548,10 +548,11 @@ module Aws::Macie2
|
|
548
548
|
# Provides statistical data and other information about an S3 bucket
|
549
549
|
# that Amazon Macie monitors and analyzes for your account. If an error
|
550
550
|
# occurs when Macie attempts to retrieve and process information about
|
551
|
-
# the bucket or the bucket's objects, the value for
|
552
|
-
#
|
553
|
-
#
|
554
|
-
# cause of the error, refer to
|
551
|
+
# the bucket or the bucket's objects, the value for the versioning
|
552
|
+
# property is false and the value for most other properties is null.
|
553
|
+
# Exceptions are accountId, bucketArn, bucketCreatedAt, bucketName,
|
554
|
+
# lastUpdated, and region. To identify the cause of the error, refer to
|
555
|
+
# the errorCode and errorMessage values.
|
555
556
|
#
|
556
557
|
# @!attribute [rw] account_id
|
557
558
|
# @return [String]
|
@@ -1179,7 +1180,7 @@ module Aws::Macie2
|
|
1179
1180
|
include Aws::Structure
|
1180
1181
|
end
|
1181
1182
|
|
1182
|
-
# Specifies the criteria and other settings for a custom data
|
1183
|
+
# Specifies the detection criteria and other settings for a custom data
|
1183
1184
|
# identifier. You can't change a custom data identifier after you
|
1184
1185
|
# create it. This helps ensure that you have an immutable history of
|
1185
1186
|
# sensitive data findings and discovery results for data privacy and
|
@@ -1196,6 +1197,12 @@ module Aws::Macie2
|
|
1196
1197
|
# maximum_match_distance: 1,
|
1197
1198
|
# name: "__string",
|
1198
1199
|
# regex: "__string",
|
1200
|
+
# severity_levels: [
|
1201
|
+
# {
|
1202
|
+
# occurrences_threshold: 1, # required
|
1203
|
+
# severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
1204
|
+
# },
|
1205
|
+
# ],
|
1199
1206
|
# tags: {
|
1200
1207
|
# "__string" => "__string",
|
1201
1208
|
# },
|
@@ -1224,6 +1231,23 @@ module Aws::Macie2
|
|
1224
1231
|
# @!attribute [rw] regex
|
1225
1232
|
# @return [String]
|
1226
1233
|
#
|
1234
|
+
# @!attribute [rw] severity_levels
|
1235
|
+
# The severity to assign to findings that the custom data identifier
|
1236
|
+
# produces, based on the number of occurrences of text that matches
|
1237
|
+
# the custom data identifier's detection criteria. You can specify as
|
1238
|
+
# many as three SeverityLevel objects in this array, one for each
|
1239
|
+
# severity: LOW, MEDIUM, or HIGH. If you specify more than one, the
|
1240
|
+
# occurrences thresholds must be in ascending order by severity,
|
1241
|
+
# moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and
|
1242
|
+
# 100 for HIGH. If an S3 object contains fewer occurrences than the
|
1243
|
+
# lowest specified threshold, Amazon Macie doesn't create a finding.
|
1244
|
+
#
|
1245
|
+
# If you don't specify any values for this array, Macie creates
|
1246
|
+
# findings for S3 objects that contain at least one occurrence of text
|
1247
|
+
# that matches the detection criteria, and Macie automatically assigns
|
1248
|
+
# the MEDIUM severity to those findings.
|
1249
|
+
# @return [Array<Types::SeverityLevel>]
|
1250
|
+
#
|
1227
1251
|
# @!attribute [rw] tags
|
1228
1252
|
# A string-to-string map of key-value pairs that specifies the tags
|
1229
1253
|
# (keys and values) for a classification job, custom data identifier,
|
@@ -1240,6 +1264,7 @@ module Aws::Macie2
|
|
1240
1264
|
:maximum_match_distance,
|
1241
1265
|
:name,
|
1242
1266
|
:regex,
|
1267
|
+
:severity_levels,
|
1243
1268
|
:tags)
|
1244
1269
|
SENSITIVE = []
|
1245
1270
|
include Aws::Structure
|
@@ -1351,7 +1376,12 @@ module Aws::Macie2
|
|
1351
1376
|
include Aws::Structure
|
1352
1377
|
end
|
1353
1378
|
|
1354
|
-
# Specifies the settings for an Amazon Macie membership invitation.
|
1379
|
+
# Specifies the settings for an Amazon Macie membership invitation. When
|
1380
|
+
# you send an invitation, Macie notifies the recipient by creating an
|
1381
|
+
# Health event for the recipient's account and, if Macie is already
|
1382
|
+
# enabled for the account, displaying an **Accounts** badge and
|
1383
|
+
# notification on the recipient's console. You can optionally notify
|
1384
|
+
# the recipient by also sending the invitation as an email message.
|
1355
1385
|
#
|
1356
1386
|
# @note When making an API call, you may pass CreateInvitationsRequest
|
1357
1387
|
# data as a hash:
|
@@ -1445,8 +1475,7 @@ module Aws::Macie2
|
|
1445
1475
|
include Aws::Structure
|
1446
1476
|
end
|
1447
1477
|
|
1448
|
-
# Specifies the types of findings to
|
1449
|
-
# that Amazon Macie creates.
|
1478
|
+
# Specifies the types of sample findings to create.
|
1450
1479
|
#
|
1451
1480
|
# @note When making an API call, you may pass CreateSampleFindingsRequest
|
1452
1481
|
# data as a hash:
|
@@ -2082,7 +2111,7 @@ module Aws::Macie2
|
|
2082
2111
|
class DescribeOrganizationConfigurationRequest < Aws::EmptyStructure; end
|
2083
2112
|
|
2084
2113
|
# Provides information about the Amazon Macie configuration settings for
|
2085
|
-
# an
|
2114
|
+
# an organization in Organizations.
|
2086
2115
|
#
|
2087
2116
|
# @!attribute [rw] auto_enable
|
2088
2117
|
# @return [Boolean]
|
@@ -2242,10 +2271,10 @@ module Aws::Macie2
|
|
2242
2271
|
#
|
2243
2272
|
class EnableMacieResponse < Aws::EmptyStructure; end
|
2244
2273
|
|
2245
|
-
# Specifies an account to designate as
|
2246
|
-
# administrator account for an
|
2247
|
-
#
|
2248
|
-
#
|
2274
|
+
# Specifies an account to designate as the delegated Amazon Macie
|
2275
|
+
# administrator account for an organization in Organizations. To submit
|
2276
|
+
# this request, you must be a user of the Organizations management
|
2277
|
+
# account.
|
2249
2278
|
#
|
2250
2279
|
# @note When making an API call, you may pass EnableOrganizationAdminAccountRequest
|
2251
2280
|
# data as a hash:
|
@@ -2570,8 +2599,7 @@ module Aws::Macie2
|
|
2570
2599
|
# invitation.
|
2571
2600
|
#
|
2572
2601
|
# @!attribute [rw] administrator
|
2573
|
-
# Provides information about an Amazon Macie membership invitation
|
2574
|
-
# that was received by an account.
|
2602
|
+
# Provides information about an Amazon Macie membership invitation.
|
2575
2603
|
# @return [Types::Invitation]
|
2576
2604
|
#
|
2577
2605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccountResponse AWS API Documentation
|
@@ -2741,8 +2769,8 @@ module Aws::Macie2
|
|
2741
2769
|
include Aws::Structure
|
2742
2770
|
end
|
2743
2771
|
|
2744
|
-
# Provides information about the criteria and other settings
|
2745
|
-
# custom data identifier.
|
2772
|
+
# Provides information about the detection criteria and other settings
|
2773
|
+
# for a custom data identifier.
|
2746
2774
|
#
|
2747
2775
|
# @!attribute [rw] arn
|
2748
2776
|
# @return [String]
|
@@ -2774,6 +2802,23 @@ module Aws::Macie2
|
|
2774
2802
|
# @!attribute [rw] regex
|
2775
2803
|
# @return [String]
|
2776
2804
|
#
|
2805
|
+
# @!attribute [rw] severity_levels
|
2806
|
+
# The severity to assign to findings that the custom data identifier
|
2807
|
+
# produces, based on the number of occurrences of text that matches
|
2808
|
+
# the custom data identifier's detection criteria. You can specify as
|
2809
|
+
# many as three SeverityLevel objects in this array, one for each
|
2810
|
+
# severity: LOW, MEDIUM, or HIGH. If you specify more than one, the
|
2811
|
+
# occurrences thresholds must be in ascending order by severity,
|
2812
|
+
# moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and
|
2813
|
+
# 100 for HIGH. If an S3 object contains fewer occurrences than the
|
2814
|
+
# lowest specified threshold, Amazon Macie doesn't create a finding.
|
2815
|
+
#
|
2816
|
+
# If you don't specify any values for this array, Macie creates
|
2817
|
+
# findings for S3 objects that contain at least one occurrence of text
|
2818
|
+
# that matches the detection criteria, and Macie automatically assigns
|
2819
|
+
# the MEDIUM severity to those findings.
|
2820
|
+
# @return [Array<Types::SeverityLevel>]
|
2821
|
+
#
|
2777
2822
|
# @!attribute [rw] tags
|
2778
2823
|
# A string-to-string map of key-value pairs that specifies the tags
|
2779
2824
|
# (keys and values) for a classification job, custom data identifier,
|
@@ -2793,6 +2838,7 @@ module Aws::Macie2
|
|
2793
2838
|
:maximum_match_distance,
|
2794
2839
|
:name,
|
2795
2840
|
:regex,
|
2841
|
+
:severity_levels,
|
2796
2842
|
:tags)
|
2797
2843
|
SENSITIVE = []
|
2798
2844
|
include Aws::Structure
|
@@ -3087,8 +3133,7 @@ module Aws::Macie2
|
|
3087
3133
|
# that invitation.
|
3088
3134
|
#
|
3089
3135
|
# @!attribute [rw] master
|
3090
|
-
# Provides information about an Amazon Macie membership invitation
|
3091
|
-
# that was received by an account.
|
3136
|
+
# Provides information about an Amazon Macie membership invitation.
|
3092
3137
|
# @return [Types::Invitation]
|
3093
3138
|
#
|
3094
3139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccountResponse AWS API Documentation
|
@@ -3140,8 +3185,7 @@ module Aws::Macie2
|
|
3140
3185
|
#
|
3141
3186
|
# @!attribute [rw] relationship_status
|
3142
3187
|
# The current status of the relationship between an account and an
|
3143
|
-
# associated Amazon Macie administrator account
|
3144
|
-
# Possible values are:
|
3188
|
+
# associated Amazon Macie administrator account. Possible values are:
|
3145
3189
|
# @return [String]
|
3146
3190
|
#
|
3147
3191
|
# @!attribute [rw] tags
|
@@ -3344,8 +3388,7 @@ module Aws::Macie2
|
|
3344
3388
|
include Aws::Structure
|
3345
3389
|
end
|
3346
3390
|
|
3347
|
-
# Provides information about an Amazon Macie membership invitation
|
3348
|
-
# was received by an account.
|
3391
|
+
# Provides information about an Amazon Macie membership invitation.
|
3349
3392
|
#
|
3350
3393
|
# @!attribute [rw] account_id
|
3351
3394
|
# @return [String]
|
@@ -3358,8 +3401,7 @@ module Aws::Macie2
|
|
3358
3401
|
#
|
3359
3402
|
# @!attribute [rw] relationship_status
|
3360
3403
|
# The current status of the relationship between an account and an
|
3361
|
-
# associated Amazon Macie administrator account
|
3362
|
-
# Possible values are:
|
3404
|
+
# associated Amazon Macie administrator account. Possible values are:
|
3363
3405
|
# @return [String]
|
3364
3406
|
#
|
3365
3407
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Invitation AWS API Documentation
|
@@ -4231,7 +4273,7 @@ module Aws::Macie2
|
|
4231
4273
|
end
|
4232
4274
|
|
4233
4275
|
# Provides information about the delegated Amazon Macie administrator
|
4234
|
-
# accounts for an
|
4276
|
+
# accounts for an organization in Organizations.
|
4235
4277
|
#
|
4236
4278
|
# @!attribute [rw] admin_accounts
|
4237
4279
|
# @return [Array<Types::AdminAccount>]
|
@@ -4448,8 +4490,7 @@ module Aws::Macie2
|
|
4448
4490
|
#
|
4449
4491
|
# @!attribute [rw] relationship_status
|
4450
4492
|
# The current status of the relationship between an account and an
|
4451
|
-
# associated Amazon Macie administrator account
|
4452
|
-
# Possible values are:
|
4493
|
+
# associated Amazon Macie administrator account. Possible values are:
|
4453
4494
|
# @return [String]
|
4454
4495
|
#
|
4455
4496
|
# @!attribute [rw] tags
|
@@ -5889,6 +5930,36 @@ module Aws::Macie2
|
|
5889
5930
|
include Aws::Structure
|
5890
5931
|
end
|
5891
5932
|
|
5933
|
+
# Specifies a severity level for findings that a custom data identifier
|
5934
|
+
# produces. A severity level determines which severity is assigned to
|
5935
|
+
# the findings, based on the number of occurrences of text that matches
|
5936
|
+
# the custom data identifier's detection criteria.
|
5937
|
+
#
|
5938
|
+
# @note When making an API call, you may pass SeverityLevel
|
5939
|
+
# data as a hash:
|
5940
|
+
#
|
5941
|
+
# {
|
5942
|
+
# occurrences_threshold: 1, # required
|
5943
|
+
# severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
5944
|
+
# }
|
5945
|
+
#
|
5946
|
+
# @!attribute [rw] occurrences_threshold
|
5947
|
+
# @return [Integer]
|
5948
|
+
#
|
5949
|
+
# @!attribute [rw] severity
|
5950
|
+
# The severity of a finding, ranging from LOW, for least severe, to
|
5951
|
+
# HIGH, for most severe. Valid values are:
|
5952
|
+
# @return [String]
|
5953
|
+
#
|
5954
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SeverityLevel AWS API Documentation
|
5955
|
+
#
|
5956
|
+
class SeverityLevel < Struct.new(
|
5957
|
+
:occurrences_threshold,
|
5958
|
+
:severity)
|
5959
|
+
SENSITIVE = []
|
5960
|
+
include Aws::Structure
|
5961
|
+
end
|
5962
|
+
|
5892
5963
|
# Specifies a property-based condition that determines whether an S3
|
5893
5964
|
# bucket is included or excluded from a classification job.
|
5894
5965
|
#
|
@@ -6457,7 +6528,7 @@ module Aws::Macie2
|
|
6457
6528
|
#
|
6458
6529
|
class UpdateMacieSessionResponse < Aws::EmptyStructure; end
|
6459
6530
|
|
6460
|
-
# Suspends (pauses) or re-enables
|
6531
|
+
# Suspends (pauses) or re-enables Amazon Macie for a member account.
|
6461
6532
|
#
|
6462
6533
|
# @note When making an API call, you may pass UpdateMemberSessionRequest
|
6463
6534
|
# data as a hash:
|
@@ -6488,7 +6559,7 @@ module Aws::Macie2
|
|
6488
6559
|
class UpdateMemberSessionResponse < Aws::EmptyStructure; end
|
6489
6560
|
|
6490
6561
|
# Specifies whether to enable Amazon Macie automatically for accounts
|
6491
|
-
# that are added to an
|
6562
|
+
# that are added to an organization in Organizations.
|
6492
6563
|
#
|
6493
6564
|
# @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
|
6494
6565
|
# data as a hash:
|
data/lib/aws-sdk-macie2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-macie2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|