aws-sdk-cloudfront 1.105.0 → 1.107.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')
@@ -422,6 +449,7 @@ module Aws::CloudFront
422
449
  OriginGroupMember = Shapes::StructureShape.new(name: 'OriginGroupMember')
423
450
  OriginGroupMemberList = Shapes::ListShape.new(name: 'OriginGroupMemberList')
424
451
  OriginGroupMembers = Shapes::StructureShape.new(name: 'OriginGroupMembers')
452
+ OriginGroupSelectionCriteria = Shapes::StringShape.new(name: 'OriginGroupSelectionCriteria')
425
453
  OriginGroups = Shapes::StructureShape.new(name: 'OriginGroups')
426
454
  OriginList = Shapes::ListShape.new(name: 'OriginList')
427
455
  OriginProtocolPolicy = Shapes::StringShape.new(name: 'OriginProtocolPolicy')
@@ -634,8 +662,16 @@ module Aws::CloudFront
634
662
  UpdateResponseHeadersPolicyResult = Shapes::StructureShape.new(name: 'UpdateResponseHeadersPolicyResult')
635
663
  UpdateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionRequest')
636
664
  UpdateStreamingDistributionResult = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionResult')
665
+ UpdateVpcOriginRequest = Shapes::StructureShape.new(name: 'UpdateVpcOriginRequest')
666
+ UpdateVpcOriginResult = Shapes::StructureShape.new(name: 'UpdateVpcOriginResult')
637
667
  ViewerCertificate = Shapes::StructureShape.new(name: 'ViewerCertificate')
638
668
  ViewerProtocolPolicy = Shapes::StringShape.new(name: 'ViewerProtocolPolicy')
669
+ VpcOrigin = Shapes::StructureShape.new(name: 'VpcOrigin')
670
+ VpcOriginConfig = Shapes::StructureShape.new(name: 'VpcOriginConfig')
671
+ VpcOriginEndpointConfig = Shapes::StructureShape.new(name: 'VpcOriginEndpointConfig')
672
+ VpcOriginList = Shapes::StructureShape.new(name: 'VpcOriginList')
673
+ VpcOriginSummary = Shapes::StructureShape.new(name: 'VpcOriginSummary')
674
+ VpcOriginSummaryList = Shapes::ListShape.new(name: 'VpcOriginSummaryList')
639
675
  aliasString = Shapes::StringShape.new(name: 'aliasString')
640
676
  boolean = Shapes::BooleanShape.new(name: 'boolean')
641
677
  distributionIdString = Shapes::StringShape.new(name: 'distributionIdString')
@@ -685,6 +721,35 @@ module Aws::CloudFront
685
721
  AllowedMethods.add_member(:cached_methods, Shapes::ShapeRef.new(shape: CachedMethods, location_name: "CachedMethods"))
686
722
  AllowedMethods.struct_class = Types::AllowedMethods
687
723
 
724
+ AnycastIpList.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
725
+ AnycastIpList.add_member(:name, Shapes::ShapeRef.new(shape: AnycastIpListName, required: true, location_name: "Name"))
726
+ AnycastIpList.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
727
+ AnycastIpList.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
728
+ AnycastIpList.add_member(:anycast_ips, Shapes::ShapeRef.new(shape: AnycastIps, required: true, location_name: "AnycastIps"))
729
+ AnycastIpList.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
730
+ AnycastIpList.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
731
+ AnycastIpList.struct_class = Types::AnycastIpList
732
+
733
+ AnycastIpListCollection.add_member(:items, Shapes::ShapeRef.new(shape: AnycastIpListSummaries, location_name: "Items"))
734
+ AnycastIpListCollection.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
735
+ AnycastIpListCollection.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
736
+ AnycastIpListCollection.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
737
+ AnycastIpListCollection.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
738
+ AnycastIpListCollection.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
739
+ AnycastIpListCollection.struct_class = Types::AnycastIpListCollection
740
+
741
+ AnycastIpListSummaries.member = Shapes::ShapeRef.new(shape: AnycastIpListSummary, location_name: "AnycastIpListSummary")
742
+
743
+ AnycastIpListSummary.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
744
+ AnycastIpListSummary.add_member(:name, Shapes::ShapeRef.new(shape: AnycastIpListName, required: true, location_name: "Name"))
745
+ AnycastIpListSummary.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
746
+ AnycastIpListSummary.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
747
+ AnycastIpListSummary.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
748
+ AnycastIpListSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
749
+ AnycastIpListSummary.struct_class = Types::AnycastIpListSummary
750
+
751
+ AnycastIps.member = Shapes::ShapeRef.new(shape: string, location_name: "AnycastIp")
752
+
688
753
  AssociateAliasRequest.add_member(:target_distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "TargetDistributionId"))
689
754
  AssociateAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: string, required: true, location: "querystring", location_name: "Alias"))
690
755
  AssociateAliasRequest.struct_class = Types::AssociateAliasRequest
@@ -712,6 +777,7 @@ module Aws::CloudFront
712
777
  CacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
713
778
  CacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
714
779
  CacheBehavior.add_member(:response_headers_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "ResponseHeadersPolicyId"))
780
+ CacheBehavior.add_member(:grpc_config, Shapes::ShapeRef.new(shape: GrpcConfig, location_name: "GrpcConfig"))
715
781
  CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
716
782
  CacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
717
783
  CacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
@@ -777,6 +843,9 @@ module Aws::CloudFront
777
843
  CannotDeleteEntityWhileInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
778
844
  CannotDeleteEntityWhileInUse.struct_class = Types::CannotDeleteEntityWhileInUse
779
845
 
846
+ CannotUpdateEntityWhileInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
847
+ CannotUpdateEntityWhileInUse.struct_class = Types::CannotUpdateEntityWhileInUse
848
+
780
849
  CloudFrontOriginAccessIdentity.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
781
850
  CloudFrontOriginAccessIdentity.add_member(:s3_canonical_user_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "S3CanonicalUserId"))
782
851
  CloudFrontOriginAccessIdentity.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, location_name: "CloudFrontOriginAccessIdentityConfig"))
@@ -894,6 +963,17 @@ module Aws::CloudFront
894
963
  CopyDistributionResult[:payload] = :distribution
895
964
  CopyDistributionResult[:payload_member] = CopyDistributionResult.member(:distribution)
896
965
 
966
+ CreateAnycastIpListRequest.add_member(:name, Shapes::ShapeRef.new(shape: AnycastIpListName, required: true, location_name: "Name"))
967
+ CreateAnycastIpListRequest.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
968
+ CreateAnycastIpListRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
969
+ CreateAnycastIpListRequest.struct_class = Types::CreateAnycastIpListRequest
970
+
971
+ CreateAnycastIpListResult.add_member(:anycast_ip_list, Shapes::ShapeRef.new(shape: AnycastIpList, location_name: "AnycastIpList"))
972
+ CreateAnycastIpListResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
973
+ CreateAnycastIpListResult.struct_class = Types::CreateAnycastIpListResult
974
+ CreateAnycastIpListResult[:payload] = :anycast_ip_list
975
+ CreateAnycastIpListResult[:payload_member] = CreateAnycastIpListResult.member(:anycast_ip_list)
976
+
897
977
  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
978
  CreateCachePolicyRequest.struct_class = Types::CreateCachePolicyRequest
899
979
  CreateCachePolicyRequest[:payload] = :cache_policy_config
@@ -1118,6 +1198,17 @@ module Aws::CloudFront
1118
1198
  CreateStreamingDistributionWithTagsResult[:payload] = :streaming_distribution
1119
1199
  CreateStreamingDistributionWithTagsResult[:payload_member] = CreateStreamingDistributionWithTagsResult.member(:streaming_distribution)
1120
1200
 
1201
+ CreateVpcOriginRequest.add_member(:vpc_origin_endpoint_config, Shapes::ShapeRef.new(shape: VpcOriginEndpointConfig, required: true, location_name: "VpcOriginEndpointConfig"))
1202
+ CreateVpcOriginRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
1203
+ CreateVpcOriginRequest.struct_class = Types::CreateVpcOriginRequest
1204
+
1205
+ CreateVpcOriginResult.add_member(:vpc_origin, Shapes::ShapeRef.new(shape: VpcOrigin, location_name: "VpcOrigin"))
1206
+ CreateVpcOriginResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
1207
+ CreateVpcOriginResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1208
+ CreateVpcOriginResult.struct_class = Types::CreateVpcOriginResult
1209
+ CreateVpcOriginResult[:payload] = :vpc_origin
1210
+ CreateVpcOriginResult[:payload_member] = CreateVpcOriginResult.member(:vpc_origin)
1211
+
1121
1212
  CustomErrorResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "ErrorCode"))
1122
1213
  CustomErrorResponse.add_member(:response_page_path, Shapes::ShapeRef.new(shape: string, location_name: "ResponsePagePath"))
1123
1214
  CustomErrorResponse.add_member(:response_code, Shapes::ShapeRef.new(shape: string, location_name: "ResponseCode"))
@@ -1156,12 +1247,17 @@ module Aws::CloudFront
1156
1247
  DefaultCacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
1157
1248
  DefaultCacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
1158
1249
  DefaultCacheBehavior.add_member(:response_headers_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "ResponseHeadersPolicyId"))
1250
+ DefaultCacheBehavior.add_member(:grpc_config, Shapes::ShapeRef.new(shape: GrpcConfig, location_name: "GrpcConfig"))
1159
1251
  DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
1160
1252
  DefaultCacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
1161
1253
  DefaultCacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
1162
1254
  DefaultCacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MaxTTL"))
1163
1255
  DefaultCacheBehavior.struct_class = Types::DefaultCacheBehavior
1164
1256
 
1257
+ DeleteAnycastIpListRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1258
+ DeleteAnycastIpListRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
1259
+ DeleteAnycastIpListRequest.struct_class = Types::DeleteAnycastIpListRequest
1260
+
1165
1261
  DeleteCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1166
1262
  DeleteCachePolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1167
1263
  DeleteCachePolicyRequest.struct_class = Types::DeleteCachePolicyRequest
@@ -1227,6 +1323,16 @@ module Aws::CloudFront
1227
1323
  DeleteStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1228
1324
  DeleteStreamingDistributionRequest.struct_class = Types::DeleteStreamingDistributionRequest
1229
1325
 
1326
+ DeleteVpcOriginRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1327
+ DeleteVpcOriginRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
1328
+ DeleteVpcOriginRequest.struct_class = Types::DeleteVpcOriginRequest
1329
+
1330
+ DeleteVpcOriginResult.add_member(:vpc_origin, Shapes::ShapeRef.new(shape: VpcOrigin, location_name: "VpcOrigin"))
1331
+ DeleteVpcOriginResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1332
+ DeleteVpcOriginResult.struct_class = Types::DeleteVpcOriginResult
1333
+ DeleteVpcOriginResult[:payload] = :vpc_origin
1334
+ DeleteVpcOriginResult[:payload_member] = DeleteVpcOriginResult.member(:vpc_origin)
1335
+
1230
1336
  DescribeFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
1231
1337
  DescribeFunctionRequest.add_member(:stage, Shapes::ShapeRef.new(shape: FunctionStage, location: "querystring", location_name: "Stage"))
1232
1338
  DescribeFunctionRequest.struct_class = Types::DescribeFunctionRequest
@@ -1280,6 +1386,7 @@ module Aws::CloudFront
1280
1386
  DistributionConfig.add_member(:is_ipv6_enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "IsIPV6Enabled"))
1281
1387
  DistributionConfig.add_member(:continuous_deployment_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "ContinuousDeploymentPolicyId"))
1282
1388
  DistributionConfig.add_member(:staging, Shapes::ShapeRef.new(shape: boolean, location_name: "Staging"))
1389
+ DistributionConfig.add_member(:anycast_ip_list_id, Shapes::ShapeRef.new(shape: string, location_name: "AnycastIpListId"))
1283
1390
  DistributionConfig.struct_class = Types::DistributionConfig
1284
1391
 
1285
1392
  DistributionConfigWithTags.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig"))
@@ -1328,6 +1435,7 @@ module Aws::CloudFront
1328
1435
  DistributionSummary.add_member(:is_ipv6_enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsIPV6Enabled"))
1329
1436
  DistributionSummary.add_member(:alias_icp_recordals, Shapes::ShapeRef.new(shape: AliasICPRecordals, location_name: "AliasICPRecordals"))
1330
1437
  DistributionSummary.add_member(:staging, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Staging"))
1438
+ DistributionSummary.add_member(:anycast_ip_list_id, Shapes::ShapeRef.new(shape: string, location_name: "AnycastIpListId"))
1331
1439
  DistributionSummary.struct_class = Types::DistributionSummary
1332
1440
 
1333
1441
  DistributionSummaryList.member = Shapes::ShapeRef.new(shape: DistributionSummary, location_name: "DistributionSummary")
@@ -1493,6 +1601,15 @@ module Aws::CloudFront
1493
1601
  GeoRestriction.add_member(:items, Shapes::ShapeRef.new(shape: LocationList, location_name: "Items"))
1494
1602
  GeoRestriction.struct_class = Types::GeoRestriction
1495
1603
 
1604
+ GetAnycastIpListRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1605
+ GetAnycastIpListRequest.struct_class = Types::GetAnycastIpListRequest
1606
+
1607
+ GetAnycastIpListResult.add_member(:anycast_ip_list, Shapes::ShapeRef.new(shape: AnycastIpList, location_name: "AnycastIpList"))
1608
+ GetAnycastIpListResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1609
+ GetAnycastIpListResult.struct_class = Types::GetAnycastIpListResult
1610
+ GetAnycastIpListResult[:payload] = :anycast_ip_list
1611
+ GetAnycastIpListResult[:payload_member] = GetAnycastIpListResult.member(:anycast_ip_list)
1612
+
1496
1613
  GetCachePolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1497
1614
  GetCachePolicyConfigRequest.struct_class = Types::GetCachePolicyConfigRequest
1498
1615
 
@@ -1744,6 +1861,18 @@ module Aws::CloudFront
1744
1861
  GetStreamingDistributionResult[:payload] = :streaming_distribution
1745
1862
  GetStreamingDistributionResult[:payload_member] = GetStreamingDistributionResult.member(:streaming_distribution)
1746
1863
 
1864
+ GetVpcOriginRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1865
+ GetVpcOriginRequest.struct_class = Types::GetVpcOriginRequest
1866
+
1867
+ GetVpcOriginResult.add_member(:vpc_origin, Shapes::ShapeRef.new(shape: VpcOrigin, location_name: "VpcOrigin"))
1868
+ GetVpcOriginResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1869
+ GetVpcOriginResult.struct_class = Types::GetVpcOriginResult
1870
+ GetVpcOriginResult[:payload] = :vpc_origin
1871
+ GetVpcOriginResult[:payload_member] = GetVpcOriginResult.member(:vpc_origin)
1872
+
1873
+ GrpcConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
1874
+ GrpcConfig.struct_class = Types::GrpcConfig
1875
+
1747
1876
  HeaderList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1748
1877
 
1749
1878
  Headers.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -1948,6 +2077,15 @@ module Aws::CloudFront
1948
2077
  LambdaFunctionAssociations.add_member(:items, Shapes::ShapeRef.new(shape: LambdaFunctionAssociationList, location_name: "Items"))
1949
2078
  LambdaFunctionAssociations.struct_class = Types::LambdaFunctionAssociations
1950
2079
 
2080
+ ListAnycastIpListsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
2081
+ ListAnycastIpListsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
2082
+ ListAnycastIpListsRequest.struct_class = Types::ListAnycastIpListsRequest
2083
+
2084
+ ListAnycastIpListsResult.add_member(:anycast_ip_lists, Shapes::ShapeRef.new(shape: AnycastIpListCollection, location_name: "AnycastIpListCollection"))
2085
+ ListAnycastIpListsResult.struct_class = Types::ListAnycastIpListsResult
2086
+ ListAnycastIpListsResult[:payload] = :anycast_ip_lists
2087
+ ListAnycastIpListsResult[:payload_member] = ListAnycastIpListsResult.member(:anycast_ip_lists)
2088
+
1951
2089
  ListCachePoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: CachePolicyType, location: "querystring", location_name: "Type"))
1952
2090
  ListCachePoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1953
2091
  ListCachePoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
@@ -1987,6 +2125,16 @@ module Aws::CloudFront
1987
2125
  ListContinuousDeploymentPoliciesResult[:payload] = :continuous_deployment_policy_list
1988
2126
  ListContinuousDeploymentPoliciesResult[:payload_member] = ListContinuousDeploymentPoliciesResult.member(:continuous_deployment_policy_list)
1989
2127
 
2128
+ ListDistributionsByAnycastIpListIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
2129
+ ListDistributionsByAnycastIpListIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
2130
+ ListDistributionsByAnycastIpListIdRequest.add_member(:anycast_ip_list_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "AnycastIpListId"))
2131
+ ListDistributionsByAnycastIpListIdRequest.struct_class = Types::ListDistributionsByAnycastIpListIdRequest
2132
+
2133
+ ListDistributionsByAnycastIpListIdResult.add_member(:distribution_list, Shapes::ShapeRef.new(shape: DistributionList, location_name: "DistributionList"))
2134
+ ListDistributionsByAnycastIpListIdResult.struct_class = Types::ListDistributionsByAnycastIpListIdResult
2135
+ ListDistributionsByAnycastIpListIdResult[:payload] = :distribution_list
2136
+ ListDistributionsByAnycastIpListIdResult[:payload_member] = ListDistributionsByAnycastIpListIdResult.member(:distribution_list)
2137
+
1990
2138
  ListDistributionsByCachePolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1991
2139
  ListDistributionsByCachePolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1992
2140
  ListDistributionsByCachePolicyIdRequest.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "CachePolicyId"))
@@ -2038,6 +2186,16 @@ module Aws::CloudFront
2038
2186
  ListDistributionsByResponseHeadersPolicyIdResult[:payload] = :distribution_id_list
2039
2187
  ListDistributionsByResponseHeadersPolicyIdResult[:payload_member] = ListDistributionsByResponseHeadersPolicyIdResult.member(:distribution_id_list)
2040
2188
 
2189
+ ListDistributionsByVpcOriginIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
2190
+ ListDistributionsByVpcOriginIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
2191
+ ListDistributionsByVpcOriginIdRequest.add_member(:vpc_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "VpcOriginId"))
2192
+ ListDistributionsByVpcOriginIdRequest.struct_class = Types::ListDistributionsByVpcOriginIdRequest
2193
+
2194
+ ListDistributionsByVpcOriginIdResult.add_member(:distribution_id_list, Shapes::ShapeRef.new(shape: DistributionIdList, location_name: "DistributionIdList"))
2195
+ ListDistributionsByVpcOriginIdResult.struct_class = Types::ListDistributionsByVpcOriginIdResult
2196
+ ListDistributionsByVpcOriginIdResult[:payload] = :distribution_id_list
2197
+ ListDistributionsByVpcOriginIdResult[:payload_member] = ListDistributionsByVpcOriginIdResult.member(:distribution_id_list)
2198
+
2041
2199
  ListDistributionsByWebACLIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
2042
2200
  ListDistributionsByWebACLIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
2043
2201
  ListDistributionsByWebACLIdRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "WebACLId"))
@@ -2178,12 +2336,21 @@ module Aws::CloudFront
2178
2336
  ListTagsForResourceResult[:payload] = :tags
2179
2337
  ListTagsForResourceResult[:payload_member] = ListTagsForResourceResult.member(:tags)
2180
2338
 
2339
+ ListVpcOriginsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
2340
+ ListVpcOriginsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
2341
+ ListVpcOriginsRequest.struct_class = Types::ListVpcOriginsRequest
2342
+
2343
+ ListVpcOriginsResult.add_member(:vpc_origin_list, Shapes::ShapeRef.new(shape: VpcOriginList, location_name: "VpcOriginList"))
2344
+ ListVpcOriginsResult.struct_class = Types::ListVpcOriginsResult
2345
+ ListVpcOriginsResult[:payload] = :vpc_origin_list
2346
+ ListVpcOriginsResult[:payload_member] = ListVpcOriginsResult.member(:vpc_origin_list)
2347
+
2181
2348
  LocationList.member = Shapes::ShapeRef.new(shape: string, location_name: "Location")
2182
2349
 
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"))
2350
+ LoggingConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "Enabled", metadata: {"box"=>true}))
2351
+ LoggingConfig.add_member(:include_cookies, Shapes::ShapeRef.new(shape: boolean, location_name: "IncludeCookies", metadata: {"box"=>true}))
2352
+ LoggingConfig.add_member(:bucket, Shapes::ShapeRef.new(shape: string, location_name: "Bucket"))
2353
+ LoggingConfig.add_member(:prefix, Shapes::ShapeRef.new(shape: string, location_name: "Prefix"))
2187
2354
  LoggingConfig.struct_class = Types::LoggingConfig
2188
2355
 
2189
2356
  MethodsList.member = Shapes::ShapeRef.new(shape: Method, location_name: "Method")
@@ -2254,6 +2421,7 @@ module Aws::CloudFront
2254
2421
  Origin.add_member(:custom_headers, Shapes::ShapeRef.new(shape: CustomHeaders, location_name: "CustomHeaders"))
2255
2422
  Origin.add_member(:s3_origin_config, Shapes::ShapeRef.new(shape: S3OriginConfig, location_name: "S3OriginConfig"))
2256
2423
  Origin.add_member(:custom_origin_config, Shapes::ShapeRef.new(shape: CustomOriginConfig, location_name: "CustomOriginConfig"))
2424
+ Origin.add_member(:vpc_origin_config, Shapes::ShapeRef.new(shape: VpcOriginConfig, location_name: "VpcOriginConfig"))
2257
2425
  Origin.add_member(:connection_attempts, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionAttempts"))
2258
2426
  Origin.add_member(:connection_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionTimeout"))
2259
2427
  Origin.add_member(:origin_shield, Shapes::ShapeRef.new(shape: OriginShield, location_name: "OriginShield"))
@@ -2304,6 +2472,7 @@ module Aws::CloudFront
2304
2472
  OriginGroup.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
2305
2473
  OriginGroup.add_member(:failover_criteria, Shapes::ShapeRef.new(shape: OriginGroupFailoverCriteria, required: true, location_name: "FailoverCriteria"))
2306
2474
  OriginGroup.add_member(:members, Shapes::ShapeRef.new(shape: OriginGroupMembers, required: true, location_name: "Members"))
2475
+ OriginGroup.add_member(:selection_criteria, Shapes::ShapeRef.new(shape: OriginGroupSelectionCriteria, location_name: "SelectionCriteria"))
2307
2476
  OriginGroup.struct_class = Types::OriginGroup
2308
2477
 
2309
2478
  OriginGroupFailoverCriteria.add_member(:status_codes, Shapes::ShapeRef.new(shape: StatusCodes, required: true, location_name: "StatusCodes"))
@@ -3138,6 +3307,19 @@ module Aws::CloudFront
3138
3307
  UpdateStreamingDistributionResult[:payload] = :streaming_distribution
3139
3308
  UpdateStreamingDistributionResult[:payload_member] = UpdateStreamingDistributionResult.member(:streaming_distribution)
3140
3309
 
3310
+ 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/"}}))
3311
+ UpdateVpcOriginRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
3312
+ UpdateVpcOriginRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
3313
+ UpdateVpcOriginRequest.struct_class = Types::UpdateVpcOriginRequest
3314
+ UpdateVpcOriginRequest[:payload] = :vpc_origin_endpoint_config
3315
+ UpdateVpcOriginRequest[:payload_member] = UpdateVpcOriginRequest.member(:vpc_origin_endpoint_config)
3316
+
3317
+ UpdateVpcOriginResult.add_member(:vpc_origin, Shapes::ShapeRef.new(shape: VpcOrigin, location_name: "VpcOrigin"))
3318
+ UpdateVpcOriginResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
3319
+ UpdateVpcOriginResult.struct_class = Types::UpdateVpcOriginResult
3320
+ UpdateVpcOriginResult[:payload] = :vpc_origin
3321
+ UpdateVpcOriginResult[:payload_member] = UpdateVpcOriginResult.member(:vpc_origin)
3322
+
3141
3323
  ViewerCertificate.add_member(:cloud_front_default_certificate, Shapes::ShapeRef.new(shape: boolean, location_name: "CloudFrontDefaultCertificate"))
3142
3324
  ViewerCertificate.add_member(:iam_certificate_id, Shapes::ShapeRef.new(shape: string, location_name: "IAMCertificateId"))
3143
3325
  ViewerCertificate.add_member(:acm_certificate_arn, Shapes::ShapeRef.new(shape: string, location_name: "ACMCertificateArn"))
@@ -3147,6 +3329,44 @@ module Aws::CloudFront
3147
3329
  ViewerCertificate.add_member(:certificate_source, Shapes::ShapeRef.new(shape: CertificateSource, deprecated: true, location_name: "CertificateSource"))
3148
3330
  ViewerCertificate.struct_class = Types::ViewerCertificate
3149
3331
 
3332
+ VpcOrigin.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
3333
+ VpcOrigin.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
3334
+ VpcOrigin.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
3335
+ VpcOrigin.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedTime"))
3336
+ VpcOrigin.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
3337
+ VpcOrigin.add_member(:vpc_origin_endpoint_config, Shapes::ShapeRef.new(shape: VpcOriginEndpointConfig, required: true, location_name: "VpcOriginEndpointConfig"))
3338
+ VpcOrigin.struct_class = Types::VpcOrigin
3339
+
3340
+ VpcOriginConfig.add_member(:vpc_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "VpcOriginId"))
3341
+ VpcOriginConfig.struct_class = Types::VpcOriginConfig
3342
+
3343
+ VpcOriginEndpointConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
3344
+ VpcOriginEndpointConfig.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
3345
+ VpcOriginEndpointConfig.add_member(:http_port, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "HTTPPort"))
3346
+ VpcOriginEndpointConfig.add_member(:https_port, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "HTTPSPort"))
3347
+ VpcOriginEndpointConfig.add_member(:origin_protocol_policy, Shapes::ShapeRef.new(shape: OriginProtocolPolicy, required: true, location_name: "OriginProtocolPolicy"))
3348
+ VpcOriginEndpointConfig.add_member(:origin_ssl_protocols, Shapes::ShapeRef.new(shape: OriginSslProtocols, location_name: "OriginSslProtocols"))
3349
+ VpcOriginEndpointConfig.struct_class = Types::VpcOriginEndpointConfig
3350
+
3351
+ VpcOriginList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
3352
+ VpcOriginList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
3353
+ VpcOriginList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
3354
+ VpcOriginList.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
3355
+ VpcOriginList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
3356
+ VpcOriginList.add_member(:items, Shapes::ShapeRef.new(shape: VpcOriginSummaryList, location_name: "Items"))
3357
+ VpcOriginList.struct_class = Types::VpcOriginList
3358
+
3359
+ VpcOriginSummary.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
3360
+ VpcOriginSummary.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
3361
+ VpcOriginSummary.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
3362
+ VpcOriginSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedTime"))
3363
+ VpcOriginSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
3364
+ VpcOriginSummary.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
3365
+ VpcOriginSummary.add_member(:origin_endpoint_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "OriginEndpointArn"))
3366
+ VpcOriginSummary.struct_class = Types::VpcOriginSummary
3367
+
3368
+ VpcOriginSummaryList.member = Shapes::ShapeRef.new(shape: VpcOriginSummary, location_name: "VpcOriginSummary")
3369
+
3150
3370
 
3151
3371
  # @api private
3152
3372
  API = Seahorse::Model::Api.new.tap do |api|
@@ -3258,6 +3478,25 @@ module Aws::CloudFront
3258
3478
  o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
3259
3479
  end)
3260
3480
 
3481
+ api.add_operation(:create_anycast_ip_list, Seahorse::Model::Operation.new.tap do |o|
3482
+ o.name = "CreateAnycastIpList2020_05_31"
3483
+ o.http_method = "POST"
3484
+ o.http_request_uri = "/2020-05-31/anycast-ip-list"
3485
+ o.input = Shapes::ShapeRef.new(shape: CreateAnycastIpListRequest,
3486
+ location_name: "CreateAnycastIpListRequest",
3487
+ metadata: {
3488
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
3489
+ }
3490
+ )
3491
+ o.output = Shapes::ShapeRef.new(shape: CreateAnycastIpListResult)
3492
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3493
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3494
+ o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExists)
3495
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
3496
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3497
+ o.errors << Shapes::ShapeRef.new(shape: EntityLimitExceeded)
3498
+ end)
3499
+
3261
3500
  api.add_operation(:create_cache_policy, Seahorse::Model::Operation.new.tap do |o|
3262
3501
  o.name = "CreateCachePolicy2020_05_31"
3263
3502
  o.http_method = "POST"
@@ -3336,6 +3575,7 @@ module Aws::CloudFront
3336
3575
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3337
3576
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3338
3577
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3578
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
3339
3579
  o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3340
3580
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3341
3581
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
@@ -3409,6 +3649,7 @@ module Aws::CloudFront
3409
3649
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3410
3650
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3411
3651
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3652
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
3412
3653
  o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3413
3654
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3414
3655
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
@@ -3670,6 +3911,42 @@ module Aws::CloudFront
3670
3911
  o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3671
3912
  end)
3672
3913
 
3914
+ api.add_operation(:create_vpc_origin, Seahorse::Model::Operation.new.tap do |o|
3915
+ o.name = "CreateVpcOrigin2020_05_31"
3916
+ o.http_method = "POST"
3917
+ o.http_request_uri = "/2020-05-31/vpc-origin"
3918
+ o.input = Shapes::ShapeRef.new(shape: CreateVpcOriginRequest,
3919
+ location_name: "CreateVpcOriginRequest",
3920
+ metadata: {
3921
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
3922
+ }
3923
+ )
3924
+ o.output = Shapes::ShapeRef.new(shape: CreateVpcOriginResult)
3925
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3926
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3927
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3928
+ o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExists)
3929
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
3930
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3931
+ o.errors << Shapes::ShapeRef.new(shape: EntityLimitExceeded)
3932
+ end)
3933
+
3934
+ api.add_operation(:delete_anycast_ip_list, Seahorse::Model::Operation.new.tap do |o|
3935
+ o.name = "DeleteAnycastIpList2020_05_31"
3936
+ o.http_method = "DELETE"
3937
+ o.http_request_uri = "/2020-05-31/anycast-ip-list/{Id}"
3938
+ o.input = Shapes::ShapeRef.new(shape: DeleteAnycastIpListRequest)
3939
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3940
+ o.errors << Shapes::ShapeRef.new(shape: CannotDeleteEntityWhileInUse)
3941
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3942
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
3943
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3944
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
3945
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3946
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3947
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3948
+ end)
3949
+
3673
3950
  api.add_operation(:delete_cache_policy, Seahorse::Model::Operation.new.tap do |o|
3674
3951
  o.name = "DeleteCachePolicy2020_05_31"
3675
3952
  o.http_method = "DELETE"
@@ -3885,6 +4162,22 @@ module Aws::CloudFront
3885
4162
  o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3886
4163
  end)
3887
4164
 
4165
+ api.add_operation(:delete_vpc_origin, Seahorse::Model::Operation.new.tap do |o|
4166
+ o.name = "DeleteVpcOrigin2020_05_31"
4167
+ o.http_method = "DELETE"
4168
+ o.http_request_uri = "/2020-05-31/vpc-origin/{Id}"
4169
+ o.input = Shapes::ShapeRef.new(shape: DeleteVpcOriginRequest)
4170
+ o.output = Shapes::ShapeRef.new(shape: DeleteVpcOriginResult)
4171
+ o.errors << Shapes::ShapeRef.new(shape: CannotDeleteEntityWhileInUse)
4172
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4173
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4174
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4175
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
4176
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4177
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4178
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4179
+ end)
4180
+
3888
4181
  api.add_operation(:describe_function, Seahorse::Model::Operation.new.tap do |o|
3889
4182
  o.name = "DescribeFunction2020_05_31"
3890
4183
  o.http_method = "GET"
@@ -3907,6 +4200,18 @@ module Aws::CloudFront
3907
4200
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3908
4201
  end)
3909
4202
 
4203
+ api.add_operation(:get_anycast_ip_list, Seahorse::Model::Operation.new.tap do |o|
4204
+ o.name = "GetAnycastIpList2020_05_31"
4205
+ o.http_method = "GET"
4206
+ o.http_request_uri = "/2020-05-31/anycast-ip-list/{Id}"
4207
+ o.input = Shapes::ShapeRef.new(shape: GetAnycastIpListRequest)
4208
+ o.output = Shapes::ShapeRef.new(shape: GetAnycastIpListResult)
4209
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4210
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4211
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4212
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4213
+ end)
4214
+
3910
4215
  api.add_operation(:get_cache_policy, Seahorse::Model::Operation.new.tap do |o|
3911
4216
  o.name = "GetCachePolicy2020_05_31"
3912
4217
  o.http_method = "GET"
@@ -4194,6 +4499,30 @@ module Aws::CloudFront
4194
4499
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
4195
4500
  end)
4196
4501
 
4502
+ api.add_operation(:get_vpc_origin, Seahorse::Model::Operation.new.tap do |o|
4503
+ o.name = "GetVpcOrigin2020_05_31"
4504
+ o.http_method = "GET"
4505
+ o.http_request_uri = "/2020-05-31/vpc-origin/{Id}"
4506
+ o.input = Shapes::ShapeRef.new(shape: GetVpcOriginRequest)
4507
+ o.output = Shapes::ShapeRef.new(shape: GetVpcOriginResult)
4508
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4509
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4510
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4511
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4512
+ end)
4513
+
4514
+ api.add_operation(:list_anycast_ip_lists, Seahorse::Model::Operation.new.tap do |o|
4515
+ o.name = "ListAnycastIpLists2020_05_31"
4516
+ o.http_method = "GET"
4517
+ o.http_request_uri = "/2020-05-31/anycast-ip-list"
4518
+ o.input = Shapes::ShapeRef.new(shape: ListAnycastIpListsRequest)
4519
+ o.output = Shapes::ShapeRef.new(shape: ListAnycastIpListsResult)
4520
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4521
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4522
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4523
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4524
+ end)
4525
+
4197
4526
  api.add_operation(:list_cache_policies, Seahorse::Model::Operation.new.tap do |o|
4198
4527
  o.name = "ListCachePolicies2020_05_31"
4199
4528
  o.http_method = "GET"
@@ -4256,6 +4585,18 @@ module Aws::CloudFront
4256
4585
  )
4257
4586
  end)
4258
4587
 
4588
+ api.add_operation(:list_distributions_by_anycast_ip_list_id, Seahorse::Model::Operation.new.tap do |o|
4589
+ o.name = "ListDistributionsByAnycastIpListId2020_05_31"
4590
+ o.http_method = "GET"
4591
+ o.http_request_uri = "/2020-05-31/distributionsByAnycastIpListId/{AnycastIpListId}"
4592
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByAnycastIpListIdRequest)
4593
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByAnycastIpListIdResult)
4594
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4595
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4596
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4597
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4598
+ end)
4599
+
4259
4600
  api.add_operation(:list_distributions_by_cache_policy_id, Seahorse::Model::Operation.new.tap do |o|
4260
4601
  o.name = "ListDistributionsByCachePolicyId2020_05_31"
4261
4602
  o.http_method = "GET"
@@ -4313,6 +4654,18 @@ module Aws::CloudFront
4313
4654
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4314
4655
  end)
4315
4656
 
4657
+ api.add_operation(:list_distributions_by_vpc_origin_id, Seahorse::Model::Operation.new.tap do |o|
4658
+ o.name = "ListDistributionsByVpcOriginId2020_05_31"
4659
+ o.http_method = "GET"
4660
+ o.http_request_uri = "/2020-05-31/distributionsByVpcOriginId/{VpcOriginId}"
4661
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByVpcOriginIdRequest)
4662
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByVpcOriginIdResult)
4663
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4664
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4665
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4666
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4667
+ end)
4668
+
4316
4669
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
4317
4670
  o.name = "ListDistributionsByWebACLId2020_05_31"
4318
4671
  o.http_method = "GET"
@@ -4478,6 +4831,18 @@ module Aws::CloudFront
4478
4831
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
4479
4832
  end)
4480
4833
 
4834
+ api.add_operation(:list_vpc_origins, Seahorse::Model::Operation.new.tap do |o|
4835
+ o.name = "ListVpcOrigins2020_05_31"
4836
+ o.http_method = "GET"
4837
+ o.http_request_uri = "/2020-05-31/vpc-origin"
4838
+ o.input = Shapes::ShapeRef.new(shape: ListVpcOriginsRequest)
4839
+ o.output = Shapes::ShapeRef.new(shape: ListVpcOriginsResult)
4840
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4841
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4842
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4843
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4844
+ end)
4845
+
4481
4846
  api.add_operation(:publish_function, Seahorse::Model::Operation.new.tap do |o|
4482
4847
  o.name = "PublishFunction2020_05_31"
4483
4848
  o.http_method = "POST"
@@ -4616,6 +4981,7 @@ module Aws::CloudFront
4616
4981
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
4617
4982
  o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4618
4983
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
4984
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4619
4985
  o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
4620
4986
  o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
4621
4987
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
@@ -4688,6 +5054,7 @@ module Aws::CloudFront
4688
5054
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
4689
5055
  o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4690
5056
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
5057
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4691
5058
  o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
4692
5059
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
4693
5060
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
@@ -4922,6 +5289,25 @@ module Aws::CloudFront
4922
5289
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
4923
5290
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
4924
5291
  end)
5292
+
5293
+ api.add_operation(:update_vpc_origin, Seahorse::Model::Operation.new.tap do |o|
5294
+ o.name = "UpdateVpcOrigin2020_05_31"
5295
+ o.http_method = "PUT"
5296
+ o.http_request_uri = "/2020-05-31/vpc-origin/{Id}"
5297
+ o.input = Shapes::ShapeRef.new(shape: UpdateVpcOriginRequest)
5298
+ o.output = Shapes::ShapeRef.new(shape: UpdateVpcOriginResult)
5299
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
5300
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
5301
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
5302
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
5303
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
5304
+ o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExists)
5305
+ o.errors << Shapes::ShapeRef.new(shape: CannotUpdateEntityWhileInUse)
5306
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
5307
+ o.errors << Shapes::ShapeRef.new(shape: EntityLimitExceeded)
5308
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
5309
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
5310
+ end)
4925
5311
  end
4926
5312
 
4927
5313
  end