aws-sdk-macie2 1.46.0 → 1.47.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2/client.rb +244 -34
- data/lib/aws-sdk-macie2/client_api.rb +161 -0
- data/lib/aws-sdk-macie2/types.rb +444 -71
- data/lib/aws-sdk-macie2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -152,6 +152,92 @@ module Aws::Macie2
|
|
152
152
|
include Aws::Structure
|
153
153
|
end
|
154
154
|
|
155
|
+
# Specifies the criteria for an allow list. The criteria must specify a
|
156
|
+
# regular expression (regex) or an S3 object (s3WordsList). It can't
|
157
|
+
# specify both.
|
158
|
+
#
|
159
|
+
# @note When making an API call, you may pass AllowListCriteria
|
160
|
+
# data as a hash:
|
161
|
+
#
|
162
|
+
# {
|
163
|
+
# regex: "__stringMin1Max512PatternSS",
|
164
|
+
# s3_words_list: {
|
165
|
+
# bucket_name: "__stringMin3Max255PatternAZaZ093255", # required
|
166
|
+
# object_key: "__stringMin1Max1024PatternSS", # required
|
167
|
+
# },
|
168
|
+
# }
|
169
|
+
#
|
170
|
+
# @!attribute [rw] regex
|
171
|
+
# @return [String]
|
172
|
+
#
|
173
|
+
# @!attribute [rw] s3_words_list
|
174
|
+
# Provides information about an S3 object that lists specific text to
|
175
|
+
# ignore.
|
176
|
+
# @return [Types::S3WordsList]
|
177
|
+
#
|
178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AllowListCriteria AWS API Documentation
|
179
|
+
#
|
180
|
+
class AllowListCriteria < Struct.new(
|
181
|
+
:regex,
|
182
|
+
:s3_words_list)
|
183
|
+
SENSITIVE = []
|
184
|
+
include Aws::Structure
|
185
|
+
end
|
186
|
+
|
187
|
+
# Provides information about the current status of an allow list, which
|
188
|
+
# indicates whether Amazon Macie can access and use the list's
|
189
|
+
# criteria.
|
190
|
+
#
|
191
|
+
# @!attribute [rw] code
|
192
|
+
# Indicates the current status of an allow list. Depending on the type
|
193
|
+
# of criteria that the list specifies, possible values are:
|
194
|
+
# @return [String]
|
195
|
+
#
|
196
|
+
# @!attribute [rw] description
|
197
|
+
# @return [String]
|
198
|
+
#
|
199
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AllowListStatus AWS API Documentation
|
200
|
+
#
|
201
|
+
class AllowListStatus < Struct.new(
|
202
|
+
:code,
|
203
|
+
:description)
|
204
|
+
SENSITIVE = []
|
205
|
+
include Aws::Structure
|
206
|
+
end
|
207
|
+
|
208
|
+
# Provides a subset of information about an allow list.
|
209
|
+
#
|
210
|
+
# @!attribute [rw] arn
|
211
|
+
# @return [String]
|
212
|
+
#
|
213
|
+
# @!attribute [rw] created_at
|
214
|
+
# @return [Time]
|
215
|
+
#
|
216
|
+
# @!attribute [rw] description
|
217
|
+
# @return [String]
|
218
|
+
#
|
219
|
+
# @!attribute [rw] id
|
220
|
+
# @return [String]
|
221
|
+
#
|
222
|
+
# @!attribute [rw] name
|
223
|
+
# @return [String]
|
224
|
+
#
|
225
|
+
# @!attribute [rw] updated_at
|
226
|
+
# @return [Time]
|
227
|
+
#
|
228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AllowListSummary AWS API Documentation
|
229
|
+
#
|
230
|
+
class AllowListSummary < Struct.new(
|
231
|
+
:arn,
|
232
|
+
:created_at,
|
233
|
+
:description,
|
234
|
+
:id,
|
235
|
+
:name,
|
236
|
+
:updated_at)
|
237
|
+
SENSITIVE = []
|
238
|
+
include Aws::Structure
|
239
|
+
end
|
240
|
+
|
155
241
|
# Provides information about an API operation that an entity invoked for
|
156
242
|
# an affected resource.
|
157
243
|
#
|
@@ -967,6 +1053,82 @@ module Aws::Macie2
|
|
967
1053
|
include Aws::Structure
|
968
1054
|
end
|
969
1055
|
|
1056
|
+
# Specifies the settings for an allow list. When Amazon Macie processes
|
1057
|
+
# the request, Macie tests the list's criteria. If the criteria specify
|
1058
|
+
# a regular expression that Macie can't compile or an S3 object that
|
1059
|
+
# Macie can't retrieve or parse, an error occurs.
|
1060
|
+
#
|
1061
|
+
# @note When making an API call, you may pass CreateAllowListRequest
|
1062
|
+
# data as a hash:
|
1063
|
+
#
|
1064
|
+
# {
|
1065
|
+
# client_token: "__string", # required
|
1066
|
+
# criteria: { # required
|
1067
|
+
# regex: "__stringMin1Max512PatternSS",
|
1068
|
+
# s3_words_list: {
|
1069
|
+
# bucket_name: "__stringMin3Max255PatternAZaZ093255", # required
|
1070
|
+
# object_key: "__stringMin1Max1024PatternSS", # required
|
1071
|
+
# },
|
1072
|
+
# },
|
1073
|
+
# description: "__stringMin1Max512PatternSS",
|
1074
|
+
# name: "__stringMin1Max128Pattern", # required
|
1075
|
+
# tags: {
|
1076
|
+
# "__string" => "__string",
|
1077
|
+
# },
|
1078
|
+
# }
|
1079
|
+
#
|
1080
|
+
# @!attribute [rw] client_token
|
1081
|
+
# **A suitable default value is auto-generated.** You should normally
|
1082
|
+
# not need to pass this option.
|
1083
|
+
# @return [String]
|
1084
|
+
#
|
1085
|
+
# @!attribute [rw] criteria
|
1086
|
+
# Specifies the criteria for an allow list. The criteria must specify
|
1087
|
+
# a regular expression (regex) or an S3 object (s3WordsList). It
|
1088
|
+
# can't specify both.
|
1089
|
+
# @return [Types::AllowListCriteria]
|
1090
|
+
#
|
1091
|
+
# @!attribute [rw] description
|
1092
|
+
# @return [String]
|
1093
|
+
#
|
1094
|
+
# @!attribute [rw] name
|
1095
|
+
# @return [String]
|
1096
|
+
#
|
1097
|
+
# @!attribute [rw] tags
|
1098
|
+
# A string-to-string map of key-value pairs that specifies the tags
|
1099
|
+
# (keys and values) for an Amazon Macie resource.
|
1100
|
+
# @return [Hash<String,String>]
|
1101
|
+
#
|
1102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateAllowListRequest AWS API Documentation
|
1103
|
+
#
|
1104
|
+
class CreateAllowListRequest < Struct.new(
|
1105
|
+
:client_token,
|
1106
|
+
:criteria,
|
1107
|
+
:description,
|
1108
|
+
:name,
|
1109
|
+
:tags)
|
1110
|
+
SENSITIVE = []
|
1111
|
+
include Aws::Structure
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
# Provides information about an allow list that was created in response
|
1115
|
+
# to a request.
|
1116
|
+
#
|
1117
|
+
# @!attribute [rw] arn
|
1118
|
+
# @return [String]
|
1119
|
+
#
|
1120
|
+
# @!attribute [rw] id
|
1121
|
+
# @return [String]
|
1122
|
+
#
|
1123
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateAllowListResponse AWS API Documentation
|
1124
|
+
#
|
1125
|
+
class CreateAllowListResponse < Struct.new(
|
1126
|
+
:arn,
|
1127
|
+
:id)
|
1128
|
+
SENSITIVE = []
|
1129
|
+
include Aws::Structure
|
1130
|
+
end
|
1131
|
+
|
970
1132
|
# Specifies the scope, schedule, and other settings for a classification
|
971
1133
|
# job. You can't change any settings for a classification job after you
|
972
1134
|
# create it. This helps ensure that you have an immutable history of
|
@@ -977,6 +1139,7 @@ module Aws::Macie2
|
|
977
1139
|
# data as a hash:
|
978
1140
|
#
|
979
1141
|
# {
|
1142
|
+
# allow_list_ids: ["__string"],
|
980
1143
|
# client_token: "__string", # required
|
981
1144
|
# custom_data_identifier_ids: ["__string"],
|
982
1145
|
# description: "__string",
|
@@ -1097,6 +1260,9 @@ module Aws::Macie2
|
|
1097
1260
|
# },
|
1098
1261
|
# }
|
1099
1262
|
#
|
1263
|
+
# @!attribute [rw] allow_list_ids
|
1264
|
+
# @return [Array<String>]
|
1265
|
+
#
|
1100
1266
|
# @!attribute [rw] client_token
|
1101
1267
|
# **A suitable default value is auto-generated.** You should normally
|
1102
1268
|
# not need to pass this option.
|
@@ -1145,13 +1311,13 @@ module Aws::Macie2
|
|
1145
1311
|
#
|
1146
1312
|
# @!attribute [rw] tags
|
1147
1313
|
# A string-to-string map of key-value pairs that specifies the tags
|
1148
|
-
# (keys and values) for
|
1149
|
-
# findings filter, or member account.
|
1314
|
+
# (keys and values) for an Amazon Macie resource.
|
1150
1315
|
# @return [Hash<String,String>]
|
1151
1316
|
#
|
1152
1317
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJobRequest AWS API Documentation
|
1153
1318
|
#
|
1154
1319
|
class CreateClassificationJobRequest < Struct.new(
|
1320
|
+
:allow_list_ids,
|
1155
1321
|
:client_token,
|
1156
1322
|
:custom_data_identifier_ids,
|
1157
1323
|
:description,
|
@@ -1256,8 +1422,7 @@ module Aws::Macie2
|
|
1256
1422
|
#
|
1257
1423
|
# @!attribute [rw] tags
|
1258
1424
|
# A string-to-string map of key-value pairs that specifies the tags
|
1259
|
-
# (keys and values) for
|
1260
|
-
# findings filter, or member account.
|
1425
|
+
# (keys and values) for an Amazon Macie resource.
|
1261
1426
|
# @return [Hash<String,String>]
|
1262
1427
|
#
|
1263
1428
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifierRequest AWS API Documentation
|
@@ -1346,8 +1511,7 @@ module Aws::Macie2
|
|
1346
1511
|
#
|
1347
1512
|
# @!attribute [rw] tags
|
1348
1513
|
# A string-to-string map of key-value pairs that specifies the tags
|
1349
|
-
# (keys and values) for
|
1350
|
-
# findings filter, or member account.
|
1514
|
+
# (keys and values) for an Amazon Macie resource.
|
1351
1515
|
# @return [Hash<String,String>]
|
1352
1516
|
#
|
1353
1517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilterRequest AWS API Documentation
|
@@ -1454,8 +1618,7 @@ module Aws::Macie2
|
|
1454
1618
|
#
|
1455
1619
|
# @!attribute [rw] tags
|
1456
1620
|
# A string-to-string map of key-value pairs that specifies the tags
|
1457
|
-
# (keys and values) for
|
1458
|
-
# findings filter, or member account.
|
1621
|
+
# (keys and values) for an Amazon Macie resource.
|
1459
1622
|
# @return [Hash<String,String>]
|
1460
1623
|
#
|
1461
1624
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMemberRequest AWS API Documentation
|
@@ -1710,10 +1873,7 @@ module Aws::Macie2
|
|
1710
1873
|
# @!attribute [rw] occurrences
|
1711
1874
|
# Specifies the location of 1-15 occurrences of sensitive data that
|
1712
1875
|
# was detected by a managed data identifier or a custom data
|
1713
|
-
# identifier and produced a sensitive data finding.
|
1714
|
-
# file or storage format of the affected S3 object, you can optionally
|
1715
|
-
# retrieve (reveal) sample occurrences of the sensitive data that was
|
1716
|
-
# detected.
|
1876
|
+
# identifier and produced a sensitive data finding.
|
1717
1877
|
# @return [Types::Occurrences]
|
1718
1878
|
#
|
1719
1879
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CustomDetection AWS API Documentation
|
@@ -1781,10 +1941,7 @@ module Aws::Macie2
|
|
1781
1941
|
# @!attribute [rw] occurrences
|
1782
1942
|
# Specifies the location of 1-15 occurrences of sensitive data that
|
1783
1943
|
# was detected by a managed data identifier or a custom data
|
1784
|
-
# identifier and produced a sensitive data finding.
|
1785
|
-
# file or storage format of the affected S3 object, you can optionally
|
1786
|
-
# retrieve (reveal) sample occurrences of the sensitive data that was
|
1787
|
-
# detected.
|
1944
|
+
# identifier and produced a sensitive data finding.
|
1788
1945
|
# @return [Types::Occurrences]
|
1789
1946
|
#
|
1790
1947
|
# @!attribute [rw] type
|
@@ -1800,6 +1957,33 @@ module Aws::Macie2
|
|
1800
1957
|
include Aws::Structure
|
1801
1958
|
end
|
1802
1959
|
|
1960
|
+
# @note When making an API call, you may pass DeleteAllowListRequest
|
1961
|
+
# data as a hash:
|
1962
|
+
#
|
1963
|
+
# {
|
1964
|
+
# id: "__string", # required
|
1965
|
+
# ignore_job_checks: "__string",
|
1966
|
+
# }
|
1967
|
+
#
|
1968
|
+
# @!attribute [rw] id
|
1969
|
+
# @return [String]
|
1970
|
+
#
|
1971
|
+
# @!attribute [rw] ignore_job_checks
|
1972
|
+
# @return [String]
|
1973
|
+
#
|
1974
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteAllowListRequest AWS API Documentation
|
1975
|
+
#
|
1976
|
+
class DeleteAllowListRequest < Struct.new(
|
1977
|
+
:id,
|
1978
|
+
:ignore_job_checks)
|
1979
|
+
SENSITIVE = []
|
1980
|
+
include Aws::Structure
|
1981
|
+
end
|
1982
|
+
|
1983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteAllowListResponse AWS API Documentation
|
1984
|
+
#
|
1985
|
+
class DeleteAllowListResponse < Aws::EmptyStructure; end
|
1986
|
+
|
1803
1987
|
# @note When making an API call, you may pass DeleteCustomDataIdentifierRequest
|
1804
1988
|
# data as a hash:
|
1805
1989
|
#
|
@@ -1995,6 +2179,9 @@ module Aws::Macie2
|
|
1995
2179
|
# Provides information about a classification job, including the current
|
1996
2180
|
# configuration settings and status of the job.
|
1997
2181
|
#
|
2182
|
+
# @!attribute [rw] allow_list_ids
|
2183
|
+
# @return [Array<String>]
|
2184
|
+
#
|
1998
2185
|
# @!attribute [rw] client_token
|
1999
2186
|
# **A suitable default value is auto-generated.** You should normally
|
2000
2187
|
# not need to pass this option.
|
@@ -2074,8 +2261,7 @@ module Aws::Macie2
|
|
2074
2261
|
#
|
2075
2262
|
# @!attribute [rw] tags
|
2076
2263
|
# A string-to-string map of key-value pairs that specifies the tags
|
2077
|
-
# (keys and values) for
|
2078
|
-
# findings filter, or member account.
|
2264
|
+
# (keys and values) for an Amazon Macie resource.
|
2079
2265
|
# @return [Hash<String,String>]
|
2080
2266
|
#
|
2081
2267
|
# @!attribute [rw] user_paused_details
|
@@ -2092,6 +2278,7 @@ module Aws::Macie2
|
|
2092
2278
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobResponse AWS API Documentation
|
2093
2279
|
#
|
2094
2280
|
class DescribeClassificationJobResponse < Struct.new(
|
2281
|
+
:allow_list_ids,
|
2095
2282
|
:client_token,
|
2096
2283
|
:created_at,
|
2097
2284
|
:custom_data_identifier_ids,
|
@@ -2269,10 +2456,9 @@ module Aws::Macie2
|
|
2269
2456
|
# @!attribute [rw] finding_publishing_frequency
|
2270
2457
|
# The frequency with which Amazon Macie publishes updates to policy
|
2271
2458
|
# findings for an account. This includes publishing updates to
|
2272
|
-
# Security Hub and Amazon EventBridge (formerly
|
2273
|
-
#
|
2274
|
-
#
|
2275
|
-
# values are:
|
2459
|
+
# Security Hub and Amazon EventBridge (formerly Amazon CloudWatch
|
2460
|
+
# Events). For more information, see [Monitoring and processing
|
2461
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
2276
2462
|
#
|
2277
2463
|
#
|
2278
2464
|
#
|
@@ -2597,8 +2783,7 @@ module Aws::Macie2
|
|
2597
2783
|
#
|
2598
2784
|
# @!attribute [rw] tags
|
2599
2785
|
# A string-to-string map of key-value pairs that specifies the tags
|
2600
|
-
# (keys and values) for
|
2601
|
-
# findings filter, or member account.
|
2786
|
+
# (keys and values) for an Amazon Macie resource.
|
2602
2787
|
# @return [Hash<String,String>]
|
2603
2788
|
#
|
2604
2789
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FindingsFilterListItem AWS API Documentation
|
@@ -2636,6 +2821,77 @@ module Aws::Macie2
|
|
2636
2821
|
include Aws::Structure
|
2637
2822
|
end
|
2638
2823
|
|
2824
|
+
# @note When making an API call, you may pass GetAllowListRequest
|
2825
|
+
# data as a hash:
|
2826
|
+
#
|
2827
|
+
# {
|
2828
|
+
# id: "__string", # required
|
2829
|
+
# }
|
2830
|
+
#
|
2831
|
+
# @!attribute [rw] id
|
2832
|
+
# @return [String]
|
2833
|
+
#
|
2834
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAllowListRequest AWS API Documentation
|
2835
|
+
#
|
2836
|
+
class GetAllowListRequest < Struct.new(
|
2837
|
+
:id)
|
2838
|
+
SENSITIVE = []
|
2839
|
+
include Aws::Structure
|
2840
|
+
end
|
2841
|
+
|
2842
|
+
# Provides information about the settings and status of an allow list.
|
2843
|
+
#
|
2844
|
+
# @!attribute [rw] arn
|
2845
|
+
# @return [String]
|
2846
|
+
#
|
2847
|
+
# @!attribute [rw] created_at
|
2848
|
+
# @return [Time]
|
2849
|
+
#
|
2850
|
+
# @!attribute [rw] criteria
|
2851
|
+
# Specifies the criteria for an allow list. The criteria must specify
|
2852
|
+
# a regular expression (regex) or an S3 object (s3WordsList). It
|
2853
|
+
# can't specify both.
|
2854
|
+
# @return [Types::AllowListCriteria]
|
2855
|
+
#
|
2856
|
+
# @!attribute [rw] description
|
2857
|
+
# @return [String]
|
2858
|
+
#
|
2859
|
+
# @!attribute [rw] id
|
2860
|
+
# @return [String]
|
2861
|
+
#
|
2862
|
+
# @!attribute [rw] name
|
2863
|
+
# @return [String]
|
2864
|
+
#
|
2865
|
+
# @!attribute [rw] status
|
2866
|
+
# Provides information about the current status of an allow list,
|
2867
|
+
# which indicates whether Amazon Macie can access and use the list's
|
2868
|
+
# criteria.
|
2869
|
+
# @return [Types::AllowListStatus]
|
2870
|
+
#
|
2871
|
+
# @!attribute [rw] tags
|
2872
|
+
# A string-to-string map of key-value pairs that specifies the tags
|
2873
|
+
# (keys and values) for an Amazon Macie resource.
|
2874
|
+
# @return [Hash<String,String>]
|
2875
|
+
#
|
2876
|
+
# @!attribute [rw] updated_at
|
2877
|
+
# @return [Time]
|
2878
|
+
#
|
2879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAllowListResponse AWS API Documentation
|
2880
|
+
#
|
2881
|
+
class GetAllowListResponse < Struct.new(
|
2882
|
+
:arn,
|
2883
|
+
:created_at,
|
2884
|
+
:criteria,
|
2885
|
+
:description,
|
2886
|
+
:id,
|
2887
|
+
:name,
|
2888
|
+
:status,
|
2889
|
+
:tags,
|
2890
|
+
:updated_at)
|
2891
|
+
SENSITIVE = []
|
2892
|
+
include Aws::Structure
|
2893
|
+
end
|
2894
|
+
|
2639
2895
|
# Specifies the account that owns the S3 buckets to retrieve aggregated
|
2640
2896
|
# statistical data for.
|
2641
2897
|
#
|
@@ -2847,8 +3103,7 @@ module Aws::Macie2
|
|
2847
3103
|
#
|
2848
3104
|
# @!attribute [rw] tags
|
2849
3105
|
# A string-to-string map of key-value pairs that specifies the tags
|
2850
|
-
# (keys and values) for
|
2851
|
-
# findings filter, or member account.
|
3106
|
+
# (keys and values) for an Amazon Macie resource.
|
2852
3107
|
# @return [Hash<String,String>]
|
2853
3108
|
#
|
2854
3109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifierResponse AWS API Documentation
|
@@ -2989,8 +3244,7 @@ module Aws::Macie2
|
|
2989
3244
|
#
|
2990
3245
|
# @!attribute [rw] tags
|
2991
3246
|
# A string-to-string map of key-value pairs that specifies the tags
|
2992
|
-
# (keys and values) for
|
2993
|
-
# findings filter, or member account.
|
3247
|
+
# (keys and values) for an Amazon Macie resource.
|
2994
3248
|
# @return [Hash<String,String>]
|
2995
3249
|
#
|
2996
3250
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilterResponse AWS API Documentation
|
@@ -3115,10 +3369,9 @@ module Aws::Macie2
|
|
3115
3369
|
# @!attribute [rw] finding_publishing_frequency
|
3116
3370
|
# The frequency with which Amazon Macie publishes updates to policy
|
3117
3371
|
# findings for an account. This includes publishing updates to
|
3118
|
-
# Security Hub and Amazon EventBridge (formerly
|
3119
|
-
#
|
3120
|
-
#
|
3121
|
-
# values are:
|
3372
|
+
# Security Hub and Amazon EventBridge (formerly Amazon CloudWatch
|
3373
|
+
# Events). For more information, see [Monitoring and processing
|
3374
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
3122
3375
|
#
|
3123
3376
|
#
|
3124
3377
|
#
|
@@ -3216,8 +3469,7 @@ module Aws::Macie2
|
|
3216
3469
|
#
|
3217
3470
|
# @!attribute [rw] tags
|
3218
3471
|
# A string-to-string map of key-value pairs that specifies the tags
|
3219
|
-
# (keys and values) for
|
3220
|
-
# findings filter, or member account.
|
3472
|
+
# (keys and values) for an Amazon Macie resource.
|
3221
3473
|
# @return [Hash<String,String>]
|
3222
3474
|
#
|
3223
3475
|
# @!attribute [rw] updated_at
|
@@ -3253,10 +3505,9 @@ module Aws::Macie2
|
|
3253
3505
|
# Specifies the configuration settings for retrieving occurrences of
|
3254
3506
|
# sensitive data reported by findings, and the status of the
|
3255
3507
|
# configuration for an Amazon Macie account. When you enable the
|
3256
|
-
# configuration for the first time, your request must specify an
|
3257
|
-
#
|
3258
|
-
#
|
3259
|
-
# retrieve.
|
3508
|
+
# configuration for the first time, your request must specify an Key
|
3509
|
+
# Management Service (KMS) key. Otherwise, an error occurs. Macie uses
|
3510
|
+
# the specified key to encrypt the sensitive data that you retrieve.
|
3260
3511
|
# @return [Types::RevealConfiguration]
|
3261
3512
|
#
|
3262
3513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetRevealConfigurationResponse AWS API Documentation
|
@@ -3928,6 +4179,46 @@ module Aws::Macie2
|
|
3928
4179
|
include Aws::Structure
|
3929
4180
|
end
|
3930
4181
|
|
4182
|
+
# @note When making an API call, you may pass ListAllowListsRequest
|
4183
|
+
# data as a hash:
|
4184
|
+
#
|
4185
|
+
# {
|
4186
|
+
# max_results: 1,
|
4187
|
+
# next_token: "__string",
|
4188
|
+
# }
|
4189
|
+
#
|
4190
|
+
# @!attribute [rw] max_results
|
4191
|
+
# @return [Integer]
|
4192
|
+
#
|
4193
|
+
# @!attribute [rw] next_token
|
4194
|
+
# @return [String]
|
4195
|
+
#
|
4196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListAllowListsRequest AWS API Documentation
|
4197
|
+
#
|
4198
|
+
class ListAllowListsRequest < Struct.new(
|
4199
|
+
:max_results,
|
4200
|
+
:next_token)
|
4201
|
+
SENSITIVE = []
|
4202
|
+
include Aws::Structure
|
4203
|
+
end
|
4204
|
+
|
4205
|
+
# Provides the results of a request for information about allow lists.
|
4206
|
+
#
|
4207
|
+
# @!attribute [rw] allow_lists
|
4208
|
+
# @return [Array<Types::AllowListSummary>]
|
4209
|
+
#
|
4210
|
+
# @!attribute [rw] next_token
|
4211
|
+
# @return [String]
|
4212
|
+
#
|
4213
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListAllowListsResponse AWS API Documentation
|
4214
|
+
#
|
4215
|
+
class ListAllowListsResponse < Struct.new(
|
4216
|
+
:allow_lists,
|
4217
|
+
:next_token)
|
4218
|
+
SENSITIVE = []
|
4219
|
+
include Aws::Structure
|
4220
|
+
end
|
4221
|
+
|
3931
4222
|
# Specifies criteria for filtering, sorting, and paginating the results
|
3932
4223
|
# of a request for information about classification jobs.
|
3933
4224
|
#
|
@@ -4447,13 +4738,11 @@ module Aws::Macie2
|
|
4447
4738
|
end
|
4448
4739
|
|
4449
4740
|
# Provides information about the tags (keys and values) that are
|
4450
|
-
# associated with
|
4451
|
-
# filter, or member account.
|
4741
|
+
# associated with an Amazon Macie resource.
|
4452
4742
|
#
|
4453
4743
|
# @!attribute [rw] tags
|
4454
4744
|
# A string-to-string map of key-value pairs that specifies the tags
|
4455
|
-
# (keys and values) for
|
4456
|
-
# findings filter, or member account.
|
4745
|
+
# (keys and values) for an Amazon Macie resource.
|
4457
4746
|
# @return [Hash<String,String>]
|
4458
4747
|
#
|
4459
4748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResourceResponse AWS API Documentation
|
@@ -4633,8 +4922,7 @@ module Aws::Macie2
|
|
4633
4922
|
#
|
4634
4923
|
# @!attribute [rw] tags
|
4635
4924
|
# A string-to-string map of key-value pairs that specifies the tags
|
4636
|
-
# (keys and values) for
|
4637
|
-
# findings filter, or member account.
|
4925
|
+
# (keys and values) for an Amazon Macie resource.
|
4638
4926
|
# @return [Hash<String,String>]
|
4639
4927
|
#
|
4640
4928
|
# @!attribute [rw] updated_at
|
@@ -4737,9 +5025,7 @@ module Aws::Macie2
|
|
4737
5025
|
|
4738
5026
|
# Specifies the location of 1-15 occurrences of sensitive data that was
|
4739
5027
|
# detected by a managed data identifier or a custom data identifier and
|
4740
|
-
# produced a sensitive data finding.
|
4741
|
-
# format of the affected S3 object, you can optionally retrieve (reveal)
|
4742
|
-
# sample occurrences of the sensitive data that was detected.
|
5028
|
+
# produced a sensitive data finding.
|
4743
5029
|
#
|
4744
5030
|
# @!attribute [rw] cells
|
4745
5031
|
# Specifies the location of occurrences of sensitive data in a
|
@@ -5018,10 +5304,9 @@ module Aws::Macie2
|
|
5018
5304
|
# Specifies the configuration settings for retrieving occurrences of
|
5019
5305
|
# sensitive data reported by findings, and the status of the
|
5020
5306
|
# configuration for an Amazon Macie account. When you enable the
|
5021
|
-
# configuration for the first time, your request must specify an
|
5022
|
-
# Management Service (
|
5023
|
-
#
|
5024
|
-
# retrieve.
|
5307
|
+
# configuration for the first time, your request must specify an Key
|
5308
|
+
# Management Service (KMS) key. Otherwise, an error occurs. Macie uses
|
5309
|
+
# the specified key to encrypt the sensitive data that you retrieve.
|
5025
5310
|
#
|
5026
5311
|
# @note When making an API call, you may pass RevealConfiguration
|
5027
5312
|
# data as a hash:
|
@@ -5035,8 +5320,8 @@ module Aws::Macie2
|
|
5035
5320
|
# @return [String]
|
5036
5321
|
#
|
5037
5322
|
# @!attribute [rw] status
|
5038
|
-
# The status of the configuration for
|
5039
|
-
#
|
5323
|
+
# The status of the configuration for retrieving occurrences of
|
5324
|
+
# sensitive data reported by findings. Valid values are:
|
5040
5325
|
# @return [String]
|
5041
5326
|
#
|
5042
5327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/RevealConfiguration AWS API Documentation
|
@@ -5441,6 +5726,32 @@ module Aws::Macie2
|
|
5441
5726
|
include Aws::Structure
|
5442
5727
|
end
|
5443
5728
|
|
5729
|
+
# Provides information about an S3 object that lists specific text to
|
5730
|
+
# ignore.
|
5731
|
+
#
|
5732
|
+
# @note When making an API call, you may pass S3WordsList
|
5733
|
+
# data as a hash:
|
5734
|
+
#
|
5735
|
+
# {
|
5736
|
+
# bucket_name: "__stringMin3Max255PatternAZaZ093255", # required
|
5737
|
+
# object_key: "__stringMin1Max1024PatternSS", # required
|
5738
|
+
# }
|
5739
|
+
#
|
5740
|
+
# @!attribute [rw] bucket_name
|
5741
|
+
# @return [String]
|
5742
|
+
#
|
5743
|
+
# @!attribute [rw] object_key
|
5744
|
+
# @return [String]
|
5745
|
+
#
|
5746
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3WordsList AWS API Documentation
|
5747
|
+
#
|
5748
|
+
class S3WordsList < Struct.new(
|
5749
|
+
:bucket_name,
|
5750
|
+
:object_key)
|
5751
|
+
SENSITIVE = []
|
5752
|
+
include Aws::Structure
|
5753
|
+
end
|
5754
|
+
|
5444
5755
|
# Specifies one or more property- and tag-based conditions that define
|
5445
5756
|
# criteria for including or excluding S3 objects from a classification
|
5446
5757
|
# job. Exclude conditions take precedence over include conditions.
|
@@ -6315,9 +6626,8 @@ module Aws::Macie2
|
|
6315
6626
|
include Aws::Structure
|
6316
6627
|
end
|
6317
6628
|
|
6318
|
-
# Specifies the tags (keys and values) to associate with
|
6319
|
-
#
|
6320
|
-
# account.
|
6629
|
+
# Specifies the tags (keys and values) to associate with an Amazon Macie
|
6630
|
+
# resource.
|
6321
6631
|
#
|
6322
6632
|
# @note When making an API call, you may pass TagResourceRequest
|
6323
6633
|
# data as a hash:
|
@@ -6334,8 +6644,7 @@ module Aws::Macie2
|
|
6334
6644
|
#
|
6335
6645
|
# @!attribute [rw] tags
|
6336
6646
|
# A string-to-string map of key-value pairs that specifies the tags
|
6337
|
-
# (keys and values) for
|
6338
|
-
# findings filter, or member account.
|
6647
|
+
# (keys and values) for an Amazon Macie resource.
|
6339
6648
|
# @return [Hash<String,String>]
|
6340
6649
|
#
|
6341
6650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResourceRequest AWS API Documentation
|
@@ -6347,7 +6656,8 @@ module Aws::Macie2
|
|
6347
6656
|
include Aws::Structure
|
6348
6657
|
end
|
6349
6658
|
|
6350
|
-
# The request succeeded. The specified tags were added
|
6659
|
+
# The request succeeded. The specified tags were added or updated for
|
6660
|
+
# the resource.
|
6351
6661
|
#
|
6352
6662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResourceResponse AWS API Documentation
|
6353
6663
|
#
|
@@ -6561,6 +6871,72 @@ module Aws::Macie2
|
|
6561
6871
|
#
|
6562
6872
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
6563
6873
|
|
6874
|
+
# Changes the settings for an allow list. If you change the list's
|
6875
|
+
# criteria, Amazon Macie tests the new criteria when it processes your
|
6876
|
+
# request. If the criteria specify a regular expression that Macie
|
6877
|
+
# can't compile or an S3 object that Macie can't retrieve or parse, an
|
6878
|
+
# error occurs.
|
6879
|
+
#
|
6880
|
+
# @note When making an API call, you may pass UpdateAllowListRequest
|
6881
|
+
# data as a hash:
|
6882
|
+
#
|
6883
|
+
# {
|
6884
|
+
# criteria: { # required
|
6885
|
+
# regex: "__stringMin1Max512PatternSS",
|
6886
|
+
# s3_words_list: {
|
6887
|
+
# bucket_name: "__stringMin3Max255PatternAZaZ093255", # required
|
6888
|
+
# object_key: "__stringMin1Max1024PatternSS", # required
|
6889
|
+
# },
|
6890
|
+
# },
|
6891
|
+
# description: "__stringMin1Max512PatternSS",
|
6892
|
+
# id: "__string", # required
|
6893
|
+
# name: "__stringMin1Max128Pattern", # required
|
6894
|
+
# }
|
6895
|
+
#
|
6896
|
+
# @!attribute [rw] criteria
|
6897
|
+
# Specifies the criteria for an allow list. The criteria must specify
|
6898
|
+
# a regular expression (regex) or an S3 object (s3WordsList). It
|
6899
|
+
# can't specify both.
|
6900
|
+
# @return [Types::AllowListCriteria]
|
6901
|
+
#
|
6902
|
+
# @!attribute [rw] description
|
6903
|
+
# @return [String]
|
6904
|
+
#
|
6905
|
+
# @!attribute [rw] id
|
6906
|
+
# @return [String]
|
6907
|
+
#
|
6908
|
+
# @!attribute [rw] name
|
6909
|
+
# @return [String]
|
6910
|
+
#
|
6911
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowListRequest AWS API Documentation
|
6912
|
+
#
|
6913
|
+
class UpdateAllowListRequest < Struct.new(
|
6914
|
+
:criteria,
|
6915
|
+
:description,
|
6916
|
+
:id,
|
6917
|
+
:name)
|
6918
|
+
SENSITIVE = []
|
6919
|
+
include Aws::Structure
|
6920
|
+
end
|
6921
|
+
|
6922
|
+
# Provides information about an allow list whose settings were changed
|
6923
|
+
# in response to a request.
|
6924
|
+
#
|
6925
|
+
# @!attribute [rw] arn
|
6926
|
+
# @return [String]
|
6927
|
+
#
|
6928
|
+
# @!attribute [rw] id
|
6929
|
+
# @return [String]
|
6930
|
+
#
|
6931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowListResponse AWS API Documentation
|
6932
|
+
#
|
6933
|
+
class UpdateAllowListResponse < Struct.new(
|
6934
|
+
:arn,
|
6935
|
+
:id)
|
6936
|
+
SENSITIVE = []
|
6937
|
+
include Aws::Structure
|
6938
|
+
end
|
6939
|
+
|
6564
6940
|
# Changes the status of a classification job. For more information about
|
6565
6941
|
# pausing, resuming, or cancelling jobs, see [Managing sensitive data
|
6566
6942
|
# discovery jobs][1] in the *Amazon Macie User Guide*.
|
@@ -6698,10 +7074,9 @@ module Aws::Macie2
|
|
6698
7074
|
# @!attribute [rw] finding_publishing_frequency
|
6699
7075
|
# The frequency with which Amazon Macie publishes updates to policy
|
6700
7076
|
# findings for an account. This includes publishing updates to
|
6701
|
-
# Security Hub and Amazon EventBridge (formerly
|
6702
|
-
#
|
6703
|
-
#
|
6704
|
-
# values are:
|
7077
|
+
# Security Hub and Amazon EventBridge (formerly Amazon CloudWatch
|
7078
|
+
# Events). For more information, see [Monitoring and processing
|
7079
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
6705
7080
|
#
|
6706
7081
|
#
|
6707
7082
|
#
|
@@ -6798,10 +7173,9 @@ module Aws::Macie2
|
|
6798
7173
|
# Specifies the configuration settings for retrieving occurrences of
|
6799
7174
|
# sensitive data reported by findings, and the status of the
|
6800
7175
|
# configuration for an Amazon Macie account. When you enable the
|
6801
|
-
# configuration for the first time, your request must specify an
|
6802
|
-
#
|
6803
|
-
#
|
6804
|
-
# retrieve.
|
7176
|
+
# configuration for the first time, your request must specify an Key
|
7177
|
+
# Management Service (KMS) key. Otherwise, an error occurs. Macie uses
|
7178
|
+
# the specified key to encrypt the sensitive data that you retrieve.
|
6805
7179
|
# @return [Types::RevealConfiguration]
|
6806
7180
|
#
|
6807
7181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRevealConfigurationRequest AWS API Documentation
|
@@ -6820,10 +7194,9 @@ module Aws::Macie2
|
|
6820
7194
|
# Specifies the configuration settings for retrieving occurrences of
|
6821
7195
|
# sensitive data reported by findings, and the status of the
|
6822
7196
|
# configuration for an Amazon Macie account. When you enable the
|
6823
|
-
# configuration for the first time, your request must specify an
|
6824
|
-
#
|
6825
|
-
#
|
6826
|
-
# retrieve.
|
7197
|
+
# configuration for the first time, your request must specify an Key
|
7198
|
+
# Management Service (KMS) key. Otherwise, an error occurs. Macie uses
|
7199
|
+
# the specified key to encrypt the sensitive data that you retrieve.
|
6827
7200
|
# @return [Types::RevealConfiguration]
|
6828
7201
|
#
|
6829
7202
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRevealConfigurationResponse AWS API Documentation
|