aws-sdk-s3 1.211.0 → 1.217.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 +32 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +44 -16
- data/lib/aws-sdk-s3/client.rb +479 -162
- data/lib/aws-sdk-s3/client_api.rb +54 -0
- data/lib/aws-sdk-s3/customizations.rb +8 -2
- data/lib/aws-sdk-s3/directory_download_error.rb +16 -0
- data/lib/aws-sdk-s3/directory_downloader.rb +230 -0
- data/lib/aws-sdk-s3/directory_upload_error.rb +16 -0
- data/lib/aws-sdk-s3/directory_uploader.rb +270 -0
- data/lib/aws-sdk-s3/endpoints.rb +13 -0
- data/lib/aws-sdk-s3/errors.rb +11 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +12 -12
- data/lib/aws-sdk-s3/multipart_upload_part.rb +8 -8
- data/lib/aws-sdk-s3/object.rb +32 -32
- data/lib/aws-sdk-s3/object_acl.rb +4 -4
- data/lib/aws-sdk-s3/object_summary.rb +28 -28
- data/lib/aws-sdk-s3/object_version.rb +16 -16
- data/lib/aws-sdk-s3/resource.rb +28 -0
- data/lib/aws-sdk-s3/transfer_manager.rb +237 -18
- data/lib/aws-sdk-s3/types.rb +350 -121
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +2 -1
- data/sig/client.rbs +24 -1
- data/sig/errors.rbs +2 -0
- data/sig/resource.rbs +2 -1
- data/sig/types.rbs +38 -0
- metadata +7 -3
data/lib/aws-sdk-s3/types.rb
CHANGED
|
@@ -138,10 +138,10 @@ module Aws::S3
|
|
|
138
138
|
# Confirms that the requester knows that they will be charged for the
|
|
139
139
|
# request. Bucket owners need not specify this parameter in their
|
|
140
140
|
# requests. If either the source or destination S3 bucket has
|
|
141
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
142
|
-
# charges
|
|
143
|
-
#
|
|
144
|
-
#
|
|
141
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
142
|
+
# charges. For information about downloading objects from Requester
|
|
143
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
144
|
+
# in the *Amazon S3 User Guide*.
|
|
145
145
|
#
|
|
146
146
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
147
147
|
#
|
|
@@ -244,6 +244,13 @@ module Aws::S3
|
|
|
244
244
|
include Aws::Structure
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
+
# You might receive this error for several reasons. For details, see the
|
|
248
|
+
# description of this API operation.
|
|
249
|
+
#
|
|
250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessDenied AWS API Documentation
|
|
251
|
+
#
|
|
252
|
+
class AccessDenied < Aws::EmptyStructure; end
|
|
253
|
+
|
|
247
254
|
# A conjunction (logical AND) of predicates, which is used in evaluating
|
|
248
255
|
# a metrics filter. The operator must have at least two predicates in
|
|
249
256
|
# any combination, and an object must match all of the predicates for
|
|
@@ -1253,10 +1260,10 @@ module Aws::S3
|
|
|
1253
1260
|
# Confirms that the requester knows that they will be charged for the
|
|
1254
1261
|
# request. Bucket owners need not specify this parameter in their
|
|
1255
1262
|
# requests. If either the source or destination S3 bucket has
|
|
1256
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
1257
|
-
# charges
|
|
1258
|
-
#
|
|
1259
|
-
#
|
|
1263
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
1264
|
+
# charges. For information about downloading objects from Requester
|
|
1265
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
1266
|
+
# in the *Amazon S3 User Guide*.
|
|
1260
1267
|
#
|
|
1261
1268
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
1262
1269
|
#
|
|
@@ -2431,10 +2438,10 @@ module Aws::S3
|
|
|
2431
2438
|
# Confirms that the requester knows that they will be charged for the
|
|
2432
2439
|
# request. Bucket owners need not specify this parameter in their
|
|
2433
2440
|
# requests. If either the source or destination S3 bucket has
|
|
2434
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
2435
|
-
# charges
|
|
2436
|
-
#
|
|
2437
|
-
#
|
|
2441
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
2442
|
+
# charges. For information about downloading objects from Requester
|
|
2443
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
2444
|
+
# in the *Amazon S3 User Guide*.
|
|
2438
2445
|
#
|
|
2439
2446
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
2440
2447
|
#
|
|
@@ -3068,6 +3075,36 @@ module Aws::S3
|
|
|
3068
3075
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
|
3069
3076
|
# @return [String]
|
|
3070
3077
|
#
|
|
3078
|
+
# @!attribute [rw] bucket_namespace
|
|
3079
|
+
# Specifies the namespace where you want to create your general
|
|
3080
|
+
# purpose bucket. When you create a general purpose bucket, you can
|
|
3081
|
+
# choose to create a bucket in the shared global namespace or you can
|
|
3082
|
+
# choose to create a bucket in your account regional namespace. Your
|
|
3083
|
+
# account regional namespace is a subdivision of the global namespace
|
|
3084
|
+
# that only your account can create buckets in. For more information
|
|
3085
|
+
# on bucket namespaces, see [Namespaces for general purpose
|
|
3086
|
+
# buckets][1].
|
|
3087
|
+
#
|
|
3088
|
+
# General purpose buckets in your account regional namespace must
|
|
3089
|
+
# follow a specific naming convention. These buckets consist of a
|
|
3090
|
+
# bucket name prefix that you create, and a suffix that contains your
|
|
3091
|
+
# 12-digit Amazon Web Services Account ID, the Amazon Web Services
|
|
3092
|
+
# Region code, and ends with `-an`. Bucket names must follow the
|
|
3093
|
+
# format `bucket-name-prefix-accountId-region-an` (for example,
|
|
3094
|
+
# `amzn-s3-demo-bucket-111122223333-us-west-2-an`). For information
|
|
3095
|
+
# about bucket naming restrictions, see [Account regional namespace
|
|
3096
|
+
# naming rules][2] in the *Amazon S3 User Guide*.
|
|
3097
|
+
#
|
|
3098
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
3099
|
+
#
|
|
3100
|
+
# </note>
|
|
3101
|
+
#
|
|
3102
|
+
#
|
|
3103
|
+
#
|
|
3104
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/gpbucketnamespaces.html
|
|
3105
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html#account-regional-naming-rules
|
|
3106
|
+
# @return [String]
|
|
3107
|
+
#
|
|
3071
3108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketRequest AWS API Documentation
|
|
3072
3109
|
#
|
|
3073
3110
|
class CreateBucketRequest < Struct.new(
|
|
@@ -3080,7 +3117,8 @@ module Aws::S3
|
|
|
3080
3117
|
:grant_write,
|
|
3081
3118
|
:grant_write_acp,
|
|
3082
3119
|
:object_lock_enabled_for_bucket,
|
|
3083
|
-
:object_ownership
|
|
3120
|
+
:object_ownership,
|
|
3121
|
+
:bucket_namespace)
|
|
3084
3122
|
SENSITIVE = []
|
|
3085
3123
|
include Aws::Structure
|
|
3086
3124
|
end
|
|
@@ -3810,10 +3848,10 @@ module Aws::S3
|
|
|
3810
3848
|
# Confirms that the requester knows that they will be charged for the
|
|
3811
3849
|
# request. Bucket owners need not specify this parameter in their
|
|
3812
3850
|
# requests. If either the source or destination S3 bucket has
|
|
3813
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
3814
|
-
# charges
|
|
3815
|
-
#
|
|
3816
|
-
#
|
|
3851
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
3852
|
+
# charges. For information about downloading objects from Requester
|
|
3853
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
3854
|
+
# in the *Amazon S3 User Guide*.
|
|
3817
3855
|
#
|
|
3818
3856
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
3819
3857
|
#
|
|
@@ -3974,12 +4012,17 @@ module Aws::S3
|
|
|
3974
4012
|
|
|
3975
4013
|
# @!attribute [rw] session_mode
|
|
3976
4014
|
# Specifies the mode of the session that will be created, either
|
|
3977
|
-
# `ReadWrite` or `ReadOnly`.
|
|
3978
|
-
#
|
|
3979
|
-
#
|
|
3980
|
-
# is
|
|
3981
|
-
#
|
|
3982
|
-
#
|
|
4015
|
+
# `ReadWrite` or `ReadOnly`. If no session mode is specified, the
|
|
4016
|
+
# default behavior attempts to create a session with the maximum
|
|
4017
|
+
# allowable privilege. It will first attempt to create a `ReadWrite`
|
|
4018
|
+
# session, and if that is not allowed by permissions, it will attempt
|
|
4019
|
+
# to create a `ReadOnly` session. If neither session type is allowed,
|
|
4020
|
+
# the request will return an Access Denied error. A `ReadWrite`
|
|
4021
|
+
# session is capable of executing all the Zonal endpoint API
|
|
4022
|
+
# operations on a directory bucket. A `ReadOnly` session is
|
|
4023
|
+
# constrained to execute the following Zonal endpoint API operations:
|
|
4024
|
+
# `GetObject`, `HeadObject`, `ListObjectsV2`, `GetObjectAttributes`,
|
|
4025
|
+
# `ListParts`, and `ListMultipartUploads`.
|
|
3983
4026
|
# @return [String]
|
|
3984
4027
|
#
|
|
3985
4028
|
# @!attribute [rw] bucket
|
|
@@ -4749,10 +4792,10 @@ module Aws::S3
|
|
|
4749
4792
|
# Confirms that the requester knows that they will be charged for the
|
|
4750
4793
|
# request. Bucket owners need not specify this parameter in their
|
|
4751
4794
|
# requests. If either the source or destination S3 bucket has
|
|
4752
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
4753
|
-
# charges
|
|
4754
|
-
#
|
|
4755
|
-
#
|
|
4795
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
4796
|
+
# charges. For information about downloading objects from Requester
|
|
4797
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
4798
|
+
# in the *Amazon S3 User Guide*.
|
|
4756
4799
|
#
|
|
4757
4800
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
4758
4801
|
#
|
|
@@ -5029,10 +5072,10 @@ module Aws::S3
|
|
|
5029
5072
|
# Confirms that the requester knows that they will be charged for the
|
|
5030
5073
|
# request. Bucket owners need not specify this parameter in their
|
|
5031
5074
|
# requests. If either the source or destination S3 bucket has
|
|
5032
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
5033
|
-
# charges
|
|
5034
|
-
#
|
|
5035
|
-
#
|
|
5075
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
5076
|
+
# charges. For information about downloading objects from Requester
|
|
5077
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
5078
|
+
# in the *Amazon S3 User Guide*.
|
|
5036
5079
|
#
|
|
5037
5080
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
5038
5081
|
#
|
|
@@ -6520,10 +6563,10 @@ module Aws::S3
|
|
|
6520
6563
|
# Confirms that the requester knows that they will be charged for the
|
|
6521
6564
|
# request. Bucket owners need not specify this parameter in their
|
|
6522
6565
|
# requests. If either the source or destination S3 bucket has
|
|
6523
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
6524
|
-
# charges
|
|
6525
|
-
#
|
|
6526
|
-
#
|
|
6566
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
6567
|
+
# charges. For information about downloading objects from Requester
|
|
6568
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
6569
|
+
# in the *Amazon S3 User Guide*.
|
|
6527
6570
|
#
|
|
6528
6571
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
6529
6572
|
#
|
|
@@ -7591,10 +7634,10 @@ module Aws::S3
|
|
|
7591
7634
|
# Confirms that the requester knows that they will be charged for the
|
|
7592
7635
|
# request. Bucket owners need not specify this parameter in their
|
|
7593
7636
|
# requests. If either the source or destination S3 bucket has
|
|
7594
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
7595
|
-
# charges
|
|
7596
|
-
#
|
|
7597
|
-
#
|
|
7637
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
7638
|
+
# charges. For information about downloading objects from Requester
|
|
7639
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
7640
|
+
# in the *Amazon S3 User Guide*.
|
|
7598
7641
|
#
|
|
7599
7642
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
7600
7643
|
#
|
|
@@ -7893,10 +7936,10 @@ module Aws::S3
|
|
|
7893
7936
|
# Confirms that the requester knows that they will be charged for the
|
|
7894
7937
|
# request. Bucket owners need not specify this parameter in their
|
|
7895
7938
|
# requests. If either the source or destination S3 bucket has
|
|
7896
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
7897
|
-
# charges
|
|
7898
|
-
#
|
|
7899
|
-
#
|
|
7939
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
7940
|
+
# charges. For information about downloading objects from Requester
|
|
7941
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
7942
|
+
# in the *Amazon S3 User Guide*.
|
|
7900
7943
|
#
|
|
7901
7944
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
7902
7945
|
#
|
|
@@ -7986,10 +8029,10 @@ module Aws::S3
|
|
|
7986
8029
|
# Confirms that the requester knows that they will be charged for the
|
|
7987
8030
|
# request. Bucket owners need not specify this parameter in their
|
|
7988
8031
|
# requests. If either the source or destination S3 bucket has
|
|
7989
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
7990
|
-
# charges
|
|
7991
|
-
#
|
|
7992
|
-
#
|
|
8032
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
8033
|
+
# charges. For information about downloading objects from Requester
|
|
8034
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
8035
|
+
# in the *Amazon S3 User Guide*.
|
|
7993
8036
|
#
|
|
7994
8037
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
7995
8038
|
#
|
|
@@ -8737,10 +8780,10 @@ module Aws::S3
|
|
|
8737
8780
|
# Confirms that the requester knows that they will be charged for the
|
|
8738
8781
|
# request. Bucket owners need not specify this parameter in their
|
|
8739
8782
|
# requests. If either the source or destination S3 bucket has
|
|
8740
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
8741
|
-
# charges
|
|
8742
|
-
#
|
|
8743
|
-
#
|
|
8783
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
8784
|
+
# charges. For information about downloading objects from Requester
|
|
8785
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
8786
|
+
# in the *Amazon S3 User Guide*.
|
|
8744
8787
|
#
|
|
8745
8788
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
8746
8789
|
#
|
|
@@ -8846,10 +8889,10 @@ module Aws::S3
|
|
|
8846
8889
|
# Confirms that the requester knows that they will be charged for the
|
|
8847
8890
|
# request. Bucket owners need not specify this parameter in their
|
|
8848
8891
|
# requests. If either the source or destination S3 bucket has
|
|
8849
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
8850
|
-
# charges
|
|
8851
|
-
#
|
|
8852
|
-
#
|
|
8892
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
8893
|
+
# charges. For information about downloading objects from Requester
|
|
8894
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
8895
|
+
# in the *Amazon S3 User Guide*.
|
|
8853
8896
|
#
|
|
8854
8897
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
8855
8898
|
#
|
|
@@ -8950,10 +8993,10 @@ module Aws::S3
|
|
|
8950
8993
|
# Confirms that the requester knows that they will be charged for the
|
|
8951
8994
|
# request. Bucket owners need not specify this parameter in their
|
|
8952
8995
|
# requests. If either the source or destination S3 bucket has
|
|
8953
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
8954
|
-
# charges
|
|
8955
|
-
#
|
|
8956
|
-
#
|
|
8996
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
8997
|
+
# charges. For information about downloading objects from Requester
|
|
8998
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
8999
|
+
# in the *Amazon S3 User Guide*.
|
|
8957
9000
|
#
|
|
8958
9001
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
8959
9002
|
#
|
|
@@ -9017,10 +9060,10 @@ module Aws::S3
|
|
|
9017
9060
|
# Confirms that the requester knows that they will be charged for the
|
|
9018
9061
|
# request. Bucket owners need not specify this parameter in their
|
|
9019
9062
|
# requests. If either the source or destination S3 bucket has
|
|
9020
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
9021
|
-
# charges
|
|
9022
|
-
#
|
|
9023
|
-
#
|
|
9063
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
9064
|
+
# charges. For information about downloading objects from Requester
|
|
9065
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
9066
|
+
# in the *Amazon S3 User Guide*.
|
|
9024
9067
|
#
|
|
9025
9068
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
9026
9069
|
#
|
|
@@ -9956,10 +9999,10 @@ module Aws::S3
|
|
|
9956
9999
|
# Confirms that the requester knows that they will be charged for the
|
|
9957
10000
|
# request. Bucket owners need not specify this parameter in their
|
|
9958
10001
|
# requests. If either the source or destination S3 bucket has
|
|
9959
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
9960
|
-
# charges
|
|
9961
|
-
#
|
|
9962
|
-
#
|
|
10002
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
10003
|
+
# charges. For information about downloading objects from Requester
|
|
10004
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
10005
|
+
# in the *Amazon S3 User Guide*.
|
|
9963
10006
|
#
|
|
9964
10007
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
9965
10008
|
#
|
|
@@ -10268,16 +10311,8 @@ module Aws::S3
|
|
|
10268
10311
|
include Aws::Structure
|
|
10269
10312
|
end
|
|
10270
10313
|
|
|
10271
|
-
#
|
|
10272
|
-
#
|
|
10273
|
-
#
|
|
10274
|
-
# * Cannot specify both a write offset value and user-defined object
|
|
10275
|
-
# metadata for existing objects.
|
|
10276
|
-
#
|
|
10277
|
-
# * Checksum Type mismatch occurred, expected checksum Type: sha1,
|
|
10278
|
-
# actual checksum Type: crc32c.
|
|
10279
|
-
#
|
|
10280
|
-
# * Request body cannot be empty when 'write offset' is specified.
|
|
10314
|
+
# A parameter or header in your request isn't valid. For details, see
|
|
10315
|
+
# the description of this API operation.
|
|
10281
10316
|
#
|
|
10282
10317
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidRequest AWS API Documentation
|
|
10283
10318
|
#
|
|
@@ -11692,10 +11727,10 @@ module Aws::S3
|
|
|
11692
11727
|
# Confirms that the requester knows that they will be charged for the
|
|
11693
11728
|
# request. Bucket owners need not specify this parameter in their
|
|
11694
11729
|
# requests. If either the source or destination S3 bucket has
|
|
11695
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
11696
|
-
# charges
|
|
11697
|
-
#
|
|
11698
|
-
#
|
|
11730
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
11731
|
+
# charges. For information about downloading objects from Requester
|
|
11732
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
11733
|
+
# in the *Amazon S3 User Guide*.
|
|
11699
11734
|
#
|
|
11700
11735
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
11701
11736
|
#
|
|
@@ -11916,10 +11951,10 @@ module Aws::S3
|
|
|
11916
11951
|
# Confirms that the requester knows that they will be charged for the
|
|
11917
11952
|
# request. Bucket owners need not specify this parameter in their
|
|
11918
11953
|
# requests. If either the source or destination S3 bucket has
|
|
11919
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
11920
|
-
# charges
|
|
11921
|
-
#
|
|
11922
|
-
#
|
|
11954
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
11955
|
+
# charges. For information about downloading objects from Requester
|
|
11956
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
11957
|
+
# in the *Amazon S3 User Guide*.
|
|
11923
11958
|
#
|
|
11924
11959
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
11925
11960
|
#
|
|
@@ -12764,10 +12799,10 @@ module Aws::S3
|
|
|
12764
12799
|
# Confirms that the requester knows that they will be charged for the
|
|
12765
12800
|
# request. Bucket owners need not specify this parameter in their
|
|
12766
12801
|
# requests. If either the source or destination S3 bucket has
|
|
12767
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
12768
|
-
# charges
|
|
12769
|
-
#
|
|
12770
|
-
#
|
|
12802
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
12803
|
+
# charges. For information about downloading objects from Requester
|
|
12804
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
12805
|
+
# in the *Amazon S3 User Guide*.
|
|
12771
12806
|
#
|
|
12772
12807
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
12773
12808
|
#
|
|
@@ -13596,6 +13631,32 @@ module Aws::S3
|
|
|
13596
13631
|
#
|
|
13597
13632
|
class ObjectAlreadyInActiveTierError < Aws::EmptyStructure; end
|
|
13598
13633
|
|
|
13634
|
+
# The updated server-side encryption type for this object. The
|
|
13635
|
+
# `UpdateObjectEncryption` operation supports the SSE-S3 and SSE-KMS
|
|
13636
|
+
# encryption types.
|
|
13637
|
+
#
|
|
13638
|
+
# Valid Values: `SSES3` \| `SSEKMS`
|
|
13639
|
+
#
|
|
13640
|
+
# @note ObjectEncryption is a union - when making an API calls you must set exactly one of the members.
|
|
13641
|
+
#
|
|
13642
|
+
# @!attribute [rw] ssekms
|
|
13643
|
+
# Specifies to update the object encryption type to server-side
|
|
13644
|
+
# encryption with Key Management Service (KMS) keys (SSE-KMS).
|
|
13645
|
+
# @return [Types::SSEKMSEncryption]
|
|
13646
|
+
#
|
|
13647
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectEncryption AWS API Documentation
|
|
13648
|
+
#
|
|
13649
|
+
class ObjectEncryption < Struct.new(
|
|
13650
|
+
:ssekms,
|
|
13651
|
+
:unknown)
|
|
13652
|
+
SENSITIVE = []
|
|
13653
|
+
include Aws::Structure
|
|
13654
|
+
include Aws::Structure::Union
|
|
13655
|
+
|
|
13656
|
+
class Ssekms < ObjectEncryption; end
|
|
13657
|
+
class Unknown < ObjectEncryption; end
|
|
13658
|
+
end
|
|
13659
|
+
|
|
13599
13660
|
# Object Identifier is unique value to identify objects.
|
|
13600
13661
|
#
|
|
13601
13662
|
# @!attribute [rw] key
|
|
@@ -15650,10 +15711,10 @@ module Aws::S3
|
|
|
15650
15711
|
# Confirms that the requester knows that they will be charged for the
|
|
15651
15712
|
# request. Bucket owners need not specify this parameter in their
|
|
15652
15713
|
# requests. If either the source or destination S3 bucket has
|
|
15653
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
15654
|
-
# charges
|
|
15655
|
-
#
|
|
15656
|
-
#
|
|
15714
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
15715
|
+
# charges. For information about downloading objects from Requester
|
|
15716
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
15717
|
+
# in the *Amazon S3 User Guide*.
|
|
15657
15718
|
#
|
|
15658
15719
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
15659
15720
|
#
|
|
@@ -15759,10 +15820,10 @@ module Aws::S3
|
|
|
15759
15820
|
# Confirms that the requester knows that they will be charged for the
|
|
15760
15821
|
# request. Bucket owners need not specify this parameter in their
|
|
15761
15822
|
# requests. If either the source or destination S3 bucket has
|
|
15762
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
15763
|
-
# charges
|
|
15764
|
-
#
|
|
15765
|
-
#
|
|
15823
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
15824
|
+
# charges. For information about downloading objects from Requester
|
|
15825
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
15826
|
+
# in the *Amazon S3 User Guide*.
|
|
15766
15827
|
#
|
|
15767
15828
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
15768
15829
|
#
|
|
@@ -15861,10 +15922,10 @@ module Aws::S3
|
|
|
15861
15922
|
# Confirms that the requester knows that they will be charged for the
|
|
15862
15923
|
# request. Bucket owners need not specify this parameter in their
|
|
15863
15924
|
# requests. If either the source or destination S3 bucket has
|
|
15864
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
15865
|
-
# charges
|
|
15866
|
-
#
|
|
15867
|
-
#
|
|
15925
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
15926
|
+
# charges. For information about downloading objects from Requester
|
|
15927
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
15928
|
+
# in the *Amazon S3 User Guide*.
|
|
15868
15929
|
#
|
|
15869
15930
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
15870
15931
|
#
|
|
@@ -16811,10 +16872,10 @@ module Aws::S3
|
|
|
16811
16872
|
# Confirms that the requester knows that they will be charged for the
|
|
16812
16873
|
# request. Bucket owners need not specify this parameter in their
|
|
16813
16874
|
# requests. If either the source or destination S3 bucket has
|
|
16814
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
16815
|
-
# charges
|
|
16816
|
-
#
|
|
16817
|
-
#
|
|
16875
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
16876
|
+
# charges. For information about downloading objects from Requester
|
|
16877
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
16878
|
+
# in the *Amazon S3 User Guide*.
|
|
16818
16879
|
#
|
|
16819
16880
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
16820
16881
|
#
|
|
@@ -16979,10 +17040,10 @@ module Aws::S3
|
|
|
16979
17040
|
# Confirms that the requester knows that they will be charged for the
|
|
16980
17041
|
# request. Bucket owners need not specify this parameter in their
|
|
16981
17042
|
# requests. If either the source or destination S3 bucket has
|
|
16982
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
16983
|
-
# charges
|
|
16984
|
-
#
|
|
16985
|
-
#
|
|
17043
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
17044
|
+
# charges. For information about downloading objects from Requester
|
|
17045
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
17046
|
+
# in the *Amazon S3 User Guide*.
|
|
16986
17047
|
#
|
|
16987
17048
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
16988
17049
|
#
|
|
@@ -17951,10 +18012,10 @@ module Aws::S3
|
|
|
17951
18012
|
# Confirms that the requester knows that they will be charged for the
|
|
17952
18013
|
# request. Bucket owners need not specify this parameter in their
|
|
17953
18014
|
# requests. If either the source or destination S3 bucket has
|
|
17954
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
17955
|
-
# charges
|
|
17956
|
-
#
|
|
17957
|
-
#
|
|
18015
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
18016
|
+
# charges. For information about downloading objects from Requester
|
|
18017
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
18018
|
+
# in the *Amazon S3 User Guide*.
|
|
17958
18019
|
#
|
|
17959
18020
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
17960
18021
|
#
|
|
@@ -18426,6 +18487,48 @@ module Aws::S3
|
|
|
18426
18487
|
include Aws::Structure
|
|
18427
18488
|
end
|
|
18428
18489
|
|
|
18490
|
+
# If `SSEKMS` is specified for `ObjectEncryption`, this data type
|
|
18491
|
+
# specifies the Amazon Web Services KMS key Amazon Resource Name (ARN)
|
|
18492
|
+
# to use and whether to use an S3 Bucket Key for server-side encryption
|
|
18493
|
+
# using Key Management Service (KMS) keys (SSE-KMS).
|
|
18494
|
+
#
|
|
18495
|
+
# @!attribute [rw] kms_key_arn
|
|
18496
|
+
# Specifies the Amazon Web Services KMS key Amazon Resource Name (ARN)
|
|
18497
|
+
# to use for the updated server-side encryption type. Required if
|
|
18498
|
+
# `ObjectEncryption` specifies `SSEKMS`.
|
|
18499
|
+
#
|
|
18500
|
+
# <note markdown="1"> You must specify the full Amazon Web Services KMS key ARN. The KMS
|
|
18501
|
+
# key ID and KMS key alias aren't supported.
|
|
18502
|
+
#
|
|
18503
|
+
# </note>
|
|
18504
|
+
#
|
|
18505
|
+
# Pattern: (`arn:aws[-a-z0-9]*:kms:[-a-z0-9]*:[0-9]{12}:key/.+`)
|
|
18506
|
+
# @return [String]
|
|
18507
|
+
#
|
|
18508
|
+
# @!attribute [rw] bucket_key_enabled
|
|
18509
|
+
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
|
18510
|
+
# encryption with server-side encryption using Key Management Service
|
|
18511
|
+
# (KMS) keys (SSE-KMS). If this value isn't specified, it defaults to
|
|
18512
|
+
# `false`. Setting this value to `true` causes Amazon S3 to use an S3
|
|
18513
|
+
# Bucket Key for object encryption with SSE-KMS. For more information,
|
|
18514
|
+
# see [ Using Amazon S3 Bucket Keys][1] in the *Amazon S3 User Guide*.
|
|
18515
|
+
#
|
|
18516
|
+
# Valid Values: `true` \| `false`
|
|
18517
|
+
#
|
|
18518
|
+
#
|
|
18519
|
+
#
|
|
18520
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html
|
|
18521
|
+
# @return [Boolean]
|
|
18522
|
+
#
|
|
18523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSEKMSEncryption AWS API Documentation
|
|
18524
|
+
#
|
|
18525
|
+
class SSEKMSEncryption < Struct.new(
|
|
18526
|
+
:kms_key_arn,
|
|
18527
|
+
:bucket_key_enabled)
|
|
18528
|
+
SENSITIVE = [:kms_key_arn]
|
|
18529
|
+
include Aws::Structure
|
|
18530
|
+
end
|
|
18531
|
+
|
|
18429
18532
|
# Specifies the use of SSE-S3 to encrypt delivered inventory reports.
|
|
18430
18533
|
#
|
|
18431
18534
|
# @api private
|
|
@@ -19376,6 +19479,132 @@ module Aws::S3
|
|
|
19376
19479
|
include Aws::Structure
|
|
19377
19480
|
end
|
|
19378
19481
|
|
|
19482
|
+
# @!attribute [rw] bucket
|
|
19483
|
+
# The name of the general purpose bucket that contains the specified
|
|
19484
|
+
# object key name.
|
|
19485
|
+
#
|
|
19486
|
+
# When you use this operation with an access point attached to a
|
|
19487
|
+
# general purpose bucket, you must either provide the alias of the
|
|
19488
|
+
# access point in place of the bucket name or you must specify the
|
|
19489
|
+
# access point Amazon Resource Name (ARN). When using the access point
|
|
19490
|
+
# ARN, you must direct requests to the access point hostname. The
|
|
19491
|
+
# access point hostname takes the form `
|
|
19492
|
+
# AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com`. When
|
|
19493
|
+
# using this operation with an access point through the Amazon Web
|
|
19494
|
+
# Services SDKs, you provide the access point ARN in place of the
|
|
19495
|
+
# bucket name. For more information about access point ARNs, see [
|
|
19496
|
+
# Referencing access points][1] in the *Amazon S3 User Guide*.
|
|
19497
|
+
#
|
|
19498
|
+
#
|
|
19499
|
+
#
|
|
19500
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-naming.html
|
|
19501
|
+
# @return [String]
|
|
19502
|
+
#
|
|
19503
|
+
# @!attribute [rw] key
|
|
19504
|
+
# The key name of the object that you want to update the server-side
|
|
19505
|
+
# encryption type for.
|
|
19506
|
+
# @return [String]
|
|
19507
|
+
#
|
|
19508
|
+
# @!attribute [rw] version_id
|
|
19509
|
+
# The version ID of the object that you want to update the server-side
|
|
19510
|
+
# encryption type for.
|
|
19511
|
+
# @return [String]
|
|
19512
|
+
#
|
|
19513
|
+
# @!attribute [rw] object_encryption
|
|
19514
|
+
# The updated server-side encryption type for this object. The
|
|
19515
|
+
# `UpdateObjectEncryption` operation supports the SSE-S3 and SSE-KMS
|
|
19516
|
+
# encryption types.
|
|
19517
|
+
#
|
|
19518
|
+
# Valid Values: `SSES3` \| `SSEKMS`
|
|
19519
|
+
# @return [Types::ObjectEncryption]
|
|
19520
|
+
#
|
|
19521
|
+
# @!attribute [rw] request_payer
|
|
19522
|
+
# Confirms that the requester knows that they will be charged for the
|
|
19523
|
+
# request. Bucket owners need not specify this parameter in their
|
|
19524
|
+
# requests. If either the source or destination S3 bucket has
|
|
19525
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
19526
|
+
# charges. For information about downloading objects from Requester
|
|
19527
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
19528
|
+
# in the *Amazon S3 User Guide*.
|
|
19529
|
+
#
|
|
19530
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
19531
|
+
#
|
|
19532
|
+
# </note>
|
|
19533
|
+
#
|
|
19534
|
+
#
|
|
19535
|
+
#
|
|
19536
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
|
19537
|
+
# @return [String]
|
|
19538
|
+
#
|
|
19539
|
+
# @!attribute [rw] expected_bucket_owner
|
|
19540
|
+
# The account ID of the expected bucket owner. If the account ID that
|
|
19541
|
+
# you provide doesn't match the actual owner of the bucket, the
|
|
19542
|
+
# request fails with the HTTP status code `403 Forbidden` (access
|
|
19543
|
+
# denied).
|
|
19544
|
+
# @return [String]
|
|
19545
|
+
#
|
|
19546
|
+
# @!attribute [rw] content_md5
|
|
19547
|
+
# The MD5 hash for the request body. For requests made using the
|
|
19548
|
+
# Amazon Web Services Command Line Interface (CLI) or Amazon Web
|
|
19549
|
+
# Services SDKs, this field is calculated automatically.
|
|
19550
|
+
# @return [String]
|
|
19551
|
+
#
|
|
19552
|
+
# @!attribute [rw] checksum_algorithm
|
|
19553
|
+
# Indicates the algorithm used to create the checksum for the object
|
|
19554
|
+
# when you use an Amazon Web Services SDK. This header doesn't
|
|
19555
|
+
# provide any additional functionality if you don't use the SDK. When
|
|
19556
|
+
# you send this header, there must be a corresponding `x-amz-checksum`
|
|
19557
|
+
# or `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the
|
|
19558
|
+
# request with the HTTP status code `400 Bad Request`. For more
|
|
19559
|
+
# information, see [ Checking object integrity ][1] in the *Amazon S3
|
|
19560
|
+
# User Guide*.
|
|
19561
|
+
#
|
|
19562
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
|
19563
|
+
# provided `ChecksumAlgorithm` parameter.
|
|
19564
|
+
#
|
|
19565
|
+
#
|
|
19566
|
+
#
|
|
19567
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
|
19568
|
+
# @return [String]
|
|
19569
|
+
#
|
|
19570
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UpdateObjectEncryptionRequest AWS API Documentation
|
|
19571
|
+
#
|
|
19572
|
+
class UpdateObjectEncryptionRequest < Struct.new(
|
|
19573
|
+
:bucket,
|
|
19574
|
+
:key,
|
|
19575
|
+
:version_id,
|
|
19576
|
+
:object_encryption,
|
|
19577
|
+
:request_payer,
|
|
19578
|
+
:expected_bucket_owner,
|
|
19579
|
+
:content_md5,
|
|
19580
|
+
:checksum_algorithm)
|
|
19581
|
+
SENSITIVE = []
|
|
19582
|
+
include Aws::Structure
|
|
19583
|
+
end
|
|
19584
|
+
|
|
19585
|
+
# @!attribute [rw] request_charged
|
|
19586
|
+
# If present, indicates that the requester was successfully charged
|
|
19587
|
+
# for the request. For more information, see [Using Requester Pays
|
|
19588
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
|
19589
|
+
# Storage Service user guide*.
|
|
19590
|
+
#
|
|
19591
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
19592
|
+
#
|
|
19593
|
+
# </note>
|
|
19594
|
+
#
|
|
19595
|
+
#
|
|
19596
|
+
#
|
|
19597
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
|
19598
|
+
# @return [String]
|
|
19599
|
+
#
|
|
19600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UpdateObjectEncryptionResponse AWS API Documentation
|
|
19601
|
+
#
|
|
19602
|
+
class UpdateObjectEncryptionResponse < Struct.new(
|
|
19603
|
+
:request_charged)
|
|
19604
|
+
SENSITIVE = []
|
|
19605
|
+
include Aws::Structure
|
|
19606
|
+
end
|
|
19607
|
+
|
|
19379
19608
|
# @!attribute [rw] copy_source_version_id
|
|
19380
19609
|
# The version of the source object that was copied, if you have
|
|
19381
19610
|
# enabled versioning on the source bucket.
|
|
@@ -19740,10 +19969,10 @@ module Aws::S3
|
|
|
19740
19969
|
# Confirms that the requester knows that they will be charged for the
|
|
19741
19970
|
# request. Bucket owners need not specify this parameter in their
|
|
19742
19971
|
# requests. If either the source or destination S3 bucket has
|
|
19743
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
19744
|
-
# charges
|
|
19745
|
-
#
|
|
19746
|
-
#
|
|
19972
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
19973
|
+
# charges. For information about downloading objects from Requester
|
|
19974
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
19975
|
+
# in the *Amazon S3 User Guide*.
|
|
19747
19976
|
#
|
|
19748
19977
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
19749
19978
|
#
|
|
@@ -20145,10 +20374,10 @@ module Aws::S3
|
|
|
20145
20374
|
# Confirms that the requester knows that they will be charged for the
|
|
20146
20375
|
# request. Bucket owners need not specify this parameter in their
|
|
20147
20376
|
# requests. If either the source or destination S3 bucket has
|
|
20148
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
20149
|
-
# charges
|
|
20150
|
-
#
|
|
20151
|
-
#
|
|
20377
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
20378
|
+
# charges. For information about downloading objects from Requester
|
|
20379
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
20380
|
+
# in the *Amazon S3 User Guide*.
|
|
20152
20381
|
#
|
|
20153
20382
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
20154
20383
|
#
|