aws-sdk-s3 1.191.0 → 1.195.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.
data/lib/aws-sdk-s3.rb CHANGED
@@ -75,7 +75,7 @@ module Aws::S3
75
75
  autoload :ObjectVersion, 'aws-sdk-s3/object_version'
76
76
  autoload :EventStreams, 'aws-sdk-s3/event_streams'
77
77
 
78
- GEM_VERSION = '1.191.0'
78
+ GEM_VERSION = '1.195.0'
79
79
 
80
80
  end
81
81
 
data/sig/bucket.rbs CHANGED
@@ -23,6 +23,9 @@ module Aws
23
23
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_region-instance_method
24
24
  def bucket_region: () -> ::String
25
25
 
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_arn-instance_method
27
+ def bucket_arn: () -> ::String
28
+
26
29
  def client: () -> Client
27
30
 
28
31
 
@@ -56,7 +59,13 @@ module Aws
56
59
  bucket: {
57
60
  data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
58
61
  type: ("Directory")?
59
- }?
62
+ }?,
63
+ tags: Array[
64
+ {
65
+ key: ::String,
66
+ value: ::String
67
+ },
68
+ ]?
60
69
  },
61
70
  ?grant_full_control: ::String,
62
71
  ?grant_read: ::String,
data/sig/client.rbs CHANGED
@@ -20,6 +20,7 @@ module Aws
20
20
  ?account_id: String,
21
21
  ?active_endpoint_cache: bool,
22
22
  ?adaptive_retry_wait_to_fill: bool,
23
+ ?auth_scheme_preference: Array[String],
23
24
  ?client_side_monitoring: bool,
24
25
  ?client_side_monitoring_client_id: String,
25
26
  ?client_side_monitoring_host: String,
@@ -224,6 +225,7 @@ module Aws
224
225
  interface _CreateBucketResponseSuccess
225
226
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateBucketOutput]
226
227
  def location: () -> ::String
228
+ def bucket_arn: () -> ::String
227
229
  end
228
230
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket-instance_method
229
231
  def create_bucket: (
@@ -238,7 +240,13 @@ module Aws
238
240
  bucket: {
239
241
  data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
240
242
  type: ("Directory")?
241
- }?
243
+ }?,
244
+ tags: Array[
245
+ {
246
+ key: ::String,
247
+ value: ::String
248
+ },
249
+ ]?
242
250
  },
243
251
  ?grant_full_control: ::String,
244
252
  ?grant_read: ::String,
@@ -250,6 +258,34 @@ module Aws
250
258
  ) -> _CreateBucketResponseSuccess
251
259
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
252
260
 
261
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_configuration-instance_method
262
+ def create_bucket_metadata_configuration: (
263
+ bucket: ::String,
264
+ ?content_md5: ::String,
265
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
266
+ metadata_configuration: {
267
+ journal_table_configuration: {
268
+ record_expiration: {
269
+ expiration: ("ENABLED" | "DISABLED"),
270
+ days: ::Integer?
271
+ },
272
+ encryption_configuration: {
273
+ sse_algorithm: ("aws:kms" | "AES256"),
274
+ kms_key_arn: ::String?
275
+ }?
276
+ },
277
+ inventory_table_configuration: {
278
+ configuration_state: ("ENABLED" | "DISABLED"),
279
+ encryption_configuration: {
280
+ sse_algorithm: ("aws:kms" | "AES256"),
281
+ kms_key_arn: ::String?
282
+ }?
283
+ }?
284
+ },
285
+ ?expected_bucket_owner: ::String
286
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
287
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
288
+
253
289
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_table_configuration-instance_method
254
290
  def create_bucket_metadata_table_configuration: (
255
291
  bucket: ::String,
@@ -389,6 +425,13 @@ module Aws
389
425
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
390
426
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
391
427
 
428
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_configuration-instance_method
429
+ def delete_bucket_metadata_configuration: (
430
+ bucket: ::String,
431
+ ?expected_bucket_owner: ::String
432
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
433
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
434
+
392
435
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
393
436
  def delete_bucket_metadata_table_configuration: (
394
437
  bucket: ::String,
@@ -637,6 +680,17 @@ module Aws
637
680
  ) -> _GetBucketLoggingResponseSuccess
638
681
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
639
682
 
683
+ interface _GetBucketMetadataConfigurationResponseSuccess
684
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataConfigurationOutput]
685
+ def get_bucket_metadata_configuration_result: () -> Types::GetBucketMetadataConfigurationResult
686
+ end
687
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_configuration-instance_method
688
+ def get_bucket_metadata_configuration: (
689
+ bucket: ::String,
690
+ ?expected_bucket_owner: ::String
691
+ ) -> _GetBucketMetadataConfigurationResponseSuccess
692
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataConfigurationResponseSuccess
693
+
640
694
  interface _GetBucketMetadataTableConfigurationResponseSuccess
641
695
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
642
696
  def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
@@ -972,6 +1026,7 @@ module Aws
972
1026
 
973
1027
  interface _HeadBucketResponseSuccess
974
1028
  include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
1029
+ def bucket_arn: () -> ::String
975
1030
  def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
976
1031
  def bucket_location_name: () -> ::String
977
1032
  def bucket_region: () -> ::String
@@ -2314,6 +2369,37 @@ module Aws
2314
2369
  ) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
2315
2370
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
2316
2371
 
2372
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_bucket_metadata_inventory_table_configuration-instance_method
2373
+ def update_bucket_metadata_inventory_table_configuration: (
2374
+ bucket: ::String,
2375
+ ?content_md5: ::String,
2376
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2377
+ inventory_table_configuration: {
2378
+ configuration_state: ("ENABLED" | "DISABLED"),
2379
+ encryption_configuration: {
2380
+ sse_algorithm: ("aws:kms" | "AES256"),
2381
+ kms_key_arn: ::String?
2382
+ }?
2383
+ },
2384
+ ?expected_bucket_owner: ::String
2385
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2386
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2387
+
2388
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_bucket_metadata_journal_table_configuration-instance_method
2389
+ def update_bucket_metadata_journal_table_configuration: (
2390
+ bucket: ::String,
2391
+ ?content_md5: ::String,
2392
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2393
+ journal_table_configuration: {
2394
+ record_expiration: {
2395
+ expiration: ("ENABLED" | "DISABLED"),
2396
+ days: ::Integer?
2397
+ }
2398
+ },
2399
+ ?expected_bucket_owner: ::String
2400
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2401
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2402
+
2317
2403
  interface _UploadPartResponseSuccess
2318
2404
  include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
2319
2405
  def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
data/sig/resource.rbs CHANGED
@@ -20,6 +20,7 @@ module Aws
20
20
  ?account_id: String,
21
21
  ?active_endpoint_cache: bool,
22
22
  ?adaptive_retry_wait_to_fill: bool,
23
+ ?auth_scheme_preference: Array[String],
23
24
  ?client_side_monitoring: bool,
24
25
  ?client_side_monitoring_client_id: String,
25
26
  ?client_side_monitoring_host: String,
@@ -107,7 +108,13 @@ module Aws
107
108
  bucket: {
108
109
  data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
109
110
  type: ("Directory")?
110
- }?
111
+ }?,
112
+ tags: Array[
113
+ {
114
+ key: ::String,
115
+ value: ::String
116
+ },
117
+ ]?
111
118
  },
112
119
  ?grant_full_control: ::String,
113
120
  ?grant_read: ::String,
data/sig/types.rbs CHANGED
@@ -81,6 +81,7 @@ module Aws::S3
81
81
  attr_accessor name: ::String
82
82
  attr_accessor creation_date: ::Time
83
83
  attr_accessor bucket_region: ::String
84
+ attr_accessor bucket_arn: ::String
84
85
  SENSITIVE: []
85
86
  end
86
87
 
@@ -321,6 +322,16 @@ module Aws::S3
321
322
  attr_accessor 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" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "il-central-1" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")
322
323
  attr_accessor location: Types::LocationInfo
323
324
  attr_accessor bucket: Types::BucketInfo
325
+ attr_accessor tags: ::Array[Types::Tag]
326
+ SENSITIVE: []
327
+ end
328
+
329
+ class CreateBucketMetadataConfigurationRequest
330
+ attr_accessor bucket: ::String
331
+ attr_accessor content_md5: ::String
332
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
333
+ attr_accessor metadata_configuration: Types::MetadataConfiguration
334
+ attr_accessor expected_bucket_owner: ::String
324
335
  SENSITIVE: []
325
336
  end
326
337
 
@@ -335,6 +346,7 @@ module Aws::S3
335
346
 
336
347
  class CreateBucketOutput
337
348
  attr_accessor location: ::String
349
+ attr_accessor bucket_arn: ::String
338
350
  SENSITIVE: []
339
351
  end
340
352
 
@@ -476,6 +488,12 @@ module Aws::S3
476
488
  SENSITIVE: []
477
489
  end
478
490
 
491
+ class DeleteBucketMetadataConfigurationRequest
492
+ attr_accessor bucket: ::String
493
+ attr_accessor expected_bucket_owner: ::String
494
+ SENSITIVE: []
495
+ end
496
+
479
497
  class DeleteBucketMetadataTableConfigurationRequest
480
498
  attr_accessor bucket: ::String
481
499
  attr_accessor expected_bucket_owner: ::String
@@ -616,6 +634,13 @@ module Aws::S3
616
634
  SENSITIVE: []
617
635
  end
618
636
 
637
+ class DestinationResult
638
+ attr_accessor table_bucket_type: ("aws" | "customer")
639
+ attr_accessor table_bucket_arn: ::String
640
+ attr_accessor table_namespace: ::String
641
+ SENSITIVE: []
642
+ end
643
+
619
644
  class Encryption
620
645
  attr_accessor encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
621
646
  attr_accessor kms_key_id: ::String
@@ -797,6 +822,22 @@ module Aws::S3
797
822
  SENSITIVE: []
798
823
  end
799
824
 
825
+ class GetBucketMetadataConfigurationOutput
826
+ attr_accessor get_bucket_metadata_configuration_result: Types::GetBucketMetadataConfigurationResult
827
+ SENSITIVE: []
828
+ end
829
+
830
+ class GetBucketMetadataConfigurationRequest
831
+ attr_accessor bucket: ::String
832
+ attr_accessor expected_bucket_owner: ::String
833
+ SENSITIVE: []
834
+ end
835
+
836
+ class GetBucketMetadataConfigurationResult
837
+ attr_accessor metadata_configuration_result: Types::MetadataConfigurationResult
838
+ SENSITIVE: []
839
+ end
840
+
800
841
  class GetBucketMetadataTableConfigurationOutput
801
842
  attr_accessor get_bucket_metadata_table_configuration_result: Types::GetBucketMetadataTableConfigurationResult
802
843
  SENSITIVE: []
@@ -1147,6 +1188,7 @@ module Aws::S3
1147
1188
  end
1148
1189
 
1149
1190
  class HeadBucketOutput
1191
+ attr_accessor bucket_arn: ::String
1150
1192
  attr_accessor bucket_location_type: ("AvailabilityZone" | "LocalZone")
1151
1193
  attr_accessor bucket_location_name: ::String
1152
1194
  attr_accessor bucket_region: ::String
@@ -1324,6 +1366,27 @@ module Aws::S3
1324
1366
  SENSITIVE: []
1325
1367
  end
1326
1368
 
1369
+ class InventoryTableConfiguration
1370
+ attr_accessor configuration_state: ("ENABLED" | "DISABLED")
1371
+ attr_accessor encryption_configuration: Types::MetadataTableEncryptionConfiguration
1372
+ SENSITIVE: []
1373
+ end
1374
+
1375
+ class InventoryTableConfigurationResult
1376
+ attr_accessor configuration_state: ("ENABLED" | "DISABLED")
1377
+ attr_accessor table_status: ::String
1378
+ attr_accessor error: Types::ErrorDetails
1379
+ attr_accessor table_name: ::String
1380
+ attr_accessor table_arn: ::String
1381
+ SENSITIVE: []
1382
+ end
1383
+
1384
+ class InventoryTableConfigurationUpdates
1385
+ attr_accessor configuration_state: ("ENABLED" | "DISABLED")
1386
+ attr_accessor encryption_configuration: Types::MetadataTableEncryptionConfiguration
1387
+ SENSITIVE: []
1388
+ end
1389
+
1327
1390
  class JSONInput
1328
1391
  attr_accessor type: ("DOCUMENT" | "LINES")
1329
1392
  SENSITIVE: []
@@ -1334,6 +1397,26 @@ module Aws::S3
1334
1397
  SENSITIVE: []
1335
1398
  end
1336
1399
 
1400
+ class JournalTableConfiguration
1401
+ attr_accessor record_expiration: Types::RecordExpiration
1402
+ attr_accessor encryption_configuration: Types::MetadataTableEncryptionConfiguration
1403
+ SENSITIVE: []
1404
+ end
1405
+
1406
+ class JournalTableConfigurationResult
1407
+ attr_accessor table_status: ::String
1408
+ attr_accessor error: Types::ErrorDetails
1409
+ attr_accessor table_name: ::String
1410
+ attr_accessor table_arn: ::String
1411
+ attr_accessor record_expiration: Types::RecordExpiration
1412
+ SENSITIVE: []
1413
+ end
1414
+
1415
+ class JournalTableConfigurationUpdates
1416
+ attr_accessor record_expiration: Types::RecordExpiration
1417
+ SENSITIVE: []
1418
+ end
1419
+
1337
1420
  class LambdaFunctionConfiguration
1338
1421
  attr_accessor id: ::String
1339
1422
  attr_accessor lambda_function_arn: ::String
@@ -1642,6 +1725,19 @@ module Aws::S3
1642
1725
  SENSITIVE: []
1643
1726
  end
1644
1727
 
1728
+ class MetadataConfiguration
1729
+ attr_accessor journal_table_configuration: Types::JournalTableConfiguration
1730
+ attr_accessor inventory_table_configuration: Types::InventoryTableConfiguration
1731
+ SENSITIVE: []
1732
+ end
1733
+
1734
+ class MetadataConfigurationResult
1735
+ attr_accessor destination_result: Types::DestinationResult
1736
+ attr_accessor journal_table_configuration_result: Types::JournalTableConfigurationResult
1737
+ attr_accessor inventory_table_configuration_result: Types::InventoryTableConfigurationResult
1738
+ SENSITIVE: []
1739
+ end
1740
+
1645
1741
  class MetadataEntry
1646
1742
  attr_accessor name: ::String
1647
1743
  attr_accessor value: ::String
@@ -1658,6 +1754,12 @@ module Aws::S3
1658
1754
  SENSITIVE: []
1659
1755
  end
1660
1756
 
1757
+ class MetadataTableEncryptionConfiguration
1758
+ attr_accessor sse_algorithm: ("aws:kms" | "AES256")
1759
+ attr_accessor kms_key_arn: ::String
1760
+ SENSITIVE: []
1761
+ end
1762
+
1661
1763
  class Metrics
1662
1764
  attr_accessor status: ("Enabled" | "Disabled")
1663
1765
  attr_accessor event_threshold: Types::ReplicationTimeValue
@@ -2259,6 +2361,12 @@ module Aws::S3
2259
2361
  SENSITIVE: []
2260
2362
  end
2261
2363
 
2364
+ class RecordExpiration
2365
+ attr_accessor expiration: ("ENABLED" | "DISABLED")
2366
+ attr_accessor days: ::Integer
2367
+ SENSITIVE: []
2368
+ end
2369
+
2262
2370
  class RecordsEvent
2263
2371
  attr_accessor payload: ::IO
2264
2372
  attr_accessor event_type: untyped
@@ -2601,6 +2709,24 @@ module Aws::S3
2601
2709
  SENSITIVE: []
2602
2710
  end
2603
2711
 
2712
+ class UpdateBucketMetadataInventoryTableConfigurationRequest
2713
+ attr_accessor bucket: ::String
2714
+ attr_accessor content_md5: ::String
2715
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2716
+ attr_accessor inventory_table_configuration: Types::InventoryTableConfigurationUpdates
2717
+ attr_accessor expected_bucket_owner: ::String
2718
+ SENSITIVE: []
2719
+ end
2720
+
2721
+ class UpdateBucketMetadataJournalTableConfigurationRequest
2722
+ attr_accessor bucket: ::String
2723
+ attr_accessor content_md5: ::String
2724
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2725
+ attr_accessor journal_table_configuration: Types::JournalTableConfigurationUpdates
2726
+ attr_accessor expected_bucket_owner: ::String
2727
+ SENSITIVE: []
2728
+ end
2729
+
2604
2730
  class UploadPartCopyOutput
2605
2731
  attr_accessor copy_source_version_id: ::String
2606
2732
  attr_accessor copy_part_result: Types::CopyPartResult
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.191.0
4
+ version: 1.195.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.225.0
49
+ version: 3.228.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.225.0
59
+ version: 3.228.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: