aws-sdk-cloudfront 1.96.0 → 1.102.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 +30 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +35 -8
- data/lib/aws-sdk-cloudfront/client_api.rb +1 -0
- data/lib/aws-sdk-cloudfront/customizations.rb +7 -3
- data/lib/aws-sdk-cloudfront/endpoints.rb +111 -444
- data/lib/aws-sdk-cloudfront/plugins/endpoints.rb +18 -6
- data/lib/aws-sdk-cloudfront/types.rb +1 -0
- data/lib/aws-sdk-cloudfront.rb +16 -12
- 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: '0396ff3123e2ffb08999faa4471475394ea357f5cb056752e4e7741f553b1daa'
|
4
|
+
data.tar.gz: 74c9289155f056db4ea33ae6cfaf85403cf9720389e82d4d6de021e93ab24a5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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`,
|
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::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
|
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.
|
9487
|
+
context[:gem_version] = '1.102.0'
|
9461
9488
|
Seahorse::Client::Request.new(handlers, context)
|
9462
9489
|
end
|
9463
9490
|
|
@@ -1,6 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# utility classes
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|