aws-sdk-cloudfront 1.43.0 → 1.48.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module Aws::CloudFront
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDenied = Shapes::StructureShape.new(name: 'AccessDenied')
17
+ ActiveTrustedKeyGroups = Shapes::StructureShape.new(name: 'ActiveTrustedKeyGroups')
17
18
  ActiveTrustedSigners = Shapes::StructureShape.new(name: 'ActiveTrustedSigners')
18
19
  AliasICPRecordal = Shapes::StructureShape.new(name: 'AliasICPRecordal')
19
20
  AliasICPRecordals = Shapes::ListShape.new(name: 'AliasICPRecordals')
@@ -72,6 +73,8 @@ module Aws::CloudFront
72
73
  CreateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'CreateFieldLevelEncryptionProfileResult')
73
74
  CreateInvalidationRequest = Shapes::StructureShape.new(name: 'CreateInvalidationRequest')
74
75
  CreateInvalidationResult = Shapes::StructureShape.new(name: 'CreateInvalidationResult')
76
+ CreateKeyGroupRequest = Shapes::StructureShape.new(name: 'CreateKeyGroupRequest')
77
+ CreateKeyGroupResult = Shapes::StructureShape.new(name: 'CreateKeyGroupResult')
75
78
  CreateMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateMonitoringSubscriptionRequest')
76
79
  CreateMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'CreateMonitoringSubscriptionResult')
77
80
  CreateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyRequest')
@@ -95,6 +98,7 @@ module Aws::CloudFront
95
98
  DeleteDistributionRequest = Shapes::StructureShape.new(name: 'DeleteDistributionRequest')
96
99
  DeleteFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionConfigRequest')
97
100
  DeleteFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionProfileRequest')
101
+ DeleteKeyGroupRequest = Shapes::StructureShape.new(name: 'DeleteKeyGroupRequest')
98
102
  DeleteMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionRequest')
99
103
  DeleteMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionResult')
100
104
  DeleteOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'DeleteOriginRequestPolicyRequest')
@@ -161,6 +165,10 @@ module Aws::CloudFront
161
165
  GetFieldLevelEncryptionResult = Shapes::StructureShape.new(name: 'GetFieldLevelEncryptionResult')
162
166
  GetInvalidationRequest = Shapes::StructureShape.new(name: 'GetInvalidationRequest')
163
167
  GetInvalidationResult = Shapes::StructureShape.new(name: 'GetInvalidationResult')
168
+ GetKeyGroupConfigRequest = Shapes::StructureShape.new(name: 'GetKeyGroupConfigRequest')
169
+ GetKeyGroupConfigResult = Shapes::StructureShape.new(name: 'GetKeyGroupConfigResult')
170
+ GetKeyGroupRequest = Shapes::StructureShape.new(name: 'GetKeyGroupRequest')
171
+ GetKeyGroupResult = Shapes::StructureShape.new(name: 'GetKeyGroupResult')
164
172
  GetMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'GetMonitoringSubscriptionRequest')
165
173
  GetMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'GetMonitoringSubscriptionResult')
166
174
  GetOriginRequestPolicyConfigRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigRequest')
@@ -214,6 +222,14 @@ module Aws::CloudFront
214
222
  InvalidationSummary = Shapes::StructureShape.new(name: 'InvalidationSummary')
215
223
  InvalidationSummaryList = Shapes::ListShape.new(name: 'InvalidationSummaryList')
216
224
  ItemSelection = Shapes::StringShape.new(name: 'ItemSelection')
225
+ KGKeyPairIds = Shapes::StructureShape.new(name: 'KGKeyPairIds')
226
+ KGKeyPairIdsList = Shapes::ListShape.new(name: 'KGKeyPairIdsList')
227
+ KeyGroup = Shapes::StructureShape.new(name: 'KeyGroup')
228
+ KeyGroupAlreadyExists = Shapes::StructureShape.new(name: 'KeyGroupAlreadyExists')
229
+ KeyGroupConfig = Shapes::StructureShape.new(name: 'KeyGroupConfig')
230
+ KeyGroupList = Shapes::StructureShape.new(name: 'KeyGroupList')
231
+ KeyGroupSummary = Shapes::StructureShape.new(name: 'KeyGroupSummary')
232
+ KeyGroupSummaryList = Shapes::ListShape.new(name: 'KeyGroupSummaryList')
217
233
  KeyPairIdList = Shapes::ListShape.new(name: 'KeyPairIdList')
218
234
  KeyPairIds = Shapes::StructureShape.new(name: 'KeyPairIds')
219
235
  KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
@@ -227,6 +243,8 @@ module Aws::CloudFront
227
243
  ListCloudFrontOriginAccessIdentitiesResult = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesResult')
228
244
  ListDistributionsByCachePolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdRequest')
229
245
  ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
246
+ ListDistributionsByKeyGroupRequest = Shapes::StructureShape.new(name: 'ListDistributionsByKeyGroupRequest')
247
+ ListDistributionsByKeyGroupResult = Shapes::StructureShape.new(name: 'ListDistributionsByKeyGroupResult')
230
248
  ListDistributionsByOriginRequestPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdRequest')
231
249
  ListDistributionsByOriginRequestPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdResult')
232
250
  ListDistributionsByRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigRequest')
@@ -241,6 +259,8 @@ module Aws::CloudFront
241
259
  ListFieldLevelEncryptionProfilesResult = Shapes::StructureShape.new(name: 'ListFieldLevelEncryptionProfilesResult')
242
260
  ListInvalidationsRequest = Shapes::StructureShape.new(name: 'ListInvalidationsRequest')
243
261
  ListInvalidationsResult = Shapes::StructureShape.new(name: 'ListInvalidationsResult')
262
+ ListKeyGroupsRequest = Shapes::StructureShape.new(name: 'ListKeyGroupsRequest')
263
+ ListKeyGroupsResult = Shapes::StructureShape.new(name: 'ListKeyGroupsResult')
244
264
  ListOriginRequestPoliciesRequest = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesRequest')
245
265
  ListOriginRequestPoliciesResult = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesResult')
246
266
  ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
@@ -296,6 +316,8 @@ module Aws::CloudFront
296
316
  OriginRequestPolicySummary = Shapes::StructureShape.new(name: 'OriginRequestPolicySummary')
297
317
  OriginRequestPolicySummaryList = Shapes::ListShape.new(name: 'OriginRequestPolicySummaryList')
298
318
  OriginRequestPolicyType = Shapes::StringShape.new(name: 'OriginRequestPolicyType')
319
+ OriginShield = Shapes::StructureShape.new(name: 'OriginShield')
320
+ OriginShieldRegion = Shapes::StringShape.new(name: 'OriginShieldRegion')
299
321
  OriginSslProtocols = Shapes::StructureShape.new(name: 'OriginSslProtocols')
300
322
  Origins = Shapes::StructureShape.new(name: 'Origins')
301
323
  ParametersInCacheKeyAndForwardedToOrigin = Shapes::StructureShape.new(name: 'ParametersInCacheKeyAndForwardedToOrigin')
@@ -306,6 +328,7 @@ module Aws::CloudFront
306
328
  PublicKey = Shapes::StructureShape.new(name: 'PublicKey')
307
329
  PublicKeyAlreadyExists = Shapes::StructureShape.new(name: 'PublicKeyAlreadyExists')
308
330
  PublicKeyConfig = Shapes::StructureShape.new(name: 'PublicKeyConfig')
331
+ PublicKeyIdList = Shapes::ListShape.new(name: 'PublicKeyIdList')
309
332
  PublicKeyInUse = Shapes::StructureShape.new(name: 'PublicKeyInUse')
310
333
  PublicKeyList = Shapes::StructureShape.new(name: 'PublicKeyList')
311
334
  PublicKeySummary = Shapes::StructureShape.new(name: 'PublicKeySummary')
@@ -327,6 +350,7 @@ module Aws::CloudFront
327
350
  RealtimeMetricsSubscriptionConfig = Shapes::StructureShape.new(name: 'RealtimeMetricsSubscriptionConfig')
328
351
  RealtimeMetricsSubscriptionStatus = Shapes::StringShape.new(name: 'RealtimeMetricsSubscriptionStatus')
329
352
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
353
+ ResourceInUse = Shapes::StructureShape.new(name: 'ResourceInUse')
330
354
  Restrictions = Shapes::StructureShape.new(name: 'Restrictions')
331
355
  S3Origin = Shapes::StructureShape.new(name: 'S3Origin')
332
356
  S3OriginConfig = Shapes::StructureShape.new(name: 'S3OriginConfig')
@@ -365,6 +389,7 @@ module Aws::CloudFront
365
389
  TooManyDistributions = Shapes::StructureShape.new(name: 'TooManyDistributions')
366
390
  TooManyDistributionsAssociatedToCachePolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToCachePolicy')
367
391
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToFieldLevelEncryptionConfig')
392
+ TooManyDistributionsAssociatedToKeyGroup = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToKeyGroup')
368
393
  TooManyDistributionsAssociatedToOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginRequestPolicy')
369
394
  TooManyDistributionsWithLambdaAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithLambdaAssociations')
370
395
  TooManyDistributionsWithSingleFunctionARN = Shapes::StructureShape.new(name: 'TooManyDistributionsWithSingleFunctionARN')
@@ -378,12 +403,15 @@ module Aws::CloudFront
378
403
  TooManyHeadersInForwardedValues = Shapes::StructureShape.new(name: 'TooManyHeadersInForwardedValues')
379
404
  TooManyHeadersInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInOriginRequestPolicy')
380
405
  TooManyInvalidationsInProgress = Shapes::StructureShape.new(name: 'TooManyInvalidationsInProgress')
406
+ TooManyKeyGroups = Shapes::StructureShape.new(name: 'TooManyKeyGroups')
407
+ TooManyKeyGroupsAssociatedToDistribution = Shapes::StructureShape.new(name: 'TooManyKeyGroupsAssociatedToDistribution')
381
408
  TooManyLambdaFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyLambdaFunctionAssociations')
382
409
  TooManyOriginCustomHeaders = Shapes::StructureShape.new(name: 'TooManyOriginCustomHeaders')
383
410
  TooManyOriginGroupsPerDistribution = Shapes::StructureShape.new(name: 'TooManyOriginGroupsPerDistribution')
384
411
  TooManyOriginRequestPolicies = Shapes::StructureShape.new(name: 'TooManyOriginRequestPolicies')
385
412
  TooManyOrigins = Shapes::StructureShape.new(name: 'TooManyOrigins')
386
413
  TooManyPublicKeys = Shapes::StructureShape.new(name: 'TooManyPublicKeys')
414
+ TooManyPublicKeysInKeyGroup = Shapes::StructureShape.new(name: 'TooManyPublicKeysInKeyGroup')
387
415
  TooManyQueryStringParameters = Shapes::StructureShape.new(name: 'TooManyQueryStringParameters')
388
416
  TooManyQueryStringsInCachePolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInCachePolicy')
389
417
  TooManyQueryStringsInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInOriginRequestPolicy')
@@ -391,6 +419,9 @@ module Aws::CloudFront
391
419
  TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
392
420
  TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
393
421
  TooManyTrustedSigners = Shapes::StructureShape.new(name: 'TooManyTrustedSigners')
422
+ TrustedKeyGroupDoesNotExist = Shapes::StructureShape.new(name: 'TrustedKeyGroupDoesNotExist')
423
+ TrustedKeyGroupIdList = Shapes::ListShape.new(name: 'TrustedKeyGroupIdList')
424
+ TrustedKeyGroups = Shapes::StructureShape.new(name: 'TrustedKeyGroups')
394
425
  TrustedSignerDoesNotExist = Shapes::StructureShape.new(name: 'TrustedSignerDoesNotExist')
395
426
  TrustedSigners = Shapes::StructureShape.new(name: 'TrustedSigners')
396
427
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -404,6 +435,8 @@ module Aws::CloudFront
404
435
  UpdateFieldLevelEncryptionConfigResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionConfigResult')
405
436
  UpdateFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileRequest')
406
437
  UpdateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileResult')
438
+ UpdateKeyGroupRequest = Shapes::StructureShape.new(name: 'UpdateKeyGroupRequest')
439
+ UpdateKeyGroupResult = Shapes::StructureShape.new(name: 'UpdateKeyGroupResult')
407
440
  UpdateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyRequest')
408
441
  UpdateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyResult')
409
442
  UpdatePublicKeyRequest = Shapes::StructureShape.new(name: 'UpdatePublicKeyRequest')
@@ -423,6 +456,11 @@ module Aws::CloudFront
423
456
  AccessDenied.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
424
457
  AccessDenied.struct_class = Types::AccessDenied
425
458
 
459
+ ActiveTrustedKeyGroups.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
460
+ ActiveTrustedKeyGroups.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
461
+ ActiveTrustedKeyGroups.add_member(:items, Shapes::ShapeRef.new(shape: KGKeyPairIdsList, location_name: "Items"))
462
+ ActiveTrustedKeyGroups.struct_class = Types::ActiveTrustedKeyGroups
463
+
426
464
  ActiveTrustedSigners.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
427
465
  ActiveTrustedSigners.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
428
466
  ActiveTrustedSigners.add_member(:items, Shapes::ShapeRef.new(shape: SignerList, location_name: "Items"))
@@ -455,7 +493,8 @@ module Aws::CloudFront
455
493
 
456
494
  CacheBehavior.add_member(:path_pattern, Shapes::ShapeRef.new(shape: string, required: true, location_name: "PathPattern"))
457
495
  CacheBehavior.add_member(:target_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "TargetOriginId"))
458
- CacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, required: true, location_name: "TrustedSigners"))
496
+ CacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, location_name: "TrustedSigners"))
497
+ CacheBehavior.add_member(:trusted_key_groups, Shapes::ShapeRef.new(shape: TrustedKeyGroups, location_name: "TrustedKeyGroups"))
459
498
  CacheBehavior.add_member(:viewer_protocol_policy, Shapes::ShapeRef.new(shape: ViewerProtocolPolicy, required: true, location_name: "ViewerProtocolPolicy"))
460
499
  CacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
461
500
  CacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
@@ -666,6 +705,18 @@ module Aws::CloudFront
666
705
  CreateInvalidationResult[:payload] = :invalidation
667
706
  CreateInvalidationResult[:payload_member] = CreateInvalidationResult.member(:invalidation)
668
707
 
708
+ CreateKeyGroupRequest.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/"}}))
709
+ CreateKeyGroupRequest.struct_class = Types::CreateKeyGroupRequest
710
+ CreateKeyGroupRequest[:payload] = :key_group_config
711
+ CreateKeyGroupRequest[:payload_member] = CreateKeyGroupRequest.member(:key_group_config)
712
+
713
+ CreateKeyGroupResult.add_member(:key_group, Shapes::ShapeRef.new(shape: KeyGroup, location_name: "KeyGroup"))
714
+ CreateKeyGroupResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
715
+ CreateKeyGroupResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
716
+ CreateKeyGroupResult.struct_class = Types::CreateKeyGroupResult
717
+ CreateKeyGroupResult[:payload] = :key_group
718
+ CreateKeyGroupResult[:payload_member] = CreateKeyGroupResult.member(:key_group)
719
+
669
720
  CreateMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
670
721
  CreateMonitoringSubscriptionRequest.add_member(:monitoring_subscription, Shapes::ShapeRef.new(shape: MonitoringSubscription, required: true, location_name: "MonitoringSubscription", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
671
722
  CreateMonitoringSubscriptionRequest.struct_class = Types::CreateMonitoringSubscriptionRequest
@@ -759,7 +810,8 @@ module Aws::CloudFront
759
810
  CustomOriginConfig.struct_class = Types::CustomOriginConfig
760
811
 
761
812
  DefaultCacheBehavior.add_member(:target_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "TargetOriginId"))
762
- DefaultCacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, required: true, location_name: "TrustedSigners"))
813
+ DefaultCacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, location_name: "TrustedSigners"))
814
+ DefaultCacheBehavior.add_member(:trusted_key_groups, Shapes::ShapeRef.new(shape: TrustedKeyGroups, location_name: "TrustedKeyGroups"))
763
815
  DefaultCacheBehavior.add_member(:viewer_protocol_policy, Shapes::ShapeRef.new(shape: ViewerProtocolPolicy, required: true, location_name: "ViewerProtocolPolicy"))
764
816
  DefaultCacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
765
817
  DefaultCacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
@@ -795,6 +847,10 @@ module Aws::CloudFront
795
847
  DeleteFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
796
848
  DeleteFieldLevelEncryptionProfileRequest.struct_class = Types::DeleteFieldLevelEncryptionProfileRequest
797
849
 
850
+ DeleteKeyGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
851
+ DeleteKeyGroupRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
852
+ DeleteKeyGroupRequest.struct_class = Types::DeleteKeyGroupRequest
853
+
798
854
  DeleteMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
799
855
  DeleteMonitoringSubscriptionRequest.struct_class = Types::DeleteMonitoringSubscriptionRequest
800
856
 
@@ -822,7 +878,8 @@ module Aws::CloudFront
822
878
  Distribution.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
823
879
  Distribution.add_member(:in_progress_invalidation_batches, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "InProgressInvalidationBatches"))
824
880
  Distribution.add_member(:domain_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "DomainName"))
825
- Distribution.add_member(:active_trusted_signers, Shapes::ShapeRef.new(shape: ActiveTrustedSigners, required: true, location_name: "ActiveTrustedSigners"))
881
+ Distribution.add_member(:active_trusted_signers, Shapes::ShapeRef.new(shape: ActiveTrustedSigners, location_name: "ActiveTrustedSigners"))
882
+ Distribution.add_member(:active_trusted_key_groups, Shapes::ShapeRef.new(shape: ActiveTrustedKeyGroups, location_name: "ActiveTrustedKeyGroups"))
826
883
  Distribution.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig"))
827
884
  Distribution.add_member(:alias_icp_recordals, Shapes::ShapeRef.new(shape: AliasICPRecordals, location_name: "AliasICPRecordals"))
828
885
  Distribution.struct_class = Types::Distribution
@@ -1100,6 +1157,24 @@ module Aws::CloudFront
1100
1157
  GetInvalidationResult[:payload] = :invalidation
1101
1158
  GetInvalidationResult[:payload_member] = GetInvalidationResult.member(:invalidation)
1102
1159
 
1160
+ GetKeyGroupConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1161
+ GetKeyGroupConfigRequest.struct_class = Types::GetKeyGroupConfigRequest
1162
+
1163
+ GetKeyGroupConfigResult.add_member(:key_group_config, Shapes::ShapeRef.new(shape: KeyGroupConfig, location_name: "KeyGroupConfig"))
1164
+ GetKeyGroupConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1165
+ GetKeyGroupConfigResult.struct_class = Types::GetKeyGroupConfigResult
1166
+ GetKeyGroupConfigResult[:payload] = :key_group_config
1167
+ GetKeyGroupConfigResult[:payload_member] = GetKeyGroupConfigResult.member(:key_group_config)
1168
+
1169
+ GetKeyGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1170
+ GetKeyGroupRequest.struct_class = Types::GetKeyGroupRequest
1171
+
1172
+ GetKeyGroupResult.add_member(:key_group, Shapes::ShapeRef.new(shape: KeyGroup, location_name: "KeyGroup"))
1173
+ GetKeyGroupResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1174
+ GetKeyGroupResult.struct_class = Types::GetKeyGroupResult
1175
+ GetKeyGroupResult[:payload] = :key_group
1176
+ GetKeyGroupResult[:payload_member] = GetKeyGroupResult.member(:key_group)
1177
+
1103
1178
  GetMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
1104
1179
  GetMonitoringSubscriptionRequest.struct_class = Types::GetMonitoringSubscriptionRequest
1105
1180
 
@@ -1281,6 +1356,36 @@ module Aws::CloudFront
1281
1356
 
1282
1357
  InvalidationSummaryList.member = Shapes::ShapeRef.new(shape: InvalidationSummary, location_name: "InvalidationSummary")
1283
1358
 
1359
+ KGKeyPairIds.add_member(:key_group_id, Shapes::ShapeRef.new(shape: string, location_name: "KeyGroupId"))
1360
+ KGKeyPairIds.add_member(:key_pair_ids, Shapes::ShapeRef.new(shape: KeyPairIds, location_name: "KeyPairIds"))
1361
+ KGKeyPairIds.struct_class = Types::KGKeyPairIds
1362
+
1363
+ KGKeyPairIdsList.member = Shapes::ShapeRef.new(shape: KGKeyPairIds, location_name: "KeyGroup")
1364
+
1365
+ KeyGroup.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
1366
+ KeyGroup.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
1367
+ KeyGroup.add_member(:key_group_config, Shapes::ShapeRef.new(shape: KeyGroupConfig, required: true, location_name: "KeyGroupConfig"))
1368
+ KeyGroup.struct_class = Types::KeyGroup
1369
+
1370
+ KeyGroupAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1371
+ KeyGroupAlreadyExists.struct_class = Types::KeyGroupAlreadyExists
1372
+
1373
+ KeyGroupConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
1374
+ KeyGroupConfig.add_member(:items, Shapes::ShapeRef.new(shape: PublicKeyIdList, required: true, location_name: "Items"))
1375
+ KeyGroupConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
1376
+ KeyGroupConfig.struct_class = Types::KeyGroupConfig
1377
+
1378
+ KeyGroupList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
1379
+ KeyGroupList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
1380
+ KeyGroupList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1381
+ KeyGroupList.add_member(:items, Shapes::ShapeRef.new(shape: KeyGroupSummaryList, location_name: "Items"))
1382
+ KeyGroupList.struct_class = Types::KeyGroupList
1383
+
1384
+ KeyGroupSummary.add_member(:key_group, Shapes::ShapeRef.new(shape: KeyGroup, required: true, location_name: "KeyGroup"))
1385
+ KeyGroupSummary.struct_class = Types::KeyGroupSummary
1386
+
1387
+ KeyGroupSummaryList.member = Shapes::ShapeRef.new(shape: KeyGroupSummary, location_name: "KeyGroupSummary")
1388
+
1284
1389
  KeyPairIdList.member = Shapes::ShapeRef.new(shape: string, location_name: "KeyPairId")
1285
1390
 
1286
1391
  KeyPairIds.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -1331,6 +1436,16 @@ module Aws::CloudFront
1331
1436
  ListDistributionsByCachePolicyIdResult[:payload] = :distribution_id_list
1332
1437
  ListDistributionsByCachePolicyIdResult[:payload_member] = ListDistributionsByCachePolicyIdResult.member(:distribution_id_list)
1333
1438
 
1439
+ ListDistributionsByKeyGroupRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1440
+ ListDistributionsByKeyGroupRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1441
+ ListDistributionsByKeyGroupRequest.add_member(:key_group_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "KeyGroupId"))
1442
+ ListDistributionsByKeyGroupRequest.struct_class = Types::ListDistributionsByKeyGroupRequest
1443
+
1444
+ ListDistributionsByKeyGroupResult.add_member(:distribution_id_list, Shapes::ShapeRef.new(shape: DistributionIdList, location_name: "DistributionIdList"))
1445
+ ListDistributionsByKeyGroupResult.struct_class = Types::ListDistributionsByKeyGroupResult
1446
+ ListDistributionsByKeyGroupResult[:payload] = :distribution_id_list
1447
+ ListDistributionsByKeyGroupResult[:payload_member] = ListDistributionsByKeyGroupResult.member(:distribution_id_list)
1448
+
1334
1449
  ListDistributionsByOriginRequestPolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1335
1450
  ListDistributionsByOriginRequestPolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1336
1451
  ListDistributionsByOriginRequestPolicyIdRequest.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "OriginRequestPolicyId"))
@@ -1399,6 +1514,15 @@ module Aws::CloudFront
1399
1514
  ListInvalidationsResult[:payload] = :invalidation_list
1400
1515
  ListInvalidationsResult[:payload_member] = ListInvalidationsResult.member(:invalidation_list)
1401
1516
 
1517
+ ListKeyGroupsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1518
+ ListKeyGroupsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1519
+ ListKeyGroupsRequest.struct_class = Types::ListKeyGroupsRequest
1520
+
1521
+ ListKeyGroupsResult.add_member(:key_group_list, Shapes::ShapeRef.new(shape: KeyGroupList, location_name: "KeyGroupList"))
1522
+ ListKeyGroupsResult.struct_class = Types::ListKeyGroupsResult
1523
+ ListKeyGroupsResult[:payload] = :key_group_list
1524
+ ListKeyGroupsResult[:payload_member] = ListKeyGroupsResult.member(:key_group_list)
1525
+
1402
1526
  ListOriginRequestPoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: OriginRequestPolicyType, location: "querystring", location_name: "Type"))
1403
1527
  ListOriginRequestPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1404
1528
  ListOriginRequestPoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
@@ -1504,6 +1628,7 @@ module Aws::CloudFront
1504
1628
  Origin.add_member(:custom_origin_config, Shapes::ShapeRef.new(shape: CustomOriginConfig, location_name: "CustomOriginConfig"))
1505
1629
  Origin.add_member(:connection_attempts, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionAttempts"))
1506
1630
  Origin.add_member(:connection_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionTimeout"))
1631
+ Origin.add_member(:origin_shield, Shapes::ShapeRef.new(shape: OriginShield, location_name: "OriginShield"))
1507
1632
  Origin.struct_class = Types::Origin
1508
1633
 
1509
1634
  OriginCustomHeader.add_member(:header_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "HeaderName"))
@@ -1579,6 +1704,10 @@ module Aws::CloudFront
1579
1704
 
1580
1705
  OriginRequestPolicySummaryList.member = Shapes::ShapeRef.new(shape: OriginRequestPolicySummary, location_name: "OriginRequestPolicySummary")
1581
1706
 
1707
+ OriginShield.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
1708
+ OriginShield.add_member(:origin_shield_region, Shapes::ShapeRef.new(shape: OriginShieldRegion, location_name: "OriginShieldRegion"))
1709
+ OriginShield.struct_class = Types::OriginShield
1710
+
1582
1711
  OriginSslProtocols.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1583
1712
  OriginSslProtocols.add_member(:items, Shapes::ShapeRef.new(shape: SslProtocolsList, required: true, location_name: "Items"))
1584
1713
  OriginSslProtocols.struct_class = Types::OriginSslProtocols
@@ -1617,6 +1746,8 @@ module Aws::CloudFront
1617
1746
  PublicKeyConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
1618
1747
  PublicKeyConfig.struct_class = Types::PublicKeyConfig
1619
1748
 
1749
+ PublicKeyIdList.member = Shapes::ShapeRef.new(shape: string, location_name: "PublicKey")
1750
+
1620
1751
  PublicKeyInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1621
1752
  PublicKeyInUse.struct_class = Types::PublicKeyInUse
1622
1753
 
@@ -1689,6 +1820,9 @@ module Aws::CloudFront
1689
1820
  RealtimeMetricsSubscriptionConfig.add_member(:realtime_metrics_subscription_status, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionStatus, required: true, location_name: "RealtimeMetricsSubscriptionStatus"))
1690
1821
  RealtimeMetricsSubscriptionConfig.struct_class = Types::RealtimeMetricsSubscriptionConfig
1691
1822
 
1823
+ ResourceInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1824
+ ResourceInUse.struct_class = Types::ResourceInUse
1825
+
1692
1826
  Restrictions.add_member(:geo_restriction, Shapes::ShapeRef.new(shape: GeoRestriction, required: true, location_name: "GeoRestriction"))
1693
1827
  Restrictions.struct_class = Types::Restrictions
1694
1828
 
@@ -1823,6 +1957,9 @@ module Aws::CloudFront
1823
1957
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1824
1958
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.struct_class = Types::TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
1825
1959
 
1960
+ TooManyDistributionsAssociatedToKeyGroup.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1961
+ TooManyDistributionsAssociatedToKeyGroup.struct_class = Types::TooManyDistributionsAssociatedToKeyGroup
1962
+
1826
1963
  TooManyDistributionsAssociatedToOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1827
1964
  TooManyDistributionsAssociatedToOriginRequestPolicy.struct_class = Types::TooManyDistributionsAssociatedToOriginRequestPolicy
1828
1965
 
@@ -1862,6 +1999,12 @@ module Aws::CloudFront
1862
1999
  TooManyInvalidationsInProgress.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1863
2000
  TooManyInvalidationsInProgress.struct_class = Types::TooManyInvalidationsInProgress
1864
2001
 
2002
+ TooManyKeyGroups.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2003
+ TooManyKeyGroups.struct_class = Types::TooManyKeyGroups
2004
+
2005
+ TooManyKeyGroupsAssociatedToDistribution.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2006
+ TooManyKeyGroupsAssociatedToDistribution.struct_class = Types::TooManyKeyGroupsAssociatedToDistribution
2007
+
1865
2008
  TooManyLambdaFunctionAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1866
2009
  TooManyLambdaFunctionAssociations.struct_class = Types::TooManyLambdaFunctionAssociations
1867
2010
 
@@ -1880,6 +2023,9 @@ module Aws::CloudFront
1880
2023
  TooManyPublicKeys.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1881
2024
  TooManyPublicKeys.struct_class = Types::TooManyPublicKeys
1882
2025
 
2026
+ TooManyPublicKeysInKeyGroup.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2027
+ TooManyPublicKeysInKeyGroup.struct_class = Types::TooManyPublicKeysInKeyGroup
2028
+
1883
2029
  TooManyQueryStringParameters.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1884
2030
  TooManyQueryStringParameters.struct_class = Types::TooManyQueryStringParameters
1885
2031
 
@@ -1901,6 +2047,16 @@ module Aws::CloudFront
1901
2047
  TooManyTrustedSigners.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1902
2048
  TooManyTrustedSigners.struct_class = Types::TooManyTrustedSigners
1903
2049
 
2050
+ TrustedKeyGroupDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2051
+ TrustedKeyGroupDoesNotExist.struct_class = Types::TrustedKeyGroupDoesNotExist
2052
+
2053
+ TrustedKeyGroupIdList.member = Shapes::ShapeRef.new(shape: string, location_name: "KeyGroup")
2054
+
2055
+ TrustedKeyGroups.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
2056
+ TrustedKeyGroups.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
2057
+ TrustedKeyGroups.add_member(:items, Shapes::ShapeRef.new(shape: TrustedKeyGroupIdList, location_name: "Items"))
2058
+ TrustedKeyGroups.struct_class = Types::TrustedKeyGroups
2059
+
1904
2060
  TrustedSignerDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1905
2061
  TrustedSignerDoesNotExist.struct_class = Types::TrustedSignerDoesNotExist
1906
2062
 
@@ -1980,6 +2136,19 @@ module Aws::CloudFront
1980
2136
  UpdateFieldLevelEncryptionProfileResult[:payload] = :field_level_encryption_profile
1981
2137
  UpdateFieldLevelEncryptionProfileResult[:payload_member] = UpdateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
1982
2138
 
2139
+ 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
+ UpdateKeyGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
2141
+ UpdateKeyGroupRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
2142
+ UpdateKeyGroupRequest.struct_class = Types::UpdateKeyGroupRequest
2143
+ UpdateKeyGroupRequest[:payload] = :key_group_config
2144
+ UpdateKeyGroupRequest[:payload_member] = UpdateKeyGroupRequest.member(:key_group_config)
2145
+
2146
+ UpdateKeyGroupResult.add_member(:key_group, Shapes::ShapeRef.new(shape: KeyGroup, location_name: "KeyGroup"))
2147
+ UpdateKeyGroupResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
2148
+ UpdateKeyGroupResult.struct_class = Types::UpdateKeyGroupResult
2149
+ UpdateKeyGroupResult[:payload] = :key_group
2150
+ UpdateKeyGroupResult[:payload_member] = UpdateKeyGroupResult.member(:key_group)
2151
+
1983
2152
  UpdateOriginRequestPolicyRequest.add_member(:origin_request_policy_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyConfig, required: true, location_name: "OriginRequestPolicyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1984
2153
  UpdateOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1985
2154
  UpdateOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
@@ -2140,6 +2309,9 @@ module Aws::CloudFront
2140
2309
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2141
2310
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2142
2311
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
2312
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
2313
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
2314
+ o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
2143
2315
  end)
2144
2316
 
2145
2317
  api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -2198,6 +2370,9 @@ module Aws::CloudFront
2198
2370
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2199
2371
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2200
2372
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
2373
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
2374
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
2375
+ o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
2201
2376
  end)
2202
2377
 
2203
2378
  api.add_operation(:create_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2247,6 +2422,18 @@ module Aws::CloudFront
2247
2422
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2248
2423
  end)
2249
2424
 
2425
+ api.add_operation(:create_key_group, Seahorse::Model::Operation.new.tap do |o|
2426
+ o.name = "CreateKeyGroup2020_05_31"
2427
+ o.http_method = "POST"
2428
+ o.http_request_uri = "/2020-05-31/key-group"
2429
+ o.input = Shapes::ShapeRef.new(shape: CreateKeyGroupRequest)
2430
+ o.output = Shapes::ShapeRef.new(shape: CreateKeyGroupResult)
2431
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2432
+ o.errors << Shapes::ShapeRef.new(shape: KeyGroupAlreadyExists)
2433
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroups)
2434
+ o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeysInKeyGroup)
2435
+ end)
2436
+
2250
2437
  api.add_operation(:create_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2251
2438
  o.name = "CreateMonitoringSubscription2020_05_31"
2252
2439
  o.http_method = "POST"
@@ -2298,6 +2485,7 @@ module Aws::CloudFront
2298
2485
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigAlreadyExists)
2299
2486
  o.errors << Shapes::ShapeRef.new(shape: TooManyRealtimeLogConfigs)
2300
2487
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2488
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2301
2489
  end)
2302
2490
 
2303
2491
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
@@ -2407,6 +2595,18 @@ module Aws::CloudFront
2407
2595
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileInUse)
2408
2596
  end)
2409
2597
 
2598
+ api.add_operation(:delete_key_group, Seahorse::Model::Operation.new.tap do |o|
2599
+ o.name = "DeleteKeyGroup2020_05_31"
2600
+ o.http_method = "DELETE"
2601
+ o.http_request_uri = "/2020-05-31/key-group/{Id}"
2602
+ o.input = Shapes::ShapeRef.new(shape: DeleteKeyGroupRequest)
2603
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2604
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2605
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
2606
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2607
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
2608
+ end)
2609
+
2410
2610
  api.add_operation(:delete_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2411
2611
  o.name = "DeleteMonitoringSubscription2020_05_31"
2412
2612
  o.http_method = "DELETE"
@@ -2458,6 +2658,7 @@ module Aws::CloudFront
2458
2658
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2459
2659
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigInUse)
2460
2660
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2661
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2461
2662
  end)
2462
2663
 
2463
2664
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
@@ -2584,6 +2785,24 @@ module Aws::CloudFront
2584
2785
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2585
2786
  end)
2586
2787
 
2788
+ api.add_operation(:get_key_group, Seahorse::Model::Operation.new.tap do |o|
2789
+ o.name = "GetKeyGroup2020_05_31"
2790
+ o.http_method = "GET"
2791
+ o.http_request_uri = "/2020-05-31/key-group/{Id}"
2792
+ o.input = Shapes::ShapeRef.new(shape: GetKeyGroupRequest)
2793
+ o.output = Shapes::ShapeRef.new(shape: GetKeyGroupResult)
2794
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
2795
+ end)
2796
+
2797
+ api.add_operation(:get_key_group_config, Seahorse::Model::Operation.new.tap do |o|
2798
+ o.name = "GetKeyGroupConfig2020_05_31"
2799
+ o.http_method = "GET"
2800
+ o.http_request_uri = "/2020-05-31/key-group/{Id}/config"
2801
+ o.input = Shapes::ShapeRef.new(shape: GetKeyGroupConfigRequest)
2802
+ o.output = Shapes::ShapeRef.new(shape: GetKeyGroupConfigResult)
2803
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
2804
+ end)
2805
+
2587
2806
  api.add_operation(:get_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2588
2807
  o.name = "GetMonitoringSubscription2020_05_31"
2589
2808
  o.http_method = "GET"
@@ -2647,6 +2866,7 @@ module Aws::CloudFront
2647
2866
  o.output = Shapes::ShapeRef.new(shape: GetRealtimeLogConfigResult)
2648
2867
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2649
2868
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2869
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2650
2870
  end)
2651
2871
 
2652
2872
  api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
@@ -2723,6 +2943,16 @@ module Aws::CloudFront
2723
2943
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2724
2944
  end)
2725
2945
 
2946
+ api.add_operation(:list_distributions_by_key_group, Seahorse::Model::Operation.new.tap do |o|
2947
+ o.name = "ListDistributionsByKeyGroup2020_05_31"
2948
+ o.http_method = "GET"
2949
+ o.http_request_uri = "/2020-05-31/distributionsByKeyGroupId/{KeyGroupId}"
2950
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByKeyGroupRequest)
2951
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByKeyGroupResult)
2952
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
2953
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2954
+ end)
2955
+
2726
2956
  api.add_operation(:list_distributions_by_origin_request_policy_id, Seahorse::Model::Operation.new.tap do |o|
2727
2957
  o.name = "ListDistributionsByOriginRequestPolicyId2020_05_31"
2728
2958
  o.http_method = "GET"
@@ -2794,6 +3024,15 @@ module Aws::CloudFront
2794
3024
  )
2795
3025
  end)
2796
3026
 
3027
+ api.add_operation(:list_key_groups, Seahorse::Model::Operation.new.tap do |o|
3028
+ o.name = "ListKeyGroups2020_05_31"
3029
+ o.http_method = "GET"
3030
+ o.http_request_uri = "/2020-05-31/key-group"
3031
+ o.input = Shapes::ShapeRef.new(shape: ListKeyGroupsRequest)
3032
+ o.output = Shapes::ShapeRef.new(shape: ListKeyGroupsResult)
3033
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3034
+ end)
3035
+
2797
3036
  api.add_operation(:list_origin_request_policies, Seahorse::Model::Operation.new.tap do |o|
2798
3037
  o.name = "ListOriginRequestPolicies2020_05_31"
2799
3038
  o.http_method = "GET"
@@ -2820,6 +3059,9 @@ module Aws::CloudFront
2820
3059
  o.http_request_uri = "/2020-05-31/realtime-log-config"
2821
3060
  o.input = Shapes::ShapeRef.new(shape: ListRealtimeLogConfigsRequest)
2822
3061
  o.output = Shapes::ShapeRef.new(shape: ListRealtimeLogConfigsResult)
3062
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3063
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3064
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2823
3065
  end)
2824
3066
 
2825
3067
  api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
@@ -2964,6 +3206,9 @@ module Aws::CloudFront
2964
3206
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2965
3207
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2966
3208
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
3209
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
3210
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
3211
+ o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
2967
3212
  end)
2968
3213
 
2969
3214
  api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
@@ -3005,6 +3250,20 @@ module Aws::CloudFront
3005
3250
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
3006
3251
  end)
3007
3252
 
3253
+ api.add_operation(:update_key_group, Seahorse::Model::Operation.new.tap do |o|
3254
+ o.name = "UpdateKeyGroup2020_05_31"
3255
+ o.http_method = "PUT"
3256
+ o.http_request_uri = "/2020-05-31/key-group/{Id}"
3257
+ o.input = Shapes::ShapeRef.new(shape: UpdateKeyGroupRequest)
3258
+ o.output = Shapes::ShapeRef.new(shape: UpdateKeyGroupResult)
3259
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3260
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
3261
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3262
+ o.errors << Shapes::ShapeRef.new(shape: KeyGroupAlreadyExists)
3263
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3264
+ o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeysInKeyGroup)
3265
+ end)
3266
+
3008
3267
  api.add_operation(:update_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
3009
3268
  o.name = "UpdateOriginRequestPolicy2020_05_31"
3010
3269
  o.http_method = "PUT"
@@ -3052,6 +3311,7 @@ module Aws::CloudFront
3052
3311
  o.output = Shapes::ShapeRef.new(shape: UpdateRealtimeLogConfigResult)
3053
3312
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3054
3313
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3314
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3055
3315
  end)
3056
3316
 
3057
3317
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|