aws-sdk-core 3.114.0 → 3.114.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05c92208568d6da15a22a13751f95250f41f75aee075c229041d9e5143508541
4
- data.tar.gz: 117caabce8194db97c873fd92597cbfcd1628f35f218233c7dd45d745e0796af
3
+ metadata.gz: a1dd9e12537e175d9432f61f925142ae9f7aa660125ad1866134ce28c6a2009b
4
+ data.tar.gz: 103d207e044719f1ffa1a11efe727b72e016b9f3d8ddfa15d148335925f52a1d
5
5
  SHA512:
6
- metadata.gz: c02e113926180f3a3fc82788b1017501ca7ff1e247dbaded8d3ea78cd35d3f5e4fb2c2e546e8327b1060d61824feab5750f820a04a3ae4d406c82c3ca25ad905
7
- data.tar.gz: e6eca7b1d0823f668bcff24331006def2d46ff43672da88612472e4ec2474f1bba1b0dc410f6e4a6897017f21cf7e4a452614a4657228d5246d3fba3895703a7
6
+ metadata.gz: 76deefb19456c5b81f044b1fe8c7fe87b7467dda6665fd793629faba642ddfd24395baf439437392f985c2bc55b0a876450ddd1129c866af6949d71ebd59ed43
7
+ data.tar.gz: e2544f0dfae67a080726cc9ecf73ef3a8e09e60e1afa7b2f4e1acd371514c5b867072b49f7018f6dfa34f23ebefebba5401616d397b09e42c1cf24cc1f1e4d28
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.114.2 (2021-06-09)
5
+ ------------------
6
+
7
+ * Issue - Fixed an issue with `Aws::PageableResponse` where intentionally nil tokens were not merged into the params for the next call.
8
+
9
+ 3.114.1 (2021-06-02)
10
+ ------------------
11
+
12
+ * Issue - Change XML Builder to not indent by default
13
+
4
14
  3.114.0 (2021-04-13)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.114.0
1
+ 3.114.2
@@ -115,6 +115,11 @@ module Aws
115
115
  # @return [Hash] Returns the hash of request parameters for the
116
116
  # next page, merging any given params.
117
117
  def next_page_params(params)
118
+ # Remove all previous tokens from original params
119
+ # Sometimes a token can be nil and merge would not include it.
120
+ @pager.tokens.each do |_k, v|
121
+ context[:original_params].delete(v.to_sym)
122
+ end
118
123
  context[:original_params].merge(@pager.next_tokens(self).merge(params))
119
124
  end
120
125
 
@@ -18,6 +18,9 @@ module Aws
18
18
  # @return [Symbol, nil]
19
19
  attr_reader :limit_key
20
20
 
21
+ # @return [Hash, nil]
22
+ attr_reader :tokens
23
+
21
24
  # @param [Seahorse::Client::Response] response
22
25
  # @return [Hash]
23
26
  def next_tokens(response)
@@ -8,8 +8,7 @@ module Aws
8
8
  # AWS CLI with the correct profile.
9
9
  #
10
10
  # For more background on AWS SSO see the official
11
- # {what is SSO}[https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html]
12
- # page.
11
+ # {https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html what is SSO Userguide}
13
12
  #
14
13
  # ## Refreshing Credentials from SSO
15
14
  #
@@ -29,7 +29,7 @@ module Aws
29
29
  private
30
30
 
31
31
  def content_type(api)
32
- "application/x-amz-json-#{api.metadata['jsonVerison']}"
32
+ "application/x-amz-json-#{api.metadata['jsonVersion']}"
33
33
  end
34
34
 
35
35
  def build_body(operation, data)
@@ -11,7 +11,7 @@ module Aws
11
11
  def initialize(rules, options = {})
12
12
  @rules = rules
13
13
  @xml = options[:target] || []
14
- indent = options[:indent] || ' '
14
+ indent = options[:indent] || ''
15
15
  pad = options[:pad] || ''
16
16
  @builder = DocBuilder.new(target: @xml, indent: indent, pad: pad)
17
17
  end
@@ -523,7 +523,7 @@ module Aws::SSO
523
523
  params: params,
524
524
  config: config)
525
525
  context[:gem_name] = 'aws-sdk-core'
526
- context[:gem_version] = '3.114.0'
526
+ context[:gem_version] = '3.114.2'
527
527
  Seahorse::Client::Request.new(handlers, context)
528
528
  end
529
529
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sso/customizations'
50
50
  # @!group service
51
51
  module Aws::SSO
52
52
 
53
- GEM_VERSION = '3.114.0'
53
+ GEM_VERSION = '3.114.2'
54
54
 
55
55
  end
@@ -2281,7 +2281,7 @@ module Aws::STS
2281
2281
  params: params,
2282
2282
  config: config)
2283
2283
  context[:gem_name] = 'aws-sdk-core'
2284
- context[:gem_version] = '3.114.0'
2284
+ context[:gem_version] = '3.114.2'
2285
2285
  Seahorse::Client::Request.new(handlers, context)
2286
2286
  end
2287
2287
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sts/customizations'
50
50
  # @!group service
51
51
  module Aws::STS
52
52
 
53
- GEM_VERSION = '3.114.0'
53
+ GEM_VERSION = '3.114.2'
54
54
 
55
55
  end
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.114.0
4
+ version: 3.114.2
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: 2021-04-13 00:00:00.000000000 Z
11
+ date: 2021-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath
@@ -307,8 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
307
307
  - !ruby/object:Gem::Version
308
308
  version: '0'
309
309
  requirements: []
310
- rubyforge_project:
311
- rubygems_version: 2.7.6.2
310
+ rubygems_version: 3.1.6
312
311
  signing_key:
313
312
  specification_version: 4
314
313
  summary: AWS SDK for Ruby - Core