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.
data/lib/aws-sdk-s3.rb CHANGED
@@ -73,6 +73,6 @@ require_relative 'aws-sdk-s3/event_streams'
73
73
  # @!group service
74
74
  module Aws::S3
75
75
 
76
- GEM_VERSION = '1.162.0'
76
+ GEM_VERSION = '1.163.0'
77
77
 
78
78
  end
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
- SENSITIVE: []
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.162.0
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 00:00:00.000000000 Z
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