aws-sdk-cloudfront 1.44.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +338 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-cloudfront.rb +2 -2
- data/lib/aws-sdk-cloudfront/client.rb +503 -50
- data/lib/aws-sdk-cloudfront/client_api.rb +257 -4
- data/lib/aws-sdk-cloudfront/cookie_signer.rb +1 -1
- data/lib/aws-sdk-cloudfront/errors.rb +113 -1
- data/lib/aws-sdk-cloudfront/resource.rb +1 -1
- data/lib/aws-sdk-cloudfront/types.rb +878 -207
- data/lib/aws-sdk-cloudfront/url_signer.rb +1 -1
- data/lib/aws-sdk-cloudfront/waiters.rb +1 -1
- metadata +8 -5
@@ -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/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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')
|
@@ -308,6 +328,7 @@ module Aws::CloudFront
|
|
308
328
|
PublicKey = Shapes::StructureShape.new(name: 'PublicKey')
|
309
329
|
PublicKeyAlreadyExists = Shapes::StructureShape.new(name: 'PublicKeyAlreadyExists')
|
310
330
|
PublicKeyConfig = Shapes::StructureShape.new(name: 'PublicKeyConfig')
|
331
|
+
PublicKeyIdList = Shapes::ListShape.new(name: 'PublicKeyIdList')
|
311
332
|
PublicKeyInUse = Shapes::StructureShape.new(name: 'PublicKeyInUse')
|
312
333
|
PublicKeyList = Shapes::StructureShape.new(name: 'PublicKeyList')
|
313
334
|
PublicKeySummary = Shapes::StructureShape.new(name: 'PublicKeySummary')
|
@@ -329,6 +350,7 @@ module Aws::CloudFront
|
|
329
350
|
RealtimeMetricsSubscriptionConfig = Shapes::StructureShape.new(name: 'RealtimeMetricsSubscriptionConfig')
|
330
351
|
RealtimeMetricsSubscriptionStatus = Shapes::StringShape.new(name: 'RealtimeMetricsSubscriptionStatus')
|
331
352
|
ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
|
353
|
+
ResourceInUse = Shapes::StructureShape.new(name: 'ResourceInUse')
|
332
354
|
Restrictions = Shapes::StructureShape.new(name: 'Restrictions')
|
333
355
|
S3Origin = Shapes::StructureShape.new(name: 'S3Origin')
|
334
356
|
S3OriginConfig = Shapes::StructureShape.new(name: 'S3OriginConfig')
|
@@ -367,6 +389,7 @@ module Aws::CloudFront
|
|
367
389
|
TooManyDistributions = Shapes::StructureShape.new(name: 'TooManyDistributions')
|
368
390
|
TooManyDistributionsAssociatedToCachePolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToCachePolicy')
|
369
391
|
TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToFieldLevelEncryptionConfig')
|
392
|
+
TooManyDistributionsAssociatedToKeyGroup = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToKeyGroup')
|
370
393
|
TooManyDistributionsAssociatedToOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginRequestPolicy')
|
371
394
|
TooManyDistributionsWithLambdaAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithLambdaAssociations')
|
372
395
|
TooManyDistributionsWithSingleFunctionARN = Shapes::StructureShape.new(name: 'TooManyDistributionsWithSingleFunctionARN')
|
@@ -380,12 +403,15 @@ module Aws::CloudFront
|
|
380
403
|
TooManyHeadersInForwardedValues = Shapes::StructureShape.new(name: 'TooManyHeadersInForwardedValues')
|
381
404
|
TooManyHeadersInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInOriginRequestPolicy')
|
382
405
|
TooManyInvalidationsInProgress = Shapes::StructureShape.new(name: 'TooManyInvalidationsInProgress')
|
406
|
+
TooManyKeyGroups = Shapes::StructureShape.new(name: 'TooManyKeyGroups')
|
407
|
+
TooManyKeyGroupsAssociatedToDistribution = Shapes::StructureShape.new(name: 'TooManyKeyGroupsAssociatedToDistribution')
|
383
408
|
TooManyLambdaFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyLambdaFunctionAssociations')
|
384
409
|
TooManyOriginCustomHeaders = Shapes::StructureShape.new(name: 'TooManyOriginCustomHeaders')
|
385
410
|
TooManyOriginGroupsPerDistribution = Shapes::StructureShape.new(name: 'TooManyOriginGroupsPerDistribution')
|
386
411
|
TooManyOriginRequestPolicies = Shapes::StructureShape.new(name: 'TooManyOriginRequestPolicies')
|
387
412
|
TooManyOrigins = Shapes::StructureShape.new(name: 'TooManyOrigins')
|
388
413
|
TooManyPublicKeys = Shapes::StructureShape.new(name: 'TooManyPublicKeys')
|
414
|
+
TooManyPublicKeysInKeyGroup = Shapes::StructureShape.new(name: 'TooManyPublicKeysInKeyGroup')
|
389
415
|
TooManyQueryStringParameters = Shapes::StructureShape.new(name: 'TooManyQueryStringParameters')
|
390
416
|
TooManyQueryStringsInCachePolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInCachePolicy')
|
391
417
|
TooManyQueryStringsInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInOriginRequestPolicy')
|
@@ -393,6 +419,9 @@ module Aws::CloudFront
|
|
393
419
|
TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
|
394
420
|
TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
|
395
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')
|
396
425
|
TrustedSignerDoesNotExist = Shapes::StructureShape.new(name: 'TrustedSignerDoesNotExist')
|
397
426
|
TrustedSigners = Shapes::StructureShape.new(name: 'TrustedSigners')
|
398
427
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
@@ -406,6 +435,8 @@ module Aws::CloudFront
|
|
406
435
|
UpdateFieldLevelEncryptionConfigResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionConfigResult')
|
407
436
|
UpdateFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileRequest')
|
408
437
|
UpdateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileResult')
|
438
|
+
UpdateKeyGroupRequest = Shapes::StructureShape.new(name: 'UpdateKeyGroupRequest')
|
439
|
+
UpdateKeyGroupResult = Shapes::StructureShape.new(name: 'UpdateKeyGroupResult')
|
409
440
|
UpdateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyRequest')
|
410
441
|
UpdateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyResult')
|
411
442
|
UpdatePublicKeyRequest = Shapes::StructureShape.new(name: 'UpdatePublicKeyRequest')
|
@@ -425,6 +456,11 @@ module Aws::CloudFront
|
|
425
456
|
AccessDenied.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
426
457
|
AccessDenied.struct_class = Types::AccessDenied
|
427
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
|
+
|
428
464
|
ActiveTrustedSigners.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
|
429
465
|
ActiveTrustedSigners.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
430
466
|
ActiveTrustedSigners.add_member(:items, Shapes::ShapeRef.new(shape: SignerList, location_name: "Items"))
|
@@ -457,7 +493,8 @@ module Aws::CloudFront
|
|
457
493
|
|
458
494
|
CacheBehavior.add_member(:path_pattern, Shapes::ShapeRef.new(shape: string, required: true, location_name: "PathPattern"))
|
459
495
|
CacheBehavior.add_member(:target_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "TargetOriginId"))
|
460
|
-
CacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: 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"))
|
461
498
|
CacheBehavior.add_member(:viewer_protocol_policy, Shapes::ShapeRef.new(shape: ViewerProtocolPolicy, required: true, location_name: "ViewerProtocolPolicy"))
|
462
499
|
CacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
|
463
500
|
CacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
|
@@ -668,6 +705,18 @@ module Aws::CloudFront
|
|
668
705
|
CreateInvalidationResult[:payload] = :invalidation
|
669
706
|
CreateInvalidationResult[:payload_member] = CreateInvalidationResult.member(:invalidation)
|
670
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
|
+
|
671
720
|
CreateMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
|
672
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/"}}))
|
673
722
|
CreateMonitoringSubscriptionRequest.struct_class = Types::CreateMonitoringSubscriptionRequest
|
@@ -761,7 +810,8 @@ module Aws::CloudFront
|
|
761
810
|
CustomOriginConfig.struct_class = Types::CustomOriginConfig
|
762
811
|
|
763
812
|
DefaultCacheBehavior.add_member(:target_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "TargetOriginId"))
|
764
|
-
DefaultCacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: 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"))
|
765
815
|
DefaultCacheBehavior.add_member(:viewer_protocol_policy, Shapes::ShapeRef.new(shape: ViewerProtocolPolicy, required: true, location_name: "ViewerProtocolPolicy"))
|
766
816
|
DefaultCacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
|
767
817
|
DefaultCacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
|
@@ -797,6 +847,10 @@ module Aws::CloudFront
|
|
797
847
|
DeleteFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
798
848
|
DeleteFieldLevelEncryptionProfileRequest.struct_class = Types::DeleteFieldLevelEncryptionProfileRequest
|
799
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
|
+
|
800
854
|
DeleteMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
|
801
855
|
DeleteMonitoringSubscriptionRequest.struct_class = Types::DeleteMonitoringSubscriptionRequest
|
802
856
|
|
@@ -824,7 +878,8 @@ module Aws::CloudFront
|
|
824
878
|
Distribution.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
|
825
879
|
Distribution.add_member(:in_progress_invalidation_batches, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "InProgressInvalidationBatches"))
|
826
880
|
Distribution.add_member(:domain_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "DomainName"))
|
827
|
-
Distribution.add_member(:active_trusted_signers, Shapes::ShapeRef.new(shape: 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"))
|
828
883
|
Distribution.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig"))
|
829
884
|
Distribution.add_member(:alias_icp_recordals, Shapes::ShapeRef.new(shape: AliasICPRecordals, location_name: "AliasICPRecordals"))
|
830
885
|
Distribution.struct_class = Types::Distribution
|
@@ -1102,6 +1157,24 @@ module Aws::CloudFront
|
|
1102
1157
|
GetInvalidationResult[:payload] = :invalidation
|
1103
1158
|
GetInvalidationResult[:payload_member] = GetInvalidationResult.member(:invalidation)
|
1104
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
|
+
|
1105
1178
|
GetMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
|
1106
1179
|
GetMonitoringSubscriptionRequest.struct_class = Types::GetMonitoringSubscriptionRequest
|
1107
1180
|
|
@@ -1283,6 +1356,36 @@ module Aws::CloudFront
|
|
1283
1356
|
|
1284
1357
|
InvalidationSummaryList.member = Shapes::ShapeRef.new(shape: InvalidationSummary, location_name: "InvalidationSummary")
|
1285
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
|
+
|
1286
1389
|
KeyPairIdList.member = Shapes::ShapeRef.new(shape: string, location_name: "KeyPairId")
|
1287
1390
|
|
1288
1391
|
KeyPairIds.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
@@ -1333,6 +1436,16 @@ module Aws::CloudFront
|
|
1333
1436
|
ListDistributionsByCachePolicyIdResult[:payload] = :distribution_id_list
|
1334
1437
|
ListDistributionsByCachePolicyIdResult[:payload_member] = ListDistributionsByCachePolicyIdResult.member(:distribution_id_list)
|
1335
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
|
+
|
1336
1449
|
ListDistributionsByOriginRequestPolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
1337
1450
|
ListDistributionsByOriginRequestPolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
|
1338
1451
|
ListDistributionsByOriginRequestPolicyIdRequest.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "OriginRequestPolicyId"))
|
@@ -1401,6 +1514,15 @@ module Aws::CloudFront
|
|
1401
1514
|
ListInvalidationsResult[:payload] = :invalidation_list
|
1402
1515
|
ListInvalidationsResult[:payload_member] = ListInvalidationsResult.member(:invalidation_list)
|
1403
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
|
+
|
1404
1526
|
ListOriginRequestPoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: OriginRequestPolicyType, location: "querystring", location_name: "Type"))
|
1405
1527
|
ListOriginRequestPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
1406
1528
|
ListOriginRequestPoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
|
@@ -1624,6 +1746,8 @@ module Aws::CloudFront
|
|
1624
1746
|
PublicKeyConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
|
1625
1747
|
PublicKeyConfig.struct_class = Types::PublicKeyConfig
|
1626
1748
|
|
1749
|
+
PublicKeyIdList.member = Shapes::ShapeRef.new(shape: string, location_name: "PublicKey")
|
1750
|
+
|
1627
1751
|
PublicKeyInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1628
1752
|
PublicKeyInUse.struct_class = Types::PublicKeyInUse
|
1629
1753
|
|
@@ -1696,6 +1820,9 @@ module Aws::CloudFront
|
|
1696
1820
|
RealtimeMetricsSubscriptionConfig.add_member(:realtime_metrics_subscription_status, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionStatus, required: true, location_name: "RealtimeMetricsSubscriptionStatus"))
|
1697
1821
|
RealtimeMetricsSubscriptionConfig.struct_class = Types::RealtimeMetricsSubscriptionConfig
|
1698
1822
|
|
1823
|
+
ResourceInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1824
|
+
ResourceInUse.struct_class = Types::ResourceInUse
|
1825
|
+
|
1699
1826
|
Restrictions.add_member(:geo_restriction, Shapes::ShapeRef.new(shape: GeoRestriction, required: true, location_name: "GeoRestriction"))
|
1700
1827
|
Restrictions.struct_class = Types::Restrictions
|
1701
1828
|
|
@@ -1830,6 +1957,9 @@ module Aws::CloudFront
|
|
1830
1957
|
TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1831
1958
|
TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.struct_class = Types::TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
|
1832
1959
|
|
1960
|
+
TooManyDistributionsAssociatedToKeyGroup.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1961
|
+
TooManyDistributionsAssociatedToKeyGroup.struct_class = Types::TooManyDistributionsAssociatedToKeyGroup
|
1962
|
+
|
1833
1963
|
TooManyDistributionsAssociatedToOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1834
1964
|
TooManyDistributionsAssociatedToOriginRequestPolicy.struct_class = Types::TooManyDistributionsAssociatedToOriginRequestPolicy
|
1835
1965
|
|
@@ -1869,6 +1999,12 @@ module Aws::CloudFront
|
|
1869
1999
|
TooManyInvalidationsInProgress.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1870
2000
|
TooManyInvalidationsInProgress.struct_class = Types::TooManyInvalidationsInProgress
|
1871
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
|
+
|
1872
2008
|
TooManyLambdaFunctionAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1873
2009
|
TooManyLambdaFunctionAssociations.struct_class = Types::TooManyLambdaFunctionAssociations
|
1874
2010
|
|
@@ -1887,6 +2023,9 @@ module Aws::CloudFront
|
|
1887
2023
|
TooManyPublicKeys.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1888
2024
|
TooManyPublicKeys.struct_class = Types::TooManyPublicKeys
|
1889
2025
|
|
2026
|
+
TooManyPublicKeysInKeyGroup.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2027
|
+
TooManyPublicKeysInKeyGroup.struct_class = Types::TooManyPublicKeysInKeyGroup
|
2028
|
+
|
1890
2029
|
TooManyQueryStringParameters.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1891
2030
|
TooManyQueryStringParameters.struct_class = Types::TooManyQueryStringParameters
|
1892
2031
|
|
@@ -1908,6 +2047,16 @@ module Aws::CloudFront
|
|
1908
2047
|
TooManyTrustedSigners.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1909
2048
|
TooManyTrustedSigners.struct_class = Types::TooManyTrustedSigners
|
1910
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
|
+
|
1911
2060
|
TrustedSignerDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1912
2061
|
TrustedSignerDoesNotExist.struct_class = Types::TrustedSignerDoesNotExist
|
1913
2062
|
|
@@ -1987,6 +2136,19 @@ module Aws::CloudFront
|
|
1987
2136
|
UpdateFieldLevelEncryptionProfileResult[:payload] = :field_level_encryption_profile
|
1988
2137
|
UpdateFieldLevelEncryptionProfileResult[:payload_member] = UpdateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
|
1989
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
|
+
|
1990
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/"}}))
|
1991
2153
|
UpdateOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1992
2154
|
UpdateOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
@@ -2147,6 +2309,9 @@ module Aws::CloudFront
|
|
2147
2309
|
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
|
2148
2310
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
|
2149
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)
|
2150
2315
|
end)
|
2151
2316
|
|
2152
2317
|
api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2205,6 +2370,9 @@ module Aws::CloudFront
|
|
2205
2370
|
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
|
2206
2371
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
|
2207
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)
|
2208
2376
|
end)
|
2209
2377
|
|
2210
2378
|
api.add_operation(:create_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2254,6 +2422,18 @@ module Aws::CloudFront
|
|
2254
2422
|
o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
|
2255
2423
|
end)
|
2256
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
|
+
|
2257
2437
|
api.add_operation(:create_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
|
2258
2438
|
o.name = "CreateMonitoringSubscription2020_05_31"
|
2259
2439
|
o.http_method = "POST"
|
@@ -2305,6 +2485,7 @@ module Aws::CloudFront
|
|
2305
2485
|
o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigAlreadyExists)
|
2306
2486
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRealtimeLogConfigs)
|
2307
2487
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
2488
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
2308
2489
|
end)
|
2309
2490
|
|
2310
2491
|
api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2414,6 +2595,18 @@ module Aws::CloudFront
|
|
2414
2595
|
o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileInUse)
|
2415
2596
|
end)
|
2416
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
|
+
|
2417
2610
|
api.add_operation(:delete_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
|
2418
2611
|
o.name = "DeleteMonitoringSubscription2020_05_31"
|
2419
2612
|
o.http_method = "DELETE"
|
@@ -2465,6 +2658,7 @@ module Aws::CloudFront
|
|
2465
2658
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
|
2466
2659
|
o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigInUse)
|
2467
2660
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
2661
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
2468
2662
|
end)
|
2469
2663
|
|
2470
2664
|
api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2591,6 +2785,24 @@ module Aws::CloudFront
|
|
2591
2785
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
2592
2786
|
end)
|
2593
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
|
+
|
2594
2806
|
api.add_operation(:get_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
|
2595
2807
|
o.name = "GetMonitoringSubscription2020_05_31"
|
2596
2808
|
o.http_method = "GET"
|
@@ -2654,6 +2866,7 @@ module Aws::CloudFront
|
|
2654
2866
|
o.output = Shapes::ShapeRef.new(shape: GetRealtimeLogConfigResult)
|
2655
2867
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
|
2656
2868
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
2869
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
2657
2870
|
end)
|
2658
2871
|
|
2659
2872
|
api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2730,6 +2943,16 @@ module Aws::CloudFront
|
|
2730
2943
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
2731
2944
|
end)
|
2732
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
|
+
|
2733
2956
|
api.add_operation(:list_distributions_by_origin_request_policy_id, Seahorse::Model::Operation.new.tap do |o|
|
2734
2957
|
o.name = "ListDistributionsByOriginRequestPolicyId2020_05_31"
|
2735
2958
|
o.http_method = "GET"
|
@@ -2801,6 +3024,15 @@ module Aws::CloudFront
|
|
2801
3024
|
)
|
2802
3025
|
end)
|
2803
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
|
+
|
2804
3036
|
api.add_operation(:list_origin_request_policies, Seahorse::Model::Operation.new.tap do |o|
|
2805
3037
|
o.name = "ListOriginRequestPolicies2020_05_31"
|
2806
3038
|
o.http_method = "GET"
|
@@ -2827,6 +3059,9 @@ module Aws::CloudFront
|
|
2827
3059
|
o.http_request_uri = "/2020-05-31/realtime-log-config"
|
2828
3060
|
o.input = Shapes::ShapeRef.new(shape: ListRealtimeLogConfigsRequest)
|
2829
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)
|
2830
3065
|
end)
|
2831
3066
|
|
2832
3067
|
api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2971,6 +3206,9 @@ module Aws::CloudFront
|
|
2971
3206
|
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
|
2972
3207
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
|
2973
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)
|
2974
3212
|
end)
|
2975
3213
|
|
2976
3214
|
api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3012,6 +3250,20 @@ module Aws::CloudFront
|
|
3012
3250
|
o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
|
3013
3251
|
end)
|
3014
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
|
+
|
3015
3267
|
api.add_operation(:update_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
|
3016
3268
|
o.name = "UpdateOriginRequestPolicy2020_05_31"
|
3017
3269
|
o.http_method = "PUT"
|
@@ -3059,6 +3311,7 @@ module Aws::CloudFront
|
|
3059
3311
|
o.output = Shapes::ShapeRef.new(shape: UpdateRealtimeLogConfigResult)
|
3060
3312
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
|
3061
3313
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3314
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3062
3315
|
end)
|
3063
3316
|
|
3064
3317
|
api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
|