aws-sdk-macie2 1.22.0 → 1.27.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 +148 -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 +147 -19
- data/lib/aws-sdk-macie2/client_api.rb +110 -2
- 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 +293 -50
- 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: b52d5175c41c494be9cf58b4e8d5cb714b082fa7d7086e5893cb6db016400856
|
4
|
+
data.tar.gz: 517e2a12fc1e5086bf8c7791d22acd5e65ad3ff26a6aeb9eb712eb4153e5faf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef03ba248c71d3c5d3472b9aa5cc336eb7264d029bfbd47795fd8715c811385d3debefc97a97c3f39540339b8b96aac967defd54b846d42d8f26ea77ec5e9667
|
7
|
+
data.tar.gz: 7866928330a894da7908780670ea1b8573abae7dcf3667b508135ea412875cc08ff91ed30bac9c9b2616b10c68bbcc86ac684878623864e734ebae5cd9d820d9
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.27.0 (2021-04-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
9
|
+
1.26.0 (2021-03-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
14
|
+
1.25.0 (2021-03-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.24.0 (2021-03-03)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
23
|
+
|
24
|
+
1.23.0 (2021-02-12)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* 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.
|
28
|
+
|
29
|
+
1.22.0 (2021-02-08)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - This release of the Amazon Macie API adds support for specifying a time range in queries for usage data.
|
33
|
+
|
34
|
+
1.21.0 (2021-02-02)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.20.0 (2021-01-29)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - This release of the Amazon Macie API adds support for using object prefixes to refine the scope of a classification job.
|
43
|
+
|
44
|
+
1.19.0 (2020-12-30)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
48
|
+
|
49
|
+
1.18.0 (2020-11-20)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* 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.
|
53
|
+
|
54
|
+
1.17.0 (2020-11-17)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* 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.
|
58
|
+
|
59
|
+
1.16.0 (2020-11-09)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Sensitive data findings in Amazon Macie now include enhanced location data for Apache Avro object containers and Apache Parquet files.
|
63
|
+
|
64
|
+
1.15.0 (2020-10-30)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* 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.
|
68
|
+
|
69
|
+
1.14.0 (2020-10-23)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
73
|
+
|
74
|
+
1.13.0 (2020-10-15)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* 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.
|
78
|
+
|
79
|
+
1.12.0 (2020-09-30)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
83
|
+
|
84
|
+
1.11.0 (2020-09-15)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
88
|
+
|
89
|
+
1.10.0 (2020-09-02)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* 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.
|
93
|
+
|
94
|
+
1.9.0 (2020-08-25)
|
95
|
+
------------------
|
96
|
+
|
97
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
98
|
+
|
99
|
+
1.8.0 (2020-08-13)
|
100
|
+
------------------
|
101
|
+
|
102
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
103
|
+
|
104
|
+
1.7.0 (2020-07-24)
|
105
|
+
------------------
|
106
|
+
|
107
|
+
* Feature - This release of the Amazon Macie API introduces additional criteria for sorting and filtering query results for account quotas and usage statistics.
|
108
|
+
|
109
|
+
1.6.0 (2020-07-17)
|
110
|
+
------------------
|
111
|
+
|
112
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
113
|
+
|
114
|
+
1.5.0 (2020-06-23)
|
115
|
+
------------------
|
116
|
+
|
117
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
118
|
+
|
119
|
+
1.4.0 (2020-06-17)
|
120
|
+
------------------
|
121
|
+
|
122
|
+
* Feature - This is a documentation-only update to the Amazon Macie API. This update contains miscellaneous editorial improvements to various API descriptions.
|
123
|
+
|
124
|
+
1.3.1 (2020-06-11)
|
125
|
+
------------------
|
126
|
+
|
127
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
128
|
+
|
129
|
+
1.3.0 (2020-06-10)
|
130
|
+
------------------
|
131
|
+
|
132
|
+
* Issue - This version has been yanked. (#2327).
|
133
|
+
* 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.
|
134
|
+
|
135
|
+
1.2.0 (2020-05-28)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
139
|
+
|
140
|
+
1.1.0 (2020-05-18)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - Documentation updates for Amazon Macie
|
144
|
+
|
145
|
+
1.0.0 (2020-05-13)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* 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.27.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.27.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
|
|
@@ -330,17 +330,20 @@ module Aws::Macie2
|
|
330
330
|
# Accepts an Amazon Macie membership invitation that was received from a
|
331
331
|
# specific account.
|
332
332
|
#
|
333
|
+
# @option params [String] :administrator_account_id
|
334
|
+
#
|
333
335
|
# @option params [required, String] :invitation_id
|
334
336
|
#
|
335
|
-
# @option params [
|
337
|
+
# @option params [String] :master_account
|
336
338
|
#
|
337
339
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
338
340
|
#
|
339
341
|
# @example Request syntax with placeholder values
|
340
342
|
#
|
341
343
|
# resp = client.accept_invitation({
|
344
|
+
# administrator_account_id: "__string",
|
342
345
|
# invitation_id: "__string", # required
|
343
|
-
# master_account: "__string",
|
346
|
+
# master_account: "__string",
|
344
347
|
# })
|
345
348
|
#
|
346
349
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation AWS API Documentation
|
@@ -681,11 +684,11 @@ module Aws::Macie2
|
|
681
684
|
req.send_request(options)
|
682
685
|
end
|
683
686
|
|
684
|
-
# Associates an account with an Amazon Macie
|
687
|
+
# Associates an account with an Amazon Macie administrator account.
|
685
688
|
#
|
686
689
|
# @option params [required, Types::AccountDetail] :account
|
687
690
|
# Specifies details for an account to associate with an Amazon Macie
|
688
|
-
#
|
691
|
+
# administrator account.
|
689
692
|
#
|
690
693
|
# @option params [Hash<String,String>] :tags
|
691
694
|
# A string-to-string map of key-value pairs that specifies the tags
|
@@ -846,8 +849,8 @@ module Aws::Macie2
|
|
846
849
|
req.send_request(options)
|
847
850
|
end
|
848
851
|
|
849
|
-
# Deletes the association between an Amazon Macie
|
850
|
-
# account.
|
852
|
+
# Deletes the association between an Amazon Macie administrator account
|
853
|
+
# and an account.
|
851
854
|
#
|
852
855
|
# @option params [required, String] :id
|
853
856
|
#
|
@@ -916,6 +919,7 @@ module Aws::Macie2
|
|
916
919
|
#
|
917
920
|
# resp.buckets #=> Array
|
918
921
|
# resp.buckets[0].account_id #=> String
|
922
|
+
# resp.buckets[0].allows_unencrypted_object_uploads #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
919
923
|
# resp.buckets[0].bucket_arn #=> String
|
920
924
|
# resp.buckets[0].bucket_created_at #=> Time
|
921
925
|
# resp.buckets[0].bucket_name #=> String
|
@@ -931,6 +935,7 @@ module Aws::Macie2
|
|
931
935
|
# resp.buckets[0].object_count_by_encryption_type.kms_managed #=> Integer
|
932
936
|
# resp.buckets[0].object_count_by_encryption_type.s3_managed #=> Integer
|
933
937
|
# resp.buckets[0].object_count_by_encryption_type.unencrypted #=> Integer
|
938
|
+
# resp.buckets[0].object_count_by_encryption_type.unknown #=> Integer
|
934
939
|
# resp.buckets[0].public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC", "UNKNOWN"
|
935
940
|
# resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
|
936
941
|
# resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
|
@@ -1125,7 +1130,25 @@ module Aws::Macie2
|
|
1125
1130
|
req.send_request(options)
|
1126
1131
|
end
|
1127
1132
|
|
1128
|
-
# Disassociates a member account from its Amazon Macie
|
1133
|
+
# Disassociates a member account from its Amazon Macie administrator
|
1134
|
+
# account.
|
1135
|
+
#
|
1136
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1137
|
+
#
|
1138
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount AWS API Documentation
|
1139
|
+
#
|
1140
|
+
# @overload disassociate_from_administrator_account(params = {})
|
1141
|
+
# @param [Hash] params ({})
|
1142
|
+
def disassociate_from_administrator_account(params = {}, options = {})
|
1143
|
+
req = build_request(:disassociate_from_administrator_account, params)
|
1144
|
+
req.send_request(options)
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
# (Deprecated) Disassociates a member account from its Amazon Macie
|
1148
|
+
# administrator account. This operation has been replaced by the <link
|
1149
|
+
# linkend="DisassociateFromAdministratorAccount" />
|
1150
|
+
#
|
1151
|
+
# DisassociateFromAdministratorAccount</link> operation.
|
1129
1152
|
#
|
1130
1153
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1131
1154
|
#
|
@@ -1138,7 +1161,8 @@ module Aws::Macie2
|
|
1138
1161
|
req.send_request(options)
|
1139
1162
|
end
|
1140
1163
|
|
1141
|
-
# Disassociates an Amazon Macie
|
1164
|
+
# Disassociates an Amazon Macie administrator account from a member
|
1165
|
+
# account.
|
1142
1166
|
#
|
1143
1167
|
# @option params [required, String] :id
|
1144
1168
|
#
|
@@ -1170,7 +1194,12 @@ module Aws::Macie2
|
|
1170
1194
|
# The frequency with which Amazon Macie publishes updates to policy
|
1171
1195
|
# findings for an account. This includes publishing updates to AWS
|
1172
1196
|
# Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch
|
1173
|
-
# Events).
|
1197
|
+
# Events). For more information, see [Monitoring and processing
|
1198
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
1199
|
+
#
|
1200
|
+
#
|
1201
|
+
#
|
1202
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
1174
1203
|
#
|
1175
1204
|
# @option params [String] :status
|
1176
1205
|
# The status of an Amazon Macie account. Valid values are:
|
@@ -1221,6 +1250,29 @@ module Aws::Macie2
|
|
1221
1250
|
req.send_request(options)
|
1222
1251
|
end
|
1223
1252
|
|
1253
|
+
# Retrieves information about the Amazon Macie administrator account for
|
1254
|
+
# an account.
|
1255
|
+
#
|
1256
|
+
# @return [Types::GetAdministratorAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1257
|
+
#
|
1258
|
+
# * {Types::GetAdministratorAccountResponse#administrator #administrator} => Types::Invitation
|
1259
|
+
#
|
1260
|
+
# @example Response structure
|
1261
|
+
#
|
1262
|
+
# resp.administrator.account_id #=> String
|
1263
|
+
# resp.administrator.invitation_id #=> String
|
1264
|
+
# resp.administrator.invited_at #=> Time
|
1265
|
+
# resp.administrator.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
|
1266
|
+
#
|
1267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount AWS API Documentation
|
1268
|
+
#
|
1269
|
+
# @overload get_administrator_account(params = {})
|
1270
|
+
# @param [Hash] params ({})
|
1271
|
+
def get_administrator_account(params = {}, options = {})
|
1272
|
+
req = build_request(:get_administrator_account, params)
|
1273
|
+
req.send_request(options)
|
1274
|
+
end
|
1275
|
+
|
1224
1276
|
# Retrieves (queries) aggregated statistical data for all the S3 buckets
|
1225
1277
|
# that Amazon Macie monitors and analyzes.
|
1226
1278
|
#
|
@@ -1231,6 +1283,7 @@ module Aws::Macie2
|
|
1231
1283
|
# * {Types::GetBucketStatisticsResponse#bucket_count #bucket_count} => Integer
|
1232
1284
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_effective_permission #bucket_count_by_effective_permission} => Types::BucketCountByEffectivePermission
|
1233
1285
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_encryption_type #bucket_count_by_encryption_type} => Types::BucketCountByEncryptionType
|
1286
|
+
# * {Types::GetBucketStatisticsResponse#bucket_count_by_object_encryption_requirement #bucket_count_by_object_encryption_requirement} => Types::BucketCountPolicyAllowsUnencryptedObjectUploads
|
1234
1287
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_shared_access_type #bucket_count_by_shared_access_type} => Types::BucketCountBySharedAccessType
|
1235
1288
|
# * {Types::GetBucketStatisticsResponse#classifiable_object_count #classifiable_object_count} => Integer
|
1236
1289
|
# * {Types::GetBucketStatisticsResponse#classifiable_size_in_bytes #classifiable_size_in_bytes} => Integer
|
@@ -1257,6 +1310,10 @@ module Aws::Macie2
|
|
1257
1310
|
# resp.bucket_count_by_encryption_type.kms_managed #=> Integer
|
1258
1311
|
# resp.bucket_count_by_encryption_type.s3_managed #=> Integer
|
1259
1312
|
# resp.bucket_count_by_encryption_type.unencrypted #=> Integer
|
1313
|
+
# resp.bucket_count_by_encryption_type.unknown #=> Integer
|
1314
|
+
# resp.bucket_count_by_object_encryption_requirement.allows_unencrypted_object_uploads #=> Integer
|
1315
|
+
# resp.bucket_count_by_object_encryption_requirement.denies_unencrypted_object_uploads #=> Integer
|
1316
|
+
# resp.bucket_count_by_object_encryption_requirement.unknown #=> Integer
|
1260
1317
|
# resp.bucket_count_by_shared_access_type.external #=> Integer
|
1261
1318
|
# resp.bucket_count_by_shared_access_type.internal #=> Integer
|
1262
1319
|
# resp.bucket_count_by_shared_access_type.not_shared #=> Integer
|
@@ -1562,6 +1619,7 @@ module Aws::Macie2
|
|
1562
1619
|
# resp.findings[0].policy_details.actor.user_identity.root.principal_id #=> String
|
1563
1620
|
# resp.findings[0].policy_details.actor.user_identity.type #=> String, one of "AssumedRole", "IAMUser", "FederatedUser", "Root", "AWSAccount", "AWSService"
|
1564
1621
|
# resp.findings[0].region #=> String
|
1622
|
+
# resp.findings[0].resources_affected.s3_bucket.allows_unencrypted_object_uploads #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
1565
1623
|
# resp.findings[0].resources_affected.s3_bucket.arn #=> String
|
1566
1624
|
# resp.findings[0].resources_affected.s3_bucket.created_at #=> Time
|
1567
1625
|
# resp.findings[0].resources_affected.s3_bucket.default_server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms", "UNKNOWN"
|
@@ -1669,6 +1727,27 @@ module Aws::Macie2
|
|
1669
1727
|
req.send_request(options)
|
1670
1728
|
end
|
1671
1729
|
|
1730
|
+
# Retrieves the configuration settings for publishing findings to AWS
|
1731
|
+
# Security Hub.
|
1732
|
+
#
|
1733
|
+
# @return [Types::GetFindingsPublicationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1734
|
+
#
|
1735
|
+
# * {Types::GetFindingsPublicationConfigurationResponse#security_hub_configuration #security_hub_configuration} => Types::SecurityHubConfiguration
|
1736
|
+
#
|
1737
|
+
# @example Response structure
|
1738
|
+
#
|
1739
|
+
# resp.security_hub_configuration.publish_classification_findings #=> Boolean
|
1740
|
+
# resp.security_hub_configuration.publish_policy_findings #=> Boolean
|
1741
|
+
#
|
1742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration AWS API Documentation
|
1743
|
+
#
|
1744
|
+
# @overload get_findings_publication_configuration(params = {})
|
1745
|
+
# @param [Hash] params ({})
|
1746
|
+
def get_findings_publication_configuration(params = {}, options = {})
|
1747
|
+
req = build_request(:get_findings_publication_configuration, params)
|
1748
|
+
req.send_request(options)
|
1749
|
+
end
|
1750
|
+
|
1672
1751
|
# Retrieves the count of Amazon Macie membership invitations that were
|
1673
1752
|
# received by an account.
|
1674
1753
|
#
|
@@ -1717,8 +1796,11 @@ module Aws::Macie2
|
|
1717
1796
|
req.send_request(options)
|
1718
1797
|
end
|
1719
1798
|
|
1720
|
-
# Retrieves information about the Amazon Macie
|
1721
|
-
# account.
|
1799
|
+
# (Deprecated) Retrieves information about the Amazon Macie
|
1800
|
+
# administrator account for an account. This operation has been replaced
|
1801
|
+
# by the <link linkend="GetAdministratorAccount" />
|
1802
|
+
#
|
1803
|
+
# GetAdministratorAccount</link> operation.
|
1722
1804
|
#
|
1723
1805
|
# @return [Types::GetMasterAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1724
1806
|
#
|
@@ -1740,14 +1822,15 @@ module Aws::Macie2
|
|
1740
1822
|
req.send_request(options)
|
1741
1823
|
end
|
1742
1824
|
|
1743
|
-
# Retrieves information about
|
1744
|
-
#
|
1825
|
+
# Retrieves information about an account that's associated with an
|
1826
|
+
# Amazon Macie administrator account.
|
1745
1827
|
#
|
1746
1828
|
# @option params [required, String] :id
|
1747
1829
|
#
|
1748
1830
|
# @return [Types::GetMemberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1749
1831
|
#
|
1750
1832
|
# * {Types::GetMemberResponse#account_id #account_id} => String
|
1833
|
+
# * {Types::GetMemberResponse#administrator_account_id #administrator_account_id} => String
|
1751
1834
|
# * {Types::GetMemberResponse#arn #arn} => String
|
1752
1835
|
# * {Types::GetMemberResponse#email #email} => String
|
1753
1836
|
# * {Types::GetMemberResponse#invited_at #invited_at} => Time
|
@@ -1765,6 +1848,7 @@ module Aws::Macie2
|
|
1765
1848
|
# @example Response structure
|
1766
1849
|
#
|
1767
1850
|
# resp.account_id #=> String
|
1851
|
+
# resp.administrator_account_id #=> String
|
1768
1852
|
# resp.arn #=> String
|
1769
1853
|
# resp.email #=> String
|
1770
1854
|
# resp.invited_at #=> Time
|
@@ -2139,7 +2223,7 @@ module Aws::Macie2
|
|
2139
2223
|
end
|
2140
2224
|
|
2141
2225
|
# Retrieves information about the accounts that are associated with an
|
2142
|
-
# Amazon Macie
|
2226
|
+
# Amazon Macie administrator account.
|
2143
2227
|
#
|
2144
2228
|
# @option params [Integer] :max_results
|
2145
2229
|
#
|
@@ -2166,6 +2250,7 @@ module Aws::Macie2
|
|
2166
2250
|
#
|
2167
2251
|
# resp.members #=> Array
|
2168
2252
|
# resp.members[0].account_id #=> String
|
2253
|
+
# resp.members[0].administrator_account_id #=> String
|
2169
2254
|
# resp.members[0].arn #=> String
|
2170
2255
|
# resp.members[0].email #=> String
|
2171
2256
|
# resp.members[0].invited_at #=> Time
|
@@ -2291,6 +2376,44 @@ module Aws::Macie2
|
|
2291
2376
|
req.send_request(options)
|
2292
2377
|
end
|
2293
2378
|
|
2379
|
+
# Updates the configuration settings for publishing findings to AWS
|
2380
|
+
# Security Hub.
|
2381
|
+
#
|
2382
|
+
# @option params [String] :client_token
|
2383
|
+
# **A suitable default value is auto-generated.** You should normally
|
2384
|
+
# not need to pass this option.**
|
2385
|
+
#
|
2386
|
+
# @option params [Types::SecurityHubConfiguration] :security_hub_configuration
|
2387
|
+
# Specifies configuration settings that determine which findings are
|
2388
|
+
# published to AWS Security Hub automatically. For information about how
|
2389
|
+
# Macie publishes findings to Security Hub, see [Amazon Macie
|
2390
|
+
# integration with Security Hub][1] in the *Amazon Macie User Guide*.
|
2391
|
+
#
|
2392
|
+
#
|
2393
|
+
#
|
2394
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html
|
2395
|
+
#
|
2396
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2397
|
+
#
|
2398
|
+
# @example Request syntax with placeholder values
|
2399
|
+
#
|
2400
|
+
# resp = client.put_findings_publication_configuration({
|
2401
|
+
# client_token: "__string",
|
2402
|
+
# security_hub_configuration: {
|
2403
|
+
# publish_classification_findings: false, # required
|
2404
|
+
# publish_policy_findings: false, # required
|
2405
|
+
# },
|
2406
|
+
# })
|
2407
|
+
#
|
2408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration AWS API Documentation
|
2409
|
+
#
|
2410
|
+
# @overload put_findings_publication_configuration(params = {})
|
2411
|
+
# @param [Hash] params ({})
|
2412
|
+
def put_findings_publication_configuration(params = {}, options = {})
|
2413
|
+
req = build_request(:put_findings_publication_configuration, params)
|
2414
|
+
req.send_request(options)
|
2415
|
+
end
|
2416
|
+
|
2294
2417
|
# Adds or updates one or more tags (keys and values) that are associated
|
2295
2418
|
# with a classification job, custom data identifier, findings filter, or
|
2296
2419
|
# member account.
|
@@ -2479,7 +2602,12 @@ module Aws::Macie2
|
|
2479
2602
|
# The frequency with which Amazon Macie publishes updates to policy
|
2480
2603
|
# findings for an account. This includes publishing updates to AWS
|
2481
2604
|
# Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch
|
2482
|
-
# Events).
|
2605
|
+
# Events). For more information, see [Monitoring and processing
|
2606
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
2607
|
+
#
|
2608
|
+
#
|
2609
|
+
#
|
2610
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
2483
2611
|
#
|
2484
2612
|
# @option params [String] :status
|
2485
2613
|
# The status of an Amazon Macie account. Valid values are:
|
@@ -2502,8 +2630,8 @@ module Aws::Macie2
|
|
2502
2630
|
req.send_request(options)
|
2503
2631
|
end
|
2504
2632
|
|
2505
|
-
# Enables an Amazon Macie
|
2506
|
-
#
|
2633
|
+
# Enables an Amazon Macie administrator to suspend or re-enable a member
|
2634
|
+
# account.
|
2507
2635
|
#
|
2508
2636
|
# @option params [required, String] :id
|
2509
2637
|
#
|
@@ -2563,7 +2691,7 @@ module Aws::Macie2
|
|
2563
2691
|
params: params,
|
2564
2692
|
config: config)
|
2565
2693
|
context[:gem_name] = 'aws-sdk-macie2'
|
2566
|
-
context[:gem_version] = '1.
|
2694
|
+
context[:gem_version] = '1.27.0'
|
2567
2695
|
Seahorse::Client::Request.new(handlers, context)
|
2568
2696
|
end
|
2569
2697
|
|