aws-sdk-s3control 1.28.0 → 1.33.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 +187 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-s3control.rb +2 -2
- data/lib/aws-sdk-s3control/client.rb +687 -209
- data/lib/aws-sdk-s3control/client_api.rb +263 -1
- data/lib/aws-sdk-s3control/errors.rb +1 -1
- data/lib/aws-sdk-s3control/resource.rb +1 -1
- data/lib/aws-sdk-s3control/types.rb +622 -43
- 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: 2faaaca4677692c5c4359b017b6c61e1ecd3223e5faab5b6eb4e9add358d0b3d
|
4
|
+
data.tar.gz: 3061d5de0b255fcafde5c86414b87d888091b5271493de1b12201b40df468a59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a87c7f4d3cb5a3d813d91c09ad4f544353b0fd4f811adec4a1a7e513a03e200b6a92a3acdb10c270ec7a4668141d6da5ea89b67a7139526788186e7f9a9f2feb
|
7
|
+
data.tar.gz: dcddaea6e176404a4d95c9cd2c221d2c02ef9a01a11b4571bb7b6f9e7798b20772ea1fc53b8e2fc96fd6645c7b1e283707532389806e660eb64c915bf24b5ab6
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,187 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.33.0 (2021-05-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Amazon S3-control
|
8
|
+
|
9
|
+
1.32.0 (2021-03-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for s3-control
|
13
|
+
|
14
|
+
1.31.0 (2021-03-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - S3 Object Lambda is a new S3 feature that enables users to apply their own custom code to process the output of a standard S3 GET request by automatically invoking a Lambda function with a GET request
|
18
|
+
|
19
|
+
1.30.0 (2021-03-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.29.0 (2021-03-08)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Documentation updates for Amazon S3
|
28
|
+
|
29
|
+
1.28.0 (2021-02-23)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Documentation updates for s3-control
|
33
|
+
|
34
|
+
1.27.0 (2021-02-02)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Amazon S3 Batch Operations now supports Delete Object Tagging
|
38
|
+
|
39
|
+
* Feature - Support PrivateLink using the client `:endpoint` option. This patch has several minor behavioral changes. 1) Any operation using the `outpost_id` parameter with a client configured with `:use_dualstack_endpoint` will now raise an `ArgumentError` as dualstack is not supported by S3 Outposts. 2) Fix a bug where clients configured with `:use_dualstack_endpoint` resolved to the wrong endpoint by not prefixing the account id to the host. 3) A client constructed using both `:use_dualstack_endpoint` and `:endpoint` will now raise an `ArgumentError`.
|
40
|
+
|
41
|
+
1.26.0 (2021-01-14)
|
42
|
+
------------------
|
43
|
+
|
44
|
+
* Feature - Amazon S3 Batch Operations now supports restoring objects from the S3 Intelligent-Tiering Archive Access and Deep Archive Access tiers.
|
45
|
+
|
46
|
+
1.25.0 (2020-11-18)
|
47
|
+
------------------
|
48
|
+
|
49
|
+
* Feature - AWS S3 Storage Lens provides visibility into your storage usage and activity trends at the organization or account level, with aggregations by Region, storage class, bucket, and prefix.
|
50
|
+
|
51
|
+
1.24.0 (2020-09-30)
|
52
|
+
------------------
|
53
|
+
|
54
|
+
* Feature - Amazon S3 on Outposts expands object storage to on-premises AWS Outposts environments, enabling you to store and retrieve objects using S3 APIs and features.
|
55
|
+
|
56
|
+
* Feature - Support Outpost Access Point and Outpost Bucket ARNs.
|
57
|
+
|
58
|
+
1.23.0 (2020-09-15)
|
59
|
+
------------------
|
60
|
+
|
61
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
62
|
+
|
63
|
+
1.22.0 (2020-08-25)
|
64
|
+
------------------
|
65
|
+
|
66
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
67
|
+
|
68
|
+
1.21.0 (2020-06-23)
|
69
|
+
------------------
|
70
|
+
|
71
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
72
|
+
|
73
|
+
1.20.1 (2020-06-11)
|
74
|
+
------------------
|
75
|
+
|
76
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
77
|
+
|
78
|
+
1.20.0 (2020-06-10)
|
79
|
+
------------------
|
80
|
+
|
81
|
+
* Issue - This version has been yanked. (#2327).
|
82
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
83
|
+
|
84
|
+
1.19.0 (2020-05-28)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
88
|
+
|
89
|
+
1.18.0 (2020-05-07)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
93
|
+
|
94
|
+
1.17.0 (2020-05-04)
|
95
|
+
------------------
|
96
|
+
|
97
|
+
* Feature - Amazon S3 Batch Operations now supports Object Lock.
|
98
|
+
|
99
|
+
1.16.0 (2020-03-16)
|
100
|
+
------------------
|
101
|
+
|
102
|
+
* Feature - Amazon S3 now supports Batch Operations job tagging.
|
103
|
+
|
104
|
+
1.15.0 (2020-03-09)
|
105
|
+
------------------
|
106
|
+
|
107
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
108
|
+
|
109
|
+
1.14.0 (2019-12-03)
|
110
|
+
------------------
|
111
|
+
|
112
|
+
* Feature - Amazon S3 Access Points is a new S3 feature that simplifies managing data access at scale for shared data sets on Amazon S3. Access Points provide a customizable way to access the objects in a bucket, with a unique hostname and access policy that enforces the specific permissions and network controls for any request made through the access point. This represents a new way of provisioning access to shared data sets.
|
113
|
+
|
114
|
+
1.13.0 (2019-10-23)
|
115
|
+
------------------
|
116
|
+
|
117
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
118
|
+
|
119
|
+
1.12.0 (2019-07-25)
|
120
|
+
------------------
|
121
|
+
|
122
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
123
|
+
|
124
|
+
1.11.0 (2019-07-01)
|
125
|
+
------------------
|
126
|
+
|
127
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
128
|
+
|
129
|
+
1.10.0 (2019-06-17)
|
130
|
+
------------------
|
131
|
+
|
132
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
133
|
+
|
134
|
+
1.9.0 (2019-05-29)
|
135
|
+
------------------
|
136
|
+
|
137
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
138
|
+
|
139
|
+
1.8.0 (2019-05-21)
|
140
|
+
------------------
|
141
|
+
|
142
|
+
* Feature - API update.
|
143
|
+
|
144
|
+
1.7.0 (2019-05-15)
|
145
|
+
------------------
|
146
|
+
|
147
|
+
* Feature - API update.
|
148
|
+
|
149
|
+
1.6.0 (2019-05-14)
|
150
|
+
------------------
|
151
|
+
|
152
|
+
* Feature - API update.
|
153
|
+
|
154
|
+
1.5.0 (2019-04-30)
|
155
|
+
------------------
|
156
|
+
|
157
|
+
* Feature - API update.
|
158
|
+
|
159
|
+
1.4.0 (2019-03-21)
|
160
|
+
------------------
|
161
|
+
|
162
|
+
* Feature - API update.
|
163
|
+
|
164
|
+
1.3.0 (2019-03-18)
|
165
|
+
------------------
|
166
|
+
|
167
|
+
* Feature - API update.
|
168
|
+
|
169
|
+
1.2.0 (2019-03-14)
|
170
|
+
------------------
|
171
|
+
|
172
|
+
* Feature - API update.
|
173
|
+
|
174
|
+
1.1.0 (2018-11-20)
|
175
|
+
------------------
|
176
|
+
|
177
|
+
* Feature - Support S3 Control plugin working with endpoint trait.
|
178
|
+
|
179
|
+
1.0.1 (2018-11-16)
|
180
|
+
------------------
|
181
|
+
|
182
|
+
* Issue - Update version dependency on `aws-sdk-core` to support endpoint discovery.
|
183
|
+
|
184
|
+
1.0.0 (2018-11-15)
|
185
|
+
------------------
|
186
|
+
|
187
|
+
* Feature - Initial release of `aws-sdk-s3control`.
|
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.33.0
|
data/lib/aws-sdk-s3control.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-s3control/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::S3Control
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.33.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
|
|
@@ -345,26 +345,17 @@ module Aws::S3Control
|
|
345
345
|
|
346
346
|
# Creates an access point and associates it with the specified bucket.
|
347
347
|
# For more information, see [Managing Data Access with Amazon S3 Access
|
348
|
-
# Points][1] in the *Amazon
|
348
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
349
349
|
#
|
350
350
|
#
|
351
351
|
#
|
352
|
-
#
|
352
|
+
# <note markdown="1"> S3 on Outposts only supports VPC-style access points.
|
353
353
|
#
|
354
|
-
#
|
354
|
+
# For more information, see [ Accessing Amazon S3 on Outposts using
|
355
|
+
# virtual private cloud (VPC) only access points][2] in the *Amazon S3
|
356
|
+
# User Guide*.
|
355
357
|
#
|
356
|
-
#
|
357
|
-
# Outposts only supports VPC style access points.
|
358
|
-
#
|
359
|
-
# * Does not support ACL on S3 on Outposts buckets.
|
360
|
-
#
|
361
|
-
# * Does not support Public Access on S3 on Outposts buckets.
|
362
|
-
#
|
363
|
-
# * Does not support object lock for S3 on Outposts buckets.
|
364
|
-
#
|
365
|
-
# For more information, see [Using Amazon S3 on
|
366
|
-
# Outposts](AmazonS3/latest/dev/S3onOutposts.html) in the <i>Amazon
|
367
|
-
# Simple Storage Service Developer Guide </i>.
|
358
|
+
# </note>
|
368
359
|
#
|
369
360
|
# All Amazon S3 on Outposts REST API requests for this action require an
|
370
361
|
# additional parameter of `x-amz-outpost-id` to be passed with the
|
@@ -372,25 +363,26 @@ module Aws::S3Control
|
|
372
363
|
# `s3-control`. For an example of the request syntax for Amazon S3 on
|
373
364
|
# Outposts that uses the S3 on Outposts endpoint hostname prefix and the
|
374
365
|
# `x-amz-outpost-id` derived using the access point ARN, see the
|
375
|
-
# [Examples][
|
366
|
+
# [Examples][3] section.
|
376
367
|
#
|
377
368
|
#
|
378
369
|
#
|
379
370
|
# The following actions are related to `CreateAccessPoint`\:
|
380
371
|
#
|
381
|
-
# * [GetAccessPoint][
|
372
|
+
# * [GetAccessPoint][4]
|
382
373
|
#
|
383
|
-
# * [DeleteAccessPoint][
|
374
|
+
# * [DeleteAccessPoint][5]
|
384
375
|
#
|
385
|
-
# * [ListAccessPoints][
|
376
|
+
# * [ListAccessPoints][6]
|
386
377
|
#
|
387
378
|
#
|
388
379
|
#
|
389
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
390
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
391
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
392
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
393
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
380
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
381
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
382
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html#API_control_CreateAccessPoint_Examples
|
383
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html
|
384
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html
|
385
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html
|
394
386
|
#
|
395
387
|
# @option params [required, String] :account_id
|
396
388
|
# The AWS account ID for the owner of the bucket for which you want to
|
@@ -425,17 +417,8 @@ module Aws::S3Control
|
|
425
417
|
# </note>
|
426
418
|
#
|
427
419
|
# @option params [Types::PublicAccessBlockConfiguration] :public_access_block_configuration
|
428
|
-
# The `PublicAccessBlock` configuration that you want to apply to
|
429
|
-
#
|
430
|
-
# combination. For more information about when Amazon S3 considers a
|
431
|
-
# bucket or object public, see [The Meaning of "Public"][1] in the
|
432
|
-
# *Amazon Simple Storage Service Developer Guide*.
|
433
|
-
#
|
434
|
-
# This is not supported for Amazon S3 on Outposts.
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
438
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status
|
420
|
+
# The `PublicAccessBlock` configuration that you want to apply to the
|
421
|
+
# access point.
|
439
422
|
#
|
440
423
|
# @return [Types::CreateAccessPointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
441
424
|
#
|
@@ -471,59 +454,128 @@ module Aws::S3Control
|
|
471
454
|
req.send_request(options)
|
472
455
|
end
|
473
456
|
|
474
|
-
#
|
475
|
-
#
|
476
|
-
#
|
457
|
+
# Creates an Object Lambda Access Point. For more information, see
|
458
|
+
# [Transforming objects with Object Lambda Access Points][1] in the
|
459
|
+
# *Amazon S3 User Guide*.
|
460
|
+
#
|
461
|
+
# The following actions are related to
|
462
|
+
# `CreateAccessPointForObjectLambda`\:
|
463
|
+
#
|
464
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
465
|
+
#
|
466
|
+
# * [GetAccessPointForObjectLambda][3]
|
467
|
+
#
|
468
|
+
# * [ListAccessPointsForObjectLambda][4]
|
469
|
+
#
|
470
|
+
#
|
471
|
+
#
|
472
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html
|
473
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
474
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
475
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
476
|
+
#
|
477
|
+
# @option params [required, String] :account_id
|
478
|
+
# The AWS account ID for owner of the specified Object Lambda Access
|
479
|
+
# Point.
|
480
|
+
#
|
481
|
+
# @option params [required, String] :name
|
482
|
+
# The name you want to assign to this Object Lambda Access Point.
|
483
|
+
#
|
484
|
+
# @option params [required, Types::ObjectLambdaConfiguration] :configuration
|
485
|
+
# Object Lambda Access Point configuration as a JSON document.
|
486
|
+
#
|
487
|
+
# @return [Types::CreateAccessPointForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
488
|
+
#
|
489
|
+
# * {Types::CreateAccessPointForObjectLambdaResult#object_lambda_access_point_arn #object_lambda_access_point_arn} => String
|
490
|
+
#
|
491
|
+
# @example Request syntax with placeholder values
|
492
|
+
#
|
493
|
+
# resp = client.create_access_point_for_object_lambda({
|
494
|
+
# account_id: "AccountId", # required
|
495
|
+
# name: "ObjectLambdaAccessPointName", # required
|
496
|
+
# configuration: { # required
|
497
|
+
# supporting_access_point: "ObjectLambdaSupportingAccessPointArn", # required
|
498
|
+
# cloud_watch_metrics_enabled: false,
|
499
|
+
# allowed_features: ["GetObject-Range"], # accepts GetObject-Range, GetObject-PartNumber
|
500
|
+
# transformation_configurations: [ # required
|
501
|
+
# {
|
502
|
+
# actions: ["GetObject"], # required, accepts GetObject
|
503
|
+
# content_transformation: { # required
|
504
|
+
# aws_lambda: {
|
505
|
+
# function_arn: "FunctionArnString", # required
|
506
|
+
# function_payload: "AwsLambdaTransformationPayload",
|
507
|
+
# },
|
508
|
+
# },
|
509
|
+
# },
|
510
|
+
# ],
|
511
|
+
# },
|
512
|
+
# })
|
513
|
+
#
|
514
|
+
# @example Response structure
|
515
|
+
#
|
516
|
+
# resp.object_lambda_access_point_arn #=> String
|
517
|
+
#
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointForObjectLambda AWS API Documentation
|
519
|
+
#
|
520
|
+
# @overload create_access_point_for_object_lambda(params = {})
|
521
|
+
# @param [Hash] params ({})
|
522
|
+
def create_access_point_for_object_lambda(params = {}, options = {})
|
523
|
+
req = build_request(:create_access_point_for_object_lambda, params)
|
524
|
+
req.send_request(options)
|
525
|
+
end
|
526
|
+
|
527
|
+
# <note markdown="1"> This action creates an Amazon S3 on Outposts bucket. To create an S3
|
528
|
+
# bucket, see [Create Bucket][1] in the *Amazon S3 API Reference*.
|
477
529
|
#
|
478
530
|
# </note>
|
479
531
|
#
|
480
532
|
# Creates a new Outposts bucket. By creating the bucket, you become the
|
481
533
|
# bucket owner. To create an Outposts bucket, you must have S3 on
|
482
534
|
# Outposts. For more information, see [Using Amazon S3 on Outposts][2]
|
483
|
-
# in *Amazon
|
535
|
+
# in *Amazon S3 User Guide*.
|
484
536
|
#
|
485
537
|
# Not every string is an acceptable bucket name. For information on
|
486
538
|
# bucket naming restrictions, see [Working with Amazon S3 Buckets][3].
|
487
539
|
#
|
488
|
-
# S3 on Outposts buckets
|
489
|
-
#
|
490
|
-
# * ACLs. Instead, configure access point policies to manage access to
|
491
|
-
# buckets.
|
540
|
+
# S3 on Outposts buckets support:
|
492
541
|
#
|
493
|
-
# *
|
542
|
+
# * Tags
|
494
543
|
#
|
495
|
-
# *
|
544
|
+
# * LifecycleConfigurations for deleting expired objects
|
496
545
|
#
|
497
|
-
#
|
546
|
+
# For a complete list of restrictions and Amazon S3 feature limitations
|
547
|
+
# on S3 on Outposts, see [ Amazon S3 on Outposts Restrictions and
|
548
|
+
# Limitations][4].
|
498
549
|
#
|
499
550
|
# For an example of the request syntax for Amazon S3 on Outposts that
|
500
551
|
# uses the S3 on Outposts endpoint hostname prefix and
|
501
|
-
# `x-amz-outpost-id` in your API request, see the [Examples][
|
552
|
+
# `x-amz-outpost-id` in your API request, see the [Examples][5] section.
|
502
553
|
#
|
503
554
|
# The following actions are related to `CreateBucket` for Amazon S3 on
|
504
555
|
# Outposts:
|
505
556
|
#
|
506
|
-
# * [PutObject][
|
557
|
+
# * [PutObject][6]
|
507
558
|
#
|
508
|
-
# * [GetBucket][
|
559
|
+
# * [GetBucket][7]
|
509
560
|
#
|
510
|
-
# * [DeleteBucket][
|
561
|
+
# * [DeleteBucket][8]
|
511
562
|
#
|
512
|
-
# * [CreateAccessPoint][
|
563
|
+
# * [CreateAccessPoint][9]
|
513
564
|
#
|
514
|
-
# * [PutAccessPointPolicy][
|
565
|
+
# * [PutAccessPointPolicy][10]
|
515
566
|
#
|
516
567
|
#
|
517
568
|
#
|
518
569
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
|
519
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
520
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
521
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
522
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
523
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
524
|
-
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
525
|
-
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
526
|
-
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
570
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
571
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/BucketRestrictions.html#bucketnamingrules
|
572
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OnOutpostsRestrictionsLimitations.html
|
573
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html#API_control_CreateBucket_Examples
|
574
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
575
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
|
576
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html
|
577
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html
|
578
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html
|
527
579
|
#
|
528
580
|
# @option params [String] :acl
|
529
581
|
# The canned ACL to apply to the bucket.
|
@@ -630,13 +682,12 @@ module Aws::S3Control
|
|
630
682
|
req.send_request(options)
|
631
683
|
end
|
632
684
|
|
633
|
-
# You can use S3 Batch Operations to perform large-scale batch
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
637
|
-
# Storage Service Developer Guide*.
|
685
|
+
# You can use S3 Batch Operations to perform large-scale batch actions
|
686
|
+
# on Amazon S3 objects. Batch Operations can run a single action on
|
687
|
+
# lists of Amazon S3 objects that you specify. For more information, see
|
688
|
+
# [S3 Batch Operations][1] in the *Amazon S3 User Guide*.
|
638
689
|
#
|
639
|
-
# This
|
690
|
+
# This action creates a S3 Batch Operations job.
|
640
691
|
#
|
641
692
|
#
|
642
693
|
#
|
@@ -670,14 +721,13 @@ module Aws::S3Control
|
|
670
721
|
# S3 console.
|
671
722
|
#
|
672
723
|
# @option params [required, Types::JobOperation] :operation
|
673
|
-
# The
|
674
|
-
#
|
675
|
-
#
|
676
|
-
# Guide*.
|
724
|
+
# The action that you want this job to perform on every object listed in
|
725
|
+
# the manifest. For more information about the available actions, see
|
726
|
+
# [Operations][1] in the *Amazon S3 User Guide*.
|
677
727
|
#
|
678
728
|
#
|
679
729
|
#
|
680
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-
|
730
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-actions.html
|
681
731
|
#
|
682
732
|
# @option params [required, Types::JobReport] :report
|
683
733
|
# Configuration parameters for the optional job-completion report.
|
@@ -704,7 +754,7 @@ module Aws::S3Control
|
|
704
754
|
# @option params [required, String] :role_arn
|
705
755
|
# The Amazon Resource Name (ARN) for the AWS Identity and Access
|
706
756
|
# Management (IAM) role that Batch Operations will use to run this
|
707
|
-
# job's
|
757
|
+
# job's action on every object in the manifest.
|
708
758
|
#
|
709
759
|
# @option params [Array<Types::S3Tag>] :tags
|
710
760
|
# A set of tags to associate with the S3 Batch Operations job. This is
|
@@ -921,6 +971,48 @@ module Aws::S3Control
|
|
921
971
|
req.send_request(options)
|
922
972
|
end
|
923
973
|
|
974
|
+
# Deletes the specified Object Lambda Access Point.
|
975
|
+
#
|
976
|
+
# The following actions are related to
|
977
|
+
# `DeleteAccessPointForObjectLambda`\:
|
978
|
+
#
|
979
|
+
# * [CreateAccessPointForObjectLambda][1]
|
980
|
+
#
|
981
|
+
# * [GetAccessPointForObjectLambda][2]
|
982
|
+
#
|
983
|
+
# * [ListAccessPointsForObjectLambda][3]
|
984
|
+
#
|
985
|
+
#
|
986
|
+
#
|
987
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
988
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
989
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
990
|
+
#
|
991
|
+
# @option params [required, String] :account_id
|
992
|
+
# The account ID for the account that owns the specified Object Lambda
|
993
|
+
# Access Point.
|
994
|
+
#
|
995
|
+
# @option params [required, String] :name
|
996
|
+
# The name of the access point you want to delete.
|
997
|
+
#
|
998
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
999
|
+
#
|
1000
|
+
# @example Request syntax with placeholder values
|
1001
|
+
#
|
1002
|
+
# resp = client.delete_access_point_for_object_lambda({
|
1003
|
+
# account_id: "AccountId", # required
|
1004
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1005
|
+
# })
|
1006
|
+
#
|
1007
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointForObjectLambda AWS API Documentation
|
1008
|
+
#
|
1009
|
+
# @overload delete_access_point_for_object_lambda(params = {})
|
1010
|
+
# @param [Hash] params ({})
|
1011
|
+
def delete_access_point_for_object_lambda(params = {}, options = {})
|
1012
|
+
req = build_request(:delete_access_point_for_object_lambda, params)
|
1013
|
+
req.send_request(options)
|
1014
|
+
end
|
1015
|
+
|
924
1016
|
# Deletes the access point policy for the specified access point.
|
925
1017
|
#
|
926
1018
|
#
|
@@ -981,17 +1073,55 @@ module Aws::S3Control
|
|
981
1073
|
req.send_request(options)
|
982
1074
|
end
|
983
1075
|
|
984
|
-
#
|
985
|
-
#
|
986
|
-
#
|
1076
|
+
# Removes the resource policy for an Object Lambda Access Point.
|
1077
|
+
#
|
1078
|
+
# The following actions are related to
|
1079
|
+
# `DeleteAccessPointPolicyForObjectLambda`\:
|
1080
|
+
#
|
1081
|
+
# * [GetAccessPointPolicyForObjectLambda][1]
|
1082
|
+
#
|
1083
|
+
# * [PutAccessPointPolicyForObjectLambda][2]
|
1084
|
+
#
|
1085
|
+
#
|
1086
|
+
#
|
1087
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html
|
1088
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html
|
1089
|
+
#
|
1090
|
+
# @option params [required, String] :account_id
|
1091
|
+
# The account ID for the account that owns the specified Object Lambda
|
1092
|
+
# Access Point.
|
1093
|
+
#
|
1094
|
+
# @option params [required, String] :name
|
1095
|
+
# The name of the Object Lambda Access Point you want to delete the
|
1096
|
+
# policy for.
|
1097
|
+
#
|
1098
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1099
|
+
#
|
1100
|
+
# @example Request syntax with placeholder values
|
1101
|
+
#
|
1102
|
+
# resp = client.delete_access_point_policy_for_object_lambda({
|
1103
|
+
# account_id: "AccountId", # required
|
1104
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1105
|
+
# })
|
1106
|
+
#
|
1107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicyForObjectLambda AWS API Documentation
|
1108
|
+
#
|
1109
|
+
# @overload delete_access_point_policy_for_object_lambda(params = {})
|
1110
|
+
# @param [Hash] params ({})
|
1111
|
+
def delete_access_point_policy_for_object_lambda(params = {}, options = {})
|
1112
|
+
req = build_request(:delete_access_point_policy_for_object_lambda, params)
|
1113
|
+
req.send_request(options)
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket. To delete an S3
|
1117
|
+
# bucket, see [DeleteBucket][1] in the *Amazon S3 API Reference*.
|
987
1118
|
#
|
988
1119
|
# </note>
|
989
1120
|
#
|
990
1121
|
# Deletes the Amazon S3 on Outposts bucket. All objects (including all
|
991
1122
|
# object versions and delete markers) in the bucket must be deleted
|
992
1123
|
# before the bucket itself can be deleted. For more information, see
|
993
|
-
# [Using Amazon S3 on Outposts][2] in *Amazon
|
994
|
-
# Developer Guide*.
|
1124
|
+
# [Using Amazon S3 on Outposts][2] in *Amazon S3 User Guide*.
|
995
1125
|
#
|
996
1126
|
# All Amazon S3 on Outposts REST API requests for this action require an
|
997
1127
|
# additional parameter of `x-amz-outpost-id` to be passed with the
|
@@ -1012,7 +1142,7 @@ module Aws::S3Control
|
|
1012
1142
|
#
|
1013
1143
|
#
|
1014
1144
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
|
1015
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1145
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1016
1146
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html#API_control_DeleteBucket_Examples
|
1017
1147
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
1018
1148
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
|
@@ -1054,9 +1184,9 @@ module Aws::S3Control
|
|
1054
1184
|
req.send_request(options)
|
1055
1185
|
end
|
1056
1186
|
|
1057
|
-
# <note markdown="1"> This
|
1187
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket's lifecycle
|
1058
1188
|
# configuration. To delete an S3 bucket's lifecycle configuration, see
|
1059
|
-
# [DeleteBucketLifecycle][1] in the *Amazon
|
1189
|
+
# [DeleteBucketLifecycle][1] in the *Amazon S3 API Reference*.
|
1060
1190
|
#
|
1061
1191
|
# </note>
|
1062
1192
|
#
|
@@ -1066,10 +1196,9 @@ module Aws::S3Control
|
|
1066
1196
|
# objects never expire, and Amazon S3 on Outposts no longer
|
1067
1197
|
# automatically deletes any objects on the basis of rules contained in
|
1068
1198
|
# the deleted lifecycle configuration. For more information, see [Using
|
1069
|
-
# Amazon S3 on Outposts][2] in *Amazon
|
1070
|
-
# Guide*.
|
1199
|
+
# Amazon S3 on Outposts][2] in *Amazon S3 User Guide*.
|
1071
1200
|
#
|
1072
|
-
# To use this
|
1201
|
+
# To use this action, you must have permission to perform the
|
1073
1202
|
# `s3-outposts:DeleteLifecycleConfiguration` action. By default, the
|
1074
1203
|
# bucket owner has this permission and the Outposts bucket owner can
|
1075
1204
|
# grant this permission to others.
|
@@ -1094,7 +1223,7 @@ module Aws::S3Control
|
|
1094
1223
|
#
|
1095
1224
|
#
|
1096
1225
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
|
1097
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1226
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1098
1227
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples
|
1099
1228
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
|
1100
1229
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
|
@@ -1136,20 +1265,20 @@ module Aws::S3Control
|
|
1136
1265
|
req.send_request(options)
|
1137
1266
|
end
|
1138
1267
|
|
1139
|
-
# <note markdown="1"> This
|
1140
|
-
#
|
1141
|
-
#
|
1268
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket policy. To delete
|
1269
|
+
# an S3 bucket policy, see [DeleteBucketPolicy][1] in the *Amazon S3 API
|
1270
|
+
# Reference*.
|
1142
1271
|
#
|
1143
1272
|
# </note>
|
1144
1273
|
#
|
1145
|
-
# This implementation of the DELETE
|
1146
|
-
#
|
1147
|
-
#
|
1148
|
-
#
|
1274
|
+
# This implementation of the DELETE action uses the policy subresource
|
1275
|
+
# to delete the policy of a specified Amazon S3 on Outposts bucket. If
|
1276
|
+
# you are using an identity other than the root user of the AWS account
|
1277
|
+
# that owns the bucket, the calling identity must have the
|
1149
1278
|
# `s3-outposts:DeleteBucketPolicy` permissions on the specified Outposts
|
1150
|
-
# bucket and belong to the bucket owner's account to use this
|
1151
|
-
#
|
1152
|
-
#
|
1279
|
+
# bucket and belong to the bucket owner's account to use this action.
|
1280
|
+
# For more information, see [Using Amazon S3 on Outposts][2] in *Amazon
|
1281
|
+
# S3 User Guide*.
|
1153
1282
|
#
|
1154
1283
|
# If you don't have `DeleteBucketPolicy` permissions, Amazon S3 returns
|
1155
1284
|
# a `403 Access Denied` error. If you have the correct permissions, but
|
@@ -1157,7 +1286,7 @@ module Aws::S3Control
|
|
1157
1286
|
# account, Amazon S3 returns a `405 Method Not Allowed` error.
|
1158
1287
|
#
|
1159
1288
|
# As a security precaution, the root user of the AWS account that owns a
|
1160
|
-
# bucket can always use this
|
1289
|
+
# bucket can always use this action, even if the policy explicitly
|
1161
1290
|
# denies the root user the ability to perform this action.
|
1162
1291
|
#
|
1163
1292
|
# For more information about bucket policies, see [Using Bucket Policies
|
@@ -1180,7 +1309,7 @@ module Aws::S3Control
|
|
1180
1309
|
#
|
1181
1310
|
#
|
1182
1311
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html
|
1183
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1312
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1184
1313
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
1185
1314
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples
|
1186
1315
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
|
@@ -1222,17 +1351,16 @@ module Aws::S3Control
|
|
1222
1351
|
req.send_request(options)
|
1223
1352
|
end
|
1224
1353
|
|
1225
|
-
# <note markdown="1"> This
|
1226
|
-
#
|
1227
|
-
#
|
1354
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket's tags. To delete
|
1355
|
+
# an S3 bucket tags, see [DeleteBucketTagging][1] in the *Amazon S3 API
|
1356
|
+
# Reference*.
|
1228
1357
|
#
|
1229
1358
|
# </note>
|
1230
1359
|
#
|
1231
1360
|
# Deletes the tags from the Outposts bucket. For more information, see
|
1232
|
-
# [Using Amazon S3 on Outposts][2] in *Amazon
|
1233
|
-
# Developer Guide*.
|
1361
|
+
# [Using Amazon S3 on Outposts][2] in *Amazon S3 User Guide*.
|
1234
1362
|
#
|
1235
|
-
# To use this
|
1363
|
+
# To use this action, you must have permission to perform the
|
1236
1364
|
# `PutBucketTagging` action. By default, the bucket owner has this
|
1237
1365
|
# permission and can grant this permission to others.
|
1238
1366
|
#
|
@@ -1253,7 +1381,7 @@ module Aws::S3Control
|
|
1253
1381
|
#
|
1254
1382
|
#
|
1255
1383
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html
|
1256
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1384
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1257
1385
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples
|
1258
1386
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html
|
1259
1387
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
@@ -1297,8 +1425,7 @@ module Aws::S3Control
|
|
1297
1425
|
# Removes the entire tag set from the specified S3 Batch Operations job.
|
1298
1426
|
# To use this operation, you must have permission to perform the
|
1299
1427
|
# `s3:DeleteJobTagging` action. For more information, see [Controlling
|
1300
|
-
# access and labeling jobs using tags][1] in the *Amazon
|
1301
|
-
# Service Developer Guide*.
|
1428
|
+
# access and labeling jobs using tags][1] in the *Amazon S3 User Guide*.
|
1302
1429
|
#
|
1303
1430
|
#
|
1304
1431
|
#
|
@@ -1379,13 +1506,12 @@ module Aws::S3Control
|
|
1379
1506
|
|
1380
1507
|
# Deletes the Amazon S3 Storage Lens configuration. For more information
|
1381
1508
|
# about S3 Storage Lens, see [Assessing your storage activity and usage
|
1382
|
-
# with Amazon S3 Storage Lens ][1] in the *Amazon
|
1383
|
-
# Developer Guide*.
|
1509
|
+
# with Amazon S3 Storage Lens ][1] in the *Amazon S3 User Guide*.
|
1384
1510
|
#
|
1385
1511
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
1386
1512
|
# `s3:DeleteStorageLensConfiguration` action. For more information, see
|
1387
1513
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
1388
|
-
#
|
1514
|
+
# S3 User Guide*.
|
1389
1515
|
#
|
1390
1516
|
# </note>
|
1391
1517
|
#
|
@@ -1420,13 +1546,13 @@ module Aws::S3Control
|
|
1420
1546
|
|
1421
1547
|
# Deletes the Amazon S3 Storage Lens configuration tags. For more
|
1422
1548
|
# information about S3 Storage Lens, see [Assessing your storage
|
1423
|
-
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
1424
|
-
#
|
1549
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon S3
|
1550
|
+
# User Guide*.
|
1425
1551
|
#
|
1426
1552
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
1427
1553
|
# `s3:DeleteStorageLensConfigurationTagging` action. For more
|
1428
1554
|
# information, see [Setting permissions to use Amazon S3 Storage
|
1429
|
-
# Lens][2] in the *Amazon
|
1555
|
+
# Lens][2] in the *Amazon S3 User Guide*.
|
1430
1556
|
#
|
1431
1557
|
# </note>
|
1432
1558
|
#
|
@@ -1461,7 +1587,7 @@ module Aws::S3Control
|
|
1461
1587
|
|
1462
1588
|
# Retrieves the configuration parameters and status for a Batch
|
1463
1589
|
# Operations job. For more information, see [S3 Batch Operations][1] in
|
1464
|
-
# the *Amazon
|
1590
|
+
# the *Amazon S3 User Guide*.
|
1465
1591
|
#
|
1466
1592
|
#
|
1467
1593
|
#
|
@@ -1675,6 +1801,114 @@ module Aws::S3Control
|
|
1675
1801
|
req.send_request(options)
|
1676
1802
|
end
|
1677
1803
|
|
1804
|
+
# Returns configuration for an Object Lambda Access Point.
|
1805
|
+
#
|
1806
|
+
# The following actions are related to
|
1807
|
+
# `GetAccessPointConfigurationForObjectLambda`\:
|
1808
|
+
#
|
1809
|
+
# * [PutAccessPointConfigurationForObjectLambda][1]
|
1810
|
+
#
|
1811
|
+
# ^
|
1812
|
+
#
|
1813
|
+
#
|
1814
|
+
#
|
1815
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointConfigurationForObjectLambda.html
|
1816
|
+
#
|
1817
|
+
# @option params [required, String] :account_id
|
1818
|
+
# The account ID for the account that owns the specified Object Lambda
|
1819
|
+
# Access Point.
|
1820
|
+
#
|
1821
|
+
# @option params [required, String] :name
|
1822
|
+
# The name of the Object Lambda Access Point you want to return the
|
1823
|
+
# configuration for.
|
1824
|
+
#
|
1825
|
+
# @return [Types::GetAccessPointConfigurationForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1826
|
+
#
|
1827
|
+
# * {Types::GetAccessPointConfigurationForObjectLambdaResult#configuration #configuration} => Types::ObjectLambdaConfiguration
|
1828
|
+
#
|
1829
|
+
# @example Request syntax with placeholder values
|
1830
|
+
#
|
1831
|
+
# resp = client.get_access_point_configuration_for_object_lambda({
|
1832
|
+
# account_id: "AccountId", # required
|
1833
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1834
|
+
# })
|
1835
|
+
#
|
1836
|
+
# @example Response structure
|
1837
|
+
#
|
1838
|
+
# resp.configuration.supporting_access_point #=> String
|
1839
|
+
# resp.configuration.cloud_watch_metrics_enabled #=> Boolean
|
1840
|
+
# resp.configuration.allowed_features #=> Array
|
1841
|
+
# resp.configuration.allowed_features[0] #=> String, one of "GetObject-Range", "GetObject-PartNumber"
|
1842
|
+
# resp.configuration.transformation_configurations #=> Array
|
1843
|
+
# resp.configuration.transformation_configurations[0].actions #=> Array
|
1844
|
+
# resp.configuration.transformation_configurations[0].actions[0] #=> String, one of "GetObject"
|
1845
|
+
# resp.configuration.transformation_configurations[0].content_transformation.aws_lambda.function_arn #=> String
|
1846
|
+
# resp.configuration.transformation_configurations[0].content_transformation.aws_lambda.function_payload #=> String
|
1847
|
+
#
|
1848
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointConfigurationForObjectLambda AWS API Documentation
|
1849
|
+
#
|
1850
|
+
# @overload get_access_point_configuration_for_object_lambda(params = {})
|
1851
|
+
# @param [Hash] params ({})
|
1852
|
+
def get_access_point_configuration_for_object_lambda(params = {}, options = {})
|
1853
|
+
req = build_request(:get_access_point_configuration_for_object_lambda, params)
|
1854
|
+
req.send_request(options)
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
# Returns configuration information about the specified Object Lambda
|
1858
|
+
# Access Point
|
1859
|
+
#
|
1860
|
+
# The following actions are related to `GetAccessPointForObjectLambda`\:
|
1861
|
+
#
|
1862
|
+
# * [CreateAccessPointForObjectLambda][1]
|
1863
|
+
#
|
1864
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
1865
|
+
#
|
1866
|
+
# * [ListAccessPointsForObjectLambda][3]
|
1867
|
+
#
|
1868
|
+
#
|
1869
|
+
#
|
1870
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
1871
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
1872
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
1873
|
+
#
|
1874
|
+
# @option params [required, String] :account_id
|
1875
|
+
# The account ID for the account that owns the specified Object Lambda
|
1876
|
+
# Access Point.
|
1877
|
+
#
|
1878
|
+
# @option params [required, String] :name
|
1879
|
+
# The name of the Object Lambda Access Point.
|
1880
|
+
#
|
1881
|
+
# @return [Types::GetAccessPointForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1882
|
+
#
|
1883
|
+
# * {Types::GetAccessPointForObjectLambdaResult#name #name} => String
|
1884
|
+
# * {Types::GetAccessPointForObjectLambdaResult#public_access_block_configuration #public_access_block_configuration} => Types::PublicAccessBlockConfiguration
|
1885
|
+
# * {Types::GetAccessPointForObjectLambdaResult#creation_date #creation_date} => Time
|
1886
|
+
#
|
1887
|
+
# @example Request syntax with placeholder values
|
1888
|
+
#
|
1889
|
+
# resp = client.get_access_point_for_object_lambda({
|
1890
|
+
# account_id: "AccountId", # required
|
1891
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1892
|
+
# })
|
1893
|
+
#
|
1894
|
+
# @example Response structure
|
1895
|
+
#
|
1896
|
+
# resp.name #=> String
|
1897
|
+
# resp.public_access_block_configuration.block_public_acls #=> Boolean
|
1898
|
+
# resp.public_access_block_configuration.ignore_public_acls #=> Boolean
|
1899
|
+
# resp.public_access_block_configuration.block_public_policy #=> Boolean
|
1900
|
+
# resp.public_access_block_configuration.restrict_public_buckets #=> Boolean
|
1901
|
+
# resp.creation_date #=> Time
|
1902
|
+
#
|
1903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointForObjectLambda AWS API Documentation
|
1904
|
+
#
|
1905
|
+
# @overload get_access_point_for_object_lambda(params = {})
|
1906
|
+
# @param [Hash] params ({})
|
1907
|
+
def get_access_point_for_object_lambda(params = {}, options = {})
|
1908
|
+
req = build_request(:get_access_point_for_object_lambda, params)
|
1909
|
+
req.send_request(options)
|
1910
|
+
end
|
1911
|
+
|
1678
1912
|
# Returns the access point policy associated with the specified access
|
1679
1913
|
# point.
|
1680
1914
|
#
|
@@ -1731,14 +1965,59 @@ module Aws::S3Control
|
|
1731
1965
|
req.send_request(options)
|
1732
1966
|
end
|
1733
1967
|
|
1968
|
+
# Returns the resource policy for an Object Lambda Access Point.
|
1969
|
+
#
|
1970
|
+
# The following actions are related to
|
1971
|
+
# `GetAccessPointPolicyForObjectLambda`\:
|
1972
|
+
#
|
1973
|
+
# * [DeleteAccessPointPolicyForObjectLambda][1]
|
1974
|
+
#
|
1975
|
+
# * [PutAccessPointPolicyForObjectLambda][2]
|
1976
|
+
#
|
1977
|
+
#
|
1978
|
+
#
|
1979
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html
|
1980
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html
|
1981
|
+
#
|
1982
|
+
# @option params [required, String] :account_id
|
1983
|
+
# The account ID for the account that owns the specified Object Lambda
|
1984
|
+
# Access Point.
|
1985
|
+
#
|
1986
|
+
# @option params [required, String] :name
|
1987
|
+
# The name of the Object Lambda Access Point.
|
1988
|
+
#
|
1989
|
+
# @return [Types::GetAccessPointPolicyForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1990
|
+
#
|
1991
|
+
# * {Types::GetAccessPointPolicyForObjectLambdaResult#policy #policy} => String
|
1992
|
+
#
|
1993
|
+
# @example Request syntax with placeholder values
|
1994
|
+
#
|
1995
|
+
# resp = client.get_access_point_policy_for_object_lambda({
|
1996
|
+
# account_id: "AccountId", # required
|
1997
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1998
|
+
# })
|
1999
|
+
#
|
2000
|
+
# @example Response structure
|
2001
|
+
#
|
2002
|
+
# resp.policy #=> String
|
2003
|
+
#
|
2004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyForObjectLambda AWS API Documentation
|
2005
|
+
#
|
2006
|
+
# @overload get_access_point_policy_for_object_lambda(params = {})
|
2007
|
+
# @param [Hash] params ({})
|
2008
|
+
def get_access_point_policy_for_object_lambda(params = {}, options = {})
|
2009
|
+
req = build_request(:get_access_point_policy_for_object_lambda, params)
|
2010
|
+
req.send_request(options)
|
2011
|
+
end
|
2012
|
+
|
1734
2013
|
# Indicates whether the specified access point currently has a policy
|
1735
2014
|
# that allows public access. For more information about public access
|
1736
|
-
# through access points, see [Managing Data Access with Amazon S3
|
1737
|
-
#
|
2015
|
+
# through access points, see [Managing Data Access with Amazon S3 access
|
2016
|
+
# points][1] in the *Amazon S3 User Guide*.
|
1738
2017
|
#
|
1739
2018
|
#
|
1740
2019
|
#
|
1741
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2020
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
1742
2021
|
#
|
1743
2022
|
# @option params [required, String] :account_id
|
1744
2023
|
# The account ID for the account that owns the specified access point.
|
@@ -1770,16 +2049,49 @@ module Aws::S3Control
|
|
1770
2049
|
req.send_request(options)
|
1771
2050
|
end
|
1772
2051
|
|
2052
|
+
# Returns the status of the resource policy associated with an Object
|
2053
|
+
# Lambda Access Point.
|
2054
|
+
#
|
2055
|
+
# @option params [required, String] :account_id
|
2056
|
+
# The account ID for the account that owns the specified Object Lambda
|
2057
|
+
# Access Point.
|
2058
|
+
#
|
2059
|
+
# @option params [required, String] :name
|
2060
|
+
# The name of the Object Lambda Access Point.
|
2061
|
+
#
|
2062
|
+
# @return [Types::GetAccessPointPolicyStatusForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2063
|
+
#
|
2064
|
+
# * {Types::GetAccessPointPolicyStatusForObjectLambdaResult#policy_status #policy_status} => Types::PolicyStatus
|
2065
|
+
#
|
2066
|
+
# @example Request syntax with placeholder values
|
2067
|
+
#
|
2068
|
+
# resp = client.get_access_point_policy_status_for_object_lambda({
|
2069
|
+
# account_id: "AccountId", # required
|
2070
|
+
# name: "ObjectLambdaAccessPointName", # required
|
2071
|
+
# })
|
2072
|
+
#
|
2073
|
+
# @example Response structure
|
2074
|
+
#
|
2075
|
+
# resp.policy_status.is_public #=> Boolean
|
2076
|
+
#
|
2077
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatusForObjectLambda AWS API Documentation
|
2078
|
+
#
|
2079
|
+
# @overload get_access_point_policy_status_for_object_lambda(params = {})
|
2080
|
+
# @param [Hash] params ({})
|
2081
|
+
def get_access_point_policy_status_for_object_lambda(params = {}, options = {})
|
2082
|
+
req = build_request(:get_access_point_policy_status_for_object_lambda, params)
|
2083
|
+
req.send_request(options)
|
2084
|
+
end
|
2085
|
+
|
1773
2086
|
# Gets an Amazon S3 on Outposts bucket. For more information, see [
|
1774
|
-
# Using Amazon S3 on Outposts][1] in the *Amazon
|
1775
|
-
# Developer Guide*.
|
2087
|
+
# Using Amazon S3 on Outposts][1] in the *Amazon S3 User Guide*.
|
1776
2088
|
#
|
1777
2089
|
# If you are using an identity other than the root user of the AWS
|
1778
|
-
# account that owns the bucket, the calling identity must have
|
1779
|
-
# `s3-outposts:GetBucket` permissions on the specified
|
1780
|
-
# to the bucket owner's account in order to
|
1781
|
-
# users from Outposts bucket owner account with
|
1782
|
-
# can perform actions on an Outposts bucket.
|
2090
|
+
# account that owns the Outposts bucket, the calling identity must have
|
2091
|
+
# the `s3-outposts:GetBucket` permissions on the specified Outposts
|
2092
|
+
# bucket and belong to the Outposts bucket owner's account in order to
|
2093
|
+
# use this action. Only users from Outposts bucket owner account with
|
2094
|
+
# the right permissions can perform actions on an Outposts bucket.
|
1783
2095
|
#
|
1784
2096
|
# If you don't have `s3-outposts:GetBucket` permissions or you're not
|
1785
2097
|
# using an identity that belongs to the bucket owner's account, Amazon
|
@@ -1804,7 +2116,7 @@ module Aws::S3Control
|
|
1804
2116
|
#
|
1805
2117
|
#
|
1806
2118
|
#
|
1807
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2119
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1808
2120
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html#API_control_GetBucket_Examples
|
1809
2121
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
1810
2122
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
@@ -1856,19 +2168,18 @@ module Aws::S3Control
|
|
1856
2168
|
req.send_request(options)
|
1857
2169
|
end
|
1858
2170
|
|
1859
|
-
# <note markdown="1"> This
|
2171
|
+
# <note markdown="1"> This action gets an Amazon S3 on Outposts bucket's lifecycle
|
1860
2172
|
# configuration. To get an S3 bucket's lifecycle configuration, see
|
1861
|
-
# [GetBucketLifecycleConfiguration][1] in the *Amazon
|
1862
|
-
# Service API*.
|
2173
|
+
# [GetBucketLifecycleConfiguration][1] in the *Amazon S3 API Reference*.
|
1863
2174
|
#
|
1864
2175
|
# </note>
|
1865
2176
|
#
|
1866
2177
|
# Returns the lifecycle configuration information set on the Outposts
|
1867
2178
|
# bucket. For more information, see [Using Amazon S3 on Outposts][2] and
|
1868
2179
|
# for information about lifecycle configuration, see [ Object Lifecycle
|
1869
|
-
# Management][3] in *Amazon
|
2180
|
+
# Management][3] in *Amazon S3 User Guide*.
|
1870
2181
|
#
|
1871
|
-
# To use this
|
2182
|
+
# To use this action, you must have permission to perform the
|
1872
2183
|
# `s3-outposts:GetLifecycleConfiguration` action. The Outposts bucket
|
1873
2184
|
# owner has this permission, by default. The bucket owner can grant this
|
1874
2185
|
# permission to others. For more information about permissions, see
|
@@ -1903,10 +2214,10 @@ module Aws::S3Control
|
|
1903
2214
|
#
|
1904
2215
|
#
|
1905
2216
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html
|
1906
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2217
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1907
2218
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html
|
1908
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1909
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2219
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
2220
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
1910
2221
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples
|
1911
2222
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
|
1912
2223
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
@@ -1976,18 +2287,18 @@ module Aws::S3Control
|
|
1976
2287
|
|
1977
2288
|
# <note markdown="1"> This action gets a bucket policy for an Amazon S3 on Outposts bucket.
|
1978
2289
|
# To get a policy for an S3 bucket, see [GetBucketPolicy][1] in the
|
1979
|
-
# *Amazon
|
2290
|
+
# *Amazon S3 API Reference*.
|
1980
2291
|
#
|
1981
2292
|
# </note>
|
1982
2293
|
#
|
1983
2294
|
# Returns the policy of a specified Outposts bucket. For more
|
1984
|
-
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
1985
|
-
#
|
2295
|
+
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon S3
|
2296
|
+
# User Guide*.
|
1986
2297
|
#
|
1987
2298
|
# If you are using an identity other than the root user of the AWS
|
1988
2299
|
# account that owns the bucket, the calling identity must have the
|
1989
2300
|
# `GetBucketPolicy` permissions on the specified bucket and belong to
|
1990
|
-
# the bucket owner's account in order to use this
|
2301
|
+
# the bucket owner's account in order to use this action.
|
1991
2302
|
#
|
1992
2303
|
# Only users from Outposts bucket owner account with the right
|
1993
2304
|
# permissions can perform actions on an Outposts bucket. If you don't
|
@@ -1996,7 +2307,7 @@ module Aws::S3Control
|
|
1996
2307
|
# returns a `403 Access Denied` error.
|
1997
2308
|
#
|
1998
2309
|
# As a security precaution, the root user of the AWS account that owns a
|
1999
|
-
# bucket can always use this
|
2310
|
+
# bucket can always use this action, even if the policy explicitly
|
2000
2311
|
# denies the root user the ability to perform this action.
|
2001
2312
|
#
|
2002
2313
|
# For more information about bucket policies, see [Using Bucket Policies
|
@@ -2021,7 +2332,7 @@ module Aws::S3Control
|
|
2021
2332
|
#
|
2022
2333
|
#
|
2023
2334
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicy.html
|
2024
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2335
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2025
2336
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2026
2337
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples
|
2027
2338
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
@@ -2070,17 +2381,17 @@ module Aws::S3Control
|
|
2070
2381
|
req.send_request(options)
|
2071
2382
|
end
|
2072
2383
|
|
2073
|
-
# <note markdown="1"> This
|
2074
|
-
#
|
2075
|
-
#
|
2384
|
+
# <note markdown="1"> This action gets an Amazon S3 on Outposts bucket's tags. To get an S3
|
2385
|
+
# bucket tags, see [GetBucketTagging][1] in the *Amazon S3 API
|
2386
|
+
# Reference*.
|
2076
2387
|
#
|
2077
2388
|
# </note>
|
2078
2389
|
#
|
2079
2390
|
# Returns the tag set associated with the Outposts bucket. For more
|
2080
|
-
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
2081
|
-
#
|
2391
|
+
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon S3
|
2392
|
+
# User Guide*.
|
2082
2393
|
#
|
2083
|
-
# To use this
|
2394
|
+
# To use this action, you must have permission to perform the
|
2084
2395
|
# `GetBucketTagging` action. By default, the bucket owner has this
|
2085
2396
|
# permission and can grant this permission to others.
|
2086
2397
|
#
|
@@ -2109,7 +2420,7 @@ module Aws::S3Control
|
|
2109
2420
|
#
|
2110
2421
|
#
|
2111
2422
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html
|
2112
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2423
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2113
2424
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html#API_control_GetBucketTagging_Examples
|
2114
2425
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
2115
2426
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
|
@@ -2161,7 +2472,7 @@ module Aws::S3Control
|
|
2161
2472
|
# Returns the tags on an S3 Batch Operations job. To use this operation,
|
2162
2473
|
# you must have permission to perform the `s3:GetJobTagging` action. For
|
2163
2474
|
# more information, see [Controlling access and labeling jobs using
|
2164
|
-
# tags][1] in the *Amazon
|
2475
|
+
# tags][1] in the *Amazon S3 User Guide*.
|
2165
2476
|
#
|
2166
2477
|
#
|
2167
2478
|
#
|
@@ -2260,12 +2571,12 @@ module Aws::S3Control
|
|
2260
2571
|
|
2261
2572
|
# Gets the Amazon S3 Storage Lens configuration. For more information,
|
2262
2573
|
# see [Assessing your storage activity and usage with Amazon S3 Storage
|
2263
|
-
# Lens ][1] in the *Amazon
|
2574
|
+
# Lens ][1] in the *Amazon S3 User Guide*.
|
2264
2575
|
#
|
2265
2576
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2266
2577
|
# `s3:GetStorageLensConfiguration` action. For more information, see
|
2267
2578
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
2268
|
-
#
|
2579
|
+
# S3 User Guide*.
|
2269
2580
|
#
|
2270
2581
|
# </note>
|
2271
2582
|
#
|
@@ -2329,13 +2640,13 @@ module Aws::S3Control
|
|
2329
2640
|
|
2330
2641
|
# Gets the tags of Amazon S3 Storage Lens configuration. For more
|
2331
2642
|
# information about S3 Storage Lens, see [Assessing your storage
|
2332
|
-
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
2333
|
-
#
|
2643
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon S3
|
2644
|
+
# User Guide*.
|
2334
2645
|
#
|
2335
2646
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2336
2647
|
# `s3:GetStorageLensConfigurationTagging` action. For more information,
|
2337
2648
|
# see [Setting permissions to use Amazon S3 Storage Lens][2] in the
|
2338
|
-
# *Amazon
|
2649
|
+
# *Amazon S3 User Guide*.
|
2339
2650
|
#
|
2340
2651
|
# </note>
|
2341
2652
|
#
|
@@ -2475,10 +2786,79 @@ module Aws::S3Control
|
|
2475
2786
|
req.send_request(options)
|
2476
2787
|
end
|
2477
2788
|
|
2789
|
+
# Returns a list of the access points associated with the Object Lambda
|
2790
|
+
# Access Point. You can retrieve up to 1000 access points per call. If
|
2791
|
+
# there are more than 1,000 access points (or the number specified in
|
2792
|
+
# `maxResults`, whichever is less), the response will include a
|
2793
|
+
# continuation token that you can use to list the additional access
|
2794
|
+
# points.
|
2795
|
+
#
|
2796
|
+
# The following actions are related to
|
2797
|
+
# `ListAccessPointsForObjectLambda`\:
|
2798
|
+
#
|
2799
|
+
# * [CreateAccessPointForObjectLambda][1]
|
2800
|
+
#
|
2801
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
2802
|
+
#
|
2803
|
+
# * [GetAccessPointForObjectLambda][3]
|
2804
|
+
#
|
2805
|
+
#
|
2806
|
+
#
|
2807
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
2808
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
2809
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
2810
|
+
#
|
2811
|
+
# @option params [required, String] :account_id
|
2812
|
+
# The account ID for the account that owns the specified Object Lambda
|
2813
|
+
# Access Point.
|
2814
|
+
#
|
2815
|
+
# @option params [String] :next_token
|
2816
|
+
# If the list has more access points than can be returned in one call to
|
2817
|
+
# this API, this field contains a continuation token that you can
|
2818
|
+
# provide in subsequent calls to this API to retrieve additional access
|
2819
|
+
# points.
|
2820
|
+
#
|
2821
|
+
# @option params [Integer] :max_results
|
2822
|
+
# The maximum number of access points that you want to include in the
|
2823
|
+
# list. If there are more than this number of access points, then the
|
2824
|
+
# response will include a continuation token in the `NextToken` field
|
2825
|
+
# that you can use to retrieve the next page of access points.
|
2826
|
+
#
|
2827
|
+
# @return [Types::ListAccessPointsForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2828
|
+
#
|
2829
|
+
# * {Types::ListAccessPointsForObjectLambdaResult#object_lambda_access_point_list #object_lambda_access_point_list} => Array<Types::ObjectLambdaAccessPoint>
|
2830
|
+
# * {Types::ListAccessPointsForObjectLambdaResult#next_token #next_token} => String
|
2831
|
+
#
|
2832
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2833
|
+
#
|
2834
|
+
# @example Request syntax with placeholder values
|
2835
|
+
#
|
2836
|
+
# resp = client.list_access_points_for_object_lambda({
|
2837
|
+
# account_id: "AccountId", # required
|
2838
|
+
# next_token: "NonEmptyMaxLength1024String",
|
2839
|
+
# max_results: 1,
|
2840
|
+
# })
|
2841
|
+
#
|
2842
|
+
# @example Response structure
|
2843
|
+
#
|
2844
|
+
# resp.object_lambda_access_point_list #=> Array
|
2845
|
+
# resp.object_lambda_access_point_list[0].name #=> String
|
2846
|
+
# resp.object_lambda_access_point_list[0].object_lambda_access_point_arn #=> String
|
2847
|
+
# resp.next_token #=> String
|
2848
|
+
#
|
2849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForObjectLambda AWS API Documentation
|
2850
|
+
#
|
2851
|
+
# @overload list_access_points_for_object_lambda(params = {})
|
2852
|
+
# @param [Hash] params ({})
|
2853
|
+
def list_access_points_for_object_lambda(params = {}, options = {})
|
2854
|
+
req = build_request(:list_access_points_for_object_lambda, params)
|
2855
|
+
req.send_request(options)
|
2856
|
+
end
|
2857
|
+
|
2478
2858
|
# Lists current S3 Batch Operations jobs and jobs that have ended within
|
2479
2859
|
# the last 30 days for the AWS account making the request. For more
|
2480
|
-
# information, see [S3 Batch Operations][1] in the *Amazon
|
2481
|
-
#
|
2860
|
+
# information, see [S3 Batch Operations][1] in the *Amazon S3 User
|
2861
|
+
# Guide*.
|
2482
2862
|
#
|
2483
2863
|
# Related actions include:
|
2484
2864
|
#
|
@@ -2560,8 +2940,7 @@ module Aws::S3Control
|
|
2560
2940
|
|
2561
2941
|
# Returns a list of all Outposts buckets in an Outpost that are owned by
|
2562
2942
|
# the authenticated sender of the request. For more information, see
|
2563
|
-
# [Using Amazon S3 on Outposts][1] in the *Amazon
|
2564
|
-
# Developer Guide*.
|
2943
|
+
# [Using Amazon S3 on Outposts][1] in the *Amazon S3 User Guide*.
|
2565
2944
|
#
|
2566
2945
|
# For an example of the request syntax for Amazon S3 on Outposts that
|
2567
2946
|
# uses the S3 on Outposts endpoint hostname prefix and
|
@@ -2569,7 +2948,7 @@ module Aws::S3Control
|
|
2569
2948
|
#
|
2570
2949
|
#
|
2571
2950
|
#
|
2572
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2951
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2573
2952
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples
|
2574
2953
|
#
|
2575
2954
|
# @option params [required, String] :account_id
|
@@ -2623,13 +3002,13 @@ module Aws::S3Control
|
|
2623
3002
|
|
2624
3003
|
# Gets a list of Amazon S3 Storage Lens configurations. For more
|
2625
3004
|
# information about S3 Storage Lens, see [Assessing your storage
|
2626
|
-
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
2627
|
-
#
|
3005
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon S3
|
3006
|
+
# User Guide*.
|
2628
3007
|
#
|
2629
3008
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2630
3009
|
# `s3:ListStorageLensConfigurations` action. For more information, see
|
2631
3010
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
2632
|
-
#
|
3011
|
+
# S3 User Guide*.
|
2633
3012
|
#
|
2634
3013
|
# </note>
|
2635
3014
|
#
|
@@ -2649,6 +3028,8 @@ module Aws::S3Control
|
|
2649
3028
|
# * {Types::ListStorageLensConfigurationsResult#next_token #next_token} => String
|
2650
3029
|
# * {Types::ListStorageLensConfigurationsResult#storage_lens_configuration_list #storage_lens_configuration_list} => Array<Types::ListStorageLensConfigurationEntry>
|
2651
3030
|
#
|
3031
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3032
|
+
#
|
2652
3033
|
# @example Request syntax with placeholder values
|
2653
3034
|
#
|
2654
3035
|
# resp = client.list_storage_lens_configurations({
|
@@ -2674,6 +3055,63 @@ module Aws::S3Control
|
|
2674
3055
|
req.send_request(options)
|
2675
3056
|
end
|
2676
3057
|
|
3058
|
+
# Replaces configuration for an Object Lambda Access Point.
|
3059
|
+
#
|
3060
|
+
# The following actions are related to
|
3061
|
+
# `PutAccessPointConfigurationForObjectLambda`\:
|
3062
|
+
#
|
3063
|
+
# * [GetAccessPointConfigurationForObjectLambda][1]
|
3064
|
+
#
|
3065
|
+
# ^
|
3066
|
+
#
|
3067
|
+
#
|
3068
|
+
#
|
3069
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointConfigurationForObjectLambda.html
|
3070
|
+
#
|
3071
|
+
# @option params [required, String] :account_id
|
3072
|
+
# The account ID for the account that owns the specified Object Lambda
|
3073
|
+
# Access Point.
|
3074
|
+
#
|
3075
|
+
# @option params [required, String] :name
|
3076
|
+
# The name of the Object Lambda Access Point.
|
3077
|
+
#
|
3078
|
+
# @option params [required, Types::ObjectLambdaConfiguration] :configuration
|
3079
|
+
# Object Lambda Access Point configuration document.
|
3080
|
+
#
|
3081
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3082
|
+
#
|
3083
|
+
# @example Request syntax with placeholder values
|
3084
|
+
#
|
3085
|
+
# resp = client.put_access_point_configuration_for_object_lambda({
|
3086
|
+
# account_id: "AccountId", # required
|
3087
|
+
# name: "ObjectLambdaAccessPointName", # required
|
3088
|
+
# configuration: { # required
|
3089
|
+
# supporting_access_point: "ObjectLambdaSupportingAccessPointArn", # required
|
3090
|
+
# cloud_watch_metrics_enabled: false,
|
3091
|
+
# allowed_features: ["GetObject-Range"], # accepts GetObject-Range, GetObject-PartNumber
|
3092
|
+
# transformation_configurations: [ # required
|
3093
|
+
# {
|
3094
|
+
# actions: ["GetObject"], # required, accepts GetObject
|
3095
|
+
# content_transformation: { # required
|
3096
|
+
# aws_lambda: {
|
3097
|
+
# function_arn: "FunctionArnString", # required
|
3098
|
+
# function_payload: "AwsLambdaTransformationPayload",
|
3099
|
+
# },
|
3100
|
+
# },
|
3101
|
+
# },
|
3102
|
+
# ],
|
3103
|
+
# },
|
3104
|
+
# })
|
3105
|
+
#
|
3106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointConfigurationForObjectLambda AWS API Documentation
|
3107
|
+
#
|
3108
|
+
# @overload put_access_point_configuration_for_object_lambda(params = {})
|
3109
|
+
# @param [Hash] params ({})
|
3110
|
+
def put_access_point_configuration_for_object_lambda(params = {}, options = {})
|
3111
|
+
req = build_request(:put_access_point_configuration_for_object_lambda, params)
|
3112
|
+
req.send_request(options)
|
3113
|
+
end
|
3114
|
+
|
2677
3115
|
# Associates an access policy with the specified access point. Each
|
2678
3116
|
# access point can have only one policy, so a request made to this API
|
2679
3117
|
# replaces any existing policy associated with the specified access
|
@@ -2724,12 +3162,11 @@ module Aws::S3Control
|
|
2724
3162
|
# @option params [required, String] :policy
|
2725
3163
|
# The policy that you want to apply to the specified access point. For
|
2726
3164
|
# more information about access point policies, see [Managing data
|
2727
|
-
# access with Amazon S3
|
2728
|
-
# Service Developer Guide*.
|
3165
|
+
# access with Amazon S3 access points][1] in the *Amazon S3 User Guide*.
|
2729
3166
|
#
|
2730
3167
|
#
|
2731
3168
|
#
|
2732
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3169
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
2733
3170
|
#
|
2734
3171
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2735
3172
|
#
|
@@ -2750,19 +3187,62 @@ module Aws::S3Control
|
|
2750
3187
|
req.send_request(options)
|
2751
3188
|
end
|
2752
3189
|
|
3190
|
+
# Creates or replaces resource policy for an Object Lambda Access Point.
|
3191
|
+
# For an example policy, see [Creating Object Lambda Access Points][1]
|
3192
|
+
# in the *Amazon S3 User Guide*.
|
3193
|
+
#
|
3194
|
+
# The following actions are related to
|
3195
|
+
# `PutAccessPointPolicyForObjectLambda`\:
|
3196
|
+
#
|
3197
|
+
# * [DeleteAccessPointPolicyForObjectLambda][2]
|
3198
|
+
#
|
3199
|
+
# * [GetAccessPointPolicyForObjectLambda][3]
|
3200
|
+
#
|
3201
|
+
#
|
3202
|
+
#
|
3203
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-create.html#olap-create-cli
|
3204
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html
|
3205
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html
|
3206
|
+
#
|
3207
|
+
# @option params [required, String] :account_id
|
3208
|
+
# The account ID for the account that owns the specified Object Lambda
|
3209
|
+
# Access Point.
|
3210
|
+
#
|
3211
|
+
# @option params [required, String] :name
|
3212
|
+
# The name of the Object Lambda Access Point.
|
3213
|
+
#
|
3214
|
+
# @option params [required, String] :policy
|
3215
|
+
# Object Lambda Access Point resource policy document.
|
3216
|
+
#
|
3217
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3218
|
+
#
|
3219
|
+
# @example Request syntax with placeholder values
|
3220
|
+
#
|
3221
|
+
# resp = client.put_access_point_policy_for_object_lambda({
|
3222
|
+
# account_id: "AccountId", # required
|
3223
|
+
# name: "ObjectLambdaAccessPointName", # required
|
3224
|
+
# policy: "ObjectLambdaPolicy", # required
|
3225
|
+
# })
|
3226
|
+
#
|
3227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicyForObjectLambda AWS API Documentation
|
3228
|
+
#
|
3229
|
+
# @overload put_access_point_policy_for_object_lambda(params = {})
|
3230
|
+
# @param [Hash] params ({})
|
3231
|
+
def put_access_point_policy_for_object_lambda(params = {}, options = {})
|
3232
|
+
req = build_request(:put_access_point_policy_for_object_lambda, params)
|
3233
|
+
req.send_request(options)
|
3234
|
+
end
|
3235
|
+
|
2753
3236
|
# <note markdown="1"> This action puts a lifecycle configuration to an Amazon S3 on Outposts
|
2754
3237
|
# bucket. To put a lifecycle configuration to an S3 bucket, see
|
2755
|
-
# [PutBucketLifecycleConfiguration][1] in the *Amazon
|
2756
|
-
# Service API*.
|
3238
|
+
# [PutBucketLifecycleConfiguration][1] in the *Amazon S3 API Reference*.
|
2757
3239
|
#
|
2758
3240
|
# </note>
|
2759
3241
|
#
|
2760
|
-
# Creates a new lifecycle configuration for the Outposts bucket or
|
3242
|
+
# Creates a new lifecycle configuration for the S3 on Outposts bucket or
|
2761
3243
|
# replaces an existing lifecycle configuration. Outposts buckets only
|
2762
3244
|
# support lifecycle configurations that delete/expire objects after a
|
2763
|
-
# certain period of time and abort incomplete multipart uploads.
|
2764
|
-
# more information, see [Managing Lifecycle Permissions for Amazon S3 on
|
2765
|
-
# Outposts][2].
|
3245
|
+
# certain period of time and abort incomplete multipart uploads.
|
2766
3246
|
#
|
2767
3247
|
#
|
2768
3248
|
#
|
@@ -2772,22 +3252,21 @@ module Aws::S3Control
|
|
2772
3252
|
# `s3-control`. For an example of the request syntax for Amazon S3 on
|
2773
3253
|
# Outposts that uses the S3 on Outposts endpoint hostname prefix and the
|
2774
3254
|
# `x-amz-outpost-id` derived using the access point ARN, see the
|
2775
|
-
# [Examples][
|
3255
|
+
# [Examples][2] section.
|
2776
3256
|
#
|
2777
3257
|
# The following actions are related to
|
2778
3258
|
# `PutBucketLifecycleConfiguration`\:
|
2779
3259
|
#
|
2780
|
-
# * [GetBucketLifecycleConfiguration][
|
3260
|
+
# * [GetBucketLifecycleConfiguration][3]
|
2781
3261
|
#
|
2782
|
-
# * [DeleteBucketLifecycleConfiguration][
|
3262
|
+
# * [DeleteBucketLifecycleConfiguration][4]
|
2783
3263
|
#
|
2784
3264
|
#
|
2785
3265
|
#
|
2786
3266
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html
|
2787
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2788
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
2789
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
2790
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
3267
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples
|
3268
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html
|
3269
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
2791
3270
|
#
|
2792
3271
|
# @option params [required, String] :account_id
|
2793
3272
|
# The AWS account ID of the Outposts bucket.
|
@@ -2866,18 +3345,18 @@ module Aws::S3Control
|
|
2866
3345
|
|
2867
3346
|
# <note markdown="1"> This action puts a bucket policy to an Amazon S3 on Outposts bucket.
|
2868
3347
|
# To put a policy on an S3 bucket, see [PutBucketPolicy][1] in the
|
2869
|
-
# *Amazon
|
3348
|
+
# *Amazon S3 API Reference*.
|
2870
3349
|
#
|
2871
3350
|
# </note>
|
2872
3351
|
#
|
2873
3352
|
# Applies an Amazon S3 bucket policy to an Outposts bucket. For more
|
2874
|
-
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
2875
|
-
#
|
3353
|
+
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon S3
|
3354
|
+
# User Guide*.
|
2876
3355
|
#
|
2877
3356
|
# If you are using an identity other than the root user of the AWS
|
2878
3357
|
# account that owns the Outposts bucket, the calling identity must have
|
2879
3358
|
# the `PutBucketPolicy` permissions on the specified Outposts bucket and
|
2880
|
-
# belong to the bucket owner's account in order to use this
|
3359
|
+
# belong to the bucket owner's account in order to use this action.
|
2881
3360
|
#
|
2882
3361
|
# If you don't have `PutBucketPolicy` permissions, Amazon S3 returns a
|
2883
3362
|
# `403 Access Denied` error. If you have the correct permissions, but
|
@@ -2885,7 +3364,7 @@ module Aws::S3Control
|
|
2885
3364
|
# account, Amazon S3 returns a `405 Method Not Allowed` error.
|
2886
3365
|
#
|
2887
3366
|
# As a security precaution, the root user of the AWS account that owns a
|
2888
|
-
# bucket can always use this
|
3367
|
+
# bucket can always use this action, even if the policy explicitly
|
2889
3368
|
# denies the root user the ability to perform this action.
|
2890
3369
|
#
|
2891
3370
|
# For more information about bucket policies, see [Using Bucket Policies
|
@@ -2908,7 +3387,7 @@ module Aws::S3Control
|
|
2908
3387
|
#
|
2909
3388
|
#
|
2910
3389
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html
|
2911
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3390
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2912
3391
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2913
3392
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples
|
2914
3393
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
|
@@ -2964,14 +3443,13 @@ module Aws::S3Control
|
|
2964
3443
|
end
|
2965
3444
|
|
2966
3445
|
# <note markdown="1"> This action puts tags on an Amazon S3 on Outposts bucket. To put tags
|
2967
|
-
# on an S3 bucket, see [PutBucketTagging][1] in the *Amazon
|
2968
|
-
#
|
3446
|
+
# on an S3 bucket, see [PutBucketTagging][1] in the *Amazon S3 API
|
3447
|
+
# Reference*.
|
2969
3448
|
#
|
2970
3449
|
# </note>
|
2971
3450
|
#
|
2972
|
-
# Sets the tags for an Outposts bucket. For more information, see
|
2973
|
-
# Amazon S3 on Outposts][2] in the *Amazon
|
2974
|
-
# Developer Guide*.
|
3451
|
+
# Sets the tags for an S3 on Outposts bucket. For more information, see
|
3452
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
2975
3453
|
#
|
2976
3454
|
# Use tags to organize your AWS bill to reflect your own cost structure.
|
2977
3455
|
# To do this, sign up to get your AWS account bill with tag key values
|
@@ -2980,20 +3458,20 @@ module Aws::S3Control
|
|
2980
3458
|
# values. For example, you can tag several resources with a specific
|
2981
3459
|
# application name, and then organize your billing information to see
|
2982
3460
|
# the total cost of that application across several services. For more
|
2983
|
-
# information, see [Cost
|
3461
|
+
# information, see [Cost allocation and tagging][3].
|
2984
3462
|
#
|
2985
3463
|
# <note markdown="1"> Within a bucket, if you add a tag that has the same key as an existing
|
2986
3464
|
# tag, the new value overwrites the old value. For more information, see
|
2987
|
-
# [ Using
|
3465
|
+
# [ Using cost allocation in Amazon S3 bucket tags][4].
|
2988
3466
|
#
|
2989
3467
|
# </note>
|
2990
3468
|
#
|
2991
|
-
# To use this
|
3469
|
+
# To use this action, you must have permissions to perform the
|
2992
3470
|
# `s3-outposts:PutBucketTagging` action. The Outposts bucket owner has
|
2993
3471
|
# this permission by default and can grant this permission to others.
|
2994
3472
|
# For more information about permissions, see [ Permissions Related to
|
2995
|
-
# Bucket Subresource Operations][5] and [Managing
|
2996
|
-
#
|
3473
|
+
# Bucket Subresource Operations][5] and [Managing access permissions to
|
3474
|
+
# your Amazon S3 resources][6].
|
2997
3475
|
#
|
2998
3476
|
# `PutBucketTagging` has the following special errors:
|
2999
3477
|
#
|
@@ -3014,7 +3492,7 @@ module Aws::S3Control
|
|
3014
3492
|
#
|
3015
3493
|
# * Error code: `OperationAbortedError `
|
3016
3494
|
#
|
3017
|
-
# * Description: A conflicting conditional
|
3495
|
+
# * Description: A conflicting conditional action is currently in
|
3018
3496
|
# progress against this resource. Try again.
|
3019
3497
|
#
|
3020
3498
|
# ^
|
@@ -3043,11 +3521,11 @@ module Aws::S3Control
|
|
3043
3521
|
#
|
3044
3522
|
#
|
3045
3523
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html
|
3046
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3524
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
3047
3525
|
# [3]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
|
3048
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3049
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3050
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3526
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html
|
3527
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
3528
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
3051
3529
|
# [7]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
|
3052
3530
|
# [8]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html
|
3053
3531
|
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples
|
@@ -3110,7 +3588,7 @@ module Aws::S3Control
|
|
3110
3588
|
# [GetJobTagging][1], modify that tag set, and use this action to
|
3111
3589
|
# replace the tag set with the one you modified. For more information,
|
3112
3590
|
# see [Controlling access and labeling jobs using tags][2] in the
|
3113
|
-
# *Amazon
|
3591
|
+
# *Amazon S3 User Guide*.
|
3114
3592
|
#
|
3115
3593
|
#
|
3116
3594
|
#
|
@@ -3143,7 +3621,7 @@ module Aws::S3Control
|
|
3143
3621
|
#
|
3144
3622
|
#
|
3145
3623
|
#
|
3146
|
-
# To use this
|
3624
|
+
# To use this action, you must have permission to perform the
|
3147
3625
|
# `s3:PutJobTagging` action.
|
3148
3626
|
#
|
3149
3627
|
# Related actions include:
|
@@ -3245,12 +3723,12 @@ module Aws::S3Control
|
|
3245
3723
|
|
3246
3724
|
# Puts an Amazon S3 Storage Lens configuration. For more information
|
3247
3725
|
# about S3 Storage Lens, see [Working with Amazon S3 Storage Lens][1] in
|
3248
|
-
# the *Amazon
|
3726
|
+
# the *Amazon S3 User Guide*.
|
3249
3727
|
#
|
3250
3728
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
3251
3729
|
# `s3:PutStorageLensConfiguration` action. For more information, see
|
3252
3730
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
3253
|
-
#
|
3731
|
+
# S3 User Guide*.
|
3254
3732
|
#
|
3255
3733
|
# </note>
|
3256
3734
|
#
|
@@ -3354,12 +3832,12 @@ module Aws::S3Control
|
|
3354
3832
|
# Put or replace tags on an existing Amazon S3 Storage Lens
|
3355
3833
|
# configuration. For more information about S3 Storage Lens, see
|
3356
3834
|
# [Assessing your storage activity and usage with Amazon S3 Storage Lens
|
3357
|
-
# ][1] in the *Amazon
|
3835
|
+
# ][1] in the *Amazon S3 User Guide*.
|
3358
3836
|
#
|
3359
3837
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
3360
3838
|
# `s3:PutStorageLensConfigurationTagging` action. For more information,
|
3361
3839
|
# see [Setting permissions to use Amazon S3 Storage Lens][2] in the
|
3362
|
-
# *Amazon
|
3840
|
+
# *Amazon S3 User Guide*.
|
3363
3841
|
#
|
3364
3842
|
# </note>
|
3365
3843
|
#
|
@@ -3406,8 +3884,8 @@ module Aws::S3Control
|
|
3406
3884
|
end
|
3407
3885
|
|
3408
3886
|
# Updates an existing S3 Batch Operations job's priority. For more
|
3409
|
-
# information, see [S3 Batch Operations][1] in the *Amazon
|
3410
|
-
#
|
3887
|
+
# information, see [S3 Batch Operations][1] in the *Amazon S3 User
|
3888
|
+
# Guide*.
|
3411
3889
|
#
|
3412
3890
|
#
|
3413
3891
|
#
|
@@ -3465,10 +3943,10 @@ module Aws::S3Control
|
|
3465
3943
|
req.send_request(options)
|
3466
3944
|
end
|
3467
3945
|
|
3468
|
-
# Updates the status for the specified job. Use this
|
3469
|
-
#
|
3470
|
-
#
|
3471
|
-
#
|
3946
|
+
# Updates the status for the specified job. Use this action to confirm
|
3947
|
+
# that you want to run a job or to cancel an existing job. For more
|
3948
|
+
# information, see [S3 Batch Operations][1] in the *Amazon S3 User
|
3949
|
+
# Guide*.
|
3472
3950
|
#
|
3473
3951
|
#
|
3474
3952
|
#
|
@@ -3546,7 +4024,7 @@ module Aws::S3Control
|
|
3546
4024
|
params: params,
|
3547
4025
|
config: config)
|
3548
4026
|
context[:gem_name] = 'aws-sdk-s3control'
|
3549
|
-
context[:gem_version] = '1.
|
4027
|
+
context[:gem_version] = '1.33.0'
|
3550
4028
|
Seahorse::Client::Request.new(handlers, context)
|
3551
4029
|
end
|
3552
4030
|
|