aws-sdk-cloudfront 1.64.0 → 1.67.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +307 -30
- data/lib/aws-sdk-cloudfront/client_api.rb +238 -4
- data/lib/aws-sdk-cloudfront/errors.rb +176 -0
- data/lib/aws-sdk-cloudfront/types.rb +671 -33
- data/lib/aws-sdk-cloudfront.rb +1 -1
- metadata +2 -2
@@ -87,6 +87,8 @@ module Aws::CloudFront
|
|
87
87
|
CreateKeyGroupResult = Shapes::StructureShape.new(name: 'CreateKeyGroupResult')
|
88
88
|
CreateMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateMonitoringSubscriptionRequest')
|
89
89
|
CreateMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'CreateMonitoringSubscriptionResult')
|
90
|
+
CreateOriginAccessControlRequest = Shapes::StructureShape.new(name: 'CreateOriginAccessControlRequest')
|
91
|
+
CreateOriginAccessControlResult = Shapes::StructureShape.new(name: 'CreateOriginAccessControlResult')
|
90
92
|
CreateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyRequest')
|
91
93
|
CreateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyResult')
|
92
94
|
CreatePublicKeyRequest = Shapes::StructureShape.new(name: 'CreatePublicKeyRequest')
|
@@ -114,6 +116,7 @@ module Aws::CloudFront
|
|
114
116
|
DeleteKeyGroupRequest = Shapes::StructureShape.new(name: 'DeleteKeyGroupRequest')
|
115
117
|
DeleteMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionRequest')
|
116
118
|
DeleteMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionResult')
|
119
|
+
DeleteOriginAccessControlRequest = Shapes::StructureShape.new(name: 'DeleteOriginAccessControlRequest')
|
117
120
|
DeleteOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'DeleteOriginRequestPolicyRequest')
|
118
121
|
DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest')
|
119
122
|
DeleteRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'DeleteRealtimeLogConfigRequest')
|
@@ -208,6 +211,10 @@ module Aws::CloudFront
|
|
208
211
|
GetKeyGroupResult = Shapes::StructureShape.new(name: 'GetKeyGroupResult')
|
209
212
|
GetMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'GetMonitoringSubscriptionRequest')
|
210
213
|
GetMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'GetMonitoringSubscriptionResult')
|
214
|
+
GetOriginAccessControlConfigRequest = Shapes::StructureShape.new(name: 'GetOriginAccessControlConfigRequest')
|
215
|
+
GetOriginAccessControlConfigResult = Shapes::StructureShape.new(name: 'GetOriginAccessControlConfigResult')
|
216
|
+
GetOriginAccessControlRequest = Shapes::StructureShape.new(name: 'GetOriginAccessControlRequest')
|
217
|
+
GetOriginAccessControlResult = Shapes::StructureShape.new(name: 'GetOriginAccessControlResult')
|
211
218
|
GetOriginRequestPolicyConfigRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigRequest')
|
212
219
|
GetOriginRequestPolicyConfigResult = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigResult')
|
213
220
|
GetOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyRequest')
|
@@ -232,10 +239,12 @@ module Aws::CloudFront
|
|
232
239
|
ICPRecordalStatus = Shapes::StringShape.new(name: 'ICPRecordalStatus')
|
233
240
|
IllegalDelete = Shapes::StructureShape.new(name: 'IllegalDelete')
|
234
241
|
IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior = Shapes::StructureShape.new(name: 'IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior')
|
242
|
+
IllegalOriginAccessConfiguration = Shapes::StructureShape.new(name: 'IllegalOriginAccessConfiguration')
|
235
243
|
IllegalUpdate = Shapes::StructureShape.new(name: 'IllegalUpdate')
|
236
244
|
InconsistentQuantities = Shapes::StructureShape.new(name: 'InconsistentQuantities')
|
237
245
|
InvalidArgument = Shapes::StructureShape.new(name: 'InvalidArgument')
|
238
246
|
InvalidDefaultRootObject = Shapes::StructureShape.new(name: 'InvalidDefaultRootObject')
|
247
|
+
InvalidDomainNameForOriginAccessControl = Shapes::StructureShape.new(name: 'InvalidDomainNameForOriginAccessControl')
|
239
248
|
InvalidErrorCode = Shapes::StructureShape.new(name: 'InvalidErrorCode')
|
240
249
|
InvalidForwardCookies = Shapes::StructureShape.new(name: 'InvalidForwardCookies')
|
241
250
|
InvalidFunctionAssociation = Shapes::StructureShape.new(name: 'InvalidFunctionAssociation')
|
@@ -246,6 +255,7 @@ module Aws::CloudFront
|
|
246
255
|
InvalidLocationCode = Shapes::StructureShape.new(name: 'InvalidLocationCode')
|
247
256
|
InvalidMinimumProtocolVersion = Shapes::StructureShape.new(name: 'InvalidMinimumProtocolVersion')
|
248
257
|
InvalidOrigin = Shapes::StructureShape.new(name: 'InvalidOrigin')
|
258
|
+
InvalidOriginAccessControl = Shapes::StructureShape.new(name: 'InvalidOriginAccessControl')
|
249
259
|
InvalidOriginAccessIdentity = Shapes::StructureShape.new(name: 'InvalidOriginAccessIdentity')
|
250
260
|
InvalidOriginKeepaliveTimeout = Shapes::StructureShape.new(name: 'InvalidOriginKeepaliveTimeout')
|
251
261
|
InvalidOriginReadTimeout = Shapes::StructureShape.new(name: 'InvalidOriginReadTimeout')
|
@@ -309,6 +319,8 @@ module Aws::CloudFront
|
|
309
319
|
ListInvalidationsResult = Shapes::StructureShape.new(name: 'ListInvalidationsResult')
|
310
320
|
ListKeyGroupsRequest = Shapes::StructureShape.new(name: 'ListKeyGroupsRequest')
|
311
321
|
ListKeyGroupsResult = Shapes::StructureShape.new(name: 'ListKeyGroupsResult')
|
322
|
+
ListOriginAccessControlsRequest = Shapes::StructureShape.new(name: 'ListOriginAccessControlsRequest')
|
323
|
+
ListOriginAccessControlsResult = Shapes::StructureShape.new(name: 'ListOriginAccessControlsResult')
|
312
324
|
ListOriginRequestPoliciesRequest = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesRequest')
|
313
325
|
ListOriginRequestPoliciesResult = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesResult')
|
314
326
|
ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
|
@@ -328,6 +340,7 @@ module Aws::CloudFront
|
|
328
340
|
MinimumProtocolVersion = Shapes::StringShape.new(name: 'MinimumProtocolVersion')
|
329
341
|
MissingBody = Shapes::StructureShape.new(name: 'MissingBody')
|
330
342
|
MonitoringSubscription = Shapes::StructureShape.new(name: 'MonitoringSubscription')
|
343
|
+
MonitoringSubscriptionAlreadyExists = Shapes::StructureShape.new(name: 'MonitoringSubscriptionAlreadyExists')
|
331
344
|
NoSuchCachePolicy = Shapes::StructureShape.new(name: 'NoSuchCachePolicy')
|
332
345
|
NoSuchCloudFrontOriginAccessIdentity = Shapes::StructureShape.new(name: 'NoSuchCloudFrontOriginAccessIdentity')
|
333
346
|
NoSuchDistribution = Shapes::StructureShape.new(name: 'NoSuchDistribution')
|
@@ -335,7 +348,9 @@ module Aws::CloudFront
|
|
335
348
|
NoSuchFieldLevelEncryptionProfile = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionProfile')
|
336
349
|
NoSuchFunctionExists = Shapes::StructureShape.new(name: 'NoSuchFunctionExists')
|
337
350
|
NoSuchInvalidation = Shapes::StructureShape.new(name: 'NoSuchInvalidation')
|
351
|
+
NoSuchMonitoringSubscription = Shapes::StructureShape.new(name: 'NoSuchMonitoringSubscription')
|
338
352
|
NoSuchOrigin = Shapes::StructureShape.new(name: 'NoSuchOrigin')
|
353
|
+
NoSuchOriginAccessControl = Shapes::StructureShape.new(name: 'NoSuchOriginAccessControl')
|
339
354
|
NoSuchOriginRequestPolicy = Shapes::StructureShape.new(name: 'NoSuchOriginRequestPolicy')
|
340
355
|
NoSuchPublicKey = Shapes::StructureShape.new(name: 'NoSuchPublicKey')
|
341
356
|
NoSuchRealtimeLogConfig = Shapes::StructureShape.new(name: 'NoSuchRealtimeLogConfig')
|
@@ -343,6 +358,16 @@ module Aws::CloudFront
|
|
343
358
|
NoSuchResponseHeadersPolicy = Shapes::StructureShape.new(name: 'NoSuchResponseHeadersPolicy')
|
344
359
|
NoSuchStreamingDistribution = Shapes::StructureShape.new(name: 'NoSuchStreamingDistribution')
|
345
360
|
Origin = Shapes::StructureShape.new(name: 'Origin')
|
361
|
+
OriginAccessControl = Shapes::StructureShape.new(name: 'OriginAccessControl')
|
362
|
+
OriginAccessControlAlreadyExists = Shapes::StructureShape.new(name: 'OriginAccessControlAlreadyExists')
|
363
|
+
OriginAccessControlConfig = Shapes::StructureShape.new(name: 'OriginAccessControlConfig')
|
364
|
+
OriginAccessControlInUse = Shapes::StructureShape.new(name: 'OriginAccessControlInUse')
|
365
|
+
OriginAccessControlList = Shapes::StructureShape.new(name: 'OriginAccessControlList')
|
366
|
+
OriginAccessControlOriginTypes = Shapes::StringShape.new(name: 'OriginAccessControlOriginTypes')
|
367
|
+
OriginAccessControlSigningBehaviors = Shapes::StringShape.new(name: 'OriginAccessControlSigningBehaviors')
|
368
|
+
OriginAccessControlSigningProtocols = Shapes::StringShape.new(name: 'OriginAccessControlSigningProtocols')
|
369
|
+
OriginAccessControlSummary = Shapes::StructureShape.new(name: 'OriginAccessControlSummary')
|
370
|
+
OriginAccessControlSummaryList = Shapes::ListShape.new(name: 'OriginAccessControlSummaryList')
|
346
371
|
OriginCustomHeader = Shapes::StructureShape.new(name: 'OriginCustomHeader')
|
347
372
|
OriginCustomHeadersList = Shapes::ListShape.new(name: 'OriginCustomHeadersList')
|
348
373
|
OriginGroup = Shapes::StructureShape.new(name: 'OriginGroup')
|
@@ -464,6 +489,7 @@ module Aws::CloudFront
|
|
464
489
|
TestFunctionRequest = Shapes::StructureShape.new(name: 'TestFunctionRequest')
|
465
490
|
TestFunctionResult = Shapes::StructureShape.new(name: 'TestFunctionResult')
|
466
491
|
TestResult = Shapes::StructureShape.new(name: 'TestResult')
|
492
|
+
TooLongCSPInResponseHeadersPolicy = Shapes::StructureShape.new(name: 'TooLongCSPInResponseHeadersPolicy')
|
467
493
|
TooManyCacheBehaviors = Shapes::StructureShape.new(name: 'TooManyCacheBehaviors')
|
468
494
|
TooManyCachePolicies = Shapes::StructureShape.new(name: 'TooManyCachePolicies')
|
469
495
|
TooManyCertificates = Shapes::StructureShape.new(name: 'TooManyCertificates')
|
@@ -477,6 +503,7 @@ module Aws::CloudFront
|
|
477
503
|
TooManyDistributionsAssociatedToCachePolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToCachePolicy')
|
478
504
|
TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToFieldLevelEncryptionConfig')
|
479
505
|
TooManyDistributionsAssociatedToKeyGroup = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToKeyGroup')
|
506
|
+
TooManyDistributionsAssociatedToOriginAccessControl = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginAccessControl')
|
480
507
|
TooManyDistributionsAssociatedToOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginRequestPolicy')
|
481
508
|
TooManyDistributionsAssociatedToResponseHeadersPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToResponseHeadersPolicy')
|
482
509
|
TooManyDistributionsWithFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithFunctionAssociations')
|
@@ -497,6 +524,7 @@ module Aws::CloudFront
|
|
497
524
|
TooManyKeyGroups = Shapes::StructureShape.new(name: 'TooManyKeyGroups')
|
498
525
|
TooManyKeyGroupsAssociatedToDistribution = Shapes::StructureShape.new(name: 'TooManyKeyGroupsAssociatedToDistribution')
|
499
526
|
TooManyLambdaFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyLambdaFunctionAssociations')
|
527
|
+
TooManyOriginAccessControls = Shapes::StructureShape.new(name: 'TooManyOriginAccessControls')
|
500
528
|
TooManyOriginCustomHeaders = Shapes::StructureShape.new(name: 'TooManyOriginCustomHeaders')
|
501
529
|
TooManyOriginGroupsPerDistribution = Shapes::StructureShape.new(name: 'TooManyOriginGroupsPerDistribution')
|
502
530
|
TooManyOriginRequestPolicies = Shapes::StructureShape.new(name: 'TooManyOriginRequestPolicies')
|
@@ -532,6 +560,8 @@ module Aws::CloudFront
|
|
532
560
|
UpdateFunctionResult = Shapes::StructureShape.new(name: 'UpdateFunctionResult')
|
533
561
|
UpdateKeyGroupRequest = Shapes::StructureShape.new(name: 'UpdateKeyGroupRequest')
|
534
562
|
UpdateKeyGroupResult = Shapes::StructureShape.new(name: 'UpdateKeyGroupResult')
|
563
|
+
UpdateOriginAccessControlRequest = Shapes::StructureShape.new(name: 'UpdateOriginAccessControlRequest')
|
564
|
+
UpdateOriginAccessControlResult = Shapes::StructureShape.new(name: 'UpdateOriginAccessControlResult')
|
535
565
|
UpdateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyRequest')
|
536
566
|
UpdateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyResult')
|
537
567
|
UpdatePublicKeyRequest = Shapes::StructureShape.new(name: 'UpdatePublicKeyRequest')
|
@@ -868,6 +898,18 @@ module Aws::CloudFront
|
|
868
898
|
CreateMonitoringSubscriptionResult[:payload] = :monitoring_subscription
|
869
899
|
CreateMonitoringSubscriptionResult[:payload_member] = CreateMonitoringSubscriptionResult.member(:monitoring_subscription)
|
870
900
|
|
901
|
+
CreateOriginAccessControlRequest.add_member(:origin_access_control_config, Shapes::ShapeRef.new(shape: OriginAccessControlConfig, required: true, location_name: "OriginAccessControlConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
|
902
|
+
CreateOriginAccessControlRequest.struct_class = Types::CreateOriginAccessControlRequest
|
903
|
+
CreateOriginAccessControlRequest[:payload] = :origin_access_control_config
|
904
|
+
CreateOriginAccessControlRequest[:payload_member] = CreateOriginAccessControlRequest.member(:origin_access_control_config)
|
905
|
+
|
906
|
+
CreateOriginAccessControlResult.add_member(:origin_access_control, Shapes::ShapeRef.new(shape: OriginAccessControl, location_name: "OriginAccessControl"))
|
907
|
+
CreateOriginAccessControlResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
|
908
|
+
CreateOriginAccessControlResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
909
|
+
CreateOriginAccessControlResult.struct_class = Types::CreateOriginAccessControlResult
|
910
|
+
CreateOriginAccessControlResult[:payload] = :origin_access_control
|
911
|
+
CreateOriginAccessControlResult[:payload_member] = CreateOriginAccessControlResult.member(:origin_access_control)
|
912
|
+
|
871
913
|
CreateOriginRequestPolicyRequest.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/"}}))
|
872
914
|
CreateOriginRequestPolicyRequest.struct_class = Types::CreateOriginRequestPolicyRequest
|
873
915
|
CreateOriginRequestPolicyRequest[:payload] = :origin_request_policy_config
|
@@ -1014,6 +1056,10 @@ module Aws::CloudFront
|
|
1014
1056
|
|
1015
1057
|
DeleteMonitoringSubscriptionResult.struct_class = Types::DeleteMonitoringSubscriptionResult
|
1016
1058
|
|
1059
|
+
DeleteOriginAccessControlRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1060
|
+
DeleteOriginAccessControlRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
1061
|
+
DeleteOriginAccessControlRequest.struct_class = Types::DeleteOriginAccessControlRequest
|
1062
|
+
|
1017
1063
|
DeleteOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1018
1064
|
DeleteOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
1019
1065
|
DeleteOriginRequestPolicyRequest.struct_class = Types::DeleteOriginRequestPolicyRequest
|
@@ -1411,6 +1457,24 @@ module Aws::CloudFront
|
|
1411
1457
|
GetMonitoringSubscriptionResult[:payload] = :monitoring_subscription
|
1412
1458
|
GetMonitoringSubscriptionResult[:payload_member] = GetMonitoringSubscriptionResult.member(:monitoring_subscription)
|
1413
1459
|
|
1460
|
+
GetOriginAccessControlConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1461
|
+
GetOriginAccessControlConfigRequest.struct_class = Types::GetOriginAccessControlConfigRequest
|
1462
|
+
|
1463
|
+
GetOriginAccessControlConfigResult.add_member(:origin_access_control_config, Shapes::ShapeRef.new(shape: OriginAccessControlConfig, location_name: "OriginAccessControlConfig"))
|
1464
|
+
GetOriginAccessControlConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
1465
|
+
GetOriginAccessControlConfigResult.struct_class = Types::GetOriginAccessControlConfigResult
|
1466
|
+
GetOriginAccessControlConfigResult[:payload] = :origin_access_control_config
|
1467
|
+
GetOriginAccessControlConfigResult[:payload_member] = GetOriginAccessControlConfigResult.member(:origin_access_control_config)
|
1468
|
+
|
1469
|
+
GetOriginAccessControlRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1470
|
+
GetOriginAccessControlRequest.struct_class = Types::GetOriginAccessControlRequest
|
1471
|
+
|
1472
|
+
GetOriginAccessControlResult.add_member(:origin_access_control, Shapes::ShapeRef.new(shape: OriginAccessControl, location_name: "OriginAccessControl"))
|
1473
|
+
GetOriginAccessControlResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
1474
|
+
GetOriginAccessControlResult.struct_class = Types::GetOriginAccessControlResult
|
1475
|
+
GetOriginAccessControlResult[:payload] = :origin_access_control
|
1476
|
+
GetOriginAccessControlResult[:payload_member] = GetOriginAccessControlResult.member(:origin_access_control)
|
1477
|
+
|
1414
1478
|
GetOriginRequestPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
1415
1479
|
GetOriginRequestPolicyConfigRequest.struct_class = Types::GetOriginRequestPolicyConfigRequest
|
1416
1480
|
|
@@ -1502,6 +1566,9 @@ module Aws::CloudFront
|
|
1502
1566
|
IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1503
1567
|
IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.struct_class = Types::IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
|
1504
1568
|
|
1569
|
+
IllegalOriginAccessConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1570
|
+
IllegalOriginAccessConfiguration.struct_class = Types::IllegalOriginAccessConfiguration
|
1571
|
+
|
1505
1572
|
IllegalUpdate.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1506
1573
|
IllegalUpdate.struct_class = Types::IllegalUpdate
|
1507
1574
|
|
@@ -1514,6 +1581,9 @@ module Aws::CloudFront
|
|
1514
1581
|
InvalidDefaultRootObject.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1515
1582
|
InvalidDefaultRootObject.struct_class = Types::InvalidDefaultRootObject
|
1516
1583
|
|
1584
|
+
InvalidDomainNameForOriginAccessControl.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1585
|
+
InvalidDomainNameForOriginAccessControl.struct_class = Types::InvalidDomainNameForOriginAccessControl
|
1586
|
+
|
1517
1587
|
InvalidErrorCode.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1518
1588
|
InvalidErrorCode.struct_class = Types::InvalidErrorCode
|
1519
1589
|
|
@@ -1544,6 +1614,9 @@ module Aws::CloudFront
|
|
1544
1614
|
InvalidOrigin.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1545
1615
|
InvalidOrigin.struct_class = Types::InvalidOrigin
|
1546
1616
|
|
1617
|
+
InvalidOriginAccessControl.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1618
|
+
InvalidOriginAccessControl.struct_class = Types::InvalidOriginAccessControl
|
1619
|
+
|
1547
1620
|
InvalidOriginAccessIdentity.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1548
1621
|
InvalidOriginAccessIdentity.struct_class = Types::InvalidOriginAccessIdentity
|
1549
1622
|
|
@@ -1803,6 +1876,15 @@ module Aws::CloudFront
|
|
1803
1876
|
ListKeyGroupsResult[:payload] = :key_group_list
|
1804
1877
|
ListKeyGroupsResult[:payload_member] = ListKeyGroupsResult.member(:key_group_list)
|
1805
1878
|
|
1879
|
+
ListOriginAccessControlsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
1880
|
+
ListOriginAccessControlsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
|
1881
|
+
ListOriginAccessControlsRequest.struct_class = Types::ListOriginAccessControlsRequest
|
1882
|
+
|
1883
|
+
ListOriginAccessControlsResult.add_member(:origin_access_control_list, Shapes::ShapeRef.new(shape: OriginAccessControlList, location_name: "OriginAccessControlList"))
|
1884
|
+
ListOriginAccessControlsResult.struct_class = Types::ListOriginAccessControlsResult
|
1885
|
+
ListOriginAccessControlsResult[:payload] = :origin_access_control_list
|
1886
|
+
ListOriginAccessControlsResult[:payload_member] = ListOriginAccessControlsResult.member(:origin_access_control_list)
|
1887
|
+
|
1806
1888
|
ListOriginRequestPoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: OriginRequestPolicyType, location: "querystring", location_name: "Type"))
|
1807
1889
|
ListOriginRequestPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
1808
1890
|
ListOriginRequestPoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
|
@@ -1874,6 +1956,9 @@ module Aws::CloudFront
|
|
1874
1956
|
MonitoringSubscription.add_member(:realtime_metrics_subscription_config, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionConfig, location_name: "RealtimeMetricsSubscriptionConfig"))
|
1875
1957
|
MonitoringSubscription.struct_class = Types::MonitoringSubscription
|
1876
1958
|
|
1959
|
+
MonitoringSubscriptionAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1960
|
+
MonitoringSubscriptionAlreadyExists.struct_class = Types::MonitoringSubscriptionAlreadyExists
|
1961
|
+
|
1877
1962
|
NoSuchCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1878
1963
|
NoSuchCachePolicy.struct_class = Types::NoSuchCachePolicy
|
1879
1964
|
|
@@ -1895,9 +1980,15 @@ module Aws::CloudFront
|
|
1895
1980
|
NoSuchInvalidation.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1896
1981
|
NoSuchInvalidation.struct_class = Types::NoSuchInvalidation
|
1897
1982
|
|
1983
|
+
NoSuchMonitoringSubscription.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1984
|
+
NoSuchMonitoringSubscription.struct_class = Types::NoSuchMonitoringSubscription
|
1985
|
+
|
1898
1986
|
NoSuchOrigin.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1899
1987
|
NoSuchOrigin.struct_class = Types::NoSuchOrigin
|
1900
1988
|
|
1989
|
+
NoSuchOriginAccessControl.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1990
|
+
NoSuchOriginAccessControl.struct_class = Types::NoSuchOriginAccessControl
|
1991
|
+
|
1901
1992
|
NoSuchOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1902
1993
|
NoSuchOriginRequestPolicy.struct_class = Types::NoSuchOriginRequestPolicy
|
1903
1994
|
|
@@ -1925,8 +2016,44 @@ module Aws::CloudFront
|
|
1925
2016
|
Origin.add_member(:connection_attempts, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionAttempts"))
|
1926
2017
|
Origin.add_member(:connection_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionTimeout"))
|
1927
2018
|
Origin.add_member(:origin_shield, Shapes::ShapeRef.new(shape: OriginShield, location_name: "OriginShield"))
|
2019
|
+
Origin.add_member(:origin_access_control_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginAccessControlId"))
|
1928
2020
|
Origin.struct_class = Types::Origin
|
1929
2021
|
|
2022
|
+
OriginAccessControl.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
|
2023
|
+
OriginAccessControl.add_member(:origin_access_control_config, Shapes::ShapeRef.new(shape: OriginAccessControlConfig, location_name: "OriginAccessControlConfig"))
|
2024
|
+
OriginAccessControl.struct_class = Types::OriginAccessControl
|
2025
|
+
|
2026
|
+
OriginAccessControlAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2027
|
+
OriginAccessControlAlreadyExists.struct_class = Types::OriginAccessControlAlreadyExists
|
2028
|
+
|
2029
|
+
OriginAccessControlConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
|
2030
|
+
OriginAccessControlConfig.add_member(:description, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Description"))
|
2031
|
+
OriginAccessControlConfig.add_member(:signing_protocol, Shapes::ShapeRef.new(shape: OriginAccessControlSigningProtocols, required: true, location_name: "SigningProtocol"))
|
2032
|
+
OriginAccessControlConfig.add_member(:signing_behavior, Shapes::ShapeRef.new(shape: OriginAccessControlSigningBehaviors, required: true, location_name: "SigningBehavior"))
|
2033
|
+
OriginAccessControlConfig.add_member(:origin_access_control_origin_type, Shapes::ShapeRef.new(shape: OriginAccessControlOriginTypes, required: true, location_name: "OriginAccessControlOriginType"))
|
2034
|
+
OriginAccessControlConfig.struct_class = Types::OriginAccessControlConfig
|
2035
|
+
|
2036
|
+
OriginAccessControlInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2037
|
+
OriginAccessControlInUse.struct_class = Types::OriginAccessControlInUse
|
2038
|
+
|
2039
|
+
OriginAccessControlList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
|
2040
|
+
OriginAccessControlList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
|
2041
|
+
OriginAccessControlList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
|
2042
|
+
OriginAccessControlList.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
|
2043
|
+
OriginAccessControlList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
2044
|
+
OriginAccessControlList.add_member(:items, Shapes::ShapeRef.new(shape: OriginAccessControlSummaryList, location_name: "Items"))
|
2045
|
+
OriginAccessControlList.struct_class = Types::OriginAccessControlList
|
2046
|
+
|
2047
|
+
OriginAccessControlSummary.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
|
2048
|
+
OriginAccessControlSummary.add_member(:description, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Description"))
|
2049
|
+
OriginAccessControlSummary.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
|
2050
|
+
OriginAccessControlSummary.add_member(:signing_protocol, Shapes::ShapeRef.new(shape: OriginAccessControlSigningProtocols, required: true, location_name: "SigningProtocol"))
|
2051
|
+
OriginAccessControlSummary.add_member(:signing_behavior, Shapes::ShapeRef.new(shape: OriginAccessControlSigningBehaviors, required: true, location_name: "SigningBehavior"))
|
2052
|
+
OriginAccessControlSummary.add_member(:origin_access_control_origin_type, Shapes::ShapeRef.new(shape: OriginAccessControlOriginTypes, required: true, location_name: "OriginAccessControlOriginType"))
|
2053
|
+
OriginAccessControlSummary.struct_class = Types::OriginAccessControlSummary
|
2054
|
+
|
2055
|
+
OriginAccessControlSummaryList.member = Shapes::ShapeRef.new(shape: OriginAccessControlSummary, location_name: "OriginAccessControlSummary")
|
2056
|
+
|
1930
2057
|
OriginCustomHeader.add_member(:header_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "HeaderName"))
|
1931
2058
|
OriginCustomHeader.add_member(:header_value, Shapes::ShapeRef.new(shape: sensitiveStringType, required: true, location_name: "HeaderValue"))
|
1932
2059
|
OriginCustomHeader.struct_class = Types::OriginCustomHeader
|
@@ -2159,8 +2286,8 @@ module Aws::CloudFront
|
|
2159
2286
|
ResponseHeadersPolicyConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
|
2160
2287
|
ResponseHeadersPolicyConfig.add_member(:cors_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyCorsConfig, location_name: "CorsConfig"))
|
2161
2288
|
ResponseHeadersPolicyConfig.add_member(:security_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicySecurityHeadersConfig, location_name: "SecurityHeadersConfig"))
|
2162
|
-
ResponseHeadersPolicyConfig.add_member(:custom_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyCustomHeadersConfig, location_name: "CustomHeadersConfig"))
|
2163
2289
|
ResponseHeadersPolicyConfig.add_member(:server_timing_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyServerTimingHeadersConfig, location_name: "ServerTimingHeadersConfig"))
|
2290
|
+
ResponseHeadersPolicyConfig.add_member(:custom_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyCustomHeadersConfig, location_name: "CustomHeadersConfig"))
|
2164
2291
|
ResponseHeadersPolicyConfig.struct_class = Types::ResponseHeadersPolicyConfig
|
2165
2292
|
|
2166
2293
|
ResponseHeadersPolicyContentSecurityPolicy.add_member(:override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Override"))
|
@@ -2359,6 +2486,9 @@ module Aws::CloudFront
|
|
2359
2486
|
TestResult.add_member(:function_output, Shapes::ShapeRef.new(shape: sensitiveStringType, location_name: "FunctionOutput"))
|
2360
2487
|
TestResult.struct_class = Types::TestResult
|
2361
2488
|
|
2489
|
+
TooLongCSPInResponseHeadersPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2490
|
+
TooLongCSPInResponseHeadersPolicy.struct_class = Types::TooLongCSPInResponseHeadersPolicy
|
2491
|
+
|
2362
2492
|
TooManyCacheBehaviors.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2363
2493
|
TooManyCacheBehaviors.struct_class = Types::TooManyCacheBehaviors
|
2364
2494
|
|
@@ -2398,6 +2528,9 @@ module Aws::CloudFront
|
|
2398
2528
|
TooManyDistributionsAssociatedToKeyGroup.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2399
2529
|
TooManyDistributionsAssociatedToKeyGroup.struct_class = Types::TooManyDistributionsAssociatedToKeyGroup
|
2400
2530
|
|
2531
|
+
TooManyDistributionsAssociatedToOriginAccessControl.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2532
|
+
TooManyDistributionsAssociatedToOriginAccessControl.struct_class = Types::TooManyDistributionsAssociatedToOriginAccessControl
|
2533
|
+
|
2401
2534
|
TooManyDistributionsAssociatedToOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2402
2535
|
TooManyDistributionsAssociatedToOriginRequestPolicy.struct_class = Types::TooManyDistributionsAssociatedToOriginRequestPolicy
|
2403
2536
|
|
@@ -2458,6 +2591,9 @@ module Aws::CloudFront
|
|
2458
2591
|
TooManyLambdaFunctionAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2459
2592
|
TooManyLambdaFunctionAssociations.struct_class = Types::TooManyLambdaFunctionAssociations
|
2460
2593
|
|
2594
|
+
TooManyOriginAccessControls.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2595
|
+
TooManyOriginAccessControls.struct_class = Types::TooManyOriginAccessControls
|
2596
|
+
|
2461
2597
|
TooManyOriginCustomHeaders.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
2462
2598
|
TooManyOriginCustomHeaders.struct_class = Types::TooManyOriginCustomHeaders
|
2463
2599
|
|
@@ -2617,6 +2753,19 @@ module Aws::CloudFront
|
|
2617
2753
|
UpdateKeyGroupResult[:payload] = :key_group
|
2618
2754
|
UpdateKeyGroupResult[:payload_member] = UpdateKeyGroupResult.member(:key_group)
|
2619
2755
|
|
2756
|
+
UpdateOriginAccessControlRequest.add_member(:origin_access_control_config, Shapes::ShapeRef.new(shape: OriginAccessControlConfig, required: true, location_name: "OriginAccessControlConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
|
2757
|
+
UpdateOriginAccessControlRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
2758
|
+
UpdateOriginAccessControlRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
2759
|
+
UpdateOriginAccessControlRequest.struct_class = Types::UpdateOriginAccessControlRequest
|
2760
|
+
UpdateOriginAccessControlRequest[:payload] = :origin_access_control_config
|
2761
|
+
UpdateOriginAccessControlRequest[:payload_member] = UpdateOriginAccessControlRequest.member(:origin_access_control_config)
|
2762
|
+
|
2763
|
+
UpdateOriginAccessControlResult.add_member(:origin_access_control, Shapes::ShapeRef.new(shape: OriginAccessControl, location_name: "OriginAccessControl"))
|
2764
|
+
UpdateOriginAccessControlResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
2765
|
+
UpdateOriginAccessControlResult.struct_class = Types::UpdateOriginAccessControlResult
|
2766
|
+
UpdateOriginAccessControlResult[:payload] = :origin_access_control
|
2767
|
+
UpdateOriginAccessControlResult[:payload_member] = UpdateOriginAccessControlResult.member(:origin_access_control)
|
2768
|
+
|
2620
2769
|
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/"}}))
|
2621
2770
|
UpdateOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
2622
2771
|
UpdateOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
@@ -2758,6 +2907,9 @@ module Aws::CloudFront
|
|
2758
2907
|
o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
|
2759
2908
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
|
2760
2909
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
|
2910
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
|
2911
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
|
2912
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
|
2761
2913
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
2762
2914
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
|
2763
2915
|
o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
|
@@ -2813,6 +2965,7 @@ module Aws::CloudFront
|
|
2813
2965
|
o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
|
2814
2966
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
|
2815
2967
|
o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
|
2968
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
|
2816
2969
|
end)
|
2817
2970
|
|
2818
2971
|
api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2825,6 +2978,7 @@ module Aws::CloudFront
|
|
2825
2978
|
o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
|
2826
2979
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
|
2827
2980
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
|
2981
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
|
2828
2982
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
2829
2983
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
|
2830
2984
|
o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
|
@@ -2881,6 +3035,7 @@ module Aws::CloudFront
|
|
2881
3035
|
o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
|
2882
3036
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
|
2883
3037
|
o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
|
3038
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
|
2884
3039
|
end)
|
2885
3040
|
|
2886
3041
|
api.add_operation(:create_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2963,14 +3118,26 @@ module Aws::CloudFront
|
|
2963
3118
|
api.add_operation(:create_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
|
2964
3119
|
o.name = "CreateMonitoringSubscription2020_05_31"
|
2965
3120
|
o.http_method = "POST"
|
2966
|
-
o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
|
3121
|
+
o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
|
2967
3122
|
o.input = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionRequest)
|
2968
3123
|
o.output = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionResult)
|
2969
3124
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
2970
3125
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
|
3126
|
+
o.errors << Shapes::ShapeRef.new(shape: MonitoringSubscriptionAlreadyExists)
|
2971
3127
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
2972
3128
|
end)
|
2973
3129
|
|
3130
|
+
api.add_operation(:create_origin_access_control, Seahorse::Model::Operation.new.tap do |o|
|
3131
|
+
o.name = "CreateOriginAccessControl2020_05_31"
|
3132
|
+
o.http_method = "POST"
|
3133
|
+
o.http_request_uri = "/2020-05-31/origin-access-control"
|
3134
|
+
o.input = Shapes::ShapeRef.new(shape: CreateOriginAccessControlRequest)
|
3135
|
+
o.output = Shapes::ShapeRef.new(shape: CreateOriginAccessControlResult)
|
3136
|
+
o.errors << Shapes::ShapeRef.new(shape: OriginAccessControlAlreadyExists)
|
3137
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyOriginAccessControls)
|
3138
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3139
|
+
end)
|
3140
|
+
|
2974
3141
|
api.add_operation(:create_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
|
2975
3142
|
o.name = "CreateOriginRequestPolicy2020_05_31"
|
2976
3143
|
o.http_method = "POST"
|
@@ -3027,6 +3194,7 @@ module Aws::CloudFront
|
|
3027
3194
|
o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
|
3028
3195
|
o.errors << Shapes::ShapeRef.new(shape: TooManyResponseHeadersPolicies)
|
3029
3196
|
o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy)
|
3197
|
+
o.errors << Shapes::ShapeRef.new(shape: TooLongCSPInResponseHeadersPolicy)
|
3030
3198
|
end)
|
3031
3199
|
|
3032
3200
|
api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3039,6 +3207,7 @@ module Aws::CloudFront
|
|
3039
3207
|
o.errors << Shapes::ShapeRef.new(shape: StreamingDistributionAlreadyExists)
|
3040
3208
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
|
3041
3209
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
|
3210
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
|
3042
3211
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3043
3212
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
|
3044
3213
|
o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
|
@@ -3059,6 +3228,7 @@ module Aws::CloudFront
|
|
3059
3228
|
o.errors << Shapes::ShapeRef.new(shape: StreamingDistributionAlreadyExists)
|
3060
3229
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
|
3061
3230
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
|
3231
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
|
3062
3232
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3063
3233
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
|
3064
3234
|
o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
|
@@ -3164,14 +3334,28 @@ module Aws::CloudFront
|
|
3164
3334
|
api.add_operation(:delete_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
|
3165
3335
|
o.name = "DeleteMonitoringSubscription2020_05_31"
|
3166
3336
|
o.http_method = "DELETE"
|
3167
|
-
o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
|
3337
|
+
o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
|
3168
3338
|
o.input = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionRequest)
|
3169
3339
|
o.output = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionResult)
|
3170
3340
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3171
3341
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
|
3342
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchMonitoringSubscription)
|
3172
3343
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
3173
3344
|
end)
|
3174
3345
|
|
3346
|
+
api.add_operation(:delete_origin_access_control, Seahorse::Model::Operation.new.tap do |o|
|
3347
|
+
o.name = "DeleteOriginAccessControl2020_05_31"
|
3348
|
+
o.http_method = "DELETE"
|
3349
|
+
o.http_request_uri = "/2020-05-31/origin-access-control/{Id}"
|
3350
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteOriginAccessControlRequest)
|
3351
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3352
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3353
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
3354
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
|
3355
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
3356
|
+
o.errors << Shapes::ShapeRef.new(shape: OriginAccessControlInUse)
|
3357
|
+
end)
|
3358
|
+
|
3175
3359
|
api.add_operation(:delete_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
|
3176
3360
|
o.name = "DeleteOriginRequestPolicy2020_05_31"
|
3177
3361
|
o.http_method = "DELETE"
|
@@ -3395,14 +3579,35 @@ module Aws::CloudFront
|
|
3395
3579
|
api.add_operation(:get_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
|
3396
3580
|
o.name = "GetMonitoringSubscription2020_05_31"
|
3397
3581
|
o.http_method = "GET"
|
3398
|
-
o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
|
3582
|
+
o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
|
3399
3583
|
o.input = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionRequest)
|
3400
3584
|
o.output = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionResult)
|
3401
3585
|
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3402
3586
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
|
3587
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchMonitoringSubscription)
|
3403
3588
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
3404
3589
|
end)
|
3405
3590
|
|
3591
|
+
api.add_operation(:get_origin_access_control, Seahorse::Model::Operation.new.tap do |o|
|
3592
|
+
o.name = "GetOriginAccessControl2020_05_31"
|
3593
|
+
o.http_method = "GET"
|
3594
|
+
o.http_request_uri = "/2020-05-31/origin-access-control/{Id}"
|
3595
|
+
o.input = Shapes::ShapeRef.new(shape: GetOriginAccessControlRequest)
|
3596
|
+
o.output = Shapes::ShapeRef.new(shape: GetOriginAccessControlResult)
|
3597
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
|
3598
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3599
|
+
end)
|
3600
|
+
|
3601
|
+
api.add_operation(:get_origin_access_control_config, Seahorse::Model::Operation.new.tap do |o|
|
3602
|
+
o.name = "GetOriginAccessControlConfig2020_05_31"
|
3603
|
+
o.http_method = "GET"
|
3604
|
+
o.http_request_uri = "/2020-05-31/origin-access-control/{Id}/config"
|
3605
|
+
o.input = Shapes::ShapeRef.new(shape: GetOriginAccessControlConfigRequest)
|
3606
|
+
o.output = Shapes::ShapeRef.new(shape: GetOriginAccessControlConfigResult)
|
3607
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
|
3608
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
3609
|
+
end)
|
3610
|
+
|
3406
3611
|
api.add_operation(:get_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
|
3407
3612
|
o.name = "GetOriginRequestPolicy2020_05_31"
|
3408
3613
|
o.http_method = "GET"
|
@@ -3674,6 +3879,15 @@ module Aws::CloudFront
|
|
3674
3879
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3675
3880
|
end)
|
3676
3881
|
|
3882
|
+
api.add_operation(:list_origin_access_controls, Seahorse::Model::Operation.new.tap do |o|
|
3883
|
+
o.name = "ListOriginAccessControls2020_05_31"
|
3884
|
+
o.http_method = "GET"
|
3885
|
+
o.http_request_uri = "/2020-05-31/origin-access-control"
|
3886
|
+
o.input = Shapes::ShapeRef.new(shape: ListOriginAccessControlsRequest)
|
3887
|
+
o.output = Shapes::ShapeRef.new(shape: ListOriginAccessControlsResult)
|
3888
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3889
|
+
end)
|
3890
|
+
|
3677
3891
|
api.add_operation(:list_origin_request_policies, Seahorse::Model::Operation.new.tap do |o|
|
3678
3892
|
o.name = "ListOriginRequestPolicies2020_05_31"
|
3679
3893
|
o.http_method = "GET"
|
@@ -3854,6 +4068,7 @@ module Aws::CloudFront
|
|
3854
4068
|
o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
|
3855
4069
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3856
4070
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
|
4071
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
|
3857
4072
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
|
3858
4073
|
o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
|
3859
4074
|
o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
|
@@ -3899,6 +4114,8 @@ module Aws::CloudFront
|
|
3899
4114
|
o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
|
3900
4115
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
|
3901
4116
|
o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
|
4117
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
|
4118
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
|
3902
4119
|
end)
|
3903
4120
|
|
3904
4121
|
api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3973,6 +4190,21 @@ module Aws::CloudFront
|
|
3973
4190
|
o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeysInKeyGroup)
|
3974
4191
|
end)
|
3975
4192
|
|
4193
|
+
api.add_operation(:update_origin_access_control, Seahorse::Model::Operation.new.tap do |o|
|
4194
|
+
o.name = "UpdateOriginAccessControl2020_05_31"
|
4195
|
+
o.http_method = "PUT"
|
4196
|
+
o.http_request_uri = "/2020-05-31/origin-access-control/{Id}/config"
|
4197
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateOriginAccessControlRequest)
|
4198
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateOriginAccessControlResult)
|
4199
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
4200
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
|
4201
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
4202
|
+
o.errors << Shapes::ShapeRef.new(shape: OriginAccessControlAlreadyExists)
|
4203
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
|
4204
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
4205
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
4206
|
+
end)
|
4207
|
+
|
3976
4208
|
api.add_operation(:update_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
|
3977
4209
|
o.name = "UpdateOriginRequestPolicy2020_05_31"
|
3978
4210
|
o.http_method = "PUT"
|
@@ -4038,6 +4270,7 @@ module Aws::CloudFront
|
|
4038
4270
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
4039
4271
|
o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
|
4040
4272
|
o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy)
|
4273
|
+
o.errors << Shapes::ShapeRef.new(shape: TooLongCSPInResponseHeadersPolicy)
|
4041
4274
|
end)
|
4042
4275
|
|
4043
4276
|
api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4056,6 +4289,7 @@ module Aws::CloudFront
|
|
4056
4289
|
o.errors << Shapes::ShapeRef.new(shape: TooManyStreamingDistributionCNAMEs)
|
4057
4290
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
4058
4291
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
|
4292
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
|
4059
4293
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
|
4060
4294
|
o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
|
4061
4295
|
o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
|