aws-sdk-s3control 1.26.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +177 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-s3control.rb +2 -2
- data/lib/aws-sdk-s3control/arn/outpost_access_point_arn.rb +6 -2
- data/lib/aws-sdk-s3control/arn/outpost_bucket_arn.rb +6 -2
- data/lib/aws-sdk-s3control/client.rb +689 -177
- data/lib/aws-sdk-s3control/client_api.rb +262 -1
- data/lib/aws-sdk-s3control/errors.rb +1 -1
- data/lib/aws-sdk-s3control/plugins/arn.rb +28 -16
- data/lib/aws-sdk-s3control/plugins/dualstack.rb +11 -10
- data/lib/aws-sdk-s3control/plugins/s3_control_signer.rb +6 -2
- data/lib/aws-sdk-s3control/resource.rb +1 -1
- data/lib/aws-sdk-s3control/types.rb +645 -20
- 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: a397b80ff74e1ed6692ecb4cdf861d9cf4c462790ec5f5d24083044143e7144d
|
4
|
+
data.tar.gz: f4e0bb34120f05a1ac0005ec31639b7acfffa894b7f9c7660bbcdc4c1bf9a3a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06ece80a90f8213ef85b3b613d0237d99353ccde2752bbf7e36e1db407528769ce8dddb5a5b3c0af4100891dacb1002bd2394b2d26865da37749304fce1be78f
|
7
|
+
data.tar.gz: 0ba50e466bcc41254482bb2e5c617ecafc4500de9298eb6b258d46803d95a461442c4930e90af9abaa392194cf4a168db855c264e31744d000396c80375541f7
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.31.0 (2021-03-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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
|
8
|
+
|
9
|
+
1.30.0 (2021-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.29.0 (2021-03-08)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for Amazon S3
|
18
|
+
|
19
|
+
1.28.0 (2021-02-23)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Documentation updates for s3-control
|
23
|
+
|
24
|
+
1.27.0 (2021-02-02)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Amazon S3 Batch Operations now supports Delete Object Tagging
|
28
|
+
|
29
|
+
* 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`.
|
30
|
+
|
31
|
+
1.26.0 (2021-01-14)
|
32
|
+
------------------
|
33
|
+
|
34
|
+
* Feature - Amazon S3 Batch Operations now supports restoring objects from the S3 Intelligent-Tiering Archive Access and Deep Archive Access tiers.
|
35
|
+
|
36
|
+
1.25.0 (2020-11-18)
|
37
|
+
------------------
|
38
|
+
|
39
|
+
* 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.
|
40
|
+
|
41
|
+
1.24.0 (2020-09-30)
|
42
|
+
------------------
|
43
|
+
|
44
|
+
* 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.
|
45
|
+
|
46
|
+
* Feature - Support Outpost Access Point and Outpost Bucket ARNs.
|
47
|
+
|
48
|
+
1.23.0 (2020-09-15)
|
49
|
+
------------------
|
50
|
+
|
51
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
52
|
+
|
53
|
+
1.22.0 (2020-08-25)
|
54
|
+
------------------
|
55
|
+
|
56
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
57
|
+
|
58
|
+
1.21.0 (2020-06-23)
|
59
|
+
------------------
|
60
|
+
|
61
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
62
|
+
|
63
|
+
1.20.1 (2020-06-11)
|
64
|
+
------------------
|
65
|
+
|
66
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
67
|
+
|
68
|
+
1.20.0 (2020-06-10)
|
69
|
+
------------------
|
70
|
+
|
71
|
+
* Issue - This version has been yanked. (#2327).
|
72
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
73
|
+
|
74
|
+
1.19.0 (2020-05-28)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
78
|
+
|
79
|
+
1.18.0 (2020-05-07)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
83
|
+
|
84
|
+
1.17.0 (2020-05-04)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Feature - Amazon S3 Batch Operations now supports Object Lock.
|
88
|
+
|
89
|
+
1.16.0 (2020-03-16)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Feature - Amazon S3 now supports Batch Operations job tagging.
|
93
|
+
|
94
|
+
1.15.0 (2020-03-09)
|
95
|
+
------------------
|
96
|
+
|
97
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
98
|
+
|
99
|
+
1.14.0 (2019-12-03)
|
100
|
+
------------------
|
101
|
+
|
102
|
+
* 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.
|
103
|
+
|
104
|
+
1.13.0 (2019-10-23)
|
105
|
+
------------------
|
106
|
+
|
107
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
108
|
+
|
109
|
+
1.12.0 (2019-07-25)
|
110
|
+
------------------
|
111
|
+
|
112
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
113
|
+
|
114
|
+
1.11.0 (2019-07-01)
|
115
|
+
------------------
|
116
|
+
|
117
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
118
|
+
|
119
|
+
1.10.0 (2019-06-17)
|
120
|
+
------------------
|
121
|
+
|
122
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
123
|
+
|
124
|
+
1.9.0 (2019-05-29)
|
125
|
+
------------------
|
126
|
+
|
127
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
128
|
+
|
129
|
+
1.8.0 (2019-05-21)
|
130
|
+
------------------
|
131
|
+
|
132
|
+
* Feature - API update.
|
133
|
+
|
134
|
+
1.7.0 (2019-05-15)
|
135
|
+
------------------
|
136
|
+
|
137
|
+
* Feature - API update.
|
138
|
+
|
139
|
+
1.6.0 (2019-05-14)
|
140
|
+
------------------
|
141
|
+
|
142
|
+
* Feature - API update.
|
143
|
+
|
144
|
+
1.5.0 (2019-04-30)
|
145
|
+
------------------
|
146
|
+
|
147
|
+
* Feature - API update.
|
148
|
+
|
149
|
+
1.4.0 (2019-03-21)
|
150
|
+
------------------
|
151
|
+
|
152
|
+
* Feature - API update.
|
153
|
+
|
154
|
+
1.3.0 (2019-03-18)
|
155
|
+
------------------
|
156
|
+
|
157
|
+
* Feature - API update.
|
158
|
+
|
159
|
+
1.2.0 (2019-03-14)
|
160
|
+
------------------
|
161
|
+
|
162
|
+
* Feature - API update.
|
163
|
+
|
164
|
+
1.1.0 (2018-11-20)
|
165
|
+
------------------
|
166
|
+
|
167
|
+
* Feature - Support S3 Control plugin working with endpoint trait.
|
168
|
+
|
169
|
+
1.0.1 (2018-11-16)
|
170
|
+
------------------
|
171
|
+
|
172
|
+
* Issue - Update version dependency on `aws-sdk-core` to support endpoint discovery.
|
173
|
+
|
174
|
+
1.0.0 (2018-11-15)
|
175
|
+
------------------
|
176
|
+
|
177
|
+
* 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.31.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.31.0'
|
52
52
|
|
53
53
|
end
|
@@ -68,8 +68,12 @@ module Aws
|
|
68
68
|
end
|
69
69
|
|
70
70
|
# Outpost Access Point ARNs currently do not support dualstack
|
71
|
-
def host_url(region, _dualstack = false)
|
72
|
-
|
71
|
+
def host_url(region, _dualstack = false, custom_endpoint = nil)
|
72
|
+
if custom_endpoint
|
73
|
+
custom_endpoint
|
74
|
+
else
|
75
|
+
"s3-outposts.#{region}.amazonaws.com"
|
76
|
+
end
|
73
77
|
end
|
74
78
|
end
|
75
79
|
end
|
@@ -64,8 +64,12 @@ module Aws
|
|
64
64
|
end
|
65
65
|
|
66
66
|
# Outpost Bucket ARNs currently do not support dualstack
|
67
|
-
def host_url(region, _dualstack = false)
|
68
|
-
|
67
|
+
def host_url(region, _dualstack = false, custom_endpoint = nil)
|
68
|
+
if custom_endpoint
|
69
|
+
custom_endpoint
|
70
|
+
else
|
71
|
+
"s3-outposts.#{region}.amazonaws.com"
|
72
|
+
end
|
69
73
|
end
|
70
74
|
end
|
71
75
|
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
|
@@ -471,59 +463,129 @@ module Aws::S3Control
|
|
471
463
|
req.send_request(options)
|
472
464
|
end
|
473
465
|
|
474
|
-
#
|
475
|
-
#
|
476
|
-
# Service
|
466
|
+
# Creates an Object Lambda Access Point. For more information, see
|
467
|
+
# [Transforming objects with Object Lambda Access Points][1] in the
|
468
|
+
# *Amazon Simple Storage Service User Guide*.
|
469
|
+
#
|
470
|
+
# The following actions are related to
|
471
|
+
# `CreateAccessPointForObjectLambda`\:
|
472
|
+
#
|
473
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
474
|
+
#
|
475
|
+
# * [GetAccessPointForObjectLambda][3]
|
476
|
+
#
|
477
|
+
# * [ListAccessPointsForObjectLambda][4]
|
478
|
+
#
|
479
|
+
#
|
480
|
+
#
|
481
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html
|
482
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
483
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
484
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
485
|
+
#
|
486
|
+
# @option params [required, String] :account_id
|
487
|
+
# The AWS account ID for owner of the specified Object Lambda Access
|
488
|
+
# Point.
|
489
|
+
#
|
490
|
+
# @option params [required, String] :name
|
491
|
+
# The name you want to assign to this Object Lambda Access Point.
|
492
|
+
#
|
493
|
+
# @option params [required, Types::ObjectLambdaConfiguration] :configuration
|
494
|
+
# Object Lambda Access Point configuration as a JSON document.
|
495
|
+
#
|
496
|
+
# @return [Types::CreateAccessPointForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
497
|
+
#
|
498
|
+
# * {Types::CreateAccessPointForObjectLambdaResult#object_lambda_access_point_arn #object_lambda_access_point_arn} => String
|
499
|
+
#
|
500
|
+
# @example Request syntax with placeholder values
|
501
|
+
#
|
502
|
+
# resp = client.create_access_point_for_object_lambda({
|
503
|
+
# account_id: "AccountId", # required
|
504
|
+
# name: "ObjectLambdaAccessPointName", # required
|
505
|
+
# configuration: { # required
|
506
|
+
# supporting_access_point: "ObjectLambdaSupportingAccessPointArn", # required
|
507
|
+
# cloud_watch_metrics_enabled: false,
|
508
|
+
# allowed_features: ["GetObject-Range"], # accepts GetObject-Range, GetObject-PartNumber
|
509
|
+
# transformation_configurations: [ # required
|
510
|
+
# {
|
511
|
+
# actions: ["GetObject"], # required, accepts GetObject
|
512
|
+
# content_transformation: { # required
|
513
|
+
# aws_lambda: {
|
514
|
+
# function_arn: "FunctionArnString", # required
|
515
|
+
# function_payload: "AwsLambdaTransformationPayload",
|
516
|
+
# },
|
517
|
+
# },
|
518
|
+
# },
|
519
|
+
# ],
|
520
|
+
# },
|
521
|
+
# })
|
522
|
+
#
|
523
|
+
# @example Response structure
|
524
|
+
#
|
525
|
+
# resp.object_lambda_access_point_arn #=> String
|
526
|
+
#
|
527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointForObjectLambda AWS API Documentation
|
528
|
+
#
|
529
|
+
# @overload create_access_point_for_object_lambda(params = {})
|
530
|
+
# @param [Hash] params ({})
|
531
|
+
def create_access_point_for_object_lambda(params = {}, options = {})
|
532
|
+
req = build_request(:create_access_point_for_object_lambda, params)
|
533
|
+
req.send_request(options)
|
534
|
+
end
|
535
|
+
|
536
|
+
# <note markdown="1"> This action creates an Amazon S3 on Outposts bucket. To create an S3
|
537
|
+
# bucket, see [Create Bucket][1] in the *Amazon Simple Storage Service
|
538
|
+
# API*.
|
477
539
|
#
|
478
540
|
# </note>
|
479
541
|
#
|
480
542
|
# Creates a new Outposts bucket. By creating the bucket, you become the
|
481
543
|
# bucket owner. To create an Outposts bucket, you must have S3 on
|
482
544
|
# Outposts. For more information, see [Using Amazon S3 on Outposts][2]
|
483
|
-
# in *Amazon Simple Storage Service
|
545
|
+
# in *Amazon Simple Storage Service User Guide*.
|
484
546
|
#
|
485
547
|
# Not every string is an acceptable bucket name. For information on
|
486
548
|
# bucket naming restrictions, see [Working with Amazon S3 Buckets][3].
|
487
549
|
#
|
488
|
-
# S3 on Outposts buckets
|
489
|
-
#
|
490
|
-
# * ACLs. Instead, configure access point policies to manage access to
|
491
|
-
# buckets.
|
550
|
+
# S3 on Outposts buckets support:
|
492
551
|
#
|
493
|
-
# *
|
552
|
+
# * Tags
|
494
553
|
#
|
495
|
-
# *
|
554
|
+
# * LifecycleConfigurations for deleting expired objects
|
496
555
|
#
|
497
|
-
#
|
556
|
+
# For a complete list of restrictions and Amazon S3 feature limitations
|
557
|
+
# on S3 on Outposts, see [ Amazon S3 on Outposts Restrictions and
|
558
|
+
# Limitations][4].
|
498
559
|
#
|
499
560
|
# For an example of the request syntax for Amazon S3 on Outposts that
|
500
561
|
# uses the S3 on Outposts endpoint hostname prefix and
|
501
|
-
# `x-amz-outpost-id` in your API request, see the [Examples][
|
562
|
+
# `x-amz-outpost-id` in your API request, see the [Examples][5] section.
|
502
563
|
#
|
503
564
|
# The following actions are related to `CreateBucket` for Amazon S3 on
|
504
565
|
# Outposts:
|
505
566
|
#
|
506
|
-
# * [PutObject][
|
567
|
+
# * [PutObject][6]
|
507
568
|
#
|
508
|
-
# * [GetBucket][
|
569
|
+
# * [GetBucket][7]
|
509
570
|
#
|
510
|
-
# * [DeleteBucket][
|
571
|
+
# * [DeleteBucket][8]
|
511
572
|
#
|
512
|
-
# * [CreateAccessPoint][
|
573
|
+
# * [CreateAccessPoint][9]
|
513
574
|
#
|
514
|
-
# * [PutAccessPointPolicy][
|
575
|
+
# * [PutAccessPointPolicy][10]
|
515
576
|
#
|
516
577
|
#
|
517
578
|
#
|
518
579
|
# [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/
|
580
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
581
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/BucketRestrictions.html#bucketnamingrules
|
582
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OnOutpostsRestrictionsLimitations.html
|
583
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html#API_control_CreateBucket_Examples
|
584
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
585
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
|
586
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html
|
587
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html
|
588
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html
|
527
589
|
#
|
528
590
|
# @option params [String] :acl
|
529
591
|
# The canned ACL to apply to the bucket.
|
@@ -630,13 +692,13 @@ module Aws::S3Control
|
|
630
692
|
req.send_request(options)
|
631
693
|
end
|
632
694
|
|
633
|
-
# S3 Batch Operations
|
634
|
-
# objects. Batch Operations can run a single
|
695
|
+
# You can use S3 Batch Operations to perform large-scale batch actions
|
696
|
+
# on Amazon S3 objects. Batch Operations can run a single action on
|
635
697
|
# lists of Amazon S3 objects that you specify. For more information, see
|
636
|
-
# [S3 Batch Operations][1] in the *Amazon Simple Storage Service
|
637
|
-
#
|
698
|
+
# [S3 Batch Operations][1] in the *Amazon Simple Storage Service User
|
699
|
+
# Guide*.
|
638
700
|
#
|
639
|
-
# This
|
701
|
+
# This action creates a S3 Batch Operations job.
|
640
702
|
#
|
641
703
|
#
|
642
704
|
#
|
@@ -650,6 +712,8 @@ module Aws::S3Control
|
|
650
712
|
#
|
651
713
|
# * [UpdateJobStatus][5]
|
652
714
|
#
|
715
|
+
# * [JobOperation][6]
|
716
|
+
#
|
653
717
|
#
|
654
718
|
#
|
655
719
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-basics.html
|
@@ -657,6 +721,7 @@ module Aws::S3Control
|
|
657
721
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html
|
658
722
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html
|
659
723
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
724
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_JobOperation.html
|
660
725
|
#
|
661
726
|
# @option params [required, String] :account_id
|
662
727
|
# The AWS account ID that creates the job.
|
@@ -667,14 +732,13 @@ module Aws::S3Control
|
|
667
732
|
# S3 console.
|
668
733
|
#
|
669
734
|
# @option params [required, Types::JobOperation] :operation
|
670
|
-
# The
|
671
|
-
#
|
672
|
-
#
|
673
|
-
# Guide*.
|
735
|
+
# The action that you want this job to perform on every object listed in
|
736
|
+
# the manifest. For more information about the available actions, see
|
737
|
+
# [Operations][1] in the *Amazon Simple Storage Service User Guide*.
|
674
738
|
#
|
675
739
|
#
|
676
740
|
#
|
677
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-
|
741
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-actions.html
|
678
742
|
#
|
679
743
|
# @option params [required, Types::JobReport] :report
|
680
744
|
# Configuration parameters for the optional job-completion report.
|
@@ -701,7 +765,7 @@ module Aws::S3Control
|
|
701
765
|
# @option params [required, String] :role_arn
|
702
766
|
# The Amazon Resource Name (ARN) for the AWS Identity and Access
|
703
767
|
# Management (IAM) role that Batch Operations will use to run this
|
704
|
-
# job's
|
768
|
+
# job's action on every object in the manifest.
|
705
769
|
#
|
706
770
|
# @option params [Array<Types::S3Tag>] :tags
|
707
771
|
# A set of tags to associate with the S3 Batch Operations job. This is
|
@@ -795,6 +859,8 @@ module Aws::S3Control
|
|
795
859
|
# },
|
796
860
|
# ],
|
797
861
|
# },
|
862
|
+
# s3_delete_object_tagging: {
|
863
|
+
# },
|
798
864
|
# s3_initiate_restore_object: {
|
799
865
|
# expiration_in_days: 1,
|
800
866
|
# glacier_job_tier: "BULK", # accepts BULK, STANDARD
|
@@ -916,6 +982,48 @@ module Aws::S3Control
|
|
916
982
|
req.send_request(options)
|
917
983
|
end
|
918
984
|
|
985
|
+
# Deletes the specified Object Lambda Access Point.
|
986
|
+
#
|
987
|
+
# The following actions are related to
|
988
|
+
# `DeleteAccessPointForObjectLambda`\:
|
989
|
+
#
|
990
|
+
# * [CreateAccessPointForObjectLambda][1]
|
991
|
+
#
|
992
|
+
# * [GetAccessPointForObjectLambda][2]
|
993
|
+
#
|
994
|
+
# * [ListAccessPointsForObjectLambda][3]
|
995
|
+
#
|
996
|
+
#
|
997
|
+
#
|
998
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
999
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
1000
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
1001
|
+
#
|
1002
|
+
# @option params [required, String] :account_id
|
1003
|
+
# The account ID for the account that owns the specified Object Lambda
|
1004
|
+
# Access Point.
|
1005
|
+
#
|
1006
|
+
# @option params [required, String] :name
|
1007
|
+
# The name of the access point you want to delete.
|
1008
|
+
#
|
1009
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1010
|
+
#
|
1011
|
+
# @example Request syntax with placeholder values
|
1012
|
+
#
|
1013
|
+
# resp = client.delete_access_point_for_object_lambda({
|
1014
|
+
# account_id: "AccountId", # required
|
1015
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1016
|
+
# })
|
1017
|
+
#
|
1018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointForObjectLambda AWS API Documentation
|
1019
|
+
#
|
1020
|
+
# @overload delete_access_point_for_object_lambda(params = {})
|
1021
|
+
# @param [Hash] params ({})
|
1022
|
+
def delete_access_point_for_object_lambda(params = {}, options = {})
|
1023
|
+
req = build_request(:delete_access_point_for_object_lambda, params)
|
1024
|
+
req.send_request(options)
|
1025
|
+
end
|
1026
|
+
|
919
1027
|
# Deletes the access point policy for the specified access point.
|
920
1028
|
#
|
921
1029
|
#
|
@@ -976,9 +1084,49 @@ module Aws::S3Control
|
|
976
1084
|
req.send_request(options)
|
977
1085
|
end
|
978
1086
|
|
979
|
-
#
|
980
|
-
#
|
981
|
-
#
|
1087
|
+
# Removes the resource policy for an Object Lambda Access Point.
|
1088
|
+
#
|
1089
|
+
# The following actions are related to
|
1090
|
+
# `DeleteAccessPointPolicyForObjectLambda`\:
|
1091
|
+
#
|
1092
|
+
# * [GetAccessPointPolicyForObjectLambda][1]
|
1093
|
+
#
|
1094
|
+
# * [PutAccessPointPolicyForObjectLambda][2]
|
1095
|
+
#
|
1096
|
+
#
|
1097
|
+
#
|
1098
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html
|
1099
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html
|
1100
|
+
#
|
1101
|
+
# @option params [required, String] :account_id
|
1102
|
+
# The account ID for the account that owns the specified Object Lambda
|
1103
|
+
# Access Point.
|
1104
|
+
#
|
1105
|
+
# @option params [required, String] :name
|
1106
|
+
# The name of the Object Lambda Access Point you want to delete the
|
1107
|
+
# policy for.
|
1108
|
+
#
|
1109
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1110
|
+
#
|
1111
|
+
# @example Request syntax with placeholder values
|
1112
|
+
#
|
1113
|
+
# resp = client.delete_access_point_policy_for_object_lambda({
|
1114
|
+
# account_id: "AccountId", # required
|
1115
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1116
|
+
# })
|
1117
|
+
#
|
1118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicyForObjectLambda AWS API Documentation
|
1119
|
+
#
|
1120
|
+
# @overload delete_access_point_policy_for_object_lambda(params = {})
|
1121
|
+
# @param [Hash] params ({})
|
1122
|
+
def delete_access_point_policy_for_object_lambda(params = {}, options = {})
|
1123
|
+
req = build_request(:delete_access_point_policy_for_object_lambda, params)
|
1124
|
+
req.send_request(options)
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket. To delete an S3
|
1128
|
+
# bucket, see [DeleteBucket][1] in the *Amazon Simple Storage Service
|
1129
|
+
# API*.
|
982
1130
|
#
|
983
1131
|
# </note>
|
984
1132
|
#
|
@@ -986,7 +1134,7 @@ module Aws::S3Control
|
|
986
1134
|
# object versions and delete markers) in the bucket must be deleted
|
987
1135
|
# before the bucket itself can be deleted. For more information, see
|
988
1136
|
# [Using Amazon S3 on Outposts][2] in *Amazon Simple Storage Service
|
989
|
-
#
|
1137
|
+
# User Guide*.
|
990
1138
|
#
|
991
1139
|
# All Amazon S3 on Outposts REST API requests for this action require an
|
992
1140
|
# additional parameter of `x-amz-outpost-id` to be passed with the
|
@@ -1007,7 +1155,7 @@ module Aws::S3Control
|
|
1007
1155
|
#
|
1008
1156
|
#
|
1009
1157
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
|
1010
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1158
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1011
1159
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html#API_control_DeleteBucket_Examples
|
1012
1160
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
1013
1161
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
|
@@ -1049,7 +1197,7 @@ module Aws::S3Control
|
|
1049
1197
|
req.send_request(options)
|
1050
1198
|
end
|
1051
1199
|
|
1052
|
-
# <note markdown="1"> This
|
1200
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket's lifecycle
|
1053
1201
|
# configuration. To delete an S3 bucket's lifecycle configuration, see
|
1054
1202
|
# [DeleteBucketLifecycle][1] in the *Amazon Simple Storage Service API*.
|
1055
1203
|
#
|
@@ -1061,10 +1209,10 @@ module Aws::S3Control
|
|
1061
1209
|
# objects never expire, and Amazon S3 on Outposts no longer
|
1062
1210
|
# automatically deletes any objects on the basis of rules contained in
|
1063
1211
|
# the deleted lifecycle configuration. For more information, see [Using
|
1064
|
-
# Amazon S3 on Outposts][2] in *Amazon Simple Storage Service
|
1212
|
+
# Amazon S3 on Outposts][2] in *Amazon Simple Storage Service User
|
1065
1213
|
# Guide*.
|
1066
1214
|
#
|
1067
|
-
# To use this
|
1215
|
+
# To use this action, you must have permission to perform the
|
1068
1216
|
# `s3-outposts:DeleteLifecycleConfiguration` action. By default, the
|
1069
1217
|
# bucket owner has this permission and the Outposts bucket owner can
|
1070
1218
|
# grant this permission to others.
|
@@ -1089,7 +1237,7 @@ module Aws::S3Control
|
|
1089
1237
|
#
|
1090
1238
|
#
|
1091
1239
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
|
1092
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1240
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1093
1241
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples
|
1094
1242
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
|
1095
1243
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
|
@@ -1131,20 +1279,20 @@ module Aws::S3Control
|
|
1131
1279
|
req.send_request(options)
|
1132
1280
|
end
|
1133
1281
|
|
1134
|
-
# <note markdown="1"> This
|
1135
|
-
#
|
1136
|
-
#
|
1282
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket policy. To delete
|
1283
|
+
# an S3 bucket policy, see [DeleteBucketPolicy][1] in the *Amazon Simple
|
1284
|
+
# Storage Service API*.
|
1137
1285
|
#
|
1138
1286
|
# </note>
|
1139
1287
|
#
|
1140
|
-
# This implementation of the DELETE
|
1141
|
-
#
|
1142
|
-
#
|
1143
|
-
#
|
1288
|
+
# This implementation of the DELETE action uses the policy subresource
|
1289
|
+
# to delete the policy of a specified Amazon S3 on Outposts bucket. If
|
1290
|
+
# you are using an identity other than the root user of the AWS account
|
1291
|
+
# that owns the bucket, the calling identity must have the
|
1144
1292
|
# `s3-outposts:DeleteBucketPolicy` permissions on the specified Outposts
|
1145
|
-
# bucket and belong to the bucket owner's account to use this
|
1146
|
-
#
|
1147
|
-
#
|
1293
|
+
# bucket and belong to the bucket owner's account to use this action.
|
1294
|
+
# For more information, see [Using Amazon S3 on Outposts][2] in *Amazon
|
1295
|
+
# Simple Storage Service User Guide*.
|
1148
1296
|
#
|
1149
1297
|
# If you don't have `DeleteBucketPolicy` permissions, Amazon S3 returns
|
1150
1298
|
# a `403 Access Denied` error. If you have the correct permissions, but
|
@@ -1152,7 +1300,7 @@ module Aws::S3Control
|
|
1152
1300
|
# account, Amazon S3 returns a `405 Method Not Allowed` error.
|
1153
1301
|
#
|
1154
1302
|
# As a security precaution, the root user of the AWS account that owns a
|
1155
|
-
# bucket can always use this
|
1303
|
+
# bucket can always use this action, even if the policy explicitly
|
1156
1304
|
# denies the root user the ability to perform this action.
|
1157
1305
|
#
|
1158
1306
|
# For more information about bucket policies, see [Using Bucket Policies
|
@@ -1175,7 +1323,7 @@ module Aws::S3Control
|
|
1175
1323
|
#
|
1176
1324
|
#
|
1177
1325
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html
|
1178
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1326
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1179
1327
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
1180
1328
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples
|
1181
1329
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
|
@@ -1217,17 +1365,17 @@ module Aws::S3Control
|
|
1217
1365
|
req.send_request(options)
|
1218
1366
|
end
|
1219
1367
|
|
1220
|
-
# <note markdown="1"> This
|
1221
|
-
#
|
1222
|
-
#
|
1368
|
+
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket's tags. To delete
|
1369
|
+
# an S3 bucket tags, see [DeleteBucketTagging][1] in the *Amazon Simple
|
1370
|
+
# Storage Service API*.
|
1223
1371
|
#
|
1224
1372
|
# </note>
|
1225
1373
|
#
|
1226
1374
|
# Deletes the tags from the Outposts bucket. For more information, see
|
1227
1375
|
# [Using Amazon S3 on Outposts][2] in *Amazon Simple Storage Service
|
1228
|
-
#
|
1376
|
+
# User Guide*.
|
1229
1377
|
#
|
1230
|
-
# To use this
|
1378
|
+
# To use this action, you must have permission to perform the
|
1231
1379
|
# `PutBucketTagging` action. By default, the bucket owner has this
|
1232
1380
|
# permission and can grant this permission to others.
|
1233
1381
|
#
|
@@ -1248,7 +1396,7 @@ module Aws::S3Control
|
|
1248
1396
|
#
|
1249
1397
|
#
|
1250
1398
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html
|
1251
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1399
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1252
1400
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples
|
1253
1401
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html
|
1254
1402
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
@@ -1293,7 +1441,7 @@ module Aws::S3Control
|
|
1293
1441
|
# To use this operation, you must have permission to perform the
|
1294
1442
|
# `s3:DeleteJobTagging` action. For more information, see [Controlling
|
1295
1443
|
# access and labeling jobs using tags][1] in the *Amazon Simple Storage
|
1296
|
-
# Service
|
1444
|
+
# Service User Guide*.
|
1297
1445
|
#
|
1298
1446
|
#
|
1299
1447
|
#
|
@@ -1373,13 +1521,14 @@ module Aws::S3Control
|
|
1373
1521
|
end
|
1374
1522
|
|
1375
1523
|
# Deletes the Amazon S3 Storage Lens configuration. For more information
|
1376
|
-
# about S3 Storage Lens, see [
|
1377
|
-
# the *Amazon Simple Storage Service
|
1524
|
+
# about S3 Storage Lens, see [Assessing your storage activity and usage
|
1525
|
+
# with Amazon S3 Storage Lens ][1] in the *Amazon Simple Storage Service
|
1526
|
+
# User Guide*.
|
1378
1527
|
#
|
1379
1528
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
1380
1529
|
# `s3:DeleteStorageLensConfiguration` action. For more information, see
|
1381
1530
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
1382
|
-
# Simple Storage Service
|
1531
|
+
# Simple Storage Service User Guide*.
|
1383
1532
|
#
|
1384
1533
|
# </note>
|
1385
1534
|
#
|
@@ -1413,13 +1562,14 @@ module Aws::S3Control
|
|
1413
1562
|
end
|
1414
1563
|
|
1415
1564
|
# Deletes the Amazon S3 Storage Lens configuration tags. For more
|
1416
|
-
# information about S3 Storage Lens, see [
|
1417
|
-
# Lens][1] in the *Amazon
|
1565
|
+
# information about S3 Storage Lens, see [Assessing your storage
|
1566
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
1567
|
+
# Simple Storage Service User Guide*.
|
1418
1568
|
#
|
1419
1569
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
1420
1570
|
# `s3:DeleteStorageLensConfigurationTagging` action. For more
|
1421
1571
|
# information, see [Setting permissions to use Amazon S3 Storage
|
1422
|
-
# Lens][2] in the *Amazon Simple Storage Service
|
1572
|
+
# Lens][2] in the *Amazon Simple Storage Service User Guide*.
|
1423
1573
|
#
|
1424
1574
|
# </note>
|
1425
1575
|
#
|
@@ -1454,7 +1604,7 @@ module Aws::S3Control
|
|
1454
1604
|
|
1455
1605
|
# Retrieves the configuration parameters and status for a Batch
|
1456
1606
|
# Operations job. For more information, see [S3 Batch Operations][1] in
|
1457
|
-
# the *Amazon Simple Storage Service
|
1607
|
+
# the *Amazon Simple Storage Service User Guide*.
|
1458
1608
|
#
|
1459
1609
|
#
|
1460
1610
|
#
|
@@ -1477,6 +1627,7 @@ module Aws::S3Control
|
|
1477
1627
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
1478
1628
|
#
|
1479
1629
|
# @option params [required, String] :account_id
|
1630
|
+
# The AWS account ID associated with the S3 Batch Operations job.
|
1480
1631
|
#
|
1481
1632
|
# @option params [required, String] :job_id
|
1482
1633
|
# The ID for the job whose information you want to retrieve.
|
@@ -1667,6 +1818,114 @@ module Aws::S3Control
|
|
1667
1818
|
req.send_request(options)
|
1668
1819
|
end
|
1669
1820
|
|
1821
|
+
# Returns configuration for an Object Lambda Access Point.
|
1822
|
+
#
|
1823
|
+
# The following actions are related to
|
1824
|
+
# `GetAccessPointConfigurationForObjectLambda`\:
|
1825
|
+
#
|
1826
|
+
# * [PutAccessPointConfigurationForObjectLambda][1]
|
1827
|
+
#
|
1828
|
+
# ^
|
1829
|
+
#
|
1830
|
+
#
|
1831
|
+
#
|
1832
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointConfigurationForObjectLambda.html
|
1833
|
+
#
|
1834
|
+
# @option params [required, String] :account_id
|
1835
|
+
# The account ID for the account that owns the specified Object Lambda
|
1836
|
+
# Access Point.
|
1837
|
+
#
|
1838
|
+
# @option params [required, String] :name
|
1839
|
+
# The name of the Object Lambda Access Point you want to return the
|
1840
|
+
# configuration for.
|
1841
|
+
#
|
1842
|
+
# @return [Types::GetAccessPointConfigurationForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1843
|
+
#
|
1844
|
+
# * {Types::GetAccessPointConfigurationForObjectLambdaResult#configuration #configuration} => Types::ObjectLambdaConfiguration
|
1845
|
+
#
|
1846
|
+
# @example Request syntax with placeholder values
|
1847
|
+
#
|
1848
|
+
# resp = client.get_access_point_configuration_for_object_lambda({
|
1849
|
+
# account_id: "AccountId", # required
|
1850
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1851
|
+
# })
|
1852
|
+
#
|
1853
|
+
# @example Response structure
|
1854
|
+
#
|
1855
|
+
# resp.configuration.supporting_access_point #=> String
|
1856
|
+
# resp.configuration.cloud_watch_metrics_enabled #=> Boolean
|
1857
|
+
# resp.configuration.allowed_features #=> Array
|
1858
|
+
# resp.configuration.allowed_features[0] #=> String, one of "GetObject-Range", "GetObject-PartNumber"
|
1859
|
+
# resp.configuration.transformation_configurations #=> Array
|
1860
|
+
# resp.configuration.transformation_configurations[0].actions #=> Array
|
1861
|
+
# resp.configuration.transformation_configurations[0].actions[0] #=> String, one of "GetObject"
|
1862
|
+
# resp.configuration.transformation_configurations[0].content_transformation.aws_lambda.function_arn #=> String
|
1863
|
+
# resp.configuration.transformation_configurations[0].content_transformation.aws_lambda.function_payload #=> String
|
1864
|
+
#
|
1865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointConfigurationForObjectLambda AWS API Documentation
|
1866
|
+
#
|
1867
|
+
# @overload get_access_point_configuration_for_object_lambda(params = {})
|
1868
|
+
# @param [Hash] params ({})
|
1869
|
+
def get_access_point_configuration_for_object_lambda(params = {}, options = {})
|
1870
|
+
req = build_request(:get_access_point_configuration_for_object_lambda, params)
|
1871
|
+
req.send_request(options)
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
# Returns configuration information about the specified Object Lambda
|
1875
|
+
# Access Point
|
1876
|
+
#
|
1877
|
+
# The following actions are related to `GetAccessPointForObjectLambda`\:
|
1878
|
+
#
|
1879
|
+
# * [CreateAccessPointForObjectLambda][1]
|
1880
|
+
#
|
1881
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
1882
|
+
#
|
1883
|
+
# * [ListAccessPointsForObjectLambda][3]
|
1884
|
+
#
|
1885
|
+
#
|
1886
|
+
#
|
1887
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
1888
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
1889
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
1890
|
+
#
|
1891
|
+
# @option params [required, String] :account_id
|
1892
|
+
# The account ID for the account that owns the specified Object Lambda
|
1893
|
+
# Access Point.
|
1894
|
+
#
|
1895
|
+
# @option params [required, String] :name
|
1896
|
+
# The name of the Object Lambda Access Point.
|
1897
|
+
#
|
1898
|
+
# @return [Types::GetAccessPointForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1899
|
+
#
|
1900
|
+
# * {Types::GetAccessPointForObjectLambdaResult#name #name} => String
|
1901
|
+
# * {Types::GetAccessPointForObjectLambdaResult#public_access_block_configuration #public_access_block_configuration} => Types::PublicAccessBlockConfiguration
|
1902
|
+
# * {Types::GetAccessPointForObjectLambdaResult#creation_date #creation_date} => Time
|
1903
|
+
#
|
1904
|
+
# @example Request syntax with placeholder values
|
1905
|
+
#
|
1906
|
+
# resp = client.get_access_point_for_object_lambda({
|
1907
|
+
# account_id: "AccountId", # required
|
1908
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1909
|
+
# })
|
1910
|
+
#
|
1911
|
+
# @example Response structure
|
1912
|
+
#
|
1913
|
+
# resp.name #=> String
|
1914
|
+
# resp.public_access_block_configuration.block_public_acls #=> Boolean
|
1915
|
+
# resp.public_access_block_configuration.ignore_public_acls #=> Boolean
|
1916
|
+
# resp.public_access_block_configuration.block_public_policy #=> Boolean
|
1917
|
+
# resp.public_access_block_configuration.restrict_public_buckets #=> Boolean
|
1918
|
+
# resp.creation_date #=> Time
|
1919
|
+
#
|
1920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointForObjectLambda AWS API Documentation
|
1921
|
+
#
|
1922
|
+
# @overload get_access_point_for_object_lambda(params = {})
|
1923
|
+
# @param [Hash] params ({})
|
1924
|
+
def get_access_point_for_object_lambda(params = {}, options = {})
|
1925
|
+
req = build_request(:get_access_point_for_object_lambda, params)
|
1926
|
+
req.send_request(options)
|
1927
|
+
end
|
1928
|
+
|
1670
1929
|
# Returns the access point policy associated with the specified access
|
1671
1930
|
# point.
|
1672
1931
|
#
|
@@ -1723,6 +1982,51 @@ module Aws::S3Control
|
|
1723
1982
|
req.send_request(options)
|
1724
1983
|
end
|
1725
1984
|
|
1985
|
+
# Returns the resource policy for an Object Lambda Access Point.
|
1986
|
+
#
|
1987
|
+
# The following actions are related to
|
1988
|
+
# `GetAccessPointPolicyForObjectLambda`\:
|
1989
|
+
#
|
1990
|
+
# * [DeleteAccessPointPolicyForObjectLambda][1]
|
1991
|
+
#
|
1992
|
+
# * [PutAccessPointPolicyForObjectLambda][2]
|
1993
|
+
#
|
1994
|
+
#
|
1995
|
+
#
|
1996
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html
|
1997
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html
|
1998
|
+
#
|
1999
|
+
# @option params [required, String] :account_id
|
2000
|
+
# The account ID for the account that owns the specified Object Lambda
|
2001
|
+
# Access Point.
|
2002
|
+
#
|
2003
|
+
# @option params [required, String] :name
|
2004
|
+
# The name of the Object Lambda Access Point.
|
2005
|
+
#
|
2006
|
+
# @return [Types::GetAccessPointPolicyForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2007
|
+
#
|
2008
|
+
# * {Types::GetAccessPointPolicyForObjectLambdaResult#policy #policy} => String
|
2009
|
+
#
|
2010
|
+
# @example Request syntax with placeholder values
|
2011
|
+
#
|
2012
|
+
# resp = client.get_access_point_policy_for_object_lambda({
|
2013
|
+
# account_id: "AccountId", # required
|
2014
|
+
# name: "ObjectLambdaAccessPointName", # required
|
2015
|
+
# })
|
2016
|
+
#
|
2017
|
+
# @example Response structure
|
2018
|
+
#
|
2019
|
+
# resp.policy #=> String
|
2020
|
+
#
|
2021
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyForObjectLambda AWS API Documentation
|
2022
|
+
#
|
2023
|
+
# @overload get_access_point_policy_for_object_lambda(params = {})
|
2024
|
+
# @param [Hash] params ({})
|
2025
|
+
def get_access_point_policy_for_object_lambda(params = {}, options = {})
|
2026
|
+
req = build_request(:get_access_point_policy_for_object_lambda, params)
|
2027
|
+
req.send_request(options)
|
2028
|
+
end
|
2029
|
+
|
1726
2030
|
# Indicates whether the specified access point currently has a policy
|
1727
2031
|
# that allows public access. For more information about public access
|
1728
2032
|
# through access points, see [Managing Data Access with Amazon S3 Access
|
@@ -1730,7 +2034,7 @@ module Aws::S3Control
|
|
1730
2034
|
#
|
1731
2035
|
#
|
1732
2036
|
#
|
1733
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2037
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
1734
2038
|
#
|
1735
2039
|
# @option params [required, String] :account_id
|
1736
2040
|
# The account ID for the account that owns the specified access point.
|
@@ -1762,16 +2066,50 @@ module Aws::S3Control
|
|
1762
2066
|
req.send_request(options)
|
1763
2067
|
end
|
1764
2068
|
|
2069
|
+
# Returns the status of the resource policy associated with an Object
|
2070
|
+
# Lambda Access Point.
|
2071
|
+
#
|
2072
|
+
# @option params [required, String] :account_id
|
2073
|
+
# The account ID for the account that owns the specified Object Lambda
|
2074
|
+
# Access Point.
|
2075
|
+
#
|
2076
|
+
# @option params [required, String] :name
|
2077
|
+
# The name of the Object Lambda Access Point.
|
2078
|
+
#
|
2079
|
+
# @return [Types::GetAccessPointPolicyStatusForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2080
|
+
#
|
2081
|
+
# * {Types::GetAccessPointPolicyStatusForObjectLambdaResult#policy_status #policy_status} => Types::PolicyStatus
|
2082
|
+
#
|
2083
|
+
# @example Request syntax with placeholder values
|
2084
|
+
#
|
2085
|
+
# resp = client.get_access_point_policy_status_for_object_lambda({
|
2086
|
+
# account_id: "AccountId", # required
|
2087
|
+
# name: "ObjectLambdaAccessPointName", # required
|
2088
|
+
# })
|
2089
|
+
#
|
2090
|
+
# @example Response structure
|
2091
|
+
#
|
2092
|
+
# resp.policy_status.is_public #=> Boolean
|
2093
|
+
#
|
2094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatusForObjectLambda AWS API Documentation
|
2095
|
+
#
|
2096
|
+
# @overload get_access_point_policy_status_for_object_lambda(params = {})
|
2097
|
+
# @param [Hash] params ({})
|
2098
|
+
def get_access_point_policy_status_for_object_lambda(params = {}, options = {})
|
2099
|
+
req = build_request(:get_access_point_policy_status_for_object_lambda, params)
|
2100
|
+
req.send_request(options)
|
2101
|
+
end
|
2102
|
+
|
1765
2103
|
# Gets an Amazon S3 on Outposts bucket. For more information, see [
|
1766
2104
|
# Using Amazon S3 on Outposts][1] in the *Amazon Simple Storage Service
|
1767
|
-
#
|
2105
|
+
# User Guide*.
|
1768
2106
|
#
|
1769
2107
|
# If you are using an identity other than the root user of the AWS
|
1770
|
-
# account that owns the bucket, the calling identity must have
|
1771
|
-
# `s3-outposts:GetBucket` permissions on the specified
|
1772
|
-
# to the bucket owner's account in order to
|
1773
|
-
# users from Outposts bucket owner account with
|
1774
|
-
# can perform actions on an Outposts bucket.
|
2108
|
+
# account that owns the Outposts bucket, the calling identity must have
|
2109
|
+
# the `s3-outposts:GetBucket` permissions on the specified Outposts
|
2110
|
+
# bucket and belong to the Outposts bucket owner's account in order to
|
2111
|
+
# use this action. Only users from Outposts bucket owner account with
|
2112
|
+
# the right permissions can perform actions on an Outposts bucket.
|
1775
2113
|
#
|
1776
2114
|
# If you don't have `s3-outposts:GetBucket` permissions or you're not
|
1777
2115
|
# using an identity that belongs to the bucket owner's account, Amazon
|
@@ -1796,7 +2134,7 @@ module Aws::S3Control
|
|
1796
2134
|
#
|
1797
2135
|
#
|
1798
2136
|
#
|
1799
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2137
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1800
2138
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html#API_control_GetBucket_Examples
|
1801
2139
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
1802
2140
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
@@ -1848,7 +2186,7 @@ module Aws::S3Control
|
|
1848
2186
|
req.send_request(options)
|
1849
2187
|
end
|
1850
2188
|
|
1851
|
-
# <note markdown="1"> This
|
2189
|
+
# <note markdown="1"> This action gets an Amazon S3 on Outposts bucket's lifecycle
|
1852
2190
|
# configuration. To get an S3 bucket's lifecycle configuration, see
|
1853
2191
|
# [GetBucketLifecycleConfiguration][1] in the *Amazon Simple Storage
|
1854
2192
|
# Service API*.
|
@@ -1858,9 +2196,9 @@ module Aws::S3Control
|
|
1858
2196
|
# Returns the lifecycle configuration information set on the Outposts
|
1859
2197
|
# bucket. For more information, see [Using Amazon S3 on Outposts][2] and
|
1860
2198
|
# for information about lifecycle configuration, see [ Object Lifecycle
|
1861
|
-
# Management][3] in *Amazon Simple Storage Service
|
2199
|
+
# Management][3] in *Amazon Simple Storage Service User Guide*.
|
1862
2200
|
#
|
1863
|
-
# To use this
|
2201
|
+
# To use this action, you must have permission to perform the
|
1864
2202
|
# `s3-outposts:GetLifecycleConfiguration` action. The Outposts bucket
|
1865
2203
|
# owner has this permission, by default. The bucket owner can grant this
|
1866
2204
|
# permission to others. For more information about permissions, see
|
@@ -1895,10 +2233,10 @@ module Aws::S3Control
|
|
1895
2233
|
#
|
1896
2234
|
#
|
1897
2235
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html
|
1898
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2236
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1899
2237
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html
|
1900
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1901
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2238
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
2239
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
1902
2240
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples
|
1903
2241
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
|
1904
2242
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
@@ -1974,12 +2312,12 @@ module Aws::S3Control
|
|
1974
2312
|
#
|
1975
2313
|
# Returns the policy of a specified Outposts bucket. For more
|
1976
2314
|
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
1977
|
-
# Simple Storage Service
|
2315
|
+
# Simple Storage Service User Guide*.
|
1978
2316
|
#
|
1979
2317
|
# If you are using an identity other than the root user of the AWS
|
1980
2318
|
# account that owns the bucket, the calling identity must have the
|
1981
2319
|
# `GetBucketPolicy` permissions on the specified bucket and belong to
|
1982
|
-
# the bucket owner's account in order to use this
|
2320
|
+
# the bucket owner's account in order to use this action.
|
1983
2321
|
#
|
1984
2322
|
# Only users from Outposts bucket owner account with the right
|
1985
2323
|
# permissions can perform actions on an Outposts bucket. If you don't
|
@@ -1988,7 +2326,7 @@ module Aws::S3Control
|
|
1988
2326
|
# returns a `403 Access Denied` error.
|
1989
2327
|
#
|
1990
2328
|
# As a security precaution, the root user of the AWS account that owns a
|
1991
|
-
# bucket can always use this
|
2329
|
+
# bucket can always use this action, even if the policy explicitly
|
1992
2330
|
# denies the root user the ability to perform this action.
|
1993
2331
|
#
|
1994
2332
|
# For more information about bucket policies, see [Using Bucket Policies
|
@@ -2013,7 +2351,7 @@ module Aws::S3Control
|
|
2013
2351
|
#
|
2014
2352
|
#
|
2015
2353
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicy.html
|
2016
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2354
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2017
2355
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2018
2356
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples
|
2019
2357
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
@@ -2062,17 +2400,17 @@ module Aws::S3Control
|
|
2062
2400
|
req.send_request(options)
|
2063
2401
|
end
|
2064
2402
|
|
2065
|
-
# <note markdown="1"> This
|
2066
|
-
#
|
2067
|
-
#
|
2403
|
+
# <note markdown="1"> This action gets an Amazon S3 on Outposts bucket's tags. To get an S3
|
2404
|
+
# bucket tags, see [GetBucketTagging][1] in the *Amazon Simple Storage
|
2405
|
+
# Service API*.
|
2068
2406
|
#
|
2069
2407
|
# </note>
|
2070
2408
|
#
|
2071
2409
|
# Returns the tag set associated with the Outposts bucket. For more
|
2072
2410
|
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
2073
|
-
# Simple Storage Service
|
2411
|
+
# Simple Storage Service User Guide*.
|
2074
2412
|
#
|
2075
|
-
# To use this
|
2413
|
+
# To use this action, you must have permission to perform the
|
2076
2414
|
# `GetBucketTagging` action. By default, the bucket owner has this
|
2077
2415
|
# permission and can grant this permission to others.
|
2078
2416
|
#
|
@@ -2101,7 +2439,7 @@ module Aws::S3Control
|
|
2101
2439
|
#
|
2102
2440
|
#
|
2103
2441
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html
|
2104
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2442
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2105
2443
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html#API_control_GetBucketTagging_Examples
|
2106
2444
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
2107
2445
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
|
@@ -2153,7 +2491,7 @@ module Aws::S3Control
|
|
2153
2491
|
# Returns the tags on an S3 Batch Operations job. To use this operation,
|
2154
2492
|
# you must have permission to perform the `s3:GetJobTagging` action. For
|
2155
2493
|
# more information, see [Controlling access and labeling jobs using
|
2156
|
-
# tags][1] in the *Amazon Simple Storage Service
|
2494
|
+
# tags][1] in the *Amazon Simple Storage Service User Guide*.
|
2157
2495
|
#
|
2158
2496
|
#
|
2159
2497
|
#
|
@@ -2251,13 +2589,13 @@ module Aws::S3Control
|
|
2251
2589
|
end
|
2252
2590
|
|
2253
2591
|
# Gets the Amazon S3 Storage Lens configuration. For more information,
|
2254
|
-
# see [
|
2255
|
-
# Storage Service
|
2592
|
+
# see [Assessing your storage activity and usage with Amazon S3 Storage
|
2593
|
+
# Lens ][1] in the *Amazon Simple Storage Service User Guide*.
|
2256
2594
|
#
|
2257
2595
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2258
2596
|
# `s3:GetStorageLensConfiguration` action. For more information, see
|
2259
2597
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
2260
|
-
# Simple Storage Service
|
2598
|
+
# Simple Storage Service User Guide*.
|
2261
2599
|
#
|
2262
2600
|
# </note>
|
2263
2601
|
#
|
@@ -2320,13 +2658,14 @@ module Aws::S3Control
|
|
2320
2658
|
end
|
2321
2659
|
|
2322
2660
|
# Gets the tags of Amazon S3 Storage Lens configuration. For more
|
2323
|
-
# information about S3 Storage Lens, see [
|
2324
|
-
# Lens][1] in the *Amazon
|
2661
|
+
# information about S3 Storage Lens, see [Assessing your storage
|
2662
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
2663
|
+
# Simple Storage Service User Guide*.
|
2325
2664
|
#
|
2326
2665
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2327
2666
|
# `s3:GetStorageLensConfigurationTagging` action. For more information,
|
2328
2667
|
# see [Setting permissions to use Amazon S3 Storage Lens][2] in the
|
2329
|
-
# *Amazon Simple Storage Service
|
2668
|
+
# *Amazon Simple Storage Service User Guide*.
|
2330
2669
|
#
|
2331
2670
|
# </note>
|
2332
2671
|
#
|
@@ -2466,10 +2805,79 @@ module Aws::S3Control
|
|
2466
2805
|
req.send_request(options)
|
2467
2806
|
end
|
2468
2807
|
|
2808
|
+
# Returns a list of the access points associated with the Object Lambda
|
2809
|
+
# Access Point. You can retrieve up to 1000 access points per call. If
|
2810
|
+
# there are more than 1,000 access points (or the number specified in
|
2811
|
+
# `maxResults`, whichever is less), the response will include a
|
2812
|
+
# continuation token that you can use to list the additional access
|
2813
|
+
# points.
|
2814
|
+
#
|
2815
|
+
# The following actions are related to
|
2816
|
+
# `ListAccessPointsForObjectLambda`\:
|
2817
|
+
#
|
2818
|
+
# * [CreateAccessPointForObjectLambda][1]
|
2819
|
+
#
|
2820
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
2821
|
+
#
|
2822
|
+
# * [GetAccessPointForObjectLambda][3]
|
2823
|
+
#
|
2824
|
+
#
|
2825
|
+
#
|
2826
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
2827
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
2828
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
2829
|
+
#
|
2830
|
+
# @option params [required, String] :account_id
|
2831
|
+
# The account ID for the account that owns the specified Object Lambda
|
2832
|
+
# Access Point.
|
2833
|
+
#
|
2834
|
+
# @option params [String] :next_token
|
2835
|
+
# If the list has more access points than can be returned in one call to
|
2836
|
+
# this API, this field contains a continuation token that you can
|
2837
|
+
# provide in subsequent calls to this API to retrieve additional access
|
2838
|
+
# points.
|
2839
|
+
#
|
2840
|
+
# @option params [Integer] :max_results
|
2841
|
+
# The maximum number of access points that you want to include in the
|
2842
|
+
# list. If there are more than this number of access points, then the
|
2843
|
+
# response will include a continuation token in the `NextToken` field
|
2844
|
+
# that you can use to retrieve the next page of access points.
|
2845
|
+
#
|
2846
|
+
# @return [Types::ListAccessPointsForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2847
|
+
#
|
2848
|
+
# * {Types::ListAccessPointsForObjectLambdaResult#object_lambda_access_point_list #object_lambda_access_point_list} => Array<Types::ObjectLambdaAccessPoint>
|
2849
|
+
# * {Types::ListAccessPointsForObjectLambdaResult#next_token #next_token} => String
|
2850
|
+
#
|
2851
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2852
|
+
#
|
2853
|
+
# @example Request syntax with placeholder values
|
2854
|
+
#
|
2855
|
+
# resp = client.list_access_points_for_object_lambda({
|
2856
|
+
# account_id: "AccountId", # required
|
2857
|
+
# next_token: "NonEmptyMaxLength1024String",
|
2858
|
+
# max_results: 1,
|
2859
|
+
# })
|
2860
|
+
#
|
2861
|
+
# @example Response structure
|
2862
|
+
#
|
2863
|
+
# resp.object_lambda_access_point_list #=> Array
|
2864
|
+
# resp.object_lambda_access_point_list[0].name #=> String
|
2865
|
+
# resp.object_lambda_access_point_list[0].object_lambda_access_point_arn #=> String
|
2866
|
+
# resp.next_token #=> String
|
2867
|
+
#
|
2868
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForObjectLambda AWS API Documentation
|
2869
|
+
#
|
2870
|
+
# @overload list_access_points_for_object_lambda(params = {})
|
2871
|
+
# @param [Hash] params ({})
|
2872
|
+
def list_access_points_for_object_lambda(params = {}, options = {})
|
2873
|
+
req = build_request(:list_access_points_for_object_lambda, params)
|
2874
|
+
req.send_request(options)
|
2875
|
+
end
|
2876
|
+
|
2469
2877
|
# Lists current S3 Batch Operations jobs and jobs that have ended within
|
2470
2878
|
# the last 30 days for the AWS account making the request. For more
|
2471
2879
|
# information, see [S3 Batch Operations][1] in the *Amazon Simple
|
2472
|
-
# Storage Service
|
2880
|
+
# Storage Service User Guide*.
|
2473
2881
|
#
|
2474
2882
|
# Related actions include:
|
2475
2883
|
#
|
@@ -2492,6 +2900,7 @@ module Aws::S3Control
|
|
2492
2900
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
2493
2901
|
#
|
2494
2902
|
# @option params [required, String] :account_id
|
2903
|
+
# The AWS account ID associated with the S3 Batch Operations job.
|
2495
2904
|
#
|
2496
2905
|
# @option params [Array<String>] :job_statuses
|
2497
2906
|
# The `List Jobs` request returns jobs that match the statuses listed in
|
@@ -2530,7 +2939,7 @@ module Aws::S3Control
|
|
2530
2939
|
# resp.jobs #=> Array
|
2531
2940
|
# resp.jobs[0].job_id #=> String
|
2532
2941
|
# resp.jobs[0].description #=> String
|
2533
|
-
# resp.jobs[0].operation #=> String, one of "LambdaInvoke", "S3PutObjectCopy", "S3PutObjectAcl", "S3PutObjectTagging", "S3InitiateRestoreObject", "S3PutObjectLegalHold", "S3PutObjectRetention"
|
2942
|
+
# resp.jobs[0].operation #=> String, one of "LambdaInvoke", "S3PutObjectCopy", "S3PutObjectAcl", "S3PutObjectTagging", "S3DeleteObjectTagging", "S3InitiateRestoreObject", "S3PutObjectLegalHold", "S3PutObjectRetention"
|
2534
2943
|
# resp.jobs[0].priority #=> Integer
|
2535
2944
|
# resp.jobs[0].status #=> String, one of "Active", "Cancelled", "Cancelling", "Complete", "Completing", "Failed", "Failing", "New", "Paused", "Pausing", "Preparing", "Ready", "Suspended"
|
2536
2945
|
# resp.jobs[0].creation_time #=> Time
|
@@ -2551,7 +2960,7 @@ module Aws::S3Control
|
|
2551
2960
|
# Returns a list of all Outposts buckets in an Outpost that are owned by
|
2552
2961
|
# the authenticated sender of the request. For more information, see
|
2553
2962
|
# [Using Amazon S3 on Outposts][1] in the *Amazon Simple Storage Service
|
2554
|
-
#
|
2963
|
+
# User Guide*.
|
2555
2964
|
#
|
2556
2965
|
# For an example of the request syntax for Amazon S3 on Outposts that
|
2557
2966
|
# uses the S3 on Outposts endpoint hostname prefix and
|
@@ -2559,7 +2968,7 @@ module Aws::S3Control
|
|
2559
2968
|
#
|
2560
2969
|
#
|
2561
2970
|
#
|
2562
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2971
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2563
2972
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples
|
2564
2973
|
#
|
2565
2974
|
# @option params [required, String] :account_id
|
@@ -2612,13 +3021,14 @@ module Aws::S3Control
|
|
2612
3021
|
end
|
2613
3022
|
|
2614
3023
|
# Gets a list of Amazon S3 Storage Lens configurations. For more
|
2615
|
-
# information about S3 Storage Lens, see [
|
2616
|
-
# Lens][1] in the *Amazon
|
3024
|
+
# information about S3 Storage Lens, see [Assessing your storage
|
3025
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
3026
|
+
# Simple Storage Service User Guide*.
|
2617
3027
|
#
|
2618
3028
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2619
3029
|
# `s3:ListStorageLensConfigurations` action. For more information, see
|
2620
3030
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
2621
|
-
# Simple Storage Service
|
3031
|
+
# Simple Storage Service User Guide*.
|
2622
3032
|
#
|
2623
3033
|
# </note>
|
2624
3034
|
#
|
@@ -2663,6 +3073,63 @@ module Aws::S3Control
|
|
2663
3073
|
req.send_request(options)
|
2664
3074
|
end
|
2665
3075
|
|
3076
|
+
# Replaces configuration for an Object Lambda Access Point.
|
3077
|
+
#
|
3078
|
+
# The following actions are related to
|
3079
|
+
# `PutAccessPointConfigurationForObjectLambda`\:
|
3080
|
+
#
|
3081
|
+
# * [GetAccessPointConfigurationForObjectLambda][1]
|
3082
|
+
#
|
3083
|
+
# ^
|
3084
|
+
#
|
3085
|
+
#
|
3086
|
+
#
|
3087
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointConfigurationForObjectLambda.html
|
3088
|
+
#
|
3089
|
+
# @option params [required, String] :account_id
|
3090
|
+
# The account ID for the account that owns the specified Object Lambda
|
3091
|
+
# Access Point.
|
3092
|
+
#
|
3093
|
+
# @option params [required, String] :name
|
3094
|
+
# The name of the Object Lambda Access Point.
|
3095
|
+
#
|
3096
|
+
# @option params [required, Types::ObjectLambdaConfiguration] :configuration
|
3097
|
+
# Object Lambda Access Point configuration document.
|
3098
|
+
#
|
3099
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3100
|
+
#
|
3101
|
+
# @example Request syntax with placeholder values
|
3102
|
+
#
|
3103
|
+
# resp = client.put_access_point_configuration_for_object_lambda({
|
3104
|
+
# account_id: "AccountId", # required
|
3105
|
+
# name: "ObjectLambdaAccessPointName", # required
|
3106
|
+
# configuration: { # required
|
3107
|
+
# supporting_access_point: "ObjectLambdaSupportingAccessPointArn", # required
|
3108
|
+
# cloud_watch_metrics_enabled: false,
|
3109
|
+
# allowed_features: ["GetObject-Range"], # accepts GetObject-Range, GetObject-PartNumber
|
3110
|
+
# transformation_configurations: [ # required
|
3111
|
+
# {
|
3112
|
+
# actions: ["GetObject"], # required, accepts GetObject
|
3113
|
+
# content_transformation: { # required
|
3114
|
+
# aws_lambda: {
|
3115
|
+
# function_arn: "FunctionArnString", # required
|
3116
|
+
# function_payload: "AwsLambdaTransformationPayload",
|
3117
|
+
# },
|
3118
|
+
# },
|
3119
|
+
# },
|
3120
|
+
# ],
|
3121
|
+
# },
|
3122
|
+
# })
|
3123
|
+
#
|
3124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointConfigurationForObjectLambda AWS API Documentation
|
3125
|
+
#
|
3126
|
+
# @overload put_access_point_configuration_for_object_lambda(params = {})
|
3127
|
+
# @param [Hash] params ({})
|
3128
|
+
def put_access_point_configuration_for_object_lambda(params = {}, options = {})
|
3129
|
+
req = build_request(:put_access_point_configuration_for_object_lambda, params)
|
3130
|
+
req.send_request(options)
|
3131
|
+
end
|
3132
|
+
|
2666
3133
|
# Associates an access policy with the specified access point. Each
|
2667
3134
|
# access point can have only one policy, so a request made to this API
|
2668
3135
|
# replaces any existing policy associated with the specified access
|
@@ -2714,11 +3181,11 @@ module Aws::S3Control
|
|
2714
3181
|
# The policy that you want to apply to the specified access point. For
|
2715
3182
|
# more information about access point policies, see [Managing data
|
2716
3183
|
# access with Amazon S3 Access Points][1] in the *Amazon Simple Storage
|
2717
|
-
# Service
|
3184
|
+
# Service User Guide*.
|
2718
3185
|
#
|
2719
3186
|
#
|
2720
3187
|
#
|
2721
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3188
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
2722
3189
|
#
|
2723
3190
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2724
3191
|
#
|
@@ -2739,6 +3206,52 @@ module Aws::S3Control
|
|
2739
3206
|
req.send_request(options)
|
2740
3207
|
end
|
2741
3208
|
|
3209
|
+
# Creates or replaces resource policy for an Object Lambda Access Point.
|
3210
|
+
# For an example policy, see [Creating Object Lambda Access Points][1]
|
3211
|
+
# in the *Amazon Simple Storage Service User Guide*.
|
3212
|
+
#
|
3213
|
+
# The following actions are related to
|
3214
|
+
# `PutAccessPointPolicyForObjectLambda`\:
|
3215
|
+
#
|
3216
|
+
# * [DeleteAccessPointPolicyForObjectLambda][2]
|
3217
|
+
#
|
3218
|
+
# * [GetAccessPointPolicyForObjectLambda][3]
|
3219
|
+
#
|
3220
|
+
#
|
3221
|
+
#
|
3222
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-create.html#olap-create-cli
|
3223
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html
|
3224
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html
|
3225
|
+
#
|
3226
|
+
# @option params [required, String] :account_id
|
3227
|
+
# The account ID for the account that owns the specified Object Lambda
|
3228
|
+
# Access Point.
|
3229
|
+
#
|
3230
|
+
# @option params [required, String] :name
|
3231
|
+
# The name of the Object Lambda Access Point.
|
3232
|
+
#
|
3233
|
+
# @option params [required, String] :policy
|
3234
|
+
# Object Lambda Access Point resource policy document.
|
3235
|
+
#
|
3236
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3237
|
+
#
|
3238
|
+
# @example Request syntax with placeholder values
|
3239
|
+
#
|
3240
|
+
# resp = client.put_access_point_policy_for_object_lambda({
|
3241
|
+
# account_id: "AccountId", # required
|
3242
|
+
# name: "ObjectLambdaAccessPointName", # required
|
3243
|
+
# policy: "ObjectLambdaPolicy", # required
|
3244
|
+
# })
|
3245
|
+
#
|
3246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicyForObjectLambda AWS API Documentation
|
3247
|
+
#
|
3248
|
+
# @overload put_access_point_policy_for_object_lambda(params = {})
|
3249
|
+
# @param [Hash] params ({})
|
3250
|
+
def put_access_point_policy_for_object_lambda(params = {}, options = {})
|
3251
|
+
req = build_request(:put_access_point_policy_for_object_lambda, params)
|
3252
|
+
req.send_request(options)
|
3253
|
+
end
|
3254
|
+
|
2742
3255
|
# <note markdown="1"> This action puts a lifecycle configuration to an Amazon S3 on Outposts
|
2743
3256
|
# bucket. To put a lifecycle configuration to an S3 bucket, see
|
2744
3257
|
# [PutBucketLifecycleConfiguration][1] in the *Amazon Simple Storage
|
@@ -2746,12 +3259,10 @@ module Aws::S3Control
|
|
2746
3259
|
#
|
2747
3260
|
# </note>
|
2748
3261
|
#
|
2749
|
-
# Creates a new lifecycle configuration for the Outposts bucket or
|
3262
|
+
# Creates a new lifecycle configuration for the S3 on Outposts bucket or
|
2750
3263
|
# replaces an existing lifecycle configuration. Outposts buckets only
|
2751
3264
|
# support lifecycle configurations that delete/expire objects after a
|
2752
|
-
# certain period of time and abort incomplete multipart uploads.
|
2753
|
-
# more information, see [Managing Lifecycle Permissions for Amazon S3 on
|
2754
|
-
# Outposts][2].
|
3265
|
+
# certain period of time and abort incomplete multipart uploads.
|
2755
3266
|
#
|
2756
3267
|
#
|
2757
3268
|
#
|
@@ -2761,22 +3272,21 @@ module Aws::S3Control
|
|
2761
3272
|
# `s3-control`. For an example of the request syntax for Amazon S3 on
|
2762
3273
|
# Outposts that uses the S3 on Outposts endpoint hostname prefix and the
|
2763
3274
|
# `x-amz-outpost-id` derived using the access point ARN, see the
|
2764
|
-
# [Examples][
|
3275
|
+
# [Examples][2] section.
|
2765
3276
|
#
|
2766
3277
|
# The following actions are related to
|
2767
3278
|
# `PutBucketLifecycleConfiguration`\:
|
2768
3279
|
#
|
2769
|
-
# * [GetBucketLifecycleConfiguration][
|
3280
|
+
# * [GetBucketLifecycleConfiguration][3]
|
2770
3281
|
#
|
2771
|
-
# * [DeleteBucketLifecycleConfiguration][
|
3282
|
+
# * [DeleteBucketLifecycleConfiguration][4]
|
2772
3283
|
#
|
2773
3284
|
#
|
2774
3285
|
#
|
2775
3286
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html
|
2776
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2777
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
2778
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
2779
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
3287
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples
|
3288
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html
|
3289
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
2780
3290
|
#
|
2781
3291
|
# @option params [required, String] :account_id
|
2782
3292
|
# The AWS account ID of the Outposts bucket.
|
@@ -2861,12 +3371,12 @@ module Aws::S3Control
|
|
2861
3371
|
#
|
2862
3372
|
# Applies an Amazon S3 bucket policy to an Outposts bucket. For more
|
2863
3373
|
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
2864
|
-
# Simple Storage Service
|
3374
|
+
# Simple Storage Service User Guide*.
|
2865
3375
|
#
|
2866
3376
|
# If you are using an identity other than the root user of the AWS
|
2867
3377
|
# account that owns the Outposts bucket, the calling identity must have
|
2868
3378
|
# the `PutBucketPolicy` permissions on the specified Outposts bucket and
|
2869
|
-
# belong to the bucket owner's account in order to use this
|
3379
|
+
# belong to the bucket owner's account in order to use this action.
|
2870
3380
|
#
|
2871
3381
|
# If you don't have `PutBucketPolicy` permissions, Amazon S3 returns a
|
2872
3382
|
# `403 Access Denied` error. If you have the correct permissions, but
|
@@ -2874,7 +3384,7 @@ module Aws::S3Control
|
|
2874
3384
|
# account, Amazon S3 returns a `405 Method Not Allowed` error.
|
2875
3385
|
#
|
2876
3386
|
# As a security precaution, the root user of the AWS account that owns a
|
2877
|
-
# bucket can always use this
|
3387
|
+
# bucket can always use this action, even if the policy explicitly
|
2878
3388
|
# denies the root user the ability to perform this action.
|
2879
3389
|
#
|
2880
3390
|
# For more information about bucket policies, see [Using Bucket Policies
|
@@ -2897,7 +3407,7 @@ module Aws::S3Control
|
|
2897
3407
|
#
|
2898
3408
|
#
|
2899
3409
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html
|
2900
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3410
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2901
3411
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2902
3412
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples
|
2903
3413
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
|
@@ -2958,9 +3468,9 @@ module Aws::S3Control
|
|
2958
3468
|
#
|
2959
3469
|
# </note>
|
2960
3470
|
#
|
2961
|
-
# Sets the tags for an Outposts bucket. For more information, see
|
2962
|
-
# Amazon S3 on Outposts][2] in the *Amazon Simple Storage Service
|
2963
|
-
#
|
3471
|
+
# Sets the tags for an S3 on Outposts bucket. For more information, see
|
3472
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon Simple Storage Service
|
3473
|
+
# User Guide*.
|
2964
3474
|
#
|
2965
3475
|
# Use tags to organize your AWS bill to reflect your own cost structure.
|
2966
3476
|
# To do this, sign up to get your AWS account bill with tag key values
|
@@ -2969,20 +3479,20 @@ module Aws::S3Control
|
|
2969
3479
|
# values. For example, you can tag several resources with a specific
|
2970
3480
|
# application name, and then organize your billing information to see
|
2971
3481
|
# the total cost of that application across several services. For more
|
2972
|
-
# information, see [Cost
|
3482
|
+
# information, see [Cost allocation and tagging][3].
|
2973
3483
|
#
|
2974
3484
|
# <note markdown="1"> Within a bucket, if you add a tag that has the same key as an existing
|
2975
3485
|
# tag, the new value overwrites the old value. For more information, see
|
2976
|
-
# [ Using
|
3486
|
+
# [ Using cost allocation in Amazon S3 bucket tags][4].
|
2977
3487
|
#
|
2978
3488
|
# </note>
|
2979
3489
|
#
|
2980
|
-
# To use this
|
3490
|
+
# To use this action, you must have permissions to perform the
|
2981
3491
|
# `s3-outposts:PutBucketTagging` action. The Outposts bucket owner has
|
2982
3492
|
# this permission by default and can grant this permission to others.
|
2983
3493
|
# For more information about permissions, see [ Permissions Related to
|
2984
|
-
# Bucket Subresource Operations][5] and [Managing
|
2985
|
-
#
|
3494
|
+
# Bucket Subresource Operations][5] and [Managing access permissions to
|
3495
|
+
# your Amazon S3 resources][6].
|
2986
3496
|
#
|
2987
3497
|
# `PutBucketTagging` has the following special errors:
|
2988
3498
|
#
|
@@ -3003,7 +3513,7 @@ module Aws::S3Control
|
|
3003
3513
|
#
|
3004
3514
|
# * Error code: `OperationAbortedError `
|
3005
3515
|
#
|
3006
|
-
# * Description: A conflicting conditional
|
3516
|
+
# * Description: A conflicting conditional action is currently in
|
3007
3517
|
# progress against this resource. Try again.
|
3008
3518
|
#
|
3009
3519
|
# ^
|
@@ -3032,11 +3542,11 @@ module Aws::S3Control
|
|
3032
3542
|
#
|
3033
3543
|
#
|
3034
3544
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html
|
3035
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3545
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
3036
3546
|
# [3]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
|
3037
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3038
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3039
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3547
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html
|
3548
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
3549
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
3040
3550
|
# [7]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
|
3041
3551
|
# [8]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html
|
3042
3552
|
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples
|
@@ -3099,7 +3609,7 @@ module Aws::S3Control
|
|
3099
3609
|
# [GetJobTagging][1], modify that tag set, and use this action to
|
3100
3610
|
# replace the tag set with the one you modified. For more information,
|
3101
3611
|
# see [Controlling access and labeling jobs using tags][2] in the
|
3102
|
-
# *Amazon Simple Storage Service
|
3612
|
+
# *Amazon Simple Storage Service User Guide*.
|
3103
3613
|
#
|
3104
3614
|
#
|
3105
3615
|
#
|
@@ -3132,7 +3642,7 @@ module Aws::S3Control
|
|
3132
3642
|
#
|
3133
3643
|
#
|
3134
3644
|
#
|
3135
|
-
# To use this
|
3645
|
+
# To use this action, you must have permission to perform the
|
3136
3646
|
# `s3:PutJobTagging` action.
|
3137
3647
|
#
|
3138
3648
|
# Related actions include:
|
@@ -3234,12 +3744,12 @@ module Aws::S3Control
|
|
3234
3744
|
|
3235
3745
|
# Puts an Amazon S3 Storage Lens configuration. For more information
|
3236
3746
|
# about S3 Storage Lens, see [Working with Amazon S3 Storage Lens][1] in
|
3237
|
-
# the *Amazon Simple Storage Service
|
3747
|
+
# the *Amazon Simple Storage Service User Guide*.
|
3238
3748
|
#
|
3239
3749
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
3240
3750
|
# `s3:PutStorageLensConfiguration` action. For more information, see
|
3241
3751
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
3242
|
-
# Simple Storage Service
|
3752
|
+
# Simple Storage Service User Guide*.
|
3243
3753
|
#
|
3244
3754
|
# </note>
|
3245
3755
|
#
|
@@ -3342,13 +3852,13 @@ module Aws::S3Control
|
|
3342
3852
|
|
3343
3853
|
# Put or replace tags on an existing Amazon S3 Storage Lens
|
3344
3854
|
# configuration. For more information about S3 Storage Lens, see
|
3345
|
-
# [
|
3346
|
-
# Service
|
3855
|
+
# [Assessing your storage activity and usage with Amazon S3 Storage Lens
|
3856
|
+
# ][1] in the *Amazon Simple Storage Service User Guide*.
|
3347
3857
|
#
|
3348
3858
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
3349
3859
|
# `s3:PutStorageLensConfigurationTagging` action. For more information,
|
3350
3860
|
# see [Setting permissions to use Amazon S3 Storage Lens][2] in the
|
3351
|
-
# *Amazon Simple Storage Service
|
3861
|
+
# *Amazon Simple Storage Service User Guide*.
|
3352
3862
|
#
|
3353
3863
|
# </note>
|
3354
3864
|
#
|
@@ -3396,7 +3906,7 @@ module Aws::S3Control
|
|
3396
3906
|
|
3397
3907
|
# Updates an existing S3 Batch Operations job's priority. For more
|
3398
3908
|
# information, see [S3 Batch Operations][1] in the *Amazon Simple
|
3399
|
-
# Storage Service
|
3909
|
+
# Storage Service User Guide*.
|
3400
3910
|
#
|
3401
3911
|
#
|
3402
3912
|
#
|
@@ -3419,6 +3929,7 @@ module Aws::S3Control
|
|
3419
3929
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
3420
3930
|
#
|
3421
3931
|
# @option params [required, String] :account_id
|
3932
|
+
# The AWS account ID associated with the S3 Batch Operations job.
|
3422
3933
|
#
|
3423
3934
|
# @option params [required, String] :job_id
|
3424
3935
|
# The ID for the job whose priority you want to update.
|
@@ -3453,10 +3964,10 @@ module Aws::S3Control
|
|
3453
3964
|
req.send_request(options)
|
3454
3965
|
end
|
3455
3966
|
|
3456
|
-
# Updates the status for the specified job. Use this
|
3457
|
-
#
|
3458
|
-
#
|
3459
|
-
# Storage Service
|
3967
|
+
# Updates the status for the specified job. Use this action to confirm
|
3968
|
+
# that you want to run a job or to cancel an existing job. For more
|
3969
|
+
# information, see [S3 Batch Operations][1] in the *Amazon Simple
|
3970
|
+
# Storage Service User Guide*.
|
3460
3971
|
#
|
3461
3972
|
#
|
3462
3973
|
#
|
@@ -3479,6 +3990,7 @@ module Aws::S3Control
|
|
3479
3990
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
3480
3991
|
#
|
3481
3992
|
# @option params [required, String] :account_id
|
3993
|
+
# The AWS account ID associated with the S3 Batch Operations job.
|
3482
3994
|
#
|
3483
3995
|
# @option params [required, String] :job_id
|
3484
3996
|
# The ID of the job whose status you want to update.
|
@@ -3533,7 +4045,7 @@ module Aws::S3Control
|
|
3533
4045
|
params: params,
|
3534
4046
|
config: config)
|
3535
4047
|
context[:gem_name] = 'aws-sdk-s3control'
|
3536
|
-
context[:gem_version] = '1.
|
4048
|
+
context[:gem_version] = '1.31.0'
|
3537
4049
|
Seahorse::Client::Request.new(handlers, context)
|
3538
4050
|
end
|
3539
4051
|
|