aws-sdk-cloudfront 1.69.0 → 1.71.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,13 +64,27 @@ module Aws::CloudFront
64
64
  ContentTypeProfileConfig = Shapes::StructureShape.new(name: 'ContentTypeProfileConfig')
65
65
  ContentTypeProfileList = Shapes::ListShape.new(name: 'ContentTypeProfileList')
66
66
  ContentTypeProfiles = Shapes::StructureShape.new(name: 'ContentTypeProfiles')
67
+ ContinuousDeploymentPolicy = Shapes::StructureShape.new(name: 'ContinuousDeploymentPolicy')
68
+ ContinuousDeploymentPolicyAlreadyExists = Shapes::StructureShape.new(name: 'ContinuousDeploymentPolicyAlreadyExists')
69
+ ContinuousDeploymentPolicyConfig = Shapes::StructureShape.new(name: 'ContinuousDeploymentPolicyConfig')
70
+ ContinuousDeploymentPolicyInUse = Shapes::StructureShape.new(name: 'ContinuousDeploymentPolicyInUse')
71
+ ContinuousDeploymentPolicyList = Shapes::StructureShape.new(name: 'ContinuousDeploymentPolicyList')
72
+ ContinuousDeploymentPolicySummary = Shapes::StructureShape.new(name: 'ContinuousDeploymentPolicySummary')
73
+ ContinuousDeploymentPolicySummaryList = Shapes::ListShape.new(name: 'ContinuousDeploymentPolicySummaryList')
74
+ ContinuousDeploymentPolicyType = Shapes::StringShape.new(name: 'ContinuousDeploymentPolicyType')
75
+ ContinuousDeploymentSingleHeaderConfig = Shapes::StructureShape.new(name: 'ContinuousDeploymentSingleHeaderConfig')
76
+ ContinuousDeploymentSingleWeightConfig = Shapes::StructureShape.new(name: 'ContinuousDeploymentSingleWeightConfig')
67
77
  CookieNameList = Shapes::ListShape.new(name: 'CookieNameList')
68
78
  CookieNames = Shapes::StructureShape.new(name: 'CookieNames')
69
79
  CookiePreference = Shapes::StructureShape.new(name: 'CookiePreference')
80
+ CopyDistributionRequest = Shapes::StructureShape.new(name: 'CopyDistributionRequest')
81
+ CopyDistributionResult = Shapes::StructureShape.new(name: 'CopyDistributionResult')
70
82
  CreateCachePolicyRequest = Shapes::StructureShape.new(name: 'CreateCachePolicyRequest')
71
83
  CreateCachePolicyResult = Shapes::StructureShape.new(name: 'CreateCachePolicyResult')
72
84
  CreateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityRequest')
73
85
  CreateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityResult')
86
+ CreateContinuousDeploymentPolicyRequest = Shapes::StructureShape.new(name: 'CreateContinuousDeploymentPolicyRequest')
87
+ CreateContinuousDeploymentPolicyResult = Shapes::StructureShape.new(name: 'CreateContinuousDeploymentPolicyResult')
74
88
  CreateDistributionRequest = Shapes::StructureShape.new(name: 'CreateDistributionRequest')
75
89
  CreateDistributionResult = Shapes::StructureShape.new(name: 'CreateDistributionResult')
76
90
  CreateDistributionWithTagsRequest = Shapes::StructureShape.new(name: 'CreateDistributionWithTagsRequest')
@@ -109,6 +123,7 @@ module Aws::CloudFront
109
123
  DefaultCacheBehavior = Shapes::StructureShape.new(name: 'DefaultCacheBehavior')
110
124
  DeleteCachePolicyRequest = Shapes::StructureShape.new(name: 'DeleteCachePolicyRequest')
111
125
  DeleteCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'DeleteCloudFrontOriginAccessIdentityRequest')
126
+ DeleteContinuousDeploymentPolicyRequest = Shapes::StructureShape.new(name: 'DeleteContinuousDeploymentPolicyRequest')
112
127
  DeleteDistributionRequest = Shapes::StructureShape.new(name: 'DeleteDistributionRequest')
113
128
  DeleteFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionConfigRequest')
114
129
  DeleteFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionProfileRequest')
@@ -189,6 +204,10 @@ module Aws::CloudFront
189
204
  GetCloudFrontOriginAccessIdentityConfigResult = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityConfigResult')
190
205
  GetCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityRequest')
191
206
  GetCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityResult')
207
+ GetContinuousDeploymentPolicyConfigRequest = Shapes::StructureShape.new(name: 'GetContinuousDeploymentPolicyConfigRequest')
208
+ GetContinuousDeploymentPolicyConfigResult = Shapes::StructureShape.new(name: 'GetContinuousDeploymentPolicyConfigResult')
209
+ GetContinuousDeploymentPolicyRequest = Shapes::StructureShape.new(name: 'GetContinuousDeploymentPolicyRequest')
210
+ GetContinuousDeploymentPolicyResult = Shapes::StructureShape.new(name: 'GetContinuousDeploymentPolicyResult')
192
211
  GetDistributionConfigRequest = Shapes::StructureShape.new(name: 'GetDistributionConfigRequest')
193
212
  GetDistributionConfigResult = Shapes::StructureShape.new(name: 'GetDistributionConfigResult')
194
213
  GetDistributionRequest = Shapes::StructureShape.new(name: 'GetDistributionRequest')
@@ -295,6 +314,8 @@ module Aws::CloudFront
295
314
  ListCloudFrontOriginAccessIdentitiesResult = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesResult')
296
315
  ListConflictingAliasesRequest = Shapes::StructureShape.new(name: 'ListConflictingAliasesRequest')
297
316
  ListConflictingAliasesResult = Shapes::StructureShape.new(name: 'ListConflictingAliasesResult')
317
+ ListContinuousDeploymentPoliciesRequest = Shapes::StructureShape.new(name: 'ListContinuousDeploymentPoliciesRequest')
318
+ ListContinuousDeploymentPoliciesResult = Shapes::StructureShape.new(name: 'ListContinuousDeploymentPoliciesResult')
298
319
  ListDistributionsByCachePolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdRequest')
299
320
  ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
300
321
  ListDistributionsByKeyGroupRequest = Shapes::StructureShape.new(name: 'ListDistributionsByKeyGroupRequest')
@@ -343,6 +364,7 @@ module Aws::CloudFront
343
364
  MonitoringSubscriptionAlreadyExists = Shapes::StructureShape.new(name: 'MonitoringSubscriptionAlreadyExists')
344
365
  NoSuchCachePolicy = Shapes::StructureShape.new(name: 'NoSuchCachePolicy')
345
366
  NoSuchCloudFrontOriginAccessIdentity = Shapes::StructureShape.new(name: 'NoSuchCloudFrontOriginAccessIdentity')
367
+ NoSuchContinuousDeploymentPolicy = Shapes::StructureShape.new(name: 'NoSuchContinuousDeploymentPolicy')
346
368
  NoSuchDistribution = Shapes::StructureShape.new(name: 'NoSuchDistribution')
347
369
  NoSuchFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionConfig')
348
370
  NoSuchFieldLevelEncryptionProfile = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionProfile')
@@ -462,10 +484,14 @@ module Aws::CloudFront
462
484
  S3OriginConfig = Shapes::StructureShape.new(name: 'S3OriginConfig')
463
485
  SSLSupportMethod = Shapes::StringShape.new(name: 'SSLSupportMethod')
464
486
  SamplingRate = Shapes::FloatShape.new(name: 'SamplingRate')
487
+ SessionStickinessConfig = Shapes::StructureShape.new(name: 'SessionStickinessConfig')
465
488
  Signer = Shapes::StructureShape.new(name: 'Signer')
466
489
  SignerList = Shapes::ListShape.new(name: 'SignerList')
467
490
  SslProtocol = Shapes::StringShape.new(name: 'SslProtocol')
468
491
  SslProtocolsList = Shapes::ListShape.new(name: 'SslProtocolsList')
492
+ StagingDistributionDnsNameList = Shapes::ListShape.new(name: 'StagingDistributionDnsNameList')
493
+ StagingDistributionDnsNames = Shapes::StructureShape.new(name: 'StagingDistributionDnsNames')
494
+ StagingDistributionInUse = Shapes::StructureShape.new(name: 'StagingDistributionInUse')
469
495
  StatusCodeList = Shapes::ListShape.new(name: 'StatusCodeList')
470
496
  StatusCodes = Shapes::StructureShape.new(name: 'StatusCodes')
471
497
  StreamingDistribution = Shapes::StructureShape.new(name: 'StreamingDistribution')
@@ -494,6 +520,7 @@ module Aws::CloudFront
494
520
  TooManyCachePolicies = Shapes::StructureShape.new(name: 'TooManyCachePolicies')
495
521
  TooManyCertificates = Shapes::StructureShape.new(name: 'TooManyCertificates')
496
522
  TooManyCloudFrontOriginAccessIdentities = Shapes::StructureShape.new(name: 'TooManyCloudFrontOriginAccessIdentities')
523
+ TooManyContinuousDeploymentPolicies = Shapes::StructureShape.new(name: 'TooManyContinuousDeploymentPolicies')
497
524
  TooManyCookieNamesInWhiteList = Shapes::StructureShape.new(name: 'TooManyCookieNamesInWhiteList')
498
525
  TooManyCookiesInCachePolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInCachePolicy')
499
526
  TooManyCookiesInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInOriginRequestPolicy')
@@ -539,6 +566,7 @@ module Aws::CloudFront
539
566
  TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
540
567
  TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
541
568
  TooManyTrustedSigners = Shapes::StructureShape.new(name: 'TooManyTrustedSigners')
569
+ TrafficConfig = Shapes::StructureShape.new(name: 'TrafficConfig')
542
570
  TrustedKeyGroupDoesNotExist = Shapes::StructureShape.new(name: 'TrustedKeyGroupDoesNotExist')
543
571
  TrustedKeyGroupIdList = Shapes::ListShape.new(name: 'TrustedKeyGroupIdList')
544
572
  TrustedKeyGroups = Shapes::StructureShape.new(name: 'TrustedKeyGroups')
@@ -550,8 +578,12 @@ module Aws::CloudFront
550
578
  UpdateCachePolicyResult = Shapes::StructureShape.new(name: 'UpdateCachePolicyResult')
551
579
  UpdateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityRequest')
552
580
  UpdateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityResult')
581
+ UpdateContinuousDeploymentPolicyRequest = Shapes::StructureShape.new(name: 'UpdateContinuousDeploymentPolicyRequest')
582
+ UpdateContinuousDeploymentPolicyResult = Shapes::StructureShape.new(name: 'UpdateContinuousDeploymentPolicyResult')
553
583
  UpdateDistributionRequest = Shapes::StructureShape.new(name: 'UpdateDistributionRequest')
554
584
  UpdateDistributionResult = Shapes::StructureShape.new(name: 'UpdateDistributionResult')
585
+ UpdateDistributionWithStagingConfigRequest = Shapes::StructureShape.new(name: 'UpdateDistributionWithStagingConfigRequest')
586
+ UpdateDistributionWithStagingConfigResult = Shapes::StructureShape.new(name: 'UpdateDistributionWithStagingConfigResult')
555
587
  UpdateFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionConfigRequest')
556
588
  UpdateFieldLevelEncryptionConfigResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionConfigResult')
557
589
  UpdateFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileRequest')
@@ -577,6 +609,7 @@ module Aws::CloudFront
577
609
  aliasString = Shapes::StringShape.new(name: 'aliasString')
578
610
  boolean = Shapes::BooleanShape.new(name: 'boolean')
579
611
  distributionIdString = Shapes::StringShape.new(name: 'distributionIdString')
612
+ float = Shapes::FloatShape.new(name: 'float')
580
613
  integer = Shapes::IntegerShape.new(name: 'integer')
581
614
  listConflictingAliasesMaxItemsInteger = Shapes::IntegerShape.new(name: 'listConflictingAliasesMaxItemsInteger')
582
615
  long = Shapes::IntegerShape.new(name: 'long')
@@ -769,6 +802,41 @@ module Aws::CloudFront
769
802
  ContentTypeProfiles.add_member(:items, Shapes::ShapeRef.new(shape: ContentTypeProfileList, location_name: "Items"))
770
803
  ContentTypeProfiles.struct_class = Types::ContentTypeProfiles
771
804
 
805
+ ContinuousDeploymentPolicy.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
806
+ ContinuousDeploymentPolicy.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
807
+ ContinuousDeploymentPolicy.add_member(:continuous_deployment_policy_config, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyConfig, required: true, location_name: "ContinuousDeploymentPolicyConfig"))
808
+ ContinuousDeploymentPolicy.struct_class = Types::ContinuousDeploymentPolicy
809
+
810
+ ContinuousDeploymentPolicyAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
811
+ ContinuousDeploymentPolicyAlreadyExists.struct_class = Types::ContinuousDeploymentPolicyAlreadyExists
812
+
813
+ ContinuousDeploymentPolicyConfig.add_member(:staging_distribution_dns_names, Shapes::ShapeRef.new(shape: StagingDistributionDnsNames, required: true, location_name: "StagingDistributionDnsNames"))
814
+ ContinuousDeploymentPolicyConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
815
+ ContinuousDeploymentPolicyConfig.add_member(:traffic_config, Shapes::ShapeRef.new(shape: TrafficConfig, location_name: "TrafficConfig"))
816
+ ContinuousDeploymentPolicyConfig.struct_class = Types::ContinuousDeploymentPolicyConfig
817
+
818
+ ContinuousDeploymentPolicyInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
819
+ ContinuousDeploymentPolicyInUse.struct_class = Types::ContinuousDeploymentPolicyInUse
820
+
821
+ ContinuousDeploymentPolicyList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
822
+ ContinuousDeploymentPolicyList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
823
+ ContinuousDeploymentPolicyList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
824
+ ContinuousDeploymentPolicyList.add_member(:items, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicySummaryList, location_name: "Items"))
825
+ ContinuousDeploymentPolicyList.struct_class = Types::ContinuousDeploymentPolicyList
826
+
827
+ ContinuousDeploymentPolicySummary.add_member(:continuous_deployment_policy, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicy, required: true, location_name: "ContinuousDeploymentPolicy"))
828
+ ContinuousDeploymentPolicySummary.struct_class = Types::ContinuousDeploymentPolicySummary
829
+
830
+ ContinuousDeploymentPolicySummaryList.member = Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicySummary, location_name: "ContinuousDeploymentPolicySummary")
831
+
832
+ ContinuousDeploymentSingleHeaderConfig.add_member(:header, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Header"))
833
+ ContinuousDeploymentSingleHeaderConfig.add_member(:value, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Value"))
834
+ ContinuousDeploymentSingleHeaderConfig.struct_class = Types::ContinuousDeploymentSingleHeaderConfig
835
+
836
+ ContinuousDeploymentSingleWeightConfig.add_member(:weight, Shapes::ShapeRef.new(shape: float, required: true, location_name: "Weight"))
837
+ ContinuousDeploymentSingleWeightConfig.add_member(:session_stickiness_config, Shapes::ShapeRef.new(shape: SessionStickinessConfig, location_name: "SessionStickinessConfig"))
838
+ ContinuousDeploymentSingleWeightConfig.struct_class = Types::ContinuousDeploymentSingleWeightConfig
839
+
772
840
  CookieNameList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
773
841
 
774
842
  CookieNames.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -779,6 +847,19 @@ module Aws::CloudFront
779
847
  CookiePreference.add_member(:whitelisted_names, Shapes::ShapeRef.new(shape: CookieNames, location_name: "WhitelistedNames"))
780
848
  CookiePreference.struct_class = Types::CookiePreference
781
849
 
850
+ CopyDistributionRequest.add_member(:primary_distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "PrimaryDistributionId"))
851
+ CopyDistributionRequest.add_member(:staging, Shapes::ShapeRef.new(shape: boolean, location: "header", location_name: "Staging"))
852
+ CopyDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
853
+ CopyDistributionRequest.add_member(:caller_reference, Shapes::ShapeRef.new(shape: string, required: true, location_name: "CallerReference"))
854
+ CopyDistributionRequest.struct_class = Types::CopyDistributionRequest
855
+
856
+ CopyDistributionResult.add_member(:distribution, Shapes::ShapeRef.new(shape: Distribution, location_name: "Distribution"))
857
+ CopyDistributionResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
858
+ CopyDistributionResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
859
+ CopyDistributionResult.struct_class = Types::CopyDistributionResult
860
+ CopyDistributionResult[:payload] = :distribution
861
+ CopyDistributionResult[:payload_member] = CopyDistributionResult.member(:distribution)
862
+
782
863
  CreateCachePolicyRequest.add_member(:cache_policy_config, Shapes::ShapeRef.new(shape: CachePolicyConfig, required: true, location_name: "CachePolicyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
783
864
  CreateCachePolicyRequest.struct_class = Types::CreateCachePolicyRequest
784
865
  CreateCachePolicyRequest[:payload] = :cache_policy_config
@@ -803,6 +884,18 @@ module Aws::CloudFront
803
884
  CreateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
804
885
  CreateCloudFrontOriginAccessIdentityResult[:payload_member] = CreateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
805
886
 
887
+ CreateContinuousDeploymentPolicyRequest.add_member(:continuous_deployment_policy_config, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyConfig, required: true, location_name: "ContinuousDeploymentPolicyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
888
+ CreateContinuousDeploymentPolicyRequest.struct_class = Types::CreateContinuousDeploymentPolicyRequest
889
+ CreateContinuousDeploymentPolicyRequest[:payload] = :continuous_deployment_policy_config
890
+ CreateContinuousDeploymentPolicyRequest[:payload_member] = CreateContinuousDeploymentPolicyRequest.member(:continuous_deployment_policy_config)
891
+
892
+ CreateContinuousDeploymentPolicyResult.add_member(:continuous_deployment_policy, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicy, location_name: "ContinuousDeploymentPolicy"))
893
+ CreateContinuousDeploymentPolicyResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
894
+ CreateContinuousDeploymentPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
895
+ CreateContinuousDeploymentPolicyResult.struct_class = Types::CreateContinuousDeploymentPolicyResult
896
+ CreateContinuousDeploymentPolicyResult[:payload] = :continuous_deployment_policy
897
+ CreateContinuousDeploymentPolicyResult[:payload_member] = CreateContinuousDeploymentPolicyResult.member(:continuous_deployment_policy)
898
+
806
899
  CreateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
807
900
  CreateDistributionRequest.struct_class = Types::CreateDistributionRequest
808
901
  CreateDistributionRequest[:payload] = :distribution_config
@@ -1031,6 +1124,10 @@ module Aws::CloudFront
1031
1124
  DeleteCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1032
1125
  DeleteCloudFrontOriginAccessIdentityRequest.struct_class = Types::DeleteCloudFrontOriginAccessIdentityRequest
1033
1126
 
1127
+ DeleteContinuousDeploymentPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1128
+ DeleteContinuousDeploymentPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1129
+ DeleteContinuousDeploymentPolicyRequest.struct_class = Types::DeleteContinuousDeploymentPolicyRequest
1130
+
1034
1131
  DeleteDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1035
1132
  DeleteDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1036
1133
  DeleteDistributionRequest.struct_class = Types::DeleteDistributionRequest
@@ -1122,6 +1219,8 @@ module Aws::CloudFront
1122
1219
  DistributionConfig.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: string, location_name: "WebACLId"))
1123
1220
  DistributionConfig.add_member(:http_version, Shapes::ShapeRef.new(shape: HttpVersion, location_name: "HttpVersion"))
1124
1221
  DistributionConfig.add_member(:is_ipv6_enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "IsIPV6Enabled"))
1222
+ DistributionConfig.add_member(:continuous_deployment_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "ContinuousDeploymentPolicyId"))
1223
+ DistributionConfig.add_member(:staging, Shapes::ShapeRef.new(shape: boolean, location_name: "Staging"))
1125
1224
  DistributionConfig.struct_class = Types::DistributionConfig
1126
1225
 
1127
1226
  DistributionConfigWithTags.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig"))
@@ -1169,6 +1268,7 @@ module Aws::CloudFront
1169
1268
  DistributionSummary.add_member(:http_version, Shapes::ShapeRef.new(shape: HttpVersion, required: true, location_name: "HttpVersion"))
1170
1269
  DistributionSummary.add_member(:is_ipv6_enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsIPV6Enabled"))
1171
1270
  DistributionSummary.add_member(:alias_icp_recordals, Shapes::ShapeRef.new(shape: AliasICPRecordals, location_name: "AliasICPRecordals"))
1271
+ DistributionSummary.add_member(:staging, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Staging"))
1172
1272
  DistributionSummary.struct_class = Types::DistributionSummary
1173
1273
 
1174
1274
  DistributionSummaryList.member = Shapes::ShapeRef.new(shape: DistributionSummary, location_name: "DistributionSummary")
@@ -1357,6 +1457,24 @@ module Aws::CloudFront
1357
1457
  GetCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
1358
1458
  GetCloudFrontOriginAccessIdentityResult[:payload_member] = GetCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
1359
1459
 
1460
+ GetContinuousDeploymentPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1461
+ GetContinuousDeploymentPolicyConfigRequest.struct_class = Types::GetContinuousDeploymentPolicyConfigRequest
1462
+
1463
+ GetContinuousDeploymentPolicyConfigResult.add_member(:continuous_deployment_policy_config, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyConfig, location_name: "ContinuousDeploymentPolicyConfig"))
1464
+ GetContinuousDeploymentPolicyConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1465
+ GetContinuousDeploymentPolicyConfigResult.struct_class = Types::GetContinuousDeploymentPolicyConfigResult
1466
+ GetContinuousDeploymentPolicyConfigResult[:payload] = :continuous_deployment_policy_config
1467
+ GetContinuousDeploymentPolicyConfigResult[:payload_member] = GetContinuousDeploymentPolicyConfigResult.member(:continuous_deployment_policy_config)
1468
+
1469
+ GetContinuousDeploymentPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1470
+ GetContinuousDeploymentPolicyRequest.struct_class = Types::GetContinuousDeploymentPolicyRequest
1471
+
1472
+ GetContinuousDeploymentPolicyResult.add_member(:continuous_deployment_policy, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicy, location_name: "ContinuousDeploymentPolicy"))
1473
+ GetContinuousDeploymentPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1474
+ GetContinuousDeploymentPolicyResult.struct_class = Types::GetContinuousDeploymentPolicyResult
1475
+ GetContinuousDeploymentPolicyResult[:payload] = :continuous_deployment_policy
1476
+ GetContinuousDeploymentPolicyResult[:payload_member] = GetContinuousDeploymentPolicyResult.member(:continuous_deployment_policy)
1477
+
1360
1478
  GetDistributionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1361
1479
  GetDistributionConfigRequest.struct_class = Types::GetDistributionConfigRequest
1362
1480
 
@@ -1759,6 +1877,15 @@ module Aws::CloudFront
1759
1877
  ListConflictingAliasesResult[:payload] = :conflicting_aliases_list
1760
1878
  ListConflictingAliasesResult[:payload_member] = ListConflictingAliasesResult.member(:conflicting_aliases_list)
1761
1879
 
1880
+ ListContinuousDeploymentPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1881
+ ListContinuousDeploymentPoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1882
+ ListContinuousDeploymentPoliciesRequest.struct_class = Types::ListContinuousDeploymentPoliciesRequest
1883
+
1884
+ ListContinuousDeploymentPoliciesResult.add_member(:continuous_deployment_policy_list, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyList, location_name: "ContinuousDeploymentPolicyList"))
1885
+ ListContinuousDeploymentPoliciesResult.struct_class = Types::ListContinuousDeploymentPoliciesResult
1886
+ ListContinuousDeploymentPoliciesResult[:payload] = :continuous_deployment_policy_list
1887
+ ListContinuousDeploymentPoliciesResult[:payload_member] = ListContinuousDeploymentPoliciesResult.member(:continuous_deployment_policy_list)
1888
+
1762
1889
  ListDistributionsByCachePolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1763
1890
  ListDistributionsByCachePolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1764
1891
  ListDistributionsByCachePolicyIdRequest.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "CachePolicyId"))
@@ -1965,6 +2092,9 @@ module Aws::CloudFront
1965
2092
  NoSuchCloudFrontOriginAccessIdentity.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1966
2093
  NoSuchCloudFrontOriginAccessIdentity.struct_class = Types::NoSuchCloudFrontOriginAccessIdentity
1967
2094
 
2095
+ NoSuchContinuousDeploymentPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2096
+ NoSuchContinuousDeploymentPolicy.struct_class = Types::NoSuchContinuousDeploymentPolicy
2097
+
1968
2098
  NoSuchDistribution.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1969
2099
  NoSuchDistribution.struct_class = Types::NoSuchDistribution
1970
2100
 
@@ -2027,7 +2157,7 @@ module Aws::CloudFront
2027
2157
  OriginAccessControlAlreadyExists.struct_class = Types::OriginAccessControlAlreadyExists
2028
2158
 
2029
2159
  OriginAccessControlConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
2030
- OriginAccessControlConfig.add_member(:description, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Description"))
2160
+ OriginAccessControlConfig.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "Description"))
2031
2161
  OriginAccessControlConfig.add_member(:signing_protocol, Shapes::ShapeRef.new(shape: OriginAccessControlSigningProtocols, required: true, location_name: "SigningProtocol"))
2032
2162
  OriginAccessControlConfig.add_member(:signing_behavior, Shapes::ShapeRef.new(shape: OriginAccessControlSigningBehaviors, required: true, location_name: "SigningBehavior"))
2033
2163
  OriginAccessControlConfig.add_member(:origin_access_control_origin_type, Shapes::ShapeRef.new(shape: OriginAccessControlOriginTypes, required: true, location_name: "OriginAccessControlOriginType"))
@@ -2374,6 +2504,10 @@ module Aws::CloudFront
2374
2504
  S3OriginConfig.add_member(:origin_access_identity, Shapes::ShapeRef.new(shape: string, required: true, location_name: "OriginAccessIdentity"))
2375
2505
  S3OriginConfig.struct_class = Types::S3OriginConfig
2376
2506
 
2507
+ SessionStickinessConfig.add_member(:idle_ttl, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IdleTTL"))
2508
+ SessionStickinessConfig.add_member(:maximum_ttl, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaximumTTL"))
2509
+ SessionStickinessConfig.struct_class = Types::SessionStickinessConfig
2510
+
2377
2511
  Signer.add_member(:aws_account_number, Shapes::ShapeRef.new(shape: string, location_name: "AwsAccountNumber"))
2378
2512
  Signer.add_member(:key_pair_ids, Shapes::ShapeRef.new(shape: KeyPairIds, location_name: "KeyPairIds"))
2379
2513
  Signer.struct_class = Types::Signer
@@ -2382,6 +2516,15 @@ module Aws::CloudFront
2382
2516
 
2383
2517
  SslProtocolsList.member = Shapes::ShapeRef.new(shape: SslProtocol, location_name: "SslProtocol")
2384
2518
 
2519
+ StagingDistributionDnsNameList.member = Shapes::ShapeRef.new(shape: string, location_name: "DnsName")
2520
+
2521
+ StagingDistributionDnsNames.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
2522
+ StagingDistributionDnsNames.add_member(:items, Shapes::ShapeRef.new(shape: StagingDistributionDnsNameList, location_name: "Items"))
2523
+ StagingDistributionDnsNames.struct_class = Types::StagingDistributionDnsNames
2524
+
2525
+ StagingDistributionInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2526
+ StagingDistributionInUse.struct_class = Types::StagingDistributionInUse
2527
+
2385
2528
  StatusCodeList.member = Shapes::ShapeRef.new(shape: integer, location_name: "StatusCode")
2386
2529
 
2387
2530
  StatusCodes.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -2501,6 +2644,9 @@ module Aws::CloudFront
2501
2644
  TooManyCloudFrontOriginAccessIdentities.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2502
2645
  TooManyCloudFrontOriginAccessIdentities.struct_class = Types::TooManyCloudFrontOriginAccessIdentities
2503
2646
 
2647
+ TooManyContinuousDeploymentPolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2648
+ TooManyContinuousDeploymentPolicies.struct_class = Types::TooManyContinuousDeploymentPolicies
2649
+
2504
2650
  TooManyCookieNamesInWhiteList.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2505
2651
  TooManyCookieNamesInWhiteList.struct_class = Types::TooManyCookieNamesInWhiteList
2506
2652
 
@@ -2636,6 +2782,11 @@ module Aws::CloudFront
2636
2782
  TooManyTrustedSigners.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2637
2783
  TooManyTrustedSigners.struct_class = Types::TooManyTrustedSigners
2638
2784
 
2785
+ TrafficConfig.add_member(:single_weight_config, Shapes::ShapeRef.new(shape: ContinuousDeploymentSingleWeightConfig, location_name: "SingleWeightConfig"))
2786
+ TrafficConfig.add_member(:single_header_config, Shapes::ShapeRef.new(shape: ContinuousDeploymentSingleHeaderConfig, location_name: "SingleHeaderConfig"))
2787
+ TrafficConfig.add_member(:type, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyType, required: true, location_name: "Type"))
2788
+ TrafficConfig.struct_class = Types::TrafficConfig
2789
+
2639
2790
  TrustedKeyGroupDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2640
2791
  TrustedKeyGroupDoesNotExist.struct_class = Types::TrustedKeyGroupDoesNotExist
2641
2792
 
@@ -2689,6 +2840,19 @@ module Aws::CloudFront
2689
2840
  UpdateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
2690
2841
  UpdateCloudFrontOriginAccessIdentityResult[:payload_member] = UpdateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
2691
2842
 
2843
+ UpdateContinuousDeploymentPolicyRequest.add_member(:continuous_deployment_policy_config, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyConfig, required: true, location_name: "ContinuousDeploymentPolicyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
2844
+ UpdateContinuousDeploymentPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
2845
+ UpdateContinuousDeploymentPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
2846
+ UpdateContinuousDeploymentPolicyRequest.struct_class = Types::UpdateContinuousDeploymentPolicyRequest
2847
+ UpdateContinuousDeploymentPolicyRequest[:payload] = :continuous_deployment_policy_config
2848
+ UpdateContinuousDeploymentPolicyRequest[:payload_member] = UpdateContinuousDeploymentPolicyRequest.member(:continuous_deployment_policy_config)
2849
+
2850
+ UpdateContinuousDeploymentPolicyResult.add_member(:continuous_deployment_policy, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicy, location_name: "ContinuousDeploymentPolicy"))
2851
+ UpdateContinuousDeploymentPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
2852
+ UpdateContinuousDeploymentPolicyResult.struct_class = Types::UpdateContinuousDeploymentPolicyResult
2853
+ UpdateContinuousDeploymentPolicyResult[:payload] = :continuous_deployment_policy
2854
+ UpdateContinuousDeploymentPolicyResult[:payload_member] = UpdateContinuousDeploymentPolicyResult.member(:continuous_deployment_policy)
2855
+
2692
2856
  UpdateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
2693
2857
  UpdateDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
2694
2858
  UpdateDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
@@ -2702,6 +2866,17 @@ module Aws::CloudFront
2702
2866
  UpdateDistributionResult[:payload] = :distribution
2703
2867
  UpdateDistributionResult[:payload_member] = UpdateDistributionResult.member(:distribution)
2704
2868
 
2869
+ UpdateDistributionWithStagingConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
2870
+ UpdateDistributionWithStagingConfigRequest.add_member(:staging_distribution_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "StagingDistributionId"))
2871
+ UpdateDistributionWithStagingConfigRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
2872
+ UpdateDistributionWithStagingConfigRequest.struct_class = Types::UpdateDistributionWithStagingConfigRequest
2873
+
2874
+ UpdateDistributionWithStagingConfigResult.add_member(:distribution, Shapes::ShapeRef.new(shape: Distribution, location_name: "Distribution"))
2875
+ UpdateDistributionWithStagingConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
2876
+ UpdateDistributionWithStagingConfigResult.struct_class = Types::UpdateDistributionWithStagingConfigResult
2877
+ UpdateDistributionWithStagingConfigResult[:payload] = :distribution
2878
+ UpdateDistributionWithStagingConfigResult[:payload_member] = UpdateDistributionWithStagingConfigResult.member(:distribution)
2879
+
2705
2880
  UpdateFieldLevelEncryptionConfigRequest.add_member(:field_level_encryption_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfig, required: true, location_name: "FieldLevelEncryptionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
2706
2881
  UpdateFieldLevelEncryptionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
2707
2882
  UpdateFieldLevelEncryptionConfigRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
@@ -2868,6 +3043,82 @@ module Aws::CloudFront
2868
3043
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2869
3044
  end)
2870
3045
 
3046
+ api.add_operation(:copy_distribution, Seahorse::Model::Operation.new.tap do |o|
3047
+ o.name = "CopyDistribution2020_05_31"
3048
+ o.http_method = "POST"
3049
+ o.http_request_uri = "/2020-05-31/distribution/{PrimaryDistributionId}/copy"
3050
+ o.input = Shapes::ShapeRef.new(shape: CopyDistributionRequest,
3051
+ location_name: "CopyDistributionRequest",
3052
+ metadata: {
3053
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
3054
+ }
3055
+ )
3056
+ o.output = Shapes::ShapeRef.new(shape: CopyDistributionResult)
3057
+ o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3058
+ o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
3059
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3060
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3061
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3062
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3063
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3064
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3065
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3066
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3067
+ o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3068
+ o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
3069
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
3070
+ o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3071
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
3072
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributions)
3073
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDefaultRootObject)
3074
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
3075
+ o.errors << Shapes::ShapeRef.new(shape: InvalidErrorCode)
3076
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
3077
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3078
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequiredProtocol)
3079
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
3080
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
3081
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginGroupsPerDistribution)
3082
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
3083
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
3084
+ o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
3085
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
3086
+ o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3087
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3088
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
3089
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
3090
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
3091
+ o.errors << Shapes::ShapeRef.new(shape: InvalidProtocolSettings)
3092
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTTLOrder)
3093
+ o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
3094
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
3095
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
3096
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
3097
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
3098
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
3099
+ o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
3100
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
3101
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
3102
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
3103
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
3104
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3105
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
3106
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
3107
+ o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
3108
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
3109
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3110
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
3111
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3112
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
3113
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
3114
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
3115
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
3116
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
3117
+ o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
3118
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3119
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
3120
+ end)
3121
+
2871
3122
  api.add_operation(:create_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2872
3123
  o.name = "CreateCachePolicy2020_05_31"
2873
3124
  o.http_method = "POST"
@@ -2897,6 +3148,20 @@ module Aws::CloudFront
2897
3148
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2898
3149
  end)
2899
3150
 
3151
+ api.add_operation(:create_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
3152
+ o.name = "CreateContinuousDeploymentPolicy2020_05_31"
3153
+ o.http_method = "POST"
3154
+ o.http_request_uri = "/2020-05-31/continuous-deployment-policy"
3155
+ o.input = Shapes::ShapeRef.new(shape: CreateContinuousDeploymentPolicyRequest)
3156
+ o.output = Shapes::ShapeRef.new(shape: CreateContinuousDeploymentPolicyResult)
3157
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3158
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3159
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3160
+ o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyAlreadyExists)
3161
+ o.errors << Shapes::ShapeRef.new(shape: TooManyContinuousDeploymentPolicies)
3162
+ o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
3163
+ end)
3164
+
2900
3165
  api.add_operation(:create_distribution, Seahorse::Model::Operation.new.tap do |o|
2901
3166
  o.name = "CreateDistribution2020_05_31"
2902
3167
  o.http_method = "POST"
@@ -2965,6 +3230,8 @@ module Aws::CloudFront
2965
3230
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
2966
3231
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2967
3232
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
3233
+ o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyInUse)
3234
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
2968
3235
  o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
2969
3236
  end)
2970
3237
 
@@ -3035,6 +3302,8 @@ module Aws::CloudFront
3035
3302
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
3036
3303
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3037
3304
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
3305
+ o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyInUse)
3306
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
3038
3307
  o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
3039
3308
  end)
3040
3309
 
@@ -3267,6 +3536,20 @@ module Aws::CloudFront
3267
3536
  o.errors << Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityInUse)
3268
3537
  end)
3269
3538
 
3539
+ api.add_operation(:delete_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
3540
+ o.name = "DeleteContinuousDeploymentPolicy2020_05_31"
3541
+ o.http_method = "DELETE"
3542
+ o.http_request_uri = "/2020-05-31/continuous-deployment-policy/{Id}"
3543
+ o.input = Shapes::ShapeRef.new(shape: DeleteContinuousDeploymentPolicyRequest)
3544
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3545
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3546
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3547
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3548
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3549
+ o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyInUse)
3550
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
3551
+ end)
3552
+
3270
3553
  api.add_operation(:delete_distribution, Seahorse::Model::Operation.new.tap do |o|
3271
3554
  o.name = "DeleteDistribution2020_05_31"
3272
3555
  o.http_method = "DELETE"
@@ -3477,6 +3760,26 @@ module Aws::CloudFront
3477
3760
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3478
3761
  end)
3479
3762
 
3763
+ api.add_operation(:get_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
3764
+ o.name = "GetContinuousDeploymentPolicy2020_05_31"
3765
+ o.http_method = "GET"
3766
+ o.http_request_uri = "/2020-05-31/continuous-deployment-policy/{Id}"
3767
+ o.input = Shapes::ShapeRef.new(shape: GetContinuousDeploymentPolicyRequest)
3768
+ o.output = Shapes::ShapeRef.new(shape: GetContinuousDeploymentPolicyResult)
3769
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3770
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
3771
+ end)
3772
+
3773
+ api.add_operation(:get_continuous_deployment_policy_config, Seahorse::Model::Operation.new.tap do |o|
3774
+ o.name = "GetContinuousDeploymentPolicyConfig2020_05_31"
3775
+ o.http_method = "GET"
3776
+ o.http_request_uri = "/2020-05-31/continuous-deployment-policy/{Id}/config"
3777
+ o.input = Shapes::ShapeRef.new(shape: GetContinuousDeploymentPolicyConfigRequest)
3778
+ o.output = Shapes::ShapeRef.new(shape: GetContinuousDeploymentPolicyConfigResult)
3779
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3780
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
3781
+ end)
3782
+
3480
3783
  api.add_operation(:get_distribution, Seahorse::Model::Operation.new.tap do |o|
3481
3784
  o.name = "GetDistribution2020_05_31"
3482
3785
  o.http_method = "GET"
@@ -3741,6 +4044,17 @@ module Aws::CloudFront
3741
4044
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3742
4045
  end)
3743
4046
 
4047
+ api.add_operation(:list_continuous_deployment_policies, Seahorse::Model::Operation.new.tap do |o|
4048
+ o.name = "ListContinuousDeploymentPolicies2020_05_31"
4049
+ o.http_method = "GET"
4050
+ o.http_request_uri = "/2020-05-31/continuous-deployment-policy"
4051
+ o.input = Shapes::ShapeRef.new(shape: ListContinuousDeploymentPoliciesRequest)
4052
+ o.output = Shapes::ShapeRef.new(shape: ListContinuousDeploymentPoliciesResult)
4053
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4054
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4055
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
4056
+ end)
4057
+
3744
4058
  api.add_operation(:list_distributions, Seahorse::Model::Operation.new.tap do |o|
3745
4059
  o.name = "ListDistributions2020_05_31"
3746
4060
  o.http_method = "GET"
@@ -4048,6 +4362,21 @@ module Aws::CloudFront
4048
4362
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4049
4363
  end)
4050
4364
 
4365
+ api.add_operation(:update_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
4366
+ o.name = "UpdateContinuousDeploymentPolicy2020_05_31"
4367
+ o.http_method = "PUT"
4368
+ o.http_request_uri = "/2020-05-31/continuous-deployment-policy/{Id}"
4369
+ o.input = Shapes::ShapeRef.new(shape: UpdateContinuousDeploymentPolicyRequest)
4370
+ o.output = Shapes::ShapeRef.new(shape: UpdateContinuousDeploymentPolicyResult)
4371
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4372
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4373
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4374
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4375
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4376
+ o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
4377
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
4378
+ end)
4379
+
4051
4380
  api.add_operation(:update_distribution, Seahorse::Model::Operation.new.tap do |o|
4052
4381
  o.name = "UpdateDistribution2020_05_31"
4053
4382
  o.http_method = "PUT"
@@ -4114,10 +4443,81 @@ module Aws::CloudFront
4114
4443
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
4115
4444
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
4116
4445
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
4446
+ o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyInUse)
4447
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
4448
+ o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
4117
4449
  o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
4118
4450
  o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
4119
4451
  end)
4120
4452
 
4453
+ api.add_operation(:update_distribution_with_staging_config, Seahorse::Model::Operation.new.tap do |o|
4454
+ o.name = "UpdateDistributionWithStagingConfig2020_05_31"
4455
+ o.http_method = "PUT"
4456
+ o.http_request_uri = "/2020-05-31/distribution/{Id}/promote-staging-config"
4457
+ o.input = Shapes::ShapeRef.new(shape: UpdateDistributionWithStagingConfigRequest)
4458
+ o.output = Shapes::ShapeRef.new(shape: UpdateDistributionWithStagingConfigResult)
4459
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4460
+ o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
4461
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4462
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4463
+ o.errors << Shapes::ShapeRef.new(shape: MissingBody)
4464
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
4465
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4466
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
4467
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDefaultRootObject)
4468
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
4469
+ o.errors << Shapes::ShapeRef.new(shape: InvalidErrorCode)
4470
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
4471
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4472
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
4473
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
4474
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
4475
+ o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
4476
+ o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
4477
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
4478
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequiredProtocol)
4479
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
4480
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
4481
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginGroupsPerDistribution)
4482
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
4483
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
4484
+ o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
4485
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
4486
+ o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
4487
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4488
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
4489
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
4490
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
4491
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTTLOrder)
4492
+ o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
4493
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
4494
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
4495
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
4496
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
4497
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
4498
+ o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
4499
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
4500
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
4501
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
4502
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
4503
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
4504
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
4505
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
4506
+ o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
4507
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
4508
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
4509
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
4510
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
4511
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
4512
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
4513
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
4514
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
4515
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
4516
+ o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
4517
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
4518
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
4519
+ end)
4520
+
4121
4521
  api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
4122
4522
  o.name = "UpdateFieldLevelEncryptionConfig2020_05_31"
4123
4523
  o.http_method = "PUT"