aws-sdk-macie2 1.101.0 → 1.102.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 +1 -1
- data/lib/aws-sdk-macie2.rb +1 -1
- data/sig/client.rbs +17 -175
- data/sig/params.rbs +100 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bdba2fb02d2d6a5851b703706723227dfc4268e0e9afb4f363bf1bc73c77087
|
|
4
|
+
data.tar.gz: 92f3144cd27f620c5377fd67fe49f48afa4313ac986e85ce5127373be48704b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3b0f25d6636122b7a37509fecff78fd90127bbecd3c0ce8d5f48bcd3a6c410ea2e4f2fc72ab47af5df27855b949ffbceb7eeaae8960a1745aa9bad514ee89a8
|
|
7
|
+
data.tar.gz: 4884a1eebbe58a933926924c1fbcd697328f49e069ba63e67ce088e4a620429cd42db4b21d203d62f865b139a9b72aaa1cb7284cb8bc2a2bbbe7860926b01ab8
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.102.0
|
data/lib/aws-sdk-macie2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -110,7 +110,7 @@ module Aws
|
|
|
110
110
|
{
|
|
111
111
|
account_id: ::String?,
|
|
112
112
|
status: ("ENABLED" | "DISABLED")?
|
|
113
|
-
}
|
|
113
|
+
}
|
|
114
114
|
]
|
|
115
115
|
) -> _BatchUpdateAutomatedDiscoveryAccountsResponseSuccess
|
|
116
116
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateAutomatedDiscoveryAccountsResponseSuccess
|
|
@@ -154,98 +154,18 @@ module Aws
|
|
|
154
154
|
name: ::String,
|
|
155
155
|
s3_job_definition: {
|
|
156
156
|
bucket_criteria: {
|
|
157
|
-
excludes:
|
|
158
|
-
|
|
159
|
-
{
|
|
160
|
-
simple_criterion: {
|
|
161
|
-
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
162
|
-
key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS")?,
|
|
163
|
-
values: Array[::String]?
|
|
164
|
-
}?,
|
|
165
|
-
tag_criterion: {
|
|
166
|
-
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
167
|
-
tag_values: Array[
|
|
168
|
-
{
|
|
169
|
-
key: ::String?,
|
|
170
|
-
value: ::String?
|
|
171
|
-
},
|
|
172
|
-
]?
|
|
173
|
-
}?
|
|
174
|
-
},
|
|
175
|
-
]?
|
|
176
|
-
}?,
|
|
177
|
-
includes: {
|
|
178
|
-
and: Array[
|
|
179
|
-
{
|
|
180
|
-
simple_criterion: {
|
|
181
|
-
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
182
|
-
key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS")?,
|
|
183
|
-
values: Array[::String]?
|
|
184
|
-
}?,
|
|
185
|
-
tag_criterion: {
|
|
186
|
-
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
187
|
-
tag_values: Array[
|
|
188
|
-
{
|
|
189
|
-
key: ::String?,
|
|
190
|
-
value: ::String?
|
|
191
|
-
},
|
|
192
|
-
]?
|
|
193
|
-
}?
|
|
194
|
-
},
|
|
195
|
-
]?
|
|
196
|
-
}?
|
|
157
|
+
excludes: Params::criteria_block_for_job?,
|
|
158
|
+
includes: Params::criteria_block_for_job?
|
|
197
159
|
}?,
|
|
198
160
|
bucket_definitions: Array[
|
|
199
161
|
{
|
|
200
162
|
account_id: ::String,
|
|
201
163
|
buckets: Array[::String]
|
|
202
|
-
}
|
|
164
|
+
}
|
|
203
165
|
]?,
|
|
204
166
|
scoping: {
|
|
205
|
-
excludes:
|
|
206
|
-
|
|
207
|
-
{
|
|
208
|
-
simple_scope_term: {
|
|
209
|
-
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
210
|
-
key: ("OBJECT_EXTENSION" | "OBJECT_LAST_MODIFIED_DATE" | "OBJECT_SIZE" | "OBJECT_KEY")?,
|
|
211
|
-
values: Array[::String]?
|
|
212
|
-
}?,
|
|
213
|
-
tag_scope_term: {
|
|
214
|
-
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
215
|
-
key: ::String?,
|
|
216
|
-
tag_values: Array[
|
|
217
|
-
{
|
|
218
|
-
key: ::String?,
|
|
219
|
-
value: ::String?
|
|
220
|
-
},
|
|
221
|
-
]?,
|
|
222
|
-
target: ("S3_OBJECT")?
|
|
223
|
-
}?
|
|
224
|
-
},
|
|
225
|
-
]?
|
|
226
|
-
}?,
|
|
227
|
-
includes: {
|
|
228
|
-
and: Array[
|
|
229
|
-
{
|
|
230
|
-
simple_scope_term: {
|
|
231
|
-
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
232
|
-
key: ("OBJECT_EXTENSION" | "OBJECT_LAST_MODIFIED_DATE" | "OBJECT_SIZE" | "OBJECT_KEY")?,
|
|
233
|
-
values: Array[::String]?
|
|
234
|
-
}?,
|
|
235
|
-
tag_scope_term: {
|
|
236
|
-
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
237
|
-
key: ::String?,
|
|
238
|
-
tag_values: Array[
|
|
239
|
-
{
|
|
240
|
-
key: ::String?,
|
|
241
|
-
value: ::String?
|
|
242
|
-
},
|
|
243
|
-
]?,
|
|
244
|
-
target: ("S3_OBJECT")?
|
|
245
|
-
}?
|
|
246
|
-
},
|
|
247
|
-
]?
|
|
248
|
-
}?
|
|
167
|
+
excludes: Params::job_scoping_block?,
|
|
168
|
+
includes: Params::job_scoping_block?
|
|
249
169
|
}?
|
|
250
170
|
},
|
|
251
171
|
?sampling_percentage: ::Integer,
|
|
@@ -280,7 +200,7 @@ module Aws
|
|
|
280
200
|
{
|
|
281
201
|
occurrences_threshold: ::Integer,
|
|
282
202
|
severity: ("LOW" | "MEDIUM" | "HIGH")
|
|
283
|
-
}
|
|
203
|
+
}
|
|
284
204
|
],
|
|
285
205
|
?tags: Hash[::String, ::String]
|
|
286
206
|
) -> _CreateCustomDataIdentifierResponseSuccess
|
|
@@ -296,17 +216,7 @@ module Aws
|
|
|
296
216
|
action: ("ARCHIVE" | "NOOP"),
|
|
297
217
|
?client_token: ::String,
|
|
298
218
|
?description: ::String,
|
|
299
|
-
finding_criteria:
|
|
300
|
-
criterion: Hash[::String, {
|
|
301
|
-
eq: Array[::String]?,
|
|
302
|
-
eq_exact_match: Array[::String]?,
|
|
303
|
-
gt: ::Integer?,
|
|
304
|
-
gte: ::Integer?,
|
|
305
|
-
lt: ::Integer?,
|
|
306
|
-
lte: ::Integer?,
|
|
307
|
-
neq: Array[::String]?
|
|
308
|
-
}]?
|
|
309
|
-
},
|
|
219
|
+
finding_criteria: Params::finding_criteria,
|
|
310
220
|
name: ::String,
|
|
311
221
|
?position: ::Integer,
|
|
312
222
|
?tags: Hash[::String, ::String]
|
|
@@ -646,17 +556,7 @@ module Aws
|
|
|
646
556
|
end
|
|
647
557
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_finding_statistics-instance_method
|
|
648
558
|
def get_finding_statistics: (
|
|
649
|
-
?finding_criteria:
|
|
650
|
-
criterion: Hash[::String, {
|
|
651
|
-
eq: Array[::String]?,
|
|
652
|
-
eq_exact_match: Array[::String]?,
|
|
653
|
-
gt: ::Integer?,
|
|
654
|
-
gte: ::Integer?,
|
|
655
|
-
lt: ::Integer?,
|
|
656
|
-
lte: ::Integer?,
|
|
657
|
-
neq: Array[::String]?
|
|
658
|
-
}]?
|
|
659
|
-
},
|
|
559
|
+
?finding_criteria: Params::finding_criteria,
|
|
660
560
|
group_by: ("resourcesAffected.s3Bucket.name" | "type" | "classificationDetails.jobId" | "severity.description"),
|
|
661
561
|
?size: ::Integer,
|
|
662
562
|
?sort_criteria: {
|
|
@@ -827,7 +727,7 @@ module Aws
|
|
|
827
727
|
comparator: ("GT" | "GTE" | "LT" | "LTE" | "EQ" | "NE" | "CONTAINS")?,
|
|
828
728
|
key: ("accountId" | "serviceLimit" | "freeTrialStartDate" | "total")?,
|
|
829
729
|
values: Array[::String]?
|
|
830
|
-
}
|
|
730
|
+
}
|
|
831
731
|
],
|
|
832
732
|
?max_results: ::Integer,
|
|
833
733
|
?next_token: ::String,
|
|
@@ -888,14 +788,14 @@ module Aws
|
|
|
888
788
|
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
889
789
|
key: ("jobType" | "jobStatus" | "createdAt" | "name")?,
|
|
890
790
|
values: Array[::String]?
|
|
891
|
-
}
|
|
791
|
+
}
|
|
892
792
|
]?,
|
|
893
793
|
includes: Array[
|
|
894
794
|
{
|
|
895
795
|
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
896
796
|
key: ("jobType" | "jobStatus" | "createdAt" | "name")?,
|
|
897
797
|
values: Array[::String]?
|
|
898
|
-
}
|
|
798
|
+
}
|
|
899
799
|
]?
|
|
900
800
|
},
|
|
901
801
|
?max_results: ::Integer,
|
|
@@ -938,17 +838,7 @@ module Aws
|
|
|
938
838
|
end
|
|
939
839
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_findings-instance_method
|
|
940
840
|
def list_findings: (
|
|
941
|
-
?finding_criteria:
|
|
942
|
-
criterion: Hash[::String, {
|
|
943
|
-
eq: Array[::String]?,
|
|
944
|
-
eq_exact_match: Array[::String]?,
|
|
945
|
-
gt: ::Integer?,
|
|
946
|
-
gte: ::Integer?,
|
|
947
|
-
lt: ::Integer?,
|
|
948
|
-
lte: ::Integer?,
|
|
949
|
-
neq: Array[::String]?
|
|
950
|
-
}]?
|
|
951
|
-
},
|
|
841
|
+
?finding_criteria: Params::finding_criteria,
|
|
952
842
|
?max_results: ::Integer,
|
|
953
843
|
?next_token: ::String,
|
|
954
844
|
?sort_criteria: {
|
|
@@ -1103,46 +993,8 @@ module Aws
|
|
|
1103
993
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#search_resources-instance_method
|
|
1104
994
|
def search_resources: (
|
|
1105
995
|
?bucket_criteria: {
|
|
1106
|
-
excludes:
|
|
1107
|
-
|
|
1108
|
-
{
|
|
1109
|
-
simple_criterion: {
|
|
1110
|
-
comparator: ("EQ" | "NE")?,
|
|
1111
|
-
key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS" | "AUTOMATED_DISCOVERY_MONITORING_STATUS")?,
|
|
1112
|
-
values: Array[::String]?
|
|
1113
|
-
}?,
|
|
1114
|
-
tag_criterion: {
|
|
1115
|
-
comparator: ("EQ" | "NE")?,
|
|
1116
|
-
tag_values: Array[
|
|
1117
|
-
{
|
|
1118
|
-
key: ::String?,
|
|
1119
|
-
value: ::String?
|
|
1120
|
-
},
|
|
1121
|
-
]?
|
|
1122
|
-
}?
|
|
1123
|
-
},
|
|
1124
|
-
]?
|
|
1125
|
-
}?,
|
|
1126
|
-
includes: {
|
|
1127
|
-
and: Array[
|
|
1128
|
-
{
|
|
1129
|
-
simple_criterion: {
|
|
1130
|
-
comparator: ("EQ" | "NE")?,
|
|
1131
|
-
key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS" | "AUTOMATED_DISCOVERY_MONITORING_STATUS")?,
|
|
1132
|
-
values: Array[::String]?
|
|
1133
|
-
}?,
|
|
1134
|
-
tag_criterion: {
|
|
1135
|
-
comparator: ("EQ" | "NE")?,
|
|
1136
|
-
tag_values: Array[
|
|
1137
|
-
{
|
|
1138
|
-
key: ::String?,
|
|
1139
|
-
value: ::String?
|
|
1140
|
-
},
|
|
1141
|
-
]?
|
|
1142
|
-
}?
|
|
1143
|
-
},
|
|
1144
|
-
]?
|
|
1145
|
-
}?
|
|
996
|
+
excludes: Params::search_resources_criteria_block?,
|
|
997
|
+
includes: Params::search_resources_criteria_block?
|
|
1146
998
|
},
|
|
1147
999
|
?max_results: ::Integer,
|
|
1148
1000
|
?next_token: ::String,
|
|
@@ -1252,17 +1104,7 @@ module Aws
|
|
|
1252
1104
|
?action: ("ARCHIVE" | "NOOP"),
|
|
1253
1105
|
?client_token: ::String,
|
|
1254
1106
|
?description: ::String,
|
|
1255
|
-
?finding_criteria:
|
|
1256
|
-
criterion: Hash[::String, {
|
|
1257
|
-
eq: Array[::String]?,
|
|
1258
|
-
eq_exact_match: Array[::String]?,
|
|
1259
|
-
gt: ::Integer?,
|
|
1260
|
-
gte: ::Integer?,
|
|
1261
|
-
lt: ::Integer?,
|
|
1262
|
-
lte: ::Integer?,
|
|
1263
|
-
neq: Array[::String]?
|
|
1264
|
-
}]?
|
|
1265
|
-
},
|
|
1107
|
+
?finding_criteria: Params::finding_criteria,
|
|
1266
1108
|
id: ::String,
|
|
1267
1109
|
?name: ::String,
|
|
1268
1110
|
?position: ::Integer
|
|
@@ -1318,7 +1160,7 @@ module Aws
|
|
|
1318
1160
|
{
|
|
1319
1161
|
id: ::String?,
|
|
1320
1162
|
type: ("CUSTOM" | "MANAGED")?
|
|
1321
|
-
}
|
|
1163
|
+
}
|
|
1322
1164
|
]
|
|
1323
1165
|
) -> _UpdateResourceProfileDetectionsResponseSuccess
|
|
1324
1166
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourceProfileDetectionsResponseSuccess
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module Macie2
|
|
10
|
+
module Params
|
|
11
|
+
type criteria_block_for_job = {
|
|
12
|
+
and: Array[
|
|
13
|
+
Params::criteria_for_job
|
|
14
|
+
]?
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type criteria_for_job = {
|
|
18
|
+
simple_criterion: {
|
|
19
|
+
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
20
|
+
key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS")?,
|
|
21
|
+
values: Array[::String]?
|
|
22
|
+
}?,
|
|
23
|
+
tag_criterion: {
|
|
24
|
+
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
25
|
+
tag_values: Array[
|
|
26
|
+
{
|
|
27
|
+
key: ::String?,
|
|
28
|
+
value: ::String?
|
|
29
|
+
}
|
|
30
|
+
]?
|
|
31
|
+
}?
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
type job_scoping_block = {
|
|
35
|
+
and: Array[
|
|
36
|
+
Params::job_scope_term
|
|
37
|
+
]?
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
type tag_scope_term = {
|
|
41
|
+
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
42
|
+
key: ::String?,
|
|
43
|
+
tag_values: Array[
|
|
44
|
+
{
|
|
45
|
+
key: ::String?,
|
|
46
|
+
value: ::String?
|
|
47
|
+
}
|
|
48
|
+
]?,
|
|
49
|
+
target: ("S3_OBJECT")?
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
type job_scope_term = {
|
|
53
|
+
simple_scope_term: {
|
|
54
|
+
comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
|
|
55
|
+
key: ("OBJECT_EXTENSION" | "OBJECT_LAST_MODIFIED_DATE" | "OBJECT_SIZE" | "OBJECT_KEY")?,
|
|
56
|
+
values: Array[::String]?
|
|
57
|
+
}?,
|
|
58
|
+
tag_scope_term: Params::tag_scope_term?
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
type finding_criteria = {
|
|
62
|
+
criterion: Hash[::String, Params::criterion_additional_properties]?
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
type criterion_additional_properties = {
|
|
66
|
+
eq: Array[::String]?,
|
|
67
|
+
eq_exact_match: Array[::String]?,
|
|
68
|
+
gt: ::Integer?,
|
|
69
|
+
gte: ::Integer?,
|
|
70
|
+
lt: ::Integer?,
|
|
71
|
+
lte: ::Integer?,
|
|
72
|
+
neq: Array[::String]?
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
type search_resources_criteria_block = {
|
|
76
|
+
and: Array[
|
|
77
|
+
Params::search_resources_criteria
|
|
78
|
+
]?
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
type search_resources_criteria = {
|
|
82
|
+
simple_criterion: {
|
|
83
|
+
comparator: ("EQ" | "NE")?,
|
|
84
|
+
key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS" | "AUTOMATED_DISCOVERY_MONITORING_STATUS")?,
|
|
85
|
+
values: Array[::String]?
|
|
86
|
+
}?,
|
|
87
|
+
tag_criterion: {
|
|
88
|
+
comparator: ("EQ" | "NE")?,
|
|
89
|
+
tag_values: Array[
|
|
90
|
+
{
|
|
91
|
+
key: ::String?,
|
|
92
|
+
value: ::String?
|
|
93
|
+
}
|
|
94
|
+
]?
|
|
95
|
+
}?
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.102.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -68,6 +68,7 @@ files:
|
|
|
68
68
|
- lib/aws-sdk-macie2/waiters.rb
|
|
69
69
|
- sig/client.rbs
|
|
70
70
|
- sig/errors.rbs
|
|
71
|
+
- sig/params.rbs
|
|
71
72
|
- sig/resource.rbs
|
|
72
73
|
- sig/types.rbs
|
|
73
74
|
- sig/waiters.rbs
|