aws-sdk-core 3.104.4 → 3.105.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/aws-sdk-core.rb +5 -3
- data/lib/aws-sdk-core/credential_provider_chain.rb +19 -0
- data/lib/aws-sdk-core/errors.rb +3 -0
- data/lib/aws-sdk-core/plugins/credentials_configuration.rb +22 -7
- data/lib/aws-sdk-core/shared_config.rb +32 -0
- data/lib/aws-sdk-core/sso_credentials.rb +116 -0
- data/lib/aws-sdk-sso.rb +52 -0
- data/lib/aws-sdk-sso/client.rb +548 -0
- data/lib/aws-sdk-sso/client_api.rb +190 -0
- data/lib/aws-sdk-sso/customizations.rb +1 -0
- data/lib/aws-sdk-sso/errors.rb +102 -0
- data/lib/aws-sdk-sso/plugins/content_type.rb +25 -0
- data/lib/aws-sdk-sso/resource.rb +26 -0
- data/lib/aws-sdk-sso/types.rb +352 -0
- data/lib/aws-sdk-sts.rb +2 -2
- data/lib/aws-sdk-sts/client.rb +23 -8
- metadata +11 -2
data/lib/aws-sdk-sts.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
@@ -87,13 +87,28 @@ module Aws::STS
|
|
87
87
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
88
88
|
# credentials.
|
89
89
|
#
|
90
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
91
|
+
# shared file, such as `~/.aws/config`.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
94
|
+
#
|
95
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
96
|
+
# assume a role after providing credentials via the web.
|
97
|
+
#
|
98
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
99
|
+
# access token generated from `aws login`.
|
100
|
+
#
|
101
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
102
|
+
# process that outputs to stdout.
|
103
|
+
#
|
90
104
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
91
105
|
# from an EC2 IMDS on an EC2 instance.
|
92
106
|
#
|
93
|
-
# * `Aws::
|
94
|
-
#
|
107
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
108
|
+
# instances running in ECS.
|
95
109
|
#
|
96
|
-
# * `Aws::
|
110
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
111
|
+
# from the Cognito Identity service.
|
97
112
|
#
|
98
113
|
# When `:credentials` are not configured directly, the following
|
99
114
|
# locations will be searched for credentials:
|
@@ -103,10 +118,10 @@ module Aws::STS
|
|
103
118
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
104
119
|
# * `~/.aws/credentials`
|
105
120
|
# * `~/.aws/config`
|
106
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
107
|
-
# very aggressive. Construct and pass an instance of
|
108
|
-
# `Aws::InstanceProfileCredentails`
|
109
|
-
# timeouts.
|
121
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
122
|
+
# are very aggressive. Construct and pass an instance of
|
123
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
124
|
+
# enable retries and extended timeouts.
|
110
125
|
#
|
111
126
|
# @option options [required, String] :region
|
112
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -2189,7 +2204,7 @@ module Aws::STS
|
|
2189
2204
|
params: params,
|
2190
2205
|
config: config)
|
2191
2206
|
context[:gem_name] = 'aws-sdk-core'
|
2192
|
-
context[:gem_version] = '3.
|
2207
|
+
context[:gem_version] = '3.105.0'
|
2193
2208
|
Seahorse::Client::Request.new(handlers, context)
|
2194
2209
|
end
|
2195
2210
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.105.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-08-
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -188,6 +188,7 @@ files:
|
|
188
188
|
- lib/aws-sdk-core/rest/response/status_code.rb
|
189
189
|
- lib/aws-sdk-core/shared_config.rb
|
190
190
|
- lib/aws-sdk-core/shared_credentials.rb
|
191
|
+
- lib/aws-sdk-core/sso_credentials.rb
|
191
192
|
- lib/aws-sdk-core/structure.rb
|
192
193
|
- lib/aws-sdk-core/stubbing/data_applicator.rb
|
193
194
|
- lib/aws-sdk-core/stubbing/empty_stub.rb
|
@@ -221,6 +222,14 @@ files:
|
|
221
222
|
- lib/aws-sdk-core/xml/parser/frame.rb
|
222
223
|
- lib/aws-sdk-core/xml/parser/parsing_error.rb
|
223
224
|
- lib/aws-sdk-core/xml/parser/stack.rb
|
225
|
+
- lib/aws-sdk-sso.rb
|
226
|
+
- lib/aws-sdk-sso/client.rb
|
227
|
+
- lib/aws-sdk-sso/client_api.rb
|
228
|
+
- lib/aws-sdk-sso/customizations.rb
|
229
|
+
- lib/aws-sdk-sso/errors.rb
|
230
|
+
- lib/aws-sdk-sso/plugins/content_type.rb
|
231
|
+
- lib/aws-sdk-sso/resource.rb
|
232
|
+
- lib/aws-sdk-sso/types.rb
|
224
233
|
- lib/aws-sdk-sts.rb
|
225
234
|
- lib/aws-sdk-sts/client.rb
|
226
235
|
- lib/aws-sdk-sts/client_api.rb
|