aws-sdk-macie2 1.20.0 → 1.25.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 +138 -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 +89 -19
- data/lib/aws-sdk-macie2/client_api.rb +60 -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 +208 -70
- 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: 1fd8b848a270fe36584d51fb7fdfbe74282e1d1282555424a7743533e4aa5fdf
|
4
|
+
data.tar.gz: 67e1694bd9d04a9c8dd8aae1c053f3065d6662e02dd2b0abeea9a26713ddc71d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bbe56eef2cf88122e08ee3d512953656db5f066aee2bc4184ddcf38a85343a6f468a1d899740989a178ab0c45e81982aab6600e887e09471cf66150183bcc19
|
7
|
+
data.tar.gz: 1bf0c9717f89b213c32e078192352686aa4c764748d001cc4dcca47dd2ec94458f7dc105339939c02b6288596be4d46afdf0ea00f43a71209a2d5956c7193b06
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.25.0 (2021-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.24.0 (2021-03-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
13
|
+
|
14
|
+
1.23.0 (2021-02-12)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
19
|
+
1.22.0 (2021-02-08)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release of the Amazon Macie API adds support for specifying a time range in queries for usage data.
|
23
|
+
|
24
|
+
1.21.0 (2021-02-02)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.20.0 (2021-01-29)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - This release of the Amazon Macie API adds support for using object prefixes to refine the scope of a classification job.
|
33
|
+
|
34
|
+
1.19.0 (2020-12-30)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
38
|
+
|
39
|
+
1.18.0 (2020-11-20)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* 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.
|
43
|
+
|
44
|
+
1.17.0 (2020-11-17)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* 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.
|
48
|
+
|
49
|
+
1.16.0 (2020-11-09)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Sensitive data findings in Amazon Macie now include enhanced location data for Apache Avro object containers and Apache Parquet files.
|
53
|
+
|
54
|
+
1.15.0 (2020-10-30)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* 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.
|
58
|
+
|
59
|
+
1.14.0 (2020-10-23)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
63
|
+
|
64
|
+
1.13.0 (2020-10-15)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* 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.
|
68
|
+
|
69
|
+
1.12.0 (2020-09-30)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
73
|
+
|
74
|
+
1.11.0 (2020-09-15)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
78
|
+
|
79
|
+
1.10.0 (2020-09-02)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* 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.
|
83
|
+
|
84
|
+
1.9.0 (2020-08-25)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
88
|
+
|
89
|
+
1.8.0 (2020-08-13)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
93
|
+
|
94
|
+
1.7.0 (2020-07-24)
|
95
|
+
------------------
|
96
|
+
|
97
|
+
* Feature - This release of the Amazon Macie API introduces additional criteria for sorting and filtering query results for account quotas and usage statistics.
|
98
|
+
|
99
|
+
1.6.0 (2020-07-17)
|
100
|
+
------------------
|
101
|
+
|
102
|
+
* Feature - This release of the Amazon Macie API includes miscellaneous updates and improvements to the documentation.
|
103
|
+
|
104
|
+
1.5.0 (2020-06-23)
|
105
|
+
------------------
|
106
|
+
|
107
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
108
|
+
|
109
|
+
1.4.0 (2020-06-17)
|
110
|
+
------------------
|
111
|
+
|
112
|
+
* Feature - This is a documentation-only update to the Amazon Macie API. This update contains miscellaneous editorial improvements to various API descriptions.
|
113
|
+
|
114
|
+
1.3.1 (2020-06-11)
|
115
|
+
------------------
|
116
|
+
|
117
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
118
|
+
|
119
|
+
1.3.0 (2020-06-10)
|
120
|
+
------------------
|
121
|
+
|
122
|
+
* Issue - This version has been yanked. (#2327).
|
123
|
+
* 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.
|
124
|
+
|
125
|
+
1.2.0 (2020-05-28)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
129
|
+
|
130
|
+
1.1.0 (2020-05-18)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - Documentation updates for Amazon Macie
|
134
|
+
|
135
|
+
1.0.0 (2020-05-13)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* 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.25.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.25.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
|
#
|
@@ -1219,6 +1243,29 @@ module Aws::Macie2
|
|
1219
1243
|
req.send_request(options)
|
1220
1244
|
end
|
1221
1245
|
|
1246
|
+
# Retrieves information about the Amazon Macie administrator account for
|
1247
|
+
# an account.
|
1248
|
+
#
|
1249
|
+
# @return [Types::GetAdministratorAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1250
|
+
#
|
1251
|
+
# * {Types::GetAdministratorAccountResponse#administrator #administrator} => Types::Invitation
|
1252
|
+
#
|
1253
|
+
# @example Response structure
|
1254
|
+
#
|
1255
|
+
# resp.administrator.account_id #=> String
|
1256
|
+
# resp.administrator.invitation_id #=> String
|
1257
|
+
# resp.administrator.invited_at #=> Time
|
1258
|
+
# resp.administrator.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
|
1259
|
+
#
|
1260
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount AWS API Documentation
|
1261
|
+
#
|
1262
|
+
# @overload get_administrator_account(params = {})
|
1263
|
+
# @param [Hash] params ({})
|
1264
|
+
def get_administrator_account(params = {}, options = {})
|
1265
|
+
req = build_request(:get_administrator_account, params)
|
1266
|
+
req.send_request(options)
|
1267
|
+
end
|
1268
|
+
|
1222
1269
|
# Retrieves (queries) aggregated statistical data for all the S3 buckets
|
1223
1270
|
# that Amazon Macie monitors and analyzes.
|
1224
1271
|
#
|
@@ -1715,8 +1762,11 @@ module Aws::Macie2
|
|
1715
1762
|
req.send_request(options)
|
1716
1763
|
end
|
1717
1764
|
|
1718
|
-
# Retrieves information about the Amazon Macie
|
1719
|
-
# account.
|
1765
|
+
# (Deprecated) Retrieves information about the Amazon Macie
|
1766
|
+
# administrator account for an account. This operation has been replaced
|
1767
|
+
# by the <link linkend="GetAdministratorAccount" />
|
1768
|
+
#
|
1769
|
+
# GetAdministratorAccount</link> operation.
|
1720
1770
|
#
|
1721
1771
|
# @return [Types::GetMasterAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1722
1772
|
#
|
@@ -1738,14 +1788,15 @@ module Aws::Macie2
|
|
1738
1788
|
req.send_request(options)
|
1739
1789
|
end
|
1740
1790
|
|
1741
|
-
# Retrieves information about
|
1742
|
-
#
|
1791
|
+
# Retrieves information about an account that's associated with an
|
1792
|
+
# Amazon Macie administrator account.
|
1743
1793
|
#
|
1744
1794
|
# @option params [required, String] :id
|
1745
1795
|
#
|
1746
1796
|
# @return [Types::GetMemberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1747
1797
|
#
|
1748
1798
|
# * {Types::GetMemberResponse#account_id #account_id} => String
|
1799
|
+
# * {Types::GetMemberResponse#administrator_account_id #administrator_account_id} => String
|
1749
1800
|
# * {Types::GetMemberResponse#arn #arn} => String
|
1750
1801
|
# * {Types::GetMemberResponse#email #email} => String
|
1751
1802
|
# * {Types::GetMemberResponse#invited_at #invited_at} => Time
|
@@ -1763,6 +1814,7 @@ module Aws::Macie2
|
|
1763
1814
|
# @example Response structure
|
1764
1815
|
#
|
1765
1816
|
# resp.account_id #=> String
|
1817
|
+
# resp.administrator_account_id #=> String
|
1766
1818
|
# resp.arn #=> String
|
1767
1819
|
# resp.email #=> String
|
1768
1820
|
# resp.invited_at #=> Time
|
@@ -1791,13 +1843,18 @@ module Aws::Macie2
|
|
1791
1843
|
# @option params [String] :next_token
|
1792
1844
|
#
|
1793
1845
|
# @option params [Types::UsageStatisticsSortBy] :sort_by
|
1794
|
-
# Specifies criteria for sorting the results of a query for
|
1795
|
-
# quotas and usage data.
|
1846
|
+
# Specifies criteria for sorting the results of a query for Amazon Macie
|
1847
|
+
# account quotas and usage data.
|
1848
|
+
#
|
1849
|
+
# @option params [String] :time_range
|
1850
|
+
# An inclusive time period that Amazon Macie usage data applies to.
|
1851
|
+
# Possible values are:
|
1796
1852
|
#
|
1797
1853
|
# @return [Types::GetUsageStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1798
1854
|
#
|
1799
1855
|
# * {Types::GetUsageStatisticsResponse#next_token #next_token} => String
|
1800
1856
|
# * {Types::GetUsageStatisticsResponse#records #records} => Array<Types::UsageRecord>
|
1857
|
+
# * {Types::GetUsageStatisticsResponse#time_range #time_range} => String
|
1801
1858
|
#
|
1802
1859
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1803
1860
|
#
|
@@ -1817,6 +1874,7 @@ module Aws::Macie2
|
|
1817
1874
|
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
1818
1875
|
# order_by: "ASC", # accepts ASC, DESC
|
1819
1876
|
# },
|
1877
|
+
# time_range: "MONTH_TO_DATE", # accepts MONTH_TO_DATE, PAST_30_DAYS
|
1820
1878
|
# })
|
1821
1879
|
#
|
1822
1880
|
# @example Response structure
|
@@ -1832,6 +1890,7 @@ module Aws::Macie2
|
|
1832
1890
|
# resp.records[0].usage[0].service_limit.unit #=> String, one of "TERABYTES"
|
1833
1891
|
# resp.records[0].usage[0].service_limit.value #=> Integer
|
1834
1892
|
# resp.records[0].usage[0].type #=> String, one of "DATA_INVENTORY_EVALUATION", "SENSITIVE_DATA_DISCOVERY"
|
1893
|
+
# resp.time_range #=> String, one of "MONTH_TO_DATE", "PAST_30_DAYS"
|
1835
1894
|
#
|
1836
1895
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics AWS API Documentation
|
1837
1896
|
#
|
@@ -1844,12 +1903,22 @@ module Aws::Macie2
|
|
1844
1903
|
|
1845
1904
|
# Retrieves (queries) aggregated usage data for an account.
|
1846
1905
|
#
|
1906
|
+
# @option params [String] :time_range
|
1907
|
+
#
|
1847
1908
|
# @return [Types::GetUsageTotalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1848
1909
|
#
|
1910
|
+
# * {Types::GetUsageTotalsResponse#time_range #time_range} => String
|
1849
1911
|
# * {Types::GetUsageTotalsResponse#usage_totals #usage_totals} => Array<Types::UsageTotal>
|
1850
1912
|
#
|
1913
|
+
# @example Request syntax with placeholder values
|
1914
|
+
#
|
1915
|
+
# resp = client.get_usage_totals({
|
1916
|
+
# time_range: "__string",
|
1917
|
+
# })
|
1918
|
+
#
|
1851
1919
|
# @example Response structure
|
1852
1920
|
#
|
1921
|
+
# resp.time_range #=> String, one of "MONTH_TO_DATE", "PAST_30_DAYS"
|
1853
1922
|
# resp.usage_totals #=> Array
|
1854
1923
|
# resp.usage_totals[0].currency #=> String, one of "USD"
|
1855
1924
|
# resp.usage_totals[0].estimated_cost #=> String
|
@@ -2120,7 +2189,7 @@ module Aws::Macie2
|
|
2120
2189
|
end
|
2121
2190
|
|
2122
2191
|
# Retrieves information about the accounts that are associated with an
|
2123
|
-
# Amazon Macie
|
2192
|
+
# Amazon Macie administrator account.
|
2124
2193
|
#
|
2125
2194
|
# @option params [Integer] :max_results
|
2126
2195
|
#
|
@@ -2147,6 +2216,7 @@ module Aws::Macie2
|
|
2147
2216
|
#
|
2148
2217
|
# resp.members #=> Array
|
2149
2218
|
# resp.members[0].account_id #=> String
|
2219
|
+
# resp.members[0].administrator_account_id #=> String
|
2150
2220
|
# resp.members[0].arn #=> String
|
2151
2221
|
# resp.members[0].email #=> String
|
2152
2222
|
# resp.members[0].invited_at #=> Time
|
@@ -2483,8 +2553,8 @@ module Aws::Macie2
|
|
2483
2553
|
req.send_request(options)
|
2484
2554
|
end
|
2485
2555
|
|
2486
|
-
# Enables an Amazon Macie
|
2487
|
-
#
|
2556
|
+
# Enables an Amazon Macie administrator to suspend or re-enable a member
|
2557
|
+
# account.
|
2488
2558
|
#
|
2489
2559
|
# @option params [required, String] :id
|
2490
2560
|
#
|
@@ -2544,7 +2614,7 @@ module Aws::Macie2
|
|
2544
2614
|
params: params,
|
2545
2615
|
config: config)
|
2546
2616
|
context[:gem_name] = 'aws-sdk-macie2'
|
2547
|
-
context[:gem_version] = '1.
|
2617
|
+
context[:gem_version] = '1.25.0'
|
2548
2618
|
Seahorse::Client::Request.new(handlers, context)
|
2549
2619
|
end
|
2550
2620
|
|