aws-sdk-cloudfront 1.64.0 → 1.65.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: 0a5df1416e2e2280e5c75b280b6ac408bc732e86250c299f62ef4cb53b1bfff8
4
- data.tar.gz: 1b5b32525e24503c4cc7ac27fd6ae619670c828762e43400c0a76f4f1b627601
3
+ metadata.gz: db5775c7bf0df4823bf53e86e6e9436e4865b20b5fad30330b8bed1a6831bf0d
4
+ data.tar.gz: 01bd4ae0492355c68f80ab23026bdeaed51a00b3f43247cbb25d44f4c3f16edc
5
5
  SHA512:
6
- metadata.gz: b2dc665a2687560c782ba3768e22de54840cad78809c5e4c263833ee9c46d71799e615835b2243f68f53a1eea85f53dd4a1bb73fb1cab295fd6d5ebd3509ae9e
7
- data.tar.gz: b2fc727f24a41ce236327bafddd7c375ba5b83ea5cd271c8c56da37cdc190eb986f906188e43be1b5ea8645e39e1740b05ad396a4d26263ec1bf8b27890c8011
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.64.0
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.64.0'
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
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-cloudfront/customizations'
49
49
  # @!group service
50
50
  module Aws::CloudFront
51
51
 
52
- GEM_VERSION = '1.64.0'
52
+ GEM_VERSION = '1.65.0'
53
53
 
54
54
  end
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.64.0
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-04-26 00:00:00.000000000 Z
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