aws-sdk-s3 1.165.0 → 1.167.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +12 -12
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +38 -1
- data/lib/aws-sdk-s3/bucket_policy.rb +4 -4
- data/lib/aws-sdk-s3/client.rb +186 -159
- data/lib/aws-sdk-s3/client_api.rb +8 -1
- data/lib/aws-sdk-s3/multipart_upload.rb +4 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +8 -8
- data/lib/aws-sdk-s3/object.rb +14 -14
- data/lib/aws-sdk-s3/object_summary.rb +12 -12
- data/lib/aws-sdk-s3/object_version.rb +4 -4
- data/lib/aws-sdk-s3/types.rb +108 -44
- data/lib/aws-sdk-s3.rb +3 -1
- data/sig/bucket_lifecycle_configuration.rbs +7 -3
- data/sig/client.rbs +9 -3
- data/sig/types.rbs +7 -0
- metadata +2 -2
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -634,7 +634,7 @@ module Aws::S3
|
|
634
634
|
# Contains all the possible checksum or digest values for an object.
|
635
635
|
#
|
636
636
|
# @!attribute [rw] checksum_crc32
|
637
|
-
# The base64-encoded, 32-bit
|
637
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
638
638
|
# only be present if it was uploaded with the object. When you use an
|
639
639
|
# API operation on an object that was uploaded using multipart
|
640
640
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -649,7 +649,7 @@ module Aws::S3
|
|
649
649
|
# @return [String]
|
650
650
|
#
|
651
651
|
# @!attribute [rw] checksum_crc32c
|
652
|
-
# The base64-encoded, 32-bit
|
652
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
653
653
|
# only be present if it was uploaded with the object. When you use an
|
654
654
|
# API operation on an object that was uploaded using multipart
|
655
655
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -803,7 +803,7 @@ module Aws::S3
|
|
803
803
|
# @return [String]
|
804
804
|
#
|
805
805
|
# @!attribute [rw] checksum_crc32
|
806
|
-
# The base64-encoded, 32-bit
|
806
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
807
807
|
# only be present if it was uploaded with the object. When you use an
|
808
808
|
# API operation on an object that was uploaded using multipart
|
809
809
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -818,7 +818,7 @@ module Aws::S3
|
|
818
818
|
# @return [String]
|
819
819
|
#
|
820
820
|
# @!attribute [rw] checksum_crc32c
|
821
|
-
# The base64-encoded, 32-bit
|
821
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
822
822
|
# only be present if it was uploaded with the object. When you use an
|
823
823
|
# API operation on an object that was uploaded using multipart
|
824
824
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -977,7 +977,7 @@ module Aws::S3
|
|
977
977
|
# @!attribute [rw] checksum_crc32
|
978
978
|
# This header can be used as a data integrity check to verify that the
|
979
979
|
# data received is the same data that was originally sent. This header
|
980
|
-
# specifies the base64-encoded, 32-bit
|
980
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
|
981
981
|
# For more information, see [Checking object integrity][1] in the
|
982
982
|
# *Amazon S3 User Guide*.
|
983
983
|
#
|
@@ -989,7 +989,7 @@ module Aws::S3
|
|
989
989
|
# @!attribute [rw] checksum_crc32c
|
990
990
|
# This header can be used as a data integrity check to verify that the
|
991
991
|
# data received is the same data that was originally sent. This header
|
992
|
-
# specifies the base64-encoded, 32-bit
|
992
|
+
# specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
|
993
993
|
# For more information, see [Checking object integrity][1] in the
|
994
994
|
# *Amazon S3 User Guide*.
|
995
995
|
#
|
@@ -1159,7 +1159,7 @@ module Aws::S3
|
|
1159
1159
|
# @return [String]
|
1160
1160
|
#
|
1161
1161
|
# @!attribute [rw] checksum_crc32
|
1162
|
-
# The base64-encoded, 32-bit
|
1162
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
1163
1163
|
# only be present if it was uploaded with the object. When you use an
|
1164
1164
|
# API operation on an object that was uploaded using multipart
|
1165
1165
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -1174,7 +1174,7 @@ module Aws::S3
|
|
1174
1174
|
# @return [String]
|
1175
1175
|
#
|
1176
1176
|
# @!attribute [rw] checksum_crc32c
|
1177
|
-
# The base64-encoded, 32-bit
|
1177
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
1178
1178
|
# only be present if it was uploaded with the object. When you use an
|
1179
1179
|
# API operation on an object that was uploaded using multipart
|
1180
1180
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -2273,7 +2273,7 @@ module Aws::S3
|
|
2273
2273
|
# @return [Time]
|
2274
2274
|
#
|
2275
2275
|
# @!attribute [rw] checksum_crc32
|
2276
|
-
# The base64-encoded, 32-bit
|
2276
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
2277
2277
|
# only be present if it was uploaded with the object. For more
|
2278
2278
|
# information, see [ Checking object integrity][1] in the *Amazon S3
|
2279
2279
|
# User Guide*.
|
@@ -2284,7 +2284,7 @@ module Aws::S3
|
|
2284
2284
|
# @return [String]
|
2285
2285
|
#
|
2286
2286
|
# @!attribute [rw] checksum_crc32c
|
2287
|
-
# The base64-encoded, 32-bit
|
2287
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
2288
2288
|
# only be present if it was uploaded with the object. For more
|
2289
2289
|
# information, see [ Checking object integrity][1] in the *Amazon S3
|
2290
2290
|
# User Guide*.
|
@@ -2340,7 +2340,7 @@ module Aws::S3
|
|
2340
2340
|
# @return [Time]
|
2341
2341
|
#
|
2342
2342
|
# @!attribute [rw] checksum_crc32
|
2343
|
-
# The base64-encoded, 32-bit
|
2343
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
2344
2344
|
# only be present if it was uploaded with the object. When you use an
|
2345
2345
|
# API operation on an object that was uploaded using multipart
|
2346
2346
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -2355,7 +2355,7 @@ module Aws::S3
|
|
2355
2355
|
# @return [String]
|
2356
2356
|
#
|
2357
2357
|
# @!attribute [rw] checksum_crc32c
|
2358
|
-
# The base64-encoded, 32-bit
|
2358
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
2359
2359
|
# only be present if it was uploaded with the object. When you use an
|
2360
2360
|
# API operation on an object that was uploaded using multipart
|
2361
2361
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -4414,13 +4414,13 @@ module Aws::S3
|
|
4414
4414
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm `
|
4415
4415
|
# with the supported algorithm from the following list:
|
4416
4416
|
#
|
4417
|
-
# * CRC32
|
4417
|
+
# * `CRC32`
|
4418
4418
|
#
|
4419
|
-
# * CRC32C
|
4419
|
+
# * `CRC32C`
|
4420
4420
|
#
|
4421
|
-
# * SHA1
|
4421
|
+
# * `SHA1`
|
4422
4422
|
#
|
4423
|
-
# * SHA256
|
4423
|
+
# * `SHA256`
|
4424
4424
|
#
|
4425
4425
|
# For more information, see [Checking object integrity][1] in the
|
4426
4426
|
# *Amazon S3 User Guide*.
|
@@ -5933,10 +5933,29 @@ module Aws::S3
|
|
5933
5933
|
# Container for a lifecycle rule.
|
5934
5934
|
# @return [Array<Types::LifecycleRule>]
|
5935
5935
|
#
|
5936
|
+
# @!attribute [rw] transition_default_minimum_object_size
|
5937
|
+
# Indicates which default minimum object size behavior is applied to
|
5938
|
+
# the lifecycle configuration.
|
5939
|
+
#
|
5940
|
+
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
5941
|
+
# transition to any storage class by default.
|
5942
|
+
#
|
5943
|
+
# * `varies_by_storage_class` - Objects smaller than 128 KB will
|
5944
|
+
# transition to Glacier Flexible Retrieval or Glacier Deep Archive
|
5945
|
+
# storage classes. By default, all other storage classes will
|
5946
|
+
# prevent transitions smaller than 128 KB.
|
5947
|
+
#
|
5948
|
+
# To customize the minimum object size for any transition you can add
|
5949
|
+
# a filter that specifies a custom `ObjectSizeGreaterThan` or
|
5950
|
+
# `ObjectSizeLessThan` in the body of your transition rule. Custom
|
5951
|
+
# filters always take precedence over the default transition behavior.
|
5952
|
+
# @return [String]
|
5953
|
+
#
|
5936
5954
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationOutput AWS API Documentation
|
5937
5955
|
#
|
5938
5956
|
class GetBucketLifecycleConfigurationOutput < Struct.new(
|
5939
|
-
:rules
|
5957
|
+
:rules,
|
5958
|
+
:transition_default_minimum_object_size)
|
5940
5959
|
SENSITIVE = []
|
5941
5960
|
include Aws::Structure
|
5942
5961
|
end
|
@@ -7062,7 +7081,7 @@ module Aws::S3
|
|
7062
7081
|
# @return [String]
|
7063
7082
|
#
|
7064
7083
|
# @!attribute [rw] checksum_crc32
|
7065
|
-
# The base64-encoded, 32-bit
|
7084
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
7066
7085
|
# only be present if it was uploaded with the object. For more
|
7067
7086
|
# information, see [ Checking object integrity][1] in the *Amazon S3
|
7068
7087
|
# User Guide*.
|
@@ -7073,7 +7092,7 @@ module Aws::S3
|
|
7073
7092
|
# @return [String]
|
7074
7093
|
#
|
7075
7094
|
# @!attribute [rw] checksum_crc32c
|
7076
|
-
# The base64-encoded, 32-bit
|
7095
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
7077
7096
|
# only be present if it was uploaded with the object. For more
|
7078
7097
|
# information, see [ Checking object integrity][1] in the *Amazon S3
|
7079
7098
|
# User Guide*.
|
@@ -8244,7 +8263,7 @@ module Aws::S3
|
|
8244
8263
|
# @return [Integer]
|
8245
8264
|
#
|
8246
8265
|
# @!attribute [rw] checksum_crc32
|
8247
|
-
# The base64-encoded, 32-bit
|
8266
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
8248
8267
|
# only be present if it was uploaded with the object. When you use an
|
8249
8268
|
# API operation on an object that was uploaded using multipart
|
8250
8269
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -8259,7 +8278,7 @@ module Aws::S3
|
|
8259
8278
|
# @return [String]
|
8260
8279
|
#
|
8261
8280
|
# @!attribute [rw] checksum_crc32c
|
8262
|
-
# The base64-encoded, 32-bit
|
8281
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
8263
8282
|
# only be present if it was uploaded with the object. When you use an
|
8264
8283
|
# API operation on an object that was uploaded using multipart
|
8265
8284
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -11962,7 +11981,7 @@ module Aws::S3
|
|
11962
11981
|
# @!attribute [rw] checksum_crc32
|
11963
11982
|
# This header can be used as a data integrity check to verify that the
|
11964
11983
|
# data received is the same data that was originally sent. This header
|
11965
|
-
# specifies the base64-encoded, 32-bit
|
11984
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
|
11966
11985
|
# For more information, see [Checking object integrity][1] in the
|
11967
11986
|
# *Amazon S3 User Guide*.
|
11968
11987
|
#
|
@@ -11972,7 +11991,7 @@ module Aws::S3
|
|
11972
11991
|
# @return [String]
|
11973
11992
|
#
|
11974
11993
|
# @!attribute [rw] checksum_crc32c
|
11975
|
-
# The base64-encoded, 32-bit
|
11994
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
11976
11995
|
# only be present if it was uploaded with the object. When you use an
|
11977
11996
|
# API operation on an object that was uploaded using multipart
|
11978
11997
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -12262,7 +12281,7 @@ module Aws::S3
|
|
12262
12281
|
# @!attribute [rw] checksum_crc32
|
12263
12282
|
# This header can be used as a data integrity check to verify that the
|
12264
12283
|
# data received is the same data that was originally sent. This header
|
12265
|
-
# specifies the base64-encoded, 32-bit
|
12284
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
|
12266
12285
|
# For more information, see [Checking object integrity][1] in the
|
12267
12286
|
# *Amazon S3 User Guide*.
|
12268
12287
|
#
|
@@ -12272,7 +12291,7 @@ module Aws::S3
|
|
12272
12291
|
# @return [String]
|
12273
12292
|
#
|
12274
12293
|
# @!attribute [rw] checksum_crc32c
|
12275
|
-
# The base64-encoded, 32-bit
|
12294
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
12276
12295
|
# only be present if it was uploaded with the object. When you use an
|
12277
12296
|
# API operation on an object that was uploaded using multipart
|
12278
12297
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -12852,6 +12871,32 @@ module Aws::S3
|
|
12852
12871
|
include Aws::Structure
|
12853
12872
|
end
|
12854
12873
|
|
12874
|
+
# @!attribute [rw] transition_default_minimum_object_size
|
12875
|
+
# Indicates which default minimum object size behavior is applied to
|
12876
|
+
# the lifecycle configuration.
|
12877
|
+
#
|
12878
|
+
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
12879
|
+
# transition to any storage class by default.
|
12880
|
+
#
|
12881
|
+
# * `varies_by_storage_class` - Objects smaller than 128 KB will
|
12882
|
+
# transition to Glacier Flexible Retrieval or Glacier Deep Archive
|
12883
|
+
# storage classes. By default, all other storage classes will
|
12884
|
+
# prevent transitions smaller than 128 KB.
|
12885
|
+
#
|
12886
|
+
# To customize the minimum object size for any transition you can add
|
12887
|
+
# a filter that specifies a custom `ObjectSizeGreaterThan` or
|
12888
|
+
# `ObjectSizeLessThan` in the body of your transition rule. Custom
|
12889
|
+
# filters always take precedence over the default transition behavior.
|
12890
|
+
# @return [String]
|
12891
|
+
#
|
12892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationOutput AWS API Documentation
|
12893
|
+
#
|
12894
|
+
class PutBucketLifecycleConfigurationOutput < Struct.new(
|
12895
|
+
:transition_default_minimum_object_size)
|
12896
|
+
SENSITIVE = []
|
12897
|
+
include Aws::Structure
|
12898
|
+
end
|
12899
|
+
|
12855
12900
|
# @!attribute [rw] bucket
|
12856
12901
|
# The name of the bucket for which to set the configuration.
|
12857
12902
|
# @return [String]
|
@@ -12884,13 +12929,32 @@ module Aws::S3
|
|
12884
12929
|
# denied).
|
12885
12930
|
# @return [String]
|
12886
12931
|
#
|
12932
|
+
# @!attribute [rw] transition_default_minimum_object_size
|
12933
|
+
# Indicates which default minimum object size behavior is applied to
|
12934
|
+
# the lifecycle configuration.
|
12935
|
+
#
|
12936
|
+
# * `all_storage_classes_128K` - Objects smaller than 128 KB will not
|
12937
|
+
# transition to any storage class by default.
|
12938
|
+
#
|
12939
|
+
# * `varies_by_storage_class` - Objects smaller than 128 KB will
|
12940
|
+
# transition to Glacier Flexible Retrieval or Glacier Deep Archive
|
12941
|
+
# storage classes. By default, all other storage classes will
|
12942
|
+
# prevent transitions smaller than 128 KB.
|
12943
|
+
#
|
12944
|
+
# To customize the minimum object size for any transition you can add
|
12945
|
+
# a filter that specifies a custom `ObjectSizeGreaterThan` or
|
12946
|
+
# `ObjectSizeLessThan` in the body of your transition rule. Custom
|
12947
|
+
# filters always take precedence over the default transition behavior.
|
12948
|
+
# @return [String]
|
12949
|
+
#
|
12887
12950
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationRequest AWS API Documentation
|
12888
12951
|
#
|
12889
12952
|
class PutBucketLifecycleConfigurationRequest < Struct.new(
|
12890
12953
|
:bucket,
|
12891
12954
|
:checksum_algorithm,
|
12892
12955
|
:lifecycle_configuration,
|
12893
|
-
:expected_bucket_owner
|
12956
|
+
:expected_bucket_owner,
|
12957
|
+
:transition_default_minimum_object_size)
|
12894
12958
|
SENSITIVE = []
|
12895
12959
|
include Aws::Structure
|
12896
12960
|
end
|
@@ -13189,13 +13253,13 @@ module Aws::S3
|
|
13189
13253
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm `
|
13190
13254
|
# with the supported algorithm from the following list:
|
13191
13255
|
#
|
13192
|
-
# * CRC32
|
13256
|
+
# * `CRC32`
|
13193
13257
|
#
|
13194
|
-
# * CRC32C
|
13258
|
+
# * `CRC32C`
|
13195
13259
|
#
|
13196
|
-
# * SHA1
|
13260
|
+
# * `SHA1`
|
13197
13261
|
#
|
13198
|
-
# * SHA256
|
13262
|
+
# * `SHA256`
|
13199
13263
|
#
|
13200
13264
|
# For more information, see [Checking object integrity][1] in the
|
13201
13265
|
# *Amazon S3 User Guide*.
|
@@ -13991,7 +14055,7 @@ module Aws::S3
|
|
13991
14055
|
# @return [String]
|
13992
14056
|
#
|
13993
14057
|
# @!attribute [rw] checksum_crc32
|
13994
|
-
# The base64-encoded, 32-bit
|
14058
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
13995
14059
|
# only be present if it was uploaded with the object. When you use an
|
13996
14060
|
# API operation on an object that was uploaded using multipart
|
13997
14061
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -14006,7 +14070,7 @@ module Aws::S3
|
|
14006
14070
|
# @return [String]
|
14007
14071
|
#
|
14008
14072
|
# @!attribute [rw] checksum_crc32c
|
14009
|
-
# The base64-encoded, 32-bit
|
14073
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
14010
14074
|
# only be present if it was uploaded with the object. When you use an
|
14011
14075
|
# API operation on an object that was uploaded using multipart
|
14012
14076
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -14331,13 +14395,13 @@ module Aws::S3
|
|
14331
14395
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm `
|
14332
14396
|
# with the supported algorithm from the following list:
|
14333
14397
|
#
|
14334
|
-
# * CRC32
|
14398
|
+
# * `CRC32`
|
14335
14399
|
#
|
14336
|
-
# * CRC32C
|
14400
|
+
# * `CRC32C`
|
14337
14401
|
#
|
14338
|
-
# * SHA1
|
14402
|
+
# * `SHA1`
|
14339
14403
|
#
|
14340
|
-
# * SHA256
|
14404
|
+
# * `SHA256`
|
14341
14405
|
#
|
14342
14406
|
# For more information, see [Checking object integrity][1] in the
|
14343
14407
|
# *Amazon S3 User Guide*.
|
@@ -14363,7 +14427,7 @@ module Aws::S3
|
|
14363
14427
|
# @!attribute [rw] checksum_crc32
|
14364
14428
|
# This header can be used as a data integrity check to verify that the
|
14365
14429
|
# data received is the same data that was originally sent. This header
|
14366
|
-
# specifies the base64-encoded, 32-bit
|
14430
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
|
14367
14431
|
# For more information, see [Checking object integrity][1] in the
|
14368
14432
|
# *Amazon S3 User Guide*.
|
14369
14433
|
#
|
@@ -14375,7 +14439,7 @@ module Aws::S3
|
|
14375
14439
|
# @!attribute [rw] checksum_crc32c
|
14376
14440
|
# This header can be used as a data integrity check to verify that the
|
14377
14441
|
# data received is the same data that was originally sent. This header
|
14378
|
-
# specifies the base64-encoded, 32-bit
|
14442
|
+
# specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
|
14379
14443
|
# For more information, see [Checking object integrity][1] in the
|
14380
14444
|
# *Amazon S3 User Guide*.
|
14381
14445
|
#
|
@@ -17317,7 +17381,7 @@ module Aws::S3
|
|
17317
17381
|
# @return [String]
|
17318
17382
|
#
|
17319
17383
|
# @!attribute [rw] checksum_crc32
|
17320
|
-
# The base64-encoded, 32-bit
|
17384
|
+
# The base64-encoded, 32-bit CRC-32 checksum of the object. This will
|
17321
17385
|
# only be present if it was uploaded with the object. When you use an
|
17322
17386
|
# API operation on an object that was uploaded using multipart
|
17323
17387
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -17332,7 +17396,7 @@ module Aws::S3
|
|
17332
17396
|
# @return [String]
|
17333
17397
|
#
|
17334
17398
|
# @!attribute [rw] checksum_crc32c
|
17335
|
-
# The base64-encoded, 32-bit
|
17399
|
+
# The base64-encoded, 32-bit CRC-32C checksum of the object. This will
|
17336
17400
|
# only be present if it was uploaded with the object. When you use an
|
17337
17401
|
# API operation on an object that was uploaded using multipart
|
17338
17402
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -17522,7 +17586,7 @@ module Aws::S3
|
|
17522
17586
|
# @!attribute [rw] checksum_crc32
|
17523
17587
|
# This header can be used as a data integrity check to verify that the
|
17524
17588
|
# data received is the same data that was originally sent. This header
|
17525
|
-
# specifies the base64-encoded, 32-bit
|
17589
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
|
17526
17590
|
# For more information, see [Checking object integrity][1] in the
|
17527
17591
|
# *Amazon S3 User Guide*.
|
17528
17592
|
#
|
@@ -17534,7 +17598,7 @@ module Aws::S3
|
|
17534
17598
|
# @!attribute [rw] checksum_crc32c
|
17535
17599
|
# This header can be used as a data integrity check to verify that the
|
17536
17600
|
# data received is the same data that was originally sent. This header
|
17537
|
-
# specifies the base64-encoded, 32-bit
|
17601
|
+
# specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
|
17538
17602
|
# For more information, see [Checking object integrity][1] in the
|
17539
17603
|
# *Amazon S3 User Guide*.
|
17540
17604
|
#
|
@@ -17824,7 +17888,7 @@ module Aws::S3
|
|
17824
17888
|
# @!attribute [rw] checksum_crc32
|
17825
17889
|
# This header can be used as a data integrity check to verify that the
|
17826
17890
|
# data received is the same data that was originally sent. This
|
17827
|
-
# specifies the base64-encoded, 32-bit
|
17891
|
+
# specifies the base64-encoded, 32-bit CRC-32 checksum of the object
|
17828
17892
|
# returned by the Object Lambda function. This may not match the
|
17829
17893
|
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
17830
17894
|
# validation of the checksum values only when the original `GetObject`
|
@@ -17845,7 +17909,7 @@ module Aws::S3
|
|
17845
17909
|
# @!attribute [rw] checksum_crc32c
|
17846
17910
|
# This header can be used as a data integrity check to verify that the
|
17847
17911
|
# data received is the same data that was originally sent. This
|
17848
|
-
# specifies the base64-encoded, 32-bit
|
17912
|
+
# specifies the base64-encoded, 32-bit CRC-32C checksum of the object
|
17849
17913
|
# returned by the Object Lambda function. This may not match the
|
17850
17914
|
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
17851
17915
|
# validation of the checksum values only when the original `GetObject`
|
data/lib/aws-sdk-s3.rb
CHANGED
@@ -12,6 +12,8 @@ require 'aws-sdk-kms'
|
|
12
12
|
require 'aws-sigv4'
|
13
13
|
require 'aws-sdk-core'
|
14
14
|
|
15
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:s3)
|
16
|
+
|
15
17
|
# This module provides support for Amazon Simple Storage Service. This module is available in the
|
16
18
|
# `aws-sdk-s3` gem.
|
17
19
|
#
|
@@ -73,7 +75,7 @@ module Aws::S3
|
|
73
75
|
autoload :ObjectVersion, 'aws-sdk-s3/object_version'
|
74
76
|
autoload :EventStreams, 'aws-sdk-s3/event_streams'
|
75
77
|
|
76
|
-
GEM_VERSION = '1.
|
78
|
+
GEM_VERSION = '1.167.0'
|
77
79
|
|
78
80
|
end
|
79
81
|
|
@@ -20,6 +20,9 @@ module Aws
|
|
20
20
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketLifecycleConfiguration.html#rules-instance_method
|
21
21
|
def rules: () -> ::Array[Types::LifecycleRule]
|
22
22
|
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketLifecycleConfiguration.html#transition_default_minimum_object_size-instance_method
|
24
|
+
def transition_default_minimum_object_size: () -> ("varies_by_storage_class" | "all_storage_classes_128K")
|
25
|
+
|
23
26
|
def client: () -> Client
|
24
27
|
|
25
28
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketLifecycleConfiguration.html#load-instance_method
|
@@ -97,9 +100,10 @@ module Aws
|
|
97
100
|
},
|
98
101
|
]
|
99
102
|
},
|
100
|
-
?expected_bucket_owner: ::String
|
101
|
-
|
102
|
-
|
103
|
+
?expected_bucket_owner: ::String,
|
104
|
+
?transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
105
|
+
) -> Types::PutBucketLifecycleConfigurationOutput
|
106
|
+
| (?Hash[Symbol, untyped]) -> Types::PutBucketLifecycleConfigurationOutput
|
103
107
|
|
104
108
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketLifecycleConfiguration.html#bucket-instance_method
|
105
109
|
def bucket: () -> Bucket
|
data/sig/client.rbs
CHANGED
@@ -564,6 +564,7 @@ module Aws
|
|
564
564
|
interface _GetBucketLifecycleConfigurationResponseSuccess
|
565
565
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketLifecycleConfigurationOutput]
|
566
566
|
def rules: () -> ::Array[Types::LifecycleRule]
|
567
|
+
def transition_default_minimum_object_size: () -> ("varies_by_storage_class" | "all_storage_classes_128K")
|
567
568
|
end
|
568
569
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_lifecycle_configuration-instance_method
|
569
570
|
def get_bucket_lifecycle_configuration: (
|
@@ -1464,6 +1465,10 @@ module Aws
|
|
1464
1465
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1465
1466
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1466
1467
|
|
1468
|
+
interface _PutBucketLifecycleConfigurationResponseSuccess
|
1469
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutBucketLifecycleConfigurationOutput]
|
1470
|
+
def transition_default_minimum_object_size: () -> ("varies_by_storage_class" | "all_storage_classes_128K")
|
1471
|
+
end
|
1467
1472
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_lifecycle_configuration-instance_method
|
1468
1473
|
def put_bucket_lifecycle_configuration: (
|
1469
1474
|
bucket: ::String,
|
@@ -1523,9 +1528,10 @@ module Aws
|
|
1523
1528
|
},
|
1524
1529
|
]
|
1525
1530
|
},
|
1526
|
-
?expected_bucket_owner: ::String
|
1527
|
-
|
1528
|
-
|
1531
|
+
?expected_bucket_owner: ::String,
|
1532
|
+
?transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
1533
|
+
) -> _PutBucketLifecycleConfigurationResponseSuccess
|
1534
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutBucketLifecycleConfigurationResponseSuccess
|
1529
1535
|
|
1530
1536
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_logging-instance_method
|
1531
1537
|
def put_bucket_logging: (
|
data/sig/types.rbs
CHANGED
@@ -709,6 +709,7 @@ module Aws::S3
|
|
709
709
|
|
710
710
|
class GetBucketLifecycleConfigurationOutput
|
711
711
|
attr_accessor rules: ::Array[Types::LifecycleRule]
|
712
|
+
attr_accessor transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
712
713
|
SENSITIVE: []
|
713
714
|
end
|
714
715
|
|
@@ -1851,11 +1852,17 @@ module Aws::S3
|
|
1851
1852
|
SENSITIVE: []
|
1852
1853
|
end
|
1853
1854
|
|
1855
|
+
class PutBucketLifecycleConfigurationOutput
|
1856
|
+
attr_accessor transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
1857
|
+
SENSITIVE: []
|
1858
|
+
end
|
1859
|
+
|
1854
1860
|
class PutBucketLifecycleConfigurationRequest
|
1855
1861
|
attr_accessor bucket: ::String
|
1856
1862
|
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
1857
1863
|
attr_accessor lifecycle_configuration: Types::BucketLifecycleConfiguration
|
1858
1864
|
attr_accessor expected_bucket_owner: ::String
|
1865
|
+
attr_accessor transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
1859
1866
|
SENSITIVE: []
|
1860
1867
|
end
|
1861
1868
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.167.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|