aws-sdk-s3 1.199.0 → 1.205.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 +44 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket_versioning.rb +33 -0
- data/lib/aws-sdk-s3/client.rb +935 -257
- data/lib/aws-sdk-s3/client_api.rb +61 -0
- data/lib/aws-sdk-s3/customizations/object.rb +33 -24
- data/lib/aws-sdk-s3/customizations.rb +1 -0
- data/lib/aws-sdk-s3/default_executor.rb +103 -0
- data/lib/aws-sdk-s3/endpoint_parameters.rb +17 -17
- data/lib/aws-sdk-s3/endpoint_provider.rb +220 -50
- data/lib/aws-sdk-s3/endpoints.rb +26 -0
- data/lib/aws-sdk-s3/file_downloader.rb +192 -112
- data/lib/aws-sdk-s3/file_uploader.rb +6 -8
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +79 -63
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +41 -44
- data/lib/aws-sdk-s3/object.rb +52 -23
- data/lib/aws-sdk-s3/object_summary.rb +38 -9
- data/lib/aws-sdk-s3/object_version.rb +7 -9
- data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -1
- data/lib/aws-sdk-s3/transfer_manager.rb +87 -30
- data/lib/aws-sdk-s3/types.rb +383 -140
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/client.rbs +29 -1
- data/sig/object.rbs +2 -0
- data/sig/object_summary.rbs +2 -0
- data/sig/types.rbs +33 -0
- metadata +4 -3
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -196,6 +196,8 @@ module Aws
|
|
|
196
196
|
?grant_read: ::String,
|
|
197
197
|
?grant_read_acp: ::String,
|
|
198
198
|
?grant_write_acp: ::String,
|
|
199
|
+
?if_match: ::String,
|
|
200
|
+
?if_none_match: ::String,
|
|
199
201
|
key: ::String,
|
|
200
202
|
?metadata: Hash[::String, ::String],
|
|
201
203
|
?metadata_directive: ("COPY" | "REPLACE"),
|
|
@@ -552,6 +554,17 @@ module Aws
|
|
|
552
554
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
553
555
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
554
556
|
|
|
557
|
+
interface _GetBucketAbacResponseSuccess
|
|
558
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketAbacOutput]
|
|
559
|
+
def abac_status: () -> Types::AbacStatus
|
|
560
|
+
end
|
|
561
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_abac-instance_method
|
|
562
|
+
def get_bucket_abac: (
|
|
563
|
+
bucket: ::String,
|
|
564
|
+
?expected_bucket_owner: ::String
|
|
565
|
+
) -> _GetBucketAbacResponseSuccess
|
|
566
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketAbacResponseSuccess
|
|
567
|
+
|
|
555
568
|
interface _GetBucketAccelerateConfigurationResponseSuccess
|
|
556
569
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketAccelerateConfigurationOutput]
|
|
557
570
|
def status: () -> ("Enabled" | "Suspended")
|
|
@@ -1351,6 +1364,18 @@ module Aws
|
|
|
1351
1364
|
) -> _ListPartsResponseSuccess
|
|
1352
1365
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPartsResponseSuccess
|
|
1353
1366
|
|
|
1367
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_abac-instance_method
|
|
1368
|
+
def put_bucket_abac: (
|
|
1369
|
+
bucket: ::String,
|
|
1370
|
+
?content_md5: ::String,
|
|
1371
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
1372
|
+
?expected_bucket_owner: ::String,
|
|
1373
|
+
abac_status: {
|
|
1374
|
+
status: ("Enabled" | "Disabled")?
|
|
1375
|
+
}
|
|
1376
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1377
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1378
|
+
|
|
1354
1379
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_accelerate_configuration-instance_method
|
|
1355
1380
|
def put_bucket_accelerate_configuration: (
|
|
1356
1381
|
bucket: ::String,
|
|
@@ -1468,7 +1493,10 @@ module Aws
|
|
|
1468
1493
|
sse_algorithm: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
1469
1494
|
kms_master_key_id: ::String?
|
|
1470
1495
|
}?,
|
|
1471
|
-
bucket_key_enabled: bool
|
|
1496
|
+
bucket_key_enabled: bool?,
|
|
1497
|
+
blocked_encryption_types: {
|
|
1498
|
+
encryption_type: Array[("NONE" | "SSE-C")]?
|
|
1499
|
+
}?
|
|
1472
1500
|
},
|
|
1473
1501
|
]
|
|
1474
1502
|
},
|
data/sig/object.rbs
CHANGED
|
@@ -180,6 +180,8 @@ module Aws
|
|
|
180
180
|
?grant_read: ::String,
|
|
181
181
|
?grant_read_acp: ::String,
|
|
182
182
|
?grant_write_acp: ::String,
|
|
183
|
+
?if_match: ::String,
|
|
184
|
+
?if_none_match: ::String,
|
|
183
185
|
?metadata: Hash[::String, ::String],
|
|
184
186
|
?metadata_directive: ("COPY" | "REPLACE"),
|
|
185
187
|
?tagging_directive: ("COPY" | "REPLACE"),
|
data/sig/object_summary.rbs
CHANGED
|
@@ -84,6 +84,8 @@ module Aws
|
|
|
84
84
|
?grant_read: ::String,
|
|
85
85
|
?grant_read_acp: ::String,
|
|
86
86
|
?grant_write_acp: ::String,
|
|
87
|
+
?if_match: ::String,
|
|
88
|
+
?if_none_match: ::String,
|
|
87
89
|
?metadata: Hash[::String, ::String],
|
|
88
90
|
?metadata_directive: ("COPY" | "REPLACE"),
|
|
89
91
|
?tagging_directive: ("COPY" | "REPLACE"),
|
data/sig/types.rbs
CHANGED
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
module Aws::S3
|
|
9
9
|
module Types
|
|
10
10
|
|
|
11
|
+
class AbacStatus
|
|
12
|
+
attr_accessor status: ("Enabled" | "Disabled")
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
11
16
|
class AbortIncompleteMultipartUpload
|
|
12
17
|
attr_accessor days_after_initiation: ::Integer
|
|
13
18
|
SENSITIVE: []
|
|
@@ -77,6 +82,11 @@ module Aws::S3
|
|
|
77
82
|
SENSITIVE: []
|
|
78
83
|
end
|
|
79
84
|
|
|
85
|
+
class BlockedEncryptionTypes
|
|
86
|
+
attr_accessor encryption_type: ::Array[("NONE" | "SSE-C")]
|
|
87
|
+
SENSITIVE: []
|
|
88
|
+
end
|
|
89
|
+
|
|
80
90
|
class Bucket
|
|
81
91
|
attr_accessor name: ::String
|
|
82
92
|
attr_accessor creation_date: ::Time
|
|
@@ -269,6 +279,8 @@ module Aws::S3
|
|
|
269
279
|
attr_accessor grant_read: ::String
|
|
270
280
|
attr_accessor grant_read_acp: ::String
|
|
271
281
|
attr_accessor grant_write_acp: ::String
|
|
282
|
+
attr_accessor if_match: ::String
|
|
283
|
+
attr_accessor if_none_match: ::String
|
|
272
284
|
attr_accessor key: ::String
|
|
273
285
|
attr_accessor metadata: ::Hash[::String, ::String]
|
|
274
286
|
attr_accessor metadata_directive: ("COPY" | "REPLACE")
|
|
@@ -694,6 +706,17 @@ module Aws::S3
|
|
|
694
706
|
SENSITIVE: []
|
|
695
707
|
end
|
|
696
708
|
|
|
709
|
+
class GetBucketAbacOutput
|
|
710
|
+
attr_accessor abac_status: Types::AbacStatus
|
|
711
|
+
SENSITIVE: []
|
|
712
|
+
end
|
|
713
|
+
|
|
714
|
+
class GetBucketAbacRequest
|
|
715
|
+
attr_accessor bucket: ::String
|
|
716
|
+
attr_accessor expected_bucket_owner: ::String
|
|
717
|
+
SENSITIVE: []
|
|
718
|
+
end
|
|
719
|
+
|
|
697
720
|
class GetBucketAccelerateConfigurationOutput
|
|
698
721
|
attr_accessor status: ("Enabled" | "Suspended")
|
|
699
722
|
attr_accessor request_charged: ("requester")
|
|
@@ -1991,6 +2014,15 @@ module Aws::S3
|
|
|
1991
2014
|
SENSITIVE: []
|
|
1992
2015
|
end
|
|
1993
2016
|
|
|
2017
|
+
class PutBucketAbacRequest
|
|
2018
|
+
attr_accessor bucket: ::String
|
|
2019
|
+
attr_accessor content_md5: ::String
|
|
2020
|
+
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
|
2021
|
+
attr_accessor expected_bucket_owner: ::String
|
|
2022
|
+
attr_accessor abac_status: Types::AbacStatus
|
|
2023
|
+
SENSITIVE: []
|
|
2024
|
+
end
|
|
2025
|
+
|
|
1994
2026
|
class PutBucketAccelerateConfigurationRequest
|
|
1995
2027
|
attr_accessor bucket: ::String
|
|
1996
2028
|
attr_accessor accelerate_configuration: Types::AccelerateConfiguration
|
|
@@ -2605,6 +2637,7 @@ module Aws::S3
|
|
|
2605
2637
|
class ServerSideEncryptionRule
|
|
2606
2638
|
attr_accessor apply_server_side_encryption_by_default: Types::ServerSideEncryptionByDefault
|
|
2607
2639
|
attr_accessor bucket_key_enabled: bool
|
|
2640
|
+
attr_accessor blocked_encryption_types: Types::BlockedEncryptionTypes
|
|
2608
2641
|
SENSITIVE: []
|
|
2609
2642
|
end
|
|
2610
2643
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.205.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -46,7 +46,7 @@ dependencies:
|
|
|
46
46
|
version: '3'
|
|
47
47
|
- - ">="
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 3.
|
|
49
|
+
version: 3.234.0
|
|
50
50
|
type: :runtime
|
|
51
51
|
prerelease: false
|
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -56,7 +56,7 @@ dependencies:
|
|
|
56
56
|
version: '3'
|
|
57
57
|
- - ">="
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: 3.
|
|
59
|
+
version: 3.234.0
|
|
60
60
|
description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
|
|
61
61
|
This gem is part of the AWS SDK for Ruby.
|
|
62
62
|
email:
|
|
@@ -95,6 +95,7 @@ files:
|
|
|
95
95
|
- lib/aws-sdk-s3/customizations/object_version.rb
|
|
96
96
|
- lib/aws-sdk-s3/customizations/types/list_object_versions_output.rb
|
|
97
97
|
- lib/aws-sdk-s3/customizations/types/permanent_redirect.rb
|
|
98
|
+
- lib/aws-sdk-s3/default_executor.rb
|
|
98
99
|
- lib/aws-sdk-s3/encryption.rb
|
|
99
100
|
- lib/aws-sdk-s3/encryption/client.rb
|
|
100
101
|
- lib/aws-sdk-s3/encryption/decrypt_handler.rb
|