aws-sdk-cloudfront 1.48.0 → 1.53.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -21,6 +21,7 @@ module Aws::CloudFront
21
21
  AliasList = Shapes::ListShape.new(name: 'AliasList')
22
22
  Aliases = Shapes::StructureShape.new(name: 'Aliases')
23
23
  AllowedMethods = Shapes::StructureShape.new(name: 'AllowedMethods')
24
+ AssociateAliasRequest = Shapes::StructureShape.new(name: 'AssociateAliasRequest')
24
25
  AwsAccountNumberList = Shapes::ListShape.new(name: 'AwsAccountNumberList')
25
26
  BatchTooLarge = Shapes::StructureShape.new(name: 'BatchTooLarge')
26
27
  CNAMEAlreadyExists = Shapes::StructureShape.new(name: 'CNAMEAlreadyExists')
@@ -52,6 +53,9 @@ module Aws::CloudFront
52
53
  CloudFrontOriginAccessIdentitySummary = Shapes::StructureShape.new(name: 'CloudFrontOriginAccessIdentitySummary')
53
54
  CloudFrontOriginAccessIdentitySummaryList = Shapes::ListShape.new(name: 'CloudFrontOriginAccessIdentitySummaryList')
54
55
  CommentType = Shapes::StringShape.new(name: 'CommentType')
56
+ ConflictingAlias = Shapes::StructureShape.new(name: 'ConflictingAlias')
57
+ ConflictingAliases = Shapes::ListShape.new(name: 'ConflictingAliases')
58
+ ConflictingAliasesList = Shapes::StructureShape.new(name: 'ConflictingAliasesList')
55
59
  ContentTypeProfile = Shapes::StructureShape.new(name: 'ContentTypeProfile')
56
60
  ContentTypeProfileConfig = Shapes::StructureShape.new(name: 'ContentTypeProfileConfig')
57
61
  ContentTypeProfileList = Shapes::ListShape.new(name: 'ContentTypeProfileList')
@@ -71,6 +75,8 @@ module Aws::CloudFront
71
75
  CreateFieldLevelEncryptionConfigResult = Shapes::StructureShape.new(name: 'CreateFieldLevelEncryptionConfigResult')
72
76
  CreateFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'CreateFieldLevelEncryptionProfileRequest')
73
77
  CreateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'CreateFieldLevelEncryptionProfileResult')
78
+ CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
79
+ CreateFunctionResult = Shapes::StructureShape.new(name: 'CreateFunctionResult')
74
80
  CreateInvalidationRequest = Shapes::StructureShape.new(name: 'CreateInvalidationRequest')
75
81
  CreateInvalidationResult = Shapes::StructureShape.new(name: 'CreateInvalidationResult')
76
82
  CreateKeyGroupRequest = Shapes::StructureShape.new(name: 'CreateKeyGroupRequest')
@@ -98,6 +104,7 @@ module Aws::CloudFront
98
104
  DeleteDistributionRequest = Shapes::StructureShape.new(name: 'DeleteDistributionRequest')
99
105
  DeleteFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionConfigRequest')
100
106
  DeleteFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionProfileRequest')
107
+ DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
101
108
  DeleteKeyGroupRequest = Shapes::StructureShape.new(name: 'DeleteKeyGroupRequest')
102
109
  DeleteMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionRequest')
103
110
  DeleteMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionResult')
@@ -105,6 +112,8 @@ module Aws::CloudFront
105
112
  DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest')
106
113
  DeleteRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'DeleteRealtimeLogConfigRequest')
107
114
  DeleteStreamingDistributionRequest = Shapes::StructureShape.new(name: 'DeleteStreamingDistributionRequest')
115
+ DescribeFunctionRequest = Shapes::StructureShape.new(name: 'DescribeFunctionRequest')
116
+ DescribeFunctionResult = Shapes::StructureShape.new(name: 'DescribeFunctionResult')
108
117
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
109
118
  DistributionAlreadyExists = Shapes::StructureShape.new(name: 'DistributionAlreadyExists')
110
119
  DistributionConfig = Shapes::StructureShape.new(name: 'DistributionConfig')
@@ -141,6 +150,24 @@ module Aws::CloudFront
141
150
  FieldPatterns = Shapes::StructureShape.new(name: 'FieldPatterns')
142
151
  Format = Shapes::StringShape.new(name: 'Format')
143
152
  ForwardedValues = Shapes::StructureShape.new(name: 'ForwardedValues')
153
+ FunctionARN = Shapes::StringShape.new(name: 'FunctionARN')
154
+ FunctionAlreadyExists = Shapes::StructureShape.new(name: 'FunctionAlreadyExists')
155
+ FunctionAssociation = Shapes::StructureShape.new(name: 'FunctionAssociation')
156
+ FunctionAssociationList = Shapes::ListShape.new(name: 'FunctionAssociationList')
157
+ FunctionAssociations = Shapes::StructureShape.new(name: 'FunctionAssociations')
158
+ FunctionBlob = Shapes::BlobShape.new(name: 'FunctionBlob')
159
+ FunctionConfig = Shapes::StructureShape.new(name: 'FunctionConfig')
160
+ FunctionEventObject = Shapes::BlobShape.new(name: 'FunctionEventObject')
161
+ FunctionExecutionLogList = Shapes::ListShape.new(name: 'FunctionExecutionLogList')
162
+ FunctionInUse = Shapes::StructureShape.new(name: 'FunctionInUse')
163
+ FunctionList = Shapes::StructureShape.new(name: 'FunctionList')
164
+ FunctionMetadata = Shapes::StructureShape.new(name: 'FunctionMetadata')
165
+ FunctionName = Shapes::StringShape.new(name: 'FunctionName')
166
+ FunctionRuntime = Shapes::StringShape.new(name: 'FunctionRuntime')
167
+ FunctionSizeLimitExceeded = Shapes::StructureShape.new(name: 'FunctionSizeLimitExceeded')
168
+ FunctionStage = Shapes::StringShape.new(name: 'FunctionStage')
169
+ FunctionSummary = Shapes::StructureShape.new(name: 'FunctionSummary')
170
+ FunctionSummaryList = Shapes::ListShape.new(name: 'FunctionSummaryList')
144
171
  GeoRestriction = Shapes::StructureShape.new(name: 'GeoRestriction')
145
172
  GeoRestrictionType = Shapes::StringShape.new(name: 'GeoRestrictionType')
146
173
  GetCachePolicyConfigRequest = Shapes::StructureShape.new(name: 'GetCachePolicyConfigRequest')
@@ -163,6 +190,8 @@ module Aws::CloudFront
163
190
  GetFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'GetFieldLevelEncryptionProfileResult')
164
191
  GetFieldLevelEncryptionRequest = Shapes::StructureShape.new(name: 'GetFieldLevelEncryptionRequest')
165
192
  GetFieldLevelEncryptionResult = Shapes::StructureShape.new(name: 'GetFieldLevelEncryptionResult')
193
+ GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
194
+ GetFunctionResult = Shapes::StructureShape.new(name: 'GetFunctionResult')
166
195
  GetInvalidationRequest = Shapes::StructureShape.new(name: 'GetInvalidationRequest')
167
196
  GetInvalidationResult = Shapes::StructureShape.new(name: 'GetInvalidationResult')
168
197
  GetKeyGroupConfigRequest = Shapes::StructureShape.new(name: 'GetKeyGroupConfigRequest')
@@ -197,6 +226,7 @@ module Aws::CloudFront
197
226
  InvalidDefaultRootObject = Shapes::StructureShape.new(name: 'InvalidDefaultRootObject')
198
227
  InvalidErrorCode = Shapes::StructureShape.new(name: 'InvalidErrorCode')
199
228
  InvalidForwardCookies = Shapes::StructureShape.new(name: 'InvalidForwardCookies')
229
+ InvalidFunctionAssociation = Shapes::StructureShape.new(name: 'InvalidFunctionAssociation')
200
230
  InvalidGeoRestrictionParameter = Shapes::StructureShape.new(name: 'InvalidGeoRestrictionParameter')
201
231
  InvalidHeadersForS3Origin = Shapes::StructureShape.new(name: 'InvalidHeadersForS3Origin')
202
232
  InvalidIfMatchVersion = Shapes::StructureShape.new(name: 'InvalidIfMatchVersion')
@@ -241,6 +271,8 @@ module Aws::CloudFront
241
271
  ListCachePoliciesResult = Shapes::StructureShape.new(name: 'ListCachePoliciesResult')
242
272
  ListCloudFrontOriginAccessIdentitiesRequest = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesRequest')
243
273
  ListCloudFrontOriginAccessIdentitiesResult = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesResult')
274
+ ListConflictingAliasesRequest = Shapes::StructureShape.new(name: 'ListConflictingAliasesRequest')
275
+ ListConflictingAliasesResult = Shapes::StructureShape.new(name: 'ListConflictingAliasesResult')
244
276
  ListDistributionsByCachePolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdRequest')
245
277
  ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
246
278
  ListDistributionsByKeyGroupRequest = Shapes::StructureShape.new(name: 'ListDistributionsByKeyGroupRequest')
@@ -257,6 +289,8 @@ module Aws::CloudFront
257
289
  ListFieldLevelEncryptionConfigsResult = Shapes::StructureShape.new(name: 'ListFieldLevelEncryptionConfigsResult')
258
290
  ListFieldLevelEncryptionProfilesRequest = Shapes::StructureShape.new(name: 'ListFieldLevelEncryptionProfilesRequest')
259
291
  ListFieldLevelEncryptionProfilesResult = Shapes::StructureShape.new(name: 'ListFieldLevelEncryptionProfilesResult')
292
+ ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
293
+ ListFunctionsResult = Shapes::StructureShape.new(name: 'ListFunctionsResult')
260
294
  ListInvalidationsRequest = Shapes::StructureShape.new(name: 'ListInvalidationsRequest')
261
295
  ListInvalidationsResult = Shapes::StructureShape.new(name: 'ListInvalidationsResult')
262
296
  ListKeyGroupsRequest = Shapes::StructureShape.new(name: 'ListKeyGroupsRequest')
@@ -283,6 +317,7 @@ module Aws::CloudFront
283
317
  NoSuchDistribution = Shapes::StructureShape.new(name: 'NoSuchDistribution')
284
318
  NoSuchFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionConfig')
285
319
  NoSuchFieldLevelEncryptionProfile = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionProfile')
320
+ NoSuchFunctionExists = Shapes::StructureShape.new(name: 'NoSuchFunctionExists')
286
321
  NoSuchInvalidation = Shapes::StructureShape.new(name: 'NoSuchInvalidation')
287
322
  NoSuchOrigin = Shapes::StructureShape.new(name: 'NoSuchOrigin')
288
323
  NoSuchOriginRequestPolicy = Shapes::StructureShape.new(name: 'NoSuchOriginRequestPolicy')
@@ -333,6 +368,8 @@ module Aws::CloudFront
333
368
  PublicKeyList = Shapes::StructureShape.new(name: 'PublicKeyList')
334
369
  PublicKeySummary = Shapes::StructureShape.new(name: 'PublicKeySummary')
335
370
  PublicKeySummaryList = Shapes::ListShape.new(name: 'PublicKeySummaryList')
371
+ PublishFunctionRequest = Shapes::StructureShape.new(name: 'PublishFunctionRequest')
372
+ PublishFunctionResult = Shapes::StructureShape.new(name: 'PublishFunctionResult')
336
373
  QueryArgProfile = Shapes::StructureShape.new(name: 'QueryArgProfile')
337
374
  QueryArgProfileConfig = Shapes::StructureShape.new(name: 'QueryArgProfileConfig')
338
375
  QueryArgProfileEmpty = Shapes::StructureShape.new(name: 'QueryArgProfileEmpty')
@@ -346,6 +383,7 @@ module Aws::CloudFront
346
383
  RealtimeLogConfigAlreadyExists = Shapes::StructureShape.new(name: 'RealtimeLogConfigAlreadyExists')
347
384
  RealtimeLogConfigInUse = Shapes::StructureShape.new(name: 'RealtimeLogConfigInUse')
348
385
  RealtimeLogConfigList = Shapes::ListShape.new(name: 'RealtimeLogConfigList')
386
+ RealtimeLogConfigOwnerMismatch = Shapes::StructureShape.new(name: 'RealtimeLogConfigOwnerMismatch')
349
387
  RealtimeLogConfigs = Shapes::StructureShape.new(name: 'RealtimeLogConfigs')
350
388
  RealtimeMetricsSubscriptionConfig = Shapes::StructureShape.new(name: 'RealtimeMetricsSubscriptionConfig')
351
389
  RealtimeMetricsSubscriptionStatus = Shapes::StringShape.new(name: 'RealtimeMetricsSubscriptionStatus')
@@ -378,6 +416,10 @@ module Aws::CloudFront
378
416
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
379
417
  TagValue = Shapes::StringShape.new(name: 'TagValue')
380
418
  Tags = Shapes::StructureShape.new(name: 'Tags')
419
+ TestFunctionFailed = Shapes::StructureShape.new(name: 'TestFunctionFailed')
420
+ TestFunctionRequest = Shapes::StructureShape.new(name: 'TestFunctionRequest')
421
+ TestFunctionResult = Shapes::StructureShape.new(name: 'TestFunctionResult')
422
+ TestResult = Shapes::StructureShape.new(name: 'TestResult')
381
423
  TooManyCacheBehaviors = Shapes::StructureShape.new(name: 'TooManyCacheBehaviors')
382
424
  TooManyCachePolicies = Shapes::StructureShape.new(name: 'TooManyCachePolicies')
383
425
  TooManyCertificates = Shapes::StructureShape.new(name: 'TooManyCertificates')
@@ -391,6 +433,7 @@ module Aws::CloudFront
391
433
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToFieldLevelEncryptionConfig')
392
434
  TooManyDistributionsAssociatedToKeyGroup = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToKeyGroup')
393
435
  TooManyDistributionsAssociatedToOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginRequestPolicy')
436
+ TooManyDistributionsWithFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithFunctionAssociations')
394
437
  TooManyDistributionsWithLambdaAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithLambdaAssociations')
395
438
  TooManyDistributionsWithSingleFunctionARN = Shapes::StructureShape.new(name: 'TooManyDistributionsWithSingleFunctionARN')
396
439
  TooManyFieldLevelEncryptionConfigs = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionConfigs')
@@ -399,6 +442,8 @@ module Aws::CloudFront
399
442
  TooManyFieldLevelEncryptionFieldPatterns = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionFieldPatterns')
400
443
  TooManyFieldLevelEncryptionProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionProfiles')
401
444
  TooManyFieldLevelEncryptionQueryArgProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionQueryArgProfiles')
445
+ TooManyFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyFunctionAssociations')
446
+ TooManyFunctions = Shapes::StructureShape.new(name: 'TooManyFunctions')
402
447
  TooManyHeadersInCachePolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInCachePolicy')
403
448
  TooManyHeadersInForwardedValues = Shapes::StructureShape.new(name: 'TooManyHeadersInForwardedValues')
404
449
  TooManyHeadersInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInOriginRequestPolicy')
@@ -424,6 +469,7 @@ module Aws::CloudFront
424
469
  TrustedKeyGroups = Shapes::StructureShape.new(name: 'TrustedKeyGroups')
425
470
  TrustedSignerDoesNotExist = Shapes::StructureShape.new(name: 'TrustedSignerDoesNotExist')
426
471
  TrustedSigners = Shapes::StructureShape.new(name: 'TrustedSigners')
472
+ UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
427
473
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
428
474
  UpdateCachePolicyRequest = Shapes::StructureShape.new(name: 'UpdateCachePolicyRequest')
429
475
  UpdateCachePolicyResult = Shapes::StructureShape.new(name: 'UpdateCachePolicyResult')
@@ -435,6 +481,8 @@ module Aws::CloudFront
435
481
  UpdateFieldLevelEncryptionConfigResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionConfigResult')
436
482
  UpdateFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileRequest')
437
483
  UpdateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileResult')
484
+ UpdateFunctionRequest = Shapes::StructureShape.new(name: 'UpdateFunctionRequest')
485
+ UpdateFunctionResult = Shapes::StructureShape.new(name: 'UpdateFunctionResult')
438
486
  UpdateKeyGroupRequest = Shapes::StructureShape.new(name: 'UpdateKeyGroupRequest')
439
487
  UpdateKeyGroupResult = Shapes::StructureShape.new(name: 'UpdateKeyGroupResult')
440
488
  UpdateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyRequest')
@@ -447,8 +495,11 @@ module Aws::CloudFront
447
495
  UpdateStreamingDistributionResult = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionResult')
448
496
  ViewerCertificate = Shapes::StructureShape.new(name: 'ViewerCertificate')
449
497
  ViewerProtocolPolicy = Shapes::StringShape.new(name: 'ViewerProtocolPolicy')
498
+ aliasString = Shapes::StringShape.new(name: 'aliasString')
450
499
  boolean = Shapes::BooleanShape.new(name: 'boolean')
500
+ distributionIdString = Shapes::StringShape.new(name: 'distributionIdString')
451
501
  integer = Shapes::IntegerShape.new(name: 'integer')
502
+ listConflictingAliasesMaxItemsInteger = Shapes::IntegerShape.new(name: 'listConflictingAliasesMaxItemsInteger')
452
503
  long = Shapes::IntegerShape.new(name: 'long')
453
504
  string = Shapes::StringShape.new(name: 'string')
454
505
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
@@ -483,6 +534,10 @@ module Aws::CloudFront
483
534
  AllowedMethods.add_member(:cached_methods, Shapes::ShapeRef.new(shape: CachedMethods, location_name: "CachedMethods"))
484
535
  AllowedMethods.struct_class = Types::AllowedMethods
485
536
 
537
+ AssociateAliasRequest.add_member(:target_distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "TargetDistributionId"))
538
+ AssociateAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: string, required: true, location: "querystring", location_name: "Alias"))
539
+ AssociateAliasRequest.struct_class = Types::AssociateAliasRequest
540
+
486
541
  AwsAccountNumberList.member = Shapes::ShapeRef.new(shape: string, location_name: "AwsAccountNumber")
487
542
 
488
543
  BatchTooLarge.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
@@ -500,6 +555,7 @@ module Aws::CloudFront
500
555
  CacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
501
556
  CacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
502
557
  CacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
558
+ CacheBehavior.add_member(:function_associations, Shapes::ShapeRef.new(shape: FunctionAssociations, location_name: "FunctionAssociations"))
503
559
  CacheBehavior.add_member(:field_level_encryption_id, Shapes::ShapeRef.new(shape: string, location_name: "FieldLevelEncryptionId"))
504
560
  CacheBehavior.add_member(:realtime_log_config_arn, Shapes::ShapeRef.new(shape: string, location_name: "RealtimeLogConfigArn"))
505
561
  CacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
@@ -596,6 +652,19 @@ module Aws::CloudFront
596
652
 
597
653
  CloudFrontOriginAccessIdentitySummaryList.member = Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentitySummary, location_name: "CloudFrontOriginAccessIdentitySummary")
598
654
 
655
+ ConflictingAlias.add_member(:alias, Shapes::ShapeRef.new(shape: string, location_name: "Alias"))
656
+ ConflictingAlias.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, location_name: "DistributionId"))
657
+ ConflictingAlias.add_member(:account_id, Shapes::ShapeRef.new(shape: string, location_name: "AccountId"))
658
+ ConflictingAlias.struct_class = Types::ConflictingAlias
659
+
660
+ ConflictingAliases.member = Shapes::ShapeRef.new(shape: ConflictingAlias, location_name: "ConflictingAlias")
661
+
662
+ ConflictingAliasesList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
663
+ ConflictingAliasesList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location_name: "MaxItems"))
664
+ ConflictingAliasesList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, location_name: "Quantity"))
665
+ ConflictingAliasesList.add_member(:items, Shapes::ShapeRef.new(shape: ConflictingAliases, location_name: "Items"))
666
+ ConflictingAliasesList.struct_class = Types::ConflictingAliasesList
667
+
599
668
  ContentTypeProfile.add_member(:format, Shapes::ShapeRef.new(shape: Format, required: true, location_name: "Format"))
600
669
  ContentTypeProfile.add_member(:profile_id, Shapes::ShapeRef.new(shape: string, location_name: "ProfileId"))
601
670
  ContentTypeProfile.add_member(:content_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ContentType"))
@@ -693,6 +762,18 @@ module Aws::CloudFront
693
762
  CreateFieldLevelEncryptionProfileResult[:payload] = :field_level_encryption_profile
694
763
  CreateFieldLevelEncryptionProfileResult[:payload_member] = CreateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
695
764
 
765
+ CreateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "Name"))
766
+ CreateFunctionRequest.add_member(:function_config, Shapes::ShapeRef.new(shape: FunctionConfig, required: true, location_name: "FunctionConfig"))
767
+ CreateFunctionRequest.add_member(:function_code, Shapes::ShapeRef.new(shape: FunctionBlob, required: true, location_name: "FunctionCode"))
768
+ CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
769
+
770
+ CreateFunctionResult.add_member(:function_summary, Shapes::ShapeRef.new(shape: FunctionSummary, location_name: "FunctionSummary"))
771
+ CreateFunctionResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
772
+ CreateFunctionResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
773
+ CreateFunctionResult.struct_class = Types::CreateFunctionResult
774
+ CreateFunctionResult[:payload] = :function_summary
775
+ CreateFunctionResult[:payload_member] = CreateFunctionResult.member(:function_summary)
776
+
696
777
  CreateInvalidationRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
697
778
  CreateInvalidationRequest.add_member(:invalidation_batch, Shapes::ShapeRef.new(shape: InvalidationBatch, required: true, location_name: "InvalidationBatch", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
698
779
  CreateInvalidationRequest.struct_class = Types::CreateInvalidationRequest
@@ -817,6 +898,7 @@ module Aws::CloudFront
817
898
  DefaultCacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
818
899
  DefaultCacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
819
900
  DefaultCacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
901
+ DefaultCacheBehavior.add_member(:function_associations, Shapes::ShapeRef.new(shape: FunctionAssociations, location_name: "FunctionAssociations"))
820
902
  DefaultCacheBehavior.add_member(:field_level_encryption_id, Shapes::ShapeRef.new(shape: string, location_name: "FieldLevelEncryptionId"))
821
903
  DefaultCacheBehavior.add_member(:realtime_log_config_arn, Shapes::ShapeRef.new(shape: string, location_name: "RealtimeLogConfigArn"))
822
904
  DefaultCacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
@@ -847,6 +929,10 @@ module Aws::CloudFront
847
929
  DeleteFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
848
930
  DeleteFieldLevelEncryptionProfileRequest.struct_class = Types::DeleteFieldLevelEncryptionProfileRequest
849
931
 
932
+ DeleteFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
933
+ DeleteFunctionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
934
+ DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
935
+
850
936
  DeleteKeyGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
851
937
  DeleteKeyGroupRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
852
938
  DeleteKeyGroupRequest.struct_class = Types::DeleteKeyGroupRequest
@@ -872,6 +958,16 @@ module Aws::CloudFront
872
958
  DeleteStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
873
959
  DeleteStreamingDistributionRequest.struct_class = Types::DeleteStreamingDistributionRequest
874
960
 
961
+ DescribeFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
962
+ DescribeFunctionRequest.add_member(:stage, Shapes::ShapeRef.new(shape: FunctionStage, location: "querystring", location_name: "Stage"))
963
+ DescribeFunctionRequest.struct_class = Types::DescribeFunctionRequest
964
+
965
+ DescribeFunctionResult.add_member(:function_summary, Shapes::ShapeRef.new(shape: FunctionSummary, location_name: "FunctionSummary"))
966
+ DescribeFunctionResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
967
+ DescribeFunctionResult.struct_class = Types::DescribeFunctionResult
968
+ DescribeFunctionResult[:payload] = :function_summary
969
+ DescribeFunctionResult[:payload_member] = DescribeFunctionResult.member(:function_summary)
970
+
875
971
  Distribution.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
876
972
  Distribution.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ARN"))
877
973
  Distribution.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
@@ -1053,6 +1149,51 @@ module Aws::CloudFront
1053
1149
  ForwardedValues.add_member(:query_string_cache_keys, Shapes::ShapeRef.new(shape: QueryStringCacheKeys, location_name: "QueryStringCacheKeys"))
1054
1150
  ForwardedValues.struct_class = Types::ForwardedValues
1055
1151
 
1152
+ FunctionAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1153
+ FunctionAlreadyExists.struct_class = Types::FunctionAlreadyExists
1154
+
1155
+ FunctionAssociation.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionARN, required: true, location_name: "FunctionARN"))
1156
+ FunctionAssociation.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "EventType"))
1157
+ FunctionAssociation.struct_class = Types::FunctionAssociation
1158
+
1159
+ FunctionAssociationList.member = Shapes::ShapeRef.new(shape: FunctionAssociation, location_name: "FunctionAssociation")
1160
+
1161
+ FunctionAssociations.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1162
+ FunctionAssociations.add_member(:items, Shapes::ShapeRef.new(shape: FunctionAssociationList, location_name: "Items"))
1163
+ FunctionAssociations.struct_class = Types::FunctionAssociations
1164
+
1165
+ FunctionConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Comment"))
1166
+ FunctionConfig.add_member(:runtime, Shapes::ShapeRef.new(shape: FunctionRuntime, required: true, location_name: "Runtime"))
1167
+ FunctionConfig.struct_class = Types::FunctionConfig
1168
+
1169
+ FunctionExecutionLogList.member = Shapes::ShapeRef.new(shape: string)
1170
+
1171
+ FunctionInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1172
+ FunctionInUse.struct_class = Types::FunctionInUse
1173
+
1174
+ FunctionList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
1175
+ FunctionList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
1176
+ FunctionList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1177
+ FunctionList.add_member(:items, Shapes::ShapeRef.new(shape: FunctionSummaryList, location_name: "Items"))
1178
+ FunctionList.struct_class = Types::FunctionList
1179
+
1180
+ FunctionMetadata.add_member(:function_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "FunctionARN"))
1181
+ FunctionMetadata.add_member(:stage, Shapes::ShapeRef.new(shape: FunctionStage, location_name: "Stage"))
1182
+ FunctionMetadata.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedTime"))
1183
+ FunctionMetadata.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
1184
+ FunctionMetadata.struct_class = Types::FunctionMetadata
1185
+
1186
+ FunctionSizeLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1187
+ FunctionSizeLimitExceeded.struct_class = Types::FunctionSizeLimitExceeded
1188
+
1189
+ FunctionSummary.add_member(:name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "Name"))
1190
+ FunctionSummary.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "Status"))
1191
+ FunctionSummary.add_member(:function_config, Shapes::ShapeRef.new(shape: FunctionConfig, required: true, location_name: "FunctionConfig"))
1192
+ FunctionSummary.add_member(:function_metadata, Shapes::ShapeRef.new(shape: FunctionMetadata, required: true, location_name: "FunctionMetadata"))
1193
+ FunctionSummary.struct_class = Types::FunctionSummary
1194
+
1195
+ FunctionSummaryList.member = Shapes::ShapeRef.new(shape: FunctionSummary, location_name: "FunctionSummary")
1196
+
1056
1197
  GeoRestriction.add_member(:restriction_type, Shapes::ShapeRef.new(shape: GeoRestrictionType, required: true, location_name: "RestrictionType"))
1057
1198
  GeoRestriction.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1058
1199
  GeoRestriction.add_member(:items, Shapes::ShapeRef.new(shape: LocationList, location_name: "Items"))
@@ -1148,6 +1289,17 @@ module Aws::CloudFront
1148
1289
  GetFieldLevelEncryptionResult[:payload] = :field_level_encryption
1149
1290
  GetFieldLevelEncryptionResult[:payload_member] = GetFieldLevelEncryptionResult.member(:field_level_encryption)
1150
1291
 
1292
+ GetFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
1293
+ GetFunctionRequest.add_member(:stage, Shapes::ShapeRef.new(shape: FunctionStage, location: "querystring", location_name: "Stage"))
1294
+ GetFunctionRequest.struct_class = Types::GetFunctionRequest
1295
+
1296
+ GetFunctionResult.add_member(:function_code, Shapes::ShapeRef.new(shape: FunctionBlob, location_name: "FunctionCode"))
1297
+ GetFunctionResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1298
+ GetFunctionResult.add_member(:content_type, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Content-Type"))
1299
+ GetFunctionResult.struct_class = Types::GetFunctionResult
1300
+ GetFunctionResult[:payload] = :function_code
1301
+ GetFunctionResult[:payload_member] = GetFunctionResult.member(:function_code)
1302
+
1151
1303
  GetInvalidationRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
1152
1304
  GetInvalidationRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1153
1305
  GetInvalidationRequest.struct_class = Types::GetInvalidationRequest
@@ -1274,6 +1426,9 @@ module Aws::CloudFront
1274
1426
  InvalidForwardCookies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1275
1427
  InvalidForwardCookies.struct_class = Types::InvalidForwardCookies
1276
1428
 
1429
+ InvalidFunctionAssociation.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1430
+ InvalidFunctionAssociation.struct_class = Types::InvalidFunctionAssociation
1431
+
1277
1432
  InvalidGeoRestrictionParameter.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1278
1433
  InvalidGeoRestrictionParameter.struct_class = Types::InvalidGeoRestrictionParameter
1279
1434
 
@@ -1426,6 +1581,17 @@ module Aws::CloudFront
1426
1581
  ListCloudFrontOriginAccessIdentitiesResult[:payload] = :cloud_front_origin_access_identity_list
1427
1582
  ListCloudFrontOriginAccessIdentitiesResult[:payload_member] = ListCloudFrontOriginAccessIdentitiesResult.member(:cloud_front_origin_access_identity_list)
1428
1583
 
1584
+ ListConflictingAliasesRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: distributionIdString, required: true, location: "querystring", location_name: "DistributionId"))
1585
+ ListConflictingAliasesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: aliasString, required: true, location: "querystring", location_name: "Alias"))
1586
+ ListConflictingAliasesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1587
+ ListConflictingAliasesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1588
+ ListConflictingAliasesRequest.struct_class = Types::ListConflictingAliasesRequest
1589
+
1590
+ ListConflictingAliasesResult.add_member(:conflicting_aliases_list, Shapes::ShapeRef.new(shape: ConflictingAliasesList, location_name: "ConflictingAliasesList"))
1591
+ ListConflictingAliasesResult.struct_class = Types::ListConflictingAliasesResult
1592
+ ListConflictingAliasesResult[:payload] = :conflicting_aliases_list
1593
+ ListConflictingAliasesResult[:payload_member] = ListConflictingAliasesResult.member(:conflicting_aliases_list)
1594
+
1429
1595
  ListDistributionsByCachePolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1430
1596
  ListDistributionsByCachePolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1431
1597
  ListDistributionsByCachePolicyIdRequest.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "CachePolicyId"))
@@ -1504,6 +1670,16 @@ module Aws::CloudFront
1504
1670
  ListFieldLevelEncryptionProfilesResult[:payload] = :field_level_encryption_profile_list
1505
1671
  ListFieldLevelEncryptionProfilesResult[:payload_member] = ListFieldLevelEncryptionProfilesResult.member(:field_level_encryption_profile_list)
1506
1672
 
1673
+ ListFunctionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1674
+ ListFunctionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1675
+ ListFunctionsRequest.add_member(:stage, Shapes::ShapeRef.new(shape: FunctionStage, location: "querystring", location_name: "Stage"))
1676
+ ListFunctionsRequest.struct_class = Types::ListFunctionsRequest
1677
+
1678
+ ListFunctionsResult.add_member(:function_list, Shapes::ShapeRef.new(shape: FunctionList, location_name: "FunctionList"))
1679
+ ListFunctionsResult.struct_class = Types::ListFunctionsResult
1680
+ ListFunctionsResult[:payload] = :function_list
1681
+ ListFunctionsResult[:payload_member] = ListFunctionsResult.member(:function_list)
1682
+
1507
1683
  ListInvalidationsRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
1508
1684
  ListInvalidationsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1509
1685
  ListInvalidationsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
@@ -1599,6 +1775,9 @@ module Aws::CloudFront
1599
1775
  NoSuchFieldLevelEncryptionProfile.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1600
1776
  NoSuchFieldLevelEncryptionProfile.struct_class = Types::NoSuchFieldLevelEncryptionProfile
1601
1777
 
1778
+ NoSuchFunctionExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1779
+ NoSuchFunctionExists.struct_class = Types::NoSuchFunctionExists
1780
+
1602
1781
  NoSuchInvalidation.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1603
1782
  NoSuchInvalidation.struct_class = Types::NoSuchInvalidation
1604
1783
 
@@ -1766,6 +1945,15 @@ module Aws::CloudFront
1766
1945
 
1767
1946
  PublicKeySummaryList.member = Shapes::ShapeRef.new(shape: PublicKeySummary, location_name: "PublicKeySummary")
1768
1947
 
1948
+ PublishFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
1949
+ PublishFunctionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
1950
+ PublishFunctionRequest.struct_class = Types::PublishFunctionRequest
1951
+
1952
+ PublishFunctionResult.add_member(:function_summary, Shapes::ShapeRef.new(shape: FunctionSummary, location_name: "FunctionSummary"))
1953
+ PublishFunctionResult.struct_class = Types::PublishFunctionResult
1954
+ PublishFunctionResult[:payload] = :function_summary
1955
+ PublishFunctionResult[:payload_member] = PublishFunctionResult.member(:function_summary)
1956
+
1769
1957
  QueryArgProfile.add_member(:query_arg, Shapes::ShapeRef.new(shape: string, required: true, location_name: "QueryArg"))
1770
1958
  QueryArgProfile.add_member(:profile_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ProfileId"))
1771
1959
  QueryArgProfile.struct_class = Types::QueryArgProfile
@@ -1810,6 +1998,9 @@ module Aws::CloudFront
1810
1998
 
1811
1999
  RealtimeLogConfigList.member = Shapes::ShapeRef.new(shape: RealtimeLogConfig)
1812
2000
 
2001
+ RealtimeLogConfigOwnerMismatch.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2002
+ RealtimeLogConfigOwnerMismatch.struct_class = Types::RealtimeLogConfigOwnerMismatch
2003
+
1813
2004
  RealtimeLogConfigs.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
1814
2005
  RealtimeLogConfigs.add_member(:items, Shapes::ShapeRef.new(shape: RealtimeLogConfigList, location_name: "Items"))
1815
2006
  RealtimeLogConfigs.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
@@ -1924,6 +2115,27 @@ module Aws::CloudFront
1924
2115
  Tags.add_member(:items, Shapes::ShapeRef.new(shape: TagList, location_name: "Items"))
1925
2116
  Tags.struct_class = Types::Tags
1926
2117
 
2118
+ TestFunctionFailed.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2119
+ TestFunctionFailed.struct_class = Types::TestFunctionFailed
2120
+
2121
+ TestFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
2122
+ TestFunctionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
2123
+ TestFunctionRequest.add_member(:stage, Shapes::ShapeRef.new(shape: FunctionStage, location_name: "Stage"))
2124
+ TestFunctionRequest.add_member(:event_object, Shapes::ShapeRef.new(shape: FunctionEventObject, required: true, location_name: "EventObject"))
2125
+ TestFunctionRequest.struct_class = Types::TestFunctionRequest
2126
+
2127
+ TestFunctionResult.add_member(:test_result, Shapes::ShapeRef.new(shape: TestResult, location_name: "TestResult"))
2128
+ TestFunctionResult.struct_class = Types::TestFunctionResult
2129
+ TestFunctionResult[:payload] = :test_result
2130
+ TestFunctionResult[:payload_member] = TestFunctionResult.member(:test_result)
2131
+
2132
+ TestResult.add_member(:function_summary, Shapes::ShapeRef.new(shape: FunctionSummary, location_name: "FunctionSummary"))
2133
+ TestResult.add_member(:compute_utilization, Shapes::ShapeRef.new(shape: string, location_name: "ComputeUtilization"))
2134
+ TestResult.add_member(:function_execution_logs, Shapes::ShapeRef.new(shape: FunctionExecutionLogList, location_name: "FunctionExecutionLogs"))
2135
+ TestResult.add_member(:function_error_message, Shapes::ShapeRef.new(shape: string, location_name: "FunctionErrorMessage"))
2136
+ TestResult.add_member(:function_output, Shapes::ShapeRef.new(shape: string, location_name: "FunctionOutput"))
2137
+ TestResult.struct_class = Types::TestResult
2138
+
1927
2139
  TooManyCacheBehaviors.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1928
2140
  TooManyCacheBehaviors.struct_class = Types::TooManyCacheBehaviors
1929
2141
 
@@ -1963,6 +2175,9 @@ module Aws::CloudFront
1963
2175
  TooManyDistributionsAssociatedToOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1964
2176
  TooManyDistributionsAssociatedToOriginRequestPolicy.struct_class = Types::TooManyDistributionsAssociatedToOriginRequestPolicy
1965
2177
 
2178
+ TooManyDistributionsWithFunctionAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2179
+ TooManyDistributionsWithFunctionAssociations.struct_class = Types::TooManyDistributionsWithFunctionAssociations
2180
+
1966
2181
  TooManyDistributionsWithLambdaAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1967
2182
  TooManyDistributionsWithLambdaAssociations.struct_class = Types::TooManyDistributionsWithLambdaAssociations
1968
2183
 
@@ -1987,6 +2202,12 @@ module Aws::CloudFront
1987
2202
  TooManyFieldLevelEncryptionQueryArgProfiles.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1988
2203
  TooManyFieldLevelEncryptionQueryArgProfiles.struct_class = Types::TooManyFieldLevelEncryptionQueryArgProfiles
1989
2204
 
2205
+ TooManyFunctionAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2206
+ TooManyFunctionAssociations.struct_class = Types::TooManyFunctionAssociations
2207
+
2208
+ TooManyFunctions.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2209
+ TooManyFunctions.struct_class = Types::TooManyFunctions
2210
+
1990
2211
  TooManyHeadersInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1991
2212
  TooManyHeadersInCachePolicy.struct_class = Types::TooManyHeadersInCachePolicy
1992
2213
 
@@ -2065,6 +2286,9 @@ module Aws::CloudFront
2065
2286
  TrustedSigners.add_member(:items, Shapes::ShapeRef.new(shape: AwsAccountNumberList, location_name: "Items"))
2066
2287
  TrustedSigners.struct_class = Types::TrustedSigners
2067
2288
 
2289
+ UnsupportedOperation.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2290
+ UnsupportedOperation.struct_class = Types::UnsupportedOperation
2291
+
2068
2292
  UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "Resource"))
2069
2293
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
2070
2294
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -2136,6 +2360,18 @@ module Aws::CloudFront
2136
2360
  UpdateFieldLevelEncryptionProfileResult[:payload] = :field_level_encryption_profile
2137
2361
  UpdateFieldLevelEncryptionProfileResult[:payload_member] = UpdateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
2138
2362
 
2363
+ UpdateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
2364
+ UpdateFunctionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
2365
+ UpdateFunctionRequest.add_member(:function_config, Shapes::ShapeRef.new(shape: FunctionConfig, required: true, location_name: "FunctionConfig"))
2366
+ UpdateFunctionRequest.add_member(:function_code, Shapes::ShapeRef.new(shape: FunctionBlob, required: true, location_name: "FunctionCode"))
2367
+ UpdateFunctionRequest.struct_class = Types::UpdateFunctionRequest
2368
+
2369
+ UpdateFunctionResult.add_member(:function_summary, Shapes::ShapeRef.new(shape: FunctionSummary, location_name: "FunctionSummary"))
2370
+ UpdateFunctionResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETtag"))
2371
+ UpdateFunctionResult.struct_class = Types::UpdateFunctionResult
2372
+ UpdateFunctionResult[:payload] = :function_summary
2373
+ UpdateFunctionResult[:payload_member] = UpdateFunctionResult.member(:function_summary)
2374
+
2139
2375
  UpdateKeyGroupRequest.add_member(:key_group_config, Shapes::ShapeRef.new(shape: KeyGroupConfig, required: true, location_name: "KeyGroupConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
2140
2376
  UpdateKeyGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
2141
2377
  UpdateKeyGroupRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
@@ -2225,6 +2461,19 @@ module Aws::CloudFront
2225
2461
  "uid" => "cloudfront-2020-05-31",
2226
2462
  }
2227
2463
 
2464
+ api.add_operation(:associate_alias, Seahorse::Model::Operation.new.tap do |o|
2465
+ o.name = "AssociateAlias2020_05_31"
2466
+ o.http_method = "PUT"
2467
+ o.http_request_uri = "/2020-05-31/distribution/{TargetDistributionId}/associate-alias"
2468
+ o.input = Shapes::ShapeRef.new(shape: AssociateAliasRequest)
2469
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2470
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2471
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2472
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
2473
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
2474
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2475
+ end)
2476
+
2228
2477
  api.add_operation(:create_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2229
2478
  o.name = "CreateCachePolicy2020_05_31"
2230
2479
  o.http_method = "POST"
@@ -2300,6 +2549,9 @@ module Aws::CloudFront
2300
2549
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
2301
2550
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
2302
2551
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
2552
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
2553
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
2554
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
2303
2555
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
2304
2556
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
2305
2557
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
@@ -2312,6 +2564,8 @@ module Aws::CloudFront
2312
2564
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
2313
2565
  o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
2314
2566
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
2567
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2568
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
2315
2569
  end)
2316
2570
 
2317
2571
  api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -2361,6 +2615,9 @@ module Aws::CloudFront
2361
2615
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
2362
2616
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
2363
2617
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
2618
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
2619
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
2620
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
2364
2621
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
2365
2622
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
2366
2623
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
@@ -2373,6 +2630,8 @@ module Aws::CloudFront
2373
2630
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
2374
2631
  o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
2375
2632
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
2633
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2634
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
2376
2635
  end)
2377
2636
 
2378
2637
  api.add_operation(:create_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2407,6 +2666,24 @@ module Aws::CloudFront
2407
2666
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
2408
2667
  end)
2409
2668
 
2669
+ api.add_operation(:create_function, Seahorse::Model::Operation.new.tap do |o|
2670
+ o.name = "CreateFunction2020_05_31"
2671
+ o.http_method = "POST"
2672
+ o.http_request_uri = "/2020-05-31/function"
2673
+ o.input = Shapes::ShapeRef.new(shape: CreateFunctionRequest,
2674
+ location_name: "CreateFunctionRequest",
2675
+ metadata: {
2676
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
2677
+ }
2678
+ )
2679
+ o.output = Shapes::ShapeRef.new(shape: CreateFunctionResult)
2680
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctions)
2681
+ o.errors << Shapes::ShapeRef.new(shape: FunctionAlreadyExists)
2682
+ o.errors << Shapes::ShapeRef.new(shape: FunctionSizeLimitExceeded)
2683
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2684
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
2685
+ end)
2686
+
2410
2687
  api.add_operation(:create_invalidation, Seahorse::Model::Operation.new.tap do |o|
2411
2688
  o.name = "CreateInvalidation2020_05_31"
2412
2689
  o.http_method = "POST"
@@ -2442,6 +2719,7 @@ module Aws::CloudFront
2442
2719
  o.output = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionResult)
2443
2720
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2444
2721
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2722
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
2445
2723
  end)
2446
2724
 
2447
2725
  api.add_operation(:create_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -2595,6 +2873,19 @@ module Aws::CloudFront
2595
2873
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileInUse)
2596
2874
  end)
2597
2875
 
2876
+ api.add_operation(:delete_function, Seahorse::Model::Operation.new.tap do |o|
2877
+ o.name = "DeleteFunction2020_05_31"
2878
+ o.http_method = "DELETE"
2879
+ o.http_request_uri = "/2020-05-31/function/{Name}"
2880
+ o.input = Shapes::ShapeRef.new(shape: DeleteFunctionRequest)
2881
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2882
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2883
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
2884
+ o.errors << Shapes::ShapeRef.new(shape: FunctionInUse)
2885
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2886
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
2887
+ end)
2888
+
2598
2889
  api.add_operation(:delete_key_group, Seahorse::Model::Operation.new.tap do |o|
2599
2890
  o.name = "DeleteKeyGroup2020_05_31"
2600
2891
  o.http_method = "DELETE"
@@ -2615,6 +2906,7 @@ module Aws::CloudFront
2615
2906
  o.output = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionResult)
2616
2907
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2617
2908
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2909
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
2618
2910
  end)
2619
2911
 
2620
2912
  api.add_operation(:delete_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -2674,6 +2966,16 @@ module Aws::CloudFront
2674
2966
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2675
2967
  end)
2676
2968
 
2969
+ api.add_operation(:describe_function, Seahorse::Model::Operation.new.tap do |o|
2970
+ o.name = "DescribeFunction2020_05_31"
2971
+ o.http_method = "GET"
2972
+ o.http_request_uri = "/2020-05-31/function/{Name}/describe"
2973
+ o.input = Shapes::ShapeRef.new(shape: DescribeFunctionRequest)
2974
+ o.output = Shapes::ShapeRef.new(shape: DescribeFunctionResult)
2975
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
2976
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
2977
+ end)
2978
+
2677
2979
  api.add_operation(:get_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2678
2980
  o.name = "GetCachePolicy2020_05_31"
2679
2981
  o.http_method = "GET"
@@ -2774,6 +3076,16 @@ module Aws::CloudFront
2774
3076
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionProfile)
2775
3077
  end)
2776
3078
 
3079
+ api.add_operation(:get_function, Seahorse::Model::Operation.new.tap do |o|
3080
+ o.name = "GetFunction2020_05_31"
3081
+ o.http_method = "GET"
3082
+ o.http_request_uri = "/2020-05-31/function/{Name}"
3083
+ o.input = Shapes::ShapeRef.new(shape: GetFunctionRequest)
3084
+ o.output = Shapes::ShapeRef.new(shape: GetFunctionResult)
3085
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
3086
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3087
+ end)
3088
+
2777
3089
  api.add_operation(:get_invalidation, Seahorse::Model::Operation.new.tap do |o|
2778
3090
  o.name = "GetInvalidation2020_05_31"
2779
3091
  o.http_method = "GET"
@@ -2811,6 +3123,7 @@ module Aws::CloudFront
2811
3123
  o.output = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionResult)
2812
3124
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2813
3125
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3126
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
2814
3127
  end)
2815
3128
 
2816
3129
  api.add_operation(:get_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -2916,6 +3229,16 @@ module Aws::CloudFront
2916
3229
  )
2917
3230
  end)
2918
3231
 
3232
+ api.add_operation(:list_conflicting_aliases, Seahorse::Model::Operation.new.tap do |o|
3233
+ o.name = "ListConflictingAliases2020_05_31"
3234
+ o.http_method = "GET"
3235
+ o.http_request_uri = "/2020-05-31/conflicting-alias"
3236
+ o.input = Shapes::ShapeRef.new(shape: ListConflictingAliasesRequest)
3237
+ o.output = Shapes::ShapeRef.new(shape: ListConflictingAliasesResult)
3238
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3239
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3240
+ end)
3241
+
2919
3242
  api.add_operation(:list_distributions, Seahorse::Model::Operation.new.tap do |o|
2920
3243
  o.name = "ListDistributions2020_05_31"
2921
3244
  o.http_method = "GET"
@@ -3006,6 +3329,16 @@ module Aws::CloudFront
3006
3329
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3007
3330
  end)
3008
3331
 
3332
+ api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
3333
+ o.name = "ListFunctions2020_05_31"
3334
+ o.http_method = "GET"
3335
+ o.http_request_uri = "/2020-05-31/function"
3336
+ o.input = Shapes::ShapeRef.new(shape: ListFunctionsRequest)
3337
+ o.output = Shapes::ShapeRef.new(shape: ListFunctionsResult)
3338
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3339
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3340
+ end)
3341
+
3009
3342
  api.add_operation(:list_invalidations, Seahorse::Model::Operation.new.tap do |o|
3010
3343
  o.name = "ListInvalidations2020_05_31"
3011
3344
  o.http_method = "GET"
@@ -3092,6 +3425,19 @@ module Aws::CloudFront
3092
3425
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
3093
3426
  end)
3094
3427
 
3428
+ api.add_operation(:publish_function, Seahorse::Model::Operation.new.tap do |o|
3429
+ o.name = "PublishFunction2020_05_31"
3430
+ o.http_method = "POST"
3431
+ o.http_request_uri = "/2020-05-31/function/{Name}/publish"
3432
+ o.input = Shapes::ShapeRef.new(shape: PublishFunctionRequest)
3433
+ o.output = Shapes::ShapeRef.new(shape: PublishFunctionResult)
3434
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3435
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3436
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
3437
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3438
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3439
+ end)
3440
+
3095
3441
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
3096
3442
  o.name = "TagResource2020_05_31"
3097
3443
  o.http_method = "POST"
@@ -3104,6 +3450,24 @@ module Aws::CloudFront
3104
3450
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
3105
3451
  end)
3106
3452
 
3453
+ api.add_operation(:test_function, Seahorse::Model::Operation.new.tap do |o|
3454
+ o.name = "TestFunction2020_05_31"
3455
+ o.http_method = "POST"
3456
+ o.http_request_uri = "/2020-05-31/function/{Name}/test"
3457
+ o.input = Shapes::ShapeRef.new(shape: TestFunctionRequest,
3458
+ location_name: "TestFunctionRequest",
3459
+ metadata: {
3460
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
3461
+ }
3462
+ )
3463
+ o.output = Shapes::ShapeRef.new(shape: TestFunctionResult)
3464
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3465
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3466
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
3467
+ o.errors << Shapes::ShapeRef.new(shape: TestFunctionFailed)
3468
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3469
+ end)
3470
+
3107
3471
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
3108
3472
  o.name = "UntagResource2020_05_31"
3109
3473
  o.http_method = "POST"
@@ -3197,6 +3561,9 @@ module Aws::CloudFront
3197
3561
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
3198
3562
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
3199
3563
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
3564
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
3565
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
3566
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
3200
3567
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3201
3568
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
3202
3569
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
@@ -3209,6 +3576,8 @@ module Aws::CloudFront
3209
3576
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
3210
3577
  o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
3211
3578
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
3579
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3580
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
3212
3581
  end)
3213
3582
 
3214
3583
  api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
@@ -3250,6 +3619,25 @@ module Aws::CloudFront
3250
3619
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
3251
3620
  end)
3252
3621
 
3622
+ api.add_operation(:update_function, Seahorse::Model::Operation.new.tap do |o|
3623
+ o.name = "UpdateFunction2020_05_31"
3624
+ o.http_method = "PUT"
3625
+ o.http_request_uri = "/2020-05-31/function/{Name}"
3626
+ o.input = Shapes::ShapeRef.new(shape: UpdateFunctionRequest,
3627
+ location_name: "UpdateFunctionRequest",
3628
+ metadata: {
3629
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
3630
+ }
3631
+ )
3632
+ o.output = Shapes::ShapeRef.new(shape: UpdateFunctionResult)
3633
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3634
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3635
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
3636
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3637
+ o.errors << Shapes::ShapeRef.new(shape: FunctionSizeLimitExceeded)
3638
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3639
+ end)
3640
+
3253
3641
  api.add_operation(:update_key_group, Seahorse::Model::Operation.new.tap do |o|
3254
3642
  o.name = "UpdateKeyGroup2020_05_31"
3255
3643
  o.http_method = "PUT"