aws-sdk-s3 1.203.0 → 1.206.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +1 -1
- data/lib/aws-sdk-s3/bucket_acl.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +316 -257
- data/lib/aws-sdk-s3/client_api.rb +59 -0
- data/lib/aws-sdk-s3/customizations/object.rb +3 -4
- data/lib/aws-sdk-s3/endpoints.rb +26 -0
- data/lib/aws-sdk-s3/file_downloader.rb +19 -2
- data/lib/aws-sdk-s3/object.rb +4 -4
- data/lib/aws-sdk-s3/object_acl.rb +1 -1
- data/lib/aws-sdk-s3/object_summary.rb +4 -4
- data/lib/aws-sdk-s3/transfer_manager.rb +3 -4
- data/lib/aws-sdk-s3/types.rb +206 -98
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +1 -1
- data/sig/client.rbs +37 -11
- data/sig/multipart_upload.rbs +1 -1
- data/sig/object.rbs +5 -5
- data/sig/object_summary.rbs +5 -5
- data/sig/types.rbs +44 -13
- metadata +1 -1
|
@@ -14,6 +14,7 @@ module Aws::S3
|
|
|
14
14
|
|
|
15
15
|
include Seahorse::Model
|
|
16
16
|
|
|
17
|
+
AbacStatus = Shapes::StructureShape.new(name: 'AbacStatus')
|
|
17
18
|
AbortDate = Shapes::TimestampShape.new(name: 'AbortDate')
|
|
18
19
|
AbortIncompleteMultipartUpload = Shapes::StructureShape.new(name: 'AbortIncompleteMultipartUpload')
|
|
19
20
|
AbortMultipartUploadOutput = Shapes::StructureShape.new(name: 'AbortMultipartUploadOutput')
|
|
@@ -43,8 +44,10 @@ module Aws::S3
|
|
|
43
44
|
AnalyticsS3BucketDestination = Shapes::StructureShape.new(name: 'AnalyticsS3BucketDestination')
|
|
44
45
|
AnalyticsS3ExportFileFormat = Shapes::StringShape.new(name: 'AnalyticsS3ExportFileFormat')
|
|
45
46
|
ArchiveStatus = Shapes::StringShape.new(name: 'ArchiveStatus')
|
|
47
|
+
BlockedEncryptionTypes = Shapes::StructureShape.new(name: 'BlockedEncryptionTypes')
|
|
46
48
|
Body = Shapes::BlobShape.new(name: 'Body')
|
|
47
49
|
Bucket = Shapes::StructureShape.new(name: 'Bucket')
|
|
50
|
+
BucketAbacStatus = Shapes::StringShape.new(name: 'BucketAbacStatus')
|
|
48
51
|
BucketAccelerateStatus = Shapes::StringShape.new(name: 'BucketAccelerateStatus')
|
|
49
52
|
BucketAlreadyExists = Shapes::StructureShape.new(name: 'BucketAlreadyExists')
|
|
50
53
|
BucketAlreadyOwnedByYou = Shapes::StructureShape.new(name: 'BucketAlreadyOwnedByYou')
|
|
@@ -177,6 +180,8 @@ module Aws::S3
|
|
|
177
180
|
EncodingType = Shapes::StringShape.new(name: 'EncodingType')
|
|
178
181
|
Encryption = Shapes::StructureShape.new(name: 'Encryption')
|
|
179
182
|
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
|
183
|
+
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
|
184
|
+
EncryptionTypeList = Shapes::ListShape.new(name: 'EncryptionTypeList', flattened: true)
|
|
180
185
|
EncryptionTypeMismatch = Shapes::StructureShape.new(name: 'EncryptionTypeMismatch')
|
|
181
186
|
End = Shapes::IntegerShape.new(name: 'End')
|
|
182
187
|
EndEvent = Shapes::StructureShape.new(name: 'EndEvent')
|
|
@@ -208,6 +213,8 @@ module Aws::S3
|
|
|
208
213
|
FilterRuleList = Shapes::ListShape.new(name: 'FilterRuleList', flattened: true)
|
|
209
214
|
FilterRuleName = Shapes::StringShape.new(name: 'FilterRuleName')
|
|
210
215
|
FilterRuleValue = Shapes::StringShape.new(name: 'FilterRuleValue')
|
|
216
|
+
GetBucketAbacOutput = Shapes::StructureShape.new(name: 'GetBucketAbacOutput')
|
|
217
|
+
GetBucketAbacRequest = Shapes::StructureShape.new(name: 'GetBucketAbacRequest')
|
|
211
218
|
GetBucketAccelerateConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketAccelerateConfigurationOutput')
|
|
212
219
|
GetBucketAccelerateConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketAccelerateConfigurationRequest')
|
|
213
220
|
GetBucketAclOutput = Shapes::StructureShape.new(name: 'GetBucketAclOutput')
|
|
@@ -497,6 +504,7 @@ module Aws::S3
|
|
|
497
504
|
ProgressEvent = Shapes::StructureShape.new(name: 'ProgressEvent')
|
|
498
505
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
|
499
506
|
PublicAccessBlockConfiguration = Shapes::StructureShape.new(name: 'PublicAccessBlockConfiguration')
|
|
507
|
+
PutBucketAbacRequest = Shapes::StructureShape.new(name: 'PutBucketAbacRequest')
|
|
500
508
|
PutBucketAccelerateConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketAccelerateConfigurationRequest')
|
|
501
509
|
PutBucketAclRequest = Shapes::StructureShape.new(name: 'PutBucketAclRequest')
|
|
502
510
|
PutBucketAnalyticsConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketAnalyticsConfigurationRequest')
|
|
@@ -686,6 +694,9 @@ module Aws::S3
|
|
|
686
694
|
WriteOffsetBytes = Shapes::IntegerShape.new(name: 'WriteOffsetBytes')
|
|
687
695
|
Years = Shapes::IntegerShape.new(name: 'Years')
|
|
688
696
|
|
|
697
|
+
AbacStatus.add_member(:status, Shapes::ShapeRef.new(shape: BucketAbacStatus, location_name: "Status"))
|
|
698
|
+
AbacStatus.struct_class = Types::AbacStatus
|
|
699
|
+
|
|
689
700
|
AbortIncompleteMultipartUpload.add_member(:days_after_initiation, Shapes::ShapeRef.new(shape: DaysAfterInitiation, location_name: "DaysAfterInitiation"))
|
|
690
701
|
AbortIncompleteMultipartUpload.struct_class = Types::AbortIncompleteMultipartUpload
|
|
691
702
|
|
|
@@ -741,6 +752,9 @@ module Aws::S3
|
|
|
741
752
|
AnalyticsS3BucketDestination.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
|
|
742
753
|
AnalyticsS3BucketDestination.struct_class = Types::AnalyticsS3BucketDestination
|
|
743
754
|
|
|
755
|
+
BlockedEncryptionTypes.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionTypeList, location_name: "EncryptionType"))
|
|
756
|
+
BlockedEncryptionTypes.struct_class = Types::BlockedEncryptionTypes
|
|
757
|
+
|
|
744
758
|
Bucket.add_member(:name, Shapes::ShapeRef.new(shape: BucketName, location_name: "Name"))
|
|
745
759
|
Bucket.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
|
746
760
|
Bucket.add_member(:bucket_region, Shapes::ShapeRef.new(shape: BucketRegion, location_name: "BucketRegion"))
|
|
@@ -1220,6 +1234,8 @@ module Aws::S3
|
|
|
1220
1234
|
EncryptionConfiguration.add_member(:replica_kms_key_id, Shapes::ShapeRef.new(shape: ReplicaKmsKeyID, location_name: "ReplicaKmsKeyID"))
|
|
1221
1235
|
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
|
1222
1236
|
|
|
1237
|
+
EncryptionTypeList.member = Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType")
|
|
1238
|
+
|
|
1223
1239
|
EncryptionTypeMismatch.struct_class = Types::EncryptionTypeMismatch
|
|
1224
1240
|
|
|
1225
1241
|
EndEvent.struct_class = Types::EndEvent
|
|
@@ -1254,6 +1270,15 @@ module Aws::S3
|
|
|
1254
1270
|
|
|
1255
1271
|
FilterRuleList.member = Shapes::ShapeRef.new(shape: FilterRule)
|
|
1256
1272
|
|
|
1273
|
+
GetBucketAbacOutput.add_member(:abac_status, Shapes::ShapeRef.new(shape: AbacStatus, location_name: "AbacStatus"))
|
|
1274
|
+
GetBucketAbacOutput.struct_class = Types::GetBucketAbacOutput
|
|
1275
|
+
GetBucketAbacOutput[:payload] = :abac_status
|
|
1276
|
+
GetBucketAbacOutput[:payload_member] = GetBucketAbacOutput.member(:abac_status)
|
|
1277
|
+
|
|
1278
|
+
GetBucketAbacRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
|
1279
|
+
GetBucketAbacRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
|
1280
|
+
GetBucketAbacRequest.struct_class = Types::GetBucketAbacRequest
|
|
1281
|
+
|
|
1257
1282
|
GetBucketAccelerateConfigurationOutput.add_member(:status, Shapes::ShapeRef.new(shape: BucketAccelerateStatus, location_name: "Status"))
|
|
1258
1283
|
GetBucketAccelerateConfigurationOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
|
|
1259
1284
|
GetBucketAccelerateConfigurationOutput.struct_class = Types::GetBucketAccelerateConfigurationOutput
|
|
@@ -2294,6 +2319,15 @@ module Aws::S3
|
|
|
2294
2319
|
PublicAccessBlockConfiguration.add_member(:restrict_public_buckets, Shapes::ShapeRef.new(shape: Setting, location_name: "RestrictPublicBuckets"))
|
|
2295
2320
|
PublicAccessBlockConfiguration.struct_class = Types::PublicAccessBlockConfiguration
|
|
2296
2321
|
|
|
2322
|
+
PutBucketAbacRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
|
2323
|
+
PutBucketAbacRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
|
2324
|
+
PutBucketAbacRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-sdk-checksum-algorithm"))
|
|
2325
|
+
PutBucketAbacRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
|
2326
|
+
PutBucketAbacRequest.add_member(:abac_status, Shapes::ShapeRef.new(shape: AbacStatus, required: true, location_name: "AbacStatus", metadata: {"xmlNamespace" => {"uri" => "http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
|
2327
|
+
PutBucketAbacRequest.struct_class = Types::PutBucketAbacRequest
|
|
2328
|
+
PutBucketAbacRequest[:payload] = :abac_status
|
|
2329
|
+
PutBucketAbacRequest[:payload_member] = PutBucketAbacRequest.member(:abac_status)
|
|
2330
|
+
|
|
2297
2331
|
PutBucketAccelerateConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
|
2298
2332
|
PutBucketAccelerateConfigurationRequest.add_member(:accelerate_configuration, Shapes::ShapeRef.new(shape: AccelerateConfiguration, required: true, location_name: "AccelerateConfiguration", metadata: {"xmlNamespace" => {"uri" => "http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
|
2299
2333
|
PutBucketAccelerateConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
|
@@ -2843,6 +2877,7 @@ module Aws::S3
|
|
|
2843
2877
|
|
|
2844
2878
|
ServerSideEncryptionRule.add_member(:apply_server_side_encryption_by_default, Shapes::ShapeRef.new(shape: ServerSideEncryptionByDefault, location_name: "ApplyServerSideEncryptionByDefault"))
|
|
2845
2879
|
ServerSideEncryptionRule.add_member(:bucket_key_enabled, Shapes::ShapeRef.new(shape: BucketKeyEnabled, location_name: "BucketKeyEnabled"))
|
|
2880
|
+
ServerSideEncryptionRule.add_member(:blocked_encryption_types, Shapes::ShapeRef.new(shape: BlockedEncryptionTypes, location_name: "BlockedEncryptionTypes"))
|
|
2846
2881
|
ServerSideEncryptionRule.struct_class = Types::ServerSideEncryptionRule
|
|
2847
2882
|
|
|
2848
2883
|
ServerSideEncryptionRules.member = Shapes::ShapeRef.new(shape: ServerSideEncryptionRule)
|
|
@@ -3334,6 +3369,14 @@ module Aws::S3
|
|
|
3334
3369
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3335
3370
|
end)
|
|
3336
3371
|
|
|
3372
|
+
api.add_operation(:get_bucket_abac, Seahorse::Model::Operation.new.tap do |o|
|
|
3373
|
+
o.name = "GetBucketAbac"
|
|
3374
|
+
o.http_method = "GET"
|
|
3375
|
+
o.http_request_uri = "/?abac"
|
|
3376
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketAbacRequest)
|
|
3377
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketAbacOutput)
|
|
3378
|
+
end)
|
|
3379
|
+
|
|
3337
3380
|
api.add_operation(:get_bucket_accelerate_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3338
3381
|
o.name = "GetBucketAccelerateConfiguration"
|
|
3339
3382
|
o.http_method = "GET"
|
|
@@ -3768,6 +3811,22 @@ module Aws::S3
|
|
|
3768
3811
|
)
|
|
3769
3812
|
end)
|
|
3770
3813
|
|
|
3814
|
+
api.add_operation(:put_bucket_abac, Seahorse::Model::Operation.new.tap do |o|
|
|
3815
|
+
o.name = "PutBucketAbac"
|
|
3816
|
+
o.http_method = "PUT"
|
|
3817
|
+
o.http_request_uri = "/?abac"
|
|
3818
|
+
o.http_checksum = {
|
|
3819
|
+
"requestAlgorithmMember" => "checksum_algorithm",
|
|
3820
|
+
"requestChecksumRequired" => false,
|
|
3821
|
+
}
|
|
3822
|
+
o.http_checksum = {
|
|
3823
|
+
"requestAlgorithmMember" => "checksum_algorithm",
|
|
3824
|
+
"requestChecksumRequired" => false,
|
|
3825
|
+
}
|
|
3826
|
+
o.input = Shapes::ShapeRef.new(shape: PutBucketAbacRequest)
|
|
3827
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3828
|
+
end)
|
|
3829
|
+
|
|
3771
3830
|
api.add_operation(:put_bucket_accelerate_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3772
3831
|
o.name = "PutBucketAccelerateConfiguration"
|
|
3773
3832
|
o.http_method = "PUT"
|
|
@@ -518,10 +518,9 @@ module Aws
|
|
|
518
518
|
# @option options [Integer] :thread_count (10) Customize threads used in the multipart download.
|
|
519
519
|
#
|
|
520
520
|
# @option options [String] :checksum_mode ("ENABLED")
|
|
521
|
-
#
|
|
522
|
-
#
|
|
523
|
-
#
|
|
524
|
-
# To disable checksum validation, set `checksum_mode` to `"DISABLED"`.
|
|
521
|
+
# This option is deprecated. Use `:response_checksum_validation` on your S3 client instead.
|
|
522
|
+
# To disable checksum validation, set `response_checksum_validation: 'when_required'`
|
|
523
|
+
# when creating your S3 client.
|
|
525
524
|
#
|
|
526
525
|
# @option options [Callable] :on_checksum_validated
|
|
527
526
|
# Called each time a request's checksum is validated with the checksum algorithm and the
|
data/lib/aws-sdk-s3/endpoints.rb
CHANGED
|
@@ -337,6 +337,17 @@ module Aws::S3
|
|
|
337
337
|
end
|
|
338
338
|
end
|
|
339
339
|
|
|
340
|
+
class GetBucketAbac
|
|
341
|
+
def self.build(context)
|
|
342
|
+
Aws::S3::EndpointParameters.create(
|
|
343
|
+
context.config,
|
|
344
|
+
bucket: context.params[:bucket],
|
|
345
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
|
346
|
+
accelerate: context[:use_accelerate_endpoint],
|
|
347
|
+
)
|
|
348
|
+
end
|
|
349
|
+
end
|
|
350
|
+
|
|
340
351
|
class GetBucketAccelerateConfiguration
|
|
341
352
|
def self.build(context)
|
|
342
353
|
Aws::S3::EndpointParameters.create(
|
|
@@ -878,6 +889,17 @@ module Aws::S3
|
|
|
878
889
|
end
|
|
879
890
|
end
|
|
880
891
|
|
|
892
|
+
class PutBucketAbac
|
|
893
|
+
def self.build(context)
|
|
894
|
+
Aws::S3::EndpointParameters.create(
|
|
895
|
+
context.config,
|
|
896
|
+
bucket: context.params[:bucket],
|
|
897
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
|
898
|
+
accelerate: context[:use_accelerate_endpoint],
|
|
899
|
+
)
|
|
900
|
+
end
|
|
901
|
+
end
|
|
902
|
+
|
|
881
903
|
class PutBucketAccelerateConfiguration
|
|
882
904
|
def self.build(context)
|
|
883
905
|
Aws::S3::EndpointParameters.create(
|
|
@@ -1348,6 +1370,8 @@ module Aws::S3
|
|
|
1348
1370
|
DeleteObjects.build(context)
|
|
1349
1371
|
when :delete_public_access_block
|
|
1350
1372
|
DeletePublicAccessBlock.build(context)
|
|
1373
|
+
when :get_bucket_abac
|
|
1374
|
+
GetBucketAbac.build(context)
|
|
1351
1375
|
when :get_bucket_accelerate_configuration
|
|
1352
1376
|
GetBucketAccelerateConfiguration.build(context)
|
|
1353
1377
|
when :get_bucket_acl
|
|
@@ -1440,6 +1464,8 @@ module Aws::S3
|
|
|
1440
1464
|
ListObjectsV2.build(context)
|
|
1441
1465
|
when :list_parts
|
|
1442
1466
|
ListParts.build(context)
|
|
1467
|
+
when :put_bucket_abac
|
|
1468
|
+
PutBucketAbac.build(context)
|
|
1443
1469
|
when :put_bucket_accelerate_configuration
|
|
1444
1470
|
PutBucketAccelerateConfiguration.build(context)
|
|
1445
1471
|
when :put_bucket_acl
|
|
@@ -90,12 +90,29 @@ module Aws
|
|
|
90
90
|
raise error unless error.nil?
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
+
def handle_checksum_mode_option(option_key, opts)
|
|
94
|
+
return false unless option_key == :checksum_mode && opts[:checksum_mode] == 'DISABLED'
|
|
95
|
+
|
|
96
|
+
msg = ':checksum_mode option is deprecated. Checksums will be validated by default. ' \
|
|
97
|
+
'To disable checksum validation, set :response_checksum_validation to "when_required" on your S3 client.'
|
|
98
|
+
warn(msg)
|
|
99
|
+
true
|
|
100
|
+
end
|
|
101
|
+
|
|
93
102
|
def get_opts(opts)
|
|
94
|
-
GET_OPTIONS.each_with_object({})
|
|
103
|
+
GET_OPTIONS.each_with_object({}) do |k, h|
|
|
104
|
+
next if k == :checksum_mode
|
|
105
|
+
|
|
106
|
+
h[k] = opts[k] if opts.key?(k)
|
|
107
|
+
end
|
|
95
108
|
end
|
|
96
109
|
|
|
97
110
|
def head_opts(opts)
|
|
98
|
-
HEAD_OPTIONS.each_with_object({})
|
|
111
|
+
HEAD_OPTIONS.each_with_object({}) do |k, h|
|
|
112
|
+
next if handle_checksum_mode_option(k, opts)
|
|
113
|
+
|
|
114
|
+
h[k] = opts[k] if opts.key?(k)
|
|
115
|
+
end
|
|
99
116
|
end
|
|
100
117
|
|
|
101
118
|
def compute_chunk(chunk_size, file_size)
|
data/lib/aws-sdk-s3/object.rb
CHANGED
|
@@ -765,7 +765,7 @@ module Aws::S3
|
|
|
765
765
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
|
766
766
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
|
767
767
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
768
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
768
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
769
769
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
770
770
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
771
771
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -1889,7 +1889,7 @@ module Aws::S3
|
|
|
1889
1889
|
# "MetadataKey" => "MetadataValue",
|
|
1890
1890
|
# },
|
|
1891
1891
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
1892
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
1892
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
1893
1893
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
1894
1894
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
1895
1895
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -2490,7 +2490,7 @@ module Aws::S3
|
|
|
2490
2490
|
# "MetadataKey" => "MetadataValue",
|
|
2491
2491
|
# },
|
|
2492
2492
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
2493
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
2493
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
2494
2494
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
2495
2495
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
2496
2496
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -3165,7 +3165,7 @@ module Aws::S3
|
|
|
3165
3165
|
# value: "MetadataValue",
|
|
3166
3166
|
# },
|
|
3167
3167
|
# ],
|
|
3168
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
3168
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
3169
3169
|
# },
|
|
3170
3170
|
# },
|
|
3171
3171
|
# },
|
|
@@ -362,7 +362,7 @@ module Aws::S3
|
|
|
362
362
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
|
363
363
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
|
364
364
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
365
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
365
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
366
366
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
367
367
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
368
368
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -1486,7 +1486,7 @@ module Aws::S3
|
|
|
1486
1486
|
# "MetadataKey" => "MetadataValue",
|
|
1487
1487
|
# },
|
|
1488
1488
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
1489
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
1489
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
1490
1490
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
1491
1491
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
1492
1492
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -2087,7 +2087,7 @@ module Aws::S3
|
|
|
2087
2087
|
# "MetadataKey" => "MetadataValue",
|
|
2088
2088
|
# },
|
|
2089
2089
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
2090
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
2090
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
2091
2091
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
2092
2092
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
2093
2093
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -2762,7 +2762,7 @@ module Aws::S3
|
|
|
2762
2762
|
# value: "MetadataValue",
|
|
2763
2763
|
# },
|
|
2764
2764
|
# ],
|
|
2765
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
2765
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
2766
2766
|
# },
|
|
2767
2767
|
# },
|
|
2768
2768
|
# },
|
|
@@ -124,10 +124,9 @@ module Aws
|
|
|
124
124
|
# Only used when no custom executor is provided (creates {DefaultExecutor} with given thread count).
|
|
125
125
|
#
|
|
126
126
|
# @option options [String] :checksum_mode ("ENABLED")
|
|
127
|
-
#
|
|
128
|
-
#
|
|
129
|
-
#
|
|
130
|
-
# To disable checksum validation, set `checksum_mode` to `"DISABLED"`.
|
|
127
|
+
# This option is deprecated. Use `:response_checksum_validation` on your S3 client instead.
|
|
128
|
+
# To disable checksum validation, set `response_checksum_validation: 'when_required'`
|
|
129
|
+
# when creating your S3 client.
|
|
131
130
|
#
|
|
132
131
|
# @option options [Callable] :on_checksum_validated
|
|
133
132
|
# Called each time a request's checksum is validated with the checksum algorithm and the
|