aws-sdk-codecommit 1.72.0 → 1.78.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 +30 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-codecommit/client.rb +35 -8
 - data/lib/aws-sdk-codecommit/client_api.rb +1 -0
 - data/lib/aws-sdk-codecommit/endpoints.rb +79 -316
 - data/lib/aws-sdk-codecommit/plugins/endpoints.rb +18 -6
 - data/lib/aws-sdk-codecommit/types.rb +1 -0
 - data/lib/aws-sdk-codecommit.rb +15 -11
 - data/sig/client.rbs +2 -0
 - data/sig/resource.rbs +2 -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: 25923416d705a9a298cf86292773276c12dc3e9d026ae2f50065cbb03fedb0cf
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 79699807d80a61a90efb16cd9f5eb914f90f5e437a7c91c39c53b4c5dbe91e8d
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 574c1ddfa97f08560911d83b0e0c834227eb3559aa4bcdc83cb404b8c371908b3440a35d4598968811d1f26603a509ff09509b626d7ad58a69e874c71fd46027
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 79cd5e9e869277a7542060b7c8674d86ce6bdbb5863427cd782167690ffd9df9fe5c835f1d8790391eb6129d645e5a6cea6d17bbd1d02ffdf9eaed974bcc24ba
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,6 +1,36 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Unreleased Changes
         
     | 
| 
       2 
2 
     | 
    
         
             
            ------------------
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
      
 4 
     | 
    
         
            +
            1.78.0 (2024-09-24)
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            1.77.0 (2024-09-23)
         
     | 
| 
      
 10 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            1.76.0 (2024-09-20)
         
     | 
| 
      
 15 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            1.75.0 (2024-09-11)
         
     | 
| 
      
 20 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            1.74.0 (2024-09-10)
         
     | 
| 
      
 25 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
            1.73.0 (2024-09-03)
         
     | 
| 
      
 30 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
       4 
34 
     | 
    
         
             
            1.72.0 (2024-07-25)
         
     | 
| 
       5 
35 
     | 
    
         
             
            ------------------
         
     | 
| 
       6 
36 
     | 
    
         | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.78.0
         
     | 
| 
         @@ -32,11 +32,10 @@ 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 
     | 
    
         | 
| 
       38 
     | 
    
         
            -
            Aws::Plugins::GlobalConfiguration.add_identifier(:codecommit)
         
     | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
39 
     | 
    
         
             
            module Aws::CodeCommit
         
     | 
| 
       41 
40 
     | 
    
         
             
              # An API client for CodeCommit.  To construct a client, you need to configure a `:region` and `:credentials`.
         
     | 
| 
       42 
41 
     | 
    
         
             
              #
         
     | 
| 
         @@ -83,6 +82,7 @@ module Aws::CodeCommit 
     | 
|
| 
       83 
82 
     | 
    
         
             
                add_plugin(Aws::Plugins::RequestCompression)
         
     | 
| 
       84 
83 
     | 
    
         
             
                add_plugin(Aws::Plugins::DefaultsMode)
         
     | 
| 
       85 
84 
     | 
    
         
             
                add_plugin(Aws::Plugins::RecursionDetection)
         
     | 
| 
      
 85 
     | 
    
         
            +
                add_plugin(Aws::Plugins::Telemetry)
         
     | 
| 
       86 
86 
     | 
    
         
             
                add_plugin(Aws::Plugins::Sign)
         
     | 
| 
       87 
87 
     | 
    
         
             
                add_plugin(Aws::Plugins::Protocols::JsonRpc)
         
     | 
| 
       88 
88 
     | 
    
         
             
                add_plugin(Aws::CodeCommit::Plugins::Endpoints)
         
     | 
| 
         @@ -128,13 +128,15 @@ module Aws::CodeCommit 
     | 
|
| 
       128 
128 
     | 
    
         
             
                #     locations will be searched for credentials:
         
     | 
| 
       129 
129 
     | 
    
         
             
                #
         
     | 
| 
       130 
130 
     | 
    
         
             
                #     * `Aws.config[:credentials]`
         
     | 
| 
       131 
     | 
    
         
            -
                #     * The `:access_key_id`, `:secret_access_key`,  
     | 
| 
       132 
     | 
    
         
            -
                # 
     | 
| 
      
 131 
     | 
    
         
            +
                #     * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
         
     | 
| 
      
 132 
     | 
    
         
            +
                #       `:account_id` options.
         
     | 
| 
      
 133 
     | 
    
         
            +
                #     * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
         
     | 
| 
      
 134 
     | 
    
         
            +
                #       ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
         
     | 
| 
       133 
135 
     | 
    
         
             
                #     * `~/.aws/credentials`
         
     | 
| 
       134 
136 
     | 
    
         
             
                #     * `~/.aws/config`
         
     | 
| 
       135 
137 
     | 
    
         
             
                #     * EC2/ECS IMDS instance profile - When used by default, the timeouts
         
     | 
| 
       136 
138 
     | 
    
         
             
                #       are very aggressive. Construct and pass an instance of
         
     | 
| 
       137 
     | 
    
         
            -
                #       `Aws:: 
     | 
| 
      
 139 
     | 
    
         
            +
                #       `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
         
     | 
| 
       138 
140 
     | 
    
         
             
                #       enable retries and extended timeouts. Instance profile credential
         
     | 
| 
       139 
141 
     | 
    
         
             
                #       fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
         
     | 
| 
       140 
142 
     | 
    
         
             
                #       to true.
         
     | 
| 
         @@ -153,6 +155,8 @@ module Aws::CodeCommit 
     | 
|
| 
       153 
155 
     | 
    
         
             
                #
         
     | 
| 
       154 
156 
     | 
    
         
             
                #   @option options [String] :access_key_id
         
     | 
| 
       155 
157 
     | 
    
         
             
                #
         
     | 
| 
      
 158 
     | 
    
         
            +
                #   @option options [String] :account_id
         
     | 
| 
      
 159 
     | 
    
         
            +
                #
         
     | 
| 
       156 
160 
     | 
    
         
             
                #   @option options [Boolean] :active_endpoint_cache (false)
         
     | 
| 
       157 
161 
     | 
    
         
             
                #     When set to `true`, a thread polling for endpoints will be running in
         
     | 
| 
       158 
162 
     | 
    
         
             
                #     the background every 60 secs (default). Defaults to `false`.
         
     | 
| 
         @@ -337,6 +341,16 @@ module Aws::CodeCommit 
     | 
|
| 
       337 
341 
     | 
    
         
             
                #     ** Please note ** When response stubbing is enabled, no HTTP
         
     | 
| 
       338 
342 
     | 
    
         
             
                #     requests are made, and retries are disabled.
         
     | 
| 
       339 
343 
     | 
    
         
             
                #
         
     | 
| 
      
 344 
     | 
    
         
            +
                #   @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
         
     | 
| 
      
 345 
     | 
    
         
            +
                #     Allows you to provide a telemetry provider, which is used to
         
     | 
| 
      
 346 
     | 
    
         
            +
                #     emit telemetry data. By default, uses `NoOpTelemetryProvider` which
         
     | 
| 
      
 347 
     | 
    
         
            +
                #     will not record or emit any telemetry data. The SDK supports the
         
     | 
| 
      
 348 
     | 
    
         
            +
                #     following telemetry providers:
         
     | 
| 
      
 349 
     | 
    
         
            +
                #
         
     | 
| 
      
 350 
     | 
    
         
            +
                #     * OpenTelemetry (OTel) - To use the OTel provider, install and require the
         
     | 
| 
      
 351 
     | 
    
         
            +
                #     `opentelemetry-sdk` gem and then, pass in an instance of a
         
     | 
| 
      
 352 
     | 
    
         
            +
                #     `Aws::Telemetry::OTelProvider` for telemetry provider.
         
     | 
| 
      
 353 
     | 
    
         
            +
                #
         
     | 
| 
       340 
354 
     | 
    
         
             
                #   @option options [Aws::TokenProvider] :token_provider
         
     | 
| 
       341 
355 
     | 
    
         
             
                #     A Bearer Token Provider. This can be an instance of any one of the
         
     | 
| 
       342 
356 
     | 
    
         
             
                #     following classes:
         
     | 
| 
         @@ -364,7 +378,9 @@ module Aws::CodeCommit 
     | 
|
| 
       364 
378 
     | 
    
         
             
                #     sending the request.
         
     | 
| 
       365 
379 
     | 
    
         
             
                #
         
     | 
| 
       366 
380 
     | 
    
         
             
                #   @option options [Aws::CodeCommit::EndpointProvider] :endpoint_provider
         
     | 
| 
       367 
     | 
    
         
            -
                #     The endpoint provider used to resolve endpoints. Any object that responds to 
     | 
| 
      
 381 
     | 
    
         
            +
                #     The endpoint provider used to resolve endpoints. Any object that responds to
         
     | 
| 
      
 382 
     | 
    
         
            +
                #     `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
         
     | 
| 
      
 383 
     | 
    
         
            +
                #     `Aws::CodeCommit::EndpointParameters`.
         
     | 
| 
       368 
384 
     | 
    
         
             
                #
         
     | 
| 
       369 
385 
     | 
    
         
             
                #   @option options [Float] :http_continue_timeout (1)
         
     | 
| 
       370 
386 
     | 
    
         
             
                #     The number of seconds to wait for a 100-continue response before sending the
         
     | 
| 
         @@ -420,6 +436,12 @@ module Aws::CodeCommit 
     | 
|
| 
       420 
436 
     | 
    
         
             
                #   @option options [String] :ssl_ca_store
         
     | 
| 
       421 
437 
     | 
    
         
             
                #     Sets the X509::Store to verify peer certificate.
         
     | 
| 
       422 
438 
     | 
    
         
             
                #
         
     | 
| 
      
 439 
     | 
    
         
            +
                #   @option options [OpenSSL::X509::Certificate] :ssl_cert
         
     | 
| 
      
 440 
     | 
    
         
            +
                #     Sets a client certificate when creating http connections.
         
     | 
| 
      
 441 
     | 
    
         
            +
                #
         
     | 
| 
      
 442 
     | 
    
         
            +
                #   @option options [OpenSSL::PKey] :ssl_key
         
     | 
| 
      
 443 
     | 
    
         
            +
                #     Sets a client key when creating http connections.
         
     | 
| 
      
 444 
     | 
    
         
            +
                #
         
     | 
| 
       423 
445 
     | 
    
         
             
                #   @option options [Float] :ssl_timeout
         
     | 
| 
       424 
446 
     | 
    
         
             
                #     Sets the SSL timeout in seconds
         
     | 
| 
       425 
447 
     | 
    
         
             
                #
         
     | 
| 
         @@ -5149,14 +5171,19 @@ module Aws::CodeCommit 
     | 
|
| 
       5149 
5171 
     | 
    
         
             
                # @api private
         
     | 
| 
       5150 
5172 
     | 
    
         
             
                def build_request(operation_name, params = {})
         
     | 
| 
       5151 
5173 
     | 
    
         
             
                  handlers = @handlers.for(operation_name)
         
     | 
| 
      
 5174 
     | 
    
         
            +
                  tracer = config.telemetry_provider.tracer_provider.tracer(
         
     | 
| 
      
 5175 
     | 
    
         
            +
                    Aws::Telemetry.module_to_tracer_name('Aws::CodeCommit')
         
     | 
| 
      
 5176 
     | 
    
         
            +
                  )
         
     | 
| 
       5152 
5177 
     | 
    
         
             
                  context = Seahorse::Client::RequestContext.new(
         
     | 
| 
       5153 
5178 
     | 
    
         
             
                    operation_name: operation_name,
         
     | 
| 
       5154 
5179 
     | 
    
         
             
                    operation: config.api.operation(operation_name),
         
     | 
| 
       5155 
5180 
     | 
    
         
             
                    client: self,
         
     | 
| 
       5156 
5181 
     | 
    
         
             
                    params: params,
         
     | 
| 
       5157 
     | 
    
         
            -
                    config: config 
     | 
| 
      
 5182 
     | 
    
         
            +
                    config: config,
         
     | 
| 
      
 5183 
     | 
    
         
            +
                    tracer: tracer
         
     | 
| 
      
 5184 
     | 
    
         
            +
                  )
         
     | 
| 
       5158 
5185 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-codecommit'
         
     | 
| 
       5159 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 5186 
     | 
    
         
            +
                  context[:gem_version] = '1.78.0'
         
     | 
| 
       5160 
5187 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       5161 
5188 
     | 
    
         
             
                end
         
     | 
| 
       5162 
5189 
     | 
    
         |