aws-sdk-core 3.202.2 → 3.209.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +81 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-defaults.rb +4 -1
  5. data/lib/aws-sdk-core/assume_role_credentials.rb +12 -5
  6. data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +13 -7
  7. data/lib/aws-sdk-core/client_side_monitoring.rb +9 -0
  8. data/lib/aws-sdk-core/credential_provider_chain.rb +9 -2
  9. data/lib/aws-sdk-core/credentials.rb +13 -6
  10. data/lib/aws-sdk-core/endpoints/endpoint.rb +3 -1
  11. data/lib/aws-sdk-core/endpoints.rb +6 -3
  12. data/lib/aws-sdk-core/log.rb +10 -0
  13. data/lib/aws-sdk-core/plugins/credentials_configuration.rb +7 -3
  14. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +1 -0
  15. data/lib/aws-sdk-core/plugins/stub_responses.rb +29 -2
  16. data/lib/aws-sdk-core/plugins/telemetry.rb +75 -0
  17. data/lib/aws-sdk-core/plugins/user_agent.rb +17 -8
  18. data/lib/aws-sdk-core/plugins.rb +39 -0
  19. data/lib/aws-sdk-core/process_credentials.rb +2 -1
  20. data/lib/aws-sdk-core/resources.rb +8 -0
  21. data/lib/aws-sdk-core/rpc_v2/handler.rb +5 -1
  22. data/lib/aws-sdk-core/shared_config.rb +3 -1
  23. data/lib/aws-sdk-core/shared_credentials.rb +0 -7
  24. data/lib/aws-sdk-core/sso_credentials.rb +2 -1
  25. data/lib/aws-sdk-core/stubbing.rb +22 -0
  26. data/lib/aws-sdk-core/telemetry/base.rb +177 -0
  27. data/lib/aws-sdk-core/telemetry/no_op.rb +70 -0
  28. data/lib/aws-sdk-core/telemetry/otel.rb +235 -0
  29. data/lib/aws-sdk-core/telemetry/span_kind.rb +22 -0
  30. data/lib/aws-sdk-core/telemetry/span_status.rb +59 -0
  31. data/lib/aws-sdk-core/telemetry.rb +78 -0
  32. data/lib/aws-sdk-core.rb +82 -112
  33. data/lib/aws-sdk-sso/client.rb +35 -8
  34. data/lib/aws-sdk-sso/client_api.rb +1 -0
  35. data/lib/aws-sdk-sso/endpoints.rb +4 -16
  36. data/lib/aws-sdk-sso/plugins/endpoints.rb +18 -6
  37. data/lib/aws-sdk-sso/types.rb +1 -0
  38. data/lib/aws-sdk-sso.rb +15 -11
  39. data/lib/aws-sdk-ssooidc/client.rb +35 -8
  40. data/lib/aws-sdk-ssooidc/client_api.rb +1 -0
  41. data/lib/aws-sdk-ssooidc/endpoints.rb +4 -16
  42. data/lib/aws-sdk-ssooidc/plugins/endpoints.rb +18 -6
  43. data/lib/aws-sdk-ssooidc/types.rb +1 -0
  44. data/lib/aws-sdk-ssooidc.rb +15 -11
  45. data/lib/aws-sdk-sts/client.rb +35 -8
  46. data/lib/aws-sdk-sts/client_api.rb +1 -0
  47. data/lib/aws-sdk-sts/customizations.rb +5 -1
  48. data/lib/aws-sdk-sts/endpoints.rb +8 -32
  49. data/lib/aws-sdk-sts/plugins/endpoints.rb +18 -6
  50. data/lib/aws-sdk-sts/types.rb +1 -0
  51. data/lib/aws-sdk-sts.rb +15 -11
  52. data/lib/seahorse/client/h2/handler.rb +13 -3
  53. data/lib/seahorse/client/net_http/connection_pool.rb +8 -2
  54. data/lib/seahorse/client/net_http/handler.rb +18 -1
  55. data/lib/seahorse/client/plugins/net_http.rb +9 -0
  56. data/lib/seahorse/client/request_context.rb +8 -1
  57. data/sig/aws-sdk-core/telemetry/base.rbs +46 -0
  58. data/sig/aws-sdk-core/telemetry/otel.rbs +22 -0
  59. data/sig/aws-sdk-core/telemetry/span_kind.rbs +15 -0
  60. data/sig/aws-sdk-core/telemetry/span_status.rbs +24 -0
  61. metadata +18 -2
@@ -0,0 +1,24 @@
1
+ module Aws
2
+ module Telemetry
3
+ class SpanStatus
4
+
5
+ def self.unset: (?::String description) -> SpanStatus
6
+
7
+ def self.ok: (?::String description) -> SpanStatus
8
+
9
+ def self.error: (?::String description) -> SpanStatus
10
+
11
+ def initialize: (Integer code, ?description: ::String) -> void
12
+
13
+ attr_reader code: Integer
14
+
15
+ attr_reader description: String
16
+
17
+ OK: 0
18
+
19
+ UNSET: 1
20
+
21
+ ERROR: 2
22
+ end
23
+ end
24
+ 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.202.2
4
+ version: 3.209.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: 2024-08-30 00:00:00.000000000 Z
11
+ date: 2024-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath
@@ -115,6 +115,7 @@ files:
115
115
  - lib/aws-sdk-core/cbor/cbor_engine.rb
116
116
  - lib/aws-sdk-core/cbor/decoder.rb
117
117
  - lib/aws-sdk-core/cbor/encoder.rb
118
+ - lib/aws-sdk-core/client_side_monitoring.rb
118
119
  - lib/aws-sdk-core/client_side_monitoring/publisher.rb
119
120
  - lib/aws-sdk-core/client_side_monitoring/request_metrics.rb
120
121
  - lib/aws-sdk-core/client_stubs.rb
@@ -152,6 +153,7 @@ files:
152
153
  - lib/aws-sdk-core/json/json_engine.rb
153
154
  - lib/aws-sdk-core/json/oj_engine.rb
154
155
  - lib/aws-sdk-core/json/parser.rb
156
+ - lib/aws-sdk-core/log.rb
155
157
  - lib/aws-sdk-core/log/formatter.rb
156
158
  - lib/aws-sdk-core/log/handler.rb
157
159
  - lib/aws-sdk-core/log/param_filter.rb
@@ -161,6 +163,7 @@ files:
161
163
  - lib/aws-sdk-core/pager.rb
162
164
  - lib/aws-sdk-core/param_converter.rb
163
165
  - lib/aws-sdk-core/param_validator.rb
166
+ - lib/aws-sdk-core/plugins.rb
164
167
  - lib/aws-sdk-core/plugins/api_key.rb
165
168
  - lib/aws-sdk-core/plugins/apig_authorizer_token.rb
166
169
  - lib/aws-sdk-core/plugins/apig_credentials_configuration.rb
@@ -203,6 +206,7 @@ files:
203
206
  - lib/aws-sdk-core/plugins/signature_v2.rb
204
207
  - lib/aws-sdk-core/plugins/signature_v4.rb
205
208
  - lib/aws-sdk-core/plugins/stub_responses.rb
209
+ - lib/aws-sdk-core/plugins/telemetry.rb
206
210
  - lib/aws-sdk-core/plugins/transfer_encoding.rb
207
211
  - lib/aws-sdk-core/plugins/user_agent.rb
208
212
  - lib/aws-sdk-core/process_credentials.rb
@@ -215,6 +219,7 @@ files:
215
219
  - lib/aws-sdk-core/query/param_list.rb
216
220
  - lib/aws-sdk-core/refreshing_credentials.rb
217
221
  - lib/aws-sdk-core/refreshing_token.rb
222
+ - lib/aws-sdk-core/resources.rb
218
223
  - lib/aws-sdk-core/resources/collection.rb
219
224
  - lib/aws-sdk-core/rest.rb
220
225
  - lib/aws-sdk-core/rest/content_type_handler.rb
@@ -241,6 +246,7 @@ files:
241
246
  - lib/aws-sdk-core/sso_token_provider.rb
242
247
  - lib/aws-sdk-core/static_token_provider.rb
243
248
  - lib/aws-sdk-core/structure.rb
249
+ - lib/aws-sdk-core/stubbing.rb
244
250
  - lib/aws-sdk-core/stubbing/data_applicator.rb
245
251
  - lib/aws-sdk-core/stubbing/empty_stub.rb
246
252
  - lib/aws-sdk-core/stubbing/protocols/api_gateway.rb
@@ -253,6 +259,12 @@ files:
253
259
  - lib/aws-sdk-core/stubbing/protocols/rpc_v2.rb
254
260
  - lib/aws-sdk-core/stubbing/stub_data.rb
255
261
  - lib/aws-sdk-core/stubbing/xml_error.rb
262
+ - lib/aws-sdk-core/telemetry.rb
263
+ - lib/aws-sdk-core/telemetry/base.rb
264
+ - lib/aws-sdk-core/telemetry/no_op.rb
265
+ - lib/aws-sdk-core/telemetry/otel.rb
266
+ - lib/aws-sdk-core/telemetry/span_kind.rb
267
+ - lib/aws-sdk-core/telemetry/span_status.rb
256
268
  - lib/aws-sdk-core/token.rb
257
269
  - lib/aws-sdk-core/token_provider.rb
258
270
  - lib/aws-sdk-core/token_provider_chain.rb
@@ -361,6 +373,10 @@ files:
361
373
  - sig/aws-sdk-core/errors.rbs
362
374
  - sig/aws-sdk-core/resources/collection.rbs
363
375
  - sig/aws-sdk-core/structure.rbs
376
+ - sig/aws-sdk-core/telemetry/base.rbs
377
+ - sig/aws-sdk-core/telemetry/otel.rbs
378
+ - sig/aws-sdk-core/telemetry/span_kind.rbs
379
+ - sig/aws-sdk-core/telemetry/span_status.rbs
364
380
  - sig/aws-sdk-core/waiters/errors.rbs
365
381
  - sig/seahorse/client/base.rbs
366
382
  - sig/seahorse/client/handler_builder.rbs