aws-sdk-pcs 1.0.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pcs/client.rb +25 -2
- data/lib/aws-sdk-pcs.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: 48ce9075dff29ff4ef0008c5b0417dd67ad7841e0673eb3c084a0a9c8df6915f
|
4
|
+
data.tar.gz: b2b66c85044e7483e83dd53d8d37b6e5ebbd1332ef842e38f34a413469a9eccd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61e1c64bb64aa089756dd3ef42a2bbe3e7309c5609a6b1d2da48cfdaa3d938d32b9609cae6f24e248f25567bdb2d14b1819ebf3a1492dbb2604ab2a27d43eedb
|
7
|
+
data.tar.gz: e7e022704600baad65a2b21b6be59f51f217a12d9d1211816695e9acbcdeb00bb9e3ef72b7430cc2f19a9b1f8d7428e247a6fa08ac7077b5a26bfaf6d6b577bd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.0 (2024-09-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.1.0 (2024-09-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.0.0 (2024-08-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/lib/aws-sdk-pcs/client.rb
CHANGED
@@ -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/json_rpc.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::PCS
|
|
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::JsonRpc)
|
88
90
|
add_plugin(Aws::PCS::Plugins::Endpoints)
|
@@ -337,6 +339,16 @@ module Aws::PCS
|
|
337
339
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
338
340
|
# requests are made, and retries are disabled.
|
339
341
|
#
|
342
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
343
|
+
# Allows you to provide a telemetry provider, which is used to
|
344
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
345
|
+
# will not record or emit any telemetry data. The SDK supports the
|
346
|
+
# following telemetry providers:
|
347
|
+
#
|
348
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
349
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
350
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
351
|
+
#
|
340
352
|
# @option options [Aws::TokenProvider] :token_provider
|
341
353
|
# A Bearer Token Provider. This can be an instance of any one of the
|
342
354
|
# following classes:
|
@@ -420,6 +432,12 @@ module Aws::PCS
|
|
420
432
|
# @option options [String] :ssl_ca_store
|
421
433
|
# Sets the X509::Store to verify peer certificate.
|
422
434
|
#
|
435
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
436
|
+
# Sets a client certificate when creating http connections.
|
437
|
+
#
|
438
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
439
|
+
# Sets a client key when creating http connections.
|
440
|
+
#
|
423
441
|
# @option options [Float] :ssl_timeout
|
424
442
|
# Sets the SSL timeout in seconds
|
425
443
|
#
|
@@ -1576,14 +1594,19 @@ module Aws::PCS
|
|
1576
1594
|
# @api private
|
1577
1595
|
def build_request(operation_name, params = {})
|
1578
1596
|
handlers = @handlers.for(operation_name)
|
1597
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
1598
|
+
Aws::Telemetry.module_to_tracer_name('Aws::PCS')
|
1599
|
+
)
|
1579
1600
|
context = Seahorse::Client::RequestContext.new(
|
1580
1601
|
operation_name: operation_name,
|
1581
1602
|
operation: config.api.operation(operation_name),
|
1582
1603
|
client: self,
|
1583
1604
|
params: params,
|
1584
|
-
config: config
|
1605
|
+
config: config,
|
1606
|
+
tracer: tracer
|
1607
|
+
)
|
1585
1608
|
context[:gem_name] = 'aws-sdk-pcs'
|
1586
|
-
context[:gem_version] = '1.
|
1609
|
+
context[:gem_version] = '1.2.0'
|
1587
1610
|
Seahorse::Client::Request.new(handlers, context)
|
1588
1611
|
end
|
1589
1612
|
|
data/lib/aws-sdk-pcs.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -51,6 +51,7 @@ module Aws
|
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?simple_json: bool,
|
53
53
|
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
55
|
?token_provider: untyped,
|
55
56
|
?use_dualstack_endpoint: bool,
|
56
57
|
?use_fips_endpoint: bool,
|
data/sig/resource.rbs
CHANGED
@@ -51,6 +51,7 @@ module Aws
|
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?simple_json: bool,
|
53
53
|
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
55
|
?token_provider: untyped,
|
55
56
|
?use_dualstack_endpoint: bool,
|
56
57
|
?use_fips_endpoint: bool,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-pcs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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-10 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
|