aws-sdk-s3 1.166.0 → 1.169.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +48 -27
- 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 +332 -299
- data/lib/aws-sdk-s3/client_api.rb +13 -1
- data/lib/aws-sdk-s3/endpoint_parameters.rb +13 -18
- data/lib/aws-sdk-s3/endpoints.rb +405 -1405
- 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 +79 -56
- data/lib/aws-sdk-s3/object_summary.rb +77 -54
- data/lib/aws-sdk-s3/object_version.rb +4 -4
- data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -204
- data/lib/aws-sdk-s3/resource.rb +25 -1
- data/lib/aws-sdk-s3/types.rb +227 -141
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +3 -0
- data/sig/bucket_lifecycle_configuration.rbs +7 -3
- data/sig/client.rbs +13 -4
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +11 -0
- metadata +4 -4
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/bucket.rbs
CHANGED
@@ -20,6 +20,9 @@ module Aws
|
|
20
20
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#creation_date-instance_method
|
21
21
|
def creation_date: () -> ::Time
|
22
22
|
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_region-instance_method
|
24
|
+
def bucket_region: () -> ::String
|
25
|
+
|
23
26
|
def client: () -> Client
|
24
27
|
|
25
28
|
|
@@ -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: (
|
@@ -1056,11 +1057,14 @@ module Aws
|
|
1056
1057
|
def buckets: () -> ::Array[Types::Bucket]
|
1057
1058
|
def owner: () -> Types::Owner
|
1058
1059
|
def continuation_token: () -> ::String
|
1060
|
+
def prefix: () -> ::String
|
1059
1061
|
end
|
1060
1062
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_buckets-instance_method
|
1061
1063
|
def list_buckets: (
|
1062
1064
|
?max_buckets: ::Integer,
|
1063
|
-
?continuation_token: ::String
|
1065
|
+
?continuation_token: ::String,
|
1066
|
+
?prefix: ::String,
|
1067
|
+
?bucket_region: ::String
|
1064
1068
|
) -> _ListBucketsResponseSuccess
|
1065
1069
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketsResponseSuccess
|
1066
1070
|
|
@@ -1464,6 +1468,10 @@ module Aws
|
|
1464
1468
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1465
1469
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1466
1470
|
|
1471
|
+
interface _PutBucketLifecycleConfigurationResponseSuccess
|
1472
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutBucketLifecycleConfigurationOutput]
|
1473
|
+
def transition_default_minimum_object_size: () -> ("varies_by_storage_class" | "all_storage_classes_128K")
|
1474
|
+
end
|
1467
1475
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_lifecycle_configuration-instance_method
|
1468
1476
|
def put_bucket_lifecycle_configuration: (
|
1469
1477
|
bucket: ::String,
|
@@ -1523,9 +1531,10 @@ module Aws
|
|
1523
1531
|
},
|
1524
1532
|
]
|
1525
1533
|
},
|
1526
|
-
?expected_bucket_owner: ::String
|
1527
|
-
|
1528
|
-
|
1534
|
+
?expected_bucket_owner: ::String,
|
1535
|
+
?transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
1536
|
+
) -> _PutBucketLifecycleConfigurationResponseSuccess
|
1537
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutBucketLifecycleConfigurationResponseSuccess
|
1529
1538
|
|
1530
1539
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_logging-instance_method
|
1531
1540
|
def put_bucket_logging: (
|
data/sig/resource.rbs
CHANGED
@@ -123,6 +123,8 @@ module Aws
|
|
123
123
|
|
124
124
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Resource.html#buckets-instance_method
|
125
125
|
def buckets: (
|
126
|
+
?prefix: ::String,
|
127
|
+
?bucket_region: ::String
|
126
128
|
) -> Bucket::Collection
|
127
129
|
| (?Hash[Symbol, untyped]) -> Bucket::Collection
|
128
130
|
end
|
data/sig/types.rbs
CHANGED
@@ -79,6 +79,7 @@ module Aws::S3
|
|
79
79
|
class Bucket
|
80
80
|
attr_accessor name: ::String
|
81
81
|
attr_accessor creation_date: ::Time
|
82
|
+
attr_accessor bucket_region: ::String
|
82
83
|
SENSITIVE: []
|
83
84
|
end
|
84
85
|
|
@@ -709,6 +710,7 @@ module Aws::S3
|
|
709
710
|
|
710
711
|
class GetBucketLifecycleConfigurationOutput
|
711
712
|
attr_accessor rules: ::Array[Types::LifecycleRule]
|
713
|
+
attr_accessor transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
712
714
|
SENSITIVE: []
|
713
715
|
end
|
714
716
|
|
@@ -1368,12 +1370,15 @@ module Aws::S3
|
|
1368
1370
|
attr_accessor buckets: ::Array[Types::Bucket]
|
1369
1371
|
attr_accessor owner: Types::Owner
|
1370
1372
|
attr_accessor continuation_token: ::String
|
1373
|
+
attr_accessor prefix: ::String
|
1371
1374
|
SENSITIVE: []
|
1372
1375
|
end
|
1373
1376
|
|
1374
1377
|
class ListBucketsRequest
|
1375
1378
|
attr_accessor max_buckets: ::Integer
|
1376
1379
|
attr_accessor continuation_token: ::String
|
1380
|
+
attr_accessor prefix: ::String
|
1381
|
+
attr_accessor bucket_region: ::String
|
1377
1382
|
SENSITIVE: []
|
1378
1383
|
end
|
1379
1384
|
|
@@ -1851,11 +1856,17 @@ module Aws::S3
|
|
1851
1856
|
SENSITIVE: []
|
1852
1857
|
end
|
1853
1858
|
|
1859
|
+
class PutBucketLifecycleConfigurationOutput
|
1860
|
+
attr_accessor transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
1861
|
+
SENSITIVE: []
|
1862
|
+
end
|
1863
|
+
|
1854
1864
|
class PutBucketLifecycleConfigurationRequest
|
1855
1865
|
attr_accessor bucket: ::String
|
1856
1866
|
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
1857
1867
|
attr_accessor lifecycle_configuration: Types::BucketLifecycleConfiguration
|
1858
1868
|
attr_accessor expected_bucket_owner: ::String
|
1869
|
+
attr_accessor transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
1859
1870
|
SENSITIVE: []
|
1860
1871
|
end
|
1861
1872
|
|
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.169.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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '3'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 3.
|
50
|
+
version: 3.210.0
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '3'
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 3.
|
60
|
+
version: 3.210.0
|
61
61
|
description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
|
62
62
|
This gem is part of the AWS SDK for Ruby.
|
63
63
|
email:
|