aws-sdk-s3 1.174.0 → 1.176.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +2 -2
- data/lib/aws-sdk-s3/client.rb +1165 -765
- data/lib/aws-sdk-s3/client_api.rb +94 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +36 -0
- data/lib/aws-sdk-s3/endpoints.rb +42 -0
- data/lib/aws-sdk-s3/object.rb +3 -1
- data/lib/aws-sdk-s3/resource.rb +9 -8
- data/lib/aws-sdk-s3/types.rb +532 -116
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +2 -2
- data/sig/client.rbs +36 -3
- data/sig/resource.rbs +2 -2
- data/sig/types.rbs +66 -3
- metadata +2 -2
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/bucket.rbs
CHANGED
@@ -50,11 +50,11 @@ module Aws
|
|
50
50
|
?create_bucket_configuration: {
|
51
51
|
location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
|
52
52
|
location: {
|
53
|
-
type: ("AvailabilityZone")?,
|
53
|
+
type: ("AvailabilityZone" | "LocalZone")?,
|
54
54
|
name: ::String?
|
55
55
|
}?,
|
56
56
|
bucket: {
|
57
|
-
data_redundancy: ("SingleAvailabilityZone")?,
|
57
|
+
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
58
58
|
type: ("Directory")?
|
59
59
|
}?
|
60
60
|
},
|
data/sig/client.rbs
CHANGED
@@ -224,11 +224,11 @@ module Aws
|
|
224
224
|
?create_bucket_configuration: {
|
225
225
|
location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
|
226
226
|
location: {
|
227
|
-
type: ("AvailabilityZone")?,
|
227
|
+
type: ("AvailabilityZone" | "LocalZone")?,
|
228
228
|
name: ::String?
|
229
229
|
}?,
|
230
230
|
bucket: {
|
231
|
-
data_redundancy: ("SingleAvailabilityZone")?,
|
231
|
+
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
232
232
|
type: ("Directory")?
|
233
233
|
}?
|
234
234
|
},
|
@@ -242,6 +242,21 @@ module Aws
|
|
242
242
|
) -> _CreateBucketResponseSuccess
|
243
243
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
|
244
244
|
|
245
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_table_configuration-instance_method
|
246
|
+
def create_bucket_metadata_table_configuration: (
|
247
|
+
bucket: ::String,
|
248
|
+
?content_md5: ::String,
|
249
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
250
|
+
metadata_table_configuration: {
|
251
|
+
s3_tables_destination: {
|
252
|
+
table_bucket_arn: ::String,
|
253
|
+
table_name: ::String
|
254
|
+
}
|
255
|
+
},
|
256
|
+
?expected_bucket_owner: ::String
|
257
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
258
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
259
|
+
|
245
260
|
interface _CreateMultipartUploadResponseSuccess
|
246
261
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMultipartUploadOutput]
|
247
262
|
def abort_date: () -> ::Time
|
@@ -363,6 +378,13 @@ module Aws
|
|
363
378
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
364
379
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
365
380
|
|
381
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
|
382
|
+
def delete_bucket_metadata_table_configuration: (
|
383
|
+
bucket: ::String,
|
384
|
+
?expected_bucket_owner: ::String
|
385
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
386
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
387
|
+
|
366
388
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metrics_configuration-instance_method
|
367
389
|
def delete_bucket_metrics_configuration: (
|
368
390
|
bucket: ::String,
|
@@ -603,6 +625,17 @@ module Aws
|
|
603
625
|
) -> _GetBucketLoggingResponseSuccess
|
604
626
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
|
605
627
|
|
628
|
+
interface _GetBucketMetadataTableConfigurationResponseSuccess
|
629
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
|
630
|
+
def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
|
631
|
+
end
|
632
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_table_configuration-instance_method
|
633
|
+
def get_bucket_metadata_table_configuration: (
|
634
|
+
bucket: ::String,
|
635
|
+
?expected_bucket_owner: ::String
|
636
|
+
) -> _GetBucketMetadataTableConfigurationResponseSuccess
|
637
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataTableConfigurationResponseSuccess
|
638
|
+
|
606
639
|
interface _GetBucketMetricsConfigurationResponseSuccess
|
607
640
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetricsConfigurationOutput]
|
608
641
|
def metrics_configuration: () -> Types::MetricsConfiguration
|
@@ -925,7 +958,7 @@ module Aws
|
|
925
958
|
|
926
959
|
interface _HeadBucketResponseSuccess
|
927
960
|
include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
|
928
|
-
def bucket_location_type: () -> ("AvailabilityZone")
|
961
|
+
def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
|
929
962
|
def bucket_location_name: () -> ::String
|
930
963
|
def bucket_region: () -> ::String
|
931
964
|
def access_point_alias: () -> bool
|
data/sig/resource.rbs
CHANGED
@@ -99,11 +99,11 @@ module Aws
|
|
99
99
|
?create_bucket_configuration: {
|
100
100
|
location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
|
101
101
|
location: {
|
102
|
-
type: ("AvailabilityZone")?,
|
102
|
+
type: ("AvailabilityZone" | "LocalZone")?,
|
103
103
|
name: ::String?
|
104
104
|
}?,
|
105
105
|
bucket: {
|
106
|
-
data_redundancy: ("SingleAvailabilityZone")?,
|
106
|
+
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
107
107
|
type: ("Directory")?
|
108
108
|
}?
|
109
109
|
},
|
data/sig/types.rbs
CHANGED
@@ -91,7 +91,7 @@ module Aws::S3
|
|
91
91
|
end
|
92
92
|
|
93
93
|
class BucketInfo
|
94
|
-
attr_accessor data_redundancy: ("SingleAvailabilityZone")
|
94
|
+
attr_accessor data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")
|
95
95
|
attr_accessor type: ("Directory")
|
96
96
|
SENSITIVE: []
|
97
97
|
end
|
@@ -313,6 +313,15 @@ module Aws::S3
|
|
313
313
|
SENSITIVE: []
|
314
314
|
end
|
315
315
|
|
316
|
+
class CreateBucketMetadataTableConfigurationRequest
|
317
|
+
attr_accessor bucket: ::String
|
318
|
+
attr_accessor content_md5: ::String
|
319
|
+
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
320
|
+
attr_accessor metadata_table_configuration: Types::MetadataTableConfiguration
|
321
|
+
attr_accessor expected_bucket_owner: ::String
|
322
|
+
SENSITIVE: []
|
323
|
+
end
|
324
|
+
|
316
325
|
class CreateBucketOutput
|
317
326
|
attr_accessor location: ::String
|
318
327
|
SENSITIVE: []
|
@@ -453,6 +462,12 @@ module Aws::S3
|
|
453
462
|
SENSITIVE: []
|
454
463
|
end
|
455
464
|
|
465
|
+
class DeleteBucketMetadataTableConfigurationRequest
|
466
|
+
attr_accessor bucket: ::String
|
467
|
+
attr_accessor expected_bucket_owner: ::String
|
468
|
+
SENSITIVE: []
|
469
|
+
end
|
470
|
+
|
456
471
|
class DeleteBucketMetricsConfigurationRequest
|
457
472
|
attr_accessor bucket: ::String
|
458
473
|
attr_accessor id: ::String
|
@@ -615,6 +630,12 @@ module Aws::S3
|
|
615
630
|
SENSITIVE: []
|
616
631
|
end
|
617
632
|
|
633
|
+
class ErrorDetails
|
634
|
+
attr_accessor error_code: ::String
|
635
|
+
attr_accessor error_message: ::String
|
636
|
+
SENSITIVE: []
|
637
|
+
end
|
638
|
+
|
618
639
|
class ErrorDocument
|
619
640
|
attr_accessor key: ::String
|
620
641
|
SENSITIVE: []
|
@@ -761,6 +782,24 @@ module Aws::S3
|
|
761
782
|
SENSITIVE: []
|
762
783
|
end
|
763
784
|
|
785
|
+
class GetBucketMetadataTableConfigurationOutput
|
786
|
+
attr_accessor get_bucket_metadata_table_configuration_result: Types::GetBucketMetadataTableConfigurationResult
|
787
|
+
SENSITIVE: []
|
788
|
+
end
|
789
|
+
|
790
|
+
class GetBucketMetadataTableConfigurationRequest
|
791
|
+
attr_accessor bucket: ::String
|
792
|
+
attr_accessor expected_bucket_owner: ::String
|
793
|
+
SENSITIVE: []
|
794
|
+
end
|
795
|
+
|
796
|
+
class GetBucketMetadataTableConfigurationResult
|
797
|
+
attr_accessor metadata_table_configuration_result: Types::MetadataTableConfigurationResult
|
798
|
+
attr_accessor status: ::String
|
799
|
+
attr_accessor error: Types::ErrorDetails
|
800
|
+
SENSITIVE: []
|
801
|
+
end
|
802
|
+
|
764
803
|
class GetBucketMetricsConfigurationOutput
|
765
804
|
attr_accessor metrics_configuration: Types::MetricsConfiguration
|
766
805
|
SENSITIVE: []
|
@@ -1091,7 +1130,7 @@ module Aws::S3
|
|
1091
1130
|
end
|
1092
1131
|
|
1093
1132
|
class HeadBucketOutput
|
1094
|
-
attr_accessor bucket_location_type: ("AvailabilityZone")
|
1133
|
+
attr_accessor bucket_location_type: ("AvailabilityZone" | "LocalZone")
|
1095
1134
|
attr_accessor bucket_location_name: ::String
|
1096
1135
|
attr_accessor bucket_region: ::String
|
1097
1136
|
attr_accessor access_point_alias: bool
|
@@ -1564,7 +1603,7 @@ module Aws::S3
|
|
1564
1603
|
end
|
1565
1604
|
|
1566
1605
|
class LocationInfo
|
1567
|
-
attr_accessor type: ("AvailabilityZone")
|
1606
|
+
attr_accessor type: ("AvailabilityZone" | "LocalZone")
|
1568
1607
|
attr_accessor name: ::String
|
1569
1608
|
SENSITIVE: []
|
1570
1609
|
end
|
@@ -1583,6 +1622,16 @@ module Aws::S3
|
|
1583
1622
|
SENSITIVE: []
|
1584
1623
|
end
|
1585
1624
|
|
1625
|
+
class MetadataTableConfiguration
|
1626
|
+
attr_accessor s3_tables_destination: Types::S3TablesDestination
|
1627
|
+
SENSITIVE: []
|
1628
|
+
end
|
1629
|
+
|
1630
|
+
class MetadataTableConfigurationResult
|
1631
|
+
attr_accessor s3_tables_destination_result: Types::S3TablesDestinationResult
|
1632
|
+
SENSITIVE: []
|
1633
|
+
end
|
1634
|
+
|
1586
1635
|
class Metrics
|
1587
1636
|
attr_accessor status: ("Enabled" | "Disabled")
|
1588
1637
|
attr_accessor event_threshold: Types::ReplicationTimeValue
|
@@ -2322,6 +2371,20 @@ module Aws::S3
|
|
2322
2371
|
SENSITIVE: []
|
2323
2372
|
end
|
2324
2373
|
|
2374
|
+
class S3TablesDestination
|
2375
|
+
attr_accessor table_bucket_arn: ::String
|
2376
|
+
attr_accessor table_name: ::String
|
2377
|
+
SENSITIVE: []
|
2378
|
+
end
|
2379
|
+
|
2380
|
+
class S3TablesDestinationResult
|
2381
|
+
attr_accessor table_bucket_arn: ::String
|
2382
|
+
attr_accessor table_name: ::String
|
2383
|
+
attr_accessor table_arn: ::String
|
2384
|
+
attr_accessor table_namespace: ::String
|
2385
|
+
SENSITIVE: []
|
2386
|
+
end
|
2387
|
+
|
2325
2388
|
class SSEKMS
|
2326
2389
|
attr_accessor key_id: ::String
|
2327
2390
|
SENSITIVE: [:key_id]
|
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.176.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-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|