aws-sdk-core 3.191.1 → 3.229.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 +539 -1
- data/VERSION +1 -1
- data/lib/aws-defaults/default_configuration.rb +1 -2
- data/lib/aws-defaults.rb +4 -1
- data/lib/aws-sdk-core/arn.rb +1 -3
- data/lib/aws-sdk-core/assume_role_credentials.rb +13 -5
- data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +14 -7
- data/lib/aws-sdk-core/binary/decode_handler.rb +3 -9
- data/lib/aws-sdk-core/binary/encode_handler.rb +1 -1
- data/lib/aws-sdk-core/binary/event_builder.rb +34 -37
- data/lib/aws-sdk-core/binary/event_stream_decoder.rb +1 -0
- data/lib/aws-sdk-core/binary/event_stream_encoder.rb +4 -3
- data/lib/aws-sdk-core/cbor/decoder.rb +308 -0
- data/lib/aws-sdk-core/cbor/encoder.rb +243 -0
- data/lib/aws-sdk-core/cbor.rb +53 -0
- data/lib/aws-sdk-core/client_side_monitoring.rb +9 -0
- data/lib/aws-sdk-core/client_stubs.rb +30 -55
- data/lib/aws-sdk-core/credential_provider.rb +4 -0
- data/lib/aws-sdk-core/credential_provider_chain.rb +38 -11
- data/lib/aws-sdk-core/credentials.rb +19 -6
- data/lib/aws-sdk-core/ec2_metadata.rb +1 -1
- data/lib/aws-sdk-core/ecs_credentials.rb +1 -0
- data/lib/aws-sdk-core/endpoints/endpoint.rb +3 -1
- data/lib/aws-sdk-core/endpoints/matchers.rb +8 -10
- data/lib/aws-sdk-core/endpoints.rb +101 -21
- data/lib/aws-sdk-core/error_handler.rb +46 -0
- data/lib/aws-sdk-core/errors.rb +11 -2
- data/lib/aws-sdk-core/event_emitter.rb +1 -17
- data/lib/aws-sdk-core/instance_profile_credentials.rb +148 -158
- data/lib/aws-sdk-core/json/builder.rb +8 -1
- data/lib/aws-sdk-core/json/error_handler.rb +29 -13
- data/lib/aws-sdk-core/json/handler.rb +6 -6
- data/lib/aws-sdk-core/json/json_engine.rb +3 -1
- data/lib/aws-sdk-core/json/oj_engine.rb +7 -1
- data/lib/aws-sdk-core/json/parser.rb +6 -1
- data/lib/aws-sdk-core/json.rb +43 -14
- data/lib/aws-sdk-core/log/param_filter.rb +2 -2
- data/lib/aws-sdk-core/log/param_formatter.rb +7 -3
- data/lib/aws-sdk-core/log.rb +10 -0
- data/lib/aws-sdk-core/lru_cache.rb +75 -0
- data/lib/aws-sdk-core/pageable_response.rb +1 -1
- data/lib/aws-sdk-core/param_validator.rb +7 -2
- data/lib/aws-sdk-core/plugins/bearer_authorization.rb +2 -0
- data/lib/aws-sdk-core/plugins/checksum_algorithm.rb +332 -169
- data/lib/aws-sdk-core/plugins/client_metrics_plugin.rb +0 -1
- data/lib/aws-sdk-core/plugins/client_metrics_send_plugin.rb +14 -2
- data/lib/aws-sdk-core/plugins/credentials_configuration.rb +77 -57
- data/lib/aws-sdk-core/plugins/endpoint_pattern.rb +40 -32
- data/lib/aws-sdk-core/plugins/global_configuration.rb +8 -9
- data/lib/aws-sdk-core/plugins/http_checksum.rb +2 -8
- data/lib/aws-sdk-core/plugins/invocation_id.rb +1 -11
- data/lib/aws-sdk-core/plugins/protocols/api_gateway.rb +3 -1
- data/lib/aws-sdk-core/plugins/protocols/ec2.rb +2 -24
- data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +6 -8
- data/lib/aws-sdk-core/plugins/protocols/query.rb +4 -2
- data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +3 -15
- data/lib/aws-sdk-core/plugins/protocols/rest_xml.rb +3 -0
- data/lib/aws-sdk-core/plugins/protocols/rpc_v2.rb +17 -0
- data/lib/aws-sdk-core/plugins/regional_endpoint.rb +74 -25
- data/lib/aws-sdk-core/plugins/request_compression.rb +11 -2
- data/lib/aws-sdk-core/plugins/retry_errors.rb +10 -3
- data/lib/aws-sdk-core/plugins/sign.rb +42 -26
- data/lib/aws-sdk-core/plugins/signature_v2.rb +2 -1
- data/lib/aws-sdk-core/plugins/signature_v4.rb +2 -1
- data/lib/aws-sdk-core/plugins/stub_responses.rb +58 -9
- data/lib/aws-sdk-core/plugins/telemetry.rb +75 -0
- data/lib/aws-sdk-core/plugins/transfer_encoding.rb +16 -9
- data/lib/aws-sdk-core/plugins/user_agent.rb +101 -26
- data/lib/aws-sdk-core/plugins.rb +39 -0
- data/lib/aws-sdk-core/process_credentials.rb +48 -29
- data/lib/aws-sdk-core/query/ec2_handler.rb +27 -0
- data/lib/aws-sdk-core/query/ec2_param_builder.rb +5 -7
- data/lib/aws-sdk-core/query/handler.rb +4 -4
- data/lib/aws-sdk-core/query/param_builder.rb +2 -2
- data/lib/aws-sdk-core/query.rb +2 -1
- data/lib/aws-sdk-core/resources.rb +8 -0
- data/lib/aws-sdk-core/rest/content_type_handler.rb +60 -0
- data/lib/aws-sdk-core/rest/handler.rb +3 -4
- data/lib/aws-sdk-core/rest/request/body.rb +32 -5
- data/lib/aws-sdk-core/rest/request/endpoint.rb +24 -4
- data/lib/aws-sdk-core/rest/request/headers.rb +15 -7
- data/lib/aws-sdk-core/rest/request/querystring_builder.rb +23 -11
- data/lib/aws-sdk-core/rest/response/body.rb +15 -1
- data/lib/aws-sdk-core/rest/response/header_list_parser.rb +79 -0
- data/lib/aws-sdk-core/rest/response/headers.rb +8 -3
- data/lib/aws-sdk-core/rest.rb +1 -0
- data/lib/aws-sdk-core/rpc_v2/builder.rb +62 -0
- data/lib/aws-sdk-core/rpc_v2/cbor_engine.rb +18 -0
- data/lib/aws-sdk-core/rpc_v2/content_type_handler.rb +47 -0
- data/lib/aws-sdk-core/rpc_v2/error_handler.rb +95 -0
- data/lib/aws-sdk-core/rpc_v2/handler.rb +79 -0
- data/lib/aws-sdk-core/rpc_v2/parser.rb +98 -0
- data/lib/aws-sdk-core/rpc_v2.rb +69 -0
- data/lib/aws-sdk-core/shared_config.rb +79 -22
- data/lib/aws-sdk-core/shared_credentials.rb +1 -7
- data/lib/aws-sdk-core/sso_credentials.rb +4 -1
- data/lib/aws-sdk-core/static_token_provider.rb +1 -2
- data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +12 -11
- data/lib/aws-sdk-core/stubbing/protocols/json.rb +11 -10
- data/lib/aws-sdk-core/stubbing/protocols/query.rb +7 -6
- data/lib/aws-sdk-core/stubbing/protocols/rest.rb +2 -1
- data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +9 -8
- data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +6 -5
- data/lib/aws-sdk-core/stubbing/protocols/rpc_v2.rb +39 -0
- data/lib/aws-sdk-core/stubbing.rb +22 -0
- data/lib/aws-sdk-core/telemetry/base.rb +177 -0
- data/lib/aws-sdk-core/telemetry/no_op.rb +70 -0
- data/lib/aws-sdk-core/telemetry/otel.rb +235 -0
- data/lib/aws-sdk-core/telemetry/span_kind.rb +22 -0
- data/lib/aws-sdk-core/telemetry/span_status.rb +59 -0
- data/lib/aws-sdk-core/telemetry.rb +78 -0
- data/lib/aws-sdk-core/token.rb +3 -3
- data/lib/aws-sdk-core/token_provider.rb +4 -0
- data/lib/aws-sdk-core/token_provider_chain.rb +2 -6
- data/lib/aws-sdk-core/util.rb +41 -1
- data/lib/aws-sdk-core/waiters/poller.rb +10 -5
- data/lib/aws-sdk-core/xml/builder.rb +17 -9
- data/lib/aws-sdk-core/xml/error_handler.rb +35 -43
- data/lib/aws-sdk-core/xml/parser/frame.rb +4 -20
- data/lib/aws-sdk-core/xml/parser/stack.rb +2 -0
- data/lib/aws-sdk-core/xml/parser.rb +2 -6
- data/lib/aws-sdk-core.rb +82 -107
- data/lib/aws-sdk-sso/client.rb +189 -96
- data/lib/aws-sdk-sso/client_api.rb +7 -0
- data/lib/aws-sdk-sso/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-sso/endpoint_provider.rb +14 -18
- data/lib/aws-sdk-sso/endpoints.rb +2 -54
- data/lib/aws-sdk-sso/plugins/endpoints.rb +19 -20
- data/lib/aws-sdk-sso/types.rb +1 -0
- data/lib/aws-sdk-sso.rb +15 -11
- data/lib/aws-sdk-ssooidc/client.rb +274 -116
- data/lib/aws-sdk-ssooidc/client_api.rb +33 -0
- data/lib/aws-sdk-ssooidc/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-ssooidc/endpoint_provider.rb +14 -18
- data/lib/aws-sdk-ssooidc/endpoints.rb +2 -54
- data/lib/aws-sdk-ssooidc/errors.rb +21 -0
- data/lib/aws-sdk-ssooidc/plugins/endpoints.rb +19 -20
- data/lib/aws-sdk-ssooidc/types.rb +125 -24
- data/lib/aws-sdk-ssooidc.rb +15 -11
- data/lib/aws-sdk-sts/client.rb +397 -148
- data/lib/aws-sdk-sts/client_api.rb +36 -8
- data/lib/aws-sdk-sts/customizations.rb +5 -1
- data/lib/aws-sdk-sts/endpoint_parameters.rb +10 -9
- data/lib/aws-sdk-sts/endpoint_provider.rb +50 -55
- data/lib/aws-sdk-sts/endpoints.rb +2 -118
- data/lib/aws-sdk-sts/errors.rb +15 -0
- data/lib/aws-sdk-sts/plugins/endpoints.rb +19 -28
- data/lib/aws-sdk-sts/presigner.rb +2 -6
- data/lib/aws-sdk-sts/types.rb +171 -28
- data/lib/aws-sdk-sts.rb +15 -11
- data/lib/seahorse/client/async_base.rb +4 -5
- data/lib/seahorse/client/async_response.rb +19 -0
- data/lib/seahorse/client/base.rb +18 -21
- data/lib/seahorse/client/h2/connection.rb +18 -28
- data/lib/seahorse/client/h2/handler.rb +14 -3
- data/lib/seahorse/client/handler.rb +1 -1
- data/lib/seahorse/client/http/response.rb +1 -1
- data/lib/seahorse/client/net_http/connection_pool.rb +15 -12
- data/lib/seahorse/client/net_http/handler.rb +21 -9
- data/lib/seahorse/client/networking_error.rb +1 -1
- data/lib/seahorse/client/plugin.rb +8 -0
- data/lib/seahorse/client/plugins/endpoint.rb +0 -1
- data/lib/seahorse/client/plugins/h2.rb +4 -4
- data/lib/seahorse/client/plugins/net_http.rb +57 -16
- data/lib/seahorse/client/request_context.rb +9 -2
- data/lib/seahorse/client/response.rb +2 -0
- data/lib/seahorse/model/shapes.rb +2 -2
- data/lib/seahorse/util.rb +2 -1
- data/sig/aws-sdk-core/async_client_stubs.rbs +21 -0
- data/sig/aws-sdk-core/telemetry/base.rbs +46 -0
- data/sig/aws-sdk-core/telemetry/otel.rbs +22 -0
- data/sig/aws-sdk-core/telemetry/span_kind.rbs +15 -0
- data/sig/aws-sdk-core/telemetry/span_status.rbs +24 -0
- data/sig/seahorse/client/async_base.rbs +18 -0
- metadata +96 -23
- /data/lib/aws-sdk-core/xml/parser/{engines/libxml.rb → libxml_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/nokogiri.rb → nokogiri_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/oga.rb → oga_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/ox.rb → ox_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/rexml.rb → rexml_engine.rb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc59968a13d46354d79845e8249b17859fa38bdb7fbb8c34d7b65d88a4ba944e
|
4
|
+
data.tar.gz: 8e320632b66e1cc387e614bcdbb21bcfd4fce75e76829b01cd625be5db34b6f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad44f4003065f24cdf6900730ef1c19c665041ab130fd9ffde41f69571b1dd87ac18073ced4d7d94884707b79067ba6f8ff3d9f8bfe3e576ca70ec1cf014f14e
|
7
|
+
data.tar.gz: de124ed509b1f008238d79221f2ddd71685a2dfc9eb039daaffa7c2202b01581b14c1d234a2c2f292131b51b5155f2504eeee858b31e814e97ec88d467cdbbd0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,544 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.229.0 (2025-08-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
8
|
+
|
9
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
10
|
+
|
11
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
12
|
+
|
13
|
+
3.228.0 (2025-07-31)
|
14
|
+
------------------
|
15
|
+
|
16
|
+
* Feature - Add `bigdecimal` as a dependency. For systems that are not able to build native extension gems, prefer the locally installed `bigdecimal` with `bundle install --prefer-local`.
|
17
|
+
|
18
|
+
3.227.0 (2025-07-21)
|
19
|
+
------------------
|
20
|
+
|
21
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
22
|
+
|
23
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
24
|
+
|
25
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
26
|
+
|
27
|
+
* Feature - Support an auth scheme signing preference list using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or `auth_scheme_preference` in shared configuration.
|
28
|
+
|
29
|
+
* Feature - Support metric tracking for Bedrock Bearer tokens.
|
30
|
+
|
31
|
+
3.226.3 (2025-07-17)
|
32
|
+
------------------
|
33
|
+
|
34
|
+
* Issue - Skip `Aws::InstanceProfileCredentials` instantiation when `ENV['AWS_EC2_METADATA_DISABLED']` is set to `true` in the credential resolution chain.
|
35
|
+
|
36
|
+
* Issue - Refactor `InstanceProfileCredentials` to improve code clarity and documentation.
|
37
|
+
|
38
|
+
3.226.2 (2025-07-01)
|
39
|
+
------------------
|
40
|
+
|
41
|
+
* Issue - Document incorrect behavior in protocol error parsing (specifically around query and query compatible services).
|
42
|
+
|
43
|
+
3.226.1 (2025-06-24)
|
44
|
+
------------------
|
45
|
+
|
46
|
+
* Issue - Fixed spelling in the `Aws::Errors::SignalEventError` error message.
|
47
|
+
|
48
|
+
3.226.0 (2025-06-17)
|
49
|
+
------------------
|
50
|
+
|
51
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
52
|
+
|
53
|
+
* Feature - The AWS Security Token Service APIs AssumeRoleWithSAML and AssumeRoleWithWebIdentity can now be invoked without pre-configured AWS credentials in the SDK configuration.
|
54
|
+
|
55
|
+
3.225.2 (2025-06-10)
|
56
|
+
------------------
|
57
|
+
|
58
|
+
* Issue - Only load required `cgi` modules for Ruby 3.5.
|
59
|
+
|
60
|
+
3.225.1 (2025-06-05)
|
61
|
+
------------------
|
62
|
+
|
63
|
+
* Issue - Fix RPCv2 parser to handle flattened list and flattened map members correctly for `AwsQueryCompatible` services.
|
64
|
+
|
65
|
+
3.225.0 (2025-06-02)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Feature - AWS SDK for Ruby no longer supports Ruby runtime versions 2.5 and 2.6.
|
69
|
+
|
70
|
+
3.224.1 (2025-05-28)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Issue - Signal data in http response listeners prior to writing, so that data can be inspected or verified before potential mutation.
|
74
|
+
|
75
|
+
3.224.0 (2025-05-12)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
79
|
+
|
80
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
81
|
+
|
82
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
83
|
+
|
84
|
+
* Feature - Support `ENV['AWS_DISABLE_HOST_PREFIX_INJECTION']` and `disable_host_prefix_injection` shared config to disable host prefix injection for all services.
|
85
|
+
|
86
|
+
3.223.0 (2025-05-01)
|
87
|
+
------------------
|
88
|
+
|
89
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
90
|
+
|
91
|
+
3.222.3 (2025-04-28)
|
92
|
+
------------------
|
93
|
+
|
94
|
+
* Issue - Do not dynamically create operation methods from the API. (#3234)
|
95
|
+
|
96
|
+
3.222.2 (2025-04-16)
|
97
|
+
------------------
|
98
|
+
|
99
|
+
* Issue - Additional metrics collection for credentials in the User-Agent plugin.
|
100
|
+
|
101
|
+
3.222.1 (2025-03-28)
|
102
|
+
------------------
|
103
|
+
|
104
|
+
* Issue - Allow explicit modeled headers to override prefixed headers for `rest` protocols.
|
105
|
+
|
106
|
+
3.222.0 (2025-03-27)
|
107
|
+
------------------
|
108
|
+
|
109
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
110
|
+
|
111
|
+
* Feature - This release adds AwsAdditionalDetails in the CreateTokenWithIAM API response.
|
112
|
+
|
113
|
+
3.221.0 (2025-03-24)
|
114
|
+
------------------
|
115
|
+
|
116
|
+
* Feature - Add `logger` as an explicit dependency for Ruby 3.5.
|
117
|
+
* Issue - Enable ALPN over TLS for H2 Connection by default.
|
118
|
+
* Issue - Fix HTTP-2 connections to properly use config values configured on the client.
|
119
|
+
|
120
|
+
3.220.2 (2025-03-20)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Issue - Enable ALPN over TLS for H2 by default.
|
124
|
+
|
125
|
+
3.220.1 (2025-03-06)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Issue - Convert stubs at request time.
|
129
|
+
|
130
|
+
3.220.0 (2025-03-04)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
134
|
+
|
135
|
+
3.219.0 (2025-02-18)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
139
|
+
|
140
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
141
|
+
|
142
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
143
|
+
|
144
|
+
3.218.1 (2025-02-07)
|
145
|
+
------------------
|
146
|
+
|
147
|
+
* Issue - Add handling of block in ExtendedSession delegation (#3178).
|
148
|
+
|
149
|
+
3.218.0 (2025-02-06)
|
150
|
+
------------------
|
151
|
+
|
152
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
153
|
+
|
154
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
155
|
+
|
156
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
157
|
+
|
158
|
+
3.217.1 (2025-01-30)
|
159
|
+
------------------
|
160
|
+
|
161
|
+
* Issue - Add `transfer-encoding` and `connection` to list of unsigned sigv4 headers.
|
162
|
+
|
163
|
+
3.217.0 (2025-01-24)
|
164
|
+
------------------
|
165
|
+
|
166
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
167
|
+
|
168
|
+
* Feature - Fixed typos in the descriptions.
|
169
|
+
|
170
|
+
3.216.1 (2025-01-22)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Issue - Use epoch seconds instead of milliseconds in cbor encode/decode.
|
174
|
+
|
175
|
+
* Issue - Add handling of block in response delegation (#3169).
|
176
|
+
|
177
|
+
3.216.0 (2025-01-15)
|
178
|
+
------------------
|
179
|
+
|
180
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
181
|
+
|
182
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
183
|
+
|
184
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
185
|
+
|
186
|
+
* Feature - Always calculate request checksums for operations that support or require it. Supported config options are `when_supported` and `when_required`. The default value is `when_supported`. This option is configured in code with `:request_checksum_calculation`, in the shared config file as `request_checksum_calculation`, and in the ENV as `ENV['AWS_REQUEST_CHECKSUM_CALCULATION']`.
|
187
|
+
|
188
|
+
* Feature - Always validate response checksums for operations that support or require it. Supported config options are `when_supported` and `when_required`. The default value is `when_supported`. This option is configured in code with `:response_checksum_validation`, in the shared config file as `response_checksum_validation`, and in the ENV as `ENV['AWS_RESPONSE_CHECKSUM_VALIDATION']`.
|
189
|
+
|
190
|
+
* Feature - Support CRC64NVME checksums through the `aws-crt` gem.
|
191
|
+
|
192
|
+
3.215.1 (2025-01-14)
|
193
|
+
------------------
|
194
|
+
|
195
|
+
* Issue - Fixed error when attempting to log an unlinked tempfile.
|
196
|
+
|
197
|
+
3.215.0 (2025-01-10)
|
198
|
+
------------------
|
199
|
+
|
200
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
201
|
+
|
202
|
+
* Feature - Fixed typos in the descriptions.
|
203
|
+
|
204
|
+
3.214.1 (2024-12-28)
|
205
|
+
------------------
|
206
|
+
|
207
|
+
* Issue - Fix documentation that references a non-existent method.
|
208
|
+
|
209
|
+
3.214.0 (2024-11-25)
|
210
|
+
------------------
|
211
|
+
|
212
|
+
* Feature - Updated configuration values for `defaults_mode`.
|
213
|
+
|
214
|
+
3.213.0 (2024-11-14)
|
215
|
+
------------------
|
216
|
+
|
217
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
218
|
+
|
219
|
+
* Feature - This release introduces the new API 'AssumeRoot', which returns short-term credentials that you can use to perform privileged tasks.
|
220
|
+
|
221
|
+
3.212.0 (2024-11-06)
|
222
|
+
------------------
|
223
|
+
|
224
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
225
|
+
|
226
|
+
3.211.0 (2024-10-21)
|
227
|
+
------------------
|
228
|
+
|
229
|
+
* Feature - Support functionality for services that migrate from AWS Query to AWS JSON or CBOR.
|
230
|
+
|
231
|
+
* Issue - Fix RPCv2 protocol to always send an Accept header for CBOR.
|
232
|
+
|
233
|
+
3.210.0 (2024-10-18)
|
234
|
+
------------------
|
235
|
+
|
236
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
237
|
+
|
238
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
239
|
+
|
240
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
241
|
+
|
242
|
+
* Feature - reduce memory usage by not using legacy endpoint data unless required.
|
243
|
+
|
244
|
+
3.209.1 (2024-09-25)
|
245
|
+
------------------
|
246
|
+
|
247
|
+
* Issue - Add all core plugins to autoloads.
|
248
|
+
|
249
|
+
3.209.0 (2024-09-24)
|
250
|
+
------------------
|
251
|
+
|
252
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
253
|
+
|
254
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
255
|
+
|
256
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
257
|
+
|
258
|
+
* Issue - Add service identifiers to GlobalConfig's list of identifiers outside of autoload (#3113).
|
259
|
+
|
260
|
+
* Issue - Ignore invalid ARNs when trying to parse accountId in assume role credentials.
|
261
|
+
|
262
|
+
3.208.0 (2024-09-23)
|
263
|
+
------------------
|
264
|
+
|
265
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
266
|
+
|
267
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
268
|
+
|
269
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
270
|
+
|
271
|
+
* Feature - Use autoloading at the service level to load service clients and resources.
|
272
|
+
|
273
|
+
3.207.0 (2024-09-20)
|
274
|
+
------------------
|
275
|
+
|
276
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
277
|
+
|
278
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
279
|
+
|
280
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
281
|
+
|
282
|
+
* Feature - Support Account ID credentials using `ENV['AWS_ACCOUNT_ID']`, `aws_account_id` shared config, or the `account_id` Client configuration option.
|
283
|
+
|
284
|
+
* Feature - Support Account ID endpoint mode using `ENV['AWS_ACCOUNT_ID_ENDPOINT_MODE']`, `aws_account_id_endpoint_mode` shared config, or the `account_id_endpoint_mode` Client configuration option. Defaults to `preferred`, which will use the account id endpoint if available. Set to `disabled` to disable account id endpoints. Set to `required` to require account id endpoint usage; an error is raised if credentials do not have an account id.
|
285
|
+
|
286
|
+
3.206.0 (2024-09-17)
|
287
|
+
------------------
|
288
|
+
|
289
|
+
* Feature - Support `sigv4a` endpoint auth without CRT.
|
290
|
+
|
291
|
+
3.205.0 (2024-09-11)
|
292
|
+
------------------
|
293
|
+
|
294
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
295
|
+
|
296
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
297
|
+
|
298
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
299
|
+
|
300
|
+
* Issue - Additional metrics collection in the User-Agent plugin.
|
301
|
+
|
302
|
+
3.204.0 (2024-09-10)
|
303
|
+
------------------
|
304
|
+
|
305
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
306
|
+
|
307
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
308
|
+
|
309
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
310
|
+
|
311
|
+
* Issue - Add support for `ssl_cert` and `ssl_key` configuration options to support mTLS.
|
312
|
+
|
313
|
+
3.203.0 (2024-09-03)
|
314
|
+
------------------
|
315
|
+
|
316
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
317
|
+
|
318
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
319
|
+
|
320
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
321
|
+
|
322
|
+
* Feature - Add support for Observability which includes a configuration, `telemetry_provider` and an OpenTelemetry-based telemetry provider.
|
323
|
+
|
324
|
+
3.202.2 (2024-08-30)
|
325
|
+
------------------
|
326
|
+
|
327
|
+
* Issue - revert auto-loading of bundled gems.
|
328
|
+
|
329
|
+
3.202.1 (2024-08-29)
|
330
|
+
------------------
|
331
|
+
|
332
|
+
* Issue - require default plugins when loading aws-sdk-core.
|
333
|
+
|
334
|
+
3.202.0 (2024-08-27)
|
335
|
+
------------------
|
336
|
+
|
337
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
338
|
+
|
339
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
340
|
+
|
341
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
342
|
+
|
343
|
+
* Issue - Reduce initial memory usage by auto-loading bundled gems (STS, SSO, SSOOIDC).
|
344
|
+
|
345
|
+
3.201.5 (2024-08-15)
|
346
|
+
------------------
|
347
|
+
|
348
|
+
* Issue - Allow legacy/undocumented `sigv4_signer` configuration to override resolved signer.
|
349
|
+
|
350
|
+
* Issue - Consider sigv4a supported without crt check.
|
351
|
+
|
352
|
+
3.201.4 (2024-08-08)
|
353
|
+
------------------
|
354
|
+
|
355
|
+
* Issue - Update waiters to handle expected boolean values when matching errors.
|
356
|
+
|
357
|
+
3.201.3 (2024-07-23)
|
358
|
+
------------------
|
359
|
+
|
360
|
+
* Issue - Add `disableNormalizePath` when resolving auth_scheme for S3.
|
361
|
+
|
362
|
+
3.201.2 (2024-07-18)
|
363
|
+
------------------
|
364
|
+
|
365
|
+
* Issue - Allow modeled types to be used for Union inputs.
|
366
|
+
* Issue - Ensure that nested sensitive members and sensitive members of lists and maps are filtered.
|
367
|
+
|
368
|
+
3.201.1 (2024-07-05)
|
369
|
+
------------------
|
370
|
+
|
371
|
+
* Issue - Fix `Aws::ProcessCredentials` warning in cases where shared config is used.
|
372
|
+
|
373
|
+
3.201.0 (2024-07-02)
|
374
|
+
------------------
|
375
|
+
|
376
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
377
|
+
|
378
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
379
|
+
|
380
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
381
|
+
|
382
|
+
* Feature - Support `auth` trait to enable SigV4a based services.
|
383
|
+
|
384
|
+
* Feature - Support configuration for sigv4a signing regions using `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`, `sigv4a_signing_region_set` shared config, or the `sigv4a_signing_region_set` client option.
|
385
|
+
|
386
|
+
3.200.0 (2024-06-28)
|
387
|
+
------------------
|
388
|
+
|
389
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
390
|
+
|
391
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
392
|
+
|
393
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
394
|
+
|
395
|
+
3.199.0 (2024-06-25)
|
396
|
+
------------------
|
397
|
+
|
398
|
+
* Feature - Support RpcV2 protocol.
|
399
|
+
|
400
|
+
* Feature - Add CBOR encoder and decoder.
|
401
|
+
|
402
|
+
* Issue - Enhance, refactor, and rebase protocols to be consistent. Ensure protocol tests are run for each engine.
|
403
|
+
|
404
|
+
3.198.0 (2024-06-24)
|
405
|
+
------------------
|
406
|
+
|
407
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
408
|
+
|
409
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
410
|
+
|
411
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
412
|
+
|
413
|
+
* Feature - Support `:plugins` option on all Clients or using `Aws.config[:plugins]`.
|
414
|
+
|
415
|
+
3.197.2 (2024-06-20)
|
416
|
+
------------------
|
417
|
+
|
418
|
+
* Issue - fix issue in Endpoint `attr` matcher when path is only an array index.
|
419
|
+
|
420
|
+
* Issue - Fix trailing slash in endpoint URLs for rest-json and rest-xml services.
|
421
|
+
|
422
|
+
3.197.1 (2024-06-19)
|
423
|
+
------------------
|
424
|
+
|
425
|
+
* Issue - Support an array of string arguments for `Aws::ProcessCredentials` to be executed by `system`.
|
426
|
+
|
427
|
+
3.197.0 (2024-06-05)
|
428
|
+
------------------
|
429
|
+
|
430
|
+
* Issue - Ensure no UTC offset when deserializing `iso8601` timestamp format values.
|
431
|
+
|
432
|
+
* Feature - Bump User Agent to version 2.1 to track business metrics. This changes the User Agent plugin order to be just before sending.
|
433
|
+
|
434
|
+
3.196.1 (2024-05-14)
|
435
|
+
------------------
|
436
|
+
|
437
|
+
* Issue - Fix `ConnectionPool` for `.empty!` and `.clear!` since it prevented adding a new key from being added to the pool (#3020).
|
438
|
+
|
439
|
+
3.196.0 (2024-05-13)
|
440
|
+
------------------
|
441
|
+
|
442
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
443
|
+
|
444
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
445
|
+
|
446
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
447
|
+
|
448
|
+
3.195.0 (2024-05-10)
|
449
|
+
------------------
|
450
|
+
|
451
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
452
|
+
|
453
|
+
* Feature - Updated request parameters for PKCE support.
|
454
|
+
|
455
|
+
3.194.2 (2024-05-07)
|
456
|
+
------------------
|
457
|
+
|
458
|
+
* Issue - Fix issue where `ConnectionPool` size iteration would prevent a new key from being added to the pool.
|
459
|
+
|
460
|
+
3.194.1 (2024-05-03)
|
461
|
+
------------------
|
462
|
+
|
463
|
+
* Issue - Update EC2 protocol to not serialize empty lists.
|
464
|
+
|
465
|
+
3.194.0 (2024-04-30)
|
466
|
+
------------------
|
467
|
+
|
468
|
+
* Feature - Add an API private cache for S3 Express and Access Grants.
|
469
|
+
|
470
|
+
3.193.0 (2024-04-25)
|
471
|
+
------------------
|
472
|
+
|
473
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
474
|
+
|
475
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
476
|
+
|
477
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
478
|
+
|
479
|
+
* Issue - Update event stream documentation.
|
480
|
+
* Issue - Move `InvocationId` plugin to all clients.
|
481
|
+
* Issue - Handle event streaming content-sha256 header in the signer plugin.
|
482
|
+
* Issue - Add the event stream content type to initial requests.
|
483
|
+
* Issue - Fix `standard` and `adaptive` retry mode for event streams.
|
484
|
+
* Issue - Add `authority` to http2 headers.
|
485
|
+
* Issue - Do not treat single members in event stream structures as implicit payloads.
|
486
|
+
* Issue - Do not wait for initial response headers to start sending input events.
|
487
|
+
|
488
|
+
3.192.1 (2024-04-18)
|
489
|
+
------------------
|
490
|
+
|
491
|
+
* Issue - Drop key/value pair if value is `nil` when deserializing json maps.
|
492
|
+
|
493
|
+
3.192.0 (2024-04-16)
|
494
|
+
------------------
|
495
|
+
|
496
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
497
|
+
|
498
|
+
* Feature - Update serializing/deserializing for all protocols to align with Smithy protocol-tests.
|
499
|
+
* Issue - Allow `nil` values in lists and maps.
|
500
|
+
* Issue - Populate headers for XML and JSON error responses.
|
501
|
+
* Issue - Support fractional seconds when parsing `DateTime` timestamps.
|
502
|
+
* Issue - Correctly serialize flattened lists for Query protocol.
|
503
|
+
* Issue - Correctly serialize payload name in Rest-XML requests.
|
504
|
+
* Issue - Fix an issue where Rest-XML requests do not have a default `Content-Type` header applied.
|
505
|
+
* Issue - Apply appropriate `Content-Type` header for payloads in Rest services.
|
506
|
+
* Issue - Correctly serialize URI label bindings in Rest requests.
|
507
|
+
* Issue - Correctly serialize and parse header bindings in Rest services.
|
508
|
+
* Issue - Ensure that null and empty headers are not sent in Rest requests.
|
509
|
+
* Issue - Ensure keys in query maps do not override modeled keys in Rest requests.
|
510
|
+
* Issue - Ensure empty blob payloads are omitted in Rest requests.
|
511
|
+
* Issue - Support parsing of `NaN`, `Infinity` and `-Infinity` float values.
|
512
|
+
* Issue - Apply appropriate `xmlName` for flattened lists and maps in Rest-XML services.
|
513
|
+
* Issue - Handle serializing of different formats of `xmlNamespace` on shapes.
|
514
|
+
* Issue - Fix deserializing of an empty blob to produce an empty string.
|
515
|
+
* Issue - Fix deserializing an empty self-closed blob to produce an empty string.
|
516
|
+
* Issue - Support parsing of different formats of error data in Rest-XML services.
|
517
|
+
|
518
|
+
3.191.6 (2024-04-02)
|
519
|
+
------------------
|
520
|
+
* Issue - Performance optimization: ensure presence and order of instance variables in `PluginOptions` (#3002).
|
521
|
+
|
522
|
+
3.191.5 (2024-03-26)
|
523
|
+
------------------
|
524
|
+
|
525
|
+
* Issue - Fix `EC2Metadata` and `InstanceProfileCredentials` to respect the port from a configured endpoint from code, ENV, or shared config.
|
526
|
+
|
527
|
+
3.191.4 (2024-03-15)
|
528
|
+
------------------
|
529
|
+
|
530
|
+
* Issue - Ensure output unions work correctly with stub_responses.
|
531
|
+
|
532
|
+
3.191.3 (2024-02-20)
|
533
|
+
------------------
|
534
|
+
|
535
|
+
* Issue - Remove base64 as dependency.
|
536
|
+
|
537
|
+
3.191.2 (2024-02-14)
|
538
|
+
------------------
|
539
|
+
|
540
|
+
* Issue - Add base64 as dependency to prepare for Ruby 3.4 release (#2984).
|
541
|
+
|
4
542
|
3.191.1 (2024-02-07)
|
5
543
|
------------------
|
6
544
|
|
@@ -15,7 +553,7 @@ Unreleased Changes
|
|
15
553
|
|
16
554
|
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
17
555
|
|
18
|
-
* Feature - Add RBS signature files to support static type checking
|
556
|
+
* Feature - Add RBS signature files to support static type checking
|
19
557
|
|
20
558
|
3.190.3 (2024-01-16)
|
21
559
|
------------------
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.229.0
|
data/lib/aws-defaults.rb
CHANGED
data/lib/aws-sdk-core/arn.rb
CHANGED
@@ -24,9 +24,7 @@ module Aws
|
|
24
24
|
# arn.resource
|
25
25
|
# # => foo/bar
|
26
26
|
#
|
27
|
-
#
|
28
|
-
# @see Aws::ARNParser#parse_resource
|
29
|
-
#
|
27
|
+
# @see ARNParser
|
30
28
|
# @see https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-arns
|
31
29
|
class ARN
|
32
30
|
|
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
end
|
51
51
|
@client = client_opts[:client] || STS::Client.new(client_opts)
|
52
52
|
@async_refresh = true
|
53
|
+
@metrics = ['CREDENTIALS_STS_ASSUME_ROLE']
|
53
54
|
super
|
54
55
|
end
|
55
56
|
|
@@ -62,13 +63,20 @@ module Aws
|
|
62
63
|
private
|
63
64
|
|
64
65
|
def refresh
|
65
|
-
|
66
|
+
resp = @client.assume_role(@assume_role_params)
|
67
|
+
creds = resp.credentials
|
66
68
|
@credentials = Credentials.new(
|
67
|
-
|
68
|
-
|
69
|
-
|
69
|
+
creds.access_key_id,
|
70
|
+
creds.secret_access_key,
|
71
|
+
creds.session_token,
|
72
|
+
account_id: parse_account_id(resp)
|
70
73
|
)
|
71
|
-
@expiration =
|
74
|
+
@expiration = creds.expiration
|
75
|
+
end
|
76
|
+
|
77
|
+
def parse_account_id(resp)
|
78
|
+
arn = resp.assumed_role_user&.arn
|
79
|
+
ARNParser.parse(arn).account_id if ARNParser.arn?(arn)
|
72
80
|
end
|
73
81
|
|
74
82
|
class << self
|
@@ -60,7 +60,8 @@ module Aws
|
|
60
60
|
# not provided, generate encoded UUID as session name
|
61
61
|
@assume_role_web_identity_params[:role_session_name] = _session_name
|
62
62
|
end
|
63
|
-
@client = client_opts[:client] || STS::Client.new(client_opts.merge(credentials:
|
63
|
+
@client = client_opts[:client] || STS::Client.new(client_opts.merge(credentials: nil))
|
64
|
+
@metrics = ['CREDENTIALS_STS_ASSUME_ROLE_WEB_ID']
|
64
65
|
super
|
65
66
|
end
|
66
67
|
|
@@ -73,14 +74,15 @@ module Aws
|
|
73
74
|
# read from token file everytime it refreshes
|
74
75
|
@assume_role_web_identity_params[:web_identity_token] = _token_from_file(@token_file)
|
75
76
|
|
76
|
-
|
77
|
-
|
77
|
+
resp = @client.assume_role_with_web_identity(@assume_role_web_identity_params)
|
78
|
+
creds = resp.credentials
|
78
79
|
@credentials = Credentials.new(
|
79
|
-
|
80
|
-
|
81
|
-
|
80
|
+
creds.access_key_id,
|
81
|
+
creds.secret_access_key,
|
82
|
+
creds.session_token,
|
83
|
+
account_id: parse_account_id(resp)
|
82
84
|
)
|
83
|
-
@expiration =
|
85
|
+
@expiration = creds.expiration
|
84
86
|
end
|
85
87
|
|
86
88
|
def _token_from_file(path)
|
@@ -94,6 +96,11 @@ module Aws
|
|
94
96
|
Base64.strict_encode64(SecureRandom.uuid)
|
95
97
|
end
|
96
98
|
|
99
|
+
def parse_account_id(resp)
|
100
|
+
arn = resp.assumed_role_user&.arn
|
101
|
+
ARNParser.parse(arn).account_id if ARNParser.arn?(arn)
|
102
|
+
end
|
103
|
+
|
97
104
|
class << self
|
98
105
|
|
99
106
|
# @api private
|