aws-sdk-xray 1.69.0 → 1.71.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-xray/client.rb +28 -2
- data/lib/aws-sdk-xray.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/resource.rbs +2 -0
- metadata +6 -6
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 501ba0f68da35f3a1a766a4c1a7063b6974c2b08102acc8dffdb16a6c13ae16b
         | 
| 4 | 
            +
              data.tar.gz: 3fcb197af123bac128e94cdec4e31efbf53a08b3bd8cb44466e792ab83a4ec04
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 5609bf63ed65af1094cf5935fa7c5210442b65b4a91f1417e4da15e6a361306308e11d0e55bce466aacfcf4cc474aa49dfaaf6b6ef233208570a3e836fbbe8c1
         | 
| 7 | 
            +
              data.tar.gz: 0d24a6ede3fdb7eee14921604a78bf3d39465ce2b4c8b6b034109d0c76c823a18e67aa05ec686bfe323523136d4f11eca87573317e24816484fe7cbe3600b353
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,16 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.71.0 (2024-09-03)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            1.70.0 (2024-07-02)
         | 
| 10 | 
            +
            ------------------
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 13 | 
            +
             | 
| 4 14 | 
             
            1.69.0 (2024-06-28)
         | 
| 5 15 | 
             
            ------------------
         | 
| 6 16 |  | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.71.0
         | 
    
        data/lib/aws-sdk-xray/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/rest_json.rb'
         | 
| 37 38 |  | 
| @@ -83,6 +84,7 @@ module Aws::XRay | |
| 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::XRay::Plugins::Endpoints)
         | 
| @@ -312,6 +314,15 @@ module Aws::XRay | |
| 312 314 | 
             
                #
         | 
| 313 315 | 
             
                #   @option options [String] :session_token
         | 
| 314 316 | 
             
                #
         | 
| 317 | 
            +
                #   @option options [Array] :sigv4a_signing_region_set
         | 
| 318 | 
            +
                #     A list of regions that should be signed with SigV4a signing. When
         | 
| 319 | 
            +
                #     not passed, a default `:sigv4a_signing_region_set` is searched for
         | 
| 320 | 
            +
                #     in the following locations:
         | 
| 321 | 
            +
                #
         | 
| 322 | 
            +
                #     * `Aws.config[:sigv4a_signing_region_set]`
         | 
| 323 | 
            +
                #     * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
         | 
| 324 | 
            +
                #     * `~/.aws/config`
         | 
| 325 | 
            +
                #
         | 
| 315 326 | 
             
                #   @option options [Boolean] :stub_responses (false)
         | 
| 316 327 | 
             
                #     Causes the client to return stubbed responses. By default
         | 
| 317 328 | 
             
                #     fake responses are generated and returned. You can specify
         | 
| @@ -321,6 +332,16 @@ module Aws::XRay | |
| 321 332 | 
             
                #     ** Please note ** When response stubbing is enabled, no HTTP
         | 
| 322 333 | 
             
                #     requests are made, and retries are disabled.
         | 
| 323 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 | 
            +
                #
         | 
| 324 345 | 
             
                #   @option options [Aws::TokenProvider] :token_provider
         | 
| 325 346 | 
             
                #     A Bearer Token Provider. This can be an instance of any one of the
         | 
| 326 347 | 
             
                #     following classes:
         | 
| @@ -2249,14 +2270,19 @@ module Aws::XRay | |
| 2249 2270 | 
             
                # @api private
         | 
| 2250 2271 | 
             
                def build_request(operation_name, params = {})
         | 
| 2251 2272 | 
             
                  handlers = @handlers.for(operation_name)
         | 
| 2273 | 
            +
                  tracer = config.telemetry_provider.tracer_provider.tracer(
         | 
| 2274 | 
            +
                    Aws::Telemetry.module_to_tracer_name('Aws::XRay')
         | 
| 2275 | 
            +
                  )
         | 
| 2252 2276 | 
             
                  context = Seahorse::Client::RequestContext.new(
         | 
| 2253 2277 | 
             
                    operation_name: operation_name,
         | 
| 2254 2278 | 
             
                    operation: config.api.operation(operation_name),
         | 
| 2255 2279 | 
             
                    client: self,
         | 
| 2256 2280 | 
             
                    params: params,
         | 
| 2257 | 
            -
                    config: config | 
| 2281 | 
            +
                    config: config,
         | 
| 2282 | 
            +
                    tracer: tracer
         | 
| 2283 | 
            +
                  )
         | 
| 2258 2284 | 
             
                  context[:gem_name] = 'aws-sdk-xray'
         | 
| 2259 | 
            -
                  context[:gem_version] = '1. | 
| 2285 | 
            +
                  context[:gem_version] = '1.71.0'
         | 
| 2260 2286 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 2261 2287 | 
             
                end
         | 
| 2262 2288 |  | 
    
        data/lib/aws-sdk-xray.rb
    CHANGED
    
    
    
        data/sig/client.rbs
    CHANGED
    
    | @@ -48,7 +48,9 @@ module Aws | |
| 48 48 | 
             
                                  ?sdk_ua_app_id: String,
         | 
| 49 49 | 
             
                                  ?secret_access_key: String,
         | 
| 50 50 | 
             
                                  ?session_token: String,
         | 
| 51 | 
            +
                                  ?sigv4a_signing_region_set: Array[String],
         | 
| 51 52 | 
             
                                  ?stub_responses: untyped,
         | 
| 53 | 
            +
                                  ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
         | 
| 52 54 | 
             
                                  ?token_provider: untyped,
         | 
| 53 55 | 
             
                                  ?use_dualstack_endpoint: bool,
         | 
| 54 56 | 
             
                                  ?use_fips_endpoint: bool,
         | 
    
        data/sig/resource.rbs
    CHANGED
    
    | @@ -48,7 +48,9 @@ module Aws | |
| 48 48 | 
             
                                    ?sdk_ua_app_id: String,
         | 
| 49 49 | 
             
                                    ?secret_access_key: String,
         | 
| 50 50 | 
             
                                    ?session_token: String,
         | 
| 51 | 
            +
                                    ?sigv4a_signing_region_set: Array[String],
         | 
| 51 52 | 
             
                                    ?stub_responses: untyped,
         | 
| 53 | 
            +
                                    ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
         | 
| 52 54 | 
             
                                    ?token_provider: untyped,
         | 
| 53 55 | 
             
                                    ?use_dualstack_endpoint: bool,
         | 
| 54 56 | 
             
                                    ?use_fips_endpoint: bool,
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-xray
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.71.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,21 +29,21 @@ 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
         | 
| 36 36 | 
             
                requirements:
         | 
| 37 37 | 
             
                - - "~>"
         | 
| 38 38 | 
             
                  - !ruby/object:Gem::Version
         | 
| 39 | 
            -
                    version: '1. | 
| 39 | 
            +
                    version: '1.5'
         | 
| 40 40 | 
             
              type: :runtime
         | 
| 41 41 | 
             
              prerelease: false
         | 
| 42 42 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 43 43 | 
             
                requirements:
         | 
| 44 44 | 
             
                - - "~>"
         | 
| 45 45 | 
             
                  - !ruby/object:Gem::Version
         | 
| 46 | 
            -
                    version: '1. | 
| 46 | 
            +
                    version: '1.5'
         | 
| 47 47 | 
             
            description: Official AWS Ruby gem for AWS X-Ray. This gem is part of the AWS SDK
         | 
| 48 48 | 
             
              for Ruby.
         | 
| 49 49 | 
             
            email:
         |