aws-sdk-core 3.104.0 → 3.105.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.
@@ -42,9 +42,9 @@ require_relative 'aws-sdk-sts/customizations'
42
42
  #
43
43
  # See {Errors} for more information.
44
44
  #
45
- # @service
45
+ # @!group service
46
46
  module Aws::STS
47
47
 
48
- GEM_VERSION = '3.104.0'
48
+ GEM_VERSION = '3.105.0'
49
49
 
50
50
  end
@@ -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::SharedCredentials` - Used for loading credentials from a
94
- # shared file, such as `~/.aws/config`.
107
+ # * `Aws::ECSCredentials` - Used for loading credentials from
108
+ # instances running in ECS.
95
109
  #
96
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
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 are
107
- # very aggressive. Construct and pass an instance of
108
- # `Aws::InstanceProfileCredentails` to enable retries and extended
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.104.0'
2207
+ context[:gem_version] = '3.105.0'
2193
2208
  Seahorse::Client::Request.new(handlers, context)
2194
2209
  end
2195
2210
 
@@ -171,10 +171,9 @@ module Seahorse
171
171
  # seconds to wait when opening an HTTP session before raising a
172
172
  # `Timeout::Error`.
173
173
  #
174
- # @option options [Integer] :http_read_timeout (60) The default
175
- # number of seconds to wait for response data. This value can
176
- # safely be set
177
- # per-request on the session yielded by {#session_for}.
174
+ # @option options [Float] :http_read_timeout (60) The default
175
+ # number of seconds to wait for response data. This value can be
176
+ # safely set per-request on the session yielded by {#session_for}.
178
177
  #
179
178
  # @option options [Float] :http_idle_timeout (5) The number of
180
179
  # seconds a connection is allowed to sit idle before it is
@@ -63,7 +63,7 @@ bytes in the body.
63
63
  # @api private
64
64
  class OptionHandler < Client::Handler
65
65
  def call(context)
66
- if context.params.is_a?(Hash)
66
+ if context.params.is_a?(Hash) && context.params[:on_chunk_sent]
67
67
  on_chunk_sent = context.params.delete(:on_chunk_sent)
68
68
  end
69
69
  on_chunk_sent = context.config.on_chunk_sent if on_chunk_sent.nil?
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.104.0
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-07-15 00:00:00.000000000 Z
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