aws-sdk-s3 1.169.0 → 1.175.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.169.0'
78
+ GEM_VERSION = '1.175.0'
79
79
 
80
80
  end
81
81
 
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
  },
@@ -80,7 +80,10 @@ module Aws
80
80
  objects: Array[
81
81
  {
82
82
  key: ::String,
83
- version_id: ::String?
83
+ version_id: ::String?,
84
+ etag: ::String?,
85
+ last_modified_time: ::Time?,
86
+ size: ::Integer?
84
87
  },
85
88
  ],
86
89
  quiet: bool?
@@ -110,12 +113,14 @@ module Aws
110
113
  ?checksum_sha1: ::String,
111
114
  ?checksum_sha256: ::String,
112
115
  ?expires: ::Time,
116
+ ?if_match: ::String,
113
117
  ?if_none_match: ::String,
114
118
  ?grant_full_control: ::String,
115
119
  ?grant_read: ::String,
116
120
  ?grant_read_acp: ::String,
117
121
  ?grant_write_acp: ::String,
118
122
  key: ::String,
123
+ ?write_offset_bytes: ::Integer,
119
124
  ?metadata: Hash[::String, ::String],
120
125
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
121
126
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
data/sig/client.rbs CHANGED
@@ -100,7 +100,8 @@ module Aws
100
100
  key: ::String,
101
101
  upload_id: ::String,
102
102
  ?request_payer: ("requester"),
103
- ?expected_bucket_owner: ::String
103
+ ?expected_bucket_owner: ::String,
104
+ ?if_match_initiated_time: ::Time
104
105
  ) -> _AbortMultipartUploadResponseSuccess
105
106
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AbortMultipartUploadResponseSuccess
106
107
 
@@ -144,6 +145,7 @@ module Aws
144
145
  ?checksum_sha256: ::String,
145
146
  ?request_payer: ("requester"),
146
147
  ?expected_bucket_owner: ::String,
148
+ ?if_match: ::String,
147
149
  ?if_none_match: ::String,
148
150
  ?sse_customer_algorithm: ::String,
149
151
  ?sse_customer_key: ::String,
@@ -222,11 +224,11 @@ module Aws
222
224
  ?create_bucket_configuration: {
223
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")?,
224
226
  location: {
225
- type: ("AvailabilityZone")?,
227
+ type: ("AvailabilityZone" | "LocalZone")?,
226
228
  name: ::String?
227
229
  }?,
228
230
  bucket: {
229
- data_redundancy: ("SingleAvailabilityZone")?,
231
+ data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
230
232
  type: ("Directory")?
231
233
  }?
232
234
  },
@@ -418,7 +420,10 @@ module Aws
418
420
  ?version_id: ::String,
419
421
  ?request_payer: ("requester"),
420
422
  ?bypass_governance_retention: bool,
421
- ?expected_bucket_owner: ::String
423
+ ?expected_bucket_owner: ::String,
424
+ ?if_match: ::String,
425
+ ?if_match_last_modified_time: ::Time,
426
+ ?if_match_size: ::Integer
422
427
  ) -> _DeleteObjectResponseSuccess
423
428
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectResponseSuccess
424
429
 
@@ -448,7 +453,10 @@ module Aws
448
453
  objects: Array[
449
454
  {
450
455
  key: ::String,
451
- version_id: ::String?
456
+ version_id: ::String?,
457
+ etag: ::String?,
458
+ last_modified_time: ::Time?,
459
+ size: ::Integer?
452
460
  },
453
461
  ],
454
462
  quiet: bool?
@@ -917,7 +925,7 @@ module Aws
917
925
 
918
926
  interface _HeadBucketResponseSuccess
919
927
  include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
920
- def bucket_location_type: () -> ("AvailabilityZone")
928
+ def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
921
929
  def bucket_location_name: () -> ::String
922
930
  def bucket_region: () -> ::String
923
931
  def access_point_alias: () -> bool
@@ -1886,6 +1894,7 @@ module Aws
1886
1894
  def ssekms_key_id: () -> ::String
1887
1895
  def ssekms_encryption_context: () -> ::String
1888
1896
  def bucket_key_enabled: () -> bool
1897
+ def size: () -> ::Integer
1889
1898
  def request_charged: () -> ("requester")
1890
1899
  end
1891
1900
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method
@@ -1906,12 +1915,14 @@ module Aws
1906
1915
  ?checksum_sha1: ::String,
1907
1916
  ?checksum_sha256: ::String,
1908
1917
  ?expires: ::Time,
1918
+ ?if_match: ::String,
1909
1919
  ?if_none_match: ::String,
1910
1920
  ?grant_full_control: ::String,
1911
1921
  ?grant_read: ::String,
1912
1922
  ?grant_read_acp: ::String,
1913
1923
  ?grant_write_acp: ::String,
1914
1924
  key: ::String,
1925
+ ?write_offset_bytes: ::Integer,
1915
1926
  ?metadata: Hash[::String, ::String],
1916
1927
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
1917
1928
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
data/sig/errors.rbs CHANGED
@@ -15,10 +15,16 @@ module Aws
15
15
  end
16
16
  class BucketAlreadyOwnedByYou < ::Aws::Errors::ServiceError
17
17
  end
18
+ class EncryptionTypeMismatch < ::Aws::Errors::ServiceError
19
+ end
18
20
  class InvalidObjectState < ::Aws::Errors::ServiceError
19
21
  def storage_class: () -> ::String
20
22
  def access_tier: () -> ::String
21
23
  end
24
+ class InvalidRequest < ::Aws::Errors::ServiceError
25
+ end
26
+ class InvalidWriteOffset < ::Aws::Errors::ServiceError
27
+ end
22
28
  class NoSuchBucket < ::Aws::Errors::ServiceError
23
29
  end
24
30
  class NoSuchKey < ::Aws::Errors::ServiceError
@@ -29,6 +35,8 @@ module Aws
29
35
  end
30
36
  class ObjectNotInActiveTierError < ::Aws::Errors::ServiceError
31
37
  end
38
+ class TooManyParts < ::Aws::Errors::ServiceError
39
+ end
32
40
  end
33
41
  end
34
42
  end
@@ -57,7 +57,8 @@ module Aws
57
57
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#abort-instance_method
58
58
  def abort: (
59
59
  ?request_payer: ("requester"),
60
- ?expected_bucket_owner: ::String
60
+ ?expected_bucket_owner: ::String,
61
+ ?if_match_initiated_time: ::Time
61
62
  ) -> Types::AbortMultipartUploadOutput
62
63
  | (?Hash[Symbol, untyped]) -> Types::AbortMultipartUploadOutput
63
64
 
@@ -81,6 +82,7 @@ module Aws
81
82
  ?checksum_sha256: ::String,
82
83
  ?request_payer: ("requester"),
83
84
  ?expected_bucket_owner: ::String,
85
+ ?if_match: ::String,
84
86
  ?if_none_match: ::String,
85
87
  ?sse_customer_algorithm: ::String,
86
88
  ?sse_customer_key: ::String,
data/sig/object.rbs CHANGED
@@ -199,7 +199,10 @@ module Aws
199
199
  ?version_id: ::String,
200
200
  ?request_payer: ("requester"),
201
201
  ?bypass_governance_retention: bool,
202
- ?expected_bucket_owner: ::String
202
+ ?expected_bucket_owner: ::String,
203
+ ?if_match: ::String,
204
+ ?if_match_last_modified_time: ::Time,
205
+ ?if_match_size: ::Integer
203
206
  ) -> Types::DeleteObjectOutput
204
207
  | (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
205
208
 
@@ -277,11 +280,13 @@ module Aws
277
280
  ?checksum_sha1: ::String,
278
281
  ?checksum_sha256: ::String,
279
282
  ?expires: ::Time,
283
+ ?if_match: ::String,
280
284
  ?if_none_match: ::String,
281
285
  ?grant_full_control: ::String,
282
286
  ?grant_read: ::String,
283
287
  ?grant_read_acp: ::String,
284
288
  ?grant_write_acp: ::String,
289
+ ?write_offset_bytes: ::Integer,
285
290
  ?metadata: Hash[::String, ::String],
286
291
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
287
292
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
@@ -112,7 +112,10 @@ module Aws
112
112
  ?version_id: ::String,
113
113
  ?request_payer: ("requester"),
114
114
  ?bypass_governance_retention: bool,
115
- ?expected_bucket_owner: ::String
115
+ ?expected_bucket_owner: ::String,
116
+ ?if_match: ::String,
117
+ ?if_match_last_modified_time: ::Time,
118
+ ?if_match_size: ::Integer
116
119
  ) -> Types::DeleteObjectOutput
117
120
  | (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
118
121
 
@@ -190,11 +193,13 @@ module Aws
190
193
  ?checksum_sha1: ::String,
191
194
  ?checksum_sha256: ::String,
192
195
  ?expires: ::Time,
196
+ ?if_match: ::String,
193
197
  ?if_none_match: ::String,
194
198
  ?grant_full_control: ::String,
195
199
  ?grant_read: ::String,
196
200
  ?grant_read_acp: ::String,
197
201
  ?grant_write_acp: ::String,
202
+ ?write_offset_bytes: ::Integer,
198
203
  ?metadata: Hash[::String, ::String],
199
204
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
200
205
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
@@ -68,7 +68,10 @@ module Aws
68
68
  ?mfa: ::String,
69
69
  ?request_payer: ("requester"),
70
70
  ?bypass_governance_retention: bool,
71
- ?expected_bucket_owner: ::String
71
+ ?expected_bucket_owner: ::String,
72
+ ?if_match: ::String,
73
+ ?if_match_last_modified_time: ::Time,
74
+ ?if_match_size: ::Integer
72
75
  ) -> Types::DeleteObjectOutput
73
76
  | (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
74
77
 
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
@@ -24,6 +24,7 @@ module Aws::S3
24
24
  attr_accessor upload_id: ::String
25
25
  attr_accessor request_payer: ("requester")
26
26
  attr_accessor expected_bucket_owner: ::String
27
+ attr_accessor if_match_initiated_time: ::Time
27
28
  SENSITIVE: []
28
29
  end
29
30
 
@@ -90,7 +91,7 @@ module Aws::S3
90
91
  end
91
92
 
92
93
  class BucketInfo
93
- attr_accessor data_redundancy: ("SingleAvailabilityZone")
94
+ attr_accessor data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")
94
95
  attr_accessor type: ("Directory")
95
96
  SENSITIVE: []
96
97
  end
@@ -191,6 +192,7 @@ module Aws::S3
191
192
  attr_accessor checksum_sha256: ::String
192
193
  attr_accessor request_payer: ("requester")
193
194
  attr_accessor expected_bucket_owner: ::String
195
+ attr_accessor if_match: ::String
194
196
  attr_accessor if_none_match: ::String
195
197
  attr_accessor sse_customer_algorithm: ::String
196
198
  attr_accessor sse_customer_key: ::String
@@ -523,6 +525,9 @@ module Aws::S3
523
525
  attr_accessor request_payer: ("requester")
524
526
  attr_accessor bypass_governance_retention: bool
525
527
  attr_accessor expected_bucket_owner: ::String
528
+ attr_accessor if_match: ::String
529
+ attr_accessor if_match_last_modified_time: ::Time
530
+ attr_accessor if_match_size: ::Integer
526
531
  SENSITIVE: []
527
532
  end
528
533
 
@@ -594,6 +599,9 @@ module Aws::S3
594
599
  SENSITIVE: []
595
600
  end
596
601
 
602
+ class EncryptionTypeMismatch < Aws::EmptyStructure
603
+ end
604
+
597
605
  class EndEvent
598
606
  attr_accessor event_type: untyped
599
607
  SENSITIVE: []
@@ -1083,7 +1091,7 @@ module Aws::S3
1083
1091
  end
1084
1092
 
1085
1093
  class HeadBucketOutput
1086
- attr_accessor bucket_location_type: ("AvailabilityZone")
1094
+ attr_accessor bucket_location_type: ("AvailabilityZone" | "LocalZone")
1087
1095
  attr_accessor bucket_location_name: ::String
1088
1096
  attr_accessor bucket_region: ::String
1089
1097
  attr_accessor access_point_alias: bool
@@ -1206,6 +1214,12 @@ module Aws::S3
1206
1214
  SENSITIVE: []
1207
1215
  end
1208
1216
 
1217
+ class InvalidRequest < Aws::EmptyStructure
1218
+ end
1219
+
1220
+ class InvalidWriteOffset < Aws::EmptyStructure
1221
+ end
1222
+
1209
1223
  class InventoryConfiguration
1210
1224
  attr_accessor destination: Types::InventoryDestination
1211
1225
  attr_accessor is_enabled: bool
@@ -1550,7 +1564,7 @@ module Aws::S3
1550
1564
  end
1551
1565
 
1552
1566
  class LocationInfo
1553
- attr_accessor type: ("AvailabilityZone")
1567
+ attr_accessor type: ("AvailabilityZone" | "LocalZone")
1554
1568
  attr_accessor name: ::String
1555
1569
  SENSITIVE: []
1556
1570
  end
@@ -1667,6 +1681,9 @@ module Aws::S3
1667
1681
  class ObjectIdentifier
1668
1682
  attr_accessor key: ::String
1669
1683
  attr_accessor version_id: ::String
1684
+ attr_accessor etag: ::String
1685
+ attr_accessor last_modified_time: ::Time
1686
+ attr_accessor size: ::Integer
1670
1687
  SENSITIVE: []
1671
1688
  end
1672
1689
 
@@ -2048,6 +2065,7 @@ module Aws::S3
2048
2065
  attr_accessor ssekms_key_id: ::String
2049
2066
  attr_accessor ssekms_encryption_context: ::String
2050
2067
  attr_accessor bucket_key_enabled: bool
2068
+ attr_accessor size: ::Integer
2051
2069
  attr_accessor request_charged: ("requester")
2052
2070
  SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
2053
2071
  end
@@ -2069,12 +2087,14 @@ module Aws::S3
2069
2087
  attr_accessor checksum_sha1: ::String
2070
2088
  attr_accessor checksum_sha256: ::String
2071
2089
  attr_accessor expires: ::Time
2090
+ attr_accessor if_match: ::String
2072
2091
  attr_accessor if_none_match: ::String
2073
2092
  attr_accessor grant_full_control: ::String
2074
2093
  attr_accessor grant_read: ::String
2075
2094
  attr_accessor grant_read_acp: ::String
2076
2095
  attr_accessor grant_write_acp: ::String
2077
2096
  attr_accessor key: ::String
2097
+ attr_accessor write_offset_bytes: ::Integer
2078
2098
  attr_accessor metadata: ::Hash[::String, ::String]
2079
2099
  attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
2080
2100
  attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
@@ -2437,6 +2457,9 @@ module Aws::S3
2437
2457
  SENSITIVE: []
2438
2458
  end
2439
2459
 
2460
+ class TooManyParts < Aws::EmptyStructure
2461
+ end
2462
+
2440
2463
  class TopicConfiguration
2441
2464
  attr_accessor id: ::String
2442
2465
  attr_accessor topic_arn: ::String
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.169.0
4
+ version: 1.175.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-10-18 00:00:00.000000000 Z
11
+ date: 2024-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms