aws-sdk-s3 1.114.0 → 1.117.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 +17 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +22 -5
- data/lib/aws-sdk-s3/client_api.rb +189 -189
- data/lib/aws-sdk-s3/customizations/bucket.rb +20 -46
- data/lib/aws-sdk-s3/endpoint_parameters.rb +142 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +2020 -0
- data/lib/aws-sdk-s3/endpoints.rb +2149 -0
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +25 -6
- data/lib/aws-sdk-s3/plugins/accelerate.rb +3 -50
- data/lib/aws-sdk-s3/plugins/arn.rb +0 -184
- data/lib/aws-sdk-s3/plugins/bucket_dns.rb +3 -39
- data/lib/aws-sdk-s3/plugins/bucket_name_restrictions.rb +1 -6
- data/lib/aws-sdk-s3/plugins/dualstack.rb +1 -49
- data/lib/aws-sdk-s3/plugins/endpoints.rb +262 -0
- data/lib/aws-sdk-s3/plugins/expect_100_continue.rb +2 -1
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +0 -29
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +27 -123
- data/lib/aws-sdk-s3/presigned_post.rb +9 -16
- data/lib/aws-sdk-s3/presigner.rb +19 -34
- data/lib/aws-sdk-s3/resource.rb +1 -1
- data/lib/aws-sdk-s3/types.rb +2 -2
- data/lib/aws-sdk-s3.rb +5 -1
- metadata +8 -9
- data/lib/aws-sdk-s3/arn/access_point_arn.rb +0 -69
- data/lib/aws-sdk-s3/arn/multi_region_access_point_arn.rb +0 -68
- data/lib/aws-sdk-s3/arn/object_lambda_arn.rb +0 -69
- data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +0 -74
- data/lib/aws-sdk-s3/plugins/object_lambda_endpoint.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c57bd85c31e9145cb81fb6ed6d55a6ae00c9a2d13362c24c9d7c7c86c43e9cb
|
4
|
+
data.tar.gz: ffffe9d8d0c276a4d59b0b96d17217c66e5c61a0ee0f2471abcbf9adf9672837
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 885a47f8868cd2b0bd9399dcbf42e3a4f162768040a2ebbd1e3dacf7d1be85508d9c3812a28798db85cc0736cc6a1f83df2f59e4d2e57ebc4a9ad2cfba53b03c
|
7
|
+
data.tar.gz: a18ad0a87a455c14be004e2c1f4a225e5014c69351b2c86ed228622f650876a7a67ec2ccba6b735f77fb0e42fb20e25f57cea96a89f3e23964f4d687cffe8405
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,23 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.117.0 (2022-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Apply checksums to MultipartStreamUploader (#2769).
|
10
|
+
|
11
|
+
1.116.0 (2022-10-21)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - S3 on Outposts launches support for automatic bucket-style alias. You can use the automatic access point alias instead of an access point ARN for any object-level operation in an Outposts bucket.
|
15
|
+
|
16
|
+
1.115.0 (2022-10-19)
|
17
|
+
------------------
|
18
|
+
|
19
|
+
* Feature - Updates internal logic for constructing API endpoints. We have added rule-based endpoints and internal model parameters.
|
20
|
+
|
4
21
|
1.114.0 (2022-05-03)
|
5
22
|
------------------
|
6
23
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.117.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -223,7 +223,7 @@ module Aws::S3
|
|
223
223
|
# bucket.create({
|
224
224
|
# acl: "private", # accepts private, public-read, public-read-write, authenticated-read
|
225
225
|
# create_bucket_configuration: {
|
226
|
-
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, 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
|
226
|
+
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, 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-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
|
227
227
|
# },
|
228
228
|
# grant_full_control: "GrantFullControl",
|
229
229
|
# grant_read: "GrantRead",
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -30,6 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
33
34
|
require 'aws-sdk-core/plugins/protocols/rest_xml.rb'
|
34
35
|
require 'aws-sdk-s3/plugins/accelerate.rb'
|
35
36
|
require 'aws-sdk-s3/plugins/arn.rb'
|
@@ -42,7 +43,6 @@ require 'aws-sdk-s3/plugins/http_200_errors.rb'
|
|
42
43
|
require 'aws-sdk-s3/plugins/iad_regional_endpoint.rb'
|
43
44
|
require 'aws-sdk-s3/plugins/location_constraint.rb'
|
44
45
|
require 'aws-sdk-s3/plugins/md5s.rb'
|
45
|
-
require 'aws-sdk-s3/plugins/object_lambda_endpoint.rb'
|
46
46
|
require 'aws-sdk-s3/plugins/redirects.rb'
|
47
47
|
require 'aws-sdk-s3/plugins/s3_host_id.rb'
|
48
48
|
require 'aws-sdk-s3/plugins/s3_signer.rb'
|
@@ -98,6 +98,7 @@ module Aws::S3
|
|
98
98
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
99
99
|
add_plugin(Aws::Plugins::DefaultsMode)
|
100
100
|
add_plugin(Aws::Plugins::RecursionDetection)
|
101
|
+
add_plugin(Aws::Plugins::Sign)
|
101
102
|
add_plugin(Aws::Plugins::Protocols::RestXml)
|
102
103
|
add_plugin(Aws::S3::Plugins::Accelerate)
|
103
104
|
add_plugin(Aws::S3::Plugins::ARN)
|
@@ -110,7 +111,6 @@ module Aws::S3
|
|
110
111
|
add_plugin(Aws::S3::Plugins::IADRegionalEndpoint)
|
111
112
|
add_plugin(Aws::S3::Plugins::LocationConstraint)
|
112
113
|
add_plugin(Aws::S3::Plugins::Md5s)
|
113
|
-
add_plugin(Aws::S3::Plugins::ObjectLambdaEndpoint)
|
114
114
|
add_plugin(Aws::S3::Plugins::Redirects)
|
115
115
|
add_plugin(Aws::S3::Plugins::S3HostId)
|
116
116
|
add_plugin(Aws::S3::Plugins::S3Signer)
|
@@ -119,6 +119,7 @@ module Aws::S3
|
|
119
119
|
add_plugin(Aws::S3::Plugins::UrlEncodedKeys)
|
120
120
|
add_plugin(Aws::S3::Plugins::SkipWholeMultipartGetChecksums)
|
121
121
|
add_plugin(Aws::Plugins::EventStreamConfiguration)
|
122
|
+
add_plugin(Aws::S3::Plugins::Endpoints)
|
122
123
|
|
123
124
|
# @overload initialize(options)
|
124
125
|
# @param [Hash] options
|
@@ -368,6 +369,19 @@ module Aws::S3
|
|
368
369
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
369
370
|
# requests are made, and retries are disabled.
|
370
371
|
#
|
372
|
+
# @option options [Aws::TokenProvider] :token_provider
|
373
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
374
|
+
# following classes:
|
375
|
+
#
|
376
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
377
|
+
# tokens.
|
378
|
+
#
|
379
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
380
|
+
# access token generated from `aws login`.
|
381
|
+
#
|
382
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
383
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
384
|
+
#
|
371
385
|
# @option options [Boolean] :use_accelerate_endpoint (false)
|
372
386
|
# When set to `true`, accelerated bucket endpoints will be used
|
373
387
|
# for all object operations. You must first enable accelerate for
|
@@ -386,6 +400,9 @@ module Aws::S3
|
|
386
400
|
# When `true`, request parameters are validated before
|
387
401
|
# sending the request.
|
388
402
|
#
|
403
|
+
# @option options [Aws::S3::EndpointProvider] :endpoint_provider
|
404
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::S3::EndpointParameters`
|
405
|
+
#
|
389
406
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
390
407
|
# requests through. Formatted like 'http://proxy.com:123'.
|
391
408
|
#
|
@@ -1697,7 +1714,7 @@ module Aws::S3
|
|
1697
1714
|
# acl: "private", # accepts private, public-read, public-read-write, authenticated-read
|
1698
1715
|
# bucket: "BucketName", # required
|
1699
1716
|
# create_bucket_configuration: {
|
1700
|
-
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, 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
|
1717
|
+
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, 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-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
|
1701
1718
|
# },
|
1702
1719
|
# grant_full_control: "GrantFullControl",
|
1703
1720
|
# grant_read: "GrantRead",
|
@@ -4418,7 +4435,7 @@ module Aws::S3
|
|
4418
4435
|
#
|
4419
4436
|
# @example Response structure
|
4420
4437
|
#
|
4421
|
-
# resp.location_constraint #=> String, one of "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ca-central-1", "cn-north-1", "cn-northwest-1", "EU", "eu-central-1", "eu-north-1", "eu-south-1", "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"
|
4438
|
+
# resp.location_constraint #=> String, one of "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "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-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"
|
4422
4439
|
#
|
4423
4440
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation AWS API Documentation
|
4424
4441
|
#
|
@@ -15337,7 +15354,7 @@ module Aws::S3
|
|
15337
15354
|
params: params,
|
15338
15355
|
config: config)
|
15339
15356
|
context[:gem_name] = 'aws-sdk-s3'
|
15340
|
-
context[:gem_version] = '1.
|
15357
|
+
context[:gem_version] = '1.117.0'
|
15341
15358
|
Seahorse::Client::Request.new(handlers, context)
|
15342
15359
|
end
|
15343
15360
|
|