aws-sdk-s3 1.212.0 → 1.213.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +16 -16
- data/lib/aws-sdk-s3/client.rb +377 -107
- data/lib/aws-sdk-s3/client_api.rb +52 -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/types.rb +307 -114
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/client.rbs +22 -0
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +37 -0
- metadata +1 -1
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
|
#
|
|
@@ -3810,10 +3817,10 @@ module Aws::S3
|
|
|
3810
3817
|
# Confirms that the requester knows that they will be charged for the
|
|
3811
3818
|
# request. Bucket owners need not specify this parameter in their
|
|
3812
3819
|
# requests. If either the source or destination S3 bucket has
|
|
3813
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
3814
|
-
# charges
|
|
3815
|
-
#
|
|
3816
|
-
#
|
|
3820
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
3821
|
+
# charges. For information about downloading objects from Requester
|
|
3822
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
3823
|
+
# in the *Amazon S3 User Guide*.
|
|
3817
3824
|
#
|
|
3818
3825
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
3819
3826
|
#
|
|
@@ -4749,10 +4756,10 @@ module Aws::S3
|
|
|
4749
4756
|
# Confirms that the requester knows that they will be charged for the
|
|
4750
4757
|
# request. Bucket owners need not specify this parameter in their
|
|
4751
4758
|
# requests. If either the source or destination S3 bucket has
|
|
4752
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
4753
|
-
# charges
|
|
4754
|
-
#
|
|
4755
|
-
#
|
|
4759
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
4760
|
+
# charges. For information about downloading objects from Requester
|
|
4761
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
4762
|
+
# in the *Amazon S3 User Guide*.
|
|
4756
4763
|
#
|
|
4757
4764
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
4758
4765
|
#
|
|
@@ -5029,10 +5036,10 @@ module Aws::S3
|
|
|
5029
5036
|
# Confirms that the requester knows that they will be charged for the
|
|
5030
5037
|
# request. Bucket owners need not specify this parameter in their
|
|
5031
5038
|
# requests. If either the source or destination S3 bucket has
|
|
5032
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
5033
|
-
# charges
|
|
5034
|
-
#
|
|
5035
|
-
#
|
|
5039
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
5040
|
+
# charges. For information about downloading objects from Requester
|
|
5041
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
5042
|
+
# in the *Amazon S3 User Guide*.
|
|
5036
5043
|
#
|
|
5037
5044
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
5038
5045
|
#
|
|
@@ -6520,10 +6527,10 @@ module Aws::S3
|
|
|
6520
6527
|
# Confirms that the requester knows that they will be charged for the
|
|
6521
6528
|
# request. Bucket owners need not specify this parameter in their
|
|
6522
6529
|
# requests. If either the source or destination S3 bucket has
|
|
6523
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
6524
|
-
# charges
|
|
6525
|
-
#
|
|
6526
|
-
#
|
|
6530
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
6531
|
+
# charges. For information about downloading objects from Requester
|
|
6532
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
6533
|
+
# in the *Amazon S3 User Guide*.
|
|
6527
6534
|
#
|
|
6528
6535
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
6529
6536
|
#
|
|
@@ -7591,10 +7598,10 @@ module Aws::S3
|
|
|
7591
7598
|
# Confirms that the requester knows that they will be charged for the
|
|
7592
7599
|
# request. Bucket owners need not specify this parameter in their
|
|
7593
7600
|
# requests. If either the source or destination S3 bucket has
|
|
7594
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
7595
|
-
# charges
|
|
7596
|
-
#
|
|
7597
|
-
#
|
|
7601
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
7602
|
+
# charges. For information about downloading objects from Requester
|
|
7603
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
7604
|
+
# in the *Amazon S3 User Guide*.
|
|
7598
7605
|
#
|
|
7599
7606
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
7600
7607
|
#
|
|
@@ -7893,10 +7900,10 @@ module Aws::S3
|
|
|
7893
7900
|
# Confirms that the requester knows that they will be charged for the
|
|
7894
7901
|
# request. Bucket owners need not specify this parameter in their
|
|
7895
7902
|
# requests. If either the source or destination S3 bucket has
|
|
7896
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
7897
|
-
# charges
|
|
7898
|
-
#
|
|
7899
|
-
#
|
|
7903
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
7904
|
+
# charges. For information about downloading objects from Requester
|
|
7905
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
7906
|
+
# in the *Amazon S3 User Guide*.
|
|
7900
7907
|
#
|
|
7901
7908
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
7902
7909
|
#
|
|
@@ -7986,10 +7993,10 @@ module Aws::S3
|
|
|
7986
7993
|
# Confirms that the requester knows that they will be charged for the
|
|
7987
7994
|
# request. Bucket owners need not specify this parameter in their
|
|
7988
7995
|
# requests. If either the source or destination S3 bucket has
|
|
7989
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
7990
|
-
# charges
|
|
7991
|
-
#
|
|
7992
|
-
#
|
|
7996
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
7997
|
+
# charges. For information about downloading objects from Requester
|
|
7998
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
7999
|
+
# in the *Amazon S3 User Guide*.
|
|
7993
8000
|
#
|
|
7994
8001
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
7995
8002
|
#
|
|
@@ -8737,10 +8744,10 @@ module Aws::S3
|
|
|
8737
8744
|
# Confirms that the requester knows that they will be charged for the
|
|
8738
8745
|
# request. Bucket owners need not specify this parameter in their
|
|
8739
8746
|
# requests. If either the source or destination S3 bucket has
|
|
8740
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
8741
|
-
# charges
|
|
8742
|
-
#
|
|
8743
|
-
#
|
|
8747
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
8748
|
+
# charges. For information about downloading objects from Requester
|
|
8749
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
8750
|
+
# in the *Amazon S3 User Guide*.
|
|
8744
8751
|
#
|
|
8745
8752
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
8746
8753
|
#
|
|
@@ -8846,10 +8853,10 @@ module Aws::S3
|
|
|
8846
8853
|
# Confirms that the requester knows that they will be charged for the
|
|
8847
8854
|
# request. Bucket owners need not specify this parameter in their
|
|
8848
8855
|
# requests. If either the source or destination S3 bucket has
|
|
8849
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
8850
|
-
# charges
|
|
8851
|
-
#
|
|
8852
|
-
#
|
|
8856
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
8857
|
+
# charges. For information about downloading objects from Requester
|
|
8858
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
8859
|
+
# in the *Amazon S3 User Guide*.
|
|
8853
8860
|
#
|
|
8854
8861
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
8855
8862
|
#
|
|
@@ -8950,10 +8957,10 @@ module Aws::S3
|
|
|
8950
8957
|
# Confirms that the requester knows that they will be charged for the
|
|
8951
8958
|
# request. Bucket owners need not specify this parameter in their
|
|
8952
8959
|
# requests. If either the source or destination S3 bucket has
|
|
8953
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
8954
|
-
# charges
|
|
8955
|
-
#
|
|
8956
|
-
#
|
|
8960
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
8961
|
+
# charges. For information about downloading objects from Requester
|
|
8962
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
8963
|
+
# in the *Amazon S3 User Guide*.
|
|
8957
8964
|
#
|
|
8958
8965
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
8959
8966
|
#
|
|
@@ -9017,10 +9024,10 @@ module Aws::S3
|
|
|
9017
9024
|
# Confirms that the requester knows that they will be charged for the
|
|
9018
9025
|
# request. Bucket owners need not specify this parameter in their
|
|
9019
9026
|
# requests. If either the source or destination S3 bucket has
|
|
9020
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
9021
|
-
# charges
|
|
9022
|
-
#
|
|
9023
|
-
#
|
|
9027
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
9028
|
+
# charges. For information about downloading objects from Requester
|
|
9029
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
9030
|
+
# in the *Amazon S3 User Guide*.
|
|
9024
9031
|
#
|
|
9025
9032
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
9026
9033
|
#
|
|
@@ -9956,10 +9963,10 @@ module Aws::S3
|
|
|
9956
9963
|
# Confirms that the requester knows that they will be charged for the
|
|
9957
9964
|
# request. Bucket owners need not specify this parameter in their
|
|
9958
9965
|
# requests. If either the source or destination S3 bucket has
|
|
9959
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
9960
|
-
# charges
|
|
9961
|
-
#
|
|
9962
|
-
#
|
|
9966
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
9967
|
+
# charges. For information about downloading objects from Requester
|
|
9968
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
9969
|
+
# in the *Amazon S3 User Guide*.
|
|
9963
9970
|
#
|
|
9964
9971
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
9965
9972
|
#
|
|
@@ -10268,16 +10275,8 @@ module Aws::S3
|
|
|
10268
10275
|
include Aws::Structure
|
|
10269
10276
|
end
|
|
10270
10277
|
|
|
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.
|
|
10278
|
+
# A parameter or header in your request isn't valid. For details, see
|
|
10279
|
+
# the description of this API operation.
|
|
10281
10280
|
#
|
|
10282
10281
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidRequest AWS API Documentation
|
|
10283
10282
|
#
|
|
@@ -11692,10 +11691,10 @@ module Aws::S3
|
|
|
11692
11691
|
# Confirms that the requester knows that they will be charged for the
|
|
11693
11692
|
# request. Bucket owners need not specify this parameter in their
|
|
11694
11693
|
# requests. If either the source or destination S3 bucket has
|
|
11695
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
11696
|
-
# charges
|
|
11697
|
-
#
|
|
11698
|
-
#
|
|
11694
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
11695
|
+
# charges. For information about downloading objects from Requester
|
|
11696
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
11697
|
+
# in the *Amazon S3 User Guide*.
|
|
11699
11698
|
#
|
|
11700
11699
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
11701
11700
|
#
|
|
@@ -11916,10 +11915,10 @@ module Aws::S3
|
|
|
11916
11915
|
# Confirms that the requester knows that they will be charged for the
|
|
11917
11916
|
# request. Bucket owners need not specify this parameter in their
|
|
11918
11917
|
# requests. If either the source or destination S3 bucket has
|
|
11919
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
11920
|
-
# charges
|
|
11921
|
-
#
|
|
11922
|
-
#
|
|
11918
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
11919
|
+
# charges. For information about downloading objects from Requester
|
|
11920
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
11921
|
+
# in the *Amazon S3 User Guide*.
|
|
11923
11922
|
#
|
|
11924
11923
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
11925
11924
|
#
|
|
@@ -12764,10 +12763,10 @@ module Aws::S3
|
|
|
12764
12763
|
# Confirms that the requester knows that they will be charged for the
|
|
12765
12764
|
# request. Bucket owners need not specify this parameter in their
|
|
12766
12765
|
# requests. If either the source or destination S3 bucket has
|
|
12767
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
12768
|
-
# charges
|
|
12769
|
-
#
|
|
12770
|
-
#
|
|
12766
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
12767
|
+
# charges. For information about downloading objects from Requester
|
|
12768
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
12769
|
+
# in the *Amazon S3 User Guide*.
|
|
12771
12770
|
#
|
|
12772
12771
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
12773
12772
|
#
|
|
@@ -13596,6 +13595,32 @@ module Aws::S3
|
|
|
13596
13595
|
#
|
|
13597
13596
|
class ObjectAlreadyInActiveTierError < Aws::EmptyStructure; end
|
|
13598
13597
|
|
|
13598
|
+
# The updated server-side encryption type for this object. The
|
|
13599
|
+
# `UpdateObjectEncryption` operation supports the SSE-S3 and SSE-KMS
|
|
13600
|
+
# encryption types.
|
|
13601
|
+
#
|
|
13602
|
+
# Valid Values: `SSES3` \| `SSEKMS`
|
|
13603
|
+
#
|
|
13604
|
+
# @note ObjectEncryption is a union - when making an API calls you must set exactly one of the members.
|
|
13605
|
+
#
|
|
13606
|
+
# @!attribute [rw] ssekms
|
|
13607
|
+
# Specifies to update the object encryption type to server-side
|
|
13608
|
+
# encryption with Key Management Service (KMS) keys (SSE-KMS).
|
|
13609
|
+
# @return [Types::SSEKMSEncryption]
|
|
13610
|
+
#
|
|
13611
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectEncryption AWS API Documentation
|
|
13612
|
+
#
|
|
13613
|
+
class ObjectEncryption < Struct.new(
|
|
13614
|
+
:ssekms,
|
|
13615
|
+
:unknown)
|
|
13616
|
+
SENSITIVE = []
|
|
13617
|
+
include Aws::Structure
|
|
13618
|
+
include Aws::Structure::Union
|
|
13619
|
+
|
|
13620
|
+
class Ssekms < ObjectEncryption; end
|
|
13621
|
+
class Unknown < ObjectEncryption; end
|
|
13622
|
+
end
|
|
13623
|
+
|
|
13599
13624
|
# Object Identifier is unique value to identify objects.
|
|
13600
13625
|
#
|
|
13601
13626
|
# @!attribute [rw] key
|
|
@@ -15650,10 +15675,10 @@ module Aws::S3
|
|
|
15650
15675
|
# Confirms that the requester knows that they will be charged for the
|
|
15651
15676
|
# request. Bucket owners need not specify this parameter in their
|
|
15652
15677
|
# requests. If either the source or destination S3 bucket has
|
|
15653
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
15654
|
-
# charges
|
|
15655
|
-
#
|
|
15656
|
-
#
|
|
15678
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
15679
|
+
# charges. For information about downloading objects from Requester
|
|
15680
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
15681
|
+
# in the *Amazon S3 User Guide*.
|
|
15657
15682
|
#
|
|
15658
15683
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
15659
15684
|
#
|
|
@@ -15759,10 +15784,10 @@ module Aws::S3
|
|
|
15759
15784
|
# Confirms that the requester knows that they will be charged for the
|
|
15760
15785
|
# request. Bucket owners need not specify this parameter in their
|
|
15761
15786
|
# requests. If either the source or destination S3 bucket has
|
|
15762
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
15763
|
-
# charges
|
|
15764
|
-
#
|
|
15765
|
-
#
|
|
15787
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
15788
|
+
# charges. For information about downloading objects from Requester
|
|
15789
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
15790
|
+
# in the *Amazon S3 User Guide*.
|
|
15766
15791
|
#
|
|
15767
15792
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
15768
15793
|
#
|
|
@@ -15861,10 +15886,10 @@ module Aws::S3
|
|
|
15861
15886
|
# Confirms that the requester knows that they will be charged for the
|
|
15862
15887
|
# request. Bucket owners need not specify this parameter in their
|
|
15863
15888
|
# requests. If either the source or destination S3 bucket has
|
|
15864
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
15865
|
-
# charges
|
|
15866
|
-
#
|
|
15867
|
-
#
|
|
15889
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
15890
|
+
# charges. For information about downloading objects from Requester
|
|
15891
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
15892
|
+
# in the *Amazon S3 User Guide*.
|
|
15868
15893
|
#
|
|
15869
15894
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
15870
15895
|
#
|
|
@@ -16811,10 +16836,10 @@ module Aws::S3
|
|
|
16811
16836
|
# Confirms that the requester knows that they will be charged for the
|
|
16812
16837
|
# request. Bucket owners need not specify this parameter in their
|
|
16813
16838
|
# requests. If either the source or destination S3 bucket has
|
|
16814
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
16815
|
-
# charges
|
|
16816
|
-
#
|
|
16817
|
-
#
|
|
16839
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
16840
|
+
# charges. For information about downloading objects from Requester
|
|
16841
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
16842
|
+
# in the *Amazon S3 User Guide*.
|
|
16818
16843
|
#
|
|
16819
16844
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
16820
16845
|
#
|
|
@@ -16979,10 +17004,10 @@ module Aws::S3
|
|
|
16979
17004
|
# Confirms that the requester knows that they will be charged for the
|
|
16980
17005
|
# request. Bucket owners need not specify this parameter in their
|
|
16981
17006
|
# requests. If either the source or destination S3 bucket has
|
|
16982
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
16983
|
-
# charges
|
|
16984
|
-
#
|
|
16985
|
-
#
|
|
17007
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
17008
|
+
# charges. For information about downloading objects from Requester
|
|
17009
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
17010
|
+
# in the *Amazon S3 User Guide*.
|
|
16986
17011
|
#
|
|
16987
17012
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
16988
17013
|
#
|
|
@@ -17951,10 +17976,10 @@ module Aws::S3
|
|
|
17951
17976
|
# Confirms that the requester knows that they will be charged for the
|
|
17952
17977
|
# request. Bucket owners need not specify this parameter in their
|
|
17953
17978
|
# requests. If either the source or destination S3 bucket has
|
|
17954
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
17955
|
-
# charges
|
|
17956
|
-
#
|
|
17957
|
-
#
|
|
17979
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
17980
|
+
# charges. For information about downloading objects from Requester
|
|
17981
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
17982
|
+
# in the *Amazon S3 User Guide*.
|
|
17958
17983
|
#
|
|
17959
17984
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
17960
17985
|
#
|
|
@@ -18426,6 +18451,48 @@ module Aws::S3
|
|
|
18426
18451
|
include Aws::Structure
|
|
18427
18452
|
end
|
|
18428
18453
|
|
|
18454
|
+
# If `SSEKMS` is specified for `ObjectEncryption`, this data type
|
|
18455
|
+
# specifies the Amazon Web Services KMS key Amazon Resource Name (ARN)
|
|
18456
|
+
# to use and whether to use an S3 Bucket Key for server-side encryption
|
|
18457
|
+
# using Key Management Service (KMS) keys (SSE-KMS).
|
|
18458
|
+
#
|
|
18459
|
+
# @!attribute [rw] kms_key_arn
|
|
18460
|
+
# Specifies the Amazon Web Services KMS key Amazon Resource Name (ARN)
|
|
18461
|
+
# to use for the updated server-side encryption type. Required if
|
|
18462
|
+
# `ObjectEncryption` specifies `SSEKMS`.
|
|
18463
|
+
#
|
|
18464
|
+
# <note markdown="1"> You must specify the full Amazon Web Services KMS key ARN. The KMS
|
|
18465
|
+
# key ID and KMS key alias aren't supported.
|
|
18466
|
+
#
|
|
18467
|
+
# </note>
|
|
18468
|
+
#
|
|
18469
|
+
# Pattern: (`arn:aws[-a-z0-9]*:kms:[-a-z0-9]*:[0-9]{12}:key/.+`)
|
|
18470
|
+
# @return [String]
|
|
18471
|
+
#
|
|
18472
|
+
# @!attribute [rw] bucket_key_enabled
|
|
18473
|
+
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
|
18474
|
+
# encryption with server-side encryption using Key Management Service
|
|
18475
|
+
# (KMS) keys (SSE-KMS). If this value isn't specified, it defaults to
|
|
18476
|
+
# `false`. Setting this value to `true` causes Amazon S3 to use an S3
|
|
18477
|
+
# Bucket Key for object encryption with SSE-KMS. For more information,
|
|
18478
|
+
# see [ Using Amazon S3 Bucket Keys][1] in the *Amazon S3 User Guide*.
|
|
18479
|
+
#
|
|
18480
|
+
# Valid Values: `true` \| `false`
|
|
18481
|
+
#
|
|
18482
|
+
#
|
|
18483
|
+
#
|
|
18484
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html
|
|
18485
|
+
# @return [Boolean]
|
|
18486
|
+
#
|
|
18487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSEKMSEncryption AWS API Documentation
|
|
18488
|
+
#
|
|
18489
|
+
class SSEKMSEncryption < Struct.new(
|
|
18490
|
+
:kms_key_arn,
|
|
18491
|
+
:bucket_key_enabled)
|
|
18492
|
+
SENSITIVE = [:kms_key_arn]
|
|
18493
|
+
include Aws::Structure
|
|
18494
|
+
end
|
|
18495
|
+
|
|
18429
18496
|
# Specifies the use of SSE-S3 to encrypt delivered inventory reports.
|
|
18430
18497
|
#
|
|
18431
18498
|
# @api private
|
|
@@ -19376,6 +19443,132 @@ module Aws::S3
|
|
|
19376
19443
|
include Aws::Structure
|
|
19377
19444
|
end
|
|
19378
19445
|
|
|
19446
|
+
# @!attribute [rw] bucket
|
|
19447
|
+
# The name of the general purpose bucket that contains the specified
|
|
19448
|
+
# object key name.
|
|
19449
|
+
#
|
|
19450
|
+
# When you use this operation with an access point attached to a
|
|
19451
|
+
# general purpose bucket, you must either provide the alias of the
|
|
19452
|
+
# access point in place of the bucket name or you must specify the
|
|
19453
|
+
# access point Amazon Resource Name (ARN). When using the access point
|
|
19454
|
+
# ARN, you must direct requests to the access point hostname. The
|
|
19455
|
+
# access point hostname takes the form `
|
|
19456
|
+
# AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com`. When
|
|
19457
|
+
# using this operation with an access point through the Amazon Web
|
|
19458
|
+
# Services SDKs, you provide the access point ARN in place of the
|
|
19459
|
+
# bucket name. For more information about access point ARNs, see [
|
|
19460
|
+
# Referencing access points][1] in the *Amazon S3 User Guide*.
|
|
19461
|
+
#
|
|
19462
|
+
#
|
|
19463
|
+
#
|
|
19464
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-naming.html
|
|
19465
|
+
# @return [String]
|
|
19466
|
+
#
|
|
19467
|
+
# @!attribute [rw] key
|
|
19468
|
+
# The key name of the object that you want to update the server-side
|
|
19469
|
+
# encryption type for.
|
|
19470
|
+
# @return [String]
|
|
19471
|
+
#
|
|
19472
|
+
# @!attribute [rw] version_id
|
|
19473
|
+
# The version ID of the object that you want to update the server-side
|
|
19474
|
+
# encryption type for.
|
|
19475
|
+
# @return [String]
|
|
19476
|
+
#
|
|
19477
|
+
# @!attribute [rw] object_encryption
|
|
19478
|
+
# The updated server-side encryption type for this object. The
|
|
19479
|
+
# `UpdateObjectEncryption` operation supports the SSE-S3 and SSE-KMS
|
|
19480
|
+
# encryption types.
|
|
19481
|
+
#
|
|
19482
|
+
# Valid Values: `SSES3` \| `SSEKMS`
|
|
19483
|
+
# @return [Types::ObjectEncryption]
|
|
19484
|
+
#
|
|
19485
|
+
# @!attribute [rw] request_payer
|
|
19486
|
+
# Confirms that the requester knows that they will be charged for the
|
|
19487
|
+
# request. Bucket owners need not specify this parameter in their
|
|
19488
|
+
# requests. If either the source or destination S3 bucket has
|
|
19489
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
19490
|
+
# charges. For information about downloading objects from Requester
|
|
19491
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
19492
|
+
# in the *Amazon S3 User Guide*.
|
|
19493
|
+
#
|
|
19494
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
19495
|
+
#
|
|
19496
|
+
# </note>
|
|
19497
|
+
#
|
|
19498
|
+
#
|
|
19499
|
+
#
|
|
19500
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
|
19501
|
+
# @return [String]
|
|
19502
|
+
#
|
|
19503
|
+
# @!attribute [rw] expected_bucket_owner
|
|
19504
|
+
# The account ID of the expected bucket owner. If the account ID that
|
|
19505
|
+
# you provide doesn't match the actual owner of the bucket, the
|
|
19506
|
+
# request fails with the HTTP status code `403 Forbidden` (access
|
|
19507
|
+
# denied).
|
|
19508
|
+
# @return [String]
|
|
19509
|
+
#
|
|
19510
|
+
# @!attribute [rw] content_md5
|
|
19511
|
+
# The MD5 hash for the request body. For requests made using the
|
|
19512
|
+
# Amazon Web Services Command Line Interface (CLI) or Amazon Web
|
|
19513
|
+
# Services SDKs, this field is calculated automatically.
|
|
19514
|
+
# @return [String]
|
|
19515
|
+
#
|
|
19516
|
+
# @!attribute [rw] checksum_algorithm
|
|
19517
|
+
# Indicates the algorithm used to create the checksum for the object
|
|
19518
|
+
# when you use an Amazon Web Services SDK. This header doesn't
|
|
19519
|
+
# provide any additional functionality if you don't use the SDK. When
|
|
19520
|
+
# you send this header, there must be a corresponding `x-amz-checksum`
|
|
19521
|
+
# or `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the
|
|
19522
|
+
# request with the HTTP status code `400 Bad Request`. For more
|
|
19523
|
+
# information, see [ Checking object integrity ][1] in the *Amazon S3
|
|
19524
|
+
# User Guide*.
|
|
19525
|
+
#
|
|
19526
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
|
19527
|
+
# provided `ChecksumAlgorithm` parameter.
|
|
19528
|
+
#
|
|
19529
|
+
#
|
|
19530
|
+
#
|
|
19531
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
|
19532
|
+
# @return [String]
|
|
19533
|
+
#
|
|
19534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UpdateObjectEncryptionRequest AWS API Documentation
|
|
19535
|
+
#
|
|
19536
|
+
class UpdateObjectEncryptionRequest < Struct.new(
|
|
19537
|
+
:bucket,
|
|
19538
|
+
:key,
|
|
19539
|
+
:version_id,
|
|
19540
|
+
:object_encryption,
|
|
19541
|
+
:request_payer,
|
|
19542
|
+
:expected_bucket_owner,
|
|
19543
|
+
:content_md5,
|
|
19544
|
+
:checksum_algorithm)
|
|
19545
|
+
SENSITIVE = []
|
|
19546
|
+
include Aws::Structure
|
|
19547
|
+
end
|
|
19548
|
+
|
|
19549
|
+
# @!attribute [rw] request_charged
|
|
19550
|
+
# If present, indicates that the requester was successfully charged
|
|
19551
|
+
# for the request. For more information, see [Using Requester Pays
|
|
19552
|
+
# buckets for storage transfers and usage][1] in the *Amazon Simple
|
|
19553
|
+
# Storage Service user guide*.
|
|
19554
|
+
#
|
|
19555
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
19556
|
+
#
|
|
19557
|
+
# </note>
|
|
19558
|
+
#
|
|
19559
|
+
#
|
|
19560
|
+
#
|
|
19561
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html
|
|
19562
|
+
# @return [String]
|
|
19563
|
+
#
|
|
19564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UpdateObjectEncryptionResponse AWS API Documentation
|
|
19565
|
+
#
|
|
19566
|
+
class UpdateObjectEncryptionResponse < Struct.new(
|
|
19567
|
+
:request_charged)
|
|
19568
|
+
SENSITIVE = []
|
|
19569
|
+
include Aws::Structure
|
|
19570
|
+
end
|
|
19571
|
+
|
|
19379
19572
|
# @!attribute [rw] copy_source_version_id
|
|
19380
19573
|
# The version of the source object that was copied, if you have
|
|
19381
19574
|
# enabled versioning on the source bucket.
|
|
@@ -19740,10 +19933,10 @@ module Aws::S3
|
|
|
19740
19933
|
# Confirms that the requester knows that they will be charged for the
|
|
19741
19934
|
# request. Bucket owners need not specify this parameter in their
|
|
19742
19935
|
# requests. If either the source or destination S3 bucket has
|
|
19743
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
19744
|
-
# charges
|
|
19745
|
-
#
|
|
19746
|
-
#
|
|
19936
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
19937
|
+
# charges. For information about downloading objects from Requester
|
|
19938
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
19939
|
+
# in the *Amazon S3 User Guide*.
|
|
19747
19940
|
#
|
|
19748
19941
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
19749
19942
|
#
|
|
@@ -20145,10 +20338,10 @@ module Aws::S3
|
|
|
20145
20338
|
# Confirms that the requester knows that they will be charged for the
|
|
20146
20339
|
# request. Bucket owners need not specify this parameter in their
|
|
20147
20340
|
# requests. If either the source or destination S3 bucket has
|
|
20148
|
-
# Requester Pays enabled, the requester will pay for corresponding
|
|
20149
|
-
# charges
|
|
20150
|
-
#
|
|
20151
|
-
#
|
|
20341
|
+
# Requester Pays enabled, the requester will pay for the corresponding
|
|
20342
|
+
# charges. For information about downloading objects from Requester
|
|
20343
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
|
20344
|
+
# in the *Amazon S3 User Guide*.
|
|
20152
20345
|
#
|
|
20153
20346
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
20154
20347
|
#
|