aws-sdk-cloudfront 1.64.0 → 1.65.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +1 -1
- data/lib/aws-sdk-cloudfront/client_api.rb +6 -0
- data/lib/aws-sdk-cloudfront/errors.rb +16 -0
- data/lib/aws-sdk-cloudfront/types.rb +21 -0
- data/lib/aws-sdk-cloudfront.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db5775c7bf0df4823bf53e86e6e9436e4865b20b5fad30330b8bed1a6831bf0d
|
4
|
+
data.tar.gz: 01bd4ae0492355c68f80ab23026bdeaed51a00b3f43247cbb25d44f4c3f16edc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4927d3a5df725664d2992c3cf387bc25bff5d730a885ad49fca8d9ac3eb9c2f04d1e9e262b55ce81b22204f6d37de6ceb5c03d72ddd9ccd6b8fe8485debc16ec
|
7
|
+
data.tar.gz: 011f41b13bae4268bf85b30df00337d190f892465ff8e111ccaa6e9b7273beb981afd1088a60cdad29bc806a77349b263ca6ac95e14bc13fdb916bae36914d48
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.65.0 (2022-05-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Introduced a new error (TooLongCSPInResponseHeadersPolicy) that is returned when the value of the Content-Security-Policy header in a response headers policy exceeds the maximum allowed length.
|
8
|
+
|
4
9
|
1.64.0 (2022-04-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.65.0
|
@@ -7768,7 +7768,7 @@ module Aws::CloudFront
|
|
7768
7768
|
params: params,
|
7769
7769
|
config: config)
|
7770
7770
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
7771
|
-
context[:gem_version] = '1.
|
7771
|
+
context[:gem_version] = '1.65.0'
|
7772
7772
|
Seahorse::Client::Request.new(handlers, context)
|
7773
7773
|
end
|
7774
7774
|
|
@@ -464,6 +464,7 @@ module Aws::CloudFront
|
|
464
464
|
TestFunctionRequest = Shapes::StructureShape.new(name: 'TestFunctionRequest')
|
465
465
|
TestFunctionResult = Shapes::StructureShape.new(name: 'TestFunctionResult')
|
466
466
|
TestResult = Shapes::StructureShape.new(name: 'TestResult')
|
467
|
+
TooLongCSPInResponseHeadersPolicy = Shapes::StructureShape.new(name: 'TooLongCSPInResponseHeadersPolicy')
|
467
468
|
TooManyCacheBehaviors = Shapes::StructureShape.new(name: 'TooManyCacheBehaviors')
|
468
469
|
TooManyCachePolicies = Shapes::StructureShape.new(name: 'TooManyCachePolicies')
|
469
470
|
TooManyCertificates = Shapes::StructureShape.new(name: 'TooManyCertificates')
|
@@ -2359,6 +2360,9 @@ module Aws::CloudFront
|
|
2359
2360
|
TestResult.add_member(:function_output, Shapes::ShapeRef.new(shape: sensitiveStringType, location_name: "FunctionOutput"))
|
2360
2361
|
TestResult.struct_class = Types::TestResult
|
2361
2362
|
|
2363
|
+
TooLongCSPInResponseHeadersPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2364
|
+
TooLongCSPInResponseHeadersPolicy.struct_class = Types::TooLongCSPInResponseHeadersPolicy
|
2365
|
+
|
2362
2366
|
TooManyCacheBehaviors.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2363
2367
|
TooManyCacheBehaviors.struct_class = Types::TooManyCacheBehaviors
|
2364
2368
|
|
@@ -3027,6 +3031,7 @@ module Aws::CloudFront
|
|
3027
3031
|
o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
|
3028
3032
|
o.errors << Shapes::ShapeRef.new(shape: TooManyResponseHeadersPolicies)
|
3029
3033
|
o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy)
|
3034
|
+
o.errors << Shapes::ShapeRef.new(shape: TooLongCSPInResponseHeadersPolicy)
|
3030
3035
|
end)
|
3031
3036
|
|
3032
3037
|
api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4038,6 +4043,7 @@ module Aws::CloudFront
|
|
4038
4043
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
4039
4044
|
o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
|
4040
4045
|
o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy)
|
4046
|
+
o.errors << Shapes::ShapeRef.new(shape: TooLongCSPInResponseHeadersPolicy)
|
4041
4047
|
end)
|
4042
4048
|
|
4043
4049
|
api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -104,6 +104,7 @@ module Aws::CloudFront
|
|
104
104
|
# * {StreamingDistributionAlreadyExists}
|
105
105
|
# * {StreamingDistributionNotDisabled}
|
106
106
|
# * {TestFunctionFailed}
|
107
|
+
# * {TooLongCSPInResponseHeadersPolicy}
|
107
108
|
# * {TooManyCacheBehaviors}
|
108
109
|
# * {TooManyCachePolicies}
|
109
110
|
# * {TooManyCertificates}
|
@@ -1316,6 +1317,21 @@ module Aws::CloudFront
|
|
1316
1317
|
end
|
1317
1318
|
end
|
1318
1319
|
|
1320
|
+
class TooLongCSPInResponseHeadersPolicy < ServiceError
|
1321
|
+
|
1322
|
+
# @param [Seahorse::Client::RequestContext] context
|
1323
|
+
# @param [String] message
|
1324
|
+
# @param [Aws::CloudFront::Types::TooLongCSPInResponseHeadersPolicy] data
|
1325
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1326
|
+
super(context, message, data)
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
# @return [String]
|
1330
|
+
def message
|
1331
|
+
@message || @data[:message]
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
|
1319
1335
|
class TooManyCacheBehaviors < ServiceError
|
1320
1336
|
|
1321
1337
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -13350,6 +13350,27 @@ module Aws::CloudFront
|
|
13350
13350
|
include Aws::Structure
|
13351
13351
|
end
|
13352
13352
|
|
13353
|
+
# The length of the `Content-Security-Policy` header value in the
|
13354
|
+
# response headers policy exceeds the maximum.
|
13355
|
+
#
|
13356
|
+
# For more information, see [Quotas][1] (formerly known as limits) in
|
13357
|
+
# the *Amazon CloudFront Developer Guide*.
|
13358
|
+
#
|
13359
|
+
#
|
13360
|
+
#
|
13361
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html
|
13362
|
+
#
|
13363
|
+
# @!attribute [rw] message
|
13364
|
+
# @return [String]
|
13365
|
+
#
|
13366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TooLongCSPInResponseHeadersPolicy AWS API Documentation
|
13367
|
+
#
|
13368
|
+
class TooLongCSPInResponseHeadersPolicy < Struct.new(
|
13369
|
+
:message)
|
13370
|
+
SENSITIVE = []
|
13371
|
+
include Aws::Structure
|
13372
|
+
end
|
13373
|
+
|
13353
13374
|
# You cannot create more cache behaviors for the distribution.
|
13354
13375
|
#
|
13355
13376
|
# @!attribute [rw] message
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudfront
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.65.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: 2022-
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|