aws-sdk-core 3.103.0 → 3.130.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1304 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -1
- data/lib/aws-defaults/default_configuration.rb +153 -0
- data/lib/aws-defaults/defaults_mode_config_resolver.rb +107 -0
- data/lib/aws-defaults.rb +3 -0
- data/lib/aws-sdk-core/arn.rb +13 -0
- data/lib/aws-sdk-core/assume_role_credentials.rb +20 -1
- data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +9 -4
- data/lib/aws-sdk-core/client_stubs.rb +5 -1
- data/lib/aws-sdk-core/credential_provider_chain.rb +21 -1
- data/lib/aws-sdk-core/ec2_metadata.rb +238 -0
- data/lib/aws-sdk-core/ecs_credentials.rb +8 -4
- data/lib/aws-sdk-core/errors.rb +9 -2
- data/lib/aws-sdk-core/instance_profile_credentials.rb +122 -22
- data/lib/aws-sdk-core/json/json_engine.rb +10 -8
- data/lib/aws-sdk-core/json/oj_engine.rb +33 -6
- data/lib/aws-sdk-core/json/parser.rb +8 -0
- data/lib/aws-sdk-core/json.rb +8 -26
- data/lib/aws-sdk-core/log/formatter.rb +1 -1
- data/lib/aws-sdk-core/log/param_filter.rb +11 -3
- data/lib/aws-sdk-core/pageable_response.rb +80 -32
- data/lib/aws-sdk-core/pager.rb +3 -0
- data/lib/aws-sdk-core/param_validator.rb +52 -4
- data/lib/aws-sdk-core/plugins/api_key.rb +3 -1
- data/lib/aws-sdk-core/plugins/checksum_algorithm.rb +340 -0
- data/lib/aws-sdk-core/plugins/credentials_configuration.rb +24 -7
- data/lib/aws-sdk-core/plugins/defaults_mode.rb +40 -0
- data/lib/aws-sdk-core/plugins/endpoint_pattern.rb +6 -6
- data/lib/aws-sdk-core/plugins/http_checksum.rb +8 -1
- data/lib/aws-sdk-core/plugins/protocols/api_gateway.rb +17 -0
- data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +16 -1
- data/lib/aws-sdk-core/plugins/recursion_detection.rb +27 -0
- data/lib/aws-sdk-core/plugins/regional_endpoint.rb +48 -2
- data/lib/aws-sdk-core/plugins/response_paging.rb +1 -1
- data/lib/aws-sdk-core/plugins/retries/error_inspector.rb +5 -3
- data/lib/aws-sdk-core/plugins/retry_errors.rb +25 -8
- data/lib/aws-sdk-core/plugins/signature_v4.rb +15 -24
- data/lib/aws-sdk-core/plugins/stub_responses.rb +7 -1
- data/lib/aws-sdk-core/process_credentials.rb +5 -4
- data/lib/aws-sdk-core/refreshing_credentials.rb +42 -11
- data/lib/aws-sdk-core/rest/request/body.rb +19 -1
- data/lib/aws-sdk-core/rest/request/headers.rb +18 -6
- data/lib/aws-sdk-core/rest/response/headers.rb +4 -3
- data/lib/aws-sdk-core/shared_config.rb +60 -8
- data/lib/aws-sdk-core/shared_credentials.rb +7 -1
- data/lib/aws-sdk-core/sso_credentials.rb +141 -0
- data/lib/aws-sdk-core/structure.rb +10 -1
- data/lib/aws-sdk-core/stubbing/protocols/json.rb +1 -1
- data/lib/aws-sdk-core/stubbing/protocols/rest.rb +1 -1
- data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +1 -1
- data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +0 -2
- data/lib/aws-sdk-core/xml/builder.rb +2 -2
- data/lib/aws-sdk-core/xml/doc_builder.rb +6 -1
- data/lib/aws-sdk-core/xml/parser/engines/ox.rb +1 -1
- data/lib/aws-sdk-core/xml/parser/frame.rb +23 -0
- data/lib/aws-sdk-core/xml/parser.rb +5 -0
- data/lib/aws-sdk-core.rb +13 -3
- data/lib/aws-sdk-sso/client.rb +570 -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/resource.rb +26 -0
- data/lib/aws-sdk-sso/types.rb +352 -0
- data/lib/aws-sdk-sso.rb +55 -0
- data/lib/aws-sdk-sts/client.rb +536 -435
- data/lib/aws-sdk-sts/client_api.rb +7 -1
- data/lib/aws-sdk-sts/errors.rb +1 -1
- data/lib/aws-sdk-sts/plugins/sts_regional_endpoints.rb +5 -1
- data/lib/aws-sdk-sts/presigner.rb +7 -1
- data/lib/aws-sdk-sts/resource.rb +1 -1
- data/lib/aws-sdk-sts/types.rb +332 -193
- data/lib/aws-sdk-sts.rb +8 -3
- data/lib/seahorse/client/base.rb +1 -0
- data/lib/seahorse/client/block_io.rb +3 -2
- data/lib/seahorse/client/configuration.rb +4 -0
- data/lib/seahorse/client/h2/connection.rb +15 -13
- data/lib/seahorse/client/h2/handler.rb +4 -5
- data/lib/seahorse/client/http/response.rb +1 -1
- data/lib/seahorse/client/net_http/connection_pool.rb +10 -4
- data/lib/seahorse/client/net_http/handler.rb +17 -8
- data/lib/seahorse/client/net_http/patches.rb +13 -84
- data/lib/seahorse/client/plugins/content_length.rb +11 -5
- data/lib/seahorse/client/plugins/h2.rb +4 -1
- data/lib/seahorse/client/plugins/net_http.rb +37 -3
- data/lib/seahorse/client/plugins/request_callback.rb +110 -0
- data/lib/seahorse/client/plugins/response_target.rb +3 -4
- data/lib/seahorse/model/operation.rb +3 -0
- data/lib/seahorse/model/shapes.rb +25 -0
- data/lib/seahorse/util.rb +6 -1
- data/lib/seahorse.rb +1 -0
- metadata +26 -9
data/lib/seahorse/util.rb
CHANGED
@@ -6,7 +6,6 @@ module Seahorse
|
|
6
6
|
# @api private
|
7
7
|
module Util
|
8
8
|
class << self
|
9
|
-
|
10
9
|
def uri_escape(string)
|
11
10
|
CGI.escape(string.to_s.encode('UTF-8')).gsub('+', '%20').gsub('%7E', '~')
|
12
11
|
end
|
@@ -15,6 +14,12 @@ module Seahorse
|
|
15
14
|
path.gsub(/[^\/]+/) { |part| uri_escape(part) }
|
16
15
|
end
|
17
16
|
|
17
|
+
# Checks for a valid host label
|
18
|
+
# @see https://tools.ietf.org/html/rfc3986#section-3.2.2
|
19
|
+
# @see https://tools.ietf.org/html/rfc1123#page-13
|
20
|
+
def host_label?(str)
|
21
|
+
str =~ /^(?!-)[a-zA-Z0-9-]{1,63}(?<!-)$/
|
22
|
+
end
|
18
23
|
end
|
19
24
|
end
|
20
25
|
end
|
data/lib/seahorse.rb
CHANGED
@@ -50,6 +50,7 @@ require_relative 'seahorse/client/plugins/net_http'
|
|
50
50
|
require_relative 'seahorse/client/plugins/h2'
|
51
51
|
require_relative 'seahorse/client/plugins/raise_response_errors'
|
52
52
|
require_relative 'seahorse/client/plugins/response_target'
|
53
|
+
require_relative 'seahorse/client/plugins/request_callback'
|
53
54
|
|
54
55
|
# model
|
55
56
|
|
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.130.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:
|
11
|
+
date: 2022-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '1'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 1.
|
36
|
+
version: 1.525.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '1'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.
|
46
|
+
version: 1.525.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: aws-sigv4
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,8 +85,13 @@ executables: []
|
|
85
85
|
extensions: []
|
86
86
|
extra_rdoc_files: []
|
87
87
|
files:
|
88
|
+
- CHANGELOG.md
|
89
|
+
- LICENSE.txt
|
88
90
|
- VERSION
|
89
91
|
- ca-bundle.crt
|
92
|
+
- lib/aws-defaults.rb
|
93
|
+
- lib/aws-defaults/default_configuration.rb
|
94
|
+
- lib/aws-defaults/defaults_mode_config_resolver.rb
|
90
95
|
- lib/aws-sdk-core.rb
|
91
96
|
- lib/aws-sdk-core/arn.rb
|
92
97
|
- lib/aws-sdk-core/arn_parser.rb
|
@@ -108,6 +113,7 @@ files:
|
|
108
113
|
- lib/aws-sdk-core/credentials.rb
|
109
114
|
- lib/aws-sdk-core/deprecations.rb
|
110
115
|
- lib/aws-sdk-core/eager_loader.rb
|
116
|
+
- lib/aws-sdk-core/ec2_metadata.rb
|
111
117
|
- lib/aws-sdk-core/ecs_credentials.rb
|
112
118
|
- lib/aws-sdk-core/endpoint_cache.rb
|
113
119
|
- lib/aws-sdk-core/errors.rb
|
@@ -133,9 +139,11 @@ files:
|
|
133
139
|
- lib/aws-sdk-core/plugins/apig_authorizer_token.rb
|
134
140
|
- lib/aws-sdk-core/plugins/apig_credentials_configuration.rb
|
135
141
|
- lib/aws-sdk-core/plugins/apig_user_agent.rb
|
142
|
+
- lib/aws-sdk-core/plugins/checksum_algorithm.rb
|
136
143
|
- lib/aws-sdk-core/plugins/client_metrics_plugin.rb
|
137
144
|
- lib/aws-sdk-core/plugins/client_metrics_send_plugin.rb
|
138
145
|
- lib/aws-sdk-core/plugins/credentials_configuration.rb
|
146
|
+
- lib/aws-sdk-core/plugins/defaults_mode.rb
|
139
147
|
- lib/aws-sdk-core/plugins/endpoint_discovery.rb
|
140
148
|
- lib/aws-sdk-core/plugins/endpoint_pattern.rb
|
141
149
|
- lib/aws-sdk-core/plugins/event_stream_configuration.rb
|
@@ -154,6 +162,7 @@ files:
|
|
154
162
|
- lib/aws-sdk-core/plugins/protocols/query.rb
|
155
163
|
- lib/aws-sdk-core/plugins/protocols/rest_json.rb
|
156
164
|
- lib/aws-sdk-core/plugins/protocols/rest_xml.rb
|
165
|
+
- lib/aws-sdk-core/plugins/recursion_detection.rb
|
157
166
|
- lib/aws-sdk-core/plugins/regional_endpoint.rb
|
158
167
|
- lib/aws-sdk-core/plugins/response_paging.rb
|
159
168
|
- lib/aws-sdk-core/plugins/retries/client_rate_limiter.rb
|
@@ -188,6 +197,7 @@ files:
|
|
188
197
|
- lib/aws-sdk-core/rest/response/status_code.rb
|
189
198
|
- lib/aws-sdk-core/shared_config.rb
|
190
199
|
- lib/aws-sdk-core/shared_credentials.rb
|
200
|
+
- lib/aws-sdk-core/sso_credentials.rb
|
191
201
|
- lib/aws-sdk-core/structure.rb
|
192
202
|
- lib/aws-sdk-core/stubbing/data_applicator.rb
|
193
203
|
- lib/aws-sdk-core/stubbing/empty_stub.rb
|
@@ -221,6 +231,13 @@ files:
|
|
221
231
|
- lib/aws-sdk-core/xml/parser/frame.rb
|
222
232
|
- lib/aws-sdk-core/xml/parser/parsing_error.rb
|
223
233
|
- lib/aws-sdk-core/xml/parser/stack.rb
|
234
|
+
- lib/aws-sdk-sso.rb
|
235
|
+
- lib/aws-sdk-sso/client.rb
|
236
|
+
- lib/aws-sdk-sso/client_api.rb
|
237
|
+
- lib/aws-sdk-sso/customizations.rb
|
238
|
+
- lib/aws-sdk-sso/errors.rb
|
239
|
+
- lib/aws-sdk-sso/resource.rb
|
240
|
+
- lib/aws-sdk-sso/types.rb
|
224
241
|
- lib/aws-sdk-sts.rb
|
225
242
|
- lib/aws-sdk-sts/client.rb
|
226
243
|
- lib/aws-sdk-sts/client_api.rb
|
@@ -263,6 +280,7 @@ files:
|
|
263
280
|
- lib/seahorse/client/plugins/net_http.rb
|
264
281
|
- lib/seahorse/client/plugins/operation_methods.rb
|
265
282
|
- lib/seahorse/client/plugins/raise_response_errors.rb
|
283
|
+
- lib/seahorse/client/plugins/request_callback.rb
|
266
284
|
- lib/seahorse/client/plugins/response_target.rb
|
267
285
|
- lib/seahorse/client/request.rb
|
268
286
|
- lib/seahorse/client/request_context.rb
|
@@ -277,8 +295,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
277
295
|
licenses:
|
278
296
|
- Apache-2.0
|
279
297
|
metadata:
|
280
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
281
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
298
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-core
|
299
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-core/CHANGELOG.md
|
282
300
|
post_install_message:
|
283
301
|
rdoc_options: []
|
284
302
|
require_paths:
|
@@ -287,15 +305,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
287
305
|
requirements:
|
288
306
|
- - ">="
|
289
307
|
- !ruby/object:Gem::Version
|
290
|
-
version: '
|
308
|
+
version: '2.3'
|
291
309
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
292
310
|
requirements:
|
293
311
|
- - ">="
|
294
312
|
- !ruby/object:Gem::Version
|
295
313
|
version: '0'
|
296
314
|
requirements: []
|
297
|
-
|
298
|
-
rubygems_version: 2.7.6.2
|
315
|
+
rubygems_version: 3.1.6
|
299
316
|
signing_key:
|
300
317
|
specification_version: 4
|
301
318
|
summary: AWS SDK for Ruby - Core
|