aws-sdk-s3 1.162.0 → 1.163.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +120 -43
- data/lib/aws-sdk-s3/client.rb +1081 -388
- data/lib/aws-sdk-s3/client_api.rb +8 -0
- data/lib/aws-sdk-s3/object.rb +336 -129
- data/lib/aws-sdk-s3/object_summary.rb +324 -109
- data/lib/aws-sdk-s3/object_version.rb +14 -8
- data/lib/aws-sdk-s3/types.rb +644 -306
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/client.rbs +9 -1
- data/sig/types.rbs +10 -2
- metadata +2 -2
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -292,12 +292,20 @@ module Aws
|
|
292
292
|
|
293
293
|
interface _CreateSessionResponseSuccess
|
294
294
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionOutput]
|
295
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
296
|
+
def ssekms_key_id: () -> ::String
|
297
|
+
def ssekms_encryption_context: () -> ::String
|
298
|
+
def bucket_key_enabled: () -> bool
|
295
299
|
def credentials: () -> Types::SessionCredentials
|
296
300
|
end
|
297
301
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_session-instance_method
|
298
302
|
def create_session: (
|
299
303
|
?session_mode: ("ReadOnly" | "ReadWrite"),
|
300
|
-
bucket: ::String
|
304
|
+
bucket: ::String,
|
305
|
+
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
306
|
+
?ssekms_key_id: ::String,
|
307
|
+
?ssekms_encryption_context: ::String,
|
308
|
+
?bucket_key_enabled: bool
|
301
309
|
) -> _CreateSessionResponseSuccess
|
302
310
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
|
303
311
|
|
data/sig/types.rbs
CHANGED
@@ -381,14 +381,22 @@ module Aws::S3
|
|
381
381
|
end
|
382
382
|
|
383
383
|
class CreateSessionOutput
|
384
|
+
attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
|
385
|
+
attr_accessor ssekms_key_id: ::String
|
386
|
+
attr_accessor ssekms_encryption_context: ::String
|
387
|
+
attr_accessor bucket_key_enabled: bool
|
384
388
|
attr_accessor credentials: Types::SessionCredentials
|
385
|
-
SENSITIVE: []
|
389
|
+
SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
|
386
390
|
end
|
387
391
|
|
388
392
|
class CreateSessionRequest
|
389
393
|
attr_accessor session_mode: ("ReadOnly" | "ReadWrite")
|
390
394
|
attr_accessor bucket: ::String
|
391
|
-
|
395
|
+
attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
|
396
|
+
attr_accessor ssekms_key_id: ::String
|
397
|
+
attr_accessor ssekms_encryption_context: ::String
|
398
|
+
attr_accessor bucket_key_enabled: bool
|
399
|
+
SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
|
392
400
|
end
|
393
401
|
|
394
402
|
class DefaultRetention
|
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.163.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-09-
|
11
|
+
date: 2024-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|