aws-sdk-core 3.258.0 → 3.260.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/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/ca-bundle.crt +0 -26
- data/lib/aws-sdk-core/plugins/retries/clock_skew.rb +39 -21
- data/lib/aws-sdk-core/plugins/retries/error_inspector.rb +12 -2
- data/lib/aws-sdk-core/plugins/retry_errors.rb +45 -7
- data/lib/aws-sdk-core/plugins/sign.rb +21 -10
- data/lib/aws-sdk-core/plugins/signature_v4.rb +13 -1
- data/lib/aws-sdk-core/shared_config.rb +1 -0
- data/lib/aws-sdk-signin/client.rb +10 -3
- data/lib/aws-sdk-signin.rb +1 -1
- data/lib/aws-sdk-sso/client.rb +10 -3
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +10 -3
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +10 -3
- data/lib/aws-sdk-sts.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fdf3489f3be6d6fe071ddf109dc612c7049e906ef12f425d009e7a58bfc746bb
|
|
4
|
+
data.tar.gz: a0cfa6a42abe97a7cf38238ab4ad6b3a29aabd5d9f6f18532460595a9af9aeac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd1b2e75d6997cd9474986a6dffb87adee2d9aecfcdaf85f70ed9633a3cb4bb21e30bc11faea17e68b945a6aa180c23e900ed95c256b68f56f09cdd86f35d974
|
|
7
|
+
data.tar.gz: 6f126a87838230567b55780f57e6ad85019480cea159b9b7f504ed9309d8e7675adf0232ec60fdaeb583b4117aadab4fa8e36fed111ec42a0026f3e53c60df13
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
3.260.0 (2026-10-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Issue - Remove the `AAA Certificate Services` root from the bundled CA file. It cross-signed eMudhra intermediate CAs whose private keys were compromised. This only affects applications that opt in with `Aws.use_bundled_cert!` and use it to reach non-AWS endpoints; AWS service endpoints are not affected.
|
|
8
|
+
|
|
9
|
+
* Feature - Bump the minimum version of the aws-eventstream dependency.
|
|
10
|
+
|
|
11
|
+
3.259.0 (2026-10-20)
|
|
12
|
+
------------------
|
|
13
|
+
|
|
14
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
|
15
|
+
|
|
16
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
|
17
|
+
|
|
18
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
|
19
|
+
|
|
20
|
+
* Feature - Updated Aws::Signin::Client with the latest API changes.
|
|
21
|
+
|
|
22
|
+
* Feature - Standardize clock skew correction: use a 4 minute detection threshold and an NTP-style midpoint calculation, refresh the stored correction from every response so a stale value can heal, and ignore cached (`Age` header) and slow (over 15 minute) responses. Add a `disable_clock_skew_correction` option (`AWS_DISABLE_CLOCK_SKEW_CORRECTION`) that takes precedence over `correct_clock_skew`, which continues to work when the new option is unset.
|
|
23
|
+
|
|
4
24
|
3.258.0 (2026-10-19)
|
|
5
25
|
------------------
|
|
6
26
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.260.0
|
data/ca-bundle.crt
CHANGED
|
@@ -851,32 +851,6 @@ fhiYtUU79nm06PcaewaD+9CL2rvHvRirCG88gGtAPxkZumWK5r7VXNM21+9AUiRg
|
|
|
851
851
|
OGcEMeyP84LG3rlV8zsxkVrctQgVrXYlCg17LofiDKYGvCYQbTed7N14jHyAxfDZ
|
|
852
852
|
d0jQ
|
|
853
853
|
-----END CERTIFICATE-----
|
|
854
|
-
# CN=AAA Certificate Services,O=Comodo CA Limited,L=Salford,ST=Greater Manchester,C=GB
|
|
855
|
-
-----BEGIN CERTIFICATE-----
|
|
856
|
-
MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEb
|
|
857
|
-
MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow
|
|
858
|
-
GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmlj
|
|
859
|
-
YXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAwMFoXDTI4MTIzMTIzNTk1OVowezEL
|
|
860
|
-
MAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE
|
|
861
|
-
BwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNVBAMM
|
|
862
|
-
GEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEP
|
|
863
|
-
ADCCAQoCggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQua
|
|
864
|
-
BtDFcCLNSS1UY8y2bmhGC1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe
|
|
865
|
-
3M/vg4aijJRPn2jymJBGhCfHdr/jzDUsi14HZGWCwEiwqJH5YZ92IFCokcdmtet4
|
|
866
|
-
YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszWY19zjNoFmag4qMsXeDZR
|
|
867
|
-
rOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjHYpy+g8cm
|
|
868
|
-
ez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQU
|
|
869
|
-
oBEKIz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF
|
|
870
|
-
MAMBAf8wewYDVR0fBHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20v
|
|
871
|
-
QUFBQ2VydGlmaWNhdGVTZXJ2aWNlcy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29t
|
|
872
|
-
b2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2VzLmNybDANBgkqhkiG9w0BAQUF
|
|
873
|
-
AAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm7l3sAg9g1o1Q
|
|
874
|
-
GE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz
|
|
875
|
-
Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2
|
|
876
|
-
G9w84FoVxp7Z8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsi
|
|
877
|
-
l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|
|
878
|
-
smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg==
|
|
879
|
-
-----END CERTIFICATE-----
|
|
880
854
|
# CN=COMODO Certification Authority,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB
|
|
881
855
|
-----BEGIN CERTIFICATE-----
|
|
882
856
|
MIIEHTCCAwWgAwIBAgIQToEtioJl4AsC7j41AkblPTANBgkqhkiG9w0BAQUFADCB
|
|
@@ -5,17 +5,18 @@ module Aws
|
|
|
5
5
|
module Retries
|
|
6
6
|
# @api private
|
|
7
7
|
class ClockSkew
|
|
8
|
-
|
|
8
|
+
# Skew detection threshold in seconds (4 minutes).
|
|
9
|
+
CLOCK_SKEW_THRESHOLD = 4 * 60
|
|
10
|
+
|
|
11
|
+
# Longest request round trip whose skew measurement is trusted (15 minutes).
|
|
12
|
+
MAX_TRUSTED_REQUEST_DURATION = 15 * 60
|
|
9
13
|
|
|
10
14
|
def initialize
|
|
11
15
|
@mutex = Mutex.new
|
|
12
|
-
#
|
|
13
|
-
# and only when time difference is greater than the
|
|
14
|
-
# CLOCK_SKEW_THRESHOLD
|
|
16
|
+
# Clock corrections applied to the signing timestamp, recorded on every response.
|
|
15
17
|
@endpoint_clock_corrections = Hash.new(0)
|
|
16
18
|
|
|
17
|
-
#
|
|
18
|
-
# and is used to estimate a TTL for requests
|
|
19
|
+
# Estimated skew, calculated on every request and used only to estimate a TTL.
|
|
19
20
|
@endpoint_estimated_skews = Hash.new(nil)
|
|
20
21
|
end
|
|
21
22
|
|
|
@@ -36,26 +37,23 @@ module Aws
|
|
|
36
37
|
@mutex.synchronize { @endpoint_estimated_skews[normalized_endpoint(endpoint)] }
|
|
37
38
|
end
|
|
38
39
|
|
|
39
|
-
#
|
|
40
|
-
# the current time against the server's time in the response
|
|
40
|
+
# Whether a response indicates skew large enough to warrant a retry; records nothing.
|
|
41
41
|
# @param context [Seahorse::Client::RequestContext]
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
# @param sent_at [Time, nil] raw (pre-skew) send time, for the midpoint calculation
|
|
43
|
+
def clock_skewed?(context, sent_at = nil)
|
|
44
|
+
candidate = candidate_skew(context, sent_at)
|
|
45
|
+
!!candidate && candidate.abs > CLOCK_SKEW_THRESHOLD
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
# Called
|
|
49
|
-
# Update the stored clock skew correction value for an endpoint
|
|
50
|
-
# from the server's time in the response
|
|
48
|
+
# Called on every response; records the skew candidate when one can be computed.
|
|
51
49
|
# @param context [Seahorse::Client::RequestContext]
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
return unless server_time && (now_utc - server_time).abs > CLOCK_SKEW_THRESHOLD
|
|
50
|
+
# @param sent_at [Time, nil] raw (pre-skew) send time, for the midpoint calculation
|
|
51
|
+
def update_clock_correction(context, sent_at = nil)
|
|
52
|
+
candidate = candidate_skew(context, sent_at)
|
|
53
|
+
return if candidate.nil?
|
|
57
54
|
|
|
58
|
-
|
|
55
|
+
endpoint = context.http_request.endpoint
|
|
56
|
+
set_clock_correction(normalized_endpoint(endpoint), candidate)
|
|
59
57
|
end
|
|
60
58
|
|
|
61
59
|
# Called for every request
|
|
@@ -75,6 +73,26 @@ module Aws
|
|
|
75
73
|
|
|
76
74
|
private
|
|
77
75
|
|
|
76
|
+
# Single source of truth for skew computation; returns a Float skew or nil.
|
|
77
|
+
# @param context [Seahorse::Client::RequestContext]
|
|
78
|
+
# @param sent_at [Time, nil] raw (pre-skew) send time; midpoint when present, else server - now
|
|
79
|
+
# @return [Float, nil]
|
|
80
|
+
def candidate_skew(context, sent_at = nil)
|
|
81
|
+
response = context.http_response
|
|
82
|
+
server_time = server_time(response)
|
|
83
|
+
# No candidate if the Date header is absent/unparseable or the response was cached.
|
|
84
|
+
return nil if server_time.nil? || response.headers['age']
|
|
85
|
+
return server_time - Time.now.utc unless sent_at
|
|
86
|
+
|
|
87
|
+
received_at = Time.now.utc
|
|
88
|
+
elapsed = received_at - sent_at
|
|
89
|
+
# Discard if the request was too slow for the measurement to be trusted.
|
|
90
|
+
return nil if elapsed > MAX_TRUSTED_REQUEST_DURATION
|
|
91
|
+
|
|
92
|
+
# Midpoint formula (NTP clock offset, RFC 5905 section 8).
|
|
93
|
+
server_time - (sent_at + (elapsed / 2.0))
|
|
94
|
+
end
|
|
95
|
+
|
|
78
96
|
##
|
|
79
97
|
# @param endpoint [URI, String]
|
|
80
98
|
# the endpoint to normalize
|
|
@@ -53,7 +53,8 @@ module Aws
|
|
|
53
53
|
]
|
|
54
54
|
)
|
|
55
55
|
|
|
56
|
-
#
|
|
56
|
+
# Error codes that may indicate clock skew; retryable only when the
|
|
57
|
+
# computed skew exceeds the detection threshold.
|
|
57
58
|
CLOCK_SKEW_ERRORS = Set.new(
|
|
58
59
|
[
|
|
59
60
|
'RequestTimeTooSkewed',
|
|
@@ -61,6 +62,7 @@ module Aws
|
|
|
61
62
|
'InvalidSignatureException',
|
|
62
63
|
'SignatureDoesNotMatch',
|
|
63
64
|
'AuthFailure',
|
|
65
|
+
'AccessDeniedException',
|
|
64
66
|
'RequestInTheFuture'
|
|
65
67
|
]
|
|
66
68
|
)
|
|
@@ -113,8 +115,11 @@ module Aws
|
|
|
113
115
|
end
|
|
114
116
|
|
|
115
117
|
def clock_skew?(context)
|
|
118
|
+
return false if clock_skew_correction_disabled?(context.config)
|
|
119
|
+
|
|
120
|
+
sent_at = context.metadata[:clock_skew_request_sent_at]
|
|
116
121
|
CLOCK_SKEW_ERRORS.include?(@name) &&
|
|
117
|
-
context.config.clock_skew.clock_skewed?(context)
|
|
122
|
+
context.config.clock_skew.clock_skewed?(context, sent_at)
|
|
118
123
|
end
|
|
119
124
|
|
|
120
125
|
def retryable?(context)
|
|
@@ -130,6 +135,11 @@ module Aws
|
|
|
130
135
|
|
|
131
136
|
private
|
|
132
137
|
|
|
138
|
+
def clock_skew_correction_disabled?(config)
|
|
139
|
+
config.respond_to?(:disable_clock_skew_correction) &&
|
|
140
|
+
config.disable_clock_skew_correction
|
|
141
|
+
end
|
|
142
|
+
|
|
133
143
|
def refreshable_credentials?(context)
|
|
134
144
|
context.config.credentials.respond_to?(:refresh!)
|
|
135
145
|
end
|
|
@@ -146,12 +146,25 @@ module Aws
|
|
|
146
146
|
default: true,
|
|
147
147
|
doc_type: 'Boolean',
|
|
148
148
|
docstring: <<~DOCS) do |cfg|
|
|
149
|
-
Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
150
|
-
a clock skew correction and retry requests with skewed client
|
|
149
|
+
Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
150
|
+
to apply a clock skew correction and retry requests with skewed client
|
|
151
|
+
clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
151
152
|
DOCS
|
|
152
153
|
resolve_correct_clock_skew(cfg)
|
|
153
154
|
end
|
|
154
155
|
|
|
156
|
+
option(
|
|
157
|
+
:disable_clock_skew_correction,
|
|
158
|
+
doc_type: 'Boolean',
|
|
159
|
+
docstring: <<~DOCS) do |cfg|
|
|
160
|
+
Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
161
|
+
SDK does not apply a clock skew correction, does not update its stored
|
|
162
|
+
skew from responses, and does not retry clock skew errors. Clock skew
|
|
163
|
+
correction is enabled by default.
|
|
164
|
+
DOCS
|
|
165
|
+
resolve_disable_clock_skew_correction(cfg)
|
|
166
|
+
end
|
|
167
|
+
|
|
155
168
|
# @api private undocumented
|
|
156
169
|
option(:client_rate_limiter) { Retries::ClientRateLimiter.new }
|
|
157
170
|
|
|
@@ -246,6 +259,23 @@ module Aws
|
|
|
246
259
|
end
|
|
247
260
|
value == 'true'
|
|
248
261
|
end
|
|
262
|
+
|
|
263
|
+
def resolve_disable_clock_skew_correction(cfg)
|
|
264
|
+
value = ENV['AWS_DISABLE_CLOCK_SKEW_CORRECTION'] ||
|
|
265
|
+
Aws.shared_config.disable_clock_skew_correction(profile: cfg.profile)
|
|
266
|
+
# When the canonical option is unset, fall back to the
|
|
267
|
+
# correct_clock_skew option (disabled == !correct_clock_skew).
|
|
268
|
+
return !cfg.correct_clock_skew if value.nil?
|
|
269
|
+
|
|
270
|
+
# Raise if provided value is not true or false
|
|
271
|
+
if value != 'true' && value != 'false'
|
|
272
|
+
raise ArgumentError,
|
|
273
|
+
'Must provide either `true` or `false` for '\
|
|
274
|
+
'disable_clock_skew_correction profile option or for '\
|
|
275
|
+
'ENV[\'AWS_DISABLE_CLOCK_SKEW_CORRECTION\']'
|
|
276
|
+
end
|
|
277
|
+
value == 'true'
|
|
278
|
+
end
|
|
249
279
|
end
|
|
250
280
|
|
|
251
281
|
class Handler < Seahorse::Client::Handler
|
|
@@ -279,11 +309,12 @@ module Aws
|
|
|
279
309
|
config.endpoint_cache.delete(key)
|
|
280
310
|
end
|
|
281
311
|
|
|
282
|
-
#
|
|
283
|
-
#
|
|
284
|
-
#
|
|
285
|
-
|
|
286
|
-
|
|
312
|
+
# Record clock correction and estimated skew from every response
|
|
313
|
+
# (success or error) unless correction is disabled. Recording on every
|
|
314
|
+
# response lets a stale or bad value be healed by the next response.
|
|
315
|
+
unless clock_skew_correction_disabled?(config)
|
|
316
|
+
sent_at = context.metadata[:clock_skew_request_sent_at]
|
|
317
|
+
config.clock_skew.update_clock_correction(context, sent_at)
|
|
287
318
|
end
|
|
288
319
|
|
|
289
320
|
# Estimated skew needs to be updated on every request
|
|
@@ -321,6 +352,13 @@ module Aws
|
|
|
321
352
|
RetryErrors.new_retries?
|
|
322
353
|
end
|
|
323
354
|
|
|
355
|
+
# True when clock skew correction is turned off. The fallback
|
|
356
|
+
# correct_clock_skew option is folded in by the option resolver.
|
|
357
|
+
def clock_skew_correction_disabled?(config)
|
|
358
|
+
config.respond_to?(:disable_clock_skew_correction) &&
|
|
359
|
+
config.disable_clock_skew_correction
|
|
360
|
+
end
|
|
361
|
+
|
|
324
362
|
def with_metric(retry_mode, &block)
|
|
325
363
|
Aws::Plugins::UserAgent.metric("RETRY_MODE_#{retry_mode.upcase}", &block)
|
|
326
364
|
end
|
|
@@ -190,19 +190,30 @@ module Aws
|
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
def apply_clock_skew(context, req)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
193
|
+
return unless context.config.respond_to?(:clock_skew) &&
|
|
194
|
+
context.config.clock_skew &&
|
|
195
|
+
clock_skew_correction_enabled?(context.config)
|
|
196
|
+
|
|
197
|
+
# Capture the raw, pre-skew send time for this attempt for the midpoint calculation.
|
|
198
|
+
context.metadata[:clock_skew_request_sent_at] = Time.now.utc
|
|
199
|
+
|
|
200
|
+
endpoint = context.http_request.endpoint
|
|
201
|
+
skew = context.config.clock_skew.clock_correction(endpoint)
|
|
202
|
+
if skew.abs.positive?
|
|
203
|
+
req.headers['X-Amz-Date'] =
|
|
204
|
+
(Time.now.utc + skew).strftime('%Y%m%dT%H%M%SZ')
|
|
203
205
|
end
|
|
204
206
|
end
|
|
205
207
|
|
|
208
|
+
# Clock skew correction is on unless disabled by the option or the correct_clock_skew fallback.
|
|
209
|
+
def clock_skew_correction_enabled?(config)
|
|
210
|
+
if config.respond_to?(:disable_clock_skew_correction)
|
|
211
|
+
return !config.disable_clock_skew_correction
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
!config.respond_to?(:correct_clock_skew) || config.correct_clock_skew
|
|
215
|
+
end
|
|
216
|
+
|
|
206
217
|
end
|
|
207
218
|
|
|
208
219
|
# @api private
|
|
@@ -109,7 +109,10 @@ module Aws
|
|
|
109
109
|
|
|
110
110
|
if context.config.respond_to?(:clock_skew) &&
|
|
111
111
|
context.config.clock_skew &&
|
|
112
|
-
context.config
|
|
112
|
+
clock_skew_correction_enabled?(context.config)
|
|
113
|
+
|
|
114
|
+
# Capture the raw, pre-skew send time for this attempt.
|
|
115
|
+
context.metadata[:clock_skew_request_sent_at] = Time.now.utc
|
|
113
116
|
|
|
114
117
|
endpoint = context.http_request.endpoint
|
|
115
118
|
skew = context.config.clock_skew.clock_correction(endpoint)
|
|
@@ -138,6 +141,15 @@ module Aws
|
|
|
138
141
|
context[:string_to_sign] = signature.string_to_sign
|
|
139
142
|
end
|
|
140
143
|
|
|
144
|
+
# Clock skew correction is on unless disabled by the option or the correct_clock_skew fallback.
|
|
145
|
+
def clock_skew_correction_enabled?(config)
|
|
146
|
+
if config.respond_to?(:disable_clock_skew_correction)
|
|
147
|
+
return !config.disable_clock_skew_correction
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
!config.respond_to?(:correct_clock_skew) || config.correct_clock_skew
|
|
151
|
+
end
|
|
152
|
+
|
|
141
153
|
# @api private
|
|
142
154
|
def apply_authtype(context)
|
|
143
155
|
if context.operation['authtype'].eql?('v4-unsigned-body') &&
|
|
@@ -199,13 +199,20 @@ module Aws::Signin
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
-
# a clock skew correction and retry requests with skewed client
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
204
205
|
#
|
|
205
206
|
# @option options [String] :defaults_mode ("legacy")
|
|
206
207
|
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
207
208
|
# accepted modes and the configuration defaults that are included.
|
|
208
209
|
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
209
216
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
210
217
|
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
211
218
|
#
|
|
@@ -983,7 +990,7 @@ module Aws::Signin
|
|
|
983
990
|
tracer: tracer
|
|
984
991
|
)
|
|
985
992
|
context[:gem_name] = 'aws-sdk-core'
|
|
986
|
-
context[:gem_version] = '3.
|
|
993
|
+
context[:gem_version] = '3.260.0'
|
|
987
994
|
Seahorse::Client::Request.new(handlers, context)
|
|
988
995
|
end
|
|
989
996
|
|
data/lib/aws-sdk-signin.rb
CHANGED
data/lib/aws-sdk-sso/client.rb
CHANGED
|
@@ -199,13 +199,20 @@ module Aws::SSO
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
-
# a clock skew correction and retry requests with skewed client
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
204
205
|
#
|
|
205
206
|
# @option options [String] :defaults_mode ("legacy")
|
|
206
207
|
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
207
208
|
# accepted modes and the configuration defaults that are included.
|
|
208
209
|
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
209
216
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
210
217
|
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
211
218
|
#
|
|
@@ -696,7 +703,7 @@ module Aws::SSO
|
|
|
696
703
|
tracer: tracer
|
|
697
704
|
)
|
|
698
705
|
context[:gem_name] = 'aws-sdk-core'
|
|
699
|
-
context[:gem_version] = '3.
|
|
706
|
+
context[:gem_version] = '3.260.0'
|
|
700
707
|
Seahorse::Client::Request.new(handlers, context)
|
|
701
708
|
end
|
|
702
709
|
|
data/lib/aws-sdk-sso.rb
CHANGED
|
@@ -199,13 +199,20 @@ module Aws::SSOOIDC
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
-
# a clock skew correction and retry requests with skewed client
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
204
205
|
#
|
|
205
206
|
# @option options [String] :defaults_mode ("legacy")
|
|
206
207
|
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
207
208
|
# accepted modes and the configuration defaults that are included.
|
|
208
209
|
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
209
216
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
210
217
|
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
211
218
|
#
|
|
@@ -1079,7 +1086,7 @@ module Aws::SSOOIDC
|
|
|
1079
1086
|
tracer: tracer
|
|
1080
1087
|
)
|
|
1081
1088
|
context[:gem_name] = 'aws-sdk-core'
|
|
1082
|
-
context[:gem_version] = '3.
|
|
1089
|
+
context[:gem_version] = '3.260.0'
|
|
1083
1090
|
Seahorse::Client::Request.new(handlers, context)
|
|
1084
1091
|
end
|
|
1085
1092
|
|
data/lib/aws-sdk-ssooidc.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
|
@@ -201,13 +201,20 @@ module Aws::STS
|
|
|
201
201
|
# the required types.
|
|
202
202
|
#
|
|
203
203
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
204
|
-
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
205
|
-
# a clock skew correction and retry requests with skewed client
|
|
204
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
205
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
206
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
206
207
|
#
|
|
207
208
|
# @option options [String] :defaults_mode ("legacy")
|
|
208
209
|
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
209
210
|
# accepted modes and the configuration defaults that are included.
|
|
210
211
|
#
|
|
212
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
213
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
214
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
215
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
216
|
+
# correction is enabled by default.
|
|
217
|
+
#
|
|
211
218
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
212
219
|
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
213
220
|
#
|
|
@@ -2800,7 +2807,7 @@ module Aws::STS
|
|
|
2800
2807
|
tracer: tracer
|
|
2801
2808
|
)
|
|
2802
2809
|
context[:gem_name] = 'aws-sdk-core'
|
|
2803
|
-
context[:gem_version] = '3.
|
|
2810
|
+
context[:gem_version] = '3.260.0'
|
|
2804
2811
|
Seahorse::Client::Request.new(handlers, context)
|
|
2805
2812
|
end
|
|
2806
2813
|
|
data/lib/aws-sdk-sts.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.260.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '1'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 1.
|
|
21
|
+
version: 1.4.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '1'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 1.
|
|
31
|
+
version: 1.4.1
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-partitions
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|