aws-sdk-cloudfront 1.57.0 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,10 @@ module Aws::CloudFront
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccessControlAllowHeadersList = Shapes::ListShape.new(name: 'AccessControlAllowHeadersList')
17
+ AccessControlAllowMethodsList = Shapes::ListShape.new(name: 'AccessControlAllowMethodsList')
18
+ AccessControlAllowOriginsList = Shapes::ListShape.new(name: 'AccessControlAllowOriginsList')
19
+ AccessControlExposeHeadersList = Shapes::ListShape.new(name: 'AccessControlExposeHeadersList')
16
20
  AccessDenied = Shapes::StructureShape.new(name: 'AccessDenied')
17
21
  ActiveTrustedKeyGroups = Shapes::StructureShape.new(name: 'ActiveTrustedKeyGroups')
18
22
  ActiveTrustedSigners = Shapes::StructureShape.new(name: 'ActiveTrustedSigners')
@@ -89,6 +93,8 @@ module Aws::CloudFront
89
93
  CreatePublicKeyResult = Shapes::StructureShape.new(name: 'CreatePublicKeyResult')
90
94
  CreateRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'CreateRealtimeLogConfigRequest')
91
95
  CreateRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'CreateRealtimeLogConfigResult')
96
+ CreateResponseHeadersPolicyRequest = Shapes::StructureShape.new(name: 'CreateResponseHeadersPolicyRequest')
97
+ CreateResponseHeadersPolicyResult = Shapes::StructureShape.new(name: 'CreateResponseHeadersPolicyResult')
92
98
  CreateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionRequest')
93
99
  CreateStreamingDistributionResult = Shapes::StructureShape.new(name: 'CreateStreamingDistributionResult')
94
100
  CreateStreamingDistributionWithTagsRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionWithTagsRequest')
@@ -111,6 +117,7 @@ module Aws::CloudFront
111
117
  DeleteOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'DeleteOriginRequestPolicyRequest')
112
118
  DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest')
113
119
  DeleteRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'DeleteRealtimeLogConfigRequest')
120
+ DeleteResponseHeadersPolicyRequest = Shapes::StructureShape.new(name: 'DeleteResponseHeadersPolicyRequest')
114
121
  DeleteStreamingDistributionRequest = Shapes::StructureShape.new(name: 'DeleteStreamingDistributionRequest')
115
122
  DescribeFunctionRequest = Shapes::StructureShape.new(name: 'DescribeFunctionRequest')
116
123
  DescribeFunctionResult = Shapes::StructureShape.new(name: 'DescribeFunctionResult')
@@ -150,6 +157,7 @@ module Aws::CloudFront
150
157
  FieldPatterns = Shapes::StructureShape.new(name: 'FieldPatterns')
151
158
  Format = Shapes::StringShape.new(name: 'Format')
152
159
  ForwardedValues = Shapes::StructureShape.new(name: 'ForwardedValues')
160
+ FrameOptionsList = Shapes::StringShape.new(name: 'FrameOptionsList')
153
161
  FunctionARN = Shapes::StringShape.new(name: 'FunctionARN')
154
162
  FunctionAlreadyExists = Shapes::StructureShape.new(name: 'FunctionAlreadyExists')
155
163
  FunctionAssociation = Shapes::StructureShape.new(name: 'FunctionAssociation')
@@ -210,6 +218,10 @@ module Aws::CloudFront
210
218
  GetPublicKeyResult = Shapes::StructureShape.new(name: 'GetPublicKeyResult')
211
219
  GetRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'GetRealtimeLogConfigRequest')
212
220
  GetRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'GetRealtimeLogConfigResult')
221
+ GetResponseHeadersPolicyConfigRequest = Shapes::StructureShape.new(name: 'GetResponseHeadersPolicyConfigRequest')
222
+ GetResponseHeadersPolicyConfigResult = Shapes::StructureShape.new(name: 'GetResponseHeadersPolicyConfigResult')
223
+ GetResponseHeadersPolicyRequest = Shapes::StructureShape.new(name: 'GetResponseHeadersPolicyRequest')
224
+ GetResponseHeadersPolicyResult = Shapes::StructureShape.new(name: 'GetResponseHeadersPolicyResult')
213
225
  GetStreamingDistributionConfigRequest = Shapes::StructureShape.new(name: 'GetStreamingDistributionConfigRequest')
214
226
  GetStreamingDistributionConfigResult = Shapes::StructureShape.new(name: 'GetStreamingDistributionConfigResult')
215
227
  GetStreamingDistributionRequest = Shapes::StructureShape.new(name: 'GetStreamingDistributionRequest')
@@ -281,6 +293,8 @@ module Aws::CloudFront
281
293
  ListDistributionsByOriginRequestPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdResult')
282
294
  ListDistributionsByRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigRequest')
283
295
  ListDistributionsByRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigResult')
296
+ ListDistributionsByResponseHeadersPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByResponseHeadersPolicyIdRequest')
297
+ ListDistributionsByResponseHeadersPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByResponseHeadersPolicyIdResult')
284
298
  ListDistributionsByWebACLIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdRequest')
285
299
  ListDistributionsByWebACLIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdResult')
286
300
  ListDistributionsRequest = Shapes::StructureShape.new(name: 'ListDistributionsRequest')
@@ -301,6 +315,8 @@ module Aws::CloudFront
301
315
  ListPublicKeysResult = Shapes::StructureShape.new(name: 'ListPublicKeysResult')
302
316
  ListRealtimeLogConfigsRequest = Shapes::StructureShape.new(name: 'ListRealtimeLogConfigsRequest')
303
317
  ListRealtimeLogConfigsResult = Shapes::StructureShape.new(name: 'ListRealtimeLogConfigsResult')
318
+ ListResponseHeadersPoliciesRequest = Shapes::StructureShape.new(name: 'ListResponseHeadersPoliciesRequest')
319
+ ListResponseHeadersPoliciesResult = Shapes::StructureShape.new(name: 'ListResponseHeadersPoliciesResult')
304
320
  ListStreamingDistributionsRequest = Shapes::StructureShape.new(name: 'ListStreamingDistributionsRequest')
305
321
  ListStreamingDistributionsResult = Shapes::StructureShape.new(name: 'ListStreamingDistributionsResult')
306
322
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -324,6 +340,7 @@ module Aws::CloudFront
324
340
  NoSuchPublicKey = Shapes::StructureShape.new(name: 'NoSuchPublicKey')
325
341
  NoSuchRealtimeLogConfig = Shapes::StructureShape.new(name: 'NoSuchRealtimeLogConfig')
326
342
  NoSuchResource = Shapes::StructureShape.new(name: 'NoSuchResource')
343
+ NoSuchResponseHeadersPolicy = Shapes::StructureShape.new(name: 'NoSuchResponseHeadersPolicy')
327
344
  NoSuchStreamingDistribution = Shapes::StructureShape.new(name: 'NoSuchStreamingDistribution')
328
345
  Origin = Shapes::StructureShape.new(name: 'Origin')
329
346
  OriginCustomHeader = Shapes::StructureShape.new(name: 'OriginCustomHeader')
@@ -387,8 +404,33 @@ module Aws::CloudFront
387
404
  RealtimeLogConfigs = Shapes::StructureShape.new(name: 'RealtimeLogConfigs')
388
405
  RealtimeMetricsSubscriptionConfig = Shapes::StructureShape.new(name: 'RealtimeMetricsSubscriptionConfig')
389
406
  RealtimeMetricsSubscriptionStatus = Shapes::StringShape.new(name: 'RealtimeMetricsSubscriptionStatus')
407
+ ReferrerPolicyList = Shapes::StringShape.new(name: 'ReferrerPolicyList')
390
408
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
391
409
  ResourceInUse = Shapes::StructureShape.new(name: 'ResourceInUse')
410
+ ResponseHeadersPolicy = Shapes::StructureShape.new(name: 'ResponseHeadersPolicy')
411
+ ResponseHeadersPolicyAccessControlAllowHeaders = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyAccessControlAllowHeaders')
412
+ ResponseHeadersPolicyAccessControlAllowMethods = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyAccessControlAllowMethods')
413
+ ResponseHeadersPolicyAccessControlAllowMethodsValues = Shapes::StringShape.new(name: 'ResponseHeadersPolicyAccessControlAllowMethodsValues')
414
+ ResponseHeadersPolicyAccessControlAllowOrigins = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyAccessControlAllowOrigins')
415
+ ResponseHeadersPolicyAccessControlExposeHeaders = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyAccessControlExposeHeaders')
416
+ ResponseHeadersPolicyAlreadyExists = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyAlreadyExists')
417
+ ResponseHeadersPolicyConfig = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyConfig')
418
+ ResponseHeadersPolicyContentSecurityPolicy = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyContentSecurityPolicy')
419
+ ResponseHeadersPolicyContentTypeOptions = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyContentTypeOptions')
420
+ ResponseHeadersPolicyCorsConfig = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyCorsConfig')
421
+ ResponseHeadersPolicyCustomHeader = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyCustomHeader')
422
+ ResponseHeadersPolicyCustomHeaderList = Shapes::ListShape.new(name: 'ResponseHeadersPolicyCustomHeaderList')
423
+ ResponseHeadersPolicyCustomHeadersConfig = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyCustomHeadersConfig')
424
+ ResponseHeadersPolicyFrameOptions = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyFrameOptions')
425
+ ResponseHeadersPolicyInUse = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyInUse')
426
+ ResponseHeadersPolicyList = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyList')
427
+ ResponseHeadersPolicyReferrerPolicy = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyReferrerPolicy')
428
+ ResponseHeadersPolicySecurityHeadersConfig = Shapes::StructureShape.new(name: 'ResponseHeadersPolicySecurityHeadersConfig')
429
+ ResponseHeadersPolicyStrictTransportSecurity = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyStrictTransportSecurity')
430
+ ResponseHeadersPolicySummary = Shapes::StructureShape.new(name: 'ResponseHeadersPolicySummary')
431
+ ResponseHeadersPolicySummaryList = Shapes::ListShape.new(name: 'ResponseHeadersPolicySummaryList')
432
+ ResponseHeadersPolicyType = Shapes::StringShape.new(name: 'ResponseHeadersPolicyType')
433
+ ResponseHeadersPolicyXSSProtection = Shapes::StructureShape.new(name: 'ResponseHeadersPolicyXSSProtection')
392
434
  Restrictions = Shapes::StructureShape.new(name: 'Restrictions')
393
435
  S3Origin = Shapes::StructureShape.new(name: 'S3Origin')
394
436
  S3OriginConfig = Shapes::StructureShape.new(name: 'S3OriginConfig')
@@ -427,12 +469,14 @@ module Aws::CloudFront
427
469
  TooManyCookieNamesInWhiteList = Shapes::StructureShape.new(name: 'TooManyCookieNamesInWhiteList')
428
470
  TooManyCookiesInCachePolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInCachePolicy')
429
471
  TooManyCookiesInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInOriginRequestPolicy')
472
+ TooManyCustomHeadersInResponseHeadersPolicy = Shapes::StructureShape.new(name: 'TooManyCustomHeadersInResponseHeadersPolicy')
430
473
  TooManyDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyDistributionCNAMEs')
431
474
  TooManyDistributions = Shapes::StructureShape.new(name: 'TooManyDistributions')
432
475
  TooManyDistributionsAssociatedToCachePolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToCachePolicy')
433
476
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToFieldLevelEncryptionConfig')
434
477
  TooManyDistributionsAssociatedToKeyGroup = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToKeyGroup')
435
478
  TooManyDistributionsAssociatedToOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginRequestPolicy')
479
+ TooManyDistributionsAssociatedToResponseHeadersPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToResponseHeadersPolicy')
436
480
  TooManyDistributionsWithFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithFunctionAssociations')
437
481
  TooManyDistributionsWithLambdaAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithLambdaAssociations')
438
482
  TooManyDistributionsWithSingleFunctionARN = Shapes::StructureShape.new(name: 'TooManyDistributionsWithSingleFunctionARN')
@@ -461,6 +505,7 @@ module Aws::CloudFront
461
505
  TooManyQueryStringsInCachePolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInCachePolicy')
462
506
  TooManyQueryStringsInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInOriginRequestPolicy')
463
507
  TooManyRealtimeLogConfigs = Shapes::StructureShape.new(name: 'TooManyRealtimeLogConfigs')
508
+ TooManyResponseHeadersPolicies = Shapes::StructureShape.new(name: 'TooManyResponseHeadersPolicies')
464
509
  TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
465
510
  TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
466
511
  TooManyTrustedSigners = Shapes::StructureShape.new(name: 'TooManyTrustedSigners')
@@ -491,6 +536,8 @@ module Aws::CloudFront
491
536
  UpdatePublicKeyResult = Shapes::StructureShape.new(name: 'UpdatePublicKeyResult')
492
537
  UpdateRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'UpdateRealtimeLogConfigRequest')
493
538
  UpdateRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'UpdateRealtimeLogConfigResult')
539
+ UpdateResponseHeadersPolicyRequest = Shapes::StructureShape.new(name: 'UpdateResponseHeadersPolicyRequest')
540
+ UpdateResponseHeadersPolicyResult = Shapes::StructureShape.new(name: 'UpdateResponseHeadersPolicyResult')
494
541
  UpdateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionRequest')
495
542
  UpdateStreamingDistributionResult = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionResult')
496
543
  ViewerCertificate = Shapes::StructureShape.new(name: 'ViewerCertificate')
@@ -501,9 +548,18 @@ module Aws::CloudFront
501
548
  integer = Shapes::IntegerShape.new(name: 'integer')
502
549
  listConflictingAliasesMaxItemsInteger = Shapes::IntegerShape.new(name: 'listConflictingAliasesMaxItemsInteger')
503
550
  long = Shapes::IntegerShape.new(name: 'long')
551
+ sensitiveStringType = Shapes::StringShape.new(name: 'sensitiveStringType')
504
552
  string = Shapes::StringShape.new(name: 'string')
505
553
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
506
554
 
555
+ AccessControlAllowHeadersList.member = Shapes::ShapeRef.new(shape: string, location_name: "Header")
556
+
557
+ AccessControlAllowMethodsList.member = Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAccessControlAllowMethodsValues, location_name: "Method")
558
+
559
+ AccessControlAllowOriginsList.member = Shapes::ShapeRef.new(shape: string, location_name: "Origin")
560
+
561
+ AccessControlExposeHeadersList.member = Shapes::ShapeRef.new(shape: string, location_name: "Header")
562
+
507
563
  AccessDenied.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
508
564
  AccessDenied.struct_class = Types::AccessDenied
509
565
 
@@ -560,6 +616,7 @@ module Aws::CloudFront
560
616
  CacheBehavior.add_member(:realtime_log_config_arn, Shapes::ShapeRef.new(shape: string, location_name: "RealtimeLogConfigArn"))
561
617
  CacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
562
618
  CacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
619
+ CacheBehavior.add_member(:response_headers_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "ResponseHeadersPolicyId"))
563
620
  CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
564
621
  CacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
565
622
  CacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
@@ -842,6 +899,18 @@ module Aws::CloudFront
842
899
  CreateRealtimeLogConfigResult.add_member(:realtime_log_config, Shapes::ShapeRef.new(shape: RealtimeLogConfig, location_name: "RealtimeLogConfig"))
843
900
  CreateRealtimeLogConfigResult.struct_class = Types::CreateRealtimeLogConfigResult
844
901
 
902
+ CreateResponseHeadersPolicyRequest.add_member(:response_headers_policy_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyConfig, required: true, location_name: "ResponseHeadersPolicyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
903
+ CreateResponseHeadersPolicyRequest.struct_class = Types::CreateResponseHeadersPolicyRequest
904
+ CreateResponseHeadersPolicyRequest[:payload] = :response_headers_policy_config
905
+ CreateResponseHeadersPolicyRequest[:payload_member] = CreateResponseHeadersPolicyRequest.member(:response_headers_policy_config)
906
+
907
+ CreateResponseHeadersPolicyResult.add_member(:response_headers_policy, Shapes::ShapeRef.new(shape: ResponseHeadersPolicy, location_name: "ResponseHeadersPolicy"))
908
+ CreateResponseHeadersPolicyResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
909
+ CreateResponseHeadersPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
910
+ CreateResponseHeadersPolicyResult.struct_class = Types::CreateResponseHeadersPolicyResult
911
+ CreateResponseHeadersPolicyResult[:payload] = :response_headers_policy
912
+ CreateResponseHeadersPolicyResult[:payload_member] = CreateResponseHeadersPolicyResult.member(:response_headers_policy)
913
+
845
914
  CreateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
846
915
  CreateStreamingDistributionRequest.struct_class = Types::CreateStreamingDistributionRequest
847
916
  CreateStreamingDistributionRequest[:payload] = :streaming_distribution_config
@@ -903,6 +972,7 @@ module Aws::CloudFront
903
972
  DefaultCacheBehavior.add_member(:realtime_log_config_arn, Shapes::ShapeRef.new(shape: string, location_name: "RealtimeLogConfigArn"))
904
973
  DefaultCacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
905
974
  DefaultCacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
975
+ DefaultCacheBehavior.add_member(:response_headers_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "ResponseHeadersPolicyId"))
906
976
  DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
907
977
  DefaultCacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
908
978
  DefaultCacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
@@ -954,6 +1024,10 @@ module Aws::CloudFront
954
1024
  DeleteRealtimeLogConfigRequest.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "ARN"))
955
1025
  DeleteRealtimeLogConfigRequest.struct_class = Types::DeleteRealtimeLogConfigRequest
956
1026
 
1027
+ DeleteResponseHeadersPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1028
+ DeleteResponseHeadersPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1029
+ DeleteResponseHeadersPolicyRequest.struct_class = Types::DeleteResponseHeadersPolicyRequest
1030
+
957
1031
  DeleteStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
958
1032
  DeleteStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
959
1033
  DeleteStreamingDistributionRequest.struct_class = Types::DeleteStreamingDistributionRequest
@@ -1378,6 +1452,24 @@ module Aws::CloudFront
1378
1452
  GetRealtimeLogConfigResult.add_member(:realtime_log_config, Shapes::ShapeRef.new(shape: RealtimeLogConfig, location_name: "RealtimeLogConfig"))
1379
1453
  GetRealtimeLogConfigResult.struct_class = Types::GetRealtimeLogConfigResult
1380
1454
 
1455
+ GetResponseHeadersPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1456
+ GetResponseHeadersPolicyConfigRequest.struct_class = Types::GetResponseHeadersPolicyConfigRequest
1457
+
1458
+ GetResponseHeadersPolicyConfigResult.add_member(:response_headers_policy_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyConfig, location_name: "ResponseHeadersPolicyConfig"))
1459
+ GetResponseHeadersPolicyConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1460
+ GetResponseHeadersPolicyConfigResult.struct_class = Types::GetResponseHeadersPolicyConfigResult
1461
+ GetResponseHeadersPolicyConfigResult[:payload] = :response_headers_policy_config
1462
+ GetResponseHeadersPolicyConfigResult[:payload_member] = GetResponseHeadersPolicyConfigResult.member(:response_headers_policy_config)
1463
+
1464
+ GetResponseHeadersPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1465
+ GetResponseHeadersPolicyRequest.struct_class = Types::GetResponseHeadersPolicyRequest
1466
+
1467
+ GetResponseHeadersPolicyResult.add_member(:response_headers_policy, Shapes::ShapeRef.new(shape: ResponseHeadersPolicy, location_name: "ResponseHeadersPolicy"))
1468
+ GetResponseHeadersPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1469
+ GetResponseHeadersPolicyResult.struct_class = Types::GetResponseHeadersPolicyResult
1470
+ GetResponseHeadersPolicyResult[:payload] = :response_headers_policy
1471
+ GetResponseHeadersPolicyResult[:payload_member] = GetResponseHeadersPolicyResult.member(:response_headers_policy)
1472
+
1381
1473
  GetStreamingDistributionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1382
1474
  GetStreamingDistributionConfigRequest.struct_class = Types::GetStreamingDistributionConfigRequest
1383
1475
 
@@ -1633,6 +1725,16 @@ module Aws::CloudFront
1633
1725
  ListDistributionsByRealtimeLogConfigResult[:payload] = :distribution_list
1634
1726
  ListDistributionsByRealtimeLogConfigResult[:payload_member] = ListDistributionsByRealtimeLogConfigResult.member(:distribution_list)
1635
1727
 
1728
+ ListDistributionsByResponseHeadersPolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1729
+ ListDistributionsByResponseHeadersPolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1730
+ ListDistributionsByResponseHeadersPolicyIdRequest.add_member(:response_headers_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "ResponseHeadersPolicyId"))
1731
+ ListDistributionsByResponseHeadersPolicyIdRequest.struct_class = Types::ListDistributionsByResponseHeadersPolicyIdRequest
1732
+
1733
+ ListDistributionsByResponseHeadersPolicyIdResult.add_member(:distribution_id_list, Shapes::ShapeRef.new(shape: DistributionIdList, location_name: "DistributionIdList"))
1734
+ ListDistributionsByResponseHeadersPolicyIdResult.struct_class = Types::ListDistributionsByResponseHeadersPolicyIdResult
1735
+ ListDistributionsByResponseHeadersPolicyIdResult[:payload] = :distribution_id_list
1736
+ ListDistributionsByResponseHeadersPolicyIdResult[:payload_member] = ListDistributionsByResponseHeadersPolicyIdResult.member(:distribution_id_list)
1737
+
1636
1738
  ListDistributionsByWebACLIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1637
1739
  ListDistributionsByWebACLIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1638
1740
  ListDistributionsByWebACLIdRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "WebACLId"))
@@ -1727,6 +1829,16 @@ module Aws::CloudFront
1727
1829
  ListRealtimeLogConfigsResult[:payload] = :realtime_log_configs
1728
1830
  ListRealtimeLogConfigsResult[:payload_member] = ListRealtimeLogConfigsResult.member(:realtime_log_configs)
1729
1831
 
1832
+ ListResponseHeadersPoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyType, location: "querystring", location_name: "Type"))
1833
+ ListResponseHeadersPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1834
+ ListResponseHeadersPoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1835
+ ListResponseHeadersPoliciesRequest.struct_class = Types::ListResponseHeadersPoliciesRequest
1836
+
1837
+ ListResponseHeadersPoliciesResult.add_member(:response_headers_policy_list, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyList, location_name: "ResponseHeadersPolicyList"))
1838
+ ListResponseHeadersPoliciesResult.struct_class = Types::ListResponseHeadersPoliciesResult
1839
+ ListResponseHeadersPoliciesResult[:payload] = :response_headers_policy_list
1840
+ ListResponseHeadersPoliciesResult[:payload_member] = ListResponseHeadersPoliciesResult.member(:response_headers_policy_list)
1841
+
1730
1842
  ListStreamingDistributionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1731
1843
  ListStreamingDistributionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1732
1844
  ListStreamingDistributionsRequest.struct_class = Types::ListStreamingDistributionsRequest
@@ -1796,6 +1908,9 @@ module Aws::CloudFront
1796
1908
  NoSuchResource.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1797
1909
  NoSuchResource.struct_class = Types::NoSuchResource
1798
1910
 
1911
+ NoSuchResponseHeadersPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1912
+ NoSuchResponseHeadersPolicy.struct_class = Types::NoSuchResponseHeadersPolicy
1913
+
1799
1914
  NoSuchStreamingDistribution.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1800
1915
  NoSuchStreamingDistribution.struct_class = Types::NoSuchStreamingDistribution
1801
1916
 
@@ -1811,7 +1926,7 @@ module Aws::CloudFront
1811
1926
  Origin.struct_class = Types::Origin
1812
1927
 
1813
1928
  OriginCustomHeader.add_member(:header_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "HeaderName"))
1814
- OriginCustomHeader.add_member(:header_value, Shapes::ShapeRef.new(shape: string, required: true, location_name: "HeaderValue"))
1929
+ OriginCustomHeader.add_member(:header_value, Shapes::ShapeRef.new(shape: sensitiveStringType, required: true, location_name: "HeaderValue"))
1815
1930
  OriginCustomHeader.struct_class = Types::OriginCustomHeader
1816
1931
 
1817
1932
  OriginCustomHeadersList.member = Shapes::ShapeRef.new(shape: OriginCustomHeader, location_name: "OriginCustomHeader")
@@ -2014,6 +2129,107 @@ module Aws::CloudFront
2014
2129
  ResourceInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2015
2130
  ResourceInUse.struct_class = Types::ResourceInUse
2016
2131
 
2132
+ ResponseHeadersPolicy.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
2133
+ ResponseHeadersPolicy.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
2134
+ ResponseHeadersPolicy.add_member(:response_headers_policy_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyConfig, required: true, location_name: "ResponseHeadersPolicyConfig"))
2135
+ ResponseHeadersPolicy.struct_class = Types::ResponseHeadersPolicy
2136
+
2137
+ ResponseHeadersPolicyAccessControlAllowHeaders.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
2138
+ ResponseHeadersPolicyAccessControlAllowHeaders.add_member(:items, Shapes::ShapeRef.new(shape: AccessControlAllowHeadersList, required: true, location_name: "Items"))
2139
+ ResponseHeadersPolicyAccessControlAllowHeaders.struct_class = Types::ResponseHeadersPolicyAccessControlAllowHeaders
2140
+
2141
+ ResponseHeadersPolicyAccessControlAllowMethods.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
2142
+ ResponseHeadersPolicyAccessControlAllowMethods.add_member(:items, Shapes::ShapeRef.new(shape: AccessControlAllowMethodsList, required: true, location_name: "Items"))
2143
+ ResponseHeadersPolicyAccessControlAllowMethods.struct_class = Types::ResponseHeadersPolicyAccessControlAllowMethods
2144
+
2145
+ ResponseHeadersPolicyAccessControlAllowOrigins.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
2146
+ ResponseHeadersPolicyAccessControlAllowOrigins.add_member(:items, Shapes::ShapeRef.new(shape: AccessControlAllowOriginsList, required: true, location_name: "Items"))
2147
+ ResponseHeadersPolicyAccessControlAllowOrigins.struct_class = Types::ResponseHeadersPolicyAccessControlAllowOrigins
2148
+
2149
+ ResponseHeadersPolicyAccessControlExposeHeaders.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
2150
+ ResponseHeadersPolicyAccessControlExposeHeaders.add_member(:items, Shapes::ShapeRef.new(shape: AccessControlExposeHeadersList, location_name: "Items"))
2151
+ ResponseHeadersPolicyAccessControlExposeHeaders.struct_class = Types::ResponseHeadersPolicyAccessControlExposeHeaders
2152
+
2153
+ ResponseHeadersPolicyAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2154
+ ResponseHeadersPolicyAlreadyExists.struct_class = Types::ResponseHeadersPolicyAlreadyExists
2155
+
2156
+ ResponseHeadersPolicyConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
2157
+ ResponseHeadersPolicyConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
2158
+ ResponseHeadersPolicyConfig.add_member(:cors_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyCorsConfig, location_name: "CorsConfig"))
2159
+ ResponseHeadersPolicyConfig.add_member(:security_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicySecurityHeadersConfig, location_name: "SecurityHeadersConfig"))
2160
+ ResponseHeadersPolicyConfig.add_member(:custom_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyCustomHeadersConfig, location_name: "CustomHeadersConfig"))
2161
+ ResponseHeadersPolicyConfig.struct_class = Types::ResponseHeadersPolicyConfig
2162
+
2163
+ ResponseHeadersPolicyContentSecurityPolicy.add_member(:override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Override"))
2164
+ ResponseHeadersPolicyContentSecurityPolicy.add_member(:content_security_policy, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ContentSecurityPolicy"))
2165
+ ResponseHeadersPolicyContentSecurityPolicy.struct_class = Types::ResponseHeadersPolicyContentSecurityPolicy
2166
+
2167
+ ResponseHeadersPolicyContentTypeOptions.add_member(:override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Override"))
2168
+ ResponseHeadersPolicyContentTypeOptions.struct_class = Types::ResponseHeadersPolicyContentTypeOptions
2169
+
2170
+ ResponseHeadersPolicyCorsConfig.add_member(:access_control_allow_origins, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAccessControlAllowOrigins, required: true, location_name: "AccessControlAllowOrigins"))
2171
+ ResponseHeadersPolicyCorsConfig.add_member(:access_control_allow_headers, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAccessControlAllowHeaders, required: true, location_name: "AccessControlAllowHeaders"))
2172
+ ResponseHeadersPolicyCorsConfig.add_member(:access_control_allow_methods, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAccessControlAllowMethods, required: true, location_name: "AccessControlAllowMethods"))
2173
+ ResponseHeadersPolicyCorsConfig.add_member(:access_control_allow_credentials, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "AccessControlAllowCredentials"))
2174
+ ResponseHeadersPolicyCorsConfig.add_member(:access_control_expose_headers, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAccessControlExposeHeaders, location_name: "AccessControlExposeHeaders"))
2175
+ ResponseHeadersPolicyCorsConfig.add_member(:access_control_max_age_sec, Shapes::ShapeRef.new(shape: integer, location_name: "AccessControlMaxAgeSec"))
2176
+ ResponseHeadersPolicyCorsConfig.add_member(:origin_override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "OriginOverride"))
2177
+ ResponseHeadersPolicyCorsConfig.struct_class = Types::ResponseHeadersPolicyCorsConfig
2178
+
2179
+ ResponseHeadersPolicyCustomHeader.add_member(:header, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Header"))
2180
+ ResponseHeadersPolicyCustomHeader.add_member(:value, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Value"))
2181
+ ResponseHeadersPolicyCustomHeader.add_member(:override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Override"))
2182
+ ResponseHeadersPolicyCustomHeader.struct_class = Types::ResponseHeadersPolicyCustomHeader
2183
+
2184
+ ResponseHeadersPolicyCustomHeaderList.member = Shapes::ShapeRef.new(shape: ResponseHeadersPolicyCustomHeader, location_name: "ResponseHeadersPolicyCustomHeader")
2185
+
2186
+ ResponseHeadersPolicyCustomHeadersConfig.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
2187
+ ResponseHeadersPolicyCustomHeadersConfig.add_member(:items, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyCustomHeaderList, location_name: "Items"))
2188
+ ResponseHeadersPolicyCustomHeadersConfig.struct_class = Types::ResponseHeadersPolicyCustomHeadersConfig
2189
+
2190
+ ResponseHeadersPolicyFrameOptions.add_member(:override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Override"))
2191
+ ResponseHeadersPolicyFrameOptions.add_member(:frame_option, Shapes::ShapeRef.new(shape: FrameOptionsList, required: true, location_name: "FrameOption"))
2192
+ ResponseHeadersPolicyFrameOptions.struct_class = Types::ResponseHeadersPolicyFrameOptions
2193
+
2194
+ ResponseHeadersPolicyInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2195
+ ResponseHeadersPolicyInUse.struct_class = Types::ResponseHeadersPolicyInUse
2196
+
2197
+ ResponseHeadersPolicyList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
2198
+ ResponseHeadersPolicyList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
2199
+ ResponseHeadersPolicyList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
2200
+ ResponseHeadersPolicyList.add_member(:items, Shapes::ShapeRef.new(shape: ResponseHeadersPolicySummaryList, location_name: "Items"))
2201
+ ResponseHeadersPolicyList.struct_class = Types::ResponseHeadersPolicyList
2202
+
2203
+ ResponseHeadersPolicyReferrerPolicy.add_member(:override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Override"))
2204
+ ResponseHeadersPolicyReferrerPolicy.add_member(:referrer_policy, Shapes::ShapeRef.new(shape: ReferrerPolicyList, required: true, location_name: "ReferrerPolicy"))
2205
+ ResponseHeadersPolicyReferrerPolicy.struct_class = Types::ResponseHeadersPolicyReferrerPolicy
2206
+
2207
+ ResponseHeadersPolicySecurityHeadersConfig.add_member(:xss_protection, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyXSSProtection, location_name: "XSSProtection"))
2208
+ ResponseHeadersPolicySecurityHeadersConfig.add_member(:frame_options, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyFrameOptions, location_name: "FrameOptions"))
2209
+ ResponseHeadersPolicySecurityHeadersConfig.add_member(:referrer_policy, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyReferrerPolicy, location_name: "ReferrerPolicy"))
2210
+ ResponseHeadersPolicySecurityHeadersConfig.add_member(:content_security_policy, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyContentSecurityPolicy, location_name: "ContentSecurityPolicy"))
2211
+ ResponseHeadersPolicySecurityHeadersConfig.add_member(:content_type_options, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyContentTypeOptions, location_name: "ContentTypeOptions"))
2212
+ ResponseHeadersPolicySecurityHeadersConfig.add_member(:strict_transport_security, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyStrictTransportSecurity, location_name: "StrictTransportSecurity"))
2213
+ ResponseHeadersPolicySecurityHeadersConfig.struct_class = Types::ResponseHeadersPolicySecurityHeadersConfig
2214
+
2215
+ ResponseHeadersPolicyStrictTransportSecurity.add_member(:override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Override"))
2216
+ ResponseHeadersPolicyStrictTransportSecurity.add_member(:include_subdomains, Shapes::ShapeRef.new(shape: boolean, location_name: "IncludeSubdomains"))
2217
+ ResponseHeadersPolicyStrictTransportSecurity.add_member(:preload, Shapes::ShapeRef.new(shape: boolean, location_name: "Preload"))
2218
+ ResponseHeadersPolicyStrictTransportSecurity.add_member(:access_control_max_age_sec, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "AccessControlMaxAgeSec"))
2219
+ ResponseHeadersPolicyStrictTransportSecurity.struct_class = Types::ResponseHeadersPolicyStrictTransportSecurity
2220
+
2221
+ ResponseHeadersPolicySummary.add_member(:type, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyType, required: true, location_name: "Type"))
2222
+ ResponseHeadersPolicySummary.add_member(:response_headers_policy, Shapes::ShapeRef.new(shape: ResponseHeadersPolicy, required: true, location_name: "ResponseHeadersPolicy"))
2223
+ ResponseHeadersPolicySummary.struct_class = Types::ResponseHeadersPolicySummary
2224
+
2225
+ ResponseHeadersPolicySummaryList.member = Shapes::ShapeRef.new(shape: ResponseHeadersPolicySummary, location_name: "ResponseHeadersPolicySummary")
2226
+
2227
+ ResponseHeadersPolicyXSSProtection.add_member(:override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Override"))
2228
+ ResponseHeadersPolicyXSSProtection.add_member(:protection, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Protection"))
2229
+ ResponseHeadersPolicyXSSProtection.add_member(:mode_block, Shapes::ShapeRef.new(shape: boolean, location_name: "ModeBlock"))
2230
+ ResponseHeadersPolicyXSSProtection.add_member(:report_uri, Shapes::ShapeRef.new(shape: string, location_name: "ReportUri"))
2231
+ ResponseHeadersPolicyXSSProtection.struct_class = Types::ResponseHeadersPolicyXSSProtection
2232
+
2017
2233
  Restrictions.add_member(:geo_restriction, Shapes::ShapeRef.new(shape: GeoRestriction, required: true, location_name: "GeoRestriction"))
2018
2234
  Restrictions.struct_class = Types::Restrictions
2019
2235
 
@@ -2132,8 +2348,8 @@ module Aws::CloudFront
2132
2348
  TestResult.add_member(:function_summary, Shapes::ShapeRef.new(shape: FunctionSummary, location_name: "FunctionSummary"))
2133
2349
  TestResult.add_member(:compute_utilization, Shapes::ShapeRef.new(shape: string, location_name: "ComputeUtilization"))
2134
2350
  TestResult.add_member(:function_execution_logs, Shapes::ShapeRef.new(shape: FunctionExecutionLogList, location_name: "FunctionExecutionLogs"))
2135
- TestResult.add_member(:function_error_message, Shapes::ShapeRef.new(shape: string, location_name: "FunctionErrorMessage"))
2136
- TestResult.add_member(:function_output, Shapes::ShapeRef.new(shape: string, location_name: "FunctionOutput"))
2351
+ TestResult.add_member(:function_error_message, Shapes::ShapeRef.new(shape: sensitiveStringType, location_name: "FunctionErrorMessage"))
2352
+ TestResult.add_member(:function_output, Shapes::ShapeRef.new(shape: sensitiveStringType, location_name: "FunctionOutput"))
2137
2353
  TestResult.struct_class = Types::TestResult
2138
2354
 
2139
2355
  TooManyCacheBehaviors.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
@@ -2157,6 +2373,9 @@ module Aws::CloudFront
2157
2373
  TooManyCookiesInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2158
2374
  TooManyCookiesInOriginRequestPolicy.struct_class = Types::TooManyCookiesInOriginRequestPolicy
2159
2375
 
2376
+ TooManyCustomHeadersInResponseHeadersPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2377
+ TooManyCustomHeadersInResponseHeadersPolicy.struct_class = Types::TooManyCustomHeadersInResponseHeadersPolicy
2378
+
2160
2379
  TooManyDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2161
2380
  TooManyDistributionCNAMEs.struct_class = Types::TooManyDistributionCNAMEs
2162
2381
 
@@ -2175,6 +2394,9 @@ module Aws::CloudFront
2175
2394
  TooManyDistributionsAssociatedToOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2176
2395
  TooManyDistributionsAssociatedToOriginRequestPolicy.struct_class = Types::TooManyDistributionsAssociatedToOriginRequestPolicy
2177
2396
 
2397
+ TooManyDistributionsAssociatedToResponseHeadersPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2398
+ TooManyDistributionsAssociatedToResponseHeadersPolicy.struct_class = Types::TooManyDistributionsAssociatedToResponseHeadersPolicy
2399
+
2178
2400
  TooManyDistributionsWithFunctionAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2179
2401
  TooManyDistributionsWithFunctionAssociations.struct_class = Types::TooManyDistributionsWithFunctionAssociations
2180
2402
 
@@ -2259,6 +2481,9 @@ module Aws::CloudFront
2259
2481
  TooManyRealtimeLogConfigs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2260
2482
  TooManyRealtimeLogConfigs.struct_class = Types::TooManyRealtimeLogConfigs
2261
2483
 
2484
+ TooManyResponseHeadersPolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2485
+ TooManyResponseHeadersPolicies.struct_class = Types::TooManyResponseHeadersPolicies
2486
+
2262
2487
  TooManyStreamingDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2263
2488
  TooManyStreamingDistributionCNAMEs.struct_class = Types::TooManyStreamingDistributionCNAMEs
2264
2489
 
@@ -2421,6 +2646,19 @@ module Aws::CloudFront
2421
2646
  UpdateRealtimeLogConfigResult.add_member(:realtime_log_config, Shapes::ShapeRef.new(shape: RealtimeLogConfig, location_name: "RealtimeLogConfig"))
2422
2647
  UpdateRealtimeLogConfigResult.struct_class = Types::UpdateRealtimeLogConfigResult
2423
2648
 
2649
+ UpdateResponseHeadersPolicyRequest.add_member(:response_headers_policy_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyConfig, required: true, location_name: "ResponseHeadersPolicyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
2650
+ UpdateResponseHeadersPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
2651
+ UpdateResponseHeadersPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
2652
+ UpdateResponseHeadersPolicyRequest.struct_class = Types::UpdateResponseHeadersPolicyRequest
2653
+ UpdateResponseHeadersPolicyRequest[:payload] = :response_headers_policy_config
2654
+ UpdateResponseHeadersPolicyRequest[:payload_member] = UpdateResponseHeadersPolicyRequest.member(:response_headers_policy_config)
2655
+
2656
+ UpdateResponseHeadersPolicyResult.add_member(:response_headers_policy, Shapes::ShapeRef.new(shape: ResponseHeadersPolicy, location_name: "ResponseHeadersPolicy"))
2657
+ UpdateResponseHeadersPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
2658
+ UpdateResponseHeadersPolicyResult.struct_class = Types::UpdateResponseHeadersPolicyResult
2659
+ UpdateResponseHeadersPolicyResult[:payload] = :response_headers_policy
2660
+ UpdateResponseHeadersPolicyResult[:payload_member] = UpdateResponseHeadersPolicyResult.member(:response_headers_policy)
2661
+
2424
2662
  UpdateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
2425
2663
  UpdateStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
2426
2664
  UpdateStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
@@ -2559,6 +2797,8 @@ module Aws::CloudFront
2559
2797
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
2560
2798
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2561
2799
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2800
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
2801
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
2562
2802
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2563
2803
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
2564
2804
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
@@ -2625,6 +2865,8 @@ module Aws::CloudFront
2625
2865
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
2626
2866
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2627
2867
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2868
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
2869
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
2628
2870
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2629
2871
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
2630
2872
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
@@ -2766,6 +3008,20 @@ module Aws::CloudFront
2766
3008
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2767
3009
  end)
2768
3010
 
3011
+ api.add_operation(:create_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
3012
+ o.name = "CreateResponseHeadersPolicy2020_05_31"
3013
+ o.http_method = "POST"
3014
+ o.http_request_uri = "/2020-05-31/response-headers-policy"
3015
+ o.input = Shapes::ShapeRef.new(shape: CreateResponseHeadersPolicyRequest)
3016
+ o.output = Shapes::ShapeRef.new(shape: CreateResponseHeadersPolicyResult)
3017
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3018
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3019
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3020
+ o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
3021
+ o.errors << Shapes::ShapeRef.new(shape: TooManyResponseHeadersPolicies)
3022
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy)
3023
+ end)
3024
+
2769
3025
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2770
3026
  o.name = "CreateStreamingDistribution2020_05_31"
2771
3027
  o.http_method = "POST"
@@ -2953,6 +3209,20 @@ module Aws::CloudFront
2953
3209
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2954
3210
  end)
2955
3211
 
3212
+ api.add_operation(:delete_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
3213
+ o.name = "DeleteResponseHeadersPolicy2020_05_31"
3214
+ o.http_method = "DELETE"
3215
+ o.http_request_uri = "/2020-05-31/response-headers-policy/{Id}"
3216
+ o.input = Shapes::ShapeRef.new(shape: DeleteResponseHeadersPolicyRequest)
3217
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3218
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3219
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3220
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3221
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3222
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
3223
+ o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyInUse)
3224
+ end)
3225
+
2956
3226
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2957
3227
  o.name = "DeleteStreamingDistribution2020_05_31"
2958
3228
  o.http_method = "DELETE"
@@ -3182,6 +3452,26 @@ module Aws::CloudFront
3182
3452
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3183
3453
  end)
3184
3454
 
3455
+ api.add_operation(:get_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
3456
+ o.name = "GetResponseHeadersPolicy2020_05_31"
3457
+ o.http_method = "GET"
3458
+ o.http_request_uri = "/2020-05-31/response-headers-policy/{Id}"
3459
+ o.input = Shapes::ShapeRef.new(shape: GetResponseHeadersPolicyRequest)
3460
+ o.output = Shapes::ShapeRef.new(shape: GetResponseHeadersPolicyResult)
3461
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3462
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3463
+ end)
3464
+
3465
+ api.add_operation(:get_response_headers_policy_config, Seahorse::Model::Operation.new.tap do |o|
3466
+ o.name = "GetResponseHeadersPolicyConfig2020_05_31"
3467
+ o.http_method = "GET"
3468
+ o.http_request_uri = "/2020-05-31/response-headers-policy/{Id}/config"
3469
+ o.input = Shapes::ShapeRef.new(shape: GetResponseHeadersPolicyConfigRequest)
3470
+ o.output = Shapes::ShapeRef.new(shape: GetResponseHeadersPolicyConfigResult)
3471
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3472
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3473
+ end)
3474
+
3185
3475
  api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
3186
3476
  o.name = "GetStreamingDistribution2020_05_31"
3187
3477
  o.http_method = "GET"
@@ -3301,6 +3591,17 @@ module Aws::CloudFront
3301
3591
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3302
3592
  end)
3303
3593
 
3594
+ api.add_operation(:list_distributions_by_response_headers_policy_id, Seahorse::Model::Operation.new.tap do |o|
3595
+ o.name = "ListDistributionsByResponseHeadersPolicyId2020_05_31"
3596
+ o.http_method = "GET"
3597
+ o.http_request_uri = "/2020-05-31/distributionsByResponseHeadersPolicyId/{ResponseHeadersPolicyId}"
3598
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByResponseHeadersPolicyIdRequest)
3599
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByResponseHeadersPolicyIdResult)
3600
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3601
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3602
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3603
+ end)
3604
+
3304
3605
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
3305
3606
  o.name = "ListDistributionsByWebACLId2020_05_31"
3306
3607
  o.http_method = "GET"
@@ -3397,6 +3698,17 @@ module Aws::CloudFront
3397
3698
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3398
3699
  end)
3399
3700
 
3701
+ api.add_operation(:list_response_headers_policies, Seahorse::Model::Operation.new.tap do |o|
3702
+ o.name = "ListResponseHeadersPolicies2020_05_31"
3703
+ o.http_method = "GET"
3704
+ o.http_request_uri = "/2020-05-31/response-headers-policy"
3705
+ o.input = Shapes::ShapeRef.new(shape: ListResponseHeadersPoliciesRequest)
3706
+ o.output = Shapes::ShapeRef.new(shape: ListResponseHeadersPoliciesResult)
3707
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3708
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3709
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3710
+ end)
3711
+
3400
3712
  api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
3401
3713
  o.name = "ListStreamingDistributions2020_05_31"
3402
3714
  o.http_method = "GET"
@@ -3571,6 +3883,8 @@ module Aws::CloudFront
3571
3883
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
3572
3884
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3573
3885
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
3886
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3887
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
3574
3888
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
3575
3889
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
3576
3890
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
@@ -3702,6 +4016,23 @@ module Aws::CloudFront
3702
4016
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3703
4017
  end)
3704
4018
 
4019
+ api.add_operation(:update_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
4020
+ o.name = "UpdateResponseHeadersPolicy2020_05_31"
4021
+ o.http_method = "PUT"
4022
+ o.http_request_uri = "/2020-05-31/response-headers-policy/{Id}"
4023
+ o.input = Shapes::ShapeRef.new(shape: UpdateResponseHeadersPolicyRequest)
4024
+ o.output = Shapes::ShapeRef.new(shape: UpdateResponseHeadersPolicyResult)
4025
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4026
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4027
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4028
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4029
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4030
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
4031
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4032
+ o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
4033
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy)
4034
+ end)
4035
+
3705
4036
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
3706
4037
  o.name = "UpdateStreamingDistribution2020_05_31"
3707
4038
  o.http_method = "PUT"