aws-sdk-cloudfront 1.69.0 → 1.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +586 -75
- data/lib/aws-sdk-cloudfront/client_api.rb +287 -1
- data/lib/aws-sdk-cloudfront/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-cloudfront/endpoint_provider.rb +183 -183
- data/lib/aws-sdk-cloudfront/endpoints.rb +98 -0
- data/lib/aws-sdk-cloudfront/errors.rb +16 -0
- data/lib/aws-sdk-cloudfront/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-cloudfront/types.rb +682 -19
- data/lib/aws-sdk-cloudfront.rb +1 -1
- metadata +2 -2
@@ -64,13 +64,25 @@ 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
|
+
ContinuousDeploymentPolicyConfig = Shapes::StructureShape.new(name: 'ContinuousDeploymentPolicyConfig')
|
69
|
+
ContinuousDeploymentPolicyList = Shapes::StructureShape.new(name: 'ContinuousDeploymentPolicyList')
|
70
|
+
ContinuousDeploymentPolicySummary = Shapes::StructureShape.new(name: 'ContinuousDeploymentPolicySummary')
|
71
|
+
ContinuousDeploymentPolicySummaryList = Shapes::ListShape.new(name: 'ContinuousDeploymentPolicySummaryList')
|
72
|
+
ContinuousDeploymentPolicyType = Shapes::StringShape.new(name: 'ContinuousDeploymentPolicyType')
|
73
|
+
ContinuousDeploymentSingleHeaderConfig = Shapes::StructureShape.new(name: 'ContinuousDeploymentSingleHeaderConfig')
|
74
|
+
ContinuousDeploymentSingleWeightConfig = Shapes::StructureShape.new(name: 'ContinuousDeploymentSingleWeightConfig')
|
67
75
|
CookieNameList = Shapes::ListShape.new(name: 'CookieNameList')
|
68
76
|
CookieNames = Shapes::StructureShape.new(name: 'CookieNames')
|
69
77
|
CookiePreference = Shapes::StructureShape.new(name: 'CookiePreference')
|
78
|
+
CopyDistributionRequest = Shapes::StructureShape.new(name: 'CopyDistributionRequest')
|
79
|
+
CopyDistributionResult = Shapes::StructureShape.new(name: 'CopyDistributionResult')
|
70
80
|
CreateCachePolicyRequest = Shapes::StructureShape.new(name: 'CreateCachePolicyRequest')
|
71
81
|
CreateCachePolicyResult = Shapes::StructureShape.new(name: 'CreateCachePolicyResult')
|
72
82
|
CreateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityRequest')
|
73
83
|
CreateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityResult')
|
84
|
+
CreateContinuousDeploymentPolicyRequest = Shapes::StructureShape.new(name: 'CreateContinuousDeploymentPolicyRequest')
|
85
|
+
CreateContinuousDeploymentPolicyResult = Shapes::StructureShape.new(name: 'CreateContinuousDeploymentPolicyResult')
|
74
86
|
CreateDistributionRequest = Shapes::StructureShape.new(name: 'CreateDistributionRequest')
|
75
87
|
CreateDistributionResult = Shapes::StructureShape.new(name: 'CreateDistributionResult')
|
76
88
|
CreateDistributionWithTagsRequest = Shapes::StructureShape.new(name: 'CreateDistributionWithTagsRequest')
|
@@ -109,6 +121,7 @@ module Aws::CloudFront
|
|
109
121
|
DefaultCacheBehavior = Shapes::StructureShape.new(name: 'DefaultCacheBehavior')
|
110
122
|
DeleteCachePolicyRequest = Shapes::StructureShape.new(name: 'DeleteCachePolicyRequest')
|
111
123
|
DeleteCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'DeleteCloudFrontOriginAccessIdentityRequest')
|
124
|
+
DeleteContinuousDeploymentPolicyRequest = Shapes::StructureShape.new(name: 'DeleteContinuousDeploymentPolicyRequest')
|
112
125
|
DeleteDistributionRequest = Shapes::StructureShape.new(name: 'DeleteDistributionRequest')
|
113
126
|
DeleteFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionConfigRequest')
|
114
127
|
DeleteFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionProfileRequest')
|
@@ -189,6 +202,10 @@ module Aws::CloudFront
|
|
189
202
|
GetCloudFrontOriginAccessIdentityConfigResult = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityConfigResult')
|
190
203
|
GetCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityRequest')
|
191
204
|
GetCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityResult')
|
205
|
+
GetContinuousDeploymentPolicyConfigRequest = Shapes::StructureShape.new(name: 'GetContinuousDeploymentPolicyConfigRequest')
|
206
|
+
GetContinuousDeploymentPolicyConfigResult = Shapes::StructureShape.new(name: 'GetContinuousDeploymentPolicyConfigResult')
|
207
|
+
GetContinuousDeploymentPolicyRequest = Shapes::StructureShape.new(name: 'GetContinuousDeploymentPolicyRequest')
|
208
|
+
GetContinuousDeploymentPolicyResult = Shapes::StructureShape.new(name: 'GetContinuousDeploymentPolicyResult')
|
192
209
|
GetDistributionConfigRequest = Shapes::StructureShape.new(name: 'GetDistributionConfigRequest')
|
193
210
|
GetDistributionConfigResult = Shapes::StructureShape.new(name: 'GetDistributionConfigResult')
|
194
211
|
GetDistributionRequest = Shapes::StructureShape.new(name: 'GetDistributionRequest')
|
@@ -295,6 +312,8 @@ module Aws::CloudFront
|
|
295
312
|
ListCloudFrontOriginAccessIdentitiesResult = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesResult')
|
296
313
|
ListConflictingAliasesRequest = Shapes::StructureShape.new(name: 'ListConflictingAliasesRequest')
|
297
314
|
ListConflictingAliasesResult = Shapes::StructureShape.new(name: 'ListConflictingAliasesResult')
|
315
|
+
ListContinuousDeploymentPoliciesRequest = Shapes::StructureShape.new(name: 'ListContinuousDeploymentPoliciesRequest')
|
316
|
+
ListContinuousDeploymentPoliciesResult = Shapes::StructureShape.new(name: 'ListContinuousDeploymentPoliciesResult')
|
298
317
|
ListDistributionsByCachePolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdRequest')
|
299
318
|
ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
|
300
319
|
ListDistributionsByKeyGroupRequest = Shapes::StructureShape.new(name: 'ListDistributionsByKeyGroupRequest')
|
@@ -462,10 +481,14 @@ module Aws::CloudFront
|
|
462
481
|
S3OriginConfig = Shapes::StructureShape.new(name: 'S3OriginConfig')
|
463
482
|
SSLSupportMethod = Shapes::StringShape.new(name: 'SSLSupportMethod')
|
464
483
|
SamplingRate = Shapes::FloatShape.new(name: 'SamplingRate')
|
484
|
+
SessionStickinessConfig = Shapes::StructureShape.new(name: 'SessionStickinessConfig')
|
465
485
|
Signer = Shapes::StructureShape.new(name: 'Signer')
|
466
486
|
SignerList = Shapes::ListShape.new(name: 'SignerList')
|
467
487
|
SslProtocol = Shapes::StringShape.new(name: 'SslProtocol')
|
468
488
|
SslProtocolsList = Shapes::ListShape.new(name: 'SslProtocolsList')
|
489
|
+
StagingDistributionDnsNameList = Shapes::ListShape.new(name: 'StagingDistributionDnsNameList')
|
490
|
+
StagingDistributionDnsNames = Shapes::StructureShape.new(name: 'StagingDistributionDnsNames')
|
491
|
+
StagingDistributionInUse = Shapes::StructureShape.new(name: 'StagingDistributionInUse')
|
469
492
|
StatusCodeList = Shapes::ListShape.new(name: 'StatusCodeList')
|
470
493
|
StatusCodes = Shapes::StructureShape.new(name: 'StatusCodes')
|
471
494
|
StreamingDistribution = Shapes::StructureShape.new(name: 'StreamingDistribution')
|
@@ -539,6 +562,7 @@ module Aws::CloudFront
|
|
539
562
|
TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
|
540
563
|
TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
|
541
564
|
TooManyTrustedSigners = Shapes::StructureShape.new(name: 'TooManyTrustedSigners')
|
565
|
+
TrafficConfig = Shapes::StructureShape.new(name: 'TrafficConfig')
|
542
566
|
TrustedKeyGroupDoesNotExist = Shapes::StructureShape.new(name: 'TrustedKeyGroupDoesNotExist')
|
543
567
|
TrustedKeyGroupIdList = Shapes::ListShape.new(name: 'TrustedKeyGroupIdList')
|
544
568
|
TrustedKeyGroups = Shapes::StructureShape.new(name: 'TrustedKeyGroups')
|
@@ -550,6 +574,8 @@ module Aws::CloudFront
|
|
550
574
|
UpdateCachePolicyResult = Shapes::StructureShape.new(name: 'UpdateCachePolicyResult')
|
551
575
|
UpdateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityRequest')
|
552
576
|
UpdateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityResult')
|
577
|
+
UpdateContinuousDeploymentPolicyRequest = Shapes::StructureShape.new(name: 'UpdateContinuousDeploymentPolicyRequest')
|
578
|
+
UpdateContinuousDeploymentPolicyResult = Shapes::StructureShape.new(name: 'UpdateContinuousDeploymentPolicyResult')
|
553
579
|
UpdateDistributionRequest = Shapes::StructureShape.new(name: 'UpdateDistributionRequest')
|
554
580
|
UpdateDistributionResult = Shapes::StructureShape.new(name: 'UpdateDistributionResult')
|
555
581
|
UpdateFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionConfigRequest')
|
@@ -577,6 +603,7 @@ module Aws::CloudFront
|
|
577
603
|
aliasString = Shapes::StringShape.new(name: 'aliasString')
|
578
604
|
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
579
605
|
distributionIdString = Shapes::StringShape.new(name: 'distributionIdString')
|
606
|
+
float = Shapes::FloatShape.new(name: 'float')
|
580
607
|
integer = Shapes::IntegerShape.new(name: 'integer')
|
581
608
|
listConflictingAliasesMaxItemsInteger = Shapes::IntegerShape.new(name: 'listConflictingAliasesMaxItemsInteger')
|
582
609
|
long = Shapes::IntegerShape.new(name: 'long')
|
@@ -769,6 +796,35 @@ module Aws::CloudFront
|
|
769
796
|
ContentTypeProfiles.add_member(:items, Shapes::ShapeRef.new(shape: ContentTypeProfileList, location_name: "Items"))
|
770
797
|
ContentTypeProfiles.struct_class = Types::ContentTypeProfiles
|
771
798
|
|
799
|
+
ContinuousDeploymentPolicy.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
|
800
|
+
ContinuousDeploymentPolicy.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
|
801
|
+
ContinuousDeploymentPolicy.add_member(:continuous_deployment_policy_config, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyConfig, required: true, location_name: "ContinuousDeploymentPolicyConfig"))
|
802
|
+
ContinuousDeploymentPolicy.struct_class = Types::ContinuousDeploymentPolicy
|
803
|
+
|
804
|
+
ContinuousDeploymentPolicyConfig.add_member(:staging_distribution_dns_names, Shapes::ShapeRef.new(shape: StagingDistributionDnsNames, required: true, location_name: "StagingDistributionDnsNames"))
|
805
|
+
ContinuousDeploymentPolicyConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
|
806
|
+
ContinuousDeploymentPolicyConfig.add_member(:traffic_config, Shapes::ShapeRef.new(shape: TrafficConfig, location_name: "TrafficConfig"))
|
807
|
+
ContinuousDeploymentPolicyConfig.struct_class = Types::ContinuousDeploymentPolicyConfig
|
808
|
+
|
809
|
+
ContinuousDeploymentPolicyList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
|
810
|
+
ContinuousDeploymentPolicyList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
|
811
|
+
ContinuousDeploymentPolicyList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
812
|
+
ContinuousDeploymentPolicyList.add_member(:items, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicySummaryList, location_name: "Items"))
|
813
|
+
ContinuousDeploymentPolicyList.struct_class = Types::ContinuousDeploymentPolicyList
|
814
|
+
|
815
|
+
ContinuousDeploymentPolicySummary.add_member(:continuous_deployment_policy, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicy, required: true, location_name: "ContinuousDeploymentPolicy"))
|
816
|
+
ContinuousDeploymentPolicySummary.struct_class = Types::ContinuousDeploymentPolicySummary
|
817
|
+
|
818
|
+
ContinuousDeploymentPolicySummaryList.member = Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicySummary, location_name: "ContinuousDeploymentPolicySummary")
|
819
|
+
|
820
|
+
ContinuousDeploymentSingleHeaderConfig.add_member(:header, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Header"))
|
821
|
+
ContinuousDeploymentSingleHeaderConfig.add_member(:value, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Value"))
|
822
|
+
ContinuousDeploymentSingleHeaderConfig.struct_class = Types::ContinuousDeploymentSingleHeaderConfig
|
823
|
+
|
824
|
+
ContinuousDeploymentSingleWeightConfig.add_member(:weight, Shapes::ShapeRef.new(shape: float, required: true, location_name: "Weight"))
|
825
|
+
ContinuousDeploymentSingleWeightConfig.add_member(:session_stickiness_config, Shapes::ShapeRef.new(shape: SessionStickinessConfig, location_name: "SessionStickinessConfig"))
|
826
|
+
ContinuousDeploymentSingleWeightConfig.struct_class = Types::ContinuousDeploymentSingleWeightConfig
|
827
|
+
|
772
828
|
CookieNameList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
|
773
829
|
|
774
830
|
CookieNames.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
@@ -779,6 +835,19 @@ module Aws::CloudFront
|
|
779
835
|
CookiePreference.add_member(:whitelisted_names, Shapes::ShapeRef.new(shape: CookieNames, location_name: "WhitelistedNames"))
|
780
836
|
CookiePreference.struct_class = Types::CookiePreference
|
781
837
|
|
838
|
+
CopyDistributionRequest.add_member(:primary_distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "PrimaryDistributionId"))
|
839
|
+
CopyDistributionRequest.add_member(:staging, Shapes::ShapeRef.new(shape: boolean, location: "header", location_name: "Staging"))
|
840
|
+
CopyDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
841
|
+
CopyDistributionRequest.add_member(:caller_reference, Shapes::ShapeRef.new(shape: string, required: true, location_name: "CallerReference"))
|
842
|
+
CopyDistributionRequest.struct_class = Types::CopyDistributionRequest
|
843
|
+
|
844
|
+
CopyDistributionResult.add_member(:distribution, Shapes::ShapeRef.new(shape: Distribution, location_name: "Distribution"))
|
845
|
+
CopyDistributionResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
|
846
|
+
CopyDistributionResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
847
|
+
CopyDistributionResult.struct_class = Types::CopyDistributionResult
|
848
|
+
CopyDistributionResult[:payload] = :distribution
|
849
|
+
CopyDistributionResult[:payload_member] = CopyDistributionResult.member(:distribution)
|
850
|
+
|
782
851
|
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
852
|
CreateCachePolicyRequest.struct_class = Types::CreateCachePolicyRequest
|
784
853
|
CreateCachePolicyRequest[:payload] = :cache_policy_config
|
@@ -803,6 +872,18 @@ module Aws::CloudFront
|
|
803
872
|
CreateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
|
804
873
|
CreateCloudFrontOriginAccessIdentityResult[:payload_member] = CreateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
|
805
874
|
|
875
|
+
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/"}}))
|
876
|
+
CreateContinuousDeploymentPolicyRequest.struct_class = Types::CreateContinuousDeploymentPolicyRequest
|
877
|
+
CreateContinuousDeploymentPolicyRequest[:payload] = :continuous_deployment_policy_config
|
878
|
+
CreateContinuousDeploymentPolicyRequest[:payload_member] = CreateContinuousDeploymentPolicyRequest.member(:continuous_deployment_policy_config)
|
879
|
+
|
880
|
+
CreateContinuousDeploymentPolicyResult.add_member(:continuous_deployment_policy, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicy, location_name: "ContinuousDeploymentPolicy"))
|
881
|
+
CreateContinuousDeploymentPolicyResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
|
882
|
+
CreateContinuousDeploymentPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
883
|
+
CreateContinuousDeploymentPolicyResult.struct_class = Types::CreateContinuousDeploymentPolicyResult
|
884
|
+
CreateContinuousDeploymentPolicyResult[:payload] = :continuous_deployment_policy
|
885
|
+
CreateContinuousDeploymentPolicyResult[:payload_member] = CreateContinuousDeploymentPolicyResult.member(:continuous_deployment_policy)
|
886
|
+
|
806
887
|
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
888
|
CreateDistributionRequest.struct_class = Types::CreateDistributionRequest
|
808
889
|
CreateDistributionRequest[:payload] = :distribution_config
|
@@ -1031,6 +1112,10 @@ module Aws::CloudFront
|
|
1031
1112
|
DeleteCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
1032
1113
|
DeleteCloudFrontOriginAccessIdentityRequest.struct_class = Types::DeleteCloudFrontOriginAccessIdentityRequest
|
1033
1114
|
|
1115
|
+
DeleteContinuousDeploymentPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1116
|
+
DeleteContinuousDeploymentPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
1117
|
+
DeleteContinuousDeploymentPolicyRequest.struct_class = Types::DeleteContinuousDeploymentPolicyRequest
|
1118
|
+
|
1034
1119
|
DeleteDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1035
1120
|
DeleteDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
1036
1121
|
DeleteDistributionRequest.struct_class = Types::DeleteDistributionRequest
|
@@ -1357,6 +1442,24 @@ module Aws::CloudFront
|
|
1357
1442
|
GetCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
|
1358
1443
|
GetCloudFrontOriginAccessIdentityResult[:payload_member] = GetCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
|
1359
1444
|
|
1445
|
+
GetContinuousDeploymentPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1446
|
+
GetContinuousDeploymentPolicyConfigRequest.struct_class = Types::GetContinuousDeploymentPolicyConfigRequest
|
1447
|
+
|
1448
|
+
GetContinuousDeploymentPolicyConfigResult.add_member(:continuous_deployment_policy_config, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyConfig, location_name: "ContinuousDeploymentPolicyConfig"))
|
1449
|
+
GetContinuousDeploymentPolicyConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
1450
|
+
GetContinuousDeploymentPolicyConfigResult.struct_class = Types::GetContinuousDeploymentPolicyConfigResult
|
1451
|
+
GetContinuousDeploymentPolicyConfigResult[:payload] = :continuous_deployment_policy_config
|
1452
|
+
GetContinuousDeploymentPolicyConfigResult[:payload_member] = GetContinuousDeploymentPolicyConfigResult.member(:continuous_deployment_policy_config)
|
1453
|
+
|
1454
|
+
GetContinuousDeploymentPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1455
|
+
GetContinuousDeploymentPolicyRequest.struct_class = Types::GetContinuousDeploymentPolicyRequest
|
1456
|
+
|
1457
|
+
GetContinuousDeploymentPolicyResult.add_member(:continuous_deployment_policy, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicy, location_name: "ContinuousDeploymentPolicy"))
|
1458
|
+
GetContinuousDeploymentPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
1459
|
+
GetContinuousDeploymentPolicyResult.struct_class = Types::GetContinuousDeploymentPolicyResult
|
1460
|
+
GetContinuousDeploymentPolicyResult[:payload] = :continuous_deployment_policy
|
1461
|
+
GetContinuousDeploymentPolicyResult[:payload_member] = GetContinuousDeploymentPolicyResult.member(:continuous_deployment_policy)
|
1462
|
+
|
1360
1463
|
GetDistributionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1361
1464
|
GetDistributionConfigRequest.struct_class = Types::GetDistributionConfigRequest
|
1362
1465
|
|
@@ -1759,6 +1862,15 @@ module Aws::CloudFront
|
|
1759
1862
|
ListConflictingAliasesResult[:payload] = :conflicting_aliases_list
|
1760
1863
|
ListConflictingAliasesResult[:payload_member] = ListConflictingAliasesResult.member(:conflicting_aliases_list)
|
1761
1864
|
|
1865
|
+
ListContinuousDeploymentPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
1866
|
+
ListContinuousDeploymentPoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
|
1867
|
+
ListContinuousDeploymentPoliciesRequest.struct_class = Types::ListContinuousDeploymentPoliciesRequest
|
1868
|
+
|
1869
|
+
ListContinuousDeploymentPoliciesResult.add_member(:continuous_deployment_policy_list, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyList, location_name: "ContinuousDeploymentPolicyList"))
|
1870
|
+
ListContinuousDeploymentPoliciesResult.struct_class = Types::ListContinuousDeploymentPoliciesResult
|
1871
|
+
ListContinuousDeploymentPoliciesResult[:payload] = :continuous_deployment_policy_list
|
1872
|
+
ListContinuousDeploymentPoliciesResult[:payload_member] = ListContinuousDeploymentPoliciesResult.member(:continuous_deployment_policy_list)
|
1873
|
+
|
1762
1874
|
ListDistributionsByCachePolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
1763
1875
|
ListDistributionsByCachePolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
|
1764
1876
|
ListDistributionsByCachePolicyIdRequest.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "CachePolicyId"))
|
@@ -2027,7 +2139,7 @@ module Aws::CloudFront
|
|
2027
2139
|
OriginAccessControlAlreadyExists.struct_class = Types::OriginAccessControlAlreadyExists
|
2028
2140
|
|
2029
2141
|
OriginAccessControlConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
|
2030
|
-
OriginAccessControlConfig.add_member(:description, Shapes::ShapeRef.new(shape: string,
|
2142
|
+
OriginAccessControlConfig.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "Description"))
|
2031
2143
|
OriginAccessControlConfig.add_member(:signing_protocol, Shapes::ShapeRef.new(shape: OriginAccessControlSigningProtocols, required: true, location_name: "SigningProtocol"))
|
2032
2144
|
OriginAccessControlConfig.add_member(:signing_behavior, Shapes::ShapeRef.new(shape: OriginAccessControlSigningBehaviors, required: true, location_name: "SigningBehavior"))
|
2033
2145
|
OriginAccessControlConfig.add_member(:origin_access_control_origin_type, Shapes::ShapeRef.new(shape: OriginAccessControlOriginTypes, required: true, location_name: "OriginAccessControlOriginType"))
|
@@ -2374,6 +2486,10 @@ module Aws::CloudFront
|
|
2374
2486
|
S3OriginConfig.add_member(:origin_access_identity, Shapes::ShapeRef.new(shape: string, required: true, location_name: "OriginAccessIdentity"))
|
2375
2487
|
S3OriginConfig.struct_class = Types::S3OriginConfig
|
2376
2488
|
|
2489
|
+
SessionStickinessConfig.add_member(:idle_ttl, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IdleTTL"))
|
2490
|
+
SessionStickinessConfig.add_member(:maximum_ttl, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaximumTTL"))
|
2491
|
+
SessionStickinessConfig.struct_class = Types::SessionStickinessConfig
|
2492
|
+
|
2377
2493
|
Signer.add_member(:aws_account_number, Shapes::ShapeRef.new(shape: string, location_name: "AwsAccountNumber"))
|
2378
2494
|
Signer.add_member(:key_pair_ids, Shapes::ShapeRef.new(shape: KeyPairIds, location_name: "KeyPairIds"))
|
2379
2495
|
Signer.struct_class = Types::Signer
|
@@ -2382,6 +2498,15 @@ module Aws::CloudFront
|
|
2382
2498
|
|
2383
2499
|
SslProtocolsList.member = Shapes::ShapeRef.new(shape: SslProtocol, location_name: "SslProtocol")
|
2384
2500
|
|
2501
|
+
StagingDistributionDnsNameList.member = Shapes::ShapeRef.new(shape: string, location_name: "DnsName")
|
2502
|
+
|
2503
|
+
StagingDistributionDnsNames.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
2504
|
+
StagingDistributionDnsNames.add_member(:items, Shapes::ShapeRef.new(shape: StagingDistributionDnsNameList, location_name: "Items"))
|
2505
|
+
StagingDistributionDnsNames.struct_class = Types::StagingDistributionDnsNames
|
2506
|
+
|
2507
|
+
StagingDistributionInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2508
|
+
StagingDistributionInUse.struct_class = Types::StagingDistributionInUse
|
2509
|
+
|
2385
2510
|
StatusCodeList.member = Shapes::ShapeRef.new(shape: integer, location_name: "StatusCode")
|
2386
2511
|
|
2387
2512
|
StatusCodes.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
@@ -2636,6 +2761,11 @@ module Aws::CloudFront
|
|
2636
2761
|
TooManyTrustedSigners.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2637
2762
|
TooManyTrustedSigners.struct_class = Types::TooManyTrustedSigners
|
2638
2763
|
|
2764
|
+
TrafficConfig.add_member(:single_weight_config, Shapes::ShapeRef.new(shape: ContinuousDeploymentSingleWeightConfig, location_name: "SingleWeightConfig"))
|
2765
|
+
TrafficConfig.add_member(:single_header_config, Shapes::ShapeRef.new(shape: ContinuousDeploymentSingleHeaderConfig, location_name: "SingleHeaderConfig"))
|
2766
|
+
TrafficConfig.add_member(:type, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyType, required: true, location_name: "Type"))
|
2767
|
+
TrafficConfig.struct_class = Types::TrafficConfig
|
2768
|
+
|
2639
2769
|
TrustedKeyGroupDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2640
2770
|
TrustedKeyGroupDoesNotExist.struct_class = Types::TrustedKeyGroupDoesNotExist
|
2641
2771
|
|
@@ -2689,6 +2819,19 @@ module Aws::CloudFront
|
|
2689
2819
|
UpdateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
|
2690
2820
|
UpdateCloudFrontOriginAccessIdentityResult[:payload_member] = UpdateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
|
2691
2821
|
|
2822
|
+
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/"}}))
|
2823
|
+
UpdateContinuousDeploymentPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
2824
|
+
UpdateContinuousDeploymentPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
2825
|
+
UpdateContinuousDeploymentPolicyRequest.struct_class = Types::UpdateContinuousDeploymentPolicyRequest
|
2826
|
+
UpdateContinuousDeploymentPolicyRequest[:payload] = :continuous_deployment_policy_config
|
2827
|
+
UpdateContinuousDeploymentPolicyRequest[:payload_member] = UpdateContinuousDeploymentPolicyRequest.member(:continuous_deployment_policy_config)
|
2828
|
+
|
2829
|
+
UpdateContinuousDeploymentPolicyResult.add_member(:continuous_deployment_policy, Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicy, location_name: "ContinuousDeploymentPolicy"))
|
2830
|
+
UpdateContinuousDeploymentPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
2831
|
+
UpdateContinuousDeploymentPolicyResult.struct_class = Types::UpdateContinuousDeploymentPolicyResult
|
2832
|
+
UpdateContinuousDeploymentPolicyResult[:payload] = :continuous_deployment_policy
|
2833
|
+
UpdateContinuousDeploymentPolicyResult[:payload_member] = UpdateContinuousDeploymentPolicyResult.member(:continuous_deployment_policy)
|
2834
|
+
|
2692
2835
|
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
2836
|
UpdateDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
2694
2837
|
UpdateDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
@@ -2868,6 +3011,82 @@ module Aws::CloudFront
|
|
2868
3011
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
2869
3012
|
end)
|
2870
3013
|
|
3014
|
+
api.add_operation(:copy_distribution, Seahorse::Model::Operation.new.tap do |o|
|
3015
|
+
o.name = "CopyDistribution2020_05_31"
|
3016
|
+
o.http_method = "POST"
|
3017
|
+
o.http_request_uri = "/2020-05-31/distribution/{PrimaryDistributionId}/copy"
|
3018
|
+
o.input = Shapes::ShapeRef.new(shape: CopyDistributionRequest,
|
3019
|
+
location_name: "CopyDistributionRequest",
|
3020
|
+
metadata: {
|
3021
|
+
"xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
|
3022
|
+
}
|
3023
|
+
)
|
3024
|
+
o.output = Shapes::ShapeRef.new(shape: CopyDistributionResult)
|
3025
|
+
o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
|
3026
|
+
o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
|
3027
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
|
3028
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
|
3029
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
|
3030
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
3031
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
|
3032
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
3033
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3034
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
|
3035
|
+
o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
|
3036
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
|
3037
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
|
3038
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingBody)
|
3039
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
|
3040
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributions)
|
3041
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDefaultRootObject)
|
3042
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
|
3043
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidErrorCode)
|
3044
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
|
3045
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3046
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequiredProtocol)
|
3047
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
|
3048
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
|
3049
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyOriginGroupsPerDistribution)
|
3050
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
|
3051
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
|
3052
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
|
3053
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
|
3054
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
|
3055
|
+
o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
|
3056
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
|
3057
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
|
3058
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
|
3059
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidProtocolSettings)
|
3060
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTTLOrder)
|
3061
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
|
3062
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
|
3063
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
|
3064
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
|
3065
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
|
3066
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
|
3067
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
|
3068
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
|
3069
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
|
3070
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
|
3071
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
|
3072
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
|
3073
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
|
3074
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
|
3075
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
|
3076
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
|
3077
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
|
3078
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
|
3079
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
|
3080
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
|
3081
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
|
3082
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
|
3083
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
|
3084
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
|
3085
|
+
o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
|
3086
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
|
3087
|
+
o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
|
3088
|
+
end)
|
3089
|
+
|
2871
3090
|
api.add_operation(:create_cache_policy, Seahorse::Model::Operation.new.tap do |o|
|
2872
3091
|
o.name = "CreateCachePolicy2020_05_31"
|
2873
3092
|
o.http_method = "POST"
|
@@ -2897,6 +3116,18 @@ module Aws::CloudFront
|
|
2897
3116
|
o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
|
2898
3117
|
end)
|
2899
3118
|
|
3119
|
+
api.add_operation(:create_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
|
3120
|
+
o.name = "CreateContinuousDeploymentPolicy2020_05_31"
|
3121
|
+
o.http_method = "POST"
|
3122
|
+
o.http_request_uri = "/2020-05-31/continuous-deployment-policy"
|
3123
|
+
o.input = Shapes::ShapeRef.new(shape: CreateContinuousDeploymentPolicyRequest)
|
3124
|
+
o.output = Shapes::ShapeRef.new(shape: CreateContinuousDeploymentPolicyResult)
|
3125
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3126
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3127
|
+
o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
|
3128
|
+
o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
|
3129
|
+
end)
|
3130
|
+
|
2900
3131
|
api.add_operation(:create_distribution, Seahorse::Model::Operation.new.tap do |o|
|
2901
3132
|
o.name = "CreateDistribution2020_05_31"
|
2902
3133
|
o.http_method = "POST"
|
@@ -3267,6 +3498,18 @@ module Aws::CloudFront
|
|
3267
3498
|
o.errors << Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityInUse)
|
3268
3499
|
end)
|
3269
3500
|
|
3501
|
+
api.add_operation(:delete_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
|
3502
|
+
o.name = "DeleteContinuousDeploymentPolicy2020_05_31"
|
3503
|
+
o.http_method = "DELETE"
|
3504
|
+
o.http_request_uri = "/2020-05-31/continuous-deployment-policy/{Id}"
|
3505
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteContinuousDeploymentPolicyRequest)
|
3506
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3507
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
3508
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3509
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3510
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
3511
|
+
end)
|
3512
|
+
|
3270
3513
|
api.add_operation(:delete_distribution, Seahorse::Model::Operation.new.tap do |o|
|
3271
3514
|
o.name = "DeleteDistribution2020_05_31"
|
3272
3515
|
o.http_method = "DELETE"
|
@@ -3477,6 +3720,24 @@ module Aws::CloudFront
|
|
3477
3720
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3478
3721
|
end)
|
3479
3722
|
|
3723
|
+
api.add_operation(:get_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
|
3724
|
+
o.name = "GetContinuousDeploymentPolicy2020_05_31"
|
3725
|
+
o.http_method = "GET"
|
3726
|
+
o.http_request_uri = "/2020-05-31/continuous-deployment-policy/{Id}"
|
3727
|
+
o.input = Shapes::ShapeRef.new(shape: GetContinuousDeploymentPolicyRequest)
|
3728
|
+
o.output = Shapes::ShapeRef.new(shape: GetContinuousDeploymentPolicyResult)
|
3729
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3730
|
+
end)
|
3731
|
+
|
3732
|
+
api.add_operation(:get_continuous_deployment_policy_config, Seahorse::Model::Operation.new.tap do |o|
|
3733
|
+
o.name = "GetContinuousDeploymentPolicyConfig2020_05_31"
|
3734
|
+
o.http_method = "GET"
|
3735
|
+
o.http_request_uri = "/2020-05-31/continuous-deployment-policy/{Id}/config"
|
3736
|
+
o.input = Shapes::ShapeRef.new(shape: GetContinuousDeploymentPolicyConfigRequest)
|
3737
|
+
o.output = Shapes::ShapeRef.new(shape: GetContinuousDeploymentPolicyConfigResult)
|
3738
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3739
|
+
end)
|
3740
|
+
|
3480
3741
|
api.add_operation(:get_distribution, Seahorse::Model::Operation.new.tap do |o|
|
3481
3742
|
o.name = "GetDistribution2020_05_31"
|
3482
3743
|
o.http_method = "GET"
|
@@ -3741,6 +4002,16 @@ module Aws::CloudFront
|
|
3741
4002
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
|
3742
4003
|
end)
|
3743
4004
|
|
4005
|
+
api.add_operation(:list_continuous_deployment_policies, Seahorse::Model::Operation.new.tap do |o|
|
4006
|
+
o.name = "ListContinuousDeploymentPolicies2020_05_31"
|
4007
|
+
o.http_method = "GET"
|
4008
|
+
o.http_request_uri = "/2020-05-31/continuous-deployment-policy"
|
4009
|
+
o.input = Shapes::ShapeRef.new(shape: ListContinuousDeploymentPoliciesRequest)
|
4010
|
+
o.output = Shapes::ShapeRef.new(shape: ListContinuousDeploymentPoliciesResult)
|
4011
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
4012
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
4013
|
+
end)
|
4014
|
+
|
3744
4015
|
api.add_operation(:list_distributions, Seahorse::Model::Operation.new.tap do |o|
|
3745
4016
|
o.name = "ListDistributions2020_05_31"
|
3746
4017
|
o.http_method = "GET"
|
@@ -4048,6 +4319,20 @@ module Aws::CloudFront
|
|
4048
4319
|
o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
|
4049
4320
|
end)
|
4050
4321
|
|
4322
|
+
api.add_operation(:update_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
|
4323
|
+
o.name = "UpdateContinuousDeploymentPolicy2020_05_31"
|
4324
|
+
o.http_method = "PUT"
|
4325
|
+
o.http_request_uri = "/2020-05-31/continuous-deployment-policy/{Id}"
|
4326
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateContinuousDeploymentPolicyRequest)
|
4327
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateContinuousDeploymentPolicyResult)
|
4328
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
4329
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
4330
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
4331
|
+
o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
|
4332
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
4333
|
+
o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
|
4334
|
+
end)
|
4335
|
+
|
4051
4336
|
api.add_operation(:update_distribution, Seahorse::Model::Operation.new.tap do |o|
|
4052
4337
|
o.name = "UpdateDistribution2020_05_31"
|
4053
4338
|
o.http_method = "PUT"
|
@@ -4114,6 +4399,7 @@ module Aws::CloudFront
|
|
4114
4399
|
o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
|
4115
4400
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
|
4116
4401
|
o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
|
4402
|
+
o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
|
4117
4403
|
o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
|
4118
4404
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
|
4119
4405
|
end)
|
@@ -50,6 +50,9 @@ module Aws::CloudFront
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|