aws-sdk-cloudfront 1.71.0 → 1.73.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 +202 -160
- data/lib/aws-sdk-cloudfront/client_api.rb +19 -0
- data/lib/aws-sdk-cloudfront/errors.rb +16 -0
- data/lib/aws-sdk-cloudfront/types.rb +216 -161
- data/lib/aws-sdk-cloudfront.rb +1 -1
- metadata +2 -2
@@ -472,6 +472,9 @@ module Aws::CloudFront
|
|
472
472
|
ResponseHeadersPolicyInUse = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyInUse')
|
473
473
|
ResponseHeadersPolicyList = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyList')
|
474
474
|
ResponseHeadersPolicyReferrerPolicy = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyReferrerPolicy')
|
475
|
+
ResponseHeadersPolicyRemoveHeader = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyRemoveHeader')
|
476
|
+
ResponseHeadersPolicyRemoveHeaderList = Shapes::ListShape.new(name: 'ResponseHeadersPolicyRemoveHeaderList')
|
477
|
+
ResponseHeadersPolicyRemoveHeadersConfig = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyRemoveHeadersConfig')
|
475
478
|
ResponseHeadersPolicySecurityHeadersConfig = Shapes::StructureShape.new(name: 'ResponseHeadersPolicySecurityHeadersConfig')
|
476
479
|
ResponseHeadersPolicyServerTimingHeadersConfig = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyServerTimingHeadersConfig')
|
477
480
|
ResponseHeadersPolicyStrictTransportSecurity = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyStrictTransportSecurity')
|
@@ -562,6 +565,7 @@ module Aws::CloudFront
|
|
562
565
|
TooManyQueryStringsInCachePolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInCachePolicy')
|
563
566
|
TooManyQueryStringsInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInOriginRequestPolicy')
|
564
567
|
TooManyRealtimeLogConfigs = Shapes::StructureShape.new(name: 'TooManyRealtimeLogConfigs')
|
568
|
+
TooManyRemoveHeadersInResponseHeadersPolicy = Shapes::StructureShape.new(name: 'TooManyRemoveHeadersInResponseHeadersPolicy')
|
565
569
|
TooManyResponseHeadersPolicies = Shapes::StructureShape.new(name: 'TooManyResponseHeadersPolicies')
|
566
570
|
TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
|
567
571
|
TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
|
@@ -2418,6 +2422,7 @@ module Aws::CloudFront
|
|
2418
2422
|
ResponseHeadersPolicyConfig.add_member(:security_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicySecurityHeadersConfig, location_name: "SecurityHeadersConfig"))
|
2419
2423
|
ResponseHeadersPolicyConfig.add_member(:server_timing_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyServerTimingHeadersConfig, location_name: "ServerTimingHeadersConfig"))
|
2420
2424
|
ResponseHeadersPolicyConfig.add_member(:custom_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyCustomHeadersConfig, location_name: "CustomHeadersConfig"))
|
2425
|
+
ResponseHeadersPolicyConfig.add_member(:remove_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyRemoveHeadersConfig, location_name: "RemoveHeadersConfig"))
|
2421
2426
|
ResponseHeadersPolicyConfig.struct_class = Types::ResponseHeadersPolicyConfig
|
2422
2427
|
|
2423
2428
|
ResponseHeadersPolicyContentSecurityPolicy.add_member(:override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Override"))
|
@@ -2464,6 +2469,15 @@ module Aws::CloudFront
|
|
2464
2469
|
ResponseHeadersPolicyReferrerPolicy.add_member(:referrer_policy, Shapes::ShapeRef.new(shape: ReferrerPolicyList, required: true, location_name: "ReferrerPolicy"))
|
2465
2470
|
ResponseHeadersPolicyReferrerPolicy.struct_class = Types::ResponseHeadersPolicyReferrerPolicy
|
2466
2471
|
|
2472
|
+
ResponseHeadersPolicyRemoveHeader.add_member(:header, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Header"))
|
2473
|
+
ResponseHeadersPolicyRemoveHeader.struct_class = Types::ResponseHeadersPolicyRemoveHeader
|
2474
|
+
|
2475
|
+
ResponseHeadersPolicyRemoveHeaderList.member = Shapes::ShapeRef.new(shape: ResponseHeadersPolicyRemoveHeader, location_name: "ResponseHeadersPolicyRemoveHeader")
|
2476
|
+
|
2477
|
+
ResponseHeadersPolicyRemoveHeadersConfig.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
2478
|
+
ResponseHeadersPolicyRemoveHeadersConfig.add_member(:items, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyRemoveHeaderList, location_name: "Items"))
|
2479
|
+
ResponseHeadersPolicyRemoveHeadersConfig.struct_class = Types::ResponseHeadersPolicyRemoveHeadersConfig
|
2480
|
+
|
2467
2481
|
ResponseHeadersPolicySecurityHeadersConfig.add_member(:xss_protection, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyXSSProtection, location_name: "XSSProtection"))
|
2468
2482
|
ResponseHeadersPolicySecurityHeadersConfig.add_member(:frame_options, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyFrameOptions, location_name: "FrameOptions"))
|
2469
2483
|
ResponseHeadersPolicySecurityHeadersConfig.add_member(:referrer_policy, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyReferrerPolicy, location_name: "ReferrerPolicy"))
|
@@ -2770,6 +2784,9 @@ module Aws::CloudFront
|
|
2770
2784
|
TooManyRealtimeLogConfigs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2771
2785
|
TooManyRealtimeLogConfigs.struct_class = Types::TooManyRealtimeLogConfigs
|
2772
2786
|
|
2787
|
+
TooManyRemoveHeadersInResponseHeadersPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2788
|
+
TooManyRemoveHeadersInResponseHeadersPolicy.struct_class = Types::TooManyRemoveHeadersInResponseHeadersPolicy
|
2789
|
+
|
2773
2790
|
TooManyResponseHeadersPolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2774
2791
|
TooManyResponseHeadersPolicies.struct_class = Types::TooManyResponseHeadersPolicies
|
2775
2792
|
|
@@ -3464,6 +3481,7 @@ module Aws::CloudFront
|
|
3464
3481
|
o.errors << Shapes::ShapeRef.new(shape: TooManyResponseHeadersPolicies)
|
3465
3482
|
o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy)
|
3466
3483
|
o.errors << Shapes::ShapeRef.new(shape: TooLongCSPInResponseHeadersPolicy)
|
3484
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRemoveHeadersInResponseHeadersPolicy)
|
3467
3485
|
end)
|
3468
3486
|
|
3469
3487
|
api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4671,6 +4689,7 @@ module Aws::CloudFront
|
|
4671
4689
|
o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
|
4672
4690
|
o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy)
|
4673
4691
|
o.errors << Shapes::ShapeRef.new(shape: TooLongCSPInResponseHeadersPolicy)
|
4692
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRemoveHeadersInResponseHeadersPolicy)
|
4674
4693
|
end)
|
4675
4694
|
|
4676
4695
|
api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -163,6 +163,7 @@ module Aws::CloudFront
|
|
163
163
|
# * {TooManyQueryStringsInCachePolicy}
|
164
164
|
# * {TooManyQueryStringsInOriginRequestPolicy}
|
165
165
|
# * {TooManyRealtimeLogConfigs}
|
166
|
+
# * {TooManyRemoveHeadersInResponseHeadersPolicy}
|
166
167
|
# * {TooManyResponseHeadersPolicies}
|
167
168
|
# * {TooManyStreamingDistributionCNAMEs}
|
168
169
|
# * {TooManyStreamingDistributions}
|
@@ -2217,6 +2218,21 @@ module Aws::CloudFront
|
|
2217
2218
|
end
|
2218
2219
|
end
|
2219
2220
|
|
2221
|
+
class TooManyRemoveHeadersInResponseHeadersPolicy < ServiceError
|
2222
|
+
|
2223
|
+
# @param [Seahorse::Client::RequestContext] context
|
2224
|
+
# @param [String] message
|
2225
|
+
# @param [Aws::CloudFront::Types::TooManyRemoveHeadersInResponseHeadersPolicy] data
|
2226
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
2227
|
+
super(context, message, data)
|
2228
|
+
end
|
2229
|
+
|
2230
|
+
# @return [String]
|
2231
|
+
def message
|
2232
|
+
@message || @data[:message]
|
2233
|
+
end
|
2234
|
+
end
|
2235
|
+
|
2220
2236
|
class TooManyResponseHeadersPolicies < ServiceError
|
2221
2237
|
|
2222
2238
|
# @param [Seahorse::Client::RequestContext] context
|