aws-sdk-cloudwatchrum 1.26.0 → 1.27.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchrum/client.rb +19 -2
- data/lib/aws-sdk-cloudwatchrum.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f57dd90f33ee84edb9babb00d58e83122f98d3f4951cf4c67ec81f49b92385ea
|
|
4
|
+
data.tar.gz: 916df700a17a9c2d805915d27269b13dcb5f66f0bf21fbb36cb431f8aee80af8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3545464e2cbe9cb1f6c2686ced5b44888e351764500a0e76cc88267de0e67ec06710cb05f2fcfb853ae0e7d1ba47b3a509bf7c9642068fadbbccaba5ebd79f72
|
|
7
|
+
data.tar.gz: c4d5531da87187206b35265a81ca70fabddc67cb6e2645beb097b7b7b1f0e5970a730b78b3571290339963476fde962f3587b58c4ec27bcfd4ae0e87fae41078
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.27.0
|
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
37
38
|
|
|
@@ -83,6 +84,7 @@ module Aws::CloudWatchRUM
|
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
|
88
90
|
add_plugin(Aws::CloudWatchRUM::Plugins::Endpoints)
|
|
@@ -330,6 +332,16 @@ module Aws::CloudWatchRUM
|
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
331
333
|
# requests are made, and retries are disabled.
|
|
332
334
|
#
|
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
|
339
|
+
# following telemetry providers:
|
|
340
|
+
#
|
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
|
344
|
+
#
|
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
|
335
347
|
# following classes:
|
|
@@ -1494,14 +1506,19 @@ module Aws::CloudWatchRUM
|
|
|
1494
1506
|
# @api private
|
|
1495
1507
|
def build_request(operation_name, params = {})
|
|
1496
1508
|
handlers = @handlers.for(operation_name)
|
|
1509
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
|
1510
|
+
Aws::Telemetry.module_to_tracer_name('Aws::CloudWatchRUM')
|
|
1511
|
+
)
|
|
1497
1512
|
context = Seahorse::Client::RequestContext.new(
|
|
1498
1513
|
operation_name: operation_name,
|
|
1499
1514
|
operation: config.api.operation(operation_name),
|
|
1500
1515
|
client: self,
|
|
1501
1516
|
params: params,
|
|
1502
|
-
config: config
|
|
1517
|
+
config: config,
|
|
1518
|
+
tracer: tracer
|
|
1519
|
+
)
|
|
1503
1520
|
context[:gem_name] = 'aws-sdk-cloudwatchrum'
|
|
1504
|
-
context[:gem_version] = '1.
|
|
1521
|
+
context[:gem_version] = '1.27.0'
|
|
1505
1522
|
Seahorse::Client::Request.new(handlers, context)
|
|
1506
1523
|
end
|
|
1507
1524
|
|
data/sig/client.rbs
CHANGED
|
@@ -50,6 +50,7 @@ module Aws
|
|
|
50
50
|
?session_token: String,
|
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
|
52
52
|
?stub_responses: untyped,
|
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
53
54
|
?token_provider: untyped,
|
|
54
55
|
?use_dualstack_endpoint: bool,
|
|
55
56
|
?use_fips_endpoint: bool,
|
data/sig/resource.rbs
CHANGED
|
@@ -50,6 +50,7 @@ module Aws
|
|
|
50
50
|
?session_token: String,
|
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
|
52
52
|
?stub_responses: untyped,
|
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
53
54
|
?token_provider: untyped,
|
|
54
55
|
?use_dualstack_endpoint: bool,
|
|
55
56
|
?use_fips_endpoint: bool,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-cloudwatchrum
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.27.0
|
|
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-
|
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.203.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.203.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|