aws-sdk-macie2 1.24.0 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +158 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-macie2.rb +2 -2
- data/lib/aws-sdk-macie2/client.rb +286 -9
- data/lib/aws-sdk-macie2/client_api.rb +201 -1
- data/lib/aws-sdk-macie2/errors.rb +1 -1
- data/lib/aws-sdk-macie2/resource.rb +1 -1
- data/lib/aws-sdk-macie2/types.rb +1145 -113
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3878382d7c7ed53a86dafb8cea701e72a54672a8f83b93e6053d1387d16e55cb
|
4
|
+
data.tar.gz: d9ff15aa4081687611b80e3dba4473979b9972bcf7249230e7f6169d884a609b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e2ea9c56f9b62fade287a9271cb478c6216b6b6f63fb5a19f5d6858203c515742af3fafa5aadcf9fbabc464f88933746e03793a983797a32d3045e13b672759
|
7
|
+
data.tar.gz: e504481ec27a749a3835e111bf9d87f3f60d0eb8a9541461e719149615ce08549ff3255620c7e731500aae6793b0919bc3e8bf64ca5eafd9e5e358cb5fc13135
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.29.0 (2021-06-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release of the Amazon Macie API introduces stricter validation of S3 object criteria for classification jobs.
|
8
|
+
|
9
|
+
1.28.0 (2021-05-14)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release of the Amazon Macie API adds support for defining run-time, S3 bucket criteria for classification jobs. It also adds resources for querying data about AWS resources that Macie monitors.
|
13
|
+
|
14
|
+
1.27.0 (2021-04-29)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - The Amazon Macie API now provides S3 bucket metadata that indicates whether a bucket policy requires server-side encryption of objects when objects are uploaded to the bucket.
|
18
|
+
|
19
|
+
1.26.0 (2021-03-22)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release of the Amazon Macie API adds support for publishing sensitive data findings to AWS Security Hub and specifying which categories of findings to publish to Security Hub.
|
23
|
+
|
24
|
+
1.25.0 (2021-03-10)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.24.0 (2021-03-03)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
33
|
+
|
34
|
+
1.23.0 (2021-02-12)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - This release of the Amazon Macie API replaces the term master account with the term administrator account, including deprecating APIs that use the previous term and adding APIs that use the new term.
|
38
|
+
|
39
|
+
1.22.0 (2021-02-08)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - This release of the Amazon Macie API adds support for specifying a time range in queries for usage data.
|
43
|
+
|
44
|
+
1.21.0 (2021-02-02)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.20.0 (2021-01-29)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - This release of the Amazon Macie API adds support for using object prefixes to refine the scope of a classification job.
|
53
|
+
|
54
|
+
1.19.0 (2020-12-30)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
58
|
+
|
59
|
+
1.18.0 (2020-11-20)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - The Amazon Macie API now provides S3 bucket metadata that indicates whether any one-time or recurring classification jobs are configured to analyze data in a bucket.
|
63
|
+
|
64
|
+
1.17.0 (2020-11-17)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - The Amazon Macie API now has a lastRunErrorStatus property to indicate if account- or bucket-level errors occurred during the run of a one-time classification job or the latest run of a recurring job.
|
68
|
+
|
69
|
+
1.16.0 (2020-11-09)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - Sensitive data findings in Amazon Macie now include enhanced location data for Apache Avro object containers and Apache Parquet files.
|
73
|
+
|
74
|
+
1.15.0 (2020-10-30)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Feature - This release of the Amazon Macie API adds an eqExactMatch operator for filtering findings. With this operator you can increase the precision of your finding filters and suppression rules.
|
78
|
+
|
79
|
+
1.14.0 (2020-10-23)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
83
|
+
|
84
|
+
1.13.0 (2020-10-15)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Feature - This release of the Amazon Macie API adds support for pausing and resuming classification jobs. Also, sensitive data findings now include location data for up to 15 occurrences of sensitive data.
|
88
|
+
|
89
|
+
1.12.0 (2020-09-30)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
93
|
+
|
94
|
+
1.11.0 (2020-09-15)
|
95
|
+
------------------
|
96
|
+
|
97
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
98
|
+
|
99
|
+
1.10.0 (2020-09-02)
|
100
|
+
------------------
|
101
|
+
|
102
|
+
* Feature - This release of the Amazon Macie API introduces additional statistics for the size and count of Amazon S3 objects that Macie can analyze as part of a classification job.
|
103
|
+
|
104
|
+
1.9.0 (2020-08-25)
|
105
|
+
------------------
|
106
|
+
|
107
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
108
|
+
|
109
|
+
1.8.0 (2020-08-13)
|
110
|
+
------------------
|
111
|
+
|
112
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
113
|
+
|
114
|
+
1.7.0 (2020-07-24)
|
115
|
+
------------------
|
116
|
+
|
117
|
+
* Feature - This release of the Amazon Macie API introduces additional criteria for sorting and filtering query results for account quotas and usage statistics.
|
118
|
+
|
119
|
+
1.6.0 (2020-07-17)
|
120
|
+
------------------
|
121
|
+
|
122
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
123
|
+
|
124
|
+
1.5.0 (2020-06-23)
|
125
|
+
------------------
|
126
|
+
|
127
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
128
|
+
|
129
|
+
1.4.0 (2020-06-17)
|
130
|
+
------------------
|
131
|
+
|
132
|
+
* Feature - This is a documentation-only update to the Amazon Macie API. This update contains miscellaneous editorial improvements to various API descriptions.
|
133
|
+
|
134
|
+
1.3.1 (2020-06-11)
|
135
|
+
------------------
|
136
|
+
|
137
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
138
|
+
|
139
|
+
1.3.0 (2020-06-10)
|
140
|
+
------------------
|
141
|
+
|
142
|
+
* Issue - This version has been yanked. (#2327).
|
143
|
+
* Feature - This release of the Amazon Macie API removes support for the ArchiveFindings and UnarchiveFindings operations. This release also adds UNKNOWN as an encryption type for S3 bucket metadata.
|
144
|
+
|
145
|
+
1.2.0 (2020-05-28)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
149
|
+
|
150
|
+
1.1.0 (2020-05-18)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - Documentation updates for Amazon Macie
|
154
|
+
|
155
|
+
1.0.0 (2020-05-13)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - Initial release of `aws-sdk-macie2`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.29.0
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-macie2/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::Macie2
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.29.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -410,7 +410,12 @@ module Aws::Macie2
|
|
410
410
|
#
|
411
411
|
# @option params [required, Types::S3JobDefinition] :s3_job_definition
|
412
412
|
# Specifies which S3 buckets contain the objects that a classification
|
413
|
-
# job analyzes, and the scope of that analysis.
|
413
|
+
# job analyzes, and the scope of that analysis. The bucket specification
|
414
|
+
# can be static (bucketDefinitions) or dynamic (bucketCriteria). If
|
415
|
+
# it's static, the job analyzes objects in the same predefined set of
|
416
|
+
# buckets each time the job runs. If it's dynamic, the job analyzes
|
417
|
+
# objects in any buckets that match the specified criteria each time the
|
418
|
+
# job starts to run.
|
414
419
|
#
|
415
420
|
# @option params [Integer] :sampling_percentage
|
416
421
|
#
|
@@ -449,7 +454,7 @@ module Aws::Macie2
|
|
449
454
|
# {
|
450
455
|
# simple_scope_term: {
|
451
456
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
452
|
-
# key: "
|
457
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
453
458
|
# values: ["__string"],
|
454
459
|
# },
|
455
460
|
# tag_scope_term: {
|
@@ -471,7 +476,7 @@ module Aws::Macie2
|
|
471
476
|
# {
|
472
477
|
# simple_scope_term: {
|
473
478
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
474
|
-
# key: "
|
479
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
475
480
|
# values: ["__string"],
|
476
481
|
# },
|
477
482
|
# tag_scope_term: {
|
@@ -489,6 +494,48 @@ module Aws::Macie2
|
|
489
494
|
# ],
|
490
495
|
# },
|
491
496
|
# },
|
497
|
+
# bucket_criteria: {
|
498
|
+
# excludes: {
|
499
|
+
# and: [
|
500
|
+
# {
|
501
|
+
# simple_criterion: {
|
502
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
503
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
504
|
+
# values: ["__string"],
|
505
|
+
# },
|
506
|
+
# tag_criterion: {
|
507
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
508
|
+
# tag_values: [
|
509
|
+
# {
|
510
|
+
# key: "__string",
|
511
|
+
# value: "__string",
|
512
|
+
# },
|
513
|
+
# ],
|
514
|
+
# },
|
515
|
+
# },
|
516
|
+
# ],
|
517
|
+
# },
|
518
|
+
# includes: {
|
519
|
+
# and: [
|
520
|
+
# {
|
521
|
+
# simple_criterion: {
|
522
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
523
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
524
|
+
# values: ["__string"],
|
525
|
+
# },
|
526
|
+
# tag_criterion: {
|
527
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
528
|
+
# tag_values: [
|
529
|
+
# {
|
530
|
+
# key: "__string",
|
531
|
+
# value: "__string",
|
532
|
+
# },
|
533
|
+
# ],
|
534
|
+
# },
|
535
|
+
# },
|
536
|
+
# ],
|
537
|
+
# },
|
538
|
+
# },
|
492
539
|
# },
|
493
540
|
# sampling_percentage: 1,
|
494
541
|
# schedule_frequency: {
|
@@ -919,6 +966,7 @@ module Aws::Macie2
|
|
919
966
|
#
|
920
967
|
# resp.buckets #=> Array
|
921
968
|
# resp.buckets[0].account_id #=> String
|
969
|
+
# resp.buckets[0].allows_unencrypted_object_uploads #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
922
970
|
# resp.buckets[0].bucket_arn #=> String
|
923
971
|
# resp.buckets[0].bucket_created_at #=> Time
|
924
972
|
# resp.buckets[0].bucket_name #=> String
|
@@ -934,6 +982,7 @@ module Aws::Macie2
|
|
934
982
|
# resp.buckets[0].object_count_by_encryption_type.kms_managed #=> Integer
|
935
983
|
# resp.buckets[0].object_count_by_encryption_type.s3_managed #=> Integer
|
936
984
|
# resp.buckets[0].object_count_by_encryption_type.unencrypted #=> Integer
|
985
|
+
# resp.buckets[0].object_count_by_encryption_type.unknown #=> Integer
|
937
986
|
# resp.buckets[0].public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC", "UNKNOWN"
|
938
987
|
# resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
|
939
988
|
# resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
|
@@ -1030,7 +1079,7 @@ module Aws::Macie2
|
|
1030
1079
|
# resp.s3_job_definition.bucket_definitions[0].buckets[0] #=> String
|
1031
1080
|
# resp.s3_job_definition.scoping.excludes.and #=> Array
|
1032
1081
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1033
|
-
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.key #=> String, one of "
|
1082
|
+
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.key #=> String, one of "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "OBJECT_KEY"
|
1034
1083
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values #=> Array
|
1035
1084
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values[0] #=> String
|
1036
1085
|
# resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
@@ -1041,7 +1090,7 @@ module Aws::Macie2
|
|
1041
1090
|
# resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.target #=> String, one of "S3_OBJECT"
|
1042
1091
|
# resp.s3_job_definition.scoping.includes.and #=> Array
|
1043
1092
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1044
|
-
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.key #=> String, one of "
|
1093
|
+
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.key #=> String, one of "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "OBJECT_KEY"
|
1045
1094
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values #=> Array
|
1046
1095
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values[0] #=> String
|
1047
1096
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
@@ -1050,6 +1099,24 @@ module Aws::Macie2
|
|
1050
1099
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values[0].key #=> String
|
1051
1100
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values[0].value #=> String
|
1052
1101
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.target #=> String, one of "S3_OBJECT"
|
1102
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and #=> Array
|
1103
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1104
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
1105
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.values #=> Array
|
1106
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.values[0] #=> String
|
1107
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1108
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values #=> Array
|
1109
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].key #=> String
|
1110
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].value #=> String
|
1111
|
+
# resp.s3_job_definition.bucket_criteria.includes.and #=> Array
|
1112
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1113
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
1114
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.values #=> Array
|
1115
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.values[0] #=> String
|
1116
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1117
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values #=> Array
|
1118
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values[0].key #=> String
|
1119
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values[0].value #=> String
|
1053
1120
|
# resp.sampling_percentage #=> Integer
|
1054
1121
|
# resp.schedule_frequency.monthly_schedule.day_of_month #=> Integer
|
1055
1122
|
# resp.schedule_frequency.weekly_schedule.day_of_week #=> String, one of "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"
|
@@ -1192,7 +1259,12 @@ module Aws::Macie2
|
|
1192
1259
|
# The frequency with which Amazon Macie publishes updates to policy
|
1193
1260
|
# findings for an account. This includes publishing updates to AWS
|
1194
1261
|
# Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch
|
1195
|
-
# Events).
|
1262
|
+
# Events). For more information, see [Monitoring and processing
|
1263
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
1264
|
+
#
|
1265
|
+
#
|
1266
|
+
#
|
1267
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
1196
1268
|
#
|
1197
1269
|
# @option params [String] :status
|
1198
1270
|
# The status of an Amazon Macie account. Valid values are:
|
@@ -1276,6 +1348,7 @@ module Aws::Macie2
|
|
1276
1348
|
# * {Types::GetBucketStatisticsResponse#bucket_count #bucket_count} => Integer
|
1277
1349
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_effective_permission #bucket_count_by_effective_permission} => Types::BucketCountByEffectivePermission
|
1278
1350
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_encryption_type #bucket_count_by_encryption_type} => Types::BucketCountByEncryptionType
|
1351
|
+
# * {Types::GetBucketStatisticsResponse#bucket_count_by_object_encryption_requirement #bucket_count_by_object_encryption_requirement} => Types::BucketCountPolicyAllowsUnencryptedObjectUploads
|
1279
1352
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_shared_access_type #bucket_count_by_shared_access_type} => Types::BucketCountBySharedAccessType
|
1280
1353
|
# * {Types::GetBucketStatisticsResponse#classifiable_object_count #classifiable_object_count} => Integer
|
1281
1354
|
# * {Types::GetBucketStatisticsResponse#classifiable_size_in_bytes #classifiable_size_in_bytes} => Integer
|
@@ -1302,6 +1375,10 @@ module Aws::Macie2
|
|
1302
1375
|
# resp.bucket_count_by_encryption_type.kms_managed #=> Integer
|
1303
1376
|
# resp.bucket_count_by_encryption_type.s3_managed #=> Integer
|
1304
1377
|
# resp.bucket_count_by_encryption_type.unencrypted #=> Integer
|
1378
|
+
# resp.bucket_count_by_encryption_type.unknown #=> Integer
|
1379
|
+
# resp.bucket_count_by_object_encryption_requirement.allows_unencrypted_object_uploads #=> Integer
|
1380
|
+
# resp.bucket_count_by_object_encryption_requirement.denies_unencrypted_object_uploads #=> Integer
|
1381
|
+
# resp.bucket_count_by_object_encryption_requirement.unknown #=> Integer
|
1305
1382
|
# resp.bucket_count_by_shared_access_type.external #=> Integer
|
1306
1383
|
# resp.bucket_count_by_shared_access_type.internal #=> Integer
|
1307
1384
|
# resp.bucket_count_by_shared_access_type.not_shared #=> Integer
|
@@ -1607,6 +1684,7 @@ module Aws::Macie2
|
|
1607
1684
|
# resp.findings[0].policy_details.actor.user_identity.root.principal_id #=> String
|
1608
1685
|
# resp.findings[0].policy_details.actor.user_identity.type #=> String, one of "AssumedRole", "IAMUser", "FederatedUser", "Root", "AWSAccount", "AWSService"
|
1609
1686
|
# resp.findings[0].region #=> String
|
1687
|
+
# resp.findings[0].resources_affected.s3_bucket.allows_unencrypted_object_uploads #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
1610
1688
|
# resp.findings[0].resources_affected.s3_bucket.arn #=> String
|
1611
1689
|
# resp.findings[0].resources_affected.s3_bucket.created_at #=> Time
|
1612
1690
|
# resp.findings[0].resources_affected.s3_bucket.default_server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms", "UNKNOWN"
|
@@ -1714,6 +1792,27 @@ module Aws::Macie2
|
|
1714
1792
|
req.send_request(options)
|
1715
1793
|
end
|
1716
1794
|
|
1795
|
+
# Retrieves the configuration settings for publishing findings to AWS
|
1796
|
+
# Security Hub.
|
1797
|
+
#
|
1798
|
+
# @return [Types::GetFindingsPublicationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1799
|
+
#
|
1800
|
+
# * {Types::GetFindingsPublicationConfigurationResponse#security_hub_configuration #security_hub_configuration} => Types::SecurityHubConfiguration
|
1801
|
+
#
|
1802
|
+
# @example Response structure
|
1803
|
+
#
|
1804
|
+
# resp.security_hub_configuration.publish_classification_findings #=> Boolean
|
1805
|
+
# resp.security_hub_configuration.publish_policy_findings #=> Boolean
|
1806
|
+
#
|
1807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration AWS API Documentation
|
1808
|
+
#
|
1809
|
+
# @overload get_findings_publication_configuration(params = {})
|
1810
|
+
# @param [Hash] params ({})
|
1811
|
+
def get_findings_publication_configuration(params = {}, options = {})
|
1812
|
+
req = build_request(:get_findings_publication_configuration, params)
|
1813
|
+
req.send_request(options)
|
1814
|
+
end
|
1815
|
+
|
1717
1816
|
# Retrieves the count of Amazon Macie membership invitations that were
|
1718
1817
|
# received by an account.
|
1719
1818
|
#
|
@@ -1998,6 +2097,24 @@ module Aws::Macie2
|
|
1998
2097
|
# resp.items[0].user_paused_details.job_expires_at #=> Time
|
1999
2098
|
# resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
|
2000
2099
|
# resp.items[0].user_paused_details.job_paused_at #=> Time
|
2100
|
+
# resp.items[0].bucket_criteria.excludes.and #=> Array
|
2101
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2102
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
2103
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.values #=> Array
|
2104
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.values[0] #=> String
|
2105
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2106
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.tag_values #=> Array
|
2107
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].key #=> String
|
2108
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].value #=> String
|
2109
|
+
# resp.items[0].bucket_criteria.includes.and #=> Array
|
2110
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2111
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
2112
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.values #=> Array
|
2113
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.values[0] #=> String
|
2114
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2115
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values #=> Array
|
2116
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values[0].key #=> String
|
2117
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values[0].value #=> String
|
2001
2118
|
# resp.next_token #=> String
|
2002
2119
|
#
|
2003
2120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation
|
@@ -2342,6 +2459,156 @@ module Aws::Macie2
|
|
2342
2459
|
req.send_request(options)
|
2343
2460
|
end
|
2344
2461
|
|
2462
|
+
# Updates the configuration settings for publishing findings to AWS
|
2463
|
+
# Security Hub.
|
2464
|
+
#
|
2465
|
+
# @option params [String] :client_token
|
2466
|
+
# **A suitable default value is auto-generated.** You should normally
|
2467
|
+
# not need to pass this option.**
|
2468
|
+
#
|
2469
|
+
# @option params [Types::SecurityHubConfiguration] :security_hub_configuration
|
2470
|
+
# Specifies configuration settings that determine which findings are
|
2471
|
+
# published to AWS Security Hub automatically. For information about how
|
2472
|
+
# Macie publishes findings to Security Hub, see [Amazon Macie
|
2473
|
+
# integration with Security Hub][1] in the *Amazon Macie User Guide*.
|
2474
|
+
#
|
2475
|
+
#
|
2476
|
+
#
|
2477
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html
|
2478
|
+
#
|
2479
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2480
|
+
#
|
2481
|
+
# @example Request syntax with placeholder values
|
2482
|
+
#
|
2483
|
+
# resp = client.put_findings_publication_configuration({
|
2484
|
+
# client_token: "__string",
|
2485
|
+
# security_hub_configuration: {
|
2486
|
+
# publish_classification_findings: false, # required
|
2487
|
+
# publish_policy_findings: false, # required
|
2488
|
+
# },
|
2489
|
+
# })
|
2490
|
+
#
|
2491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration AWS API Documentation
|
2492
|
+
#
|
2493
|
+
# @overload put_findings_publication_configuration(params = {})
|
2494
|
+
# @param [Hash] params ({})
|
2495
|
+
def put_findings_publication_configuration(params = {}, options = {})
|
2496
|
+
req = build_request(:put_findings_publication_configuration, params)
|
2497
|
+
req.send_request(options)
|
2498
|
+
end
|
2499
|
+
|
2500
|
+
# Retrieves (queries) statistical data and other information about AWS
|
2501
|
+
# resources that Amazon Macie monitors and analyzes.
|
2502
|
+
#
|
2503
|
+
# @option params [Types::SearchResourcesBucketCriteria] :bucket_criteria
|
2504
|
+
# Specifies property- and tag-based conditions that define filter
|
2505
|
+
# criteria for including or excluding S3 buckets from the query results.
|
2506
|
+
# Exclude conditions take precedence over include conditions.
|
2507
|
+
#
|
2508
|
+
# @option params [Integer] :max_results
|
2509
|
+
#
|
2510
|
+
# @option params [String] :next_token
|
2511
|
+
#
|
2512
|
+
# @option params [Types::SearchResourcesSortCriteria] :sort_criteria
|
2513
|
+
# Specifies criteria for sorting the results of a query for information
|
2514
|
+
# about AWS resources that Amazon Macie monitors and analyzes.
|
2515
|
+
#
|
2516
|
+
# @return [Types::SearchResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2517
|
+
#
|
2518
|
+
# * {Types::SearchResourcesResponse#matching_resources #matching_resources} => Array<Types::MatchingResource>
|
2519
|
+
# * {Types::SearchResourcesResponse#next_token #next_token} => String
|
2520
|
+
#
|
2521
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2522
|
+
#
|
2523
|
+
# @example Request syntax with placeholder values
|
2524
|
+
#
|
2525
|
+
# resp = client.search_resources({
|
2526
|
+
# bucket_criteria: {
|
2527
|
+
# excludes: {
|
2528
|
+
# and: [
|
2529
|
+
# {
|
2530
|
+
# simple_criterion: {
|
2531
|
+
# comparator: "EQ", # accepts EQ, NE
|
2532
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
2533
|
+
# values: ["__string"],
|
2534
|
+
# },
|
2535
|
+
# tag_criterion: {
|
2536
|
+
# comparator: "EQ", # accepts EQ, NE
|
2537
|
+
# tag_values: [
|
2538
|
+
# {
|
2539
|
+
# key: "__string",
|
2540
|
+
# value: "__string",
|
2541
|
+
# },
|
2542
|
+
# ],
|
2543
|
+
# },
|
2544
|
+
# },
|
2545
|
+
# ],
|
2546
|
+
# },
|
2547
|
+
# includes: {
|
2548
|
+
# and: [
|
2549
|
+
# {
|
2550
|
+
# simple_criterion: {
|
2551
|
+
# comparator: "EQ", # accepts EQ, NE
|
2552
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
2553
|
+
# values: ["__string"],
|
2554
|
+
# },
|
2555
|
+
# tag_criterion: {
|
2556
|
+
# comparator: "EQ", # accepts EQ, NE
|
2557
|
+
# tag_values: [
|
2558
|
+
# {
|
2559
|
+
# key: "__string",
|
2560
|
+
# value: "__string",
|
2561
|
+
# },
|
2562
|
+
# ],
|
2563
|
+
# },
|
2564
|
+
# },
|
2565
|
+
# ],
|
2566
|
+
# },
|
2567
|
+
# },
|
2568
|
+
# max_results: 1,
|
2569
|
+
# next_token: "__string",
|
2570
|
+
# sort_criteria: {
|
2571
|
+
# attribute_name: "ACCOUNT_ID", # accepts ACCOUNT_ID, RESOURCE_NAME, S3_CLASSIFIABLE_OBJECT_COUNT, S3_CLASSIFIABLE_SIZE_IN_BYTES
|
2572
|
+
# order_by: "ASC", # accepts ASC, DESC
|
2573
|
+
# },
|
2574
|
+
# })
|
2575
|
+
#
|
2576
|
+
# @example Response structure
|
2577
|
+
#
|
2578
|
+
# resp.matching_resources #=> Array
|
2579
|
+
# resp.matching_resources[0].matching_bucket.account_id #=> String
|
2580
|
+
# resp.matching_resources[0].matching_bucket.bucket_name #=> String
|
2581
|
+
# resp.matching_resources[0].matching_bucket.classifiable_object_count #=> Integer
|
2582
|
+
# resp.matching_resources[0].matching_bucket.classifiable_size_in_bytes #=> Integer
|
2583
|
+
# resp.matching_resources[0].matching_bucket.job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
2584
|
+
# resp.matching_resources[0].matching_bucket.job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
2585
|
+
# resp.matching_resources[0].matching_bucket.job_details.last_job_id #=> String
|
2586
|
+
# resp.matching_resources[0].matching_bucket.job_details.last_job_run_time #=> Time
|
2587
|
+
# resp.matching_resources[0].matching_bucket.object_count #=> Integer
|
2588
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.customer_managed #=> Integer
|
2589
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.kms_managed #=> Integer
|
2590
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.s3_managed #=> Integer
|
2591
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.unencrypted #=> Integer
|
2592
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.unknown #=> Integer
|
2593
|
+
# resp.matching_resources[0].matching_bucket.size_in_bytes #=> Integer
|
2594
|
+
# resp.matching_resources[0].matching_bucket.size_in_bytes_compressed #=> Integer
|
2595
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_count.file_type #=> Integer
|
2596
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_count.storage_class #=> Integer
|
2597
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_count.total #=> Integer
|
2598
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_size_in_bytes.file_type #=> Integer
|
2599
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_size_in_bytes.storage_class #=> Integer
|
2600
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_size_in_bytes.total #=> Integer
|
2601
|
+
# resp.next_token #=> String
|
2602
|
+
#
|
2603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources AWS API Documentation
|
2604
|
+
#
|
2605
|
+
# @overload search_resources(params = {})
|
2606
|
+
# @param [Hash] params ({})
|
2607
|
+
def search_resources(params = {}, options = {})
|
2608
|
+
req = build_request(:search_resources, params)
|
2609
|
+
req.send_request(options)
|
2610
|
+
end
|
2611
|
+
|
2345
2612
|
# Adds or updates one or more tags (keys and values) that are associated
|
2346
2613
|
# with a classification job, custom data identifier, findings filter, or
|
2347
2614
|
# member account.
|
@@ -2481,6 +2748,10 @@ module Aws::Macie2
|
|
2481
2748
|
#
|
2482
2749
|
# @option params [Integer] :position
|
2483
2750
|
#
|
2751
|
+
# @option params [String] :client_token
|
2752
|
+
# **A suitable default value is auto-generated.** You should normally
|
2753
|
+
# not need to pass this option.**
|
2754
|
+
#
|
2484
2755
|
# @return [Types::UpdateFindingsFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2485
2756
|
#
|
2486
2757
|
# * {Types::UpdateFindingsFilterResponse#arn #arn} => String
|
@@ -2507,6 +2778,7 @@ module Aws::Macie2
|
|
2507
2778
|
# id: "__string", # required
|
2508
2779
|
# name: "__string",
|
2509
2780
|
# position: 1,
|
2781
|
+
# client_token: "__string",
|
2510
2782
|
# })
|
2511
2783
|
#
|
2512
2784
|
# @example Response structure
|
@@ -2530,7 +2802,12 @@ module Aws::Macie2
|
|
2530
2802
|
# The frequency with which Amazon Macie publishes updates to policy
|
2531
2803
|
# findings for an account. This includes publishing updates to AWS
|
2532
2804
|
# Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch
|
2533
|
-
# Events).
|
2805
|
+
# Events). For more information, see [Monitoring and processing
|
2806
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
2807
|
+
#
|
2808
|
+
#
|
2809
|
+
#
|
2810
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
2534
2811
|
#
|
2535
2812
|
# @option params [String] :status
|
2536
2813
|
# The status of an Amazon Macie account. Valid values are:
|
@@ -2614,7 +2891,7 @@ module Aws::Macie2
|
|
2614
2891
|
params: params,
|
2615
2892
|
config: config)
|
2616
2893
|
context[:gem_name] = 'aws-sdk-macie2'
|
2617
|
-
context[:gem_version] = '1.
|
2894
|
+
context[:gem_version] = '1.29.0'
|
2618
2895
|
Seahorse::Client::Request.new(handlers, context)
|
2619
2896
|
end
|
2620
2897
|
|