aws-sdk-s3 1.87.0 → 1.90.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 +724 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/arn/access_point_arn.rb +8 -4
- data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +7 -3
- data/lib/aws-sdk-s3/bucket.rb +3 -3
- data/lib/aws-sdk-s3/bucket_cors.rb +1 -1
- data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -4
- data/lib/aws-sdk-s3/client.rb +637 -571
- data/lib/aws-sdk-s3/client_api.rb +2 -0
- data/lib/aws-sdk-s3/customizations/bucket.rb +8 -3
- data/lib/aws-sdk-s3/customizations/object.rb +9 -3
- data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +3 -3
- data/lib/aws-sdk-s3/object.rb +12 -12
- data/lib/aws-sdk-s3/object_summary.rb +12 -12
- data/lib/aws-sdk-s3/object_version.rb +5 -5
- data/lib/aws-sdk-s3/plugins/accelerate.rb +7 -4
- data/lib/aws-sdk-s3/plugins/arn.rb +44 -26
- data/lib/aws-sdk-s3/plugins/dualstack.rb +10 -3
- data/lib/aws-sdk-s3/plugins/expect_100_continue.rb +2 -1
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +4 -4
- data/lib/aws-sdk-s3/plugins/md5s.rb +1 -1
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +18 -26
- data/lib/aws-sdk-s3/presigner.rb +15 -27
- data/lib/aws-sdk-s3/types.rb +354 -225
- metadata +8 -5
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.90.0
|
data/lib/aws-sdk-s3.rb
CHANGED
@@ -52,10 +52,14 @@ module Aws
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
-
def host_url(region, dualstack = false)
|
56
|
-
|
57
|
-
|
58
|
-
|
55
|
+
def host_url(region, dualstack = false, custom_endpoint = nil)
|
56
|
+
pfx = "#{@access_point_name}-#{@account_id}"
|
57
|
+
if custom_endpoint
|
58
|
+
"#{pfx}.#{custom_endpoint}"
|
59
|
+
else
|
60
|
+
sfx = Aws::Partitions::EndpointProvider.dns_suffix_for(region)
|
61
|
+
"#{pfx}.s3-accesspoint#{'.dualstack' if dualstack}.#{region}.#{sfx}"
|
62
|
+
end
|
59
63
|
end
|
60
64
|
end
|
61
65
|
end
|
@@ -62,9 +62,13 @@ module Aws
|
|
62
62
|
end
|
63
63
|
|
64
64
|
# Outpost ARNs currently do not support dualstack
|
65
|
-
def host_url(region, _dualstack = false)
|
66
|
-
"#{@access_point_name}-#{@account_id}.#{@outpost_id}"
|
67
|
-
|
65
|
+
def host_url(region, _dualstack = false, custom_endpoint = nil)
|
66
|
+
pfx = "#{@access_point_name}-#{@account_id}.#{@outpost_id}"
|
67
|
+
if custom_endpoint
|
68
|
+
"#{pfx}.#{custom_endpoint}"
|
69
|
+
else
|
70
|
+
"#{pfx}.s3-outposts.#{region}.amazonaws.com"
|
71
|
+
end
|
68
72
|
end
|
69
73
|
end
|
70
74
|
end
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -456,7 +456,7 @@ module Aws::S3
|
|
456
456
|
#
|
457
457
|
# This action is not supported by Amazon S3 on Outposts.
|
458
458
|
# @option options [required, String] :key
|
459
|
-
# Object key for which the PUT
|
459
|
+
# Object key for which the PUT action was initiated.
|
460
460
|
# @option options [Hash<String,String>] :metadata
|
461
461
|
# A map of metadata to store with the object in S3.
|
462
462
|
# @option options [String] :server_side_encryption
|
@@ -533,8 +533,8 @@ module Aws::S3
|
|
533
533
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key
|
534
534
|
# for object encryption with SSE-KMS.
|
535
535
|
#
|
536
|
-
# Specifying this header with a PUT
|
537
|
-
#
|
536
|
+
# Specifying this header with a PUT action doesn’t affect bucket-level
|
537
|
+
# settings for S3 Bucket Key.
|
538
538
|
# @option options [String] :request_payer
|
539
539
|
# Confirms that the requester knows that they will be charged for the
|
540
540
|
# request. Bucket owners need not specify this parameter in their
|
@@ -213,7 +213,7 @@ module Aws::S3
|
|
213
213
|
# @option options [required, Types::CORSConfiguration] :cors_configuration
|
214
214
|
# Describes the cross-origin access configuration for objects in an
|
215
215
|
# Amazon S3 bucket. For more information, see [Enabling Cross-Origin
|
216
|
-
# Resource Sharing][1] in the *Amazon Simple Storage Service
|
216
|
+
# Resource Sharing][1] in the *Amazon Simple Storage Service User
|
217
217
|
# Guide*.
|
218
218
|
#
|
219
219
|
#
|
@@ -185,10 +185,9 @@ module Aws::S3
|
|
185
185
|
# })
|
186
186
|
# @param [Hash] options ({})
|
187
187
|
# @option options [String] :content_md5
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
# 1864][1].
|
188
|
+
# The base64-encoded 128-bit MD5 digest of the data. You must use this
|
189
|
+
# header as a message integrity check to verify that the request body
|
190
|
+
# was not corrupted in transit. For more information, see [RFC 1864][1].
|
192
191
|
#
|
193
192
|
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
194
193
|
# SDKs, this field is calculated automatically.
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -408,7 +408,7 @@ module Aws::S3
|
|
408
408
|
|
409
409
|
# @!group API Operations
|
410
410
|
|
411
|
-
# This
|
411
|
+
# This action aborts a multipart upload. After a multipart upload is
|
412
412
|
# aborted, no additional parts can be uploaded using that upload ID. The
|
413
413
|
# storage consumed by any previously uploaded parts will be freed.
|
414
414
|
# However, if any part uploads are currently in progress, those part
|
@@ -417,11 +417,11 @@ module Aws::S3
|
|
417
417
|
# completely free all storage consumed by all parts.
|
418
418
|
#
|
419
419
|
# To verify that all parts have been removed, so you don't get charged
|
420
|
-
# for the part storage, you should call the [ListParts][1]
|
420
|
+
# for the part storage, you should call the [ListParts][1] action and
|
421
421
|
# ensure that the parts list is empty.
|
422
422
|
#
|
423
|
-
# For information about permissions required to use the multipart
|
424
|
-
#
|
423
|
+
# For information about permissions required to use the multipart
|
424
|
+
# upload, see [Multipart Upload and Permissions][2].
|
425
425
|
#
|
426
426
|
# The following operations are related to `AbortMultipartUpload`\:
|
427
427
|
#
|
@@ -447,22 +447,22 @@ module Aws::S3
|
|
447
447
|
# @option params [required, String] :bucket
|
448
448
|
# The bucket name to which the upload was taking place.
|
449
449
|
#
|
450
|
-
# When using this
|
451
|
-
# the access point hostname. The access point hostname takes the form
|
450
|
+
# When using this action with an access point, you must direct requests
|
451
|
+
# to the access point hostname. The access point hostname takes the form
|
452
452
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
453
|
-
# When using this
|
454
|
-
#
|
453
|
+
# When using this action with an access point through the AWS SDKs, you
|
454
|
+
# provide the access point ARN in place of the bucket name. For more
|
455
455
|
# information about access point ARNs, see [Using Access Points][1] in
|
456
456
|
# the *Amazon Simple Storage Service Developer Guide*.
|
457
457
|
#
|
458
|
-
# When using this
|
458
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
459
459
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
460
460
|
# takes the form
|
461
461
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
462
|
-
# When using this
|
463
|
-
#
|
464
|
-
#
|
465
|
-
#
|
462
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
463
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
464
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
465
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
466
466
|
#
|
467
467
|
#
|
468
468
|
#
|
@@ -537,11 +537,11 @@ module Aws::S3
|
|
537
537
|
#
|
538
538
|
# You first initiate the multipart upload and then upload all parts
|
539
539
|
# using the [UploadPart][1] operation. After successfully uploading all
|
540
|
-
# relevant parts of an upload, you call this
|
540
|
+
# relevant parts of an upload, you call this action to complete the
|
541
541
|
# upload. Upon receiving this request, Amazon S3 concatenates all the
|
542
542
|
# parts in ascending order by part number to create a new object. In the
|
543
543
|
# Complete Multipart Upload request, you must provide the parts list.
|
544
|
-
# You must ensure that the parts list is complete. This
|
544
|
+
# You must ensure that the parts list is complete. This action
|
545
545
|
# concatenates the parts that you provide in the list. For each part in
|
546
546
|
# the list, you must provide the part number and the `ETag` value,
|
547
547
|
# returned after that part was uploaded.
|
@@ -563,7 +563,7 @@ module Aws::S3
|
|
563
563
|
# Using Multipart Upload][3].
|
564
564
|
#
|
565
565
|
# For information about permissions required to use the multipart upload
|
566
|
-
# API, see [Multipart Upload
|
566
|
+
# API, see [Multipart Upload and Permissions][4].
|
567
567
|
#
|
568
568
|
# `CompleteMultipartUpload` has the following special errors:
|
569
569
|
#
|
@@ -737,8 +737,8 @@ module Aws::S3
|
|
737
737
|
#
|
738
738
|
# <note markdown="1"> You can store individual objects of up to 5 TB in Amazon S3. You
|
739
739
|
# create a copy of your object up to 5 GB in size in a single atomic
|
740
|
-
#
|
741
|
-
#
|
740
|
+
# action using this API. However, to copy an object greater than 5 GB,
|
741
|
+
# you must use the multipart upload Upload Part - Copy API. For more
|
742
742
|
# information, see [Copy Object Using the REST Multipart Upload API][1].
|
743
743
|
#
|
744
744
|
# </note>
|
@@ -752,12 +752,11 @@ module Aws::S3
|
|
752
752
|
#
|
753
753
|
# A copy request might return an error when Amazon S3 receives the copy
|
754
754
|
# request or while Amazon S3 is copying the files. If the error occurs
|
755
|
-
# before the copy
|
756
|
-
#
|
757
|
-
#
|
758
|
-
#
|
759
|
-
#
|
760
|
-
# appropriately.
|
755
|
+
# before the copy action starts, you receive a standard Amazon S3 error.
|
756
|
+
# If the error occurs during the copy operation, the error response is
|
757
|
+
# embedded in the `200 OK` response. This means that a `200 OK` response
|
758
|
+
# can contain either a success or an error. Design your application to
|
759
|
+
# parse the contents of the response and handle it appropriately.
|
761
760
|
#
|
762
761
|
# If the copy is successful, you receive a response with information
|
763
762
|
# about the copied object.
|
@@ -845,7 +844,7 @@ module Aws::S3
|
|
845
844
|
#
|
846
845
|
# If a target object uses SSE-KMS, you can enable an S3 Bucket Key for
|
847
846
|
# the object. For more information, see [Amazon S3 Bucket Keys][9] in
|
848
|
-
# the *Amazon Simple Storage Service
|
847
|
+
# the *Amazon Simple Storage Service User Guide*.
|
849
848
|
#
|
850
849
|
# **Access Control List (ACL)-Specific Request Headers**
|
851
850
|
#
|
@@ -859,8 +858,8 @@ module Aws::S3
|
|
859
858
|
#
|
860
859
|
# **Storage Class Options**
|
861
860
|
#
|
862
|
-
# You can use the `CopyObject`
|
863
|
-
#
|
861
|
+
# You can use the `CopyObject` action to change the storage class of an
|
862
|
+
# object that is already stored in Amazon S3 using the `StorageClass`
|
864
863
|
# parameter. For more information, see [Storage Classes][12] in the
|
865
864
|
# *Amazon S3 Service Developer Guide*.
|
866
865
|
#
|
@@ -896,7 +895,7 @@ module Aws::S3
|
|
896
895
|
#
|
897
896
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html
|
898
897
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
|
899
|
-
# [3]:
|
898
|
+
# [3]: http://aws.amazon.com/s3/pricing/
|
900
899
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html
|
901
900
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html
|
902
901
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/dev/amazon-s3-policy-keys.html
|
@@ -919,22 +918,22 @@ module Aws::S3
|
|
919
918
|
# @option params [required, String] :bucket
|
920
919
|
# The name of the destination bucket.
|
921
920
|
#
|
922
|
-
# When using this
|
923
|
-
# the access point hostname. The access point hostname takes the form
|
921
|
+
# When using this action with an access point, you must direct requests
|
922
|
+
# to the access point hostname. The access point hostname takes the form
|
924
923
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
925
|
-
# When using this
|
926
|
-
#
|
924
|
+
# When using this action with an access point through the AWS SDKs, you
|
925
|
+
# provide the access point ARN in place of the bucket name. For more
|
927
926
|
# information about access point ARNs, see [Using Access Points][1] in
|
928
927
|
# the *Amazon Simple Storage Service Developer Guide*.
|
929
928
|
#
|
930
|
-
# When using this
|
929
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
931
930
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
932
931
|
# takes the form
|
933
932
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
934
|
-
# When using this
|
935
|
-
#
|
936
|
-
#
|
937
|
-
#
|
933
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
934
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
935
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
936
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
938
937
|
#
|
939
938
|
#
|
940
939
|
#
|
@@ -1116,8 +1115,8 @@ module Aws::S3
|
|
1116
1115
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key
|
1117
1116
|
# for object encryption with SSE-KMS.
|
1118
1117
|
#
|
1119
|
-
# Specifying this header with a COPY
|
1120
|
-
#
|
1118
|
+
# Specifying this header with a COPY action doesn’t affect bucket-level
|
1119
|
+
# settings for S3 Bucket Key.
|
1121
1120
|
#
|
1122
1121
|
# @option params [String] :copy_source_sse_customer_algorithm
|
1123
1122
|
# Specifies the algorithm to use when decrypting the source object (for
|
@@ -1476,7 +1475,7 @@ module Aws::S3
|
|
1476
1475
|
req.send_request(options)
|
1477
1476
|
end
|
1478
1477
|
|
1479
|
-
# This
|
1478
|
+
# This action initiates a multipart upload and returns an upload ID.
|
1480
1479
|
# This upload ID is used to associate all of the parts in the specific
|
1481
1480
|
# multipart upload. You specify this upload ID in each of your
|
1482
1481
|
# subsequent upload part requests (see [UploadPart][1]). You also
|
@@ -1489,12 +1488,12 @@ module Aws::S3
|
|
1489
1488
|
# If you have configured a lifecycle rule to abort incomplete multipart
|
1490
1489
|
# uploads, the upload must complete within the number of days specified
|
1491
1490
|
# in the bucket lifecycle configuration. Otherwise, the incomplete
|
1492
|
-
# multipart upload becomes eligible for an abort
|
1491
|
+
# multipart upload becomes eligible for an abort action and Amazon S3
|
1493
1492
|
# aborts the multipart upload. For more information, see [Aborting
|
1494
1493
|
# Incomplete Multipart Uploads Using a Bucket Lifecycle Policy][3].
|
1495
1494
|
#
|
1496
1495
|
# For information about the permissions required to use the multipart
|
1497
|
-
# upload API, see [Multipart Upload
|
1496
|
+
# upload API, see [Multipart Upload and Permissions][4].
|
1498
1497
|
#
|
1499
1498
|
# For request signing, multipart upload is just a series of regular
|
1500
1499
|
# requests. You initiate a multipart upload, send one or more requests
|
@@ -1517,9 +1516,9 @@ module Aws::S3
|
|
1517
1516
|
# your own encryption key, or use AWS Key Management Service (AWS KMS)
|
1518
1517
|
# customer master keys (CMKs) or Amazon S3-managed encryption keys. If
|
1519
1518
|
# you choose to provide your own encryption key, the request headers you
|
1520
|
-
# provide in [UploadPart]
|
1521
|
-
#
|
1522
|
-
#
|
1519
|
+
# provide in [UploadPart][1] and [UploadPartCopy][6] requests must match
|
1520
|
+
# the headers you used in the request to initiate the upload by using
|
1521
|
+
# `CreateMultipartUpload`.
|
1523
1522
|
#
|
1524
1523
|
# To perform a multipart upload with encryption using an AWS KMS CMK,
|
1525
1524
|
# the requester must have permission to the `kms:Encrypt`,
|
@@ -1717,22 +1716,22 @@ module Aws::S3
|
|
1717
1716
|
# @option params [required, String] :bucket
|
1718
1717
|
# The name of the bucket to which to initiate the upload
|
1719
1718
|
#
|
1720
|
-
# When using this
|
1721
|
-
# the access point hostname. The access point hostname takes the form
|
1719
|
+
# When using this action with an access point, you must direct requests
|
1720
|
+
# to the access point hostname. The access point hostname takes the form
|
1722
1721
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
1723
|
-
# When using this
|
1724
|
-
#
|
1722
|
+
# When using this action with an access point through the AWS SDKs, you
|
1723
|
+
# provide the access point ARN in place of the bucket name. For more
|
1725
1724
|
# information about access point ARNs, see [Using Access Points][1] in
|
1726
1725
|
# the *Amazon Simple Storage Service Developer Guide*.
|
1727
1726
|
#
|
1728
|
-
# When using this
|
1727
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
1729
1728
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
1730
1729
|
# takes the form
|
1731
1730
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
1732
|
-
# When using this
|
1733
|
-
#
|
1734
|
-
#
|
1735
|
-
#
|
1731
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
1732
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
1733
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
1734
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
1736
1735
|
#
|
1737
1736
|
#
|
1738
1737
|
#
|
@@ -1833,7 +1832,7 @@ module Aws::S3
|
|
1833
1832
|
#
|
1834
1833
|
#
|
1835
1834
|
#
|
1836
|
-
# [1]: https://docs.aws.amazon.com/
|
1835
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
|
1837
1836
|
#
|
1838
1837
|
# @option params [String] :ssekms_encryption_context
|
1839
1838
|
# Specifies the AWS KMS Encryption Context to use for object encryption.
|
@@ -1846,7 +1845,7 @@ module Aws::S3
|
|
1846
1845
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key
|
1847
1846
|
# for object encryption with SSE-KMS.
|
1848
1847
|
#
|
1849
|
-
# Specifying this header with an object
|
1848
|
+
# Specifying this header with an object action doesn’t affect
|
1850
1849
|
# bucket-level settings for S3 Bucket Key.
|
1851
1850
|
#
|
1852
1851
|
# @option params [String] :request_payer
|
@@ -2091,7 +2090,7 @@ module Aws::S3
|
|
2091
2090
|
# default and can grant this permission to others.
|
2092
2091
|
#
|
2093
2092
|
# For information about `cors`, see [Enabling Cross-Origin Resource
|
2094
|
-
# Sharing][1] in the *Amazon Simple Storage Service
|
2093
|
+
# Sharing][1] in the *Amazon Simple Storage Service User Guide*.
|
2095
2094
|
#
|
2096
2095
|
# **Related Resources:**
|
2097
2096
|
#
|
@@ -2140,10 +2139,10 @@ module Aws::S3
|
|
2140
2139
|
req.send_request(options)
|
2141
2140
|
end
|
2142
2141
|
|
2143
|
-
# This implementation of the DELETE
|
2142
|
+
# This implementation of the DELETE action removes default encryption
|
2144
2143
|
# from the bucket. For information about the Amazon S3 default
|
2145
2144
|
# encryption feature, see [Amazon S3 Default Bucket Encryption][1] in
|
2146
|
-
# the *Amazon Simple Storage Service
|
2145
|
+
# the *Amazon Simple Storage Service User Guide*.
|
2147
2146
|
#
|
2148
2147
|
# To use this operation, you must have permissions to perform the
|
2149
2148
|
# `s3:PutEncryptionConfiguration` action. The bucket owner has this
|
@@ -2151,7 +2150,7 @@ module Aws::S3
|
|
2151
2150
|
# others. For more information about permissions, see [Permissions
|
2152
2151
|
# Related to Bucket Subresource Operations][2] and [Managing Access
|
2153
2152
|
# Permissions to your Amazon S3 Resources][3] in the *Amazon Simple
|
2154
|
-
# Storage Service
|
2153
|
+
# Storage Service User Guide*.
|
2155
2154
|
#
|
2156
2155
|
# **Related Resources**
|
2157
2156
|
#
|
@@ -2491,12 +2490,12 @@ module Aws::S3
|
|
2491
2490
|
req.send_request(options)
|
2492
2491
|
end
|
2493
2492
|
|
2494
|
-
# This implementation of the DELETE
|
2495
|
-
#
|
2496
|
-
#
|
2497
|
-
#
|
2498
|
-
#
|
2499
|
-
#
|
2493
|
+
# This implementation of the DELETE action uses the policy subresource
|
2494
|
+
# to delete the policy of a specified bucket. If you are using an
|
2495
|
+
# identity other than the root user of the AWS account that owns the
|
2496
|
+
# bucket, the calling identity must have the `DeleteBucketPolicy`
|
2497
|
+
# permissions on the specified bucket and belong to the bucket owner's
|
2498
|
+
# account to use this operation.
|
2500
2499
|
#
|
2501
2500
|
# If you don't have `DeleteBucketPolicy` permissions, Amazon S3 returns
|
2502
2501
|
# a `403 Access Denied` error. If you have the correct permissions, but
|
@@ -2508,19 +2507,19 @@ module Aws::S3
|
|
2508
2507
|
# denies the root user the ability to perform this action.
|
2509
2508
|
#
|
2510
2509
|
# For more information about bucket policies, see [Using Bucket Policies
|
2511
|
-
# and UserPolicies]
|
2512
|
-
# https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html).
|
2510
|
+
# and UserPolicies][1].
|
2513
2511
|
#
|
2514
2512
|
# The following operations are related to `DeleteBucketPolicy`
|
2515
2513
|
#
|
2516
|
-
# * [CreateBucket][
|
2514
|
+
# * [CreateBucket][2]
|
2517
2515
|
#
|
2518
|
-
# * [DeleteObject][
|
2516
|
+
# * [DeleteObject][3]
|
2519
2517
|
#
|
2520
2518
|
#
|
2521
2519
|
#
|
2522
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2523
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
2520
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2521
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
|
2522
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html
|
2524
2523
|
#
|
2525
2524
|
# @option params [required, String] :bucket
|
2526
2525
|
# The bucket name.
|
@@ -2571,22 +2570,22 @@ module Aws::S3
|
|
2571
2570
|
#
|
2572
2571
|
# </note>
|
2573
2572
|
#
|
2574
|
-
# For information about replication configuration, see [Replication]
|
2575
|
-
#
|
2576
|
-
# the *Amazon S3 Developer Guide*.
|
2573
|
+
# For information about replication configuration, see [Replication][3]
|
2574
|
+
# in the *Amazon S3 Developer Guide*.
|
2577
2575
|
#
|
2578
2576
|
# The following operations are related to `DeleteBucketReplication`\:
|
2579
2577
|
#
|
2580
|
-
# * [PutBucketReplication][
|
2578
|
+
# * [PutBucketReplication][4]
|
2581
2579
|
#
|
2582
|
-
# * [GetBucketReplication][
|
2580
|
+
# * [GetBucketReplication][5]
|
2583
2581
|
#
|
2584
2582
|
#
|
2585
2583
|
#
|
2586
2584
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
2587
2585
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html
|
2588
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2589
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
2586
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html
|
2587
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html
|
2588
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html
|
2590
2589
|
#
|
2591
2590
|
# @option params [required, String] :bucket
|
2592
2591
|
# The bucket name.
|
@@ -2675,18 +2674,18 @@ module Aws::S3
|
|
2675
2674
|
req.send_request(options)
|
2676
2675
|
end
|
2677
2676
|
|
2678
|
-
# This
|
2679
|
-
#
|
2677
|
+
# This action removes the website configuration for a bucket. Amazon S3
|
2678
|
+
# returns a `200 OK` response upon successfully deleting a website
|
2680
2679
|
# configuration on the specified bucket. You will get a `200 OK`
|
2681
2680
|
# response if the website configuration you are trying to delete does
|
2682
2681
|
# not exist on the bucket. Amazon S3 returns a `404` response if the
|
2683
2682
|
# bucket specified in the request does not exist.
|
2684
2683
|
#
|
2685
|
-
# This DELETE
|
2686
|
-
#
|
2687
|
-
#
|
2688
|
-
#
|
2689
|
-
#
|
2684
|
+
# This DELETE action requires the `S3:DeleteBucketWebsite` permission.
|
2685
|
+
# By default, only the bucket owner can delete the website configuration
|
2686
|
+
# attached to a bucket. However, bucket owners can grant other users
|
2687
|
+
# permission to delete the website configuration by writing a bucket
|
2688
|
+
# policy granting them the `S3:DeleteBucketWebsite` permission.
|
2690
2689
|
#
|
2691
2690
|
# For more information about hosting websites, see [Hosting Websites on
|
2692
2691
|
# Amazon S3][1].
|
@@ -2757,14 +2756,14 @@ module Aws::S3
|
|
2757
2756
|
# For more information about MFA Delete, see [Using MFA Delete][1]. To
|
2758
2757
|
# see sample requests that use versioning, see [Sample Request][2].
|
2759
2758
|
#
|
2760
|
-
# You can delete objects by explicitly calling
|
2759
|
+
# You can delete objects by explicitly calling DELETE Object or
|
2761
2760
|
# configure its lifecycle ([PutBucketLifecycle][3]) to enable Amazon S3
|
2762
2761
|
# to remove them for you. If you want to block users or accounts from
|
2763
2762
|
# removing or deleting objects from your bucket, you must deny them the
|
2764
2763
|
# `s3:DeleteObject`, `s3:DeleteObjectVersion`, and
|
2765
2764
|
# `s3:PutLifeCycleConfiguration` actions.
|
2766
2765
|
#
|
2767
|
-
# The following
|
2766
|
+
# The following action is related to `DeleteObject`\:
|
2768
2767
|
#
|
2769
2768
|
# * [PutObject][4]
|
2770
2769
|
#
|
@@ -2780,22 +2779,22 @@ module Aws::S3
|
|
2780
2779
|
# @option params [required, String] :bucket
|
2781
2780
|
# The bucket name of the bucket containing the object.
|
2782
2781
|
#
|
2783
|
-
# When using this
|
2784
|
-
# the access point hostname. The access point hostname takes the form
|
2782
|
+
# When using this action with an access point, you must direct requests
|
2783
|
+
# to the access point hostname. The access point hostname takes the form
|
2785
2784
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2786
|
-
# When using this
|
2787
|
-
#
|
2785
|
+
# When using this action with an access point through the AWS SDKs, you
|
2786
|
+
# provide the access point ARN in place of the bucket name. For more
|
2788
2787
|
# information about access point ARNs, see [Using Access Points][1] in
|
2789
2788
|
# the *Amazon Simple Storage Service Developer Guide*.
|
2790
2789
|
#
|
2791
|
-
# When using this
|
2790
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2792
2791
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2793
2792
|
# takes the form
|
2794
2793
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2795
|
-
# When using this
|
2796
|
-
#
|
2797
|
-
#
|
2798
|
-
#
|
2794
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
2795
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
2796
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
2797
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
2799
2798
|
#
|
2800
2799
|
#
|
2801
2800
|
#
|
@@ -2841,6 +2840,15 @@ module Aws::S3
|
|
2841
2840
|
# * {Types::DeleteObjectOutput#request_charged #request_charged} => String
|
2842
2841
|
#
|
2843
2842
|
#
|
2843
|
+
# @example Example: To delete an object (from a non-versioned bucket)
|
2844
|
+
#
|
2845
|
+
# # The following example deletes an object from a non-versioned bucket.
|
2846
|
+
#
|
2847
|
+
# resp = client.delete_object({
|
2848
|
+
# bucket: "ExampleBucket",
|
2849
|
+
# key: "HappyFace.jpg",
|
2850
|
+
# })
|
2851
|
+
#
|
2844
2852
|
# @example Example: To delete an object
|
2845
2853
|
#
|
2846
2854
|
# # The following example deletes an object from an S3 bucket.
|
@@ -2854,15 +2862,6 @@ module Aws::S3
|
|
2854
2862
|
# {
|
2855
2863
|
# }
|
2856
2864
|
#
|
2857
|
-
# @example Example: To delete an object (from a non-versioned bucket)
|
2858
|
-
#
|
2859
|
-
# # The following example deletes an object from a non-versioned bucket.
|
2860
|
-
#
|
2861
|
-
# resp = client.delete_object({
|
2862
|
-
# bucket: "ExampleBucket",
|
2863
|
-
# key: "HappyFace.jpg",
|
2864
|
-
# })
|
2865
|
-
#
|
2866
2865
|
# @example Request syntax with placeholder values
|
2867
2866
|
#
|
2868
2867
|
# resp = client.delete_object({
|
@@ -2916,22 +2915,22 @@ module Aws::S3
|
|
2916
2915
|
# @option params [required, String] :bucket
|
2917
2916
|
# The bucket name containing the objects from which to remove the tags.
|
2918
2917
|
#
|
2919
|
-
# When using this
|
2920
|
-
# the access point hostname. The access point hostname takes the form
|
2918
|
+
# When using this action with an access point, you must direct requests
|
2919
|
+
# to the access point hostname. The access point hostname takes the form
|
2921
2920
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
2922
|
-
# When using this
|
2923
|
-
#
|
2921
|
+
# When using this action with an access point through the AWS SDKs, you
|
2922
|
+
# provide the access point ARN in place of the bucket name. For more
|
2924
2923
|
# information about access point ARNs, see [Using Access Points][1] in
|
2925
2924
|
# the *Amazon Simple Storage Service Developer Guide*.
|
2926
2925
|
#
|
2927
|
-
# When using this
|
2926
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
2928
2927
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
2929
2928
|
# takes the form
|
2930
2929
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
2931
|
-
# When using this
|
2932
|
-
#
|
2933
|
-
#
|
2934
|
-
#
|
2930
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
2931
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
2932
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
2933
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
2935
2934
|
#
|
2936
2935
|
#
|
2937
2936
|
#
|
@@ -2939,7 +2938,8 @@ module Aws::S3
|
|
2939
2938
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
|
2940
2939
|
#
|
2941
2940
|
# @option params [required, String] :key
|
2942
|
-
#
|
2941
|
+
# The key that identifies the object in the bucket from which to remove
|
2942
|
+
# all tags.
|
2943
2943
|
#
|
2944
2944
|
# @option params [String] :version_id
|
2945
2945
|
# The versionId of the object that the tag-set will be removed from.
|
@@ -3007,27 +3007,27 @@ module Aws::S3
|
|
3007
3007
|
req.send_request(options)
|
3008
3008
|
end
|
3009
3009
|
|
3010
|
-
# This
|
3011
|
-
#
|
3012
|
-
#
|
3013
|
-
#
|
3010
|
+
# This action enables you to delete multiple objects from a bucket using
|
3011
|
+
# a single HTTP request. If you know the object keys that you want to
|
3012
|
+
# delete, then this action provides a suitable alternative to sending
|
3013
|
+
# individual delete requests, reducing per-request overhead.
|
3014
3014
|
#
|
3015
3015
|
# The request contains a list of up to 1000 keys that you want to
|
3016
3016
|
# delete. In the XML, you provide the object key names, and optionally,
|
3017
3017
|
# version IDs if you want to delete a specific version of the object
|
3018
3018
|
# from a versioning-enabled bucket. For each key, Amazon S3 performs a
|
3019
|
-
# delete
|
3019
|
+
# delete action and returns the result of that delete, success, or
|
3020
3020
|
# failure, in the response. Note that if the object specified in the
|
3021
3021
|
# request is not found, Amazon S3 returns the result as deleted.
|
3022
3022
|
#
|
3023
|
-
# The
|
3024
|
-
#
|
3025
|
-
#
|
3026
|
-
#
|
3027
|
-
#
|
3028
|
-
#
|
3023
|
+
# The action supports two modes for the response: verbose and quiet. By
|
3024
|
+
# default, the action uses verbose mode in which the response includes
|
3025
|
+
# the result of deletion of each key in your request. In quiet mode the
|
3026
|
+
# response includes only keys where the delete action encountered an
|
3027
|
+
# error. For a successful deletion, the action does not return any
|
3028
|
+
# information about the delete in the response body.
|
3029
3029
|
#
|
3030
|
-
# When performing this
|
3030
|
+
# When performing this action on an MFA Delete enabled bucket, that
|
3031
3031
|
# attempts to delete any versioned objects, you must include an MFA
|
3032
3032
|
# token. If you do not provide one, the entire request will fail, even
|
3033
3033
|
# if there are non-versioned objects you are trying to delete. If you
|
@@ -3063,22 +3063,22 @@ module Aws::S3
|
|
3063
3063
|
# @option params [required, String] :bucket
|
3064
3064
|
# The bucket name containing the objects to delete.
|
3065
3065
|
#
|
3066
|
-
# When using this
|
3067
|
-
# the access point hostname. The access point hostname takes the form
|
3066
|
+
# When using this action with an access point, you must direct requests
|
3067
|
+
# to the access point hostname. The access point hostname takes the form
|
3068
3068
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
3069
|
-
# When using this
|
3070
|
-
#
|
3069
|
+
# When using this action with an access point through the AWS SDKs, you
|
3070
|
+
# provide the access point ARN in place of the bucket name. For more
|
3071
3071
|
# information about access point ARNs, see [Using Access Points][1] in
|
3072
3072
|
# the *Amazon Simple Storage Service Developer Guide*.
|
3073
3073
|
#
|
3074
|
-
# When using this
|
3074
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
3075
3075
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
3076
3076
|
# takes the form
|
3077
3077
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
3078
|
-
# When using this
|
3079
|
-
#
|
3080
|
-
#
|
3081
|
-
#
|
3078
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
3079
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
3080
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
3081
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
3082
3082
|
#
|
3083
3083
|
#
|
3084
3084
|
#
|
@@ -3289,7 +3289,7 @@ module Aws::S3
|
|
3289
3289
|
req.send_request(options)
|
3290
3290
|
end
|
3291
3291
|
|
3292
|
-
# This implementation of the GET
|
3292
|
+
# This implementation of the GET action uses the `accelerate`
|
3293
3293
|
# subresource to return the Transfer Acceleration state of a bucket,
|
3294
3294
|
# which is either `Enabled` or `Suspended`. Amazon S3 Transfer
|
3295
3295
|
# Acceleration is a bucket-level feature that enables you to perform
|
@@ -3301,7 +3301,7 @@ module Aws::S3
|
|
3301
3301
|
# others. For more information about permissions, see [Permissions
|
3302
3302
|
# Related to Bucket Subresource Operations][1] and [Managing Access
|
3303
3303
|
# Permissions to your Amazon S3 Resources][2] in the *Amazon Simple
|
3304
|
-
# Storage Service
|
3304
|
+
# Storage Service User Guide*.
|
3305
3305
|
#
|
3306
3306
|
# You set the Transfer Acceleration state of an existing bucket to
|
3307
3307
|
# `Enabled` or `Suspended` by using the
|
@@ -3312,7 +3312,7 @@ module Aws::S3
|
|
3312
3312
|
# Acceleration state if a state has never been set on the bucket.
|
3313
3313
|
#
|
3314
3314
|
# For more information about transfer acceleration, see [Transfer
|
3315
|
-
# Acceleration][4] in the Amazon Simple Storage Service
|
3315
|
+
# Acceleration][4] in the Amazon Simple Storage Service User Guide.
|
3316
3316
|
#
|
3317
3317
|
# **Related Resources**
|
3318
3318
|
#
|
@@ -3360,8 +3360,8 @@ module Aws::S3
|
|
3360
3360
|
req.send_request(options)
|
3361
3361
|
end
|
3362
3362
|
|
3363
|
-
# This implementation of the `GET`
|
3364
|
-
#
|
3363
|
+
# This implementation of the `GET` action uses the `acl` subresource to
|
3364
|
+
# return the access control list (ACL) of a bucket. To use `GET` to
|
3365
3365
|
# return the ACL of the bucket, you must have `READ_ACP` access to the
|
3366
3366
|
# bucket. If `READ_ACP` permission is granted to the anonymous user, you
|
3367
3367
|
# can return the ACL of the bucket without using an authorization
|
@@ -3418,7 +3418,7 @@ module Aws::S3
|
|
3418
3418
|
req.send_request(options)
|
3419
3419
|
end
|
3420
3420
|
|
3421
|
-
# This implementation of the GET
|
3421
|
+
# This implementation of the GET action returns an analytics
|
3422
3422
|
# configuration (identified by the analytics configuration ID) from the
|
3423
3423
|
# bucket.
|
3424
3424
|
#
|
@@ -3428,11 +3428,11 @@ module Aws::S3
|
|
3428
3428
|
# others. For more information about permissions, see [ Permissions
|
3429
3429
|
# Related to Bucket Subresource Operations][1] and [Managing Access
|
3430
3430
|
# Permissions to Your Amazon S3 Resources][2] in the *Amazon Simple
|
3431
|
-
# Storage Service
|
3431
|
+
# Storage Service User Guide*.
|
3432
3432
|
#
|
3433
3433
|
# For information about Amazon S3 analytics feature, see [Amazon S3
|
3434
3434
|
# Analytics – Storage Class Analysis][3] in the *Amazon Simple Storage
|
3435
|
-
# Service
|
3435
|
+
# Service User Guide*.
|
3436
3436
|
#
|
3437
3437
|
# **Related Resources**
|
3438
3438
|
#
|
@@ -3590,6 +3590,10 @@ module Aws::S3
|
|
3590
3590
|
end
|
3591
3591
|
|
3592
3592
|
# Returns the default encryption configuration for an Amazon S3 bucket.
|
3593
|
+
# If the bucket does not have a default encryption configuration,
|
3594
|
+
# GetBucketEncryption returns
|
3595
|
+
# `ServerSideEncryptionConfigurationNotFoundError`.
|
3596
|
+
#
|
3593
3597
|
# For information about the Amazon S3 default encryption feature, see
|
3594
3598
|
# [Amazon S3 Default Bucket Encryption][1].
|
3595
3599
|
#
|
@@ -3926,7 +3930,7 @@ module Aws::S3
|
|
3926
3930
|
# API. The response describes the new filter element that you can use to
|
3927
3931
|
# specify a filter to select a subset of objects to which the rule
|
3928
3932
|
# applies. If you are using a previous version of the lifecycle
|
3929
|
-
# configuration, it still works. For the earlier
|
3933
|
+
# configuration, it still works. For the earlier action, see
|
3930
3934
|
# [GetBucketLifecycle][1].
|
3931
3935
|
#
|
3932
3936
|
# </note>
|
@@ -4362,8 +4366,8 @@ module Aws::S3
|
|
4362
4366
|
|
4363
4367
|
# Returns the notification configuration of a bucket.
|
4364
4368
|
#
|
4365
|
-
# If notifications are not enabled on the bucket, the
|
4366
|
-
#
|
4369
|
+
# If notifications are not enabled on the bucket, the action returns an
|
4370
|
+
# empty `NotificationConfiguration` element.
|
4367
4371
|
#
|
4368
4372
|
# By default, you must be the bucket owner to read the notification
|
4369
4373
|
# configuration of a bucket. However, the bucket owner can use a bucket
|
@@ -4375,7 +4379,7 @@ module Aws::S3
|
|
4375
4379
|
# Events][1]. For more information about bucket policies, see [Using
|
4376
4380
|
# Bucket Policies][2].
|
4377
4381
|
#
|
4378
|
-
# The following
|
4382
|
+
# The following action is related to `GetBucketNotification`\:
|
4379
4383
|
#
|
4380
4384
|
# * [PutBucketNotification][3]
|
4381
4385
|
#
|
@@ -4516,7 +4520,7 @@ module Aws::S3
|
|
4516
4520
|
# For more information about bucket policies, see [Using Bucket Policies
|
4517
4521
|
# and User Policies][1].
|
4518
4522
|
#
|
4519
|
-
# The following
|
4523
|
+
# The following action is related to `GetBucketPolicy`\:
|
4520
4524
|
#
|
4521
4525
|
# * [GetObject][2]
|
4522
4526
|
#
|
@@ -4643,9 +4647,9 @@ module Aws::S3
|
|
4643
4647
|
# </note>
|
4644
4648
|
#
|
4645
4649
|
# For information about replication configuration, see [Replication][1]
|
4646
|
-
# in the *Amazon Simple Storage Service
|
4650
|
+
# in the *Amazon Simple Storage Service User Guide*.
|
4647
4651
|
#
|
4648
|
-
# This
|
4652
|
+
# This action requires permissions for the
|
4649
4653
|
# `s3:GetReplicationConfiguration` action. For more information about
|
4650
4654
|
# permissions, see [Using Bucket Policies and User Policies][2].
|
4651
4655
|
#
|
@@ -4975,7 +4979,7 @@ module Aws::S3
|
|
4975
4979
|
# configuration. For more information about hosting websites, see
|
4976
4980
|
# [Hosting Websites on Amazon S3][1].
|
4977
4981
|
#
|
4978
|
-
# This GET
|
4982
|
+
# This GET action requires the `S3:GetBucketWebsite` permission. By
|
4979
4983
|
# default, only the bucket owner can read the bucket website
|
4980
4984
|
# configuration. However, bucket owners can allow other users to read
|
4981
4985
|
# the website configuration by writing a bucket policy granting them the
|
@@ -5087,9 +5091,9 @@ module Aws::S3
|
|
5087
5091
|
# Glacier Deep Archive storage class, or S3 Intelligent-Tiering Archive
|
5088
5092
|
# or S3 Intelligent-Tiering Deep Archive tiers, before you can retrieve
|
5089
5093
|
# the object you must first restore a copy using [RestoreObject][4].
|
5090
|
-
# Otherwise, this
|
5091
|
-
#
|
5092
|
-
#
|
5094
|
+
# Otherwise, this action returns an `InvalidObjectStateError` error. For
|
5095
|
+
# information about restoring archived objects, see [Restoring Archived
|
5096
|
+
# Objects][5].
|
5093
5097
|
#
|
5094
5098
|
# Encryption request headers, like `x-amz-server-side-encryption`,
|
5095
5099
|
# should not be sent for GET requests if your object uses server-side
|
@@ -5133,9 +5137,8 @@ module Aws::S3
|
|
5133
5137
|
#
|
5134
5138
|
# **Versioning**
|
5135
5139
|
#
|
5136
|
-
# By default, the GET
|
5137
|
-
#
|
5138
|
-
# subresource.
|
5140
|
+
# By default, the GET action returns the current version of an object.
|
5141
|
+
# To return a different version, use the `versionId` subresource.
|
5139
5142
|
#
|
5140
5143
|
# <note markdown="1"> If the current version of the object is a delete marker, Amazon S3
|
5141
5144
|
# behaves as if the object was deleted and includes
|
@@ -5220,22 +5223,22 @@ module Aws::S3
|
|
5220
5223
|
# @option params [required, String] :bucket
|
5221
5224
|
# The bucket name containing the object.
|
5222
5225
|
#
|
5223
|
-
# When using this
|
5224
|
-
# the access point hostname. The access point hostname takes the form
|
5226
|
+
# When using this action with an access point, you must direct requests
|
5227
|
+
# to the access point hostname. The access point hostname takes the form
|
5225
5228
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5226
|
-
# When using this
|
5227
|
-
#
|
5229
|
+
# When using this action with an access point through the AWS SDKs, you
|
5230
|
+
# provide the access point ARN in place of the bucket name. For more
|
5228
5231
|
# information about access point ARNs, see [Using Access Points][1] in
|
5229
5232
|
# the *Amazon Simple Storage Service Developer Guide*.
|
5230
5233
|
#
|
5231
|
-
# When using this
|
5234
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
5232
5235
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
5233
5236
|
# takes the form
|
5234
5237
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
5235
|
-
# When using this
|
5236
|
-
#
|
5237
|
-
#
|
5238
|
-
#
|
5238
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
5239
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
5240
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
5241
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
5239
5242
|
#
|
5240
5243
|
#
|
5241
5244
|
#
|
@@ -5297,14 +5300,14 @@ module Aws::S3
|
|
5297
5300
|
# VersionId used to reference a specific version of the object.
|
5298
5301
|
#
|
5299
5302
|
# @option params [String] :sse_customer_algorithm
|
5300
|
-
# Specifies the algorithm to use to when
|
5303
|
+
# Specifies the algorithm to use to when decrypting the object (for
|
5301
5304
|
# example, AES256).
|
5302
5305
|
#
|
5303
5306
|
# @option params [String] :sse_customer_key
|
5304
|
-
# Specifies the customer-provided encryption key for Amazon S3 to
|
5305
|
-
#
|
5306
|
-
#
|
5307
|
-
# be appropriate for use with the algorithm specified in the
|
5307
|
+
# Specifies the customer-provided encryption key for Amazon S3 used to
|
5308
|
+
# encrypt the data. This value is used to decrypt the object when
|
5309
|
+
# recovering it and must match the one used when storing the data. The
|
5310
|
+
# key must be appropriate for use with the algorithm specified in the
|
5308
5311
|
# `x-amz-server-side-encryption-customer-algorithm` header.
|
5309
5312
|
#
|
5310
5313
|
# @option params [String] :sse_customer_key_md5
|
@@ -5371,49 +5374,49 @@ module Aws::S3
|
|
5371
5374
|
# * {Types::GetObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
|
5372
5375
|
#
|
5373
5376
|
#
|
5374
|
-
# @example Example: To retrieve
|
5377
|
+
# @example Example: To retrieve an object
|
5375
5378
|
#
|
5376
|
-
# # The following example retrieves an object for an S3 bucket.
|
5377
|
-
# # specific byte range.
|
5379
|
+
# # The following example retrieves an object for an S3 bucket.
|
5378
5380
|
#
|
5379
5381
|
# resp = client.get_object({
|
5380
5382
|
# bucket: "examplebucket",
|
5381
|
-
# key: "
|
5382
|
-
# range: "bytes=0-9",
|
5383
|
+
# key: "HappyFace.jpg",
|
5383
5384
|
# })
|
5384
5385
|
#
|
5385
5386
|
# resp.to_h outputs the following:
|
5386
5387
|
# {
|
5387
5388
|
# accept_ranges: "bytes",
|
5388
|
-
# content_length:
|
5389
|
-
#
|
5390
|
-
#
|
5391
|
-
#
|
5392
|
-
# last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
|
5389
|
+
# content_length: 3191,
|
5390
|
+
# content_type: "image/jpeg",
|
5391
|
+
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
5392
|
+
# last_modified: Time.parse("Thu, 15 Dec 2016 01:19:41 GMT"),
|
5393
5393
|
# metadata: {
|
5394
5394
|
# },
|
5395
|
+
# tag_count: 2,
|
5395
5396
|
# version_id: "null",
|
5396
5397
|
# }
|
5397
5398
|
#
|
5398
|
-
# @example Example: To retrieve an object
|
5399
|
+
# @example Example: To retrieve a byte range of an object
|
5399
5400
|
#
|
5400
|
-
# # The following example retrieves an object for an S3 bucket.
|
5401
|
+
# # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
|
5402
|
+
# # specific byte range.
|
5401
5403
|
#
|
5402
5404
|
# resp = client.get_object({
|
5403
5405
|
# bucket: "examplebucket",
|
5404
|
-
# key: "
|
5406
|
+
# key: "SampleFile.txt",
|
5407
|
+
# range: "bytes=0-9",
|
5405
5408
|
# })
|
5406
5409
|
#
|
5407
5410
|
# resp.to_h outputs the following:
|
5408
5411
|
# {
|
5409
5412
|
# accept_ranges: "bytes",
|
5410
|
-
# content_length:
|
5411
|
-
#
|
5412
|
-
#
|
5413
|
-
#
|
5413
|
+
# content_length: 10,
|
5414
|
+
# content_range: "bytes 0-9/43",
|
5415
|
+
# content_type: "text/plain",
|
5416
|
+
# etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
|
5417
|
+
# last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
|
5414
5418
|
# metadata: {
|
5415
5419
|
# },
|
5416
|
-
# tag_count: 2,
|
5417
5420
|
# version_id: "null",
|
5418
5421
|
# }
|
5419
5422
|
#
|
@@ -5546,11 +5549,11 @@ module Aws::S3
|
|
5546
5549
|
# The bucket name that contains the object for which to get the ACL
|
5547
5550
|
# information.
|
5548
5551
|
#
|
5549
|
-
# When using this
|
5550
|
-
# the access point hostname. The access point hostname takes the form
|
5552
|
+
# When using this action with an access point, you must direct requests
|
5553
|
+
# to the access point hostname. The access point hostname takes the form
|
5551
5554
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5552
|
-
# When using this
|
5553
|
-
#
|
5555
|
+
# When using this action with an access point through the AWS SDKs, you
|
5556
|
+
# provide the access point ARN in place of the bucket name. For more
|
5554
5557
|
# information about access point ARNs, see [Using Access Points][1] in
|
5555
5558
|
# the *Amazon Simple Storage Service Developer Guide*.
|
5556
5559
|
#
|
@@ -5683,11 +5686,11 @@ module Aws::S3
|
|
5683
5686
|
# The bucket name containing the object whose Legal Hold status you want
|
5684
5687
|
# to retrieve.
|
5685
5688
|
#
|
5686
|
-
# When using this
|
5687
|
-
# the access point hostname. The access point hostname takes the form
|
5689
|
+
# When using this action with an access point, you must direct requests
|
5690
|
+
# to the access point hostname. The access point hostname takes the form
|
5688
5691
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5689
|
-
# When using this
|
5690
|
-
#
|
5692
|
+
# When using this action with an access point through the AWS SDKs, you
|
5693
|
+
# provide the access point ARN in place of the bucket name. For more
|
5691
5694
|
# information about access point ARNs, see [Using Access Points][1] in
|
5692
5695
|
# the *Amazon Simple Storage Service Developer Guide*.
|
5693
5696
|
#
|
@@ -5758,11 +5761,11 @@ module Aws::S3
|
|
5758
5761
|
# @option params [required, String] :bucket
|
5759
5762
|
# The bucket whose Object Lock configuration you want to retrieve.
|
5760
5763
|
#
|
5761
|
-
# When using this
|
5762
|
-
# the access point hostname. The access point hostname takes the form
|
5764
|
+
# When using this action with an access point, you must direct requests
|
5765
|
+
# to the access point hostname. The access point hostname takes the form
|
5763
5766
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5764
|
-
# When using this
|
5765
|
-
#
|
5767
|
+
# When using this action with an access point through the AWS SDKs, you
|
5768
|
+
# provide the access point ARN in place of the bucket name. For more
|
5766
5769
|
# information about access point ARNs, see [Using Access Points][1] in
|
5767
5770
|
# the *Amazon Simple Storage Service Developer Guide*.
|
5768
5771
|
#
|
@@ -5815,11 +5818,11 @@ module Aws::S3
|
|
5815
5818
|
# The bucket name containing the object whose retention settings you
|
5816
5819
|
# want to retrieve.
|
5817
5820
|
#
|
5818
|
-
# When using this
|
5819
|
-
# the access point hostname. The access point hostname takes the form
|
5821
|
+
# When using this action with an access point, you must direct requests
|
5822
|
+
# to the access point hostname. The access point hostname takes the form
|
5820
5823
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5821
|
-
# When using this
|
5822
|
-
#
|
5824
|
+
# When using this action with an access point through the AWS SDKs, you
|
5825
|
+
# provide the access point ARN in place of the bucket name. For more
|
5823
5826
|
# information about access point ARNs, see [Using Access Points][1] in
|
5824
5827
|
# the *Amazon Simple Storage Service Developer Guide*.
|
5825
5828
|
#
|
@@ -5883,7 +5886,7 @@ module Aws::S3
|
|
5883
5886
|
# tagging subresource associated with the object.
|
5884
5887
|
#
|
5885
5888
|
# To use this operation, you must have permission to perform the
|
5886
|
-
# `s3:GetObjectTagging` action. By default, the GET
|
5889
|
+
# `s3:GetObjectTagging` action. By default, the GET action returns
|
5887
5890
|
# information about current version of an object. For a versioned
|
5888
5891
|
# bucket, you can have multiple versions of an object in your bucket. To
|
5889
5892
|
# retrieve tags of any other version, use the versionId query parameter.
|
@@ -5895,37 +5898,38 @@ module Aws::S3
|
|
5895
5898
|
# For information about the Amazon S3 object tagging feature, see
|
5896
5899
|
# [Object Tagging][1].
|
5897
5900
|
#
|
5898
|
-
# The following
|
5901
|
+
# The following action is related to `GetObjectTagging`\:
|
5899
5902
|
#
|
5900
5903
|
# * [PutObjectTagging][2]
|
5901
5904
|
#
|
5902
|
-
#
|
5905
|
+
# * [DeleteObjectTagging][3]
|
5903
5906
|
#
|
5904
5907
|
#
|
5905
5908
|
#
|
5906
5909
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html
|
5907
5910
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html
|
5911
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html
|
5908
5912
|
#
|
5909
5913
|
# @option params [required, String] :bucket
|
5910
5914
|
# The bucket name containing the object for which to get the tagging
|
5911
5915
|
# information.
|
5912
5916
|
#
|
5913
|
-
# When using this
|
5914
|
-
# the access point hostname. The access point hostname takes the form
|
5917
|
+
# When using this action with an access point, you must direct requests
|
5918
|
+
# to the access point hostname. The access point hostname takes the form
|
5915
5919
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5916
|
-
# When using this
|
5917
|
-
#
|
5920
|
+
# When using this action with an access point through the AWS SDKs, you
|
5921
|
+
# provide the access point ARN in place of the bucket name. For more
|
5918
5922
|
# information about access point ARNs, see [Using Access Points][1] in
|
5919
5923
|
# the *Amazon Simple Storage Service Developer Guide*.
|
5920
5924
|
#
|
5921
|
-
# When using this
|
5925
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
5922
5926
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
5923
5927
|
# takes the form
|
5924
5928
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
5925
|
-
# When using this
|
5926
|
-
#
|
5927
|
-
#
|
5928
|
-
#
|
5929
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
5930
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
5931
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
5932
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
5929
5933
|
#
|
5930
5934
|
#
|
5931
5935
|
#
|
@@ -5943,6 +5947,17 @@ module Aws::S3
|
|
5943
5947
|
# a different account, the request will fail with an HTTP `403 (Access
|
5944
5948
|
# Denied)` error.
|
5945
5949
|
#
|
5950
|
+
# @option params [String] :request_payer
|
5951
|
+
# Confirms that the requester knows that they will be charged for the
|
5952
|
+
# request. Bucket owners need not specify this parameter in their
|
5953
|
+
# requests. For information about downloading objects from requester
|
5954
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
5955
|
+
# in the *Amazon S3 Developer Guide*.
|
5956
|
+
#
|
5957
|
+
#
|
5958
|
+
#
|
5959
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
5960
|
+
#
|
5946
5961
|
# @return [Types::GetObjectTaggingOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5947
5962
|
#
|
5948
5963
|
# * {Types::GetObjectTaggingOutput#version_id #version_id} => String
|
@@ -6001,6 +6016,7 @@ module Aws::S3
|
|
6001
6016
|
# key: "ObjectKey", # required
|
6002
6017
|
# version_id: "ObjectVersionId",
|
6003
6018
|
# expected_bucket_owner: "AccountId",
|
6019
|
+
# request_payer: "requester", # accepts requester
|
6004
6020
|
# })
|
6005
6021
|
#
|
6006
6022
|
# @example Response structure
|
@@ -6033,7 +6049,7 @@ module Aws::S3
|
|
6033
6049
|
#
|
6034
6050
|
# This action is not supported by Amazon S3 on Outposts.
|
6035
6051
|
#
|
6036
|
-
# The following
|
6052
|
+
# The following action is related to `GetObjectTorrent`\:
|
6037
6053
|
#
|
6038
6054
|
# * [GetObject][2]
|
6039
6055
|
#
|
@@ -6183,11 +6199,14 @@ module Aws::S3
|
|
6183
6199
|
req.send_request(options)
|
6184
6200
|
end
|
6185
6201
|
|
6186
|
-
# This
|
6187
|
-
# permission to access it. The
|
6188
|
-
#
|
6189
|
-
#
|
6190
|
-
#
|
6202
|
+
# This action is useful to determine if a bucket exists and you have
|
6203
|
+
# permission to access it. The action returns a `200 OK` if the bucket
|
6204
|
+
# exists and you have permission to access it.
|
6205
|
+
#
|
6206
|
+
# If the bucket does not exist or you do not have permission to access
|
6207
|
+
# it, the `HEAD` request returns a generic `404 Not Found` or `403
|
6208
|
+
# Forbidden` code. A message body is not included, so you cannot
|
6209
|
+
# determine the exception beyond these error codes.
|
6191
6210
|
#
|
6192
6211
|
# To use this operation, you must have permissions to perform the
|
6193
6212
|
# `s3:ListBucket` action. The bucket owner has this permission by
|
@@ -6204,22 +6223,22 @@ module Aws::S3
|
|
6204
6223
|
# @option params [required, String] :bucket
|
6205
6224
|
# The bucket name.
|
6206
6225
|
#
|
6207
|
-
# When using this
|
6208
|
-
# the access point hostname. The access point hostname takes the form
|
6226
|
+
# When using this action with an access point, you must direct requests
|
6227
|
+
# to the access point hostname. The access point hostname takes the form
|
6209
6228
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
6210
|
-
# When using this
|
6211
|
-
#
|
6229
|
+
# When using this action with an access point through the AWS SDKs, you
|
6230
|
+
# provide the access point ARN in place of the bucket name. For more
|
6212
6231
|
# information about access point ARNs, see [Using Access Points][1] in
|
6213
6232
|
# the *Amazon Simple Storage Service Developer Guide*.
|
6214
6233
|
#
|
6215
|
-
# When using this
|
6234
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
6216
6235
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
6217
6236
|
# takes the form
|
6218
6237
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
6219
|
-
# When using this
|
6220
|
-
#
|
6221
|
-
#
|
6222
|
-
#
|
6238
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
6239
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
6240
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
6241
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
6223
6242
|
#
|
6224
6243
|
#
|
6225
6244
|
#
|
@@ -6264,14 +6283,17 @@ module Aws::S3
|
|
6264
6283
|
req.send_request(options)
|
6265
6284
|
end
|
6266
6285
|
|
6267
|
-
# The HEAD
|
6268
|
-
# the object itself. This
|
6269
|
-
#
|
6270
|
-
#
|
6271
|
-
#
|
6272
|
-
# A `HEAD` request has the same options as a `GET`
|
6273
|
-
#
|
6274
|
-
#
|
6286
|
+
# The HEAD action retrieves metadata from an object without returning
|
6287
|
+
# the object itself. This action is useful if you're only interested in
|
6288
|
+
# an object's metadata. To use HEAD, you must have READ access to the
|
6289
|
+
# object.
|
6290
|
+
#
|
6291
|
+
# A `HEAD` request has the same options as a `GET` action on an object.
|
6292
|
+
# The response is identical to the `GET` response except that there is
|
6293
|
+
# no response body. Because of this, if the `HEAD` request generates an
|
6294
|
+
# error, it returns a generic `404 Not Found` or `403 Forbidden` code.
|
6295
|
+
# It is not possible to retrieve the exact exception beyond these error
|
6296
|
+
# codes.
|
6275
6297
|
#
|
6276
6298
|
# If you encrypt an object by using server-side encryption with
|
6277
6299
|
# customer-provided encryption keys (SSE-C) when you store the object in
|
@@ -6287,12 +6309,15 @@ module Aws::S3
|
|
6287
6309
|
# For more information about SSE-C, see [Server-Side Encryption (Using
|
6288
6310
|
# Customer-Provided Encryption Keys)][1].
|
6289
6311
|
#
|
6290
|
-
# <note markdown="1"> Encryption request headers, like `x-amz-server-side-encryption`,
|
6291
|
-
#
|
6292
|
-
#
|
6293
|
-
#
|
6294
|
-
#
|
6295
|
-
# error.
|
6312
|
+
# <note markdown="1"> * Encryption request headers, like `x-amz-server-side-encryption`,
|
6313
|
+
# should not be sent for GET requests if your object uses server-side
|
6314
|
+
# encryption with CMKs stored in AWS KMS (SSE-KMS) or server-side
|
6315
|
+
# encryption with Amazon S3–managed encryption keys (SSE-S3). If your
|
6316
|
+
# object does use these types of keys, you’ll get an HTTP 400
|
6317
|
+
# BadRequest error.
|
6318
|
+
#
|
6319
|
+
# * The last modified property in this case is the creation date of the
|
6320
|
+
# object.
|
6296
6321
|
#
|
6297
6322
|
# </note>
|
6298
6323
|
#
|
@@ -6334,7 +6359,7 @@ module Aws::S3
|
|
6334
6359
|
# * If you don’t have the `s3:ListBucket` permission, Amazon S3 returns
|
6335
6360
|
# an HTTP status code 403 ("access denied") error.
|
6336
6361
|
#
|
6337
|
-
# The following
|
6362
|
+
# The following action is related to `HeadObject`\:
|
6338
6363
|
#
|
6339
6364
|
# * [GetObject][5]
|
6340
6365
|
#
|
@@ -6351,22 +6376,22 @@ module Aws::S3
|
|
6351
6376
|
# @option params [required, String] :bucket
|
6352
6377
|
# The name of the bucket containing the object.
|
6353
6378
|
#
|
6354
|
-
# When using this
|
6355
|
-
# the access point hostname. The access point hostname takes the form
|
6379
|
+
# When using this action with an access point, you must direct requests
|
6380
|
+
# to the access point hostname. The access point hostname takes the form
|
6356
6381
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
6357
|
-
# When using this
|
6358
|
-
#
|
6382
|
+
# When using this action with an access point through the AWS SDKs, you
|
6383
|
+
# provide the access point ARN in place of the bucket name. For more
|
6359
6384
|
# information about access point ARNs, see [Using Access Points][1] in
|
6360
6385
|
# the *Amazon Simple Storage Service Developer Guide*.
|
6361
6386
|
#
|
6362
|
-
# When using this
|
6387
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
6363
6388
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
6364
6389
|
# takes the form
|
6365
6390
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
6366
|
-
# When using this
|
6367
|
-
#
|
6368
|
-
#
|
6369
|
-
#
|
6391
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
6392
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
6393
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
6394
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
6370
6395
|
#
|
6371
6396
|
#
|
6372
6397
|
#
|
@@ -6575,15 +6600,14 @@ module Aws::S3
|
|
6575
6600
|
# Lists the analytics configurations for the bucket. You can have up to
|
6576
6601
|
# 1,000 analytics configurations per bucket.
|
6577
6602
|
#
|
6578
|
-
# This
|
6579
|
-
#
|
6580
|
-
#
|
6581
|
-
#
|
6582
|
-
#
|
6583
|
-
#
|
6584
|
-
#
|
6585
|
-
#
|
6586
|
-
# next page.
|
6603
|
+
# This action supports list pagination and does not return more than 100
|
6604
|
+
# configurations at a time. You should always check the `IsTruncated`
|
6605
|
+
# element in the response. If there are no more configurations to list,
|
6606
|
+
# `IsTruncated` is set to false. If there are more configurations to
|
6607
|
+
# list, `IsTruncated` is set to true, and there will be a value in
|
6608
|
+
# `NextContinuationToken`. You use the `NextContinuationToken` value to
|
6609
|
+
# continue the pagination of the list by passing the value in
|
6610
|
+
# continuation-token in the request to `GET` the next page.
|
6587
6611
|
#
|
6588
6612
|
# To use this operation, you must have permissions to perform the
|
6589
6613
|
# `s3:GetAnalyticsConfiguration` action. The bucket owner has this
|
@@ -6760,9 +6784,9 @@ module Aws::S3
|
|
6760
6784
|
# Returns a list of inventory configurations for the bucket. You can
|
6761
6785
|
# have up to 1,000 analytics configurations per bucket.
|
6762
6786
|
#
|
6763
|
-
# This
|
6764
|
-
#
|
6765
|
-
#
|
6787
|
+
# This action supports list pagination and does not return more than 100
|
6788
|
+
# configurations at a time. Always check the `IsTruncated` element in
|
6789
|
+
# the response. If there are no more configurations to list,
|
6766
6790
|
# `IsTruncated` is set to false. If there are more configurations to
|
6767
6791
|
# list, `IsTruncated` is set to true, and there is a value in
|
6768
6792
|
# `NextContinuationToken`. You use the `NextContinuationToken` value to
|
@@ -6860,9 +6884,9 @@ module Aws::S3
|
|
6860
6884
|
# not provide information on daily storage metrics. You can have up to
|
6861
6885
|
# 1,000 configurations per bucket.
|
6862
6886
|
#
|
6863
|
-
# This
|
6864
|
-
#
|
6865
|
-
#
|
6887
|
+
# This action supports list pagination and does not return more than 100
|
6888
|
+
# configurations at a time. Always check the `IsTruncated` element in
|
6889
|
+
# the response. If there are no more configurations to list,
|
6866
6890
|
# `IsTruncated` is set to false. If there are more configurations to
|
6867
6891
|
# list, `IsTruncated` is set to true, and there is a value in
|
6868
6892
|
# `NextContinuationToken`. You use the `NextContinuationToken` value to
|
@@ -7008,20 +7032,19 @@ module Aws::S3
|
|
7008
7032
|
req.send_request(options)
|
7009
7033
|
end
|
7010
7034
|
|
7011
|
-
# This
|
7035
|
+
# This action lists in-progress multipart uploads. An in-progress
|
7012
7036
|
# multipart upload is a multipart upload that has been initiated using
|
7013
7037
|
# the Initiate Multipart Upload request, but has not yet been completed
|
7014
7038
|
# or aborted.
|
7015
7039
|
#
|
7016
|
-
# This
|
7017
|
-
#
|
7018
|
-
#
|
7019
|
-
#
|
7020
|
-
#
|
7021
|
-
#
|
7022
|
-
#
|
7023
|
-
#
|
7024
|
-
# parameters.
|
7040
|
+
# This action returns at most 1,000 multipart uploads in the response.
|
7041
|
+
# 1,000 multipart uploads is the maximum number of uploads a response
|
7042
|
+
# can include, which is also the default value. You can further limit
|
7043
|
+
# the number of uploads in a response by specifying the `max-uploads`
|
7044
|
+
# parameter in the response. If additional multipart uploads satisfy the
|
7045
|
+
# list criteria, the response will contain an `IsTruncated` element with
|
7046
|
+
# the value true. To list the additional multipart uploads, use the
|
7047
|
+
# `key-marker` and `upload-id-marker` request parameters.
|
7025
7048
|
#
|
7026
7049
|
# In the response, the uploads are sorted by key. If your application
|
7027
7050
|
# has initiated more than one multipart upload using the same object
|
@@ -7033,7 +7056,7 @@ module Aws::S3
|
|
7033
7056
|
# Using Multipart Upload][1].
|
7034
7057
|
#
|
7035
7058
|
# For information on permissions required to use the multipart upload
|
7036
|
-
# API, see [Multipart Upload
|
7059
|
+
# API, see [Multipart Upload and Permissions][2].
|
7037
7060
|
#
|
7038
7061
|
# The following operations are related to `ListMultipartUploads`\:
|
7039
7062
|
#
|
@@ -7060,22 +7083,22 @@ module Aws::S3
|
|
7060
7083
|
# @option params [required, String] :bucket
|
7061
7084
|
# The name of the bucket to which the multipart upload was initiated.
|
7062
7085
|
#
|
7063
|
-
# When using this
|
7064
|
-
# the access point hostname. The access point hostname takes the form
|
7086
|
+
# When using this action with an access point, you must direct requests
|
7087
|
+
# to the access point hostname. The access point hostname takes the form
|
7065
7088
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
7066
|
-
# When using this
|
7067
|
-
#
|
7089
|
+
# When using this action with an access point through the AWS SDKs, you
|
7090
|
+
# provide the access point ARN in place of the bucket name. For more
|
7068
7091
|
# information about access point ARNs, see [Using Access Points][1] in
|
7069
7092
|
# the *Amazon Simple Storage Service Developer Guide*.
|
7070
7093
|
#
|
7071
|
-
# When using this
|
7094
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
7072
7095
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
7073
7096
|
# takes the form
|
7074
7097
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
7075
|
-
# When using this
|
7076
|
-
#
|
7077
|
-
#
|
7078
|
-
#
|
7098
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
7099
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
7100
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
7101
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
7079
7102
|
#
|
7080
7103
|
#
|
7081
7104
|
#
|
@@ -7155,97 +7178,97 @@ module Aws::S3
|
|
7155
7178
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7156
7179
|
#
|
7157
7180
|
#
|
7158
|
-
# @example Example:
|
7181
|
+
# @example Example: To list in-progress multipart uploads on a bucket
|
7159
7182
|
#
|
7160
|
-
# # The following example
|
7161
|
-
# # setup of multipart uploads.
|
7183
|
+
# # The following example lists in-progress multipart uploads on a specific bucket.
|
7162
7184
|
#
|
7163
7185
|
# resp = client.list_multipart_uploads({
|
7164
7186
|
# bucket: "examplebucket",
|
7165
|
-
# key_marker: "nextkeyfrompreviousresponse",
|
7166
|
-
# max_uploads: 2,
|
7167
|
-
# upload_id_marker: "valuefrompreviousresponse",
|
7168
7187
|
# })
|
7169
7188
|
#
|
7170
7189
|
# resp.to_h outputs the following:
|
7171
7190
|
# {
|
7172
|
-
# bucket: "acl1",
|
7173
|
-
# is_truncated: true,
|
7174
|
-
# key_marker: "",
|
7175
|
-
# max_uploads: 2,
|
7176
|
-
# next_key_marker: "someobjectkey",
|
7177
|
-
# next_upload_id_marker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
7178
|
-
# upload_id_marker: "",
|
7179
7191
|
# uploads: [
|
7180
7192
|
# {
|
7181
7193
|
# initiated: Time.parse("2014-05-01T05:40:58.000Z"),
|
7182
7194
|
# initiator: {
|
7183
|
-
# display_name: "
|
7195
|
+
# display_name: "display-name",
|
7184
7196
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
7185
7197
|
# },
|
7186
7198
|
# key: "JavaFile",
|
7187
7199
|
# owner: {
|
7188
|
-
# display_name: "
|
7189
|
-
# id: "
|
7200
|
+
# display_name: "display-name",
|
7201
|
+
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
7190
7202
|
# },
|
7191
7203
|
# storage_class: "STANDARD",
|
7192
|
-
# upload_id: "
|
7204
|
+
# upload_id: "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
|
7193
7205
|
# },
|
7194
7206
|
# {
|
7195
7207
|
# initiated: Time.parse("2014-05-01T05:41:27.000Z"),
|
7196
7208
|
# initiator: {
|
7197
|
-
# display_name: "
|
7209
|
+
# display_name: "display-name",
|
7198
7210
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
7199
7211
|
# },
|
7200
7212
|
# key: "JavaFile",
|
7201
7213
|
# owner: {
|
7202
|
-
# display_name: "
|
7214
|
+
# display_name: "display-name",
|
7203
7215
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
7204
7216
|
# },
|
7205
7217
|
# storage_class: "STANDARD",
|
7206
|
-
# upload_id: "
|
7218
|
+
# upload_id: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
7207
7219
|
# },
|
7208
7220
|
# ],
|
7209
7221
|
# }
|
7210
7222
|
#
|
7211
|
-
# @example Example:
|
7223
|
+
# @example Example: List next set of multipart uploads when previous result is truncated
|
7212
7224
|
#
|
7213
|
-
# # The following example
|
7225
|
+
# # The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next
|
7226
|
+
# # setup of multipart uploads.
|
7214
7227
|
#
|
7215
7228
|
# resp = client.list_multipart_uploads({
|
7216
7229
|
# bucket: "examplebucket",
|
7230
|
+
# key_marker: "nextkeyfrompreviousresponse",
|
7231
|
+
# max_uploads: 2,
|
7232
|
+
# upload_id_marker: "valuefrompreviousresponse",
|
7217
7233
|
# })
|
7218
7234
|
#
|
7219
7235
|
# resp.to_h outputs the following:
|
7220
7236
|
# {
|
7237
|
+
# bucket: "acl1",
|
7238
|
+
# is_truncated: true,
|
7239
|
+
# key_marker: "",
|
7240
|
+
# max_uploads: 2,
|
7241
|
+
# next_key_marker: "someobjectkey",
|
7242
|
+
# next_upload_id_marker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
7243
|
+
# upload_id_marker: "",
|
7221
7244
|
# uploads: [
|
7222
7245
|
# {
|
7223
7246
|
# initiated: Time.parse("2014-05-01T05:40:58.000Z"),
|
7224
7247
|
# initiator: {
|
7225
|
-
# display_name: "display-name",
|
7248
|
+
# display_name: "ownder-display-name",
|
7226
7249
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
7227
7250
|
# },
|
7228
7251
|
# key: "JavaFile",
|
7229
7252
|
# owner: {
|
7230
|
-
# display_name: "
|
7231
|
-
# id: "
|
7253
|
+
# display_name: "mohanataws",
|
7254
|
+
# id: "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
7232
7255
|
# },
|
7233
7256
|
# storage_class: "STANDARD",
|
7234
|
-
# upload_id: "
|
7257
|
+
# upload_id: "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
|
7235
7258
|
# },
|
7236
7259
|
# {
|
7237
7260
|
# initiated: Time.parse("2014-05-01T05:41:27.000Z"),
|
7238
7261
|
# initiator: {
|
7239
|
-
# display_name: "display-name",
|
7262
|
+
# display_name: "ownder-display-name",
|
7240
7263
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
7241
7264
|
# },
|
7242
7265
|
# key: "JavaFile",
|
7243
7266
|
# owner: {
|
7244
|
-
# display_name: "display-name",
|
7267
|
+
# display_name: "ownder-display-name",
|
7245
7268
|
# id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
7246
7269
|
# },
|
7247
7270
|
# storage_class: "STANDARD",
|
7248
|
-
# upload_id: "
|
7271
|
+
# upload_id: "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
7249
7272
|
# },
|
7250
7273
|
# ],
|
7251
7274
|
# }
|
@@ -7351,7 +7374,7 @@ module Aws::S3
|
|
7351
7374
|
#
|
7352
7375
|
# @option params [Integer] :max_keys
|
7353
7376
|
# Sets the maximum number of keys returned in the response. By default
|
7354
|
-
# the
|
7377
|
+
# the action returns up to 1,000 key names. The response might contain
|
7355
7378
|
# fewer keys but will never contain more. If additional keys satisfy the
|
7356
7379
|
# search criteria, but were not returned because max-keys was exceeded,
|
7357
7380
|
# the response contains <isTruncated>true</isTruncated>. To
|
@@ -7495,7 +7518,7 @@ module Aws::S3
|
|
7495
7518
|
# invalid XML. Be sure to design your application to parse the contents
|
7496
7519
|
# of the response and handle it appropriately.
|
7497
7520
|
#
|
7498
|
-
# This
|
7521
|
+
# This action has been revised. We recommend that you use the newer
|
7499
7522
|
# version, [ListObjectsV2][1], when developing applications. For
|
7500
7523
|
# backward compatibility, Amazon S3 continues to support `ListObjects`.
|
7501
7524
|
#
|
@@ -7522,22 +7545,22 @@ module Aws::S3
|
|
7522
7545
|
# @option params [required, String] :bucket
|
7523
7546
|
# The name of the bucket containing the objects.
|
7524
7547
|
#
|
7525
|
-
# When using this
|
7526
|
-
# the access point hostname. The access point hostname takes the form
|
7548
|
+
# When using this action with an access point, you must direct requests
|
7549
|
+
# to the access point hostname. The access point hostname takes the form
|
7527
7550
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
7528
|
-
# When using this
|
7529
|
-
#
|
7551
|
+
# When using this action with an access point through the AWS SDKs, you
|
7552
|
+
# provide the access point ARN in place of the bucket name. For more
|
7530
7553
|
# information about access point ARNs, see [Using Access Points][1] in
|
7531
7554
|
# the *Amazon Simple Storage Service Developer Guide*.
|
7532
7555
|
#
|
7533
|
-
# When using this
|
7556
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
7534
7557
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
7535
7558
|
# takes the form
|
7536
7559
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
7537
|
-
# When using this
|
7538
|
-
#
|
7539
|
-
#
|
7540
|
-
#
|
7560
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
7561
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
7562
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
7563
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
7541
7564
|
#
|
7542
7565
|
#
|
7543
7566
|
#
|
@@ -7560,7 +7583,7 @@ module Aws::S3
|
|
7560
7583
|
#
|
7561
7584
|
# @option params [Integer] :max_keys
|
7562
7585
|
# Sets the maximum number of keys returned in the response. By default
|
7563
|
-
# the
|
7586
|
+
# the action returns up to 1,000 key names. The response might contain
|
7564
7587
|
# fewer keys but will never contain more.
|
7565
7588
|
#
|
7566
7589
|
# @option params [String] :prefix
|
@@ -7677,20 +7700,22 @@ module Aws::S3
|
|
7677
7700
|
# use the request parameters as selection criteria to return a subset of
|
7678
7701
|
# the objects in a bucket. A `200 OK` response can contain valid or
|
7679
7702
|
# invalid XML. Make sure to design your application to parse the
|
7680
|
-
# contents of the response and handle it appropriately.
|
7703
|
+
# contents of the response and handle it appropriately. Objects are
|
7704
|
+
# returned sorted in an ascending order of the respective key names in
|
7705
|
+
# the list.
|
7681
7706
|
#
|
7682
7707
|
# To use this operation, you must have READ access to the bucket.
|
7683
7708
|
#
|
7684
|
-
# To use this
|
7709
|
+
# To use this action in an AWS Identity and Access Management (IAM)
|
7685
7710
|
# policy, you must have permissions to perform the `s3:ListBucket`
|
7686
7711
|
# action. The bucket owner has this permission by default and can grant
|
7687
7712
|
# this permission to others. For more information about permissions, see
|
7688
7713
|
# [Permissions Related to Bucket Subresource Operations][1] and
|
7689
7714
|
# [Managing Access Permissions to Your Amazon S3 Resources][2].
|
7690
7715
|
#
|
7691
|
-
# This section describes the latest revision of
|
7692
|
-
# that you use this revised API for application development.
|
7693
|
-
# backward compatibility, Amazon S3 continues to support the prior
|
7716
|
+
# This section describes the latest revision of this action. We
|
7717
|
+
# recommend that you use this revised API for application development.
|
7718
|
+
# For backward compatibility, Amazon S3 continues to support the prior
|
7694
7719
|
# version of this API, [ListObjects][3].
|
7695
7720
|
#
|
7696
7721
|
# To get a list of your buckets, see [ListBuckets][4].
|
@@ -7716,22 +7741,22 @@ module Aws::S3
|
|
7716
7741
|
# @option params [required, String] :bucket
|
7717
7742
|
# Bucket name to list.
|
7718
7743
|
#
|
7719
|
-
# When using this
|
7720
|
-
# the access point hostname. The access point hostname takes the form
|
7744
|
+
# When using this action with an access point, you must direct requests
|
7745
|
+
# to the access point hostname. The access point hostname takes the form
|
7721
7746
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
7722
|
-
# When using this
|
7723
|
-
#
|
7747
|
+
# When using this action with an access point through the AWS SDKs, you
|
7748
|
+
# provide the access point ARN in place of the bucket name. For more
|
7724
7749
|
# information about access point ARNs, see [Using Access Points][1] in
|
7725
7750
|
# the *Amazon Simple Storage Service Developer Guide*.
|
7726
7751
|
#
|
7727
|
-
# When using this
|
7752
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
7728
7753
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
7729
7754
|
# takes the form
|
7730
7755
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
7731
|
-
# When using this
|
7732
|
-
#
|
7733
|
-
#
|
7734
|
-
#
|
7756
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
7757
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
7758
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
7759
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
7735
7760
|
#
|
7736
7761
|
#
|
7737
7762
|
#
|
@@ -7746,7 +7771,7 @@ module Aws::S3
|
|
7746
7771
|
#
|
7747
7772
|
# @option params [Integer] :max_keys
|
7748
7773
|
# Sets the maximum number of keys returned in the response. By default
|
7749
|
-
# the
|
7774
|
+
# the action returns up to 1,000 key names. The response might contain
|
7750
7775
|
# fewer keys but will never contain more.
|
7751
7776
|
#
|
7752
7777
|
# @option params [String] :prefix
|
@@ -7895,7 +7920,7 @@ module Aws::S3
|
|
7895
7920
|
# Using Multipart Upload][2].
|
7896
7921
|
#
|
7897
7922
|
# For information on permissions required to use the multipart upload
|
7898
|
-
# API, see [Multipart Upload
|
7923
|
+
# API, see [Multipart Upload and Permissions][3].
|
7899
7924
|
#
|
7900
7925
|
# The following operations are related to `ListParts`\:
|
7901
7926
|
#
|
@@ -7922,22 +7947,22 @@ module Aws::S3
|
|
7922
7947
|
# @option params [required, String] :bucket
|
7923
7948
|
# The name of the bucket to which the parts are being uploaded.
|
7924
7949
|
#
|
7925
|
-
# When using this
|
7926
|
-
# the access point hostname. The access point hostname takes the form
|
7950
|
+
# When using this action with an access point, you must direct requests
|
7951
|
+
# to the access point hostname. The access point hostname takes the form
|
7927
7952
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
7928
|
-
# When using this
|
7929
|
-
#
|
7953
|
+
# When using this action with an access point through the AWS SDKs, you
|
7954
|
+
# provide the access point ARN in place of the bucket name. For more
|
7930
7955
|
# information about access point ARNs, see [Using Access Points][1] in
|
7931
7956
|
# the *Amazon Simple Storage Service Developer Guide*.
|
7932
7957
|
#
|
7933
|
-
# When using this
|
7958
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
7934
7959
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
7935
7960
|
# takes the form
|
7936
7961
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
7937
|
-
# When using this
|
7938
|
-
#
|
7939
|
-
#
|
7940
|
-
#
|
7962
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
7963
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
7964
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
7965
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
7941
7966
|
#
|
7942
7967
|
#
|
7943
7968
|
#
|
@@ -8093,8 +8118,8 @@ module Aws::S3
|
|
8093
8118
|
#
|
8094
8119
|
# * Suspended – Disables accelerated data transfers to the bucket.
|
8095
8120
|
#
|
8096
|
-
# The [GetBucketAccelerateConfiguration][3]
|
8097
|
-
#
|
8121
|
+
# The [GetBucketAccelerateConfiguration][3] action returns the transfer
|
8122
|
+
# acceleration state of a bucket.
|
8098
8123
|
#
|
8099
8124
|
# After setting the Transfer Acceleration state of a bucket to Enabled,
|
8100
8125
|
# it might take up to thirty minutes before the data transfer rates to
|
@@ -8579,7 +8604,7 @@ module Aws::S3
|
|
8579
8604
|
# element.
|
8580
8605
|
#
|
8581
8606
|
# For more information about CORS, go to [Enabling Cross-Origin Resource
|
8582
|
-
# Sharing][1] in the *Amazon Simple Storage Service
|
8607
|
+
# Sharing][1] in the *Amazon Simple Storage Service User Guide*.
|
8583
8608
|
#
|
8584
8609
|
# **Related Resources**
|
8585
8610
|
#
|
@@ -8602,7 +8627,7 @@ module Aws::S3
|
|
8602
8627
|
# @option params [required, Types::CORSConfiguration] :cors_configuration
|
8603
8628
|
# Describes the cross-origin access configuration for objects in an
|
8604
8629
|
# Amazon S3 bucket. For more information, see [Enabling Cross-Origin
|
8605
|
-
# Resource Sharing][1] in the *Amazon Simple Storage Service
|
8630
|
+
# Resource Sharing][1] in the *Amazon Simple Storage Service User
|
8606
8631
|
# Guide*.
|
8607
8632
|
#
|
8608
8633
|
#
|
@@ -8700,7 +8725,7 @@ module Aws::S3
|
|
8700
8725
|
req.send_request(options)
|
8701
8726
|
end
|
8702
8727
|
|
8703
|
-
# This
|
8728
|
+
# This action uses the `encryption` subresource to configure default
|
8704
8729
|
# encryption and Amazon S3 Bucket Key for an existing bucket.
|
8705
8730
|
#
|
8706
8731
|
# Default encryption for a bucket can use server-side encryption with
|
@@ -8708,36 +8733,36 @@ module Aws::S3
|
|
8708
8733
|
# (SSE-KMS). If you specify default encryption using SSE-KMS, you can
|
8709
8734
|
# also configure Amazon S3 Bucket Key. For information about default
|
8710
8735
|
# encryption, see [Amazon S3 default bucket encryption][1] in the
|
8711
|
-
# *Amazon Simple Storage Service
|
8712
|
-
#
|
8713
|
-
#
|
8736
|
+
# *Amazon Simple Storage Service User Guide*. For more information about
|
8737
|
+
# S3 Bucket Keys, see [Amazon S3 Bucket Keys][2] in the *Amazon Simple
|
8738
|
+
# Storage Service User Guide*.
|
8714
8739
|
#
|
8715
|
-
# This
|
8716
|
-
# see [ Authenticating Requests (AWS Signature Version
|
8717
|
-
# 4)](sig-v4-authenticating-requests.html).
|
8740
|
+
# This action requires AWS Signature Version 4. For more information,
|
8741
|
+
# see [ Authenticating Requests (AWS Signature Version 4)][3].
|
8718
8742
|
#
|
8719
8743
|
# To use this operation, you must have permissions to perform the
|
8720
8744
|
# `s3:PutEncryptionConfiguration` action. The bucket owner has this
|
8721
8745
|
# permission by default. The bucket owner can grant this permission to
|
8722
8746
|
# others. For more information about permissions, see [Permissions
|
8723
|
-
# Related to Bucket Subresource Operations][
|
8724
|
-
# Permissions to Your Amazon S3 Resources][
|
8725
|
-
# Storage Service
|
8747
|
+
# Related to Bucket Subresource Operations][4] and [Managing Access
|
8748
|
+
# Permissions to Your Amazon S3 Resources][5] in the Amazon Simple
|
8749
|
+
# Storage Service User Guide.
|
8726
8750
|
#
|
8727
8751
|
# **Related Resources**
|
8728
8752
|
#
|
8729
|
-
# * [GetBucketEncryption][
|
8753
|
+
# * [GetBucketEncryption][6]
|
8730
8754
|
#
|
8731
|
-
# * [DeleteBucketEncryption][
|
8755
|
+
# * [DeleteBucketEncryption][7]
|
8732
8756
|
#
|
8733
8757
|
#
|
8734
8758
|
#
|
8735
8759
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
|
8736
8760
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
|
8737
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8738
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-
|
8739
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8740
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
8761
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
|
8762
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
8763
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html
|
8764
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html
|
8765
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html
|
8741
8766
|
#
|
8742
8767
|
# @option params [required, String] :bucket
|
8743
8768
|
# Specifies default encryption for a bucket using server-side encryption
|
@@ -8796,6 +8821,8 @@ module Aws::S3
|
|
8796
8821
|
end
|
8797
8822
|
|
8798
8823
|
# Puts a S3 Intelligent-Tiering configuration to the specified bucket.
|
8824
|
+
# You can have up to 1,000 S3 Intelligent-Tiering configurations per
|
8825
|
+
# bucket.
|
8799
8826
|
#
|
8800
8827
|
# The S3 Intelligent-Tiering storage class is designed to optimize
|
8801
8828
|
# storage costs by automatically moving data to the most cost-effective
|
@@ -8824,6 +8851,35 @@ module Aws::S3
|
|
8824
8851
|
#
|
8825
8852
|
# * [ListBucketIntelligentTieringConfigurations][4]
|
8826
8853
|
#
|
8854
|
+
# <note markdown="1"> You only need S3 Intelligent-Tiering enabled on a bucket if you want
|
8855
|
+
# to automatically move objects stored in the S3 Intelligent-Tiering
|
8856
|
+
# storage class to the Archive Access or Deep Archive Access tier.
|
8857
|
+
#
|
8858
|
+
# </note>
|
8859
|
+
#
|
8860
|
+
# **Special Errors**
|
8861
|
+
#
|
8862
|
+
# * **HTTP 400 Bad Request Error**
|
8863
|
+
#
|
8864
|
+
# * *Code:* InvalidArgument
|
8865
|
+
#
|
8866
|
+
# * *Cause:* Invalid Argument
|
8867
|
+
#
|
8868
|
+
# * **HTTP 400 Bad Request Error**
|
8869
|
+
#
|
8870
|
+
# * *Code:* TooManyConfigurations
|
8871
|
+
#
|
8872
|
+
# * *Cause:* You are attempting to create a new configuration but have
|
8873
|
+
# already reached the 1,000-configuration limit.
|
8874
|
+
#
|
8875
|
+
# * **HTTP 403 Forbidden Error**
|
8876
|
+
#
|
8877
|
+
# * *Code:* AccessDenied
|
8878
|
+
#
|
8879
|
+
# * *Cause:* You are not the owner of the specified bucket, or you do
|
8880
|
+
# not have the `s3:PutIntelligentTieringConfiguration` bucket
|
8881
|
+
# permission to set the configuration on the bucket.
|
8882
|
+
#
|
8827
8883
|
#
|
8828
8884
|
#
|
8829
8885
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access
|
@@ -8885,7 +8941,7 @@ module Aws::S3
|
|
8885
8941
|
req.send_request(options)
|
8886
8942
|
end
|
8887
8943
|
|
8888
|
-
# This implementation of the `PUT`
|
8944
|
+
# This implementation of the `PUT` action adds an inventory
|
8889
8945
|
# configuration (identified by the inventory ID) to the bucket. You can
|
8890
8946
|
# have up to 1,000 inventory configurations per bucket.
|
8891
8947
|
#
|
@@ -8901,8 +8957,8 @@ module Aws::S3
|
|
8901
8957
|
# whether to generate the inventory daily or weekly. You can also
|
8902
8958
|
# configure what object metadata to include and whether to inventory all
|
8903
8959
|
# object versions or only current versions. For more information, see
|
8904
|
-
# [Amazon S3 Inventory][1] in the Amazon Simple Storage Service
|
8905
|
-
#
|
8960
|
+
# [Amazon S3 Inventory][1] in the Amazon Simple Storage Service User
|
8961
|
+
# Guide.
|
8906
8962
|
#
|
8907
8963
|
# You must create a bucket policy on the *destination* bucket to grant
|
8908
8964
|
# permissions to Amazon S3 to write objects to the bucket in the defined
|
@@ -8914,7 +8970,7 @@ module Aws::S3
|
|
8914
8970
|
# permission by default and can grant this permission to others. For
|
8915
8971
|
# more information about permissions, see [Permissions Related to Bucket
|
8916
8972
|
# Subresource Operations][3] and [Managing Access Permissions to Your
|
8917
|
-
# Amazon S3 Resources][4] in the Amazon Simple Storage Service
|
8973
|
+
# Amazon S3 Resources][4] in the Amazon Simple Storage Service User
|
8918
8974
|
# Guide.
|
8919
8975
|
#
|
8920
8976
|
# **Special Errors**
|
@@ -9027,7 +9083,7 @@ module Aws::S3
|
|
9027
9083
|
# Creates a new lifecycle configuration for the bucket or replaces an
|
9028
9084
|
# existing lifecycle configuration. For information about lifecycle
|
9029
9085
|
# configuration, see [Object Lifecycle Management][2] in the *Amazon
|
9030
|
-
# Simple Storage Service
|
9086
|
+
# Simple Storage Service User Guide*.
|
9031
9087
|
#
|
9032
9088
|
# By default, all Amazon S3 resources, including buckets, objects, and
|
9033
9089
|
# related subresources (for example, lifecycle configuration and website
|
@@ -9050,7 +9106,7 @@ module Aws::S3
|
|
9050
9106
|
#
|
9051
9107
|
# For more information about permissions, see [Managing Access
|
9052
9108
|
# Permissions to your Amazon S3 Resources][3] in the *Amazon Simple
|
9053
|
-
# Storage Service
|
9109
|
+
# Storage Service User Guide*.
|
9054
9110
|
#
|
9055
9111
|
# For more examples of transitioning objects to storage classes such as
|
9056
9112
|
# STANDARD\_IA or ONEZONE\_IA, see [Examples of Lifecycle
|
@@ -9068,7 +9124,7 @@ module Aws::S3
|
|
9068
9124
|
# the AWS account that created the bucket—can perform any of the
|
9069
9125
|
# operations. A resource owner can also grant others permission to
|
9070
9126
|
# perform the operation. For more information, see the following
|
9071
|
-
# topics in the Amazon Simple Storage Service
|
9127
|
+
# topics in the Amazon Simple Storage Service User Guide:
|
9072
9128
|
#
|
9073
9129
|
# * [Specifying Permissions in a Policy][8]
|
9074
9130
|
#
|
@@ -9658,8 +9714,8 @@ module Aws::S3
|
|
9658
9714
|
#
|
9659
9715
|
# `</NotificationConfiguration>`
|
9660
9716
|
#
|
9661
|
-
# This
|
9662
|
-
#
|
9717
|
+
# This action replaces the existing notification configuration with the
|
9718
|
+
# configuration you include in the request body.
|
9663
9719
|
#
|
9664
9720
|
# After Amazon S3 receives this request, it first verifies that any
|
9665
9721
|
# Amazon Simple Notification Service (Amazon SNS) or Amazon Simple Queue
|
@@ -9682,8 +9738,8 @@ module Aws::S3
|
|
9682
9738
|
# notification configuration includes SNS topic, SQS queue, and Lambda
|
9683
9739
|
# function configurations. When you send a PUT request with this
|
9684
9740
|
# configuration, Amazon S3 sends test messages to your SNS topic. If the
|
9685
|
-
# message fails, the entire PUT
|
9686
|
-
#
|
9741
|
+
# message fails, the entire PUT action will fail, and Amazon S3 will not
|
9742
|
+
# add the configuration to your bucket.
|
9687
9743
|
#
|
9688
9744
|
# </note>
|
9689
9745
|
#
|
@@ -9695,7 +9751,7 @@ module Aws::S3
|
|
9695
9751
|
# include the `x-amz-sns-test-message-id` header containing the message
|
9696
9752
|
# ID of the test notification sent to the topic.
|
9697
9753
|
#
|
9698
|
-
# The following
|
9754
|
+
# The following action is related to
|
9699
9755
|
# `PutBucketNotificationConfiguration`\:
|
9700
9756
|
#
|
9701
9757
|
# * [GetBucketNotificationConfiguration][2]
|
@@ -9960,8 +10016,8 @@ module Aws::S3
|
|
9960
10016
|
# more information, see [Replication][1] in the *Amazon S3 Developer
|
9961
10017
|
# Guide*.
|
9962
10018
|
#
|
9963
|
-
# <note markdown="1"> To perform this operation, the user or role performing the
|
9964
|
-
#
|
10019
|
+
# <note markdown="1"> To perform this operation, the user or role performing the action must
|
10020
|
+
# have the [iam:PassRole][2] permission.
|
9965
10021
|
#
|
9966
10022
|
# </note>
|
9967
10023
|
#
|
@@ -10187,10 +10243,9 @@ module Aws::S3
|
|
10187
10243
|
# The bucket name.
|
10188
10244
|
#
|
10189
10245
|
# @option params [String] :content_md5
|
10190
|
-
#
|
10191
|
-
#
|
10192
|
-
#
|
10193
|
-
# 1864][1].
|
10246
|
+
# The base64-encoded 128-bit MD5 digest of the data. You must use this
|
10247
|
+
# header as a message integrity check to verify that the request body
|
10248
|
+
# was not corrupted in transit. For more information, see [RFC 1864][1].
|
10194
10249
|
#
|
10195
10250
|
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
10196
10251
|
# SDKs, this field is calculated automatically.
|
@@ -10284,7 +10339,7 @@ module Aws::S3
|
|
10284
10339
|
#
|
10285
10340
|
# * Error code: `OperationAbortedError `
|
10286
10341
|
#
|
10287
|
-
# * Description: A conflicting conditional
|
10342
|
+
# * Description: A conflicting conditional action is currently in
|
10288
10343
|
# progress against this resource. Please try again.
|
10289
10344
|
#
|
10290
10345
|
# ^
|
@@ -10499,7 +10554,7 @@ module Aws::S3
|
|
10499
10554
|
# such as the file name of the index document and any redirect rules.
|
10500
10555
|
# For more information, see [Hosting Websites on Amazon S3][1].
|
10501
10556
|
#
|
10502
|
-
# This PUT
|
10557
|
+
# This PUT action requires the `S3:PutBucketWebsite` permission. By
|
10503
10558
|
# default, only the bucket owner can configure the website attached to a
|
10504
10559
|
# bucket; however, bucket owners can allow other users to set the
|
10505
10560
|
# website configuration by writing a bucket policy that grants them the
|
@@ -10559,7 +10614,7 @@ module Aws::S3
|
|
10559
10614
|
# Amazon S3 has a limitation of 50 routing rules per website
|
10560
10615
|
# configuration. If you require more than 50 routing rules, you can use
|
10561
10616
|
# object redirect. For more information, see [Configuring an Object
|
10562
|
-
# Redirect][2] in the *Amazon Simple Storage Service
|
10617
|
+
# Redirect][2] in the *Amazon Simple Storage Service User Guide*.
|
10563
10618
|
#
|
10564
10619
|
#
|
10565
10620
|
#
|
@@ -10692,7 +10747,7 @@ module Aws::S3
|
|
10692
10747
|
# If you request server-side encryption using AWS Key Management Service
|
10693
10748
|
# (SSE-KMS), you can enable an S3 Bucket Key at the object-level. For
|
10694
10749
|
# more information, see [Amazon S3 Bucket Keys][3] in the *Amazon Simple
|
10695
|
-
# Storage Service
|
10750
|
+
# Storage Service User Guide*.
|
10696
10751
|
#
|
10697
10752
|
# **Access Control List (ACL)-Specific Request Headers**
|
10698
10753
|
#
|
@@ -10758,24 +10813,24 @@ module Aws::S3
|
|
10758
10813
|
# Object data.
|
10759
10814
|
#
|
10760
10815
|
# @option params [required, String] :bucket
|
10761
|
-
# The bucket name to which the PUT
|
10816
|
+
# The bucket name to which the PUT action was initiated.
|
10762
10817
|
#
|
10763
|
-
# When using this
|
10764
|
-
# the access point hostname. The access point hostname takes the form
|
10818
|
+
# When using this action with an access point, you must direct requests
|
10819
|
+
# to the access point hostname. The access point hostname takes the form
|
10765
10820
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
10766
|
-
# When using this
|
10767
|
-
#
|
10821
|
+
# When using this action with an access point through the AWS SDKs, you
|
10822
|
+
# provide the access point ARN in place of the bucket name. For more
|
10768
10823
|
# information about access point ARNs, see [Using Access Points][1] in
|
10769
10824
|
# the *Amazon Simple Storage Service Developer Guide*.
|
10770
10825
|
#
|
10771
|
-
# When using this
|
10826
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
10772
10827
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
10773
10828
|
# takes the form
|
10774
10829
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
10775
|
-
# When using this
|
10776
|
-
#
|
10777
|
-
#
|
10778
|
-
#
|
10830
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
10831
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
10832
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
10833
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
10779
10834
|
#
|
10780
10835
|
#
|
10781
10836
|
#
|
@@ -10875,7 +10930,7 @@ module Aws::S3
|
|
10875
10930
|
# This action is not supported by Amazon S3 on Outposts.
|
10876
10931
|
#
|
10877
10932
|
# @option params [required, String] :key
|
10878
|
-
# Object key for which the PUT
|
10933
|
+
# Object key for which the PUT action was initiated.
|
10879
10934
|
#
|
10880
10935
|
# @option params [Hash<String,String>] :metadata
|
10881
10936
|
# A map of metadata to store with the object in S3.
|
@@ -10962,8 +11017,8 @@ module Aws::S3
|
|
10962
11017
|
# Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key
|
10963
11018
|
# for object encryption with SSE-KMS.
|
10964
11019
|
#
|
10965
|
-
# Specifying this header with a PUT
|
10966
|
-
#
|
11020
|
+
# Specifying this header with a PUT action doesn’t affect bucket-level
|
11021
|
+
# settings for S3 Bucket Key.
|
10967
11022
|
#
|
10968
11023
|
# @option params [String] :request_payer
|
10969
11024
|
# Confirms that the requester knows that they will be charged for the
|
@@ -11013,58 +11068,41 @@ module Aws::S3
|
|
11013
11068
|
# * {Types::PutObjectOutput#request_charged #request_charged} => String
|
11014
11069
|
#
|
11015
11070
|
#
|
11016
|
-
# @example Example: To upload an object
|
11071
|
+
# @example Example: To upload an object
|
11017
11072
|
#
|
11018
|
-
# # The following example uploads
|
11019
|
-
# #
|
11073
|
+
# # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
|
11074
|
+
# # syntax. S3 returns VersionId of the newly created object.
|
11020
11075
|
#
|
11021
11076
|
# resp = client.put_object({
|
11022
|
-
# body: "
|
11077
|
+
# body: "HappyFace.jpg",
|
11023
11078
|
# bucket: "examplebucket",
|
11024
|
-
# key: "
|
11025
|
-
# server_side_encryption: "AES256",
|
11026
|
-
# tagging: "key1=value1&key2=value2",
|
11079
|
+
# key: "HappyFace.jpg",
|
11027
11080
|
# })
|
11028
11081
|
#
|
11029
11082
|
# resp.to_h outputs the following:
|
11030
11083
|
# {
|
11031
11084
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11032
|
-
#
|
11033
|
-
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
11085
|
+
# version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
|
11034
11086
|
# }
|
11035
11087
|
#
|
11036
|
-
# @example Example: To
|
11088
|
+
# @example Example: To upload an object and specify server-side encryption and object tags
|
11037
11089
|
#
|
11038
|
-
# # The following example
|
11090
|
+
# # The following example uploads and object. The request specifies the optional server-side encryption option. The request
|
11091
|
+
# # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
|
11039
11092
|
#
|
11040
11093
|
# resp = client.put_object({
|
11041
11094
|
# body: "filetoupload",
|
11042
11095
|
# bucket: "examplebucket",
|
11043
|
-
# key: "
|
11044
|
-
#
|
11045
|
-
#
|
11046
|
-
# resp.to_h outputs the following:
|
11047
|
-
# {
|
11048
|
-
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11049
|
-
# version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
|
11050
|
-
# }
|
11051
|
-
#
|
11052
|
-
# @example Example: To upload an object and specify optional tags
|
11053
|
-
#
|
11054
|
-
# # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
|
11055
|
-
# # S3 returns version ID of the newly created object.
|
11056
|
-
#
|
11057
|
-
# resp = client.put_object({
|
11058
|
-
# body: "c:\\HappyFace.jpg",
|
11059
|
-
# bucket: "examplebucket",
|
11060
|
-
# key: "HappyFace.jpg",
|
11096
|
+
# key: "exampleobject",
|
11097
|
+
# server_side_encryption: "AES256",
|
11061
11098
|
# tagging: "key1=value1&key2=value2",
|
11062
11099
|
# })
|
11063
11100
|
#
|
11064
11101
|
# resp.to_h outputs the following:
|
11065
11102
|
# {
|
11066
11103
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11067
|
-
#
|
11104
|
+
# server_side_encryption: "AES256",
|
11105
|
+
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
11068
11106
|
# }
|
11069
11107
|
#
|
11070
11108
|
# @example Example: To upload an object (specify optional headers)
|
@@ -11087,25 +11125,20 @@ module Aws::S3
|
|
11087
11125
|
# version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
|
11088
11126
|
# }
|
11089
11127
|
#
|
11090
|
-
# @example Example: To
|
11128
|
+
# @example Example: To create an object.
|
11091
11129
|
#
|
11092
|
-
# # The following example creates an object.
|
11093
|
-
# # enabled, S3 returns version ID in response.
|
11130
|
+
# # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
|
11094
11131
|
#
|
11095
11132
|
# resp = client.put_object({
|
11096
11133
|
# body: "filetoupload",
|
11097
11134
|
# bucket: "examplebucket",
|
11098
|
-
# key: "
|
11099
|
-
# metadata: {
|
11100
|
-
# "metadata1" => "value1",
|
11101
|
-
# "metadata2" => "value2",
|
11102
|
-
# },
|
11135
|
+
# key: "objectkey",
|
11103
11136
|
# })
|
11104
11137
|
#
|
11105
11138
|
# resp.to_h outputs the following:
|
11106
11139
|
# {
|
11107
11140
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11108
|
-
# version_id: "
|
11141
|
+
# version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
|
11109
11142
|
# }
|
11110
11143
|
#
|
11111
11144
|
# @example Example: To upload an object and specify canned ACL.
|
@@ -11126,21 +11159,43 @@ module Aws::S3
|
|
11126
11159
|
# version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
|
11127
11160
|
# }
|
11128
11161
|
#
|
11129
|
-
# @example Example: To upload an object
|
11162
|
+
# @example Example: To upload an object and specify optional tags
|
11130
11163
|
#
|
11131
|
-
# # The following example uploads an object
|
11132
|
-
# #
|
11164
|
+
# # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
|
11165
|
+
# # S3 returns version ID of the newly created object.
|
11133
11166
|
#
|
11134
11167
|
# resp = client.put_object({
|
11135
|
-
# body: "HappyFace.jpg",
|
11168
|
+
# body: "c:\\HappyFace.jpg",
|
11136
11169
|
# bucket: "examplebucket",
|
11137
11170
|
# key: "HappyFace.jpg",
|
11171
|
+
# tagging: "key1=value1&key2=value2",
|
11138
11172
|
# })
|
11139
11173
|
#
|
11140
11174
|
# resp.to_h outputs the following:
|
11141
11175
|
# {
|
11142
11176
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11143
|
-
# version_id: "
|
11177
|
+
# version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
|
11178
|
+
# }
|
11179
|
+
#
|
11180
|
+
# @example Example: To upload object and specify user-defined metadata
|
11181
|
+
#
|
11182
|
+
# # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
|
11183
|
+
# # enabled, S3 returns version ID in response.
|
11184
|
+
#
|
11185
|
+
# resp = client.put_object({
|
11186
|
+
# body: "filetoupload",
|
11187
|
+
# bucket: "examplebucket",
|
11188
|
+
# key: "exampleobject",
|
11189
|
+
# metadata: {
|
11190
|
+
# "metadata1" => "value1",
|
11191
|
+
# "metadata2" => "value2",
|
11192
|
+
# },
|
11193
|
+
# })
|
11194
|
+
#
|
11195
|
+
# resp.to_h outputs the following:
|
11196
|
+
# {
|
11197
|
+
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11198
|
+
# version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
|
11144
11199
|
# }
|
11145
11200
|
#
|
11146
11201
|
# @example Streaming a file from disk
|
@@ -11214,7 +11269,7 @@ module Aws::S3
|
|
11214
11269
|
# permissions for a new or existing object in an S3 bucket. You must
|
11215
11270
|
# have `WRITE_ACP` permission to set the ACL of an object. For more
|
11216
11271
|
# information, see [What permissions can I grant?][1] in the *Amazon
|
11217
|
-
# Simple Storage Service
|
11272
|
+
# Simple Storage Service User Guide*.
|
11218
11273
|
#
|
11219
11274
|
# This action is not supported by Amazon S3 on Outposts.
|
11220
11275
|
#
|
@@ -11378,11 +11433,11 @@ module Aws::S3
|
|
11378
11433
|
# The bucket name that contains the object to which you want to attach
|
11379
11434
|
# the ACL.
|
11380
11435
|
#
|
11381
|
-
# When using this
|
11382
|
-
# the access point hostname. The access point hostname takes the form
|
11436
|
+
# When using this action with an access point, you must direct requests
|
11437
|
+
# to the access point hostname. The access point hostname takes the form
|
11383
11438
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11384
|
-
# When using this
|
11385
|
-
#
|
11439
|
+
# When using this action with an access point through the AWS SDKs, you
|
11440
|
+
# provide the access point ARN in place of the bucket name. For more
|
11386
11441
|
# information about access point ARNs, see [Using Access Points][1] in
|
11387
11442
|
# the *Amazon Simple Storage Service Developer Guide*.
|
11388
11443
|
#
|
@@ -11429,24 +11484,24 @@ module Aws::S3
|
|
11429
11484
|
# This action is not supported by Amazon S3 on Outposts.
|
11430
11485
|
#
|
11431
11486
|
# @option params [required, String] :key
|
11432
|
-
# Key for which the PUT
|
11487
|
+
# Key for which the PUT action was initiated.
|
11433
11488
|
#
|
11434
|
-
# When using this
|
11435
|
-
# the access point hostname. The access point hostname takes the form
|
11489
|
+
# When using this action with an access point, you must direct requests
|
11490
|
+
# to the access point hostname. The access point hostname takes the form
|
11436
11491
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11437
|
-
# When using this
|
11438
|
-
#
|
11492
|
+
# When using this action with an access point through the AWS SDKs, you
|
11493
|
+
# provide the access point ARN in place of the bucket name. For more
|
11439
11494
|
# information about access point ARNs, see [Using Access Points][1] in
|
11440
11495
|
# the *Amazon Simple Storage Service Developer Guide*.
|
11441
11496
|
#
|
11442
|
-
# When using this
|
11497
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
11443
11498
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11444
11499
|
# takes the form
|
11445
11500
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
11446
|
-
# When using this
|
11447
|
-
#
|
11448
|
-
#
|
11449
|
-
#
|
11501
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
11502
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
11503
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
11504
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
11450
11505
|
#
|
11451
11506
|
#
|
11452
11507
|
#
|
@@ -11561,11 +11616,11 @@ module Aws::S3
|
|
11561
11616
|
# The bucket name containing the object that you want to place a Legal
|
11562
11617
|
# Hold on.
|
11563
11618
|
#
|
11564
|
-
# When using this
|
11565
|
-
# the access point hostname. The access point hostname takes the form
|
11619
|
+
# When using this action with an access point, you must direct requests
|
11620
|
+
# to the access point hostname. The access point hostname takes the form
|
11566
11621
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11567
|
-
# When using this
|
11568
|
-
#
|
11622
|
+
# When using this action with an access point through the AWS SDKs, you
|
11623
|
+
# provide the access point ARN in place of the bucket name. For more
|
11569
11624
|
# information about access point ARNs, see [Using Access Points][1] in
|
11570
11625
|
# the *Amazon Simple Storage Service Developer Guide*.
|
11571
11626
|
#
|
@@ -11743,11 +11798,11 @@ module Aws::S3
|
|
11743
11798
|
# The bucket name that contains the object you want to apply this Object
|
11744
11799
|
# Retention configuration to.
|
11745
11800
|
#
|
11746
|
-
# When using this
|
11747
|
-
# the access point hostname. The access point hostname takes the form
|
11801
|
+
# When using this action with an access point, you must direct requests
|
11802
|
+
# to the access point hostname. The access point hostname takes the form
|
11748
11803
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11749
|
-
# When using this
|
11750
|
-
#
|
11804
|
+
# When using this action with an access point through the AWS SDKs, you
|
11805
|
+
# provide the access point ARN in place of the bucket name. For more
|
11751
11806
|
# information about access point ARNs, see [Using Access Points][1] in
|
11752
11807
|
# the *Amazon Simple Storage Service Developer Guide*.
|
11753
11808
|
#
|
@@ -11778,7 +11833,7 @@ module Aws::S3
|
|
11778
11833
|
# Retention configuration to.
|
11779
11834
|
#
|
11780
11835
|
# @option params [Boolean] :bypass_governance_retention
|
11781
|
-
# Indicates whether this
|
11836
|
+
# Indicates whether this action should bypass Governance-mode
|
11782
11837
|
# restrictions.
|
11783
11838
|
#
|
11784
11839
|
# @option params [String] :content_md5
|
@@ -11861,8 +11916,8 @@ module Aws::S3
|
|
11861
11916
|
#
|
11862
11917
|
# * * <i>Code: OperationAbortedError </i>
|
11863
11918
|
#
|
11864
|
-
# * *Cause: A conflicting conditional
|
11865
|
-
#
|
11919
|
+
# * *Cause: A conflicting conditional action is currently in progress
|
11920
|
+
# against this resource. Please try again.*
|
11866
11921
|
#
|
11867
11922
|
# * * *Code: InternalError*
|
11868
11923
|
#
|
@@ -11873,33 +11928,34 @@ module Aws::S3
|
|
11873
11928
|
#
|
11874
11929
|
# * [GetObjectTagging][1]
|
11875
11930
|
#
|
11876
|
-
#
|
11931
|
+
# * [DeleteObjectTagging][4]
|
11877
11932
|
#
|
11878
11933
|
#
|
11879
11934
|
#
|
11880
11935
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html
|
11881
11936
|
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
|
11882
11937
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html
|
11938
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html
|
11883
11939
|
#
|
11884
11940
|
# @option params [required, String] :bucket
|
11885
11941
|
# The bucket name containing the object.
|
11886
11942
|
#
|
11887
|
-
# When using this
|
11888
|
-
# the access point hostname. The access point hostname takes the form
|
11943
|
+
# When using this action with an access point, you must direct requests
|
11944
|
+
# to the access point hostname. The access point hostname takes the form
|
11889
11945
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
11890
|
-
# When using this
|
11891
|
-
#
|
11946
|
+
# When using this action with an access point through the AWS SDKs, you
|
11947
|
+
# provide the access point ARN in place of the bucket name. For more
|
11892
11948
|
# information about access point ARNs, see [Using Access Points][1] in
|
11893
11949
|
# the *Amazon Simple Storage Service Developer Guide*.
|
11894
11950
|
#
|
11895
|
-
# When using this
|
11951
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
11896
11952
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11897
11953
|
# takes the form
|
11898
11954
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
11899
|
-
# When using this
|
11900
|
-
#
|
11901
|
-
#
|
11902
|
-
#
|
11955
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
11956
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
11957
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
11958
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
11903
11959
|
#
|
11904
11960
|
#
|
11905
11961
|
#
|
@@ -11926,6 +11982,17 @@ module Aws::S3
|
|
11926
11982
|
# a different account, the request will fail with an HTTP `403 (Access
|
11927
11983
|
# Denied)` error.
|
11928
11984
|
#
|
11985
|
+
# @option params [String] :request_payer
|
11986
|
+
# Confirms that the requester knows that they will be charged for the
|
11987
|
+
# request. Bucket owners need not specify this parameter in their
|
11988
|
+
# requests. For information about downloading objects from requester
|
11989
|
+
# pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
|
11990
|
+
# in the *Amazon S3 Developer Guide*.
|
11991
|
+
#
|
11992
|
+
#
|
11993
|
+
#
|
11994
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
11995
|
+
#
|
11929
11996
|
# @return [Types::PutObjectTaggingOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11930
11997
|
#
|
11931
11998
|
# * {Types::PutObjectTaggingOutput#version_id #version_id} => String
|
@@ -11973,6 +12040,7 @@ module Aws::S3
|
|
11973
12040
|
# ],
|
11974
12041
|
# },
|
11975
12042
|
# expected_bucket_owner: "AccountId",
|
12043
|
+
# request_payer: "requester", # accepts requester
|
11976
12044
|
# })
|
11977
12045
|
#
|
11978
12046
|
# @example Response structure
|
@@ -12089,7 +12157,7 @@ module Aws::S3
|
|
12089
12157
|
# default and can grant this permission to others. For more information
|
12090
12158
|
# about permissions, see [Permissions Related to Bucket Subresource
|
12091
12159
|
# Operations][1] and [Managing Access Permissions to Your Amazon S3
|
12092
|
-
# Resources][2] in the *Amazon Simple Storage Service
|
12160
|
+
# Resources][2] in the *Amazon Simple Storage Service User Guide*.
|
12093
12161
|
#
|
12094
12162
|
# **Querying Archives with Select Requests**
|
12095
12163
|
#
|
@@ -12099,7 +12167,7 @@ module Aws::S3
|
|
12099
12167
|
# files. You can run queries and custom analytics on your archived data
|
12100
12168
|
# without having to restore your data to a hotter Amazon S3 tier. For an
|
12101
12169
|
# overview about select requests, see [Querying Archived Objects][3] in
|
12102
|
-
# the *Amazon Simple Storage Service
|
12170
|
+
# the *Amazon Simple Storage Service User Guide*.
|
12103
12171
|
#
|
12104
12172
|
# When making a select request, do the following:
|
12105
12173
|
#
|
@@ -12110,7 +12178,7 @@ module Aws::S3
|
|
12110
12178
|
# bucket. You can specify the storage class and encryption for the
|
12111
12179
|
# output objects stored in the bucket. For more information about
|
12112
12180
|
# output, see [Querying Archived Objects][3] in the *Amazon Simple
|
12113
|
-
# Storage Service
|
12181
|
+
# Storage Service User Guide*.
|
12114
12182
|
#
|
12115
12183
|
# For more information about the `S3` structure in the request body,
|
12116
12184
|
# see the following:
|
@@ -12118,10 +12186,10 @@ module Aws::S3
|
|
12118
12186
|
# * [PutObject][4]
|
12119
12187
|
#
|
12120
12188
|
# * [Managing Access with ACLs][5] in the *Amazon Simple Storage
|
12121
|
-
# Service
|
12189
|
+
# Service User Guide*
|
12122
12190
|
#
|
12123
12191
|
# * [Protecting Data Using Server-Side Encryption][6] in the *Amazon
|
12124
|
-
# Simple Storage Service
|
12192
|
+
# Simple Storage Service User Guide*
|
12125
12193
|
#
|
12126
12194
|
# * Define the SQL expression for the `SELECT` type of restoration for
|
12127
12195
|
# your query in the request body's `SelectParameters` structure. You
|
@@ -12147,7 +12215,7 @@ module Aws::S3
|
|
12147
12215
|
#
|
12148
12216
|
# For more information about using SQL with S3 Glacier Select restore,
|
12149
12217
|
# see [SQL Reference for Amazon S3 Select and S3 Glacier Select][7] in
|
12150
|
-
# the *Amazon Simple Storage Service
|
12218
|
+
# the *Amazon Simple Storage Service User Guide*.
|
12151
12219
|
#
|
12152
12220
|
# When making a select request, you can also do the following:
|
12153
12221
|
#
|
@@ -12226,20 +12294,20 @@ module Aws::S3
|
|
12226
12294
|
#
|
12227
12295
|
# For more information about archive retrieval options and provisioned
|
12228
12296
|
# capacity for `Expedited` data access, see [Restoring Archived
|
12229
|
-
# Objects][8] in the *Amazon Simple Storage Service
|
12297
|
+
# Objects][8] in the *Amazon Simple Storage Service User Guide*.
|
12230
12298
|
#
|
12231
12299
|
# You can use Amazon S3 restore speed upgrade to change the restore
|
12232
12300
|
# speed to a faster speed while it is in progress. For more information,
|
12233
12301
|
# see [ Upgrading the speed of an in-progress restore][9] in the *Amazon
|
12234
|
-
# Simple Storage Service
|
12302
|
+
# Simple Storage Service User Guide*.
|
12235
12303
|
#
|
12236
12304
|
# To get the status of object restoration, you can send a `HEAD`
|
12237
12305
|
# request. Operations return the `x-amz-restore` header, which provides
|
12238
12306
|
# information about the restoration status, in the response. You can use
|
12239
12307
|
# Amazon S3 event notifications to notify you when a restore is
|
12240
12308
|
# initiated or completed. For more information, see [Configuring Amazon
|
12241
|
-
# S3 Event Notifications][10] in the *Amazon Simple Storage Service
|
12242
|
-
#
|
12309
|
+
# S3 Event Notifications][10] in the *Amazon Simple Storage Service User
|
12310
|
+
# Guide*.
|
12243
12311
|
#
|
12244
12312
|
# After restoring an archived object, you can update the restoration
|
12245
12313
|
# period by reissuing the request with a new period. Amazon S3 updates
|
@@ -12255,11 +12323,11 @@ module Aws::S3
|
|
12255
12323
|
# days, Amazon S3 deletes the object in 3 days. For more information
|
12256
12324
|
# about lifecycle configuration, see
|
12257
12325
|
# [PutBucketLifecycleConfiguration][11] and [Object Lifecycle
|
12258
|
-
# Management][12] in *Amazon Simple Storage Service
|
12326
|
+
# Management][12] in *Amazon Simple Storage Service User Guide*.
|
12259
12327
|
#
|
12260
12328
|
# **Responses**
|
12261
12329
|
#
|
12262
|
-
# A successful
|
12330
|
+
# A successful action returns either the `200 OK` or `202 Accepted`
|
12263
12331
|
# status code.
|
12264
12332
|
#
|
12265
12333
|
# * If the object is not previously restored, then Amazon S3 returns
|
@@ -12297,7 +12365,7 @@ module Aws::S3
|
|
12297
12365
|
# * [GetBucketNotificationConfiguration][13]
|
12298
12366
|
#
|
12299
12367
|
# * [SQL Reference for Amazon S3 Select and S3 Glacier Select ][7] in
|
12300
|
-
# the *Amazon Simple Storage Service
|
12368
|
+
# the *Amazon Simple Storage Service User Guide*
|
12301
12369
|
#
|
12302
12370
|
#
|
12303
12371
|
#
|
@@ -12318,22 +12386,22 @@ module Aws::S3
|
|
12318
12386
|
# @option params [required, String] :bucket
|
12319
12387
|
# The bucket name containing the object to restore.
|
12320
12388
|
#
|
12321
|
-
# When using this
|
12322
|
-
# the access point hostname. The access point hostname takes the form
|
12389
|
+
# When using this action with an access point, you must direct requests
|
12390
|
+
# to the access point hostname. The access point hostname takes the form
|
12323
12391
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
12324
|
-
# When using this
|
12325
|
-
#
|
12392
|
+
# When using this action with an access point through the AWS SDKs, you
|
12393
|
+
# provide the access point ARN in place of the bucket name. For more
|
12326
12394
|
# information about access point ARNs, see [Using Access Points][1] in
|
12327
12395
|
# the *Amazon Simple Storage Service Developer Guide*.
|
12328
12396
|
#
|
12329
|
-
# When using this
|
12397
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
12330
12398
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
12331
12399
|
# takes the form
|
12332
12400
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
12333
|
-
# When using this
|
12334
|
-
#
|
12335
|
-
#
|
12336
|
-
#
|
12401
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
12402
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
12403
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
12404
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
12337
12405
|
#
|
12338
12406
|
#
|
12339
12407
|
#
|
@@ -12341,7 +12409,7 @@ module Aws::S3
|
|
12341
12409
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
|
12342
12410
|
#
|
12343
12411
|
# @option params [required, String] :key
|
12344
|
-
# Object key for which the
|
12412
|
+
# Object key for which the action was initiated.
|
12345
12413
|
#
|
12346
12414
|
# @option params [String] :version_id
|
12347
12415
|
# VersionId used to reference a specific version of the object.
|
@@ -12495,7 +12563,7 @@ module Aws::S3
|
|
12495
12563
|
req.send_request(options)
|
12496
12564
|
end
|
12497
12565
|
|
12498
|
-
# This
|
12566
|
+
# This action filters the contents of an Amazon S3 object based on a
|
12499
12567
|
# simple structured query language (SQL) statement. In the request,
|
12500
12568
|
# along with the SQL expression, you must also specify a data
|
12501
12569
|
# serialization format (JSON, CSV, or Apache Parquet) of the object.
|
@@ -12506,12 +12574,11 @@ module Aws::S3
|
|
12506
12574
|
# This action is not supported by Amazon S3 on Outposts.
|
12507
12575
|
#
|
12508
12576
|
# For more information about Amazon S3 Select, see [Selecting Content
|
12509
|
-
# from Objects][1] in the *Amazon Simple Storage Service
|
12510
|
-
# Guide*.
|
12577
|
+
# from Objects][1] in the *Amazon Simple Storage Service User Guide*.
|
12511
12578
|
#
|
12512
12579
|
# For more information about using SQL with Amazon S3 Select, see [ SQL
|
12513
12580
|
# Reference for Amazon S3 Select and S3 Glacier Select][2] in the
|
12514
|
-
# *Amazon Simple Storage Service
|
12581
|
+
# *Amazon Simple Storage Service User Guide*.
|
12515
12582
|
#
|
12516
12583
|
#
|
12517
12584
|
#
|
@@ -12520,7 +12587,7 @@ module Aws::S3
|
|
12520
12587
|
# You must have `s3:GetObject` permission for this operation. Amazon S3
|
12521
12588
|
# Select does not support anonymous access. For more information about
|
12522
12589
|
# permissions, see [Specifying Permissions in a Policy][3] in the
|
12523
|
-
# *Amazon Simple Storage Service
|
12590
|
+
# *Amazon Simple Storage Service User Guide*.
|
12524
12591
|
#
|
12525
12592
|
#
|
12526
12593
|
#
|
@@ -12548,7 +12615,7 @@ module Aws::S3
|
|
12548
12615
|
# keys (SSE-C), you must use HTTPS, and you must use the headers that
|
12549
12616
|
# are documented in the [GetObject][4]. For more information about
|
12550
12617
|
# SSE-C, see [Server-Side Encryption (Using Customer-Provided
|
12551
|
-
# Encryption Keys)][5] in the *Amazon Simple Storage Service
|
12618
|
+
# Encryption Keys)][5] in the *Amazon Simple Storage Service User
|
12552
12619
|
# Guide*.
|
12553
12620
|
#
|
12554
12621
|
# For objects that are encrypted with Amazon S3 managed encryption
|
@@ -12557,7 +12624,7 @@ module Aws::S3
|
|
12557
12624
|
# transparently, so you don't need to specify anything. For more
|
12558
12625
|
# information about server-side encryption, including SSE-S3 and
|
12559
12626
|
# SSE-KMS, see [Protecting Data Using Server-Side Encryption][6] in
|
12560
|
-
# the *Amazon Simple Storage Service
|
12627
|
+
# the *Amazon Simple Storage Service User Guide*.
|
12561
12628
|
#
|
12562
12629
|
# **Working with the Response Body**
|
12563
12630
|
#
|
@@ -12570,7 +12637,7 @@ module Aws::S3
|
|
12570
12637
|
#
|
12571
12638
|
# **GetObject Support**
|
12572
12639
|
#
|
12573
|
-
# The `SelectObjectContent`
|
12640
|
+
# The `SelectObjectContent` action does not support the following
|
12574
12641
|
# `GetObject` functionality. For more information, see [GetObject][4].
|
12575
12642
|
#
|
12576
12643
|
# * `Range`\: Although you can specify a scan range for an Amazon S3
|
@@ -12581,7 +12648,7 @@ module Aws::S3
|
|
12581
12648
|
# * GLACIER, DEEP\_ARCHIVE and REDUCED\_REDUNDANCY storage classes: You
|
12582
12649
|
# cannot specify the GLACIER, DEEP\_ARCHIVE, or `REDUCED_REDUNDANCY`
|
12583
12650
|
# storage classes. For more information, about storage classes see
|
12584
|
-
# [Storage Classes][9] in the *Amazon Simple Storage Service
|
12651
|
+
# [Storage Classes][9] in the *Amazon Simple Storage Service User
|
12585
12652
|
# Guide*.
|
12586
12653
|
#
|
12587
12654
|
#
|
@@ -12948,12 +13015,11 @@ module Aws::S3
|
|
12948
13015
|
# parts storage and stops charging you for the parts storage.
|
12949
13016
|
#
|
12950
13017
|
# For more information on multipart uploads, go to [Multipart Upload
|
12951
|
-
# Overview][4] in the <i>Amazon Simple Storage Service
|
12952
|
-
# </i>.
|
13018
|
+
# Overview][4] in the <i>Amazon Simple Storage Service User Guide </i>.
|
12953
13019
|
#
|
12954
13020
|
# For information on the permissions required to use the multipart
|
12955
|
-
# upload API, go to [Multipart Upload
|
12956
|
-
#
|
13021
|
+
# upload API, go to [Multipart Upload and Permissions][5] in the *Amazon
|
13022
|
+
# Simple Storage Service User Guide*.
|
12957
13023
|
#
|
12958
13024
|
# You can optionally request server-side encryption where Amazon S3
|
12959
13025
|
# encrypts your data as it writes it to disks in its data centers and
|
@@ -12963,8 +13029,8 @@ module Aws::S3
|
|
12963
13029
|
# request headers you provide in the request must match the headers you
|
12964
13030
|
# used in the request to initiate the upload by using
|
12965
13031
|
# [CreateMultipartUpload][2]. For more information, go to [Using
|
12966
|
-
# Server-Side Encryption][6] in the *Amazon Simple Storage Service
|
12967
|
-
#
|
13032
|
+
# Server-Side Encryption][6] in the *Amazon Simple Storage Service User
|
13033
|
+
# Guide*.
|
12968
13034
|
#
|
12969
13035
|
# Server-side encryption is supported by the S3 Multipart Upload
|
12970
13036
|
# actions. Unless you are using a customer-provided encryption key, you
|
@@ -13027,22 +13093,22 @@ module Aws::S3
|
|
13027
13093
|
# @option params [required, String] :bucket
|
13028
13094
|
# The name of the bucket to which the multipart upload was initiated.
|
13029
13095
|
#
|
13030
|
-
# When using this
|
13031
|
-
# the access point hostname. The access point hostname takes the form
|
13096
|
+
# When using this action with an access point, you must direct requests
|
13097
|
+
# to the access point hostname. The access point hostname takes the form
|
13032
13098
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
13033
|
-
# When using this
|
13034
|
-
#
|
13099
|
+
# When using this action with an access point through the AWS SDKs, you
|
13100
|
+
# provide the access point ARN in place of the bucket name. For more
|
13035
13101
|
# information about access point ARNs, see [Using Access Points][1] in
|
13036
13102
|
# the *Amazon Simple Storage Service Developer Guide*.
|
13037
13103
|
#
|
13038
|
-
# When using this
|
13104
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
13039
13105
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
13040
13106
|
# takes the form
|
13041
13107
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
13042
|
-
# When using this
|
13043
|
-
#
|
13044
|
-
#
|
13045
|
-
#
|
13108
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
13109
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
13110
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
13111
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
13046
13112
|
#
|
13047
13113
|
#
|
13048
13114
|
#
|
@@ -13175,10 +13241,10 @@ module Aws::S3
|
|
13175
13241
|
#
|
13176
13242
|
# The minimum allowable part size for a multipart upload is 5 MB. For
|
13177
13243
|
# more information about multipart upload limits, go to [Quick Facts][1]
|
13178
|
-
# in the *Amazon Simple Storage Service
|
13244
|
+
# in the *Amazon Simple Storage Service User Guide*.
|
13179
13245
|
#
|
13180
13246
|
# <note markdown="1"> Instead of using an existing object as part data, you might use the
|
13181
|
-
# [UploadPart][2]
|
13247
|
+
# [UploadPart][2] action and provide data in your request.
|
13182
13248
|
#
|
13183
13249
|
# </note>
|
13184
13250
|
#
|
@@ -13192,15 +13258,15 @@ module Aws::S3
|
|
13192
13258
|
#
|
13193
13259
|
# * For conceptual information about multipart uploads, see [Uploading
|
13194
13260
|
# Objects Using Multipart Upload][3] in the *Amazon Simple Storage
|
13195
|
-
# Service
|
13261
|
+
# Service User Guide*.
|
13196
13262
|
#
|
13197
13263
|
# * For information about permissions required to use the multipart
|
13198
|
-
# upload API, see [Multipart Upload
|
13199
|
-
#
|
13264
|
+
# upload API, see [Multipart Upload and Permissions][4] in the *Amazon
|
13265
|
+
# Simple Storage Service User Guide*.
|
13200
13266
|
#
|
13201
|
-
# * For information about copying objects using a single atomic
|
13202
|
-
#
|
13203
|
-
#
|
13267
|
+
# * For information about copying objects using a single atomic action
|
13268
|
+
# vs. the multipart upload, see [Operations on Objects][5] in the
|
13269
|
+
# *Amazon Simple Storage Service User Guide*.
|
13204
13270
|
#
|
13205
13271
|
# * For information about using server-side encryption with
|
13206
13272
|
# customer-provided encryption keys with the UploadPartCopy operation,
|
@@ -13302,22 +13368,22 @@ module Aws::S3
|
|
13302
13368
|
# @option params [required, String] :bucket
|
13303
13369
|
# The bucket name.
|
13304
13370
|
#
|
13305
|
-
# When using this
|
13306
|
-
# the access point hostname. The access point hostname takes the form
|
13371
|
+
# When using this action with an access point, you must direct requests
|
13372
|
+
# to the access point hostname. The access point hostname takes the form
|
13307
13373
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
13308
|
-
# When using this
|
13309
|
-
#
|
13374
|
+
# When using this action with an access point through the AWS SDKs, you
|
13375
|
+
# provide the access point ARN in place of the bucket name. For more
|
13310
13376
|
# information about access point ARNs, see [Using Access Points][1] in
|
13311
13377
|
# the *Amazon Simple Storage Service Developer Guide*.
|
13312
13378
|
#
|
13313
|
-
# When using this
|
13379
|
+
# When using this action with Amazon S3 on Outposts, you must direct
|
13314
13380
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
13315
13381
|
# takes the form
|
13316
13382
|
# *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
|
13317
|
-
# When using this
|
13318
|
-
#
|
13319
|
-
#
|
13320
|
-
#
|
13383
|
+
# When using this action using S3 on Outposts through the AWS SDKs, you
|
13384
|
+
# provide the Outposts bucket ARN in place of the bucket name. For more
|
13385
|
+
# information about S3 on Outposts ARNs, see [Using S3 on Outposts][2]
|
13386
|
+
# in the *Amazon Simple Storage Service Developer Guide*.
|
13321
13387
|
#
|
13322
13388
|
#
|
13323
13389
|
#
|
@@ -13466,45 +13532,45 @@ module Aws::S3
|
|
13466
13532
|
# * {Types::UploadPartCopyOutput#request_charged #request_charged} => String
|
13467
13533
|
#
|
13468
13534
|
#
|
13469
|
-
# @example Example: To upload a part by copying
|
13535
|
+
# @example Example: To upload a part by copying byte range from an existing object as data source
|
13470
13536
|
#
|
13471
|
-
# # The following example uploads a part of a multipart upload by copying
|
13537
|
+
# # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
|
13538
|
+
# # data source.
|
13472
13539
|
#
|
13473
13540
|
# resp = client.upload_part_copy({
|
13474
13541
|
# bucket: "examplebucket",
|
13475
13542
|
# copy_source: "/bucketname/sourceobjectkey",
|
13543
|
+
# copy_source_range: "bytes=1-100000",
|
13476
13544
|
# key: "examplelargeobject",
|
13477
|
-
# part_number:
|
13545
|
+
# part_number: 2,
|
13478
13546
|
# upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
|
13479
13547
|
# })
|
13480
13548
|
#
|
13481
13549
|
# resp.to_h outputs the following:
|
13482
13550
|
# {
|
13483
13551
|
# copy_part_result: {
|
13484
|
-
# etag: "\"
|
13485
|
-
# last_modified: Time.parse("2016-12-29T21:
|
13552
|
+
# etag: "\"65d16d19e65a7508a51f043180edcc36\"",
|
13553
|
+
# last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
|
13486
13554
|
# },
|
13487
13555
|
# }
|
13488
13556
|
#
|
13489
|
-
# @example Example: To upload a part by copying
|
13557
|
+
# @example Example: To upload a part by copying data from an existing object as data source
|
13490
13558
|
#
|
13491
|
-
# # The following example uploads a part of a multipart upload by copying
|
13492
|
-
# # data source.
|
13559
|
+
# # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
|
13493
13560
|
#
|
13494
13561
|
# resp = client.upload_part_copy({
|
13495
13562
|
# bucket: "examplebucket",
|
13496
13563
|
# copy_source: "/bucketname/sourceobjectkey",
|
13497
|
-
# copy_source_range: "bytes=1-100000",
|
13498
13564
|
# key: "examplelargeobject",
|
13499
|
-
# part_number:
|
13565
|
+
# part_number: 1,
|
13500
13566
|
# upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
|
13501
13567
|
# })
|
13502
13568
|
#
|
13503
13569
|
# resp.to_h outputs the following:
|
13504
13570
|
# {
|
13505
13571
|
# copy_part_result: {
|
13506
|
-
# etag: "\"
|
13507
|
-
# last_modified: Time.parse("2016-12-29T21:
|
13572
|
+
# etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
|
13573
|
+
# last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
|
13508
13574
|
# },
|
13509
13575
|
# }
|
13510
13576
|
#
|
@@ -13566,7 +13632,7 @@ module Aws::S3
|
|
13566
13632
|
params: params,
|
13567
13633
|
config: config)
|
13568
13634
|
context[:gem_name] = 'aws-sdk-s3'
|
13569
|
-
context[:gem_version] = '1.
|
13635
|
+
context[:gem_version] = '1.90.0'
|
13570
13636
|
Seahorse::Client::Request.new(handlers, context)
|
13571
13637
|
end
|
13572
13638
|
|