aws-sdk-cognitoidentity 1.40.0 → 1.40.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d849ac9e7adc58f4161873832424e9a5e5a0d162be35207fb1d48a880a818e52
|
4
|
+
data.tar.gz: 59eafd6960ed25e69229616bb4c1b2deec59eb1ee83a23a196cce4c8e5767615
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8ce7efccfdc3d370f96049db3f7ee063ca5568eebf81ea643b448161bd963c67fc7b79180b6fa3bd9934eea0c260755ac8e4b37cf87bbd2a26cd10d5d659d46
|
7
|
+
data.tar.gz: cd4ae43971a41655d3e6238c471754f471d61992ac208497ab9333fa8265c75c07bc09008c5239ddda1f5abb8f88539b5a70fa094cc35a9296dd9a8269a5b78b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.40.
|
1
|
+
1.40.1
|
@@ -1631,7 +1631,7 @@ module Aws::CognitoIdentity
|
|
1631
1631
|
params: params,
|
1632
1632
|
config: config)
|
1633
1633
|
context[:gem_name] = 'aws-sdk-cognitoidentity'
|
1634
|
-
context[:gem_version] = '1.40.
|
1634
|
+
context[:gem_version] = '1.40.1'
|
1635
1635
|
Seahorse::Client::Request.new(handlers, context)
|
1636
1636
|
end
|
1637
1637
|
|
@@ -85,6 +85,10 @@ module Aws
|
|
85
85
|
@identity_id = options.delete(:identity_id)
|
86
86
|
@custom_role_arn = options.delete(:custom_role_arn)
|
87
87
|
@logins = options.delete(:logins) || {}
|
88
|
+
@async_refresh = false
|
89
|
+
|
90
|
+
client_opts = {}
|
91
|
+
options.each_pair { |k,v| client_opts[k] = v unless CLIENT_EXCLUDE_OPTIONS.include?(k) }
|
88
92
|
|
89
93
|
if !@identity_pool_id && !@identity_id
|
90
94
|
raise ArgumentError,
|
@@ -92,7 +96,7 @@ module Aws
|
|
92
96
|
end
|
93
97
|
|
94
98
|
@client = options[:client] || CognitoIdentity::Client.new(
|
95
|
-
|
99
|
+
client_opts.merge(credentials: false)
|
96
100
|
)
|
97
101
|
super
|
98
102
|
end
|
@@ -113,6 +117,8 @@ module Aws
|
|
113
117
|
private
|
114
118
|
|
115
119
|
def refresh
|
120
|
+
@before_refresh.call(self) if @before_refresh
|
121
|
+
|
116
122
|
resp = @client.get_credentials_for_identity(
|
117
123
|
identity_id: identity_id,
|
118
124
|
custom_role_arn: @custom_role_arn
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cognitoidentity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.40.
|
4
|
+
version: 1.40.1
|
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: 2022-
|
11
|
+
date: 2022-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|