aws-sdk-s3control 1.21.0 → 1.22.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-s3control.rb +2 -2
- data/lib/aws-sdk-s3control/client.rb +23 -8
- data/lib/aws-sdk-s3control/plugins/dualstack.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91e6ea3b210d0a39fc487a2837face8de0ad075b2641d6e580c1665ebe6c0249
|
|
4
|
+
data.tar.gz: ad6d774afaf809daba8f7688283865cdd0eb68c45672814225d6f0a23922eb53
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48b50f77cb22e7037be15393298c81c70d02e4583c6610cec945bde69982d786879921e249634a1d125d58836fb2769b2dae8066203bf8cbfc85ce80164f052e
|
|
7
|
+
data.tar.gz: 718399507cf13dc0170f1a4e7e844c49600b93ac5a60c547c225e6fc0545c3a8a76f30778e63704d2f9db3ebefe69d59b1c298292465f4cf5e3fab91743557ca
|
data/lib/aws-sdk-s3control.rb
CHANGED
|
@@ -91,13 +91,28 @@ module Aws::S3Control
|
|
|
91
91
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
92
92
|
# credentials.
|
|
93
93
|
#
|
|
94
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
|
95
|
+
# shared file, such as `~/.aws/config`.
|
|
96
|
+
#
|
|
97
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
|
98
|
+
#
|
|
99
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
|
100
|
+
# assume a role after providing credentials via the web.
|
|
101
|
+
#
|
|
102
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
|
103
|
+
# access token generated from `aws login`.
|
|
104
|
+
#
|
|
105
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
|
106
|
+
# process that outputs to stdout.
|
|
107
|
+
#
|
|
94
108
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
95
109
|
# from an EC2 IMDS on an EC2 instance.
|
|
96
110
|
#
|
|
97
|
-
# * `Aws::
|
|
98
|
-
#
|
|
111
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
|
112
|
+
# instances running in ECS.
|
|
99
113
|
#
|
|
100
|
-
# * `Aws::
|
|
114
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
|
115
|
+
# from the Cognito Identity service.
|
|
101
116
|
#
|
|
102
117
|
# When `:credentials` are not configured directly, the following
|
|
103
118
|
# locations will be searched for credentials:
|
|
@@ -107,10 +122,10 @@ module Aws::S3Control
|
|
|
107
122
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
|
108
123
|
# * `~/.aws/credentials`
|
|
109
124
|
# * `~/.aws/config`
|
|
110
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
|
111
|
-
# very aggressive. Construct and pass an instance of
|
|
112
|
-
# `Aws::InstanceProfileCredentails`
|
|
113
|
-
# timeouts.
|
|
125
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
|
126
|
+
# are very aggressive. Construct and pass an instance of
|
|
127
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
|
128
|
+
# enable retries and extended timeouts.
|
|
114
129
|
#
|
|
115
130
|
# @option options [required, String] :region
|
|
116
131
|
# The AWS region to connect to. The configured `:region` is
|
|
@@ -1485,7 +1500,7 @@ module Aws::S3Control
|
|
|
1485
1500
|
params: params,
|
|
1486
1501
|
config: config)
|
|
1487
1502
|
context[:gem_name] = 'aws-sdk-s3control'
|
|
1488
|
-
context[:gem_version] = '1.
|
|
1503
|
+
context[:gem_version] = '1.22.0'
|
|
1489
1504
|
Seahorse::Client::Request.new(handlers, context)
|
|
1490
1505
|
end
|
|
1491
1506
|
|
|
@@ -22,7 +22,9 @@ for all operations.
|
|
|
22
22
|
# @api private
|
|
23
23
|
class OptionHandler < Seahorse::Client::Handler
|
|
24
24
|
def call(context)
|
|
25
|
-
|
|
25
|
+
if context.params.is_a?(Hash)
|
|
26
|
+
dualstack = context.params.delete(:use_dualstack_endpoint)
|
|
27
|
+
end
|
|
26
28
|
dualstack = context.config.use_dualstack_endpoint if dualstack.nil?
|
|
27
29
|
context[:use_dualstack_endpoint] = dualstack
|
|
28
30
|
@handler.call(context)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-s3control
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.22.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: 2020-
|
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sigv4
|