aws-sdk-s3 1.160.0 → 1.166.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 +30 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +123 -43
- data/lib/aws-sdk-s3/client.rb +1097 -394
- data/lib/aws-sdk-s3/client_api.rb +9 -0
- data/lib/aws-sdk-s3/customizations/object.rb +6 -0
- data/lib/aws-sdk-s3/customizations/object_summary.rb +5 -0
- data/lib/aws-sdk-s3/customizations/object_version.rb +13 -0
- data/lib/aws-sdk-s3/customizations.rb +24 -38
- data/lib/aws-sdk-s3/endpoints.rb +99 -396
- data/lib/aws-sdk-s3/errors.rb +3 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +3 -0
- data/lib/aws-sdk-s3/object.rb +339 -129
- data/lib/aws-sdk-s3/object_summary.rb +327 -109
- data/lib/aws-sdk-s3/object_version.rb +17 -8
- data/lib/aws-sdk-s3/plugins/endpoints.rb +23 -8
- data/lib/aws-sdk-s3/types.rb +647 -306
- data/lib/aws-sdk-s3.rb +35 -31
- data/sig/client.rbs +10 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +10 -2
- metadata +5 -4
data/lib/aws-sdk-s3.rb
CHANGED
@@ -12,36 +12,7 @@ require 'aws-sdk-kms'
|
|
12
12
|
require 'aws-sigv4'
|
13
13
|
require 'aws-sdk-core'
|
14
14
|
|
15
|
-
|
16
|
-
require_relative 'aws-sdk-s3/client_api'
|
17
|
-
require_relative 'aws-sdk-s3/plugins/endpoints.rb'
|
18
|
-
require_relative 'aws-sdk-s3/client'
|
19
|
-
require_relative 'aws-sdk-s3/errors'
|
20
|
-
require_relative 'aws-sdk-s3/waiters'
|
21
|
-
require_relative 'aws-sdk-s3/resource'
|
22
|
-
require_relative 'aws-sdk-s3/endpoint_parameters'
|
23
|
-
require_relative 'aws-sdk-s3/endpoint_provider'
|
24
|
-
require_relative 'aws-sdk-s3/endpoints'
|
25
|
-
require_relative 'aws-sdk-s3/bucket'
|
26
|
-
require_relative 'aws-sdk-s3/bucket_acl'
|
27
|
-
require_relative 'aws-sdk-s3/bucket_cors'
|
28
|
-
require_relative 'aws-sdk-s3/bucket_lifecycle'
|
29
|
-
require_relative 'aws-sdk-s3/bucket_lifecycle_configuration'
|
30
|
-
require_relative 'aws-sdk-s3/bucket_logging'
|
31
|
-
require_relative 'aws-sdk-s3/bucket_notification'
|
32
|
-
require_relative 'aws-sdk-s3/bucket_policy'
|
33
|
-
require_relative 'aws-sdk-s3/bucket_request_payment'
|
34
|
-
require_relative 'aws-sdk-s3/bucket_tagging'
|
35
|
-
require_relative 'aws-sdk-s3/bucket_versioning'
|
36
|
-
require_relative 'aws-sdk-s3/bucket_website'
|
37
|
-
require_relative 'aws-sdk-s3/multipart_upload'
|
38
|
-
require_relative 'aws-sdk-s3/multipart_upload_part'
|
39
|
-
require_relative 'aws-sdk-s3/object'
|
40
|
-
require_relative 'aws-sdk-s3/object_acl'
|
41
|
-
require_relative 'aws-sdk-s3/object_summary'
|
42
|
-
require_relative 'aws-sdk-s3/object_version'
|
43
|
-
require_relative 'aws-sdk-s3/customizations'
|
44
|
-
require_relative 'aws-sdk-s3/event_streams'
|
15
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:s3)
|
45
16
|
|
46
17
|
# This module provides support for Amazon Simple Storage Service. This module is available in the
|
47
18
|
# `aws-sdk-s3` gem.
|
@@ -72,7 +43,40 @@ require_relative 'aws-sdk-s3/event_streams'
|
|
72
43
|
#
|
73
44
|
# @!group service
|
74
45
|
module Aws::S3
|
46
|
+
autoload :Types, 'aws-sdk-s3/types'
|
47
|
+
autoload :ClientApi, 'aws-sdk-s3/client_api'
|
48
|
+
module Plugins
|
49
|
+
autoload :Endpoints, 'aws-sdk-s3/plugins/endpoints.rb'
|
50
|
+
end
|
51
|
+
autoload :Client, 'aws-sdk-s3/client'
|
52
|
+
autoload :Errors, 'aws-sdk-s3/errors'
|
53
|
+
autoload :Waiters, 'aws-sdk-s3/waiters'
|
54
|
+
autoload :Resource, 'aws-sdk-s3/resource'
|
55
|
+
autoload :EndpointParameters, 'aws-sdk-s3/endpoint_parameters'
|
56
|
+
autoload :EndpointProvider, 'aws-sdk-s3/endpoint_provider'
|
57
|
+
autoload :Endpoints, 'aws-sdk-s3/endpoints'
|
58
|
+
autoload :Bucket, 'aws-sdk-s3/bucket'
|
59
|
+
autoload :BucketAcl, 'aws-sdk-s3/bucket_acl'
|
60
|
+
autoload :BucketCors, 'aws-sdk-s3/bucket_cors'
|
61
|
+
autoload :BucketLifecycle, 'aws-sdk-s3/bucket_lifecycle'
|
62
|
+
autoload :BucketLifecycleConfiguration, 'aws-sdk-s3/bucket_lifecycle_configuration'
|
63
|
+
autoload :BucketLogging, 'aws-sdk-s3/bucket_logging'
|
64
|
+
autoload :BucketNotification, 'aws-sdk-s3/bucket_notification'
|
65
|
+
autoload :BucketPolicy, 'aws-sdk-s3/bucket_policy'
|
66
|
+
autoload :BucketRequestPayment, 'aws-sdk-s3/bucket_request_payment'
|
67
|
+
autoload :BucketTagging, 'aws-sdk-s3/bucket_tagging'
|
68
|
+
autoload :BucketVersioning, 'aws-sdk-s3/bucket_versioning'
|
69
|
+
autoload :BucketWebsite, 'aws-sdk-s3/bucket_website'
|
70
|
+
autoload :MultipartUpload, 'aws-sdk-s3/multipart_upload'
|
71
|
+
autoload :MultipartUploadPart, 'aws-sdk-s3/multipart_upload_part'
|
72
|
+
autoload :Object, 'aws-sdk-s3/object'
|
73
|
+
autoload :ObjectAcl, 'aws-sdk-s3/object_acl'
|
74
|
+
autoload :ObjectSummary, 'aws-sdk-s3/object_summary'
|
75
|
+
autoload :ObjectVersion, 'aws-sdk-s3/object_version'
|
76
|
+
autoload :EventStreams, 'aws-sdk-s3/event_streams'
|
75
77
|
|
76
|
-
GEM_VERSION = '1.
|
78
|
+
GEM_VERSION = '1.166.0'
|
77
79
|
|
78
80
|
end
|
81
|
+
|
82
|
+
require_relative 'aws-sdk-s3/customizations'
|
data/sig/client.rbs
CHANGED
@@ -17,6 +17,7 @@ module Aws
|
|
17
17
|
?access_grants: bool,
|
18
18
|
?access_grants_credentials_provider: untyped,
|
19
19
|
?access_key_id: String,
|
20
|
+
?account_id: String,
|
20
21
|
?active_endpoint_cache: bool,
|
21
22
|
?adaptive_retry_wait_to_fill: bool,
|
22
23
|
?client_side_monitoring: bool,
|
@@ -292,12 +293,20 @@ module Aws
|
|
292
293
|
|
293
294
|
interface _CreateSessionResponseSuccess
|
294
295
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionOutput]
|
296
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
297
|
+
def ssekms_key_id: () -> ::String
|
298
|
+
def ssekms_encryption_context: () -> ::String
|
299
|
+
def bucket_key_enabled: () -> bool
|
295
300
|
def credentials: () -> Types::SessionCredentials
|
296
301
|
end
|
297
302
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_session-instance_method
|
298
303
|
def create_session: (
|
299
304
|
?session_mode: ("ReadOnly" | "ReadWrite"),
|
300
|
-
bucket: ::String
|
305
|
+
bucket: ::String,
|
306
|
+
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
307
|
+
?ssekms_key_id: ::String,
|
308
|
+
?ssekms_encryption_context: ::String,
|
309
|
+
?bucket_key_enabled: bool
|
301
310
|
) -> _CreateSessionResponseSuccess
|
302
311
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
|
303
312
|
|
data/sig/resource.rbs
CHANGED
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.166.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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '3'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 3.
|
50
|
+
version: 3.207.0
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '3'
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 3.
|
60
|
+
version: 3.207.0
|
61
61
|
description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
|
62
62
|
This gem is part of the AWS SDK for Ruby.
|
63
63
|
email:
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- lib/aws-sdk-s3/customizations/multipart_upload.rb
|
94
94
|
- lib/aws-sdk-s3/customizations/object.rb
|
95
95
|
- lib/aws-sdk-s3/customizations/object_summary.rb
|
96
|
+
- lib/aws-sdk-s3/customizations/object_version.rb
|
96
97
|
- lib/aws-sdk-s3/customizations/types/list_object_versions_output.rb
|
97
98
|
- lib/aws-sdk-s3/customizations/types/permanent_redirect.rb
|
98
99
|
- lib/aws-sdk-s3/encryption.rb
|