aws-sdk-cloudfront 1.86.1 → 1.88.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-cloudfront/client.rb +43 -32
- data/lib/aws-sdk-cloudfront/client_api.rb +5 -0
- data/lib/aws-sdk-cloudfront/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-cloudfront/types.rb +99 -76
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +2656 -0
- data/sig/errors.rbs +463 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +3180 -0
- data/sig/waiters.rbs +44 -0
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec7d6ee99a44f832224ff86d3b890a90e02aecdfa3d7d51e892df7b47ffb0f70
|
4
|
+
data.tar.gz: 28f2a9e94839c011412e804d22d88731a38db7a9e7973c8908f1eba4b00fd1ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de5eaa1a86e9e371285f0e18a82b309e762bf29267bcb4f82ff93a96ad52df358ebba1324ee1e72645181c0eee0b4febe4dd700cd917b3f4ce1d6737f7ab4ccc
|
7
|
+
data.tar.gz: ae53c09b80094e73f02b549c6d492b632642192d6fa08a3b73c29a8df03b19d5b1450b458613f329a73a00d107daaa52b50c92565eb19ae06c7dd7828a01eafd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.88.0 (2024-04-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - CloudFront origin access control extends support to AWS Lambda function URLs and AWS Elemental MediaPackage v2 origins.
|
8
|
+
|
9
|
+
1.87.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.86.1 (2024-01-10)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.88.0
|
@@ -2151,7 +2151,12 @@ module Aws::CloudFront
|
|
2151
2151
|
req.send_request(options)
|
2152
2152
|
end
|
2153
2153
|
|
2154
|
-
# Create a new invalidation.
|
2154
|
+
# Create a new invalidation. For more information, see [Invalidating
|
2155
|
+
# files][1] in the *Amazon CloudFront Developer Guide*.
|
2156
|
+
#
|
2157
|
+
#
|
2158
|
+
#
|
2159
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html
|
2155
2160
|
#
|
2156
2161
|
# @option params [required, String] :distribution_id
|
2157
2162
|
# The distribution's id.
|
@@ -2254,17 +2259,17 @@ module Aws::CloudFront
|
|
2254
2259
|
req.send_request(options)
|
2255
2260
|
end
|
2256
2261
|
|
2257
|
-
# Specifies the
|
2258
|
-
# account, the
|
2259
|
-
#
|
2262
|
+
# Specifies the key value store resource to add to your account. In your
|
2263
|
+
# account, the key value store names must be unique. You can also import
|
2264
|
+
# key value store data in JSON format from an S3 bucket by providing a
|
2260
2265
|
# valid `ImportSource` that you own.
|
2261
2266
|
#
|
2262
2267
|
# @option params [required, String] :name
|
2263
|
-
# The name of the
|
2264
|
-
# characters.
|
2268
|
+
# The name of the key value store. The minimum length is 1 character and
|
2269
|
+
# the maximum length is 64 characters.
|
2265
2270
|
#
|
2266
2271
|
# @option params [String] :comment
|
2267
|
-
# The comment of the
|
2272
|
+
# The comment of the key value store.
|
2268
2273
|
#
|
2269
2274
|
# @option params [Types::ImportSource] :import_source
|
2270
2275
|
# The S3 bucket that provides the source for the import. The source must
|
@@ -2415,7 +2420,7 @@ module Aws::CloudFront
|
|
2415
2420
|
# description: "string",
|
2416
2421
|
# signing_protocol: "sigv4", # required, accepts sigv4
|
2417
2422
|
# signing_behavior: "never", # required, accepts never, always, no-override
|
2418
|
-
# origin_access_control_origin_type: "s3", # required, accepts s3, mediastore
|
2423
|
+
# origin_access_control_origin_type: "s3", # required, accepts s3, mediastore, mediapackagev2, lambda
|
2419
2424
|
# },
|
2420
2425
|
# })
|
2421
2426
|
#
|
@@ -2426,7 +2431,7 @@ module Aws::CloudFront
|
|
2426
2431
|
# resp.origin_access_control.origin_access_control_config.description #=> String
|
2427
2432
|
# resp.origin_access_control.origin_access_control_config.signing_protocol #=> String, one of "sigv4"
|
2428
2433
|
# resp.origin_access_control.origin_access_control_config.signing_behavior #=> String, one of "never", "always", "no-override"
|
2429
|
-
# resp.origin_access_control.origin_access_control_config.origin_access_control_origin_type #=> String, one of "s3", "mediastore"
|
2434
|
+
# resp.origin_access_control.origin_access_control_config.origin_access_control_origin_type #=> String, one of "s3", "mediastore", "mediapackagev2", "lambda"
|
2430
2435
|
# resp.location #=> String
|
2431
2436
|
# resp.etag #=> String
|
2432
2437
|
#
|
@@ -2617,10 +2622,10 @@ module Aws::CloudFront
|
|
2617
2622
|
# A unique name to identify this real-time log configuration.
|
2618
2623
|
#
|
2619
2624
|
# @option params [required, Integer] :sampling_rate
|
2620
|
-
# The sampling rate for this real-time log configuration.
|
2621
|
-
#
|
2622
|
-
#
|
2623
|
-
#
|
2625
|
+
# The sampling rate for this real-time log configuration. You can
|
2626
|
+
# specify a whole number between 1 and 100 (inclusive) to determine the
|
2627
|
+
# percentage of viewer requests that are represented in the real-time
|
2628
|
+
# log data.
|
2624
2629
|
#
|
2625
2630
|
# @return [Types::CreateRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2626
2631
|
#
|
@@ -3272,13 +3277,13 @@ module Aws::CloudFront
|
|
3272
3277
|
req.send_request(options)
|
3273
3278
|
end
|
3274
3279
|
|
3275
|
-
# Specifies the
|
3280
|
+
# Specifies the key value store to delete.
|
3276
3281
|
#
|
3277
3282
|
# @option params [required, String] :name
|
3278
|
-
# The name of the
|
3283
|
+
# The name of the key value store.
|
3279
3284
|
#
|
3280
3285
|
# @option params [required, String] :if_match
|
3281
|
-
# The
|
3286
|
+
# The key value store to delete, if a match occurs.
|
3282
3287
|
#
|
3283
3288
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3284
3289
|
#
|
@@ -3628,10 +3633,10 @@ module Aws::CloudFront
|
|
3628
3633
|
req.send_request(options)
|
3629
3634
|
end
|
3630
3635
|
|
3631
|
-
# Specifies the
|
3636
|
+
# Specifies the key value store and its configuration.
|
3632
3637
|
#
|
3633
3638
|
# @option params [required, String] :name
|
3634
|
-
# The name of the
|
3639
|
+
# The name of the key value store.
|
3635
3640
|
#
|
3636
3641
|
# @return [Types::DescribeKeyValueStoreResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3637
3642
|
#
|
@@ -4756,7 +4761,7 @@ module Aws::CloudFront
|
|
4756
4761
|
# resp.origin_access_control.origin_access_control_config.description #=> String
|
4757
4762
|
# resp.origin_access_control.origin_access_control_config.signing_protocol #=> String, one of "sigv4"
|
4758
4763
|
# resp.origin_access_control.origin_access_control_config.signing_behavior #=> String, one of "never", "always", "no-override"
|
4759
|
-
# resp.origin_access_control.origin_access_control_config.origin_access_control_origin_type #=> String, one of "s3", "mediastore"
|
4764
|
+
# resp.origin_access_control.origin_access_control_config.origin_access_control_origin_type #=> String, one of "s3", "mediastore", "mediapackagev2", "lambda"
|
4760
4765
|
# resp.etag #=> String
|
4761
4766
|
#
|
4762
4767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginAccessControl AWS API Documentation
|
@@ -4790,7 +4795,7 @@ module Aws::CloudFront
|
|
4790
4795
|
# resp.origin_access_control_config.description #=> String
|
4791
4796
|
# resp.origin_access_control_config.signing_protocol #=> String, one of "sigv4"
|
4792
4797
|
# resp.origin_access_control_config.signing_behavior #=> String, one of "never", "always", "no-override"
|
4793
|
-
# resp.origin_access_control_config.origin_access_control_origin_type #=> String, one of "s3", "mediastore"
|
4798
|
+
# resp.origin_access_control_config.origin_access_control_origin_type #=> String, one of "s3", "mediastore", "mediapackagev2", "lambda"
|
4794
4799
|
# resp.etag #=> String
|
4795
4800
|
#
|
4796
4801
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginAccessControlConfig AWS API Documentation
|
@@ -6260,6 +6265,12 @@ module Aws::CloudFront
|
|
6260
6265
|
# distributions. If you specify "null" for the ID, the request returns
|
6261
6266
|
# a list of the distributions that aren't associated with a web ACL.
|
6262
6267
|
#
|
6268
|
+
# For WAFV2, this is the ARN of the web ACL, such as
|
6269
|
+
# `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
|
6270
|
+
#
|
6271
|
+
# For WAF Classic, this is the ID of the web ACL, such as
|
6272
|
+
# `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
|
6273
|
+
#
|
6263
6274
|
# @return [Types::ListDistributionsByWebACLIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6264
6275
|
#
|
6265
6276
|
# * {Types::ListDistributionsByWebACLIdResult#distribution_list #distribution_list} => Types::DistributionList
|
@@ -6732,16 +6743,16 @@ module Aws::CloudFront
|
|
6732
6743
|
req.send_request(options)
|
6733
6744
|
end
|
6734
6745
|
|
6735
|
-
# Specifies the
|
6746
|
+
# Specifies the key value stores to list.
|
6736
6747
|
#
|
6737
6748
|
# @option params [String] :marker
|
6738
|
-
# The marker associated with the
|
6749
|
+
# The marker associated with the key value stores list.
|
6739
6750
|
#
|
6740
6751
|
# @option params [Integer] :max_items
|
6741
|
-
# The maximum number of items in the
|
6752
|
+
# The maximum number of items in the key value stores list.
|
6742
6753
|
#
|
6743
6754
|
# @option params [String] :status
|
6744
|
-
# The status of the request for the
|
6755
|
+
# The status of the request for the key value stores list.
|
6745
6756
|
#
|
6746
6757
|
# @return [Types::ListKeyValueStoresResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6747
6758
|
#
|
@@ -6854,7 +6865,7 @@ module Aws::CloudFront
|
|
6854
6865
|
# resp.origin_access_control_list.items[0].name #=> String
|
6855
6866
|
# resp.origin_access_control_list.items[0].signing_protocol #=> String, one of "sigv4"
|
6856
6867
|
# resp.origin_access_control_list.items[0].signing_behavior #=> String, one of "never", "always", "no-override"
|
6857
|
-
# resp.origin_access_control_list.items[0].origin_access_control_origin_type #=> String, one of "s3", "mediastore"
|
6868
|
+
# resp.origin_access_control_list.items[0].origin_access_control_origin_type #=> String, one of "s3", "mediastore", "mediapackagev2", "lambda"
|
6858
6869
|
#
|
6859
6870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListOriginAccessControls AWS API Documentation
|
6860
6871
|
#
|
@@ -8763,16 +8774,16 @@ module Aws::CloudFront
|
|
8763
8774
|
req.send_request(options)
|
8764
8775
|
end
|
8765
8776
|
|
8766
|
-
# Specifies the
|
8777
|
+
# Specifies the key value store to update.
|
8767
8778
|
#
|
8768
8779
|
# @option params [required, String] :name
|
8769
|
-
# The name of the
|
8780
|
+
# The name of the key value store to update.
|
8770
8781
|
#
|
8771
8782
|
# @option params [required, String] :comment
|
8772
|
-
# The comment of the
|
8783
|
+
# The comment of the key value store to update.
|
8773
8784
|
#
|
8774
8785
|
# @option params [required, String] :if_match
|
8775
|
-
# The
|
8786
|
+
# The key value store to update, if a match occurs.
|
8776
8787
|
#
|
8777
8788
|
# @return [Types::UpdateKeyValueStoreResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8778
8789
|
#
|
@@ -8856,7 +8867,7 @@ module Aws::CloudFront
|
|
8856
8867
|
# description: "string",
|
8857
8868
|
# signing_protocol: "sigv4", # required, accepts sigv4
|
8858
8869
|
# signing_behavior: "never", # required, accepts never, always, no-override
|
8859
|
-
# origin_access_control_origin_type: "s3", # required, accepts s3, mediastore
|
8870
|
+
# origin_access_control_origin_type: "s3", # required, accepts s3, mediastore, mediapackagev2, lambda
|
8860
8871
|
# },
|
8861
8872
|
# id: "string", # required
|
8862
8873
|
# if_match: "string",
|
@@ -8869,7 +8880,7 @@ module Aws::CloudFront
|
|
8869
8880
|
# resp.origin_access_control.origin_access_control_config.description #=> String
|
8870
8881
|
# resp.origin_access_control.origin_access_control_config.signing_protocol #=> String, one of "sigv4"
|
8871
8882
|
# resp.origin_access_control.origin_access_control_config.signing_behavior #=> String, one of "never", "always", "no-override"
|
8872
|
-
# resp.origin_access_control.origin_access_control_config.origin_access_control_origin_type #=> String, one of "s3", "mediastore"
|
8883
|
+
# resp.origin_access_control.origin_access_control_config.origin_access_control_origin_type #=> String, one of "s3", "mediastore", "mediapackagev2", "lambda"
|
8873
8884
|
# resp.etag #=> String
|
8874
8885
|
#
|
8875
8886
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateOriginAccessControl AWS API Documentation
|
@@ -9392,7 +9403,7 @@ module Aws::CloudFront
|
|
9392
9403
|
params: params,
|
9393
9404
|
config: config)
|
9394
9405
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
9395
|
-
context[:gem_version] = '1.
|
9406
|
+
context[:gem_version] = '1.88.0'
|
9396
9407
|
Seahorse::Client::Request.new(handlers, context)
|
9397
9408
|
end
|
9398
9409
|
|
@@ -3537,6 +3537,7 @@ module Aws::CloudFront
|
|
3537
3537
|
o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExists)
|
3538
3538
|
o.errors << Shapes::ShapeRef.new(shape: EntitySizeLimitExceeded)
|
3539
3539
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3540
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
3540
3541
|
end)
|
3541
3542
|
|
3542
3543
|
api.add_operation(:create_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3781,6 +3782,7 @@ module Aws::CloudFront
|
|
3781
3782
|
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
3782
3783
|
o.errors << Shapes::ShapeRef.new(shape: CannotDeleteEntityWhileInUse)
|
3783
3784
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
3785
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
3784
3786
|
end)
|
3785
3787
|
|
3786
3788
|
api.add_operation(:delete_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3898,6 +3900,7 @@ module Aws::CloudFront
|
|
3898
3900
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3899
3901
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3900
3902
|
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
3903
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
3901
3904
|
end)
|
3902
3905
|
|
3903
3906
|
api.add_operation(:get_cache_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4381,6 +4384,7 @@ module Aws::CloudFront
|
|
4381
4384
|
o.output = Shapes::ShapeRef.new(shape: ListKeyValueStoresResult)
|
4382
4385
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
4383
4386
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
4387
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
4384
4388
|
o[:pager] = Aws::Pager.new(
|
4385
4389
|
limit_key: "max_items",
|
4386
4390
|
tokens: {
|
@@ -4804,6 +4808,7 @@ module Aws::CloudFront
|
|
4804
4808
|
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
4805
4809
|
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
4806
4810
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
4811
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
4807
4812
|
end)
|
4808
4813
|
|
4809
4814
|
api.add_operation(:update_origin_access_control, Seahorse::Model::Operation.new.tap do |o|
|
@@ -14,6 +14,7 @@ module Aws::CloudFront
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::CloudFront::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|