aws-sdk-cloudfront 1.105.0 → 1.106.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,6 +26,12 @@ module Aws::CloudFront
26
26
  AliasList = Shapes::ListShape.new(name: 'AliasList')
27
27
  Aliases = Shapes::StructureShape.new(name: 'Aliases')
28
28
  AllowedMethods = Shapes::StructureShape.new(name: 'AllowedMethods')
29
+ AnycastIpList = Shapes::StructureShape.new(name: 'AnycastIpList')
30
+ AnycastIpListCollection = Shapes::StructureShape.new(name: 'AnycastIpListCollection')
31
+ AnycastIpListName = Shapes::StringShape.new(name: 'AnycastIpListName')
32
+ AnycastIpListSummaries = Shapes::ListShape.new(name: 'AnycastIpListSummaries')
33
+ AnycastIpListSummary = Shapes::StructureShape.new(name: 'AnycastIpListSummary')
34
+ AnycastIps = Shapes::ListShape.new(name: 'AnycastIps')
29
35
  AssociateAliasRequest = Shapes::StructureShape.new(name: 'AssociateAliasRequest')
30
36
  AwsAccountNumberList = Shapes::ListShape.new(name: 'AwsAccountNumberList')
31
37
  BatchTooLarge = Shapes::StructureShape.new(name: 'BatchTooLarge')
@@ -50,6 +56,7 @@ module Aws::CloudFront
50
56
  CachedMethods = Shapes::StructureShape.new(name: 'CachedMethods')
51
57
  CannotChangeImmutablePublicKeyFields = Shapes::StructureShape.new(name: 'CannotChangeImmutablePublicKeyFields')
52
58
  CannotDeleteEntityWhileInUse = Shapes::StructureShape.new(name: 'CannotDeleteEntityWhileInUse')
59
+ CannotUpdateEntityWhileInUse = Shapes::StructureShape.new(name: 'CannotUpdateEntityWhileInUse')
53
60
  CertificateSource = Shapes::StringShape.new(name: 'CertificateSource')
54
61
  CloudFrontOriginAccessIdentity = Shapes::StructureShape.new(name: 'CloudFrontOriginAccessIdentity')
55
62
  CloudFrontOriginAccessIdentityAlreadyExists = Shapes::StructureShape.new(name: 'CloudFrontOriginAccessIdentityAlreadyExists')
@@ -81,6 +88,8 @@ module Aws::CloudFront
81
88
  CookiePreference = Shapes::StructureShape.new(name: 'CookiePreference')
82
89
  CopyDistributionRequest = Shapes::StructureShape.new(name: 'CopyDistributionRequest')
83
90
  CopyDistributionResult = Shapes::StructureShape.new(name: 'CopyDistributionResult')
91
+ CreateAnycastIpListRequest = Shapes::StructureShape.new(name: 'CreateAnycastIpListRequest')
92
+ CreateAnycastIpListResult = Shapes::StructureShape.new(name: 'CreateAnycastIpListResult')
84
93
  CreateCachePolicyRequest = Shapes::StructureShape.new(name: 'CreateCachePolicyRequest')
85
94
  CreateCachePolicyResult = Shapes::StructureShape.new(name: 'CreateCachePolicyResult')
86
95
  CreateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityRequest')
@@ -119,12 +128,15 @@ module Aws::CloudFront
119
128
  CreateStreamingDistributionResult = Shapes::StructureShape.new(name: 'CreateStreamingDistributionResult')
120
129
  CreateStreamingDistributionWithTagsRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionWithTagsRequest')
121
130
  CreateStreamingDistributionWithTagsResult = Shapes::StructureShape.new(name: 'CreateStreamingDistributionWithTagsResult')
131
+ CreateVpcOriginRequest = Shapes::StructureShape.new(name: 'CreateVpcOriginRequest')
132
+ CreateVpcOriginResult = Shapes::StructureShape.new(name: 'CreateVpcOriginResult')
122
133
  CustomErrorResponse = Shapes::StructureShape.new(name: 'CustomErrorResponse')
123
134
  CustomErrorResponseList = Shapes::ListShape.new(name: 'CustomErrorResponseList')
124
135
  CustomErrorResponses = Shapes::StructureShape.new(name: 'CustomErrorResponses')
125
136
  CustomHeaders = Shapes::StructureShape.new(name: 'CustomHeaders')
126
137
  CustomOriginConfig = Shapes::StructureShape.new(name: 'CustomOriginConfig')
127
138
  DefaultCacheBehavior = Shapes::StructureShape.new(name: 'DefaultCacheBehavior')
139
+ DeleteAnycastIpListRequest = Shapes::StructureShape.new(name: 'DeleteAnycastIpListRequest')
128
140
  DeleteCachePolicyRequest = Shapes::StructureShape.new(name: 'DeleteCachePolicyRequest')
129
141
  DeleteCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'DeleteCloudFrontOriginAccessIdentityRequest')
130
142
  DeleteContinuousDeploymentPolicyRequest = Shapes::StructureShape.new(name: 'DeleteContinuousDeploymentPolicyRequest')
@@ -142,6 +154,8 @@ module Aws::CloudFront
142
154
  DeleteRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'DeleteRealtimeLogConfigRequest')
143
155
  DeleteResponseHeadersPolicyRequest = Shapes::StructureShape.new(name: 'DeleteResponseHeadersPolicyRequest')
144
156
  DeleteStreamingDistributionRequest = Shapes::StructureShape.new(name: 'DeleteStreamingDistributionRequest')
157
+ DeleteVpcOriginRequest = Shapes::StructureShape.new(name: 'DeleteVpcOriginRequest')
158
+ DeleteVpcOriginResult = Shapes::StructureShape.new(name: 'DeleteVpcOriginResult')
145
159
  DescribeFunctionRequest = Shapes::StructureShape.new(name: 'DescribeFunctionRequest')
146
160
  DescribeFunctionResult = Shapes::StructureShape.new(name: 'DescribeFunctionResult')
147
161
  DescribeKeyValueStoreRequest = Shapes::StructureShape.new(name: 'DescribeKeyValueStoreRequest')
@@ -207,6 +221,8 @@ module Aws::CloudFront
207
221
  FunctionSummaryList = Shapes::ListShape.new(name: 'FunctionSummaryList')
208
222
  GeoRestriction = Shapes::StructureShape.new(name: 'GeoRestriction')
209
223
  GeoRestrictionType = Shapes::StringShape.new(name: 'GeoRestrictionType')
224
+ GetAnycastIpListRequest = Shapes::StructureShape.new(name: 'GetAnycastIpListRequest')
225
+ GetAnycastIpListResult = Shapes::StructureShape.new(name: 'GetAnycastIpListResult')
210
226
  GetCachePolicyConfigRequest = Shapes::StructureShape.new(name: 'GetCachePolicyConfigRequest')
211
227
  GetCachePolicyConfigResult = Shapes::StructureShape.new(name: 'GetCachePolicyConfigResult')
212
228
  GetCachePolicyRequest = Shapes::StructureShape.new(name: 'GetCachePolicyRequest')
@@ -263,6 +279,9 @@ module Aws::CloudFront
263
279
  GetStreamingDistributionConfigResult = Shapes::StructureShape.new(name: 'GetStreamingDistributionConfigResult')
264
280
  GetStreamingDistributionRequest = Shapes::StructureShape.new(name: 'GetStreamingDistributionRequest')
265
281
  GetStreamingDistributionResult = Shapes::StructureShape.new(name: 'GetStreamingDistributionResult')
282
+ GetVpcOriginRequest = Shapes::StructureShape.new(name: 'GetVpcOriginRequest')
283
+ GetVpcOriginResult = Shapes::StructureShape.new(name: 'GetVpcOriginResult')
284
+ GrpcConfig = Shapes::StructureShape.new(name: 'GrpcConfig')
266
285
  HeaderList = Shapes::ListShape.new(name: 'HeaderList')
267
286
  Headers = Shapes::StructureShape.new(name: 'Headers')
268
287
  HttpVersion = Shapes::StringShape.new(name: 'HttpVersion')
@@ -330,6 +349,8 @@ module Aws::CloudFront
330
349
  LambdaFunctionAssociation = Shapes::StructureShape.new(name: 'LambdaFunctionAssociation')
331
350
  LambdaFunctionAssociationList = Shapes::ListShape.new(name: 'LambdaFunctionAssociationList')
332
351
  LambdaFunctionAssociations = Shapes::StructureShape.new(name: 'LambdaFunctionAssociations')
352
+ ListAnycastIpListsRequest = Shapes::StructureShape.new(name: 'ListAnycastIpListsRequest')
353
+ ListAnycastIpListsResult = Shapes::StructureShape.new(name: 'ListAnycastIpListsResult')
333
354
  ListCachePoliciesRequest = Shapes::StructureShape.new(name: 'ListCachePoliciesRequest')
334
355
  ListCachePoliciesResult = Shapes::StructureShape.new(name: 'ListCachePoliciesResult')
335
356
  ListCloudFrontOriginAccessIdentitiesRequest = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesRequest')
@@ -338,6 +359,8 @@ module Aws::CloudFront
338
359
  ListConflictingAliasesResult = Shapes::StructureShape.new(name: 'ListConflictingAliasesResult')
339
360
  ListContinuousDeploymentPoliciesRequest = Shapes::StructureShape.new(name: 'ListContinuousDeploymentPoliciesRequest')
340
361
  ListContinuousDeploymentPoliciesResult = Shapes::StructureShape.new(name: 'ListContinuousDeploymentPoliciesResult')
362
+ ListDistributionsByAnycastIpListIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByAnycastIpListIdRequest')
363
+ ListDistributionsByAnycastIpListIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByAnycastIpListIdResult')
341
364
  ListDistributionsByCachePolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdRequest')
342
365
  ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
343
366
  ListDistributionsByKeyGroupRequest = Shapes::StructureShape.new(name: 'ListDistributionsByKeyGroupRequest')
@@ -348,6 +371,8 @@ module Aws::CloudFront
348
371
  ListDistributionsByRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigResult')
349
372
  ListDistributionsByResponseHeadersPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByResponseHeadersPolicyIdRequest')
350
373
  ListDistributionsByResponseHeadersPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByResponseHeadersPolicyIdResult')
374
+ ListDistributionsByVpcOriginIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByVpcOriginIdRequest')
375
+ ListDistributionsByVpcOriginIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByVpcOriginIdResult')
351
376
  ListDistributionsByWebACLIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdRequest')
352
377
  ListDistributionsByWebACLIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdResult')
353
378
  ListDistributionsRequest = Shapes::StructureShape.new(name: 'ListDistributionsRequest')
@@ -378,6 +403,8 @@ module Aws::CloudFront
378
403
  ListStreamingDistributionsResult = Shapes::StructureShape.new(name: 'ListStreamingDistributionsResult')
379
404
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
380
405
  ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
406
+ ListVpcOriginsRequest = Shapes::StructureShape.new(name: 'ListVpcOriginsRequest')
407
+ ListVpcOriginsResult = Shapes::StructureShape.new(name: 'ListVpcOriginsResult')
381
408
  LocationList = Shapes::ListShape.new(name: 'LocationList')
382
409
  LoggingConfig = Shapes::StructureShape.new(name: 'LoggingConfig')
383
410
  Method = Shapes::StringShape.new(name: 'Method')
@@ -634,8 +661,16 @@ module Aws::CloudFront
634
661
  UpdateResponseHeadersPolicyResult = Shapes::StructureShape.new(name: 'UpdateResponseHeadersPolicyResult')
635
662
  UpdateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionRequest')
636
663
  UpdateStreamingDistributionResult = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionResult')
664
+ UpdateVpcOriginRequest = Shapes::StructureShape.new(name: 'UpdateVpcOriginRequest')
665
+ UpdateVpcOriginResult = Shapes::StructureShape.new(name: 'UpdateVpcOriginResult')
637
666
  ViewerCertificate = Shapes::StructureShape.new(name: 'ViewerCertificate')
638
667
  ViewerProtocolPolicy = Shapes::StringShape.new(name: 'ViewerProtocolPolicy')
668
+ VpcOrigin = Shapes::StructureShape.new(name: 'VpcOrigin')
669
+ VpcOriginConfig = Shapes::StructureShape.new(name: 'VpcOriginConfig')
670
+ VpcOriginEndpointConfig = Shapes::StructureShape.new(name: 'VpcOriginEndpointConfig')
671
+ VpcOriginList = Shapes::StructureShape.new(name: 'VpcOriginList')
672
+ VpcOriginSummary = Shapes::StructureShape.new(name: 'VpcOriginSummary')
673
+ VpcOriginSummaryList = Shapes::ListShape.new(name: 'VpcOriginSummaryList')
639
674
  aliasString = Shapes::StringShape.new(name: 'aliasString')
640
675
  boolean = Shapes::BooleanShape.new(name: 'boolean')
641
676
  distributionIdString = Shapes::StringShape.new(name: 'distributionIdString')
@@ -685,6 +720,35 @@ module Aws::CloudFront
685
720
  AllowedMethods.add_member(:cached_methods, Shapes::ShapeRef.new(shape: CachedMethods, location_name: "CachedMethods"))
686
721
  AllowedMethods.struct_class = Types::AllowedMethods
687
722
 
723
+ AnycastIpList.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
724
+ AnycastIpList.add_member(:name, Shapes::ShapeRef.new(shape: AnycastIpListName, required: true, location_name: "Name"))
725
+ AnycastIpList.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
726
+ AnycastIpList.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
727
+ AnycastIpList.add_member(:anycast_ips, Shapes::ShapeRef.new(shape: AnycastIps, required: true, location_name: "AnycastIps"))
728
+ AnycastIpList.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
729
+ AnycastIpList.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
730
+ AnycastIpList.struct_class = Types::AnycastIpList
731
+
732
+ AnycastIpListCollection.add_member(:items, Shapes::ShapeRef.new(shape: AnycastIpListSummaries, location_name: "Items"))
733
+ AnycastIpListCollection.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
734
+ AnycastIpListCollection.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
735
+ AnycastIpListCollection.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
736
+ AnycastIpListCollection.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
737
+ AnycastIpListCollection.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
738
+ AnycastIpListCollection.struct_class = Types::AnycastIpListCollection
739
+
740
+ AnycastIpListSummaries.member = Shapes::ShapeRef.new(shape: AnycastIpListSummary, location_name: "AnycastIpListSummary")
741
+
742
+ AnycastIpListSummary.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
743
+ AnycastIpListSummary.add_member(:name, Shapes::ShapeRef.new(shape: AnycastIpListName, required: true, location_name: "Name"))
744
+ AnycastIpListSummary.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
745
+ AnycastIpListSummary.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
746
+ AnycastIpListSummary.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
747
+ AnycastIpListSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
748
+ AnycastIpListSummary.struct_class = Types::AnycastIpListSummary
749
+
750
+ AnycastIps.member = Shapes::ShapeRef.new(shape: string, location_name: "AnycastIp")
751
+
688
752
  AssociateAliasRequest.add_member(:target_distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "TargetDistributionId"))
689
753
  AssociateAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: string, required: true, location: "querystring", location_name: "Alias"))
690
754
  AssociateAliasRequest.struct_class = Types::AssociateAliasRequest
@@ -712,6 +776,7 @@ module Aws::CloudFront
712
776
  CacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
713
777
  CacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
714
778
  CacheBehavior.add_member(:response_headers_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "ResponseHeadersPolicyId"))
779
+ CacheBehavior.add_member(:grpc_config, Shapes::ShapeRef.new(shape: GrpcConfig, location_name: "GrpcConfig"))
715
780
  CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
716
781
  CacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
717
782
  CacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
@@ -777,6 +842,9 @@ module Aws::CloudFront
777
842
  CannotDeleteEntityWhileInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
778
843
  CannotDeleteEntityWhileInUse.struct_class = Types::CannotDeleteEntityWhileInUse
779
844
 
845
+ CannotUpdateEntityWhileInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
846
+ CannotUpdateEntityWhileInUse.struct_class = Types::CannotUpdateEntityWhileInUse
847
+
780
848
  CloudFrontOriginAccessIdentity.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
781
849
  CloudFrontOriginAccessIdentity.add_member(:s3_canonical_user_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "S3CanonicalUserId"))
782
850
  CloudFrontOriginAccessIdentity.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, location_name: "CloudFrontOriginAccessIdentityConfig"))
@@ -894,6 +962,17 @@ module Aws::CloudFront
894
962
  CopyDistributionResult[:payload] = :distribution
895
963
  CopyDistributionResult[:payload_member] = CopyDistributionResult.member(:distribution)
896
964
 
965
+ CreateAnycastIpListRequest.add_member(:name, Shapes::ShapeRef.new(shape: AnycastIpListName, required: true, location_name: "Name"))
966
+ CreateAnycastIpListRequest.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
967
+ CreateAnycastIpListRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
968
+ CreateAnycastIpListRequest.struct_class = Types::CreateAnycastIpListRequest
969
+
970
+ CreateAnycastIpListResult.add_member(:anycast_ip_list, Shapes::ShapeRef.new(shape: AnycastIpList, location_name: "AnycastIpList"))
971
+ CreateAnycastIpListResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
972
+ CreateAnycastIpListResult.struct_class = Types::CreateAnycastIpListResult
973
+ CreateAnycastIpListResult[:payload] = :anycast_ip_list
974
+ CreateAnycastIpListResult[:payload_member] = CreateAnycastIpListResult.member(:anycast_ip_list)
975
+
897
976
  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/"}}))
898
977
  CreateCachePolicyRequest.struct_class = Types::CreateCachePolicyRequest
899
978
  CreateCachePolicyRequest[:payload] = :cache_policy_config
@@ -1118,6 +1197,17 @@ module Aws::CloudFront
1118
1197
  CreateStreamingDistributionWithTagsResult[:payload] = :streaming_distribution
1119
1198
  CreateStreamingDistributionWithTagsResult[:payload_member] = CreateStreamingDistributionWithTagsResult.member(:streaming_distribution)
1120
1199
 
1200
+ CreateVpcOriginRequest.add_member(:vpc_origin_endpoint_config, Shapes::ShapeRef.new(shape: VpcOriginEndpointConfig, required: true, location_name: "VpcOriginEndpointConfig"))
1201
+ CreateVpcOriginRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
1202
+ CreateVpcOriginRequest.struct_class = Types::CreateVpcOriginRequest
1203
+
1204
+ CreateVpcOriginResult.add_member(:vpc_origin, Shapes::ShapeRef.new(shape: VpcOrigin, location_name: "VpcOrigin"))
1205
+ CreateVpcOriginResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
1206
+ CreateVpcOriginResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1207
+ CreateVpcOriginResult.struct_class = Types::CreateVpcOriginResult
1208
+ CreateVpcOriginResult[:payload] = :vpc_origin
1209
+ CreateVpcOriginResult[:payload_member] = CreateVpcOriginResult.member(:vpc_origin)
1210
+
1121
1211
  CustomErrorResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "ErrorCode"))
1122
1212
  CustomErrorResponse.add_member(:response_page_path, Shapes::ShapeRef.new(shape: string, location_name: "ResponsePagePath"))
1123
1213
  CustomErrorResponse.add_member(:response_code, Shapes::ShapeRef.new(shape: string, location_name: "ResponseCode"))
@@ -1156,12 +1246,17 @@ module Aws::CloudFront
1156
1246
  DefaultCacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
1157
1247
  DefaultCacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
1158
1248
  DefaultCacheBehavior.add_member(:response_headers_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "ResponseHeadersPolicyId"))
1249
+ DefaultCacheBehavior.add_member(:grpc_config, Shapes::ShapeRef.new(shape: GrpcConfig, location_name: "GrpcConfig"))
1159
1250
  DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
1160
1251
  DefaultCacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
1161
1252
  DefaultCacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
1162
1253
  DefaultCacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MaxTTL"))
1163
1254
  DefaultCacheBehavior.struct_class = Types::DefaultCacheBehavior
1164
1255
 
1256
+ DeleteAnycastIpListRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1257
+ DeleteAnycastIpListRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
1258
+ DeleteAnycastIpListRequest.struct_class = Types::DeleteAnycastIpListRequest
1259
+
1165
1260
  DeleteCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1166
1261
  DeleteCachePolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1167
1262
  DeleteCachePolicyRequest.struct_class = Types::DeleteCachePolicyRequest
@@ -1227,6 +1322,16 @@ module Aws::CloudFront
1227
1322
  DeleteStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1228
1323
  DeleteStreamingDistributionRequest.struct_class = Types::DeleteStreamingDistributionRequest
1229
1324
 
1325
+ DeleteVpcOriginRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1326
+ DeleteVpcOriginRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
1327
+ DeleteVpcOriginRequest.struct_class = Types::DeleteVpcOriginRequest
1328
+
1329
+ DeleteVpcOriginResult.add_member(:vpc_origin, Shapes::ShapeRef.new(shape: VpcOrigin, location_name: "VpcOrigin"))
1330
+ DeleteVpcOriginResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1331
+ DeleteVpcOriginResult.struct_class = Types::DeleteVpcOriginResult
1332
+ DeleteVpcOriginResult[:payload] = :vpc_origin
1333
+ DeleteVpcOriginResult[:payload_member] = DeleteVpcOriginResult.member(:vpc_origin)
1334
+
1230
1335
  DescribeFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
1231
1336
  DescribeFunctionRequest.add_member(:stage, Shapes::ShapeRef.new(shape: FunctionStage, location: "querystring", location_name: "Stage"))
1232
1337
  DescribeFunctionRequest.struct_class = Types::DescribeFunctionRequest
@@ -1280,6 +1385,7 @@ module Aws::CloudFront
1280
1385
  DistributionConfig.add_member(:is_ipv6_enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "IsIPV6Enabled"))
1281
1386
  DistributionConfig.add_member(:continuous_deployment_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "ContinuousDeploymentPolicyId"))
1282
1387
  DistributionConfig.add_member(:staging, Shapes::ShapeRef.new(shape: boolean, location_name: "Staging"))
1388
+ DistributionConfig.add_member(:anycast_ip_list_id, Shapes::ShapeRef.new(shape: string, location_name: "AnycastIpListId"))
1283
1389
  DistributionConfig.struct_class = Types::DistributionConfig
1284
1390
 
1285
1391
  DistributionConfigWithTags.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig"))
@@ -1328,6 +1434,7 @@ module Aws::CloudFront
1328
1434
  DistributionSummary.add_member(:is_ipv6_enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsIPV6Enabled"))
1329
1435
  DistributionSummary.add_member(:alias_icp_recordals, Shapes::ShapeRef.new(shape: AliasICPRecordals, location_name: "AliasICPRecordals"))
1330
1436
  DistributionSummary.add_member(:staging, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Staging"))
1437
+ DistributionSummary.add_member(:anycast_ip_list_id, Shapes::ShapeRef.new(shape: string, location_name: "AnycastIpListId"))
1331
1438
  DistributionSummary.struct_class = Types::DistributionSummary
1332
1439
 
1333
1440
  DistributionSummaryList.member = Shapes::ShapeRef.new(shape: DistributionSummary, location_name: "DistributionSummary")
@@ -1493,6 +1600,15 @@ module Aws::CloudFront
1493
1600
  GeoRestriction.add_member(:items, Shapes::ShapeRef.new(shape: LocationList, location_name: "Items"))
1494
1601
  GeoRestriction.struct_class = Types::GeoRestriction
1495
1602
 
1603
+ GetAnycastIpListRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1604
+ GetAnycastIpListRequest.struct_class = Types::GetAnycastIpListRequest
1605
+
1606
+ GetAnycastIpListResult.add_member(:anycast_ip_list, Shapes::ShapeRef.new(shape: AnycastIpList, location_name: "AnycastIpList"))
1607
+ GetAnycastIpListResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1608
+ GetAnycastIpListResult.struct_class = Types::GetAnycastIpListResult
1609
+ GetAnycastIpListResult[:payload] = :anycast_ip_list
1610
+ GetAnycastIpListResult[:payload_member] = GetAnycastIpListResult.member(:anycast_ip_list)
1611
+
1496
1612
  GetCachePolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1497
1613
  GetCachePolicyConfigRequest.struct_class = Types::GetCachePolicyConfigRequest
1498
1614
 
@@ -1744,6 +1860,18 @@ module Aws::CloudFront
1744
1860
  GetStreamingDistributionResult[:payload] = :streaming_distribution
1745
1861
  GetStreamingDistributionResult[:payload_member] = GetStreamingDistributionResult.member(:streaming_distribution)
1746
1862
 
1863
+ GetVpcOriginRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1864
+ GetVpcOriginRequest.struct_class = Types::GetVpcOriginRequest
1865
+
1866
+ GetVpcOriginResult.add_member(:vpc_origin, Shapes::ShapeRef.new(shape: VpcOrigin, location_name: "VpcOrigin"))
1867
+ GetVpcOriginResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1868
+ GetVpcOriginResult.struct_class = Types::GetVpcOriginResult
1869
+ GetVpcOriginResult[:payload] = :vpc_origin
1870
+ GetVpcOriginResult[:payload_member] = GetVpcOriginResult.member(:vpc_origin)
1871
+
1872
+ GrpcConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
1873
+ GrpcConfig.struct_class = Types::GrpcConfig
1874
+
1747
1875
  HeaderList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1748
1876
 
1749
1877
  Headers.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -1948,6 +2076,15 @@ module Aws::CloudFront
1948
2076
  LambdaFunctionAssociations.add_member(:items, Shapes::ShapeRef.new(shape: LambdaFunctionAssociationList, location_name: "Items"))
1949
2077
  LambdaFunctionAssociations.struct_class = Types::LambdaFunctionAssociations
1950
2078
 
2079
+ ListAnycastIpListsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
2080
+ ListAnycastIpListsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
2081
+ ListAnycastIpListsRequest.struct_class = Types::ListAnycastIpListsRequest
2082
+
2083
+ ListAnycastIpListsResult.add_member(:anycast_ip_lists, Shapes::ShapeRef.new(shape: AnycastIpListCollection, location_name: "AnycastIpListCollection"))
2084
+ ListAnycastIpListsResult.struct_class = Types::ListAnycastIpListsResult
2085
+ ListAnycastIpListsResult[:payload] = :anycast_ip_lists
2086
+ ListAnycastIpListsResult[:payload_member] = ListAnycastIpListsResult.member(:anycast_ip_lists)
2087
+
1951
2088
  ListCachePoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: CachePolicyType, location: "querystring", location_name: "Type"))
1952
2089
  ListCachePoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1953
2090
  ListCachePoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
@@ -1987,6 +2124,16 @@ module Aws::CloudFront
1987
2124
  ListContinuousDeploymentPoliciesResult[:payload] = :continuous_deployment_policy_list
1988
2125
  ListContinuousDeploymentPoliciesResult[:payload_member] = ListContinuousDeploymentPoliciesResult.member(:continuous_deployment_policy_list)
1989
2126
 
2127
+ ListDistributionsByAnycastIpListIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
2128
+ ListDistributionsByAnycastIpListIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
2129
+ ListDistributionsByAnycastIpListIdRequest.add_member(:anycast_ip_list_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "AnycastIpListId"))
2130
+ ListDistributionsByAnycastIpListIdRequest.struct_class = Types::ListDistributionsByAnycastIpListIdRequest
2131
+
2132
+ ListDistributionsByAnycastIpListIdResult.add_member(:distribution_list, Shapes::ShapeRef.new(shape: DistributionList, location_name: "DistributionList"))
2133
+ ListDistributionsByAnycastIpListIdResult.struct_class = Types::ListDistributionsByAnycastIpListIdResult
2134
+ ListDistributionsByAnycastIpListIdResult[:payload] = :distribution_list
2135
+ ListDistributionsByAnycastIpListIdResult[:payload_member] = ListDistributionsByAnycastIpListIdResult.member(:distribution_list)
2136
+
1990
2137
  ListDistributionsByCachePolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1991
2138
  ListDistributionsByCachePolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1992
2139
  ListDistributionsByCachePolicyIdRequest.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "CachePolicyId"))
@@ -2038,6 +2185,16 @@ module Aws::CloudFront
2038
2185
  ListDistributionsByResponseHeadersPolicyIdResult[:payload] = :distribution_id_list
2039
2186
  ListDistributionsByResponseHeadersPolicyIdResult[:payload_member] = ListDistributionsByResponseHeadersPolicyIdResult.member(:distribution_id_list)
2040
2187
 
2188
+ ListDistributionsByVpcOriginIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
2189
+ ListDistributionsByVpcOriginIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
2190
+ ListDistributionsByVpcOriginIdRequest.add_member(:vpc_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "VpcOriginId"))
2191
+ ListDistributionsByVpcOriginIdRequest.struct_class = Types::ListDistributionsByVpcOriginIdRequest
2192
+
2193
+ ListDistributionsByVpcOriginIdResult.add_member(:distribution_id_list, Shapes::ShapeRef.new(shape: DistributionIdList, location_name: "DistributionIdList"))
2194
+ ListDistributionsByVpcOriginIdResult.struct_class = Types::ListDistributionsByVpcOriginIdResult
2195
+ ListDistributionsByVpcOriginIdResult[:payload] = :distribution_id_list
2196
+ ListDistributionsByVpcOriginIdResult[:payload_member] = ListDistributionsByVpcOriginIdResult.member(:distribution_id_list)
2197
+
2041
2198
  ListDistributionsByWebACLIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
2042
2199
  ListDistributionsByWebACLIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
2043
2200
  ListDistributionsByWebACLIdRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "WebACLId"))
@@ -2178,12 +2335,21 @@ module Aws::CloudFront
2178
2335
  ListTagsForResourceResult[:payload] = :tags
2179
2336
  ListTagsForResourceResult[:payload_member] = ListTagsForResourceResult.member(:tags)
2180
2337
 
2338
+ ListVpcOriginsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
2339
+ ListVpcOriginsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
2340
+ ListVpcOriginsRequest.struct_class = Types::ListVpcOriginsRequest
2341
+
2342
+ ListVpcOriginsResult.add_member(:vpc_origin_list, Shapes::ShapeRef.new(shape: VpcOriginList, location_name: "VpcOriginList"))
2343
+ ListVpcOriginsResult.struct_class = Types::ListVpcOriginsResult
2344
+ ListVpcOriginsResult[:payload] = :vpc_origin_list
2345
+ ListVpcOriginsResult[:payload_member] = ListVpcOriginsResult.member(:vpc_origin_list)
2346
+
2181
2347
  LocationList.member = Shapes::ShapeRef.new(shape: string, location_name: "Location")
2182
2348
 
2183
- LoggingConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
2184
- LoggingConfig.add_member(:include_cookies, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IncludeCookies"))
2185
- LoggingConfig.add_member(:bucket, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Bucket"))
2186
- LoggingConfig.add_member(:prefix, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Prefix"))
2349
+ LoggingConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "Enabled", metadata: {"box"=>true}))
2350
+ LoggingConfig.add_member(:include_cookies, Shapes::ShapeRef.new(shape: boolean, location_name: "IncludeCookies", metadata: {"box"=>true}))
2351
+ LoggingConfig.add_member(:bucket, Shapes::ShapeRef.new(shape: string, location_name: "Bucket"))
2352
+ LoggingConfig.add_member(:prefix, Shapes::ShapeRef.new(shape: string, location_name: "Prefix"))
2187
2353
  LoggingConfig.struct_class = Types::LoggingConfig
2188
2354
 
2189
2355
  MethodsList.member = Shapes::ShapeRef.new(shape: Method, location_name: "Method")
@@ -2254,6 +2420,7 @@ module Aws::CloudFront
2254
2420
  Origin.add_member(:custom_headers, Shapes::ShapeRef.new(shape: CustomHeaders, location_name: "CustomHeaders"))
2255
2421
  Origin.add_member(:s3_origin_config, Shapes::ShapeRef.new(shape: S3OriginConfig, location_name: "S3OriginConfig"))
2256
2422
  Origin.add_member(:custom_origin_config, Shapes::ShapeRef.new(shape: CustomOriginConfig, location_name: "CustomOriginConfig"))
2423
+ Origin.add_member(:vpc_origin_config, Shapes::ShapeRef.new(shape: VpcOriginConfig, location_name: "VpcOriginConfig"))
2257
2424
  Origin.add_member(:connection_attempts, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionAttempts"))
2258
2425
  Origin.add_member(:connection_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionTimeout"))
2259
2426
  Origin.add_member(:origin_shield, Shapes::ShapeRef.new(shape: OriginShield, location_name: "OriginShield"))
@@ -3138,6 +3305,19 @@ module Aws::CloudFront
3138
3305
  UpdateStreamingDistributionResult[:payload] = :streaming_distribution
3139
3306
  UpdateStreamingDistributionResult[:payload_member] = UpdateStreamingDistributionResult.member(:streaming_distribution)
3140
3307
 
3308
+ UpdateVpcOriginRequest.add_member(:vpc_origin_endpoint_config, Shapes::ShapeRef.new(shape: VpcOriginEndpointConfig, required: true, location_name: "VpcOriginEndpointConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
3309
+ UpdateVpcOriginRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
3310
+ UpdateVpcOriginRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
3311
+ UpdateVpcOriginRequest.struct_class = Types::UpdateVpcOriginRequest
3312
+ UpdateVpcOriginRequest[:payload] = :vpc_origin_endpoint_config
3313
+ UpdateVpcOriginRequest[:payload_member] = UpdateVpcOriginRequest.member(:vpc_origin_endpoint_config)
3314
+
3315
+ UpdateVpcOriginResult.add_member(:vpc_origin, Shapes::ShapeRef.new(shape: VpcOrigin, location_name: "VpcOrigin"))
3316
+ UpdateVpcOriginResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
3317
+ UpdateVpcOriginResult.struct_class = Types::UpdateVpcOriginResult
3318
+ UpdateVpcOriginResult[:payload] = :vpc_origin
3319
+ UpdateVpcOriginResult[:payload_member] = UpdateVpcOriginResult.member(:vpc_origin)
3320
+
3141
3321
  ViewerCertificate.add_member(:cloud_front_default_certificate, Shapes::ShapeRef.new(shape: boolean, location_name: "CloudFrontDefaultCertificate"))
3142
3322
  ViewerCertificate.add_member(:iam_certificate_id, Shapes::ShapeRef.new(shape: string, location_name: "IAMCertificateId"))
3143
3323
  ViewerCertificate.add_member(:acm_certificate_arn, Shapes::ShapeRef.new(shape: string, location_name: "ACMCertificateArn"))
@@ -3147,6 +3327,44 @@ module Aws::CloudFront
3147
3327
  ViewerCertificate.add_member(:certificate_source, Shapes::ShapeRef.new(shape: CertificateSource, deprecated: true, location_name: "CertificateSource"))
3148
3328
  ViewerCertificate.struct_class = Types::ViewerCertificate
3149
3329
 
3330
+ VpcOrigin.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
3331
+ VpcOrigin.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
3332
+ VpcOrigin.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
3333
+ VpcOrigin.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedTime"))
3334
+ VpcOrigin.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
3335
+ VpcOrigin.add_member(:vpc_origin_endpoint_config, Shapes::ShapeRef.new(shape: VpcOriginEndpointConfig, required: true, location_name: "VpcOriginEndpointConfig"))
3336
+ VpcOrigin.struct_class = Types::VpcOrigin
3337
+
3338
+ VpcOriginConfig.add_member(:vpc_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "VpcOriginId"))
3339
+ VpcOriginConfig.struct_class = Types::VpcOriginConfig
3340
+
3341
+ VpcOriginEndpointConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
3342
+ VpcOriginEndpointConfig.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
3343
+ VpcOriginEndpointConfig.add_member(:http_port, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "HTTPPort"))
3344
+ VpcOriginEndpointConfig.add_member(:https_port, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "HTTPSPort"))
3345
+ VpcOriginEndpointConfig.add_member(:origin_protocol_policy, Shapes::ShapeRef.new(shape: OriginProtocolPolicy, required: true, location_name: "OriginProtocolPolicy"))
3346
+ VpcOriginEndpointConfig.add_member(:origin_ssl_protocols, Shapes::ShapeRef.new(shape: OriginSslProtocols, location_name: "OriginSslProtocols"))
3347
+ VpcOriginEndpointConfig.struct_class = Types::VpcOriginEndpointConfig
3348
+
3349
+ VpcOriginList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
3350
+ VpcOriginList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
3351
+ VpcOriginList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
3352
+ VpcOriginList.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
3353
+ VpcOriginList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
3354
+ VpcOriginList.add_member(:items, Shapes::ShapeRef.new(shape: VpcOriginSummaryList, location_name: "Items"))
3355
+ VpcOriginList.struct_class = Types::VpcOriginList
3356
+
3357
+ VpcOriginSummary.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
3358
+ VpcOriginSummary.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
3359
+ VpcOriginSummary.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
3360
+ VpcOriginSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedTime"))
3361
+ VpcOriginSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
3362
+ VpcOriginSummary.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
3363
+ VpcOriginSummary.add_member(:origin_endpoint_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "OriginEndpointArn"))
3364
+ VpcOriginSummary.struct_class = Types::VpcOriginSummary
3365
+
3366
+ VpcOriginSummaryList.member = Shapes::ShapeRef.new(shape: VpcOriginSummary, location_name: "VpcOriginSummary")
3367
+
3150
3368
 
3151
3369
  # @api private
3152
3370
  API = Seahorse::Model::Api.new.tap do |api|
@@ -3258,6 +3476,25 @@ module Aws::CloudFront
3258
3476
  o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
3259
3477
  end)
3260
3478
 
3479
+ api.add_operation(:create_anycast_ip_list, Seahorse::Model::Operation.new.tap do |o|
3480
+ o.name = "CreateAnycastIpList2020_05_31"
3481
+ o.http_method = "POST"
3482
+ o.http_request_uri = "/2020-05-31/anycast-ip-list"
3483
+ o.input = Shapes::ShapeRef.new(shape: CreateAnycastIpListRequest,
3484
+ location_name: "CreateAnycastIpListRequest",
3485
+ metadata: {
3486
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
3487
+ }
3488
+ )
3489
+ o.output = Shapes::ShapeRef.new(shape: CreateAnycastIpListResult)
3490
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3491
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3492
+ o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExists)
3493
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
3494
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3495
+ o.errors << Shapes::ShapeRef.new(shape: EntityLimitExceeded)
3496
+ end)
3497
+
3261
3498
  api.add_operation(:create_cache_policy, Seahorse::Model::Operation.new.tap do |o|
3262
3499
  o.name = "CreateCachePolicy2020_05_31"
3263
3500
  o.http_method = "POST"
@@ -3336,6 +3573,7 @@ module Aws::CloudFront
3336
3573
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3337
3574
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3338
3575
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3576
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
3339
3577
  o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3340
3578
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3341
3579
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
@@ -3409,6 +3647,7 @@ module Aws::CloudFront
3409
3647
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3410
3648
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3411
3649
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3650
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
3412
3651
  o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3413
3652
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3414
3653
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
@@ -3670,6 +3909,42 @@ module Aws::CloudFront
3670
3909
  o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3671
3910
  end)
3672
3911
 
3912
+ api.add_operation(:create_vpc_origin, Seahorse::Model::Operation.new.tap do |o|
3913
+ o.name = "CreateVpcOrigin2020_05_31"
3914
+ o.http_method = "POST"
3915
+ o.http_request_uri = "/2020-05-31/vpc-origin"
3916
+ o.input = Shapes::ShapeRef.new(shape: CreateVpcOriginRequest,
3917
+ location_name: "CreateVpcOriginRequest",
3918
+ metadata: {
3919
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
3920
+ }
3921
+ )
3922
+ o.output = Shapes::ShapeRef.new(shape: CreateVpcOriginResult)
3923
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3924
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3925
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3926
+ o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExists)
3927
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
3928
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3929
+ o.errors << Shapes::ShapeRef.new(shape: EntityLimitExceeded)
3930
+ end)
3931
+
3932
+ api.add_operation(:delete_anycast_ip_list, Seahorse::Model::Operation.new.tap do |o|
3933
+ o.name = "DeleteAnycastIpList2020_05_31"
3934
+ o.http_method = "DELETE"
3935
+ o.http_request_uri = "/2020-05-31/anycast-ip-list/{Id}"
3936
+ o.input = Shapes::ShapeRef.new(shape: DeleteAnycastIpListRequest)
3937
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3938
+ o.errors << Shapes::ShapeRef.new(shape: CannotDeleteEntityWhileInUse)
3939
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3940
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
3941
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3942
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
3943
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3944
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3945
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3946
+ end)
3947
+
3673
3948
  api.add_operation(:delete_cache_policy, Seahorse::Model::Operation.new.tap do |o|
3674
3949
  o.name = "DeleteCachePolicy2020_05_31"
3675
3950
  o.http_method = "DELETE"
@@ -3885,6 +4160,22 @@ module Aws::CloudFront
3885
4160
  o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3886
4161
  end)
3887
4162
 
4163
+ api.add_operation(:delete_vpc_origin, Seahorse::Model::Operation.new.tap do |o|
4164
+ o.name = "DeleteVpcOrigin2020_05_31"
4165
+ o.http_method = "DELETE"
4166
+ o.http_request_uri = "/2020-05-31/vpc-origin/{Id}"
4167
+ o.input = Shapes::ShapeRef.new(shape: DeleteVpcOriginRequest)
4168
+ o.output = Shapes::ShapeRef.new(shape: DeleteVpcOriginResult)
4169
+ o.errors << Shapes::ShapeRef.new(shape: CannotDeleteEntityWhileInUse)
4170
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4171
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4172
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4173
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
4174
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4175
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4176
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4177
+ end)
4178
+
3888
4179
  api.add_operation(:describe_function, Seahorse::Model::Operation.new.tap do |o|
3889
4180
  o.name = "DescribeFunction2020_05_31"
3890
4181
  o.http_method = "GET"
@@ -3907,6 +4198,18 @@ module Aws::CloudFront
3907
4198
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3908
4199
  end)
3909
4200
 
4201
+ api.add_operation(:get_anycast_ip_list, Seahorse::Model::Operation.new.tap do |o|
4202
+ o.name = "GetAnycastIpList2020_05_31"
4203
+ o.http_method = "GET"
4204
+ o.http_request_uri = "/2020-05-31/anycast-ip-list/{Id}"
4205
+ o.input = Shapes::ShapeRef.new(shape: GetAnycastIpListRequest)
4206
+ o.output = Shapes::ShapeRef.new(shape: GetAnycastIpListResult)
4207
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4208
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4209
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4210
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4211
+ end)
4212
+
3910
4213
  api.add_operation(:get_cache_policy, Seahorse::Model::Operation.new.tap do |o|
3911
4214
  o.name = "GetCachePolicy2020_05_31"
3912
4215
  o.http_method = "GET"
@@ -4194,6 +4497,30 @@ module Aws::CloudFront
4194
4497
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
4195
4498
  end)
4196
4499
 
4500
+ api.add_operation(:get_vpc_origin, Seahorse::Model::Operation.new.tap do |o|
4501
+ o.name = "GetVpcOrigin2020_05_31"
4502
+ o.http_method = "GET"
4503
+ o.http_request_uri = "/2020-05-31/vpc-origin/{Id}"
4504
+ o.input = Shapes::ShapeRef.new(shape: GetVpcOriginRequest)
4505
+ o.output = Shapes::ShapeRef.new(shape: GetVpcOriginResult)
4506
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4507
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4508
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4509
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4510
+ end)
4511
+
4512
+ api.add_operation(:list_anycast_ip_lists, Seahorse::Model::Operation.new.tap do |o|
4513
+ o.name = "ListAnycastIpLists2020_05_31"
4514
+ o.http_method = "GET"
4515
+ o.http_request_uri = "/2020-05-31/anycast-ip-list"
4516
+ o.input = Shapes::ShapeRef.new(shape: ListAnycastIpListsRequest)
4517
+ o.output = Shapes::ShapeRef.new(shape: ListAnycastIpListsResult)
4518
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4519
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4520
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4521
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4522
+ end)
4523
+
4197
4524
  api.add_operation(:list_cache_policies, Seahorse::Model::Operation.new.tap do |o|
4198
4525
  o.name = "ListCachePolicies2020_05_31"
4199
4526
  o.http_method = "GET"
@@ -4256,6 +4583,18 @@ module Aws::CloudFront
4256
4583
  )
4257
4584
  end)
4258
4585
 
4586
+ api.add_operation(:list_distributions_by_anycast_ip_list_id, Seahorse::Model::Operation.new.tap do |o|
4587
+ o.name = "ListDistributionsByAnycastIpListId2020_05_31"
4588
+ o.http_method = "GET"
4589
+ o.http_request_uri = "/2020-05-31/distributionsByAnycastIpListId/{AnycastIpListId}"
4590
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByAnycastIpListIdRequest)
4591
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByAnycastIpListIdResult)
4592
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4593
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4594
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4595
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4596
+ end)
4597
+
4259
4598
  api.add_operation(:list_distributions_by_cache_policy_id, Seahorse::Model::Operation.new.tap do |o|
4260
4599
  o.name = "ListDistributionsByCachePolicyId2020_05_31"
4261
4600
  o.http_method = "GET"
@@ -4313,6 +4652,18 @@ module Aws::CloudFront
4313
4652
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4314
4653
  end)
4315
4654
 
4655
+ api.add_operation(:list_distributions_by_vpc_origin_id, Seahorse::Model::Operation.new.tap do |o|
4656
+ o.name = "ListDistributionsByVpcOriginId2020_05_31"
4657
+ o.http_method = "GET"
4658
+ o.http_request_uri = "/2020-05-31/distributionsByVpcOriginId/{VpcOriginId}"
4659
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByVpcOriginIdRequest)
4660
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByVpcOriginIdResult)
4661
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4662
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4663
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4664
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4665
+ end)
4666
+
4316
4667
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
4317
4668
  o.name = "ListDistributionsByWebACLId2020_05_31"
4318
4669
  o.http_method = "GET"
@@ -4478,6 +4829,18 @@ module Aws::CloudFront
4478
4829
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
4479
4830
  end)
4480
4831
 
4832
+ api.add_operation(:list_vpc_origins, Seahorse::Model::Operation.new.tap do |o|
4833
+ o.name = "ListVpcOrigins2020_05_31"
4834
+ o.http_method = "GET"
4835
+ o.http_request_uri = "/2020-05-31/vpc-origin"
4836
+ o.input = Shapes::ShapeRef.new(shape: ListVpcOriginsRequest)
4837
+ o.output = Shapes::ShapeRef.new(shape: ListVpcOriginsResult)
4838
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4839
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4840
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4841
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4842
+ end)
4843
+
4481
4844
  api.add_operation(:publish_function, Seahorse::Model::Operation.new.tap do |o|
4482
4845
  o.name = "PublishFunction2020_05_31"
4483
4846
  o.http_method = "POST"
@@ -4616,6 +4979,7 @@ module Aws::CloudFront
4616
4979
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
4617
4980
  o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4618
4981
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
4982
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4619
4983
  o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
4620
4984
  o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
4621
4985
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
@@ -4688,6 +5052,7 @@ module Aws::CloudFront
4688
5052
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
4689
5053
  o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4690
5054
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
5055
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4691
5056
  o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
4692
5057
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
4693
5058
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
@@ -4922,6 +5287,25 @@ module Aws::CloudFront
4922
5287
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
4923
5288
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
4924
5289
  end)
5290
+
5291
+ api.add_operation(:update_vpc_origin, Seahorse::Model::Operation.new.tap do |o|
5292
+ o.name = "UpdateVpcOrigin2020_05_31"
5293
+ o.http_method = "PUT"
5294
+ o.http_request_uri = "/2020-05-31/vpc-origin/{Id}"
5295
+ o.input = Shapes::ShapeRef.new(shape: UpdateVpcOriginRequest)
5296
+ o.output = Shapes::ShapeRef.new(shape: UpdateVpcOriginResult)
5297
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
5298
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
5299
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
5300
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
5301
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
5302
+ o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExists)
5303
+ o.errors << Shapes::ShapeRef.new(shape: CannotUpdateEntityWhileInUse)
5304
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
5305
+ o.errors << Shapes::ShapeRef.new(shape: EntityLimitExceeded)
5306
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
5307
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
5308
+ end)
4925
5309
  end
4926
5310
 
4927
5311
  end