aws-sdk-s3control 1.27.0 → 1.32.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 +182 -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 +678 -182
- 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 +606 -31
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7db9ccab931b3fddd22106d4aafc2e93537236819ee849276aa364213afcaaa1
|
4
|
+
data.tar.gz: 77230fe2dd26eb25c76e0db069e4e2e168534f25b07ede57fbe421a66d8b277d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 442df959935ffa4295d1cde5e7a948d939d6e93bcb47c3957b2aa5632a53e843cdfdc5cf7ace833915dbac68a1a7800f2ee2339fd89decabf752f91f8f57aec4
|
7
|
+
data.tar.gz: a4db1850bddb6312cc37d1b7cfcaa91e626f868590fbffca205f77db7b0a38b98dcee0f7872721ceb075983b62f4288d87b9527898cc510f50ac33a5fb31fb8c
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.32.0 (2021-03-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for s3-control
|
8
|
+
|
9
|
+
1.31.0 (2021-03-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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
|
13
|
+
|
14
|
+
1.30.0 (2021-03-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.29.0 (2021-03-08)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Documentation updates for Amazon S3
|
23
|
+
|
24
|
+
1.28.0 (2021-02-23)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Documentation updates for s3-control
|
28
|
+
|
29
|
+
1.27.0 (2021-02-02)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Amazon S3 Batch Operations now supports Delete Object Tagging
|
33
|
+
|
34
|
+
* 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`.
|
35
|
+
|
36
|
+
1.26.0 (2021-01-14)
|
37
|
+
------------------
|
38
|
+
|
39
|
+
* Feature - Amazon S3 Batch Operations now supports restoring objects from the S3 Intelligent-Tiering Archive Access and Deep Archive Access tiers.
|
40
|
+
|
41
|
+
1.25.0 (2020-11-18)
|
42
|
+
------------------
|
43
|
+
|
44
|
+
* 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.
|
45
|
+
|
46
|
+
1.24.0 (2020-09-30)
|
47
|
+
------------------
|
48
|
+
|
49
|
+
* 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.
|
50
|
+
|
51
|
+
* Feature - Support Outpost Access Point and Outpost Bucket ARNs.
|
52
|
+
|
53
|
+
1.23.0 (2020-09-15)
|
54
|
+
------------------
|
55
|
+
|
56
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
57
|
+
|
58
|
+
1.22.0 (2020-08-25)
|
59
|
+
------------------
|
60
|
+
|
61
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
62
|
+
|
63
|
+
1.21.0 (2020-06-23)
|
64
|
+
------------------
|
65
|
+
|
66
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
67
|
+
|
68
|
+
1.20.1 (2020-06-11)
|
69
|
+
------------------
|
70
|
+
|
71
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
72
|
+
|
73
|
+
1.20.0 (2020-06-10)
|
74
|
+
------------------
|
75
|
+
|
76
|
+
* Issue - This version has been yanked. (#2327).
|
77
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
78
|
+
|
79
|
+
1.19.0 (2020-05-28)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
83
|
+
|
84
|
+
1.18.0 (2020-05-07)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
88
|
+
|
89
|
+
1.17.0 (2020-05-04)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Feature - Amazon S3 Batch Operations now supports Object Lock.
|
93
|
+
|
94
|
+
1.16.0 (2020-03-16)
|
95
|
+
------------------
|
96
|
+
|
97
|
+
* Feature - Amazon S3 now supports Batch Operations job tagging.
|
98
|
+
|
99
|
+
1.15.0 (2020-03-09)
|
100
|
+
------------------
|
101
|
+
|
102
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
103
|
+
|
104
|
+
1.14.0 (2019-12-03)
|
105
|
+
------------------
|
106
|
+
|
107
|
+
* 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.
|
108
|
+
|
109
|
+
1.13.0 (2019-10-23)
|
110
|
+
------------------
|
111
|
+
|
112
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
113
|
+
|
114
|
+
1.12.0 (2019-07-25)
|
115
|
+
------------------
|
116
|
+
|
117
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
118
|
+
|
119
|
+
1.11.0 (2019-07-01)
|
120
|
+
------------------
|
121
|
+
|
122
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
123
|
+
|
124
|
+
1.10.0 (2019-06-17)
|
125
|
+
------------------
|
126
|
+
|
127
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
128
|
+
|
129
|
+
1.9.0 (2019-05-29)
|
130
|
+
------------------
|
131
|
+
|
132
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
133
|
+
|
134
|
+
1.8.0 (2019-05-21)
|
135
|
+
------------------
|
136
|
+
|
137
|
+
* Feature - API update.
|
138
|
+
|
139
|
+
1.7.0 (2019-05-15)
|
140
|
+
------------------
|
141
|
+
|
142
|
+
* Feature - API update.
|
143
|
+
|
144
|
+
1.6.0 (2019-05-14)
|
145
|
+
------------------
|
146
|
+
|
147
|
+
* Feature - API update.
|
148
|
+
|
149
|
+
1.5.0 (2019-04-30)
|
150
|
+
------------------
|
151
|
+
|
152
|
+
* Feature - API update.
|
153
|
+
|
154
|
+
1.4.0 (2019-03-21)
|
155
|
+
------------------
|
156
|
+
|
157
|
+
* Feature - API update.
|
158
|
+
|
159
|
+
1.3.0 (2019-03-18)
|
160
|
+
------------------
|
161
|
+
|
162
|
+
* Feature - API update.
|
163
|
+
|
164
|
+
1.2.0 (2019-03-14)
|
165
|
+
------------------
|
166
|
+
|
167
|
+
* Feature - API update.
|
168
|
+
|
169
|
+
1.1.0 (2018-11-20)
|
170
|
+
------------------
|
171
|
+
|
172
|
+
* Feature - Support S3 Control plugin working with endpoint trait.
|
173
|
+
|
174
|
+
1.0.1 (2018-11-16)
|
175
|
+
------------------
|
176
|
+
|
177
|
+
* Issue - Update version dependency on `aws-sdk-core` to support endpoint discovery.
|
178
|
+
|
179
|
+
1.0.0 (2018-11-15)
|
180
|
+
------------------
|
181
|
+
|
182
|
+
* 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.32.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.32.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 Simple Storage Service
|
349
|
-
#
|
350
|
-
#
|
348
|
+
# Points][1] in the *Amazon Simple Storage Service User Guide*.
|
351
349
|
#
|
352
|
-
# **Using this action with Amazon S3 on Outposts**
|
353
350
|
#
|
354
|
-
# This action:
|
355
351
|
#
|
356
|
-
#
|
357
|
-
# Outposts only supports VPC style access points.
|
352
|
+
# <note markdown="1"> S3 on Outposts only supports VPC-style Access Points.
|
358
353
|
#
|
359
|
-
#
|
354
|
+
# For more information, see [ Accessing Amazon S3 on Outposts using
|
355
|
+
# virtual private cloud (VPC) only Access Points][2] in the *Amazon
|
356
|
+
# Simple Storage Service User Guide*.
|
360
357
|
#
|
361
|
-
#
|
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,129 @@ module Aws::S3Control
|
|
471
454
|
req.send_request(options)
|
472
455
|
end
|
473
456
|
|
474
|
-
#
|
475
|
-
#
|
476
|
-
# Service
|
457
|
+
# Creates an Object Lambda Access Point. For more information, see
|
458
|
+
# [Transforming objects with Object Lambda Access Points][1] in the
|
459
|
+
# *Amazon Simple Storage Service 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 Simple Storage Service
|
529
|
+
# API*.
|
477
530
|
#
|
478
531
|
# </note>
|
479
532
|
#
|
480
533
|
# Creates a new Outposts bucket. By creating the bucket, you become the
|
481
534
|
# bucket owner. To create an Outposts bucket, you must have S3 on
|
482
535
|
# Outposts. For more information, see [Using Amazon S3 on Outposts][2]
|
483
|
-
# in *Amazon Simple Storage Service
|
536
|
+
# in *Amazon Simple Storage Service User Guide*.
|
484
537
|
#
|
485
538
|
# Not every string is an acceptable bucket name. For information on
|
486
539
|
# bucket naming restrictions, see [Working with Amazon S3 Buckets][3].
|
487
540
|
#
|
488
|
-
# S3 on Outposts buckets
|
541
|
+
# S3 on Outposts buckets support:
|
489
542
|
#
|
490
|
-
# *
|
491
|
-
# buckets.
|
543
|
+
# * Tags
|
492
544
|
#
|
493
|
-
# *
|
545
|
+
# * LifecycleConfigurations for deleting expired objects
|
494
546
|
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
547
|
+
# For a complete list of restrictions and Amazon S3 feature limitations
|
548
|
+
# on S3 on Outposts, see [ Amazon S3 on Outposts Restrictions and
|
549
|
+
# Limitations][4].
|
498
550
|
#
|
499
551
|
# For an example of the request syntax for Amazon S3 on Outposts that
|
500
552
|
# uses the S3 on Outposts endpoint hostname prefix and
|
501
|
-
# `x-amz-outpost-id` in your API request, see the [Examples][
|
553
|
+
# `x-amz-outpost-id` in your API request, see the [Examples][5] section.
|
502
554
|
#
|
503
555
|
# The following actions are related to `CreateBucket` for Amazon S3 on
|
504
556
|
# Outposts:
|
505
557
|
#
|
506
|
-
# * [PutObject][
|
558
|
+
# * [PutObject][6]
|
507
559
|
#
|
508
|
-
# * [GetBucket][
|
560
|
+
# * [GetBucket][7]
|
509
561
|
#
|
510
|
-
# * [DeleteBucket][
|
562
|
+
# * [DeleteBucket][8]
|
511
563
|
#
|
512
|
-
# * [CreateAccessPoint][
|
564
|
+
# * [CreateAccessPoint][9]
|
513
565
|
#
|
514
|
-
# * [PutAccessPointPolicy][
|
566
|
+
# * [PutAccessPointPolicy][10]
|
515
567
|
#
|
516
568
|
#
|
517
569
|
#
|
518
570
|
# [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/
|
571
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
572
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/BucketRestrictions.html#bucketnamingrules
|
573
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OnOutpostsRestrictionsLimitations.html
|
574
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html#API_control_CreateBucket_Examples
|
575
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
576
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
|
577
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html
|
578
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html
|
579
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html
|
527
580
|
#
|
528
581
|
# @option params [String] :acl
|
529
582
|
# The canned ACL to apply to the bucket.
|
@@ -630,13 +683,13 @@ module Aws::S3Control
|
|
630
683
|
req.send_request(options)
|
631
684
|
end
|
632
685
|
|
633
|
-
# You can use S3 Batch Operations to perform large-scale batch
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
637
|
-
#
|
686
|
+
# You can use S3 Batch Operations to perform large-scale batch actions
|
687
|
+
# on Amazon S3 objects. Batch Operations can run a single action on
|
688
|
+
# lists of Amazon S3 objects that you specify. For more information, see
|
689
|
+
# [S3 Batch Operations][1] in the *Amazon Simple Storage Service User
|
690
|
+
# Guide*.
|
638
691
|
#
|
639
|
-
# This
|
692
|
+
# This action creates a S3 Batch Operations job.
|
640
693
|
#
|
641
694
|
#
|
642
695
|
#
|
@@ -670,14 +723,13 @@ module Aws::S3Control
|
|
670
723
|
# S3 console.
|
671
724
|
#
|
672
725
|
# @option params [required, Types::JobOperation] :operation
|
673
|
-
# The
|
674
|
-
#
|
675
|
-
#
|
676
|
-
# Guide*.
|
726
|
+
# The action that you want this job to perform on every object listed in
|
727
|
+
# the manifest. For more information about the available actions, see
|
728
|
+
# [Operations][1] in the *Amazon Simple Storage Service User Guide*.
|
677
729
|
#
|
678
730
|
#
|
679
731
|
#
|
680
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-
|
732
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-actions.html
|
681
733
|
#
|
682
734
|
# @option params [required, Types::JobReport] :report
|
683
735
|
# Configuration parameters for the optional job-completion report.
|
@@ -704,7 +756,7 @@ module Aws::S3Control
|
|
704
756
|
# @option params [required, String] :role_arn
|
705
757
|
# The Amazon Resource Name (ARN) for the AWS Identity and Access
|
706
758
|
# Management (IAM) role that Batch Operations will use to run this
|
707
|
-
# job's
|
759
|
+
# job's action on every object in the manifest.
|
708
760
|
#
|
709
761
|
# @option params [Array<Types::S3Tag>] :tags
|
710
762
|
# A set of tags to associate with the S3 Batch Operations job. This is
|
@@ -921,6 +973,48 @@ module Aws::S3Control
|
|
921
973
|
req.send_request(options)
|
922
974
|
end
|
923
975
|
|
976
|
+
# Deletes the specified Object Lambda Access Point.
|
977
|
+
#
|
978
|
+
# The following actions are related to
|
979
|
+
# `DeleteAccessPointForObjectLambda`\:
|
980
|
+
#
|
981
|
+
# * [CreateAccessPointForObjectLambda][1]
|
982
|
+
#
|
983
|
+
# * [GetAccessPointForObjectLambda][2]
|
984
|
+
#
|
985
|
+
# * [ListAccessPointsForObjectLambda][3]
|
986
|
+
#
|
987
|
+
#
|
988
|
+
#
|
989
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
990
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
991
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
992
|
+
#
|
993
|
+
# @option params [required, String] :account_id
|
994
|
+
# The account ID for the account that owns the specified Object Lambda
|
995
|
+
# Access Point.
|
996
|
+
#
|
997
|
+
# @option params [required, String] :name
|
998
|
+
# The name of the access point you want to delete.
|
999
|
+
#
|
1000
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1001
|
+
#
|
1002
|
+
# @example Request syntax with placeholder values
|
1003
|
+
#
|
1004
|
+
# resp = client.delete_access_point_for_object_lambda({
|
1005
|
+
# account_id: "AccountId", # required
|
1006
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1007
|
+
# })
|
1008
|
+
#
|
1009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointForObjectLambda AWS API Documentation
|
1010
|
+
#
|
1011
|
+
# @overload delete_access_point_for_object_lambda(params = {})
|
1012
|
+
# @param [Hash] params ({})
|
1013
|
+
def delete_access_point_for_object_lambda(params = {}, options = {})
|
1014
|
+
req = build_request(:delete_access_point_for_object_lambda, params)
|
1015
|
+
req.send_request(options)
|
1016
|
+
end
|
1017
|
+
|
924
1018
|
# Deletes the access point policy for the specified access point.
|
925
1019
|
#
|
926
1020
|
#
|
@@ -981,9 +1075,49 @@ module Aws::S3Control
|
|
981
1075
|
req.send_request(options)
|
982
1076
|
end
|
983
1077
|
|
984
|
-
#
|
985
|
-
#
|
986
|
-
#
|
1078
|
+
# Removes the resource policy for an Object Lambda Access Point.
|
1079
|
+
#
|
1080
|
+
# The following actions are related to
|
1081
|
+
# `DeleteAccessPointPolicyForObjectLambda`\:
|
1082
|
+
#
|
1083
|
+
# * [GetAccessPointPolicyForObjectLambda][1]
|
1084
|
+
#
|
1085
|
+
# * [PutAccessPointPolicyForObjectLambda][2]
|
1086
|
+
#
|
1087
|
+
#
|
1088
|
+
#
|
1089
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html
|
1090
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html
|
1091
|
+
#
|
1092
|
+
# @option params [required, String] :account_id
|
1093
|
+
# The account ID for the account that owns the specified Object Lambda
|
1094
|
+
# Access Point.
|
1095
|
+
#
|
1096
|
+
# @option params [required, String] :name
|
1097
|
+
# The name of the Object Lambda Access Point you want to delete the
|
1098
|
+
# policy for.
|
1099
|
+
#
|
1100
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1101
|
+
#
|
1102
|
+
# @example Request syntax with placeholder values
|
1103
|
+
#
|
1104
|
+
# resp = client.delete_access_point_policy_for_object_lambda({
|
1105
|
+
# account_id: "AccountId", # required
|
1106
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1107
|
+
# })
|
1108
|
+
#
|
1109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicyForObjectLambda AWS API Documentation
|
1110
|
+
#
|
1111
|
+
# @overload delete_access_point_policy_for_object_lambda(params = {})
|
1112
|
+
# @param [Hash] params ({})
|
1113
|
+
def delete_access_point_policy_for_object_lambda(params = {}, options = {})
|
1114
|
+
req = build_request(:delete_access_point_policy_for_object_lambda, params)
|
1115
|
+
req.send_request(options)
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket. To delete an S3
|
1119
|
+
# bucket, see [DeleteBucket][1] in the *Amazon Simple Storage Service
|
1120
|
+
# API*.
|
987
1121
|
#
|
988
1122
|
# </note>
|
989
1123
|
#
|
@@ -991,7 +1125,7 @@ module Aws::S3Control
|
|
991
1125
|
# object versions and delete markers) in the bucket must be deleted
|
992
1126
|
# before the bucket itself can be deleted. For more information, see
|
993
1127
|
# [Using Amazon S3 on Outposts][2] in *Amazon Simple Storage Service
|
994
|
-
#
|
1128
|
+
# User Guide*.
|
995
1129
|
#
|
996
1130
|
# All Amazon S3 on Outposts REST API requests for this action require an
|
997
1131
|
# additional parameter of `x-amz-outpost-id` to be passed with the
|
@@ -1012,7 +1146,7 @@ module Aws::S3Control
|
|
1012
1146
|
#
|
1013
1147
|
#
|
1014
1148
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
|
1015
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1149
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1016
1150
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html#API_control_DeleteBucket_Examples
|
1017
1151
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
1018
1152
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
|
@@ -1054,7 +1188,7 @@ module Aws::S3Control
|
|
1054
1188
|
req.send_request(options)
|
1055
1189
|
end
|
1056
1190
|
|
1057
|
-
# <note markdown="1"> This
|
1191
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket's lifecycle
|
1058
1192
|
# configuration. To delete an S3 bucket's lifecycle configuration, see
|
1059
1193
|
# [DeleteBucketLifecycle][1] in the *Amazon Simple Storage Service API*.
|
1060
1194
|
#
|
@@ -1066,10 +1200,10 @@ module Aws::S3Control
|
|
1066
1200
|
# objects never expire, and Amazon S3 on Outposts no longer
|
1067
1201
|
# automatically deletes any objects on the basis of rules contained in
|
1068
1202
|
# the deleted lifecycle configuration. For more information, see [Using
|
1069
|
-
# Amazon S3 on Outposts][2] in *Amazon Simple Storage Service
|
1203
|
+
# Amazon S3 on Outposts][2] in *Amazon Simple Storage Service User
|
1070
1204
|
# Guide*.
|
1071
1205
|
#
|
1072
|
-
# To use this
|
1206
|
+
# To use this action, you must have permission to perform the
|
1073
1207
|
# `s3-outposts:DeleteLifecycleConfiguration` action. By default, the
|
1074
1208
|
# bucket owner has this permission and the Outposts bucket owner can
|
1075
1209
|
# grant this permission to others.
|
@@ -1094,7 +1228,7 @@ module Aws::S3Control
|
|
1094
1228
|
#
|
1095
1229
|
#
|
1096
1230
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
|
1097
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1231
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1098
1232
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples
|
1099
1233
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
|
1100
1234
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
|
@@ -1136,20 +1270,20 @@ module Aws::S3Control
|
|
1136
1270
|
req.send_request(options)
|
1137
1271
|
end
|
1138
1272
|
|
1139
|
-
# <note markdown="1"> This
|
1140
|
-
#
|
1141
|
-
#
|
1273
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket policy. To delete
|
1274
|
+
# an S3 bucket policy, see [DeleteBucketPolicy][1] in the *Amazon Simple
|
1275
|
+
# Storage Service API*.
|
1142
1276
|
#
|
1143
1277
|
# </note>
|
1144
1278
|
#
|
1145
|
-
# This implementation of the DELETE
|
1146
|
-
#
|
1147
|
-
#
|
1148
|
-
#
|
1279
|
+
# This implementation of the DELETE action uses the policy subresource
|
1280
|
+
# to delete the policy of a specified Amazon S3 on Outposts bucket. If
|
1281
|
+
# you are using an identity other than the root user of the AWS account
|
1282
|
+
# that owns the bucket, the calling identity must have the
|
1149
1283
|
# `s3-outposts:DeleteBucketPolicy` permissions on the specified Outposts
|
1150
|
-
# bucket and belong to the bucket owner's account to use this
|
1151
|
-
#
|
1152
|
-
#
|
1284
|
+
# bucket and belong to the bucket owner's account to use this action.
|
1285
|
+
# For more information, see [Using Amazon S3 on Outposts][2] in *Amazon
|
1286
|
+
# Simple Storage Service User Guide*.
|
1153
1287
|
#
|
1154
1288
|
# If you don't have `DeleteBucketPolicy` permissions, Amazon S3 returns
|
1155
1289
|
# a `403 Access Denied` error. If you have the correct permissions, but
|
@@ -1157,7 +1291,7 @@ module Aws::S3Control
|
|
1157
1291
|
# account, Amazon S3 returns a `405 Method Not Allowed` error.
|
1158
1292
|
#
|
1159
1293
|
# As a security precaution, the root user of the AWS account that owns a
|
1160
|
-
# bucket can always use this
|
1294
|
+
# bucket can always use this action, even if the policy explicitly
|
1161
1295
|
# denies the root user the ability to perform this action.
|
1162
1296
|
#
|
1163
1297
|
# For more information about bucket policies, see [Using Bucket Policies
|
@@ -1180,7 +1314,7 @@ module Aws::S3Control
|
|
1180
1314
|
#
|
1181
1315
|
#
|
1182
1316
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html
|
1183
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1317
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1184
1318
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
1185
1319
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples
|
1186
1320
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
|
@@ -1222,17 +1356,17 @@ module Aws::S3Control
|
|
1222
1356
|
req.send_request(options)
|
1223
1357
|
end
|
1224
1358
|
|
1225
|
-
# <note markdown="1"> This
|
1226
|
-
#
|
1227
|
-
#
|
1359
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket's tags. To delete
|
1360
|
+
# an S3 bucket tags, see [DeleteBucketTagging][1] in the *Amazon Simple
|
1361
|
+
# Storage Service API*.
|
1228
1362
|
#
|
1229
1363
|
# </note>
|
1230
1364
|
#
|
1231
1365
|
# Deletes the tags from the Outposts bucket. For more information, see
|
1232
1366
|
# [Using Amazon S3 on Outposts][2] in *Amazon Simple Storage Service
|
1233
|
-
#
|
1367
|
+
# User Guide*.
|
1234
1368
|
#
|
1235
|
-
# To use this
|
1369
|
+
# To use this action, you must have permission to perform the
|
1236
1370
|
# `PutBucketTagging` action. By default, the bucket owner has this
|
1237
1371
|
# permission and can grant this permission to others.
|
1238
1372
|
#
|
@@ -1253,7 +1387,7 @@ module Aws::S3Control
|
|
1253
1387
|
#
|
1254
1388
|
#
|
1255
1389
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html
|
1256
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1390
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1257
1391
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples
|
1258
1392
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html
|
1259
1393
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
@@ -1298,7 +1432,7 @@ module Aws::S3Control
|
|
1298
1432
|
# To use this operation, you must have permission to perform the
|
1299
1433
|
# `s3:DeleteJobTagging` action. For more information, see [Controlling
|
1300
1434
|
# access and labeling jobs using tags][1] in the *Amazon Simple Storage
|
1301
|
-
# Service
|
1435
|
+
# Service User Guide*.
|
1302
1436
|
#
|
1303
1437
|
#
|
1304
1438
|
#
|
@@ -1380,12 +1514,12 @@ module Aws::S3Control
|
|
1380
1514
|
# Deletes the Amazon S3 Storage Lens configuration. For more information
|
1381
1515
|
# about S3 Storage Lens, see [Assessing your storage activity and usage
|
1382
1516
|
# with Amazon S3 Storage Lens ][1] in the *Amazon Simple Storage Service
|
1383
|
-
#
|
1517
|
+
# User Guide*.
|
1384
1518
|
#
|
1385
1519
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
1386
1520
|
# `s3:DeleteStorageLensConfiguration` action. For more information, see
|
1387
1521
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
1388
|
-
# Simple Storage Service
|
1522
|
+
# Simple Storage Service User Guide*.
|
1389
1523
|
#
|
1390
1524
|
# </note>
|
1391
1525
|
#
|
@@ -1421,12 +1555,12 @@ module Aws::S3Control
|
|
1421
1555
|
# Deletes the Amazon S3 Storage Lens configuration tags. For more
|
1422
1556
|
# information about S3 Storage Lens, see [Assessing your storage
|
1423
1557
|
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
1424
|
-
# Simple Storage Service
|
1558
|
+
# Simple Storage Service User Guide*.
|
1425
1559
|
#
|
1426
1560
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
1427
1561
|
# `s3:DeleteStorageLensConfigurationTagging` action. For more
|
1428
1562
|
# information, see [Setting permissions to use Amazon S3 Storage
|
1429
|
-
# Lens][2] in the *Amazon Simple Storage Service
|
1563
|
+
# Lens][2] in the *Amazon Simple Storage Service User Guide*.
|
1430
1564
|
#
|
1431
1565
|
# </note>
|
1432
1566
|
#
|
@@ -1461,7 +1595,7 @@ module Aws::S3Control
|
|
1461
1595
|
|
1462
1596
|
# Retrieves the configuration parameters and status for a Batch
|
1463
1597
|
# Operations job. For more information, see [S3 Batch Operations][1] in
|
1464
|
-
# the *Amazon Simple Storage Service
|
1598
|
+
# the *Amazon Simple Storage Service User Guide*.
|
1465
1599
|
#
|
1466
1600
|
#
|
1467
1601
|
#
|
@@ -1484,6 +1618,7 @@ module Aws::S3Control
|
|
1484
1618
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
1485
1619
|
#
|
1486
1620
|
# @option params [required, String] :account_id
|
1621
|
+
# The AWS account ID associated with the S3 Batch Operations job.
|
1487
1622
|
#
|
1488
1623
|
# @option params [required, String] :job_id
|
1489
1624
|
# The ID for the job whose information you want to retrieve.
|
@@ -1674,6 +1809,114 @@ module Aws::S3Control
|
|
1674
1809
|
req.send_request(options)
|
1675
1810
|
end
|
1676
1811
|
|
1812
|
+
# Returns configuration for an Object Lambda Access Point.
|
1813
|
+
#
|
1814
|
+
# The following actions are related to
|
1815
|
+
# `GetAccessPointConfigurationForObjectLambda`\:
|
1816
|
+
#
|
1817
|
+
# * [PutAccessPointConfigurationForObjectLambda][1]
|
1818
|
+
#
|
1819
|
+
# ^
|
1820
|
+
#
|
1821
|
+
#
|
1822
|
+
#
|
1823
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointConfigurationForObjectLambda.html
|
1824
|
+
#
|
1825
|
+
# @option params [required, String] :account_id
|
1826
|
+
# The account ID for the account that owns the specified Object Lambda
|
1827
|
+
# Access Point.
|
1828
|
+
#
|
1829
|
+
# @option params [required, String] :name
|
1830
|
+
# The name of the Object Lambda Access Point you want to return the
|
1831
|
+
# configuration for.
|
1832
|
+
#
|
1833
|
+
# @return [Types::GetAccessPointConfigurationForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1834
|
+
#
|
1835
|
+
# * {Types::GetAccessPointConfigurationForObjectLambdaResult#configuration #configuration} => Types::ObjectLambdaConfiguration
|
1836
|
+
#
|
1837
|
+
# @example Request syntax with placeholder values
|
1838
|
+
#
|
1839
|
+
# resp = client.get_access_point_configuration_for_object_lambda({
|
1840
|
+
# account_id: "AccountId", # required
|
1841
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1842
|
+
# })
|
1843
|
+
#
|
1844
|
+
# @example Response structure
|
1845
|
+
#
|
1846
|
+
# resp.configuration.supporting_access_point #=> String
|
1847
|
+
# resp.configuration.cloud_watch_metrics_enabled #=> Boolean
|
1848
|
+
# resp.configuration.allowed_features #=> Array
|
1849
|
+
# resp.configuration.allowed_features[0] #=> String, one of "GetObject-Range", "GetObject-PartNumber"
|
1850
|
+
# resp.configuration.transformation_configurations #=> Array
|
1851
|
+
# resp.configuration.transformation_configurations[0].actions #=> Array
|
1852
|
+
# resp.configuration.transformation_configurations[0].actions[0] #=> String, one of "GetObject"
|
1853
|
+
# resp.configuration.transformation_configurations[0].content_transformation.aws_lambda.function_arn #=> String
|
1854
|
+
# resp.configuration.transformation_configurations[0].content_transformation.aws_lambda.function_payload #=> String
|
1855
|
+
#
|
1856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointConfigurationForObjectLambda AWS API Documentation
|
1857
|
+
#
|
1858
|
+
# @overload get_access_point_configuration_for_object_lambda(params = {})
|
1859
|
+
# @param [Hash] params ({})
|
1860
|
+
def get_access_point_configuration_for_object_lambda(params = {}, options = {})
|
1861
|
+
req = build_request(:get_access_point_configuration_for_object_lambda, params)
|
1862
|
+
req.send_request(options)
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# Returns configuration information about the specified Object Lambda
|
1866
|
+
# Access Point
|
1867
|
+
#
|
1868
|
+
# The following actions are related to `GetAccessPointForObjectLambda`\:
|
1869
|
+
#
|
1870
|
+
# * [CreateAccessPointForObjectLambda][1]
|
1871
|
+
#
|
1872
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
1873
|
+
#
|
1874
|
+
# * [ListAccessPointsForObjectLambda][3]
|
1875
|
+
#
|
1876
|
+
#
|
1877
|
+
#
|
1878
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
1879
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
1880
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
1881
|
+
#
|
1882
|
+
# @option params [required, String] :account_id
|
1883
|
+
# The account ID for the account that owns the specified Object Lambda
|
1884
|
+
# Access Point.
|
1885
|
+
#
|
1886
|
+
# @option params [required, String] :name
|
1887
|
+
# The name of the Object Lambda Access Point.
|
1888
|
+
#
|
1889
|
+
# @return [Types::GetAccessPointForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1890
|
+
#
|
1891
|
+
# * {Types::GetAccessPointForObjectLambdaResult#name #name} => String
|
1892
|
+
# * {Types::GetAccessPointForObjectLambdaResult#public_access_block_configuration #public_access_block_configuration} => Types::PublicAccessBlockConfiguration
|
1893
|
+
# * {Types::GetAccessPointForObjectLambdaResult#creation_date #creation_date} => Time
|
1894
|
+
#
|
1895
|
+
# @example Request syntax with placeholder values
|
1896
|
+
#
|
1897
|
+
# resp = client.get_access_point_for_object_lambda({
|
1898
|
+
# account_id: "AccountId", # required
|
1899
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1900
|
+
# })
|
1901
|
+
#
|
1902
|
+
# @example Response structure
|
1903
|
+
#
|
1904
|
+
# resp.name #=> String
|
1905
|
+
# resp.public_access_block_configuration.block_public_acls #=> Boolean
|
1906
|
+
# resp.public_access_block_configuration.ignore_public_acls #=> Boolean
|
1907
|
+
# resp.public_access_block_configuration.block_public_policy #=> Boolean
|
1908
|
+
# resp.public_access_block_configuration.restrict_public_buckets #=> Boolean
|
1909
|
+
# resp.creation_date #=> Time
|
1910
|
+
#
|
1911
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointForObjectLambda AWS API Documentation
|
1912
|
+
#
|
1913
|
+
# @overload get_access_point_for_object_lambda(params = {})
|
1914
|
+
# @param [Hash] params ({})
|
1915
|
+
def get_access_point_for_object_lambda(params = {}, options = {})
|
1916
|
+
req = build_request(:get_access_point_for_object_lambda, params)
|
1917
|
+
req.send_request(options)
|
1918
|
+
end
|
1919
|
+
|
1677
1920
|
# Returns the access point policy associated with the specified access
|
1678
1921
|
# point.
|
1679
1922
|
#
|
@@ -1730,6 +1973,51 @@ module Aws::S3Control
|
|
1730
1973
|
req.send_request(options)
|
1731
1974
|
end
|
1732
1975
|
|
1976
|
+
# Returns the resource policy for an Object Lambda Access Point.
|
1977
|
+
#
|
1978
|
+
# The following actions are related to
|
1979
|
+
# `GetAccessPointPolicyForObjectLambda`\:
|
1980
|
+
#
|
1981
|
+
# * [DeleteAccessPointPolicyForObjectLambda][1]
|
1982
|
+
#
|
1983
|
+
# * [PutAccessPointPolicyForObjectLambda][2]
|
1984
|
+
#
|
1985
|
+
#
|
1986
|
+
#
|
1987
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html
|
1988
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html
|
1989
|
+
#
|
1990
|
+
# @option params [required, String] :account_id
|
1991
|
+
# The account ID for the account that owns the specified Object Lambda
|
1992
|
+
# Access Point.
|
1993
|
+
#
|
1994
|
+
# @option params [required, String] :name
|
1995
|
+
# The name of the Object Lambda Access Point.
|
1996
|
+
#
|
1997
|
+
# @return [Types::GetAccessPointPolicyForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1998
|
+
#
|
1999
|
+
# * {Types::GetAccessPointPolicyForObjectLambdaResult#policy #policy} => String
|
2000
|
+
#
|
2001
|
+
# @example Request syntax with placeholder values
|
2002
|
+
#
|
2003
|
+
# resp = client.get_access_point_policy_for_object_lambda({
|
2004
|
+
# account_id: "AccountId", # required
|
2005
|
+
# name: "ObjectLambdaAccessPointName", # required
|
2006
|
+
# })
|
2007
|
+
#
|
2008
|
+
# @example Response structure
|
2009
|
+
#
|
2010
|
+
# resp.policy #=> String
|
2011
|
+
#
|
2012
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyForObjectLambda AWS API Documentation
|
2013
|
+
#
|
2014
|
+
# @overload get_access_point_policy_for_object_lambda(params = {})
|
2015
|
+
# @param [Hash] params ({})
|
2016
|
+
def get_access_point_policy_for_object_lambda(params = {}, options = {})
|
2017
|
+
req = build_request(:get_access_point_policy_for_object_lambda, params)
|
2018
|
+
req.send_request(options)
|
2019
|
+
end
|
2020
|
+
|
1733
2021
|
# Indicates whether the specified access point currently has a policy
|
1734
2022
|
# that allows public access. For more information about public access
|
1735
2023
|
# through access points, see [Managing Data Access with Amazon S3 Access
|
@@ -1737,7 +2025,7 @@ module Aws::S3Control
|
|
1737
2025
|
#
|
1738
2026
|
#
|
1739
2027
|
#
|
1740
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2028
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
1741
2029
|
#
|
1742
2030
|
# @option params [required, String] :account_id
|
1743
2031
|
# The account ID for the account that owns the specified access point.
|
@@ -1769,16 +2057,50 @@ module Aws::S3Control
|
|
1769
2057
|
req.send_request(options)
|
1770
2058
|
end
|
1771
2059
|
|
2060
|
+
# Returns the status of the resource policy associated with an Object
|
2061
|
+
# Lambda Access Point.
|
2062
|
+
#
|
2063
|
+
# @option params [required, String] :account_id
|
2064
|
+
# The account ID for the account that owns the specified Object Lambda
|
2065
|
+
# Access Point.
|
2066
|
+
#
|
2067
|
+
# @option params [required, String] :name
|
2068
|
+
# The name of the Object Lambda Access Point.
|
2069
|
+
#
|
2070
|
+
# @return [Types::GetAccessPointPolicyStatusForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2071
|
+
#
|
2072
|
+
# * {Types::GetAccessPointPolicyStatusForObjectLambdaResult#policy_status #policy_status} => Types::PolicyStatus
|
2073
|
+
#
|
2074
|
+
# @example Request syntax with placeholder values
|
2075
|
+
#
|
2076
|
+
# resp = client.get_access_point_policy_status_for_object_lambda({
|
2077
|
+
# account_id: "AccountId", # required
|
2078
|
+
# name: "ObjectLambdaAccessPointName", # required
|
2079
|
+
# })
|
2080
|
+
#
|
2081
|
+
# @example Response structure
|
2082
|
+
#
|
2083
|
+
# resp.policy_status.is_public #=> Boolean
|
2084
|
+
#
|
2085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatusForObjectLambda AWS API Documentation
|
2086
|
+
#
|
2087
|
+
# @overload get_access_point_policy_status_for_object_lambda(params = {})
|
2088
|
+
# @param [Hash] params ({})
|
2089
|
+
def get_access_point_policy_status_for_object_lambda(params = {}, options = {})
|
2090
|
+
req = build_request(:get_access_point_policy_status_for_object_lambda, params)
|
2091
|
+
req.send_request(options)
|
2092
|
+
end
|
2093
|
+
|
1772
2094
|
# Gets an Amazon S3 on Outposts bucket. For more information, see [
|
1773
2095
|
# Using Amazon S3 on Outposts][1] in the *Amazon Simple Storage Service
|
1774
|
-
#
|
2096
|
+
# User Guide*.
|
1775
2097
|
#
|
1776
2098
|
# If you are using an identity other than the root user of the AWS
|
1777
|
-
# account that owns the bucket, the calling identity must have
|
1778
|
-
# `s3-outposts:GetBucket` permissions on the specified
|
1779
|
-
# to the bucket owner's account in order to
|
1780
|
-
# users from Outposts bucket owner account with
|
1781
|
-
# can perform actions on an Outposts bucket.
|
2099
|
+
# account that owns the Outposts bucket, the calling identity must have
|
2100
|
+
# the `s3-outposts:GetBucket` permissions on the specified Outposts
|
2101
|
+
# bucket and belong to the Outposts bucket owner's account in order to
|
2102
|
+
# use this action. Only users from Outposts bucket owner account with
|
2103
|
+
# the right permissions can perform actions on an Outposts bucket.
|
1782
2104
|
#
|
1783
2105
|
# If you don't have `s3-outposts:GetBucket` permissions or you're not
|
1784
2106
|
# using an identity that belongs to the bucket owner's account, Amazon
|
@@ -1803,7 +2125,7 @@ module Aws::S3Control
|
|
1803
2125
|
#
|
1804
2126
|
#
|
1805
2127
|
#
|
1806
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2128
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1807
2129
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html#API_control_GetBucket_Examples
|
1808
2130
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
1809
2131
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
@@ -1855,7 +2177,7 @@ module Aws::S3Control
|
|
1855
2177
|
req.send_request(options)
|
1856
2178
|
end
|
1857
2179
|
|
1858
|
-
# <note markdown="1"> This
|
2180
|
+
# <note markdown="1"> This action gets an Amazon S3 on Outposts bucket's lifecycle
|
1859
2181
|
# configuration. To get an S3 bucket's lifecycle configuration, see
|
1860
2182
|
# [GetBucketLifecycleConfiguration][1] in the *Amazon Simple Storage
|
1861
2183
|
# Service API*.
|
@@ -1865,9 +2187,9 @@ module Aws::S3Control
|
|
1865
2187
|
# Returns the lifecycle configuration information set on the Outposts
|
1866
2188
|
# bucket. For more information, see [Using Amazon S3 on Outposts][2] and
|
1867
2189
|
# for information about lifecycle configuration, see [ Object Lifecycle
|
1868
|
-
# Management][3] in *Amazon Simple Storage Service
|
2190
|
+
# Management][3] in *Amazon Simple Storage Service User Guide*.
|
1869
2191
|
#
|
1870
|
-
# To use this
|
2192
|
+
# To use this action, you must have permission to perform the
|
1871
2193
|
# `s3-outposts:GetLifecycleConfiguration` action. The Outposts bucket
|
1872
2194
|
# owner has this permission, by default. The bucket owner can grant this
|
1873
2195
|
# permission to others. For more information about permissions, see
|
@@ -1902,10 +2224,10 @@ module Aws::S3Control
|
|
1902
2224
|
#
|
1903
2225
|
#
|
1904
2226
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html
|
1905
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2227
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1906
2228
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html
|
1907
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1908
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2229
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
2230
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
1909
2231
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples
|
1910
2232
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
|
1911
2233
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
@@ -1981,12 +2303,12 @@ module Aws::S3Control
|
|
1981
2303
|
#
|
1982
2304
|
# Returns the policy of a specified Outposts bucket. For more
|
1983
2305
|
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
1984
|
-
# Simple Storage Service
|
2306
|
+
# Simple Storage Service User Guide*.
|
1985
2307
|
#
|
1986
2308
|
# If you are using an identity other than the root user of the AWS
|
1987
2309
|
# account that owns the bucket, the calling identity must have the
|
1988
2310
|
# `GetBucketPolicy` permissions on the specified bucket and belong to
|
1989
|
-
# the bucket owner's account in order to use this
|
2311
|
+
# the bucket owner's account in order to use this action.
|
1990
2312
|
#
|
1991
2313
|
# Only users from Outposts bucket owner account with the right
|
1992
2314
|
# permissions can perform actions on an Outposts bucket. If you don't
|
@@ -1995,7 +2317,7 @@ module Aws::S3Control
|
|
1995
2317
|
# returns a `403 Access Denied` error.
|
1996
2318
|
#
|
1997
2319
|
# As a security precaution, the root user of the AWS account that owns a
|
1998
|
-
# bucket can always use this
|
2320
|
+
# bucket can always use this action, even if the policy explicitly
|
1999
2321
|
# denies the root user the ability to perform this action.
|
2000
2322
|
#
|
2001
2323
|
# For more information about bucket policies, see [Using Bucket Policies
|
@@ -2020,7 +2342,7 @@ module Aws::S3Control
|
|
2020
2342
|
#
|
2021
2343
|
#
|
2022
2344
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicy.html
|
2023
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2345
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2024
2346
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2025
2347
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples
|
2026
2348
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
@@ -2069,17 +2391,17 @@ module Aws::S3Control
|
|
2069
2391
|
req.send_request(options)
|
2070
2392
|
end
|
2071
2393
|
|
2072
|
-
# <note markdown="1"> This
|
2073
|
-
#
|
2074
|
-
#
|
2394
|
+
# <note markdown="1"> This action gets an Amazon S3 on Outposts bucket's tags. To get an S3
|
2395
|
+
# bucket tags, see [GetBucketTagging][1] in the *Amazon Simple Storage
|
2396
|
+
# Service API*.
|
2075
2397
|
#
|
2076
2398
|
# </note>
|
2077
2399
|
#
|
2078
2400
|
# Returns the tag set associated with the Outposts bucket. For more
|
2079
2401
|
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
2080
|
-
# Simple Storage Service
|
2402
|
+
# Simple Storage Service User Guide*.
|
2081
2403
|
#
|
2082
|
-
# To use this
|
2404
|
+
# To use this action, you must have permission to perform the
|
2083
2405
|
# `GetBucketTagging` action. By default, the bucket owner has this
|
2084
2406
|
# permission and can grant this permission to others.
|
2085
2407
|
#
|
@@ -2108,7 +2430,7 @@ module Aws::S3Control
|
|
2108
2430
|
#
|
2109
2431
|
#
|
2110
2432
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html
|
2111
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2433
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2112
2434
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html#API_control_GetBucketTagging_Examples
|
2113
2435
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
2114
2436
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
|
@@ -2160,7 +2482,7 @@ module Aws::S3Control
|
|
2160
2482
|
# Returns the tags on an S3 Batch Operations job. To use this operation,
|
2161
2483
|
# you must have permission to perform the `s3:GetJobTagging` action. For
|
2162
2484
|
# more information, see [Controlling access and labeling jobs using
|
2163
|
-
# tags][1] in the *Amazon Simple Storage Service
|
2485
|
+
# tags][1] in the *Amazon Simple Storage Service User Guide*.
|
2164
2486
|
#
|
2165
2487
|
#
|
2166
2488
|
#
|
@@ -2259,12 +2581,12 @@ module Aws::S3Control
|
|
2259
2581
|
|
2260
2582
|
# Gets the Amazon S3 Storage Lens configuration. For more information,
|
2261
2583
|
# see [Assessing your storage activity and usage with Amazon S3 Storage
|
2262
|
-
# Lens ][1] in the *Amazon Simple Storage Service
|
2584
|
+
# Lens ][1] in the *Amazon Simple Storage Service User Guide*.
|
2263
2585
|
#
|
2264
2586
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2265
2587
|
# `s3:GetStorageLensConfiguration` action. For more information, see
|
2266
2588
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
2267
|
-
# Simple Storage Service
|
2589
|
+
# Simple Storage Service User Guide*.
|
2268
2590
|
#
|
2269
2591
|
# </note>
|
2270
2592
|
#
|
@@ -2329,12 +2651,12 @@ module Aws::S3Control
|
|
2329
2651
|
# Gets the tags of Amazon S3 Storage Lens configuration. For more
|
2330
2652
|
# information about S3 Storage Lens, see [Assessing your storage
|
2331
2653
|
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
2332
|
-
# Simple Storage Service
|
2654
|
+
# Simple Storage Service User Guide*.
|
2333
2655
|
#
|
2334
2656
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2335
2657
|
# `s3:GetStorageLensConfigurationTagging` action. For more information,
|
2336
2658
|
# see [Setting permissions to use Amazon S3 Storage Lens][2] in the
|
2337
|
-
# *Amazon Simple Storage Service
|
2659
|
+
# *Amazon Simple Storage Service User Guide*.
|
2338
2660
|
#
|
2339
2661
|
# </note>
|
2340
2662
|
#
|
@@ -2474,10 +2796,79 @@ module Aws::S3Control
|
|
2474
2796
|
req.send_request(options)
|
2475
2797
|
end
|
2476
2798
|
|
2799
|
+
# Returns a list of the access points associated with the Object Lambda
|
2800
|
+
# Access Point. You can retrieve up to 1000 access points per call. If
|
2801
|
+
# there are more than 1,000 access points (or the number specified in
|
2802
|
+
# `maxResults`, whichever is less), the response will include a
|
2803
|
+
# continuation token that you can use to list the additional access
|
2804
|
+
# points.
|
2805
|
+
#
|
2806
|
+
# The following actions are related to
|
2807
|
+
# `ListAccessPointsForObjectLambda`\:
|
2808
|
+
#
|
2809
|
+
# * [CreateAccessPointForObjectLambda][1]
|
2810
|
+
#
|
2811
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
2812
|
+
#
|
2813
|
+
# * [GetAccessPointForObjectLambda][3]
|
2814
|
+
#
|
2815
|
+
#
|
2816
|
+
#
|
2817
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
2818
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
2819
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
2820
|
+
#
|
2821
|
+
# @option params [required, String] :account_id
|
2822
|
+
# The account ID for the account that owns the specified Object Lambda
|
2823
|
+
# Access Point.
|
2824
|
+
#
|
2825
|
+
# @option params [String] :next_token
|
2826
|
+
# If the list has more access points than can be returned in one call to
|
2827
|
+
# this API, this field contains a continuation token that you can
|
2828
|
+
# provide in subsequent calls to this API to retrieve additional access
|
2829
|
+
# points.
|
2830
|
+
#
|
2831
|
+
# @option params [Integer] :max_results
|
2832
|
+
# The maximum number of access points that you want to include in the
|
2833
|
+
# list. If there are more than this number of access points, then the
|
2834
|
+
# response will include a continuation token in the `NextToken` field
|
2835
|
+
# that you can use to retrieve the next page of access points.
|
2836
|
+
#
|
2837
|
+
# @return [Types::ListAccessPointsForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2838
|
+
#
|
2839
|
+
# * {Types::ListAccessPointsForObjectLambdaResult#object_lambda_access_point_list #object_lambda_access_point_list} => Array<Types::ObjectLambdaAccessPoint>
|
2840
|
+
# * {Types::ListAccessPointsForObjectLambdaResult#next_token #next_token} => String
|
2841
|
+
#
|
2842
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2843
|
+
#
|
2844
|
+
# @example Request syntax with placeholder values
|
2845
|
+
#
|
2846
|
+
# resp = client.list_access_points_for_object_lambda({
|
2847
|
+
# account_id: "AccountId", # required
|
2848
|
+
# next_token: "NonEmptyMaxLength1024String",
|
2849
|
+
# max_results: 1,
|
2850
|
+
# })
|
2851
|
+
#
|
2852
|
+
# @example Response structure
|
2853
|
+
#
|
2854
|
+
# resp.object_lambda_access_point_list #=> Array
|
2855
|
+
# resp.object_lambda_access_point_list[0].name #=> String
|
2856
|
+
# resp.object_lambda_access_point_list[0].object_lambda_access_point_arn #=> String
|
2857
|
+
# resp.next_token #=> String
|
2858
|
+
#
|
2859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForObjectLambda AWS API Documentation
|
2860
|
+
#
|
2861
|
+
# @overload list_access_points_for_object_lambda(params = {})
|
2862
|
+
# @param [Hash] params ({})
|
2863
|
+
def list_access_points_for_object_lambda(params = {}, options = {})
|
2864
|
+
req = build_request(:list_access_points_for_object_lambda, params)
|
2865
|
+
req.send_request(options)
|
2866
|
+
end
|
2867
|
+
|
2477
2868
|
# Lists current S3 Batch Operations jobs and jobs that have ended within
|
2478
2869
|
# the last 30 days for the AWS account making the request. For more
|
2479
2870
|
# information, see [S3 Batch Operations][1] in the *Amazon Simple
|
2480
|
-
# Storage Service
|
2871
|
+
# Storage Service User Guide*.
|
2481
2872
|
#
|
2482
2873
|
# Related actions include:
|
2483
2874
|
#
|
@@ -2500,6 +2891,7 @@ module Aws::S3Control
|
|
2500
2891
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
2501
2892
|
#
|
2502
2893
|
# @option params [required, String] :account_id
|
2894
|
+
# The AWS account ID associated with the S3 Batch Operations job.
|
2503
2895
|
#
|
2504
2896
|
# @option params [Array<String>] :job_statuses
|
2505
2897
|
# The `List Jobs` request returns jobs that match the statuses listed in
|
@@ -2559,7 +2951,7 @@ module Aws::S3Control
|
|
2559
2951
|
# Returns a list of all Outposts buckets in an Outpost that are owned by
|
2560
2952
|
# the authenticated sender of the request. For more information, see
|
2561
2953
|
# [Using Amazon S3 on Outposts][1] in the *Amazon Simple Storage Service
|
2562
|
-
#
|
2954
|
+
# User Guide*.
|
2563
2955
|
#
|
2564
2956
|
# For an example of the request syntax for Amazon S3 on Outposts that
|
2565
2957
|
# uses the S3 on Outposts endpoint hostname prefix and
|
@@ -2567,7 +2959,7 @@ module Aws::S3Control
|
|
2567
2959
|
#
|
2568
2960
|
#
|
2569
2961
|
#
|
2570
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2962
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2571
2963
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples
|
2572
2964
|
#
|
2573
2965
|
# @option params [required, String] :account_id
|
@@ -2622,12 +3014,12 @@ module Aws::S3Control
|
|
2622
3014
|
# Gets a list of Amazon S3 Storage Lens configurations. For more
|
2623
3015
|
# information about S3 Storage Lens, see [Assessing your storage
|
2624
3016
|
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
2625
|
-
# Simple Storage Service
|
3017
|
+
# Simple Storage Service User Guide*.
|
2626
3018
|
#
|
2627
3019
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2628
3020
|
# `s3:ListStorageLensConfigurations` action. For more information, see
|
2629
3021
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
2630
|
-
# Simple Storage Service
|
3022
|
+
# Simple Storage Service User Guide*.
|
2631
3023
|
#
|
2632
3024
|
# </note>
|
2633
3025
|
#
|
@@ -2647,6 +3039,8 @@ module Aws::S3Control
|
|
2647
3039
|
# * {Types::ListStorageLensConfigurationsResult#next_token #next_token} => String
|
2648
3040
|
# * {Types::ListStorageLensConfigurationsResult#storage_lens_configuration_list #storage_lens_configuration_list} => Array<Types::ListStorageLensConfigurationEntry>
|
2649
3041
|
#
|
3042
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3043
|
+
#
|
2650
3044
|
# @example Request syntax with placeholder values
|
2651
3045
|
#
|
2652
3046
|
# resp = client.list_storage_lens_configurations({
|
@@ -2672,6 +3066,63 @@ module Aws::S3Control
|
|
2672
3066
|
req.send_request(options)
|
2673
3067
|
end
|
2674
3068
|
|
3069
|
+
# Replaces configuration for an Object Lambda Access Point.
|
3070
|
+
#
|
3071
|
+
# The following actions are related to
|
3072
|
+
# `PutAccessPointConfigurationForObjectLambda`\:
|
3073
|
+
#
|
3074
|
+
# * [GetAccessPointConfigurationForObjectLambda][1]
|
3075
|
+
#
|
3076
|
+
# ^
|
3077
|
+
#
|
3078
|
+
#
|
3079
|
+
#
|
3080
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointConfigurationForObjectLambda.html
|
3081
|
+
#
|
3082
|
+
# @option params [required, String] :account_id
|
3083
|
+
# The account ID for the account that owns the specified Object Lambda
|
3084
|
+
# Access Point.
|
3085
|
+
#
|
3086
|
+
# @option params [required, String] :name
|
3087
|
+
# The name of the Object Lambda Access Point.
|
3088
|
+
#
|
3089
|
+
# @option params [required, Types::ObjectLambdaConfiguration] :configuration
|
3090
|
+
# Object Lambda Access Point configuration document.
|
3091
|
+
#
|
3092
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3093
|
+
#
|
3094
|
+
# @example Request syntax with placeholder values
|
3095
|
+
#
|
3096
|
+
# resp = client.put_access_point_configuration_for_object_lambda({
|
3097
|
+
# account_id: "AccountId", # required
|
3098
|
+
# name: "ObjectLambdaAccessPointName", # required
|
3099
|
+
# configuration: { # required
|
3100
|
+
# supporting_access_point: "ObjectLambdaSupportingAccessPointArn", # required
|
3101
|
+
# cloud_watch_metrics_enabled: false,
|
3102
|
+
# allowed_features: ["GetObject-Range"], # accepts GetObject-Range, GetObject-PartNumber
|
3103
|
+
# transformation_configurations: [ # required
|
3104
|
+
# {
|
3105
|
+
# actions: ["GetObject"], # required, accepts GetObject
|
3106
|
+
# content_transformation: { # required
|
3107
|
+
# aws_lambda: {
|
3108
|
+
# function_arn: "FunctionArnString", # required
|
3109
|
+
# function_payload: "AwsLambdaTransformationPayload",
|
3110
|
+
# },
|
3111
|
+
# },
|
3112
|
+
# },
|
3113
|
+
# ],
|
3114
|
+
# },
|
3115
|
+
# })
|
3116
|
+
#
|
3117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointConfigurationForObjectLambda AWS API Documentation
|
3118
|
+
#
|
3119
|
+
# @overload put_access_point_configuration_for_object_lambda(params = {})
|
3120
|
+
# @param [Hash] params ({})
|
3121
|
+
def put_access_point_configuration_for_object_lambda(params = {}, options = {})
|
3122
|
+
req = build_request(:put_access_point_configuration_for_object_lambda, params)
|
3123
|
+
req.send_request(options)
|
3124
|
+
end
|
3125
|
+
|
2675
3126
|
# Associates an access policy with the specified access point. Each
|
2676
3127
|
# access point can have only one policy, so a request made to this API
|
2677
3128
|
# replaces any existing policy associated with the specified access
|
@@ -2723,11 +3174,11 @@ module Aws::S3Control
|
|
2723
3174
|
# The policy that you want to apply to the specified access point. For
|
2724
3175
|
# more information about access point policies, see [Managing data
|
2725
3176
|
# access with Amazon S3 Access Points][1] in the *Amazon Simple Storage
|
2726
|
-
# Service
|
3177
|
+
# Service User Guide*.
|
2727
3178
|
#
|
2728
3179
|
#
|
2729
3180
|
#
|
2730
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3181
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
2731
3182
|
#
|
2732
3183
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2733
3184
|
#
|
@@ -2748,6 +3199,52 @@ module Aws::S3Control
|
|
2748
3199
|
req.send_request(options)
|
2749
3200
|
end
|
2750
3201
|
|
3202
|
+
# Creates or replaces resource policy for an Object Lambda Access Point.
|
3203
|
+
# For an example policy, see [Creating Object Lambda Access Points][1]
|
3204
|
+
# in the *Amazon Simple Storage Service User Guide*.
|
3205
|
+
#
|
3206
|
+
# The following actions are related to
|
3207
|
+
# `PutAccessPointPolicyForObjectLambda`\:
|
3208
|
+
#
|
3209
|
+
# * [DeleteAccessPointPolicyForObjectLambda][2]
|
3210
|
+
#
|
3211
|
+
# * [GetAccessPointPolicyForObjectLambda][3]
|
3212
|
+
#
|
3213
|
+
#
|
3214
|
+
#
|
3215
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-create.html#olap-create-cli
|
3216
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html
|
3217
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html
|
3218
|
+
#
|
3219
|
+
# @option params [required, String] :account_id
|
3220
|
+
# The account ID for the account that owns the specified Object Lambda
|
3221
|
+
# Access Point.
|
3222
|
+
#
|
3223
|
+
# @option params [required, String] :name
|
3224
|
+
# The name of the Object Lambda Access Point.
|
3225
|
+
#
|
3226
|
+
# @option params [required, String] :policy
|
3227
|
+
# Object Lambda Access Point resource policy document.
|
3228
|
+
#
|
3229
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3230
|
+
#
|
3231
|
+
# @example Request syntax with placeholder values
|
3232
|
+
#
|
3233
|
+
# resp = client.put_access_point_policy_for_object_lambda({
|
3234
|
+
# account_id: "AccountId", # required
|
3235
|
+
# name: "ObjectLambdaAccessPointName", # required
|
3236
|
+
# policy: "ObjectLambdaPolicy", # required
|
3237
|
+
# })
|
3238
|
+
#
|
3239
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicyForObjectLambda AWS API Documentation
|
3240
|
+
#
|
3241
|
+
# @overload put_access_point_policy_for_object_lambda(params = {})
|
3242
|
+
# @param [Hash] params ({})
|
3243
|
+
def put_access_point_policy_for_object_lambda(params = {}, options = {})
|
3244
|
+
req = build_request(:put_access_point_policy_for_object_lambda, params)
|
3245
|
+
req.send_request(options)
|
3246
|
+
end
|
3247
|
+
|
2751
3248
|
# <note markdown="1"> This action puts a lifecycle configuration to an Amazon S3 on Outposts
|
2752
3249
|
# bucket. To put a lifecycle configuration to an S3 bucket, see
|
2753
3250
|
# [PutBucketLifecycleConfiguration][1] in the *Amazon Simple Storage
|
@@ -2755,12 +3252,10 @@ module Aws::S3Control
|
|
2755
3252
|
#
|
2756
3253
|
# </note>
|
2757
3254
|
#
|
2758
|
-
# Creates a new lifecycle configuration for the Outposts bucket or
|
3255
|
+
# Creates a new lifecycle configuration for the S3 on Outposts bucket or
|
2759
3256
|
# replaces an existing lifecycle configuration. Outposts buckets only
|
2760
3257
|
# support lifecycle configurations that delete/expire objects after a
|
2761
|
-
# certain period of time and abort incomplete multipart uploads.
|
2762
|
-
# more information, see [Managing Lifecycle Permissions for Amazon S3 on
|
2763
|
-
# Outposts][2].
|
3258
|
+
# certain period of time and abort incomplete multipart uploads.
|
2764
3259
|
#
|
2765
3260
|
#
|
2766
3261
|
#
|
@@ -2770,22 +3265,21 @@ module Aws::S3Control
|
|
2770
3265
|
# `s3-control`. For an example of the request syntax for Amazon S3 on
|
2771
3266
|
# Outposts that uses the S3 on Outposts endpoint hostname prefix and the
|
2772
3267
|
# `x-amz-outpost-id` derived using the access point ARN, see the
|
2773
|
-
# [Examples][
|
3268
|
+
# [Examples][2] section.
|
2774
3269
|
#
|
2775
3270
|
# The following actions are related to
|
2776
3271
|
# `PutBucketLifecycleConfiguration`\:
|
2777
3272
|
#
|
2778
|
-
# * [GetBucketLifecycleConfiguration][
|
3273
|
+
# * [GetBucketLifecycleConfiguration][3]
|
2779
3274
|
#
|
2780
|
-
# * [DeleteBucketLifecycleConfiguration][
|
3275
|
+
# * [DeleteBucketLifecycleConfiguration][4]
|
2781
3276
|
#
|
2782
3277
|
#
|
2783
3278
|
#
|
2784
3279
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html
|
2785
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2786
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
2787
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
2788
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
3280
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples
|
3281
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html
|
3282
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
2789
3283
|
#
|
2790
3284
|
# @option params [required, String] :account_id
|
2791
3285
|
# The AWS account ID of the Outposts bucket.
|
@@ -2870,12 +3364,12 @@ module Aws::S3Control
|
|
2870
3364
|
#
|
2871
3365
|
# Applies an Amazon S3 bucket policy to an Outposts bucket. For more
|
2872
3366
|
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
2873
|
-
# Simple Storage Service
|
3367
|
+
# Simple Storage Service User Guide*.
|
2874
3368
|
#
|
2875
3369
|
# If you are using an identity other than the root user of the AWS
|
2876
3370
|
# account that owns the Outposts bucket, the calling identity must have
|
2877
3371
|
# the `PutBucketPolicy` permissions on the specified Outposts bucket and
|
2878
|
-
# belong to the bucket owner's account in order to use this
|
3372
|
+
# belong to the bucket owner's account in order to use this action.
|
2879
3373
|
#
|
2880
3374
|
# If you don't have `PutBucketPolicy` permissions, Amazon S3 returns a
|
2881
3375
|
# `403 Access Denied` error. If you have the correct permissions, but
|
@@ -2883,7 +3377,7 @@ module Aws::S3Control
|
|
2883
3377
|
# account, Amazon S3 returns a `405 Method Not Allowed` error.
|
2884
3378
|
#
|
2885
3379
|
# As a security precaution, the root user of the AWS account that owns a
|
2886
|
-
# bucket can always use this
|
3380
|
+
# bucket can always use this action, even if the policy explicitly
|
2887
3381
|
# denies the root user the ability to perform this action.
|
2888
3382
|
#
|
2889
3383
|
# For more information about bucket policies, see [Using Bucket Policies
|
@@ -2906,7 +3400,7 @@ module Aws::S3Control
|
|
2906
3400
|
#
|
2907
3401
|
#
|
2908
3402
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html
|
2909
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3403
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2910
3404
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2911
3405
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples
|
2912
3406
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
|
@@ -2967,9 +3461,9 @@ module Aws::S3Control
|
|
2967
3461
|
#
|
2968
3462
|
# </note>
|
2969
3463
|
#
|
2970
|
-
# Sets the tags for an Outposts bucket. For more information, see
|
2971
|
-
# Amazon S3 on Outposts][2] in the *Amazon Simple Storage Service
|
2972
|
-
#
|
3464
|
+
# Sets the tags for an S3 on Outposts bucket. For more information, see
|
3465
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon Simple Storage Service
|
3466
|
+
# User Guide*.
|
2973
3467
|
#
|
2974
3468
|
# Use tags to organize your AWS bill to reflect your own cost structure.
|
2975
3469
|
# To do this, sign up to get your AWS account bill with tag key values
|
@@ -2978,20 +3472,20 @@ module Aws::S3Control
|
|
2978
3472
|
# values. For example, you can tag several resources with a specific
|
2979
3473
|
# application name, and then organize your billing information to see
|
2980
3474
|
# the total cost of that application across several services. For more
|
2981
|
-
# information, see [Cost
|
3475
|
+
# information, see [Cost allocation and tagging][3].
|
2982
3476
|
#
|
2983
3477
|
# <note markdown="1"> Within a bucket, if you add a tag that has the same key as an existing
|
2984
3478
|
# tag, the new value overwrites the old value. For more information, see
|
2985
|
-
# [ Using
|
3479
|
+
# [ Using cost allocation in Amazon S3 bucket tags][4].
|
2986
3480
|
#
|
2987
3481
|
# </note>
|
2988
3482
|
#
|
2989
|
-
# To use this
|
3483
|
+
# To use this action, you must have permissions to perform the
|
2990
3484
|
# `s3-outposts:PutBucketTagging` action. The Outposts bucket owner has
|
2991
3485
|
# this permission by default and can grant this permission to others.
|
2992
3486
|
# For more information about permissions, see [ Permissions Related to
|
2993
|
-
# Bucket Subresource Operations][5] and [Managing
|
2994
|
-
#
|
3487
|
+
# Bucket Subresource Operations][5] and [Managing access permissions to
|
3488
|
+
# your Amazon S3 resources][6].
|
2995
3489
|
#
|
2996
3490
|
# `PutBucketTagging` has the following special errors:
|
2997
3491
|
#
|
@@ -3012,7 +3506,7 @@ module Aws::S3Control
|
|
3012
3506
|
#
|
3013
3507
|
# * Error code: `OperationAbortedError `
|
3014
3508
|
#
|
3015
|
-
# * Description: A conflicting conditional
|
3509
|
+
# * Description: A conflicting conditional action is currently in
|
3016
3510
|
# progress against this resource. Try again.
|
3017
3511
|
#
|
3018
3512
|
# ^
|
@@ -3041,11 +3535,11 @@ module Aws::S3Control
|
|
3041
3535
|
#
|
3042
3536
|
#
|
3043
3537
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html
|
3044
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3538
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
3045
3539
|
# [3]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
|
3046
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3047
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3048
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3540
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html
|
3541
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
3542
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
3049
3543
|
# [7]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
|
3050
3544
|
# [8]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html
|
3051
3545
|
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples
|
@@ -3108,7 +3602,7 @@ module Aws::S3Control
|
|
3108
3602
|
# [GetJobTagging][1], modify that tag set, and use this action to
|
3109
3603
|
# replace the tag set with the one you modified. For more information,
|
3110
3604
|
# see [Controlling access and labeling jobs using tags][2] in the
|
3111
|
-
# *Amazon Simple Storage Service
|
3605
|
+
# *Amazon Simple Storage Service User Guide*.
|
3112
3606
|
#
|
3113
3607
|
#
|
3114
3608
|
#
|
@@ -3141,7 +3635,7 @@ module Aws::S3Control
|
|
3141
3635
|
#
|
3142
3636
|
#
|
3143
3637
|
#
|
3144
|
-
# To use this
|
3638
|
+
# To use this action, you must have permission to perform the
|
3145
3639
|
# `s3:PutJobTagging` action.
|
3146
3640
|
#
|
3147
3641
|
# Related actions include:
|
@@ -3243,12 +3737,12 @@ module Aws::S3Control
|
|
3243
3737
|
|
3244
3738
|
# Puts an Amazon S3 Storage Lens configuration. For more information
|
3245
3739
|
# about S3 Storage Lens, see [Working with Amazon S3 Storage Lens][1] in
|
3246
|
-
# the *Amazon Simple Storage Service
|
3740
|
+
# the *Amazon Simple Storage Service User Guide*.
|
3247
3741
|
#
|
3248
3742
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
3249
3743
|
# `s3:PutStorageLensConfiguration` action. For more information, see
|
3250
3744
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
3251
|
-
# Simple Storage Service
|
3745
|
+
# Simple Storage Service User Guide*.
|
3252
3746
|
#
|
3253
3747
|
# </note>
|
3254
3748
|
#
|
@@ -3352,12 +3846,12 @@ module Aws::S3Control
|
|
3352
3846
|
# Put or replace tags on an existing Amazon S3 Storage Lens
|
3353
3847
|
# configuration. For more information about S3 Storage Lens, see
|
3354
3848
|
# [Assessing your storage activity and usage with Amazon S3 Storage Lens
|
3355
|
-
# ][1] in the *Amazon Simple Storage Service
|
3849
|
+
# ][1] in the *Amazon Simple Storage Service User Guide*.
|
3356
3850
|
#
|
3357
3851
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
3358
3852
|
# `s3:PutStorageLensConfigurationTagging` action. For more information,
|
3359
3853
|
# see [Setting permissions to use Amazon S3 Storage Lens][2] in the
|
3360
|
-
# *Amazon Simple Storage Service
|
3854
|
+
# *Amazon Simple Storage Service User Guide*.
|
3361
3855
|
#
|
3362
3856
|
# </note>
|
3363
3857
|
#
|
@@ -3405,7 +3899,7 @@ module Aws::S3Control
|
|
3405
3899
|
|
3406
3900
|
# Updates an existing S3 Batch Operations job's priority. For more
|
3407
3901
|
# information, see [S3 Batch Operations][1] in the *Amazon Simple
|
3408
|
-
# Storage Service
|
3902
|
+
# Storage Service User Guide*.
|
3409
3903
|
#
|
3410
3904
|
#
|
3411
3905
|
#
|
@@ -3428,6 +3922,7 @@ module Aws::S3Control
|
|
3428
3922
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
3429
3923
|
#
|
3430
3924
|
# @option params [required, String] :account_id
|
3925
|
+
# The AWS account ID associated with the S3 Batch Operations job.
|
3431
3926
|
#
|
3432
3927
|
# @option params [required, String] :job_id
|
3433
3928
|
# The ID for the job whose priority you want to update.
|
@@ -3462,10 +3957,10 @@ module Aws::S3Control
|
|
3462
3957
|
req.send_request(options)
|
3463
3958
|
end
|
3464
3959
|
|
3465
|
-
# Updates the status for the specified job. Use this
|
3466
|
-
#
|
3467
|
-
#
|
3468
|
-
# Storage Service
|
3960
|
+
# Updates the status for the specified job. Use this action to confirm
|
3961
|
+
# that you want to run a job or to cancel an existing job. For more
|
3962
|
+
# information, see [S3 Batch Operations][1] in the *Amazon Simple
|
3963
|
+
# Storage Service User Guide*.
|
3469
3964
|
#
|
3470
3965
|
#
|
3471
3966
|
#
|
@@ -3488,6 +3983,7 @@ module Aws::S3Control
|
|
3488
3983
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
3489
3984
|
#
|
3490
3985
|
# @option params [required, String] :account_id
|
3986
|
+
# The AWS account ID associated with the S3 Batch Operations job.
|
3491
3987
|
#
|
3492
3988
|
# @option params [required, String] :job_id
|
3493
3989
|
# The ID of the job whose status you want to update.
|
@@ -3542,7 +4038,7 @@ module Aws::S3Control
|
|
3542
4038
|
params: params,
|
3543
4039
|
config: config)
|
3544
4040
|
context[:gem_name] = 'aws-sdk-s3control'
|
3545
|
-
context[:gem_version] = '1.
|
4041
|
+
context[:gem_version] = '1.32.0'
|
3546
4042
|
Seahorse::Client::Request.new(handlers, context)
|
3547
4043
|
end
|
3548
4044
|
|