aws-sdk-cloudfront 1.96.0 → 1.102.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7610fdddb0527a03ab304888f6d8e0c546d305e603e88a9a8a81fb2fcff2f977
4
- data.tar.gz: bfbb48ab5af226f1988e8474f0e4bb6384e94a732bc8efc02ecb3afa96724391
3
+ metadata.gz: '0396ff3123e2ffb08999faa4471475394ea357f5cb056752e4e7741f553b1daa'
4
+ data.tar.gz: 74c9289155f056db4ea33ae6cfaf85403cf9720389e82d4d6de021e93ab24a5d
5
5
  SHA512:
6
- metadata.gz: 7fd2032116aea8b21777ade2200aab4515a250b55ddfc57c97f99562924dff17e7e960a73ffdfc6dd2c4b5e3c766cf7ac702de537a9719778e2fd1e8b430eb33
7
- data.tar.gz: 2be7e51404abc0c4791497528d6c2e696118f51ef5f174c4d1beecf929bad7174154f5b075ed313ee4ce3949b01876ae88b6c9557a728088de5cb6ab82008191
6
+ metadata.gz: 33310ff679bfa045f8b72346d5ca0c7cd97adacafc1247cef94c641f980e4b4ac360b0b1b50fc8c848dd0479d778fb80a9a0bb20b77a750b491527ce01937e5d
7
+ data.tar.gz: 384e04e7a27dff08b59d4c32ec8463222886cb957c0e040ba478ccc394883e15eea8b4802d90e5fc1e7576b3b89757d9c2d8bc31b3efa8a22862ef0b1551b9bb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,36 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.102.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.101.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.100.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.99.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.98.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.97.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.96.0 (2024-07-02)
5
35
  ------------------
6
36
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.0
1
+ 1.102.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/rest_xml.rb'
37
38
 
38
- Aws::Plugins::GlobalConfiguration.add_identifier(:cloudfront)
39
-
40
39
  module Aws::CloudFront
41
40
  # An API client for CloudFront. To construct a client, you need to configure a `:region` and `:credentials`.
42
41
  #
@@ -83,6 +82,7 @@ module Aws::CloudFront
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::RestXml)
88
88
  add_plugin(Aws::CloudFront::Plugins::Endpoints)
@@ -128,13 +128,15 @@ module Aws::CloudFront
128
128
  # locations will be searched for credentials:
129
129
  #
130
130
  # * `Aws.config[:credentials]`
131
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
132
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
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::InstanceProfileCredentails` or `Aws::ECSCredentials` to
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::CloudFront
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`.
@@ -330,6 +334,16 @@ module Aws::CloudFront
330
334
  # ** Please note ** When response stubbing is enabled, no HTTP
331
335
  # requests are made, and retries are disabled.
332
336
  #
337
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
338
+ # Allows you to provide a telemetry provider, which is used to
339
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
340
+ # will not record or emit any telemetry data. The SDK supports the
341
+ # following telemetry providers:
342
+ #
343
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
344
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
345
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
346
+ #
333
347
  # @option options [Aws::TokenProvider] :token_provider
334
348
  # A Bearer Token Provider. This can be an instance of any one of the
335
349
  # following classes:
@@ -357,7 +371,9 @@ module Aws::CloudFront
357
371
  # sending the request.
358
372
  #
359
373
  # @option options [Aws::CloudFront::EndpointProvider] :endpoint_provider
360
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CloudFront::EndpointParameters`
374
+ # The endpoint provider used to resolve endpoints. Any object that responds to
375
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
376
+ # `Aws::CloudFront::EndpointParameters`.
361
377
  #
362
378
  # @option options [Float] :http_continue_timeout (1)
363
379
  # The number of seconds to wait for a 100-continue response before sending the
@@ -413,6 +429,12 @@ module Aws::CloudFront
413
429
  # @option options [String] :ssl_ca_store
414
430
  # Sets the X509::Store to verify peer certificate.
415
431
  #
432
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
433
+ # Sets a client certificate when creating http connections.
434
+ #
435
+ # @option options [OpenSSL::PKey] :ssl_key
436
+ # Sets a client key when creating http connections.
437
+ #
416
438
  # @option options [Float] :ssl_timeout
417
439
  # Sets the SSL timeout in seconds
418
440
  #
@@ -9450,14 +9472,19 @@ module Aws::CloudFront
9450
9472
  # @api private
9451
9473
  def build_request(operation_name, params = {})
9452
9474
  handlers = @handlers.for(operation_name)
9475
+ tracer = config.telemetry_provider.tracer_provider.tracer(
9476
+ Aws::Telemetry.module_to_tracer_name('Aws::CloudFront')
9477
+ )
9453
9478
  context = Seahorse::Client::RequestContext.new(
9454
9479
  operation_name: operation_name,
9455
9480
  operation: config.api.operation(operation_name),
9456
9481
  client: self,
9457
9482
  params: params,
9458
- config: config)
9483
+ config: config,
9484
+ tracer: tracer
9485
+ )
9459
9486
  context[:gem_name] = 'aws-sdk-cloudfront'
9460
- context[:gem_version] = '1.96.0'
9487
+ context[:gem_version] = '1.102.0'
9461
9488
  Seahorse::Client::Request.new(handlers, context)
9462
9489
  end
9463
9490
 
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  module Aws::CloudFront
11
12
  # @api private
12
13
  module ClientApi
@@ -1,6 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # utility classes
4
- require 'aws-sdk-cloudfront/signer'
5
- require 'aws-sdk-cloudfront/url_signer'
6
- require 'aws-sdk-cloudfront/cookie_signer'
4
+ module Aws
5
+ module CloudFront
6
+ autoload :Signer, 'aws-sdk-cloudfront/signer'
7
+ autoload :UrlSigner, 'aws-sdk-cloudfront/url_signer'
8
+ autoload :CookieSigner, 'aws-sdk-cloudfront/cookie_signer'
9
+ end
10
+ end