aws-sdk-macie2 1.21.0 → 1.26.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 +143 -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 +160 -21
- 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 +332 -73
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8312d9a8cbab7c3b940504b68878ff52067f516b39387516c6730912248fc380
|
4
|
+
data.tar.gz: 9873072f2ffde814bdb325b7f0cfab36ce52b67edae78ec6fb5ffdeed700ee70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66d1ad4f766cfe4b4c1a16022db47113b213faffe4f483da55f096d7687e486c3488d5748580093c807f7a0bbe84b0bd177fe9e9c2d30a395b83fdec707fe6af
|
7
|
+
data.tar.gz: 89326c79facb785cd6bb914ada9e970763c4e1201c7a4397938e6c7a96cad0053cb1952159a4a50dcb8ecf8c28df488367ce8537e4a0f3e4a5e5bbd910a761a8
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.26.0 (2021-03-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
9
|
+
1.25.0 (2021-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.24.0 (2021-03-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
18
|
+
|
19
|
+
1.23.0 (2021-02-12)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* 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.
|
23
|
+
|
24
|
+
1.22.0 (2021-02-08)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - This release of the Amazon Macie API adds support for specifying a time range in queries for usage data.
|
28
|
+
|
29
|
+
1.21.0 (2021-02-02)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.20.0 (2021-01-29)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - This release of the Amazon Macie API adds support for using object prefixes to refine the scope of a classification job.
|
38
|
+
|
39
|
+
1.19.0 (2020-12-30)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
43
|
+
|
44
|
+
1.18.0 (2020-11-20)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* 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.
|
48
|
+
|
49
|
+
1.17.0 (2020-11-17)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* 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.
|
53
|
+
|
54
|
+
1.16.0 (2020-11-09)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Sensitive data findings in Amazon Macie now include enhanced location data for Apache Avro object containers and Apache Parquet files.
|
58
|
+
|
59
|
+
1.15.0 (2020-10-30)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* 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.
|
63
|
+
|
64
|
+
1.14.0 (2020-10-23)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
68
|
+
|
69
|
+
1.13.0 (2020-10-15)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* 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.
|
73
|
+
|
74
|
+
1.12.0 (2020-09-30)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
78
|
+
|
79
|
+
1.11.0 (2020-09-15)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
83
|
+
|
84
|
+
1.10.0 (2020-09-02)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* 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.
|
88
|
+
|
89
|
+
1.9.0 (2020-08-25)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
93
|
+
|
94
|
+
1.8.0 (2020-08-13)
|
95
|
+
------------------
|
96
|
+
|
97
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
98
|
+
|
99
|
+
1.7.0 (2020-07-24)
|
100
|
+
------------------
|
101
|
+
|
102
|
+
* Feature - This release of the Amazon Macie API introduces additional criteria for sorting and filtering query results for account quotas and usage statistics.
|
103
|
+
|
104
|
+
1.6.0 (2020-07-17)
|
105
|
+
------------------
|
106
|
+
|
107
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
108
|
+
|
109
|
+
1.5.0 (2020-06-23)
|
110
|
+
------------------
|
111
|
+
|
112
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
113
|
+
|
114
|
+
1.4.0 (2020-06-17)
|
115
|
+
------------------
|
116
|
+
|
117
|
+
* Feature - This is a documentation-only update to the Amazon Macie API. This update contains miscellaneous editorial improvements to various API descriptions.
|
118
|
+
|
119
|
+
1.3.1 (2020-06-11)
|
120
|
+
------------------
|
121
|
+
|
122
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
123
|
+
|
124
|
+
1.3.0 (2020-06-10)
|
125
|
+
------------------
|
126
|
+
|
127
|
+
* Issue - This version has been yanked. (#2327).
|
128
|
+
* 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.
|
129
|
+
|
130
|
+
1.2.0 (2020-05-28)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
134
|
+
|
135
|
+
1.1.0 (2020-05-18)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - Documentation updates for Amazon Macie
|
139
|
+
|
140
|
+
1.0.0 (2020-05-13)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* 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.26.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.26.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
|
#
|
@@ -949,6 +952,8 @@ module Aws::Macie2
|
|
949
952
|
# resp.buckets[0].replication_details.replicated_externally #=> Boolean
|
950
953
|
# resp.buckets[0].replication_details.replication_accounts #=> Array
|
951
954
|
# resp.buckets[0].replication_details.replication_accounts[0] #=> String
|
955
|
+
# resp.buckets[0].server_side_encryption.kms_master_key_id #=> String
|
956
|
+
# resp.buckets[0].server_side_encryption.type #=> String, one of "NONE", "AES256", "aws:kms"
|
952
957
|
# resp.buckets[0].shared_access #=> String, one of "EXTERNAL", "INTERNAL", "NOT_SHARED", "UNKNOWN"
|
953
958
|
# resp.buckets[0].size_in_bytes #=> Integer
|
954
959
|
# resp.buckets[0].size_in_bytes_compressed #=> Integer
|
@@ -1123,7 +1128,25 @@ module Aws::Macie2
|
|
1123
1128
|
req.send_request(options)
|
1124
1129
|
end
|
1125
1130
|
|
1126
|
-
# Disassociates a member account from its Amazon Macie
|
1131
|
+
# Disassociates a member account from its Amazon Macie administrator
|
1132
|
+
# account.
|
1133
|
+
#
|
1134
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1135
|
+
#
|
1136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount AWS API Documentation
|
1137
|
+
#
|
1138
|
+
# @overload disassociate_from_administrator_account(params = {})
|
1139
|
+
# @param [Hash] params ({})
|
1140
|
+
def disassociate_from_administrator_account(params = {}, options = {})
|
1141
|
+
req = build_request(:disassociate_from_administrator_account, params)
|
1142
|
+
req.send_request(options)
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
# (Deprecated) Disassociates a member account from its Amazon Macie
|
1146
|
+
# administrator account. This operation has been replaced by the <link
|
1147
|
+
# linkend="DisassociateFromAdministratorAccount" />
|
1148
|
+
#
|
1149
|
+
# DisassociateFromAdministratorAccount</link> operation.
|
1127
1150
|
#
|
1128
1151
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1129
1152
|
#
|
@@ -1136,7 +1159,8 @@ module Aws::Macie2
|
|
1136
1159
|
req.send_request(options)
|
1137
1160
|
end
|
1138
1161
|
|
1139
|
-
# Disassociates an Amazon Macie
|
1162
|
+
# Disassociates an Amazon Macie administrator account from a member
|
1163
|
+
# account.
|
1140
1164
|
#
|
1141
1165
|
# @option params [required, String] :id
|
1142
1166
|
#
|
@@ -1168,7 +1192,12 @@ module Aws::Macie2
|
|
1168
1192
|
# The frequency with which Amazon Macie publishes updates to policy
|
1169
1193
|
# findings for an account. This includes publishing updates to AWS
|
1170
1194
|
# Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch
|
1171
|
-
# Events).
|
1195
|
+
# Events). For more information, see [Monitoring and processing
|
1196
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
1197
|
+
#
|
1198
|
+
#
|
1199
|
+
#
|
1200
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
1172
1201
|
#
|
1173
1202
|
# @option params [String] :status
|
1174
1203
|
# The status of an Amazon Macie account. Valid values are:
|
@@ -1219,6 +1248,29 @@ module Aws::Macie2
|
|
1219
1248
|
req.send_request(options)
|
1220
1249
|
end
|
1221
1250
|
|
1251
|
+
# Retrieves information about the Amazon Macie administrator account for
|
1252
|
+
# an account.
|
1253
|
+
#
|
1254
|
+
# @return [Types::GetAdministratorAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1255
|
+
#
|
1256
|
+
# * {Types::GetAdministratorAccountResponse#administrator #administrator} => Types::Invitation
|
1257
|
+
#
|
1258
|
+
# @example Response structure
|
1259
|
+
#
|
1260
|
+
# resp.administrator.account_id #=> String
|
1261
|
+
# resp.administrator.invitation_id #=> String
|
1262
|
+
# resp.administrator.invited_at #=> Time
|
1263
|
+
# resp.administrator.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
|
1264
|
+
#
|
1265
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount AWS API Documentation
|
1266
|
+
#
|
1267
|
+
# @overload get_administrator_account(params = {})
|
1268
|
+
# @param [Hash] params ({})
|
1269
|
+
def get_administrator_account(params = {}, options = {})
|
1270
|
+
req = build_request(:get_administrator_account, params)
|
1271
|
+
req.send_request(options)
|
1272
|
+
end
|
1273
|
+
|
1222
1274
|
# Retrieves (queries) aggregated statistical data for all the S3 buckets
|
1223
1275
|
# that Amazon Macie monitors and analyzes.
|
1224
1276
|
#
|
@@ -1667,6 +1719,27 @@ module Aws::Macie2
|
|
1667
1719
|
req.send_request(options)
|
1668
1720
|
end
|
1669
1721
|
|
1722
|
+
# Retrieves the configuration settings for publishing findings to AWS
|
1723
|
+
# Security Hub.
|
1724
|
+
#
|
1725
|
+
# @return [Types::GetFindingsPublicationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1726
|
+
#
|
1727
|
+
# * {Types::GetFindingsPublicationConfigurationResponse#security_hub_configuration #security_hub_configuration} => Types::SecurityHubConfiguration
|
1728
|
+
#
|
1729
|
+
# @example Response structure
|
1730
|
+
#
|
1731
|
+
# resp.security_hub_configuration.publish_classification_findings #=> Boolean
|
1732
|
+
# resp.security_hub_configuration.publish_policy_findings #=> Boolean
|
1733
|
+
#
|
1734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration AWS API Documentation
|
1735
|
+
#
|
1736
|
+
# @overload get_findings_publication_configuration(params = {})
|
1737
|
+
# @param [Hash] params ({})
|
1738
|
+
def get_findings_publication_configuration(params = {}, options = {})
|
1739
|
+
req = build_request(:get_findings_publication_configuration, params)
|
1740
|
+
req.send_request(options)
|
1741
|
+
end
|
1742
|
+
|
1670
1743
|
# Retrieves the count of Amazon Macie membership invitations that were
|
1671
1744
|
# received by an account.
|
1672
1745
|
#
|
@@ -1715,8 +1788,11 @@ module Aws::Macie2
|
|
1715
1788
|
req.send_request(options)
|
1716
1789
|
end
|
1717
1790
|
|
1718
|
-
# Retrieves information about the Amazon Macie
|
1719
|
-
# account.
|
1791
|
+
# (Deprecated) Retrieves information about the Amazon Macie
|
1792
|
+
# administrator account for an account. This operation has been replaced
|
1793
|
+
# by the <link linkend="GetAdministratorAccount" />
|
1794
|
+
#
|
1795
|
+
# GetAdministratorAccount</link> operation.
|
1720
1796
|
#
|
1721
1797
|
# @return [Types::GetMasterAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1722
1798
|
#
|
@@ -1738,14 +1814,15 @@ module Aws::Macie2
|
|
1738
1814
|
req.send_request(options)
|
1739
1815
|
end
|
1740
1816
|
|
1741
|
-
# Retrieves information about
|
1742
|
-
#
|
1817
|
+
# Retrieves information about an account that's associated with an
|
1818
|
+
# Amazon Macie administrator account.
|
1743
1819
|
#
|
1744
1820
|
# @option params [required, String] :id
|
1745
1821
|
#
|
1746
1822
|
# @return [Types::GetMemberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1747
1823
|
#
|
1748
1824
|
# * {Types::GetMemberResponse#account_id #account_id} => String
|
1825
|
+
# * {Types::GetMemberResponse#administrator_account_id #administrator_account_id} => String
|
1749
1826
|
# * {Types::GetMemberResponse#arn #arn} => String
|
1750
1827
|
# * {Types::GetMemberResponse#email #email} => String
|
1751
1828
|
# * {Types::GetMemberResponse#invited_at #invited_at} => Time
|
@@ -1763,6 +1840,7 @@ module Aws::Macie2
|
|
1763
1840
|
# @example Response structure
|
1764
1841
|
#
|
1765
1842
|
# resp.account_id #=> String
|
1843
|
+
# resp.administrator_account_id #=> String
|
1766
1844
|
# resp.arn #=> String
|
1767
1845
|
# resp.email #=> String
|
1768
1846
|
# resp.invited_at #=> Time
|
@@ -1791,13 +1869,18 @@ module Aws::Macie2
|
|
1791
1869
|
# @option params [String] :next_token
|
1792
1870
|
#
|
1793
1871
|
# @option params [Types::UsageStatisticsSortBy] :sort_by
|
1794
|
-
# Specifies criteria for sorting the results of a query for
|
1795
|
-
# quotas and usage data.
|
1872
|
+
# Specifies criteria for sorting the results of a query for Amazon Macie
|
1873
|
+
# account quotas and usage data.
|
1874
|
+
#
|
1875
|
+
# @option params [String] :time_range
|
1876
|
+
# An inclusive time period that Amazon Macie usage data applies to.
|
1877
|
+
# Possible values are:
|
1796
1878
|
#
|
1797
1879
|
# @return [Types::GetUsageStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1798
1880
|
#
|
1799
1881
|
# * {Types::GetUsageStatisticsResponse#next_token #next_token} => String
|
1800
1882
|
# * {Types::GetUsageStatisticsResponse#records #records} => Array<Types::UsageRecord>
|
1883
|
+
# * {Types::GetUsageStatisticsResponse#time_range #time_range} => String
|
1801
1884
|
#
|
1802
1885
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1803
1886
|
#
|
@@ -1817,6 +1900,7 @@ module Aws::Macie2
|
|
1817
1900
|
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
1818
1901
|
# order_by: "ASC", # accepts ASC, DESC
|
1819
1902
|
# },
|
1903
|
+
# time_range: "MONTH_TO_DATE", # accepts MONTH_TO_DATE, PAST_30_DAYS
|
1820
1904
|
# })
|
1821
1905
|
#
|
1822
1906
|
# @example Response structure
|
@@ -1832,6 +1916,7 @@ module Aws::Macie2
|
|
1832
1916
|
# resp.records[0].usage[0].service_limit.unit #=> String, one of "TERABYTES"
|
1833
1917
|
# resp.records[0].usage[0].service_limit.value #=> Integer
|
1834
1918
|
# resp.records[0].usage[0].type #=> String, one of "DATA_INVENTORY_EVALUATION", "SENSITIVE_DATA_DISCOVERY"
|
1919
|
+
# resp.time_range #=> String, one of "MONTH_TO_DATE", "PAST_30_DAYS"
|
1835
1920
|
#
|
1836
1921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics AWS API Documentation
|
1837
1922
|
#
|
@@ -1844,12 +1929,22 @@ module Aws::Macie2
|
|
1844
1929
|
|
1845
1930
|
# Retrieves (queries) aggregated usage data for an account.
|
1846
1931
|
#
|
1932
|
+
# @option params [String] :time_range
|
1933
|
+
#
|
1847
1934
|
# @return [Types::GetUsageTotalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1848
1935
|
#
|
1936
|
+
# * {Types::GetUsageTotalsResponse#time_range #time_range} => String
|
1849
1937
|
# * {Types::GetUsageTotalsResponse#usage_totals #usage_totals} => Array<Types::UsageTotal>
|
1850
1938
|
#
|
1939
|
+
# @example Request syntax with placeholder values
|
1940
|
+
#
|
1941
|
+
# resp = client.get_usage_totals({
|
1942
|
+
# time_range: "__string",
|
1943
|
+
# })
|
1944
|
+
#
|
1851
1945
|
# @example Response structure
|
1852
1946
|
#
|
1947
|
+
# resp.time_range #=> String, one of "MONTH_TO_DATE", "PAST_30_DAYS"
|
1853
1948
|
# resp.usage_totals #=> Array
|
1854
1949
|
# resp.usage_totals[0].currency #=> String, one of "USD"
|
1855
1950
|
# resp.usage_totals[0].estimated_cost #=> String
|
@@ -2120,7 +2215,7 @@ module Aws::Macie2
|
|
2120
2215
|
end
|
2121
2216
|
|
2122
2217
|
# Retrieves information about the accounts that are associated with an
|
2123
|
-
# Amazon Macie
|
2218
|
+
# Amazon Macie administrator account.
|
2124
2219
|
#
|
2125
2220
|
# @option params [Integer] :max_results
|
2126
2221
|
#
|
@@ -2147,6 +2242,7 @@ module Aws::Macie2
|
|
2147
2242
|
#
|
2148
2243
|
# resp.members #=> Array
|
2149
2244
|
# resp.members[0].account_id #=> String
|
2245
|
+
# resp.members[0].administrator_account_id #=> String
|
2150
2246
|
# resp.members[0].arn #=> String
|
2151
2247
|
# resp.members[0].email #=> String
|
2152
2248
|
# resp.members[0].invited_at #=> Time
|
@@ -2272,6 +2368,44 @@ module Aws::Macie2
|
|
2272
2368
|
req.send_request(options)
|
2273
2369
|
end
|
2274
2370
|
|
2371
|
+
# Updates the configuration settings for publishing findings to AWS
|
2372
|
+
# Security Hub.
|
2373
|
+
#
|
2374
|
+
# @option params [String] :client_token
|
2375
|
+
# **A suitable default value is auto-generated.** You should normally
|
2376
|
+
# not need to pass this option.**
|
2377
|
+
#
|
2378
|
+
# @option params [Types::SecurityHubConfiguration] :security_hub_configuration
|
2379
|
+
# Specifies configuration settings that determine which findings are
|
2380
|
+
# published to AWS Security Hub automatically. For information about how
|
2381
|
+
# Macie publishes findings to Security Hub, see [Amazon Macie
|
2382
|
+
# integration with Security Hub][1] in the *Amazon Macie User Guide*.
|
2383
|
+
#
|
2384
|
+
#
|
2385
|
+
#
|
2386
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html
|
2387
|
+
#
|
2388
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2389
|
+
#
|
2390
|
+
# @example Request syntax with placeholder values
|
2391
|
+
#
|
2392
|
+
# resp = client.put_findings_publication_configuration({
|
2393
|
+
# client_token: "__string",
|
2394
|
+
# security_hub_configuration: {
|
2395
|
+
# publish_classification_findings: false, # required
|
2396
|
+
# publish_policy_findings: false, # required
|
2397
|
+
# },
|
2398
|
+
# })
|
2399
|
+
#
|
2400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration AWS API Documentation
|
2401
|
+
#
|
2402
|
+
# @overload put_findings_publication_configuration(params = {})
|
2403
|
+
# @param [Hash] params ({})
|
2404
|
+
def put_findings_publication_configuration(params = {}, options = {})
|
2405
|
+
req = build_request(:put_findings_publication_configuration, params)
|
2406
|
+
req.send_request(options)
|
2407
|
+
end
|
2408
|
+
|
2275
2409
|
# Adds or updates one or more tags (keys and values) that are associated
|
2276
2410
|
# with a classification job, custom data identifier, findings filter, or
|
2277
2411
|
# member account.
|
@@ -2460,7 +2594,12 @@ module Aws::Macie2
|
|
2460
2594
|
# The frequency with which Amazon Macie publishes updates to policy
|
2461
2595
|
# findings for an account. This includes publishing updates to AWS
|
2462
2596
|
# Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch
|
2463
|
-
# Events).
|
2597
|
+
# Events). For more information, see [Monitoring and processing
|
2598
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
2599
|
+
#
|
2600
|
+
#
|
2601
|
+
#
|
2602
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
2464
2603
|
#
|
2465
2604
|
# @option params [String] :status
|
2466
2605
|
# The status of an Amazon Macie account. Valid values are:
|
@@ -2483,8 +2622,8 @@ module Aws::Macie2
|
|
2483
2622
|
req.send_request(options)
|
2484
2623
|
end
|
2485
2624
|
|
2486
|
-
# Enables an Amazon Macie
|
2487
|
-
#
|
2625
|
+
# Enables an Amazon Macie administrator to suspend or re-enable a member
|
2626
|
+
# account.
|
2488
2627
|
#
|
2489
2628
|
# @option params [required, String] :id
|
2490
2629
|
#
|
@@ -2544,7 +2683,7 @@ module Aws::Macie2
|
|
2544
2683
|
params: params,
|
2545
2684
|
config: config)
|
2546
2685
|
context[:gem_name] = 'aws-sdk-macie2'
|
2547
|
-
context[:gem_version] = '1.
|
2686
|
+
context[:gem_version] = '1.26.0'
|
2548
2687
|
Seahorse::Client::Request.new(handlers, context)
|
2549
2688
|
end
|
2550
2689
|
|