aws-sdk-cloudfront 1.66.0 → 1.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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')
@@ -478,6 +503,7 @@ module Aws::CloudFront
478
503
  TooManyDistributionsAssociatedToCachePolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToCachePolicy')
479
504
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToFieldLevelEncryptionConfig')
480
505
  TooManyDistributionsAssociatedToKeyGroup = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToKeyGroup')
506
+ TooManyDistributionsAssociatedToOriginAccessControl = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginAccessControl')
481
507
  TooManyDistributionsAssociatedToOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginRequestPolicy')
482
508
  TooManyDistributionsAssociatedToResponseHeadersPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToResponseHeadersPolicy')
483
509
  TooManyDistributionsWithFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithFunctionAssociations')
@@ -498,6 +524,7 @@ module Aws::CloudFront
498
524
  TooManyKeyGroups = Shapes::StructureShape.new(name: 'TooManyKeyGroups')
499
525
  TooManyKeyGroupsAssociatedToDistribution = Shapes::StructureShape.new(name: 'TooManyKeyGroupsAssociatedToDistribution')
500
526
  TooManyLambdaFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyLambdaFunctionAssociations')
527
+ TooManyOriginAccessControls = Shapes::StructureShape.new(name: 'TooManyOriginAccessControls')
501
528
  TooManyOriginCustomHeaders = Shapes::StructureShape.new(name: 'TooManyOriginCustomHeaders')
502
529
  TooManyOriginGroupsPerDistribution = Shapes::StructureShape.new(name: 'TooManyOriginGroupsPerDistribution')
503
530
  TooManyOriginRequestPolicies = Shapes::StructureShape.new(name: 'TooManyOriginRequestPolicies')
@@ -533,6 +560,8 @@ module Aws::CloudFront
533
560
  UpdateFunctionResult = Shapes::StructureShape.new(name: 'UpdateFunctionResult')
534
561
  UpdateKeyGroupRequest = Shapes::StructureShape.new(name: 'UpdateKeyGroupRequest')
535
562
  UpdateKeyGroupResult = Shapes::StructureShape.new(name: 'UpdateKeyGroupResult')
563
+ UpdateOriginAccessControlRequest = Shapes::StructureShape.new(name: 'UpdateOriginAccessControlRequest')
564
+ UpdateOriginAccessControlResult = Shapes::StructureShape.new(name: 'UpdateOriginAccessControlResult')
536
565
  UpdateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyRequest')
537
566
  UpdateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyResult')
538
567
  UpdatePublicKeyRequest = Shapes::StructureShape.new(name: 'UpdatePublicKeyRequest')
@@ -869,6 +898,18 @@ module Aws::CloudFront
869
898
  CreateMonitoringSubscriptionResult[:payload] = :monitoring_subscription
870
899
  CreateMonitoringSubscriptionResult[:payload_member] = CreateMonitoringSubscriptionResult.member(:monitoring_subscription)
871
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
+
872
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/"}}))
873
914
  CreateOriginRequestPolicyRequest.struct_class = Types::CreateOriginRequestPolicyRequest
874
915
  CreateOriginRequestPolicyRequest[:payload] = :origin_request_policy_config
@@ -1015,6 +1056,10 @@ module Aws::CloudFront
1015
1056
 
1016
1057
  DeleteMonitoringSubscriptionResult.struct_class = Types::DeleteMonitoringSubscriptionResult
1017
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
+
1018
1063
  DeleteOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1019
1064
  DeleteOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1020
1065
  DeleteOriginRequestPolicyRequest.struct_class = Types::DeleteOriginRequestPolicyRequest
@@ -1412,6 +1457,24 @@ module Aws::CloudFront
1412
1457
  GetMonitoringSubscriptionResult[:payload] = :monitoring_subscription
1413
1458
  GetMonitoringSubscriptionResult[:payload_member] = GetMonitoringSubscriptionResult.member(:monitoring_subscription)
1414
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
+
1415
1478
  GetOriginRequestPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1416
1479
  GetOriginRequestPolicyConfigRequest.struct_class = Types::GetOriginRequestPolicyConfigRequest
1417
1480
 
@@ -1503,6 +1566,9 @@ module Aws::CloudFront
1503
1566
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1504
1567
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.struct_class = Types::IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
1505
1568
 
1569
+ IllegalOriginAccessConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1570
+ IllegalOriginAccessConfiguration.struct_class = Types::IllegalOriginAccessConfiguration
1571
+
1506
1572
  IllegalUpdate.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1507
1573
  IllegalUpdate.struct_class = Types::IllegalUpdate
1508
1574
 
@@ -1515,6 +1581,9 @@ module Aws::CloudFront
1515
1581
  InvalidDefaultRootObject.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1516
1582
  InvalidDefaultRootObject.struct_class = Types::InvalidDefaultRootObject
1517
1583
 
1584
+ InvalidDomainNameForOriginAccessControl.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1585
+ InvalidDomainNameForOriginAccessControl.struct_class = Types::InvalidDomainNameForOriginAccessControl
1586
+
1518
1587
  InvalidErrorCode.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1519
1588
  InvalidErrorCode.struct_class = Types::InvalidErrorCode
1520
1589
 
@@ -1545,6 +1614,9 @@ module Aws::CloudFront
1545
1614
  InvalidOrigin.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1546
1615
  InvalidOrigin.struct_class = Types::InvalidOrigin
1547
1616
 
1617
+ InvalidOriginAccessControl.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1618
+ InvalidOriginAccessControl.struct_class = Types::InvalidOriginAccessControl
1619
+
1548
1620
  InvalidOriginAccessIdentity.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1549
1621
  InvalidOriginAccessIdentity.struct_class = Types::InvalidOriginAccessIdentity
1550
1622
 
@@ -1804,6 +1876,15 @@ module Aws::CloudFront
1804
1876
  ListKeyGroupsResult[:payload] = :key_group_list
1805
1877
  ListKeyGroupsResult[:payload_member] = ListKeyGroupsResult.member(:key_group_list)
1806
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
+
1807
1888
  ListOriginRequestPoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: OriginRequestPolicyType, location: "querystring", location_name: "Type"))
1808
1889
  ListOriginRequestPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1809
1890
  ListOriginRequestPoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
@@ -1875,6 +1956,9 @@ module Aws::CloudFront
1875
1956
  MonitoringSubscription.add_member(:realtime_metrics_subscription_config, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionConfig, location_name: "RealtimeMetricsSubscriptionConfig"))
1876
1957
  MonitoringSubscription.struct_class = Types::MonitoringSubscription
1877
1958
 
1959
+ MonitoringSubscriptionAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1960
+ MonitoringSubscriptionAlreadyExists.struct_class = Types::MonitoringSubscriptionAlreadyExists
1961
+
1878
1962
  NoSuchCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1879
1963
  NoSuchCachePolicy.struct_class = Types::NoSuchCachePolicy
1880
1964
 
@@ -1896,9 +1980,15 @@ module Aws::CloudFront
1896
1980
  NoSuchInvalidation.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1897
1981
  NoSuchInvalidation.struct_class = Types::NoSuchInvalidation
1898
1982
 
1983
+ NoSuchMonitoringSubscription.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1984
+ NoSuchMonitoringSubscription.struct_class = Types::NoSuchMonitoringSubscription
1985
+
1899
1986
  NoSuchOrigin.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1900
1987
  NoSuchOrigin.struct_class = Types::NoSuchOrigin
1901
1988
 
1989
+ NoSuchOriginAccessControl.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1990
+ NoSuchOriginAccessControl.struct_class = Types::NoSuchOriginAccessControl
1991
+
1902
1992
  NoSuchOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1903
1993
  NoSuchOriginRequestPolicy.struct_class = Types::NoSuchOriginRequestPolicy
1904
1994
 
@@ -1926,8 +2016,44 @@ module Aws::CloudFront
1926
2016
  Origin.add_member(:connection_attempts, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionAttempts"))
1927
2017
  Origin.add_member(:connection_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionTimeout"))
1928
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"))
1929
2020
  Origin.struct_class = Types::Origin
1930
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
+
1931
2057
  OriginCustomHeader.add_member(:header_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "HeaderName"))
1932
2058
  OriginCustomHeader.add_member(:header_value, Shapes::ShapeRef.new(shape: sensitiveStringType, required: true, location_name: "HeaderValue"))
1933
2059
  OriginCustomHeader.struct_class = Types::OriginCustomHeader
@@ -2160,8 +2286,8 @@ module Aws::CloudFront
2160
2286
  ResponseHeadersPolicyConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
2161
2287
  ResponseHeadersPolicyConfig.add_member(:cors_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyCorsConfig, location_name: "CorsConfig"))
2162
2288
  ResponseHeadersPolicyConfig.add_member(:security_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicySecurityHeadersConfig, location_name: "SecurityHeadersConfig"))
2163
- ResponseHeadersPolicyConfig.add_member(:custom_headers_config, Shapes::ShapeRef.new(shape: ResponseHeadersPolicyCustomHeadersConfig, location_name: "CustomHeadersConfig"))
2164
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"))
2165
2291
  ResponseHeadersPolicyConfig.struct_class = Types::ResponseHeadersPolicyConfig
2166
2292
 
2167
2293
  ResponseHeadersPolicyContentSecurityPolicy.add_member(:override, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Override"))
@@ -2402,6 +2528,9 @@ module Aws::CloudFront
2402
2528
  TooManyDistributionsAssociatedToKeyGroup.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2403
2529
  TooManyDistributionsAssociatedToKeyGroup.struct_class = Types::TooManyDistributionsAssociatedToKeyGroup
2404
2530
 
2531
+ TooManyDistributionsAssociatedToOriginAccessControl.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2532
+ TooManyDistributionsAssociatedToOriginAccessControl.struct_class = Types::TooManyDistributionsAssociatedToOriginAccessControl
2533
+
2405
2534
  TooManyDistributionsAssociatedToOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2406
2535
  TooManyDistributionsAssociatedToOriginRequestPolicy.struct_class = Types::TooManyDistributionsAssociatedToOriginRequestPolicy
2407
2536
 
@@ -2462,6 +2591,9 @@ module Aws::CloudFront
2462
2591
  TooManyLambdaFunctionAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2463
2592
  TooManyLambdaFunctionAssociations.struct_class = Types::TooManyLambdaFunctionAssociations
2464
2593
 
2594
+ TooManyOriginAccessControls.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2595
+ TooManyOriginAccessControls.struct_class = Types::TooManyOriginAccessControls
2596
+
2465
2597
  TooManyOriginCustomHeaders.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
2466
2598
  TooManyOriginCustomHeaders.struct_class = Types::TooManyOriginCustomHeaders
2467
2599
 
@@ -2621,6 +2753,19 @@ module Aws::CloudFront
2621
2753
  UpdateKeyGroupResult[:payload] = :key_group
2622
2754
  UpdateKeyGroupResult[:payload_member] = UpdateKeyGroupResult.member(:key_group)
2623
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
+
2624
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/"}}))
2625
2770
  UpdateOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
2626
2771
  UpdateOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
@@ -2762,6 +2907,9 @@ module Aws::CloudFront
2762
2907
  o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
2763
2908
  o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
2764
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)
2765
2913
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2766
2914
  o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
2767
2915
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
@@ -2817,6 +2965,7 @@ module Aws::CloudFront
2817
2965
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
2818
2966
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2819
2967
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
2968
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
2820
2969
  end)
2821
2970
 
2822
2971
  api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -2829,6 +2978,7 @@ module Aws::CloudFront
2829
2978
  o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
2830
2979
  o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
2831
2980
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
2981
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
2832
2982
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2833
2983
  o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
2834
2984
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
@@ -2885,6 +3035,7 @@ module Aws::CloudFront
2885
3035
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
2886
3036
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2887
3037
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
3038
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
2888
3039
  end)
2889
3040
 
2890
3041
  api.add_operation(:create_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2967,14 +3118,26 @@ module Aws::CloudFront
2967
3118
  api.add_operation(:create_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2968
3119
  o.name = "CreateMonitoringSubscription2020_05_31"
2969
3120
  o.http_method = "POST"
2970
- o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
3121
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
2971
3122
  o.input = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionRequest)
2972
3123
  o.output = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionResult)
2973
3124
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2974
3125
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3126
+ o.errors << Shapes::ShapeRef.new(shape: MonitoringSubscriptionAlreadyExists)
2975
3127
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
2976
3128
  end)
2977
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
+
2978
3141
  api.add_operation(:create_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2979
3142
  o.name = "CreateOriginRequestPolicy2020_05_31"
2980
3143
  o.http_method = "POST"
@@ -3044,6 +3207,7 @@ module Aws::CloudFront
3044
3207
  o.errors << Shapes::ShapeRef.new(shape: StreamingDistributionAlreadyExists)
3045
3208
  o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3046
3209
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3210
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3047
3211
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3048
3212
  o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3049
3213
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
@@ -3064,6 +3228,7 @@ module Aws::CloudFront
3064
3228
  o.errors << Shapes::ShapeRef.new(shape: StreamingDistributionAlreadyExists)
3065
3229
  o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3066
3230
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3231
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3067
3232
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3068
3233
  o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3069
3234
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
@@ -3169,14 +3334,28 @@ module Aws::CloudFront
3169
3334
  api.add_operation(:delete_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
3170
3335
  o.name = "DeleteMonitoringSubscription2020_05_31"
3171
3336
  o.http_method = "DELETE"
3172
- o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
3337
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
3173
3338
  o.input = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionRequest)
3174
3339
  o.output = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionResult)
3175
3340
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3176
3341
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3342
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchMonitoringSubscription)
3177
3343
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3178
3344
  end)
3179
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
+
3180
3359
  api.add_operation(:delete_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
3181
3360
  o.name = "DeleteOriginRequestPolicy2020_05_31"
3182
3361
  o.http_method = "DELETE"
@@ -3400,14 +3579,35 @@ module Aws::CloudFront
3400
3579
  api.add_operation(:get_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
3401
3580
  o.name = "GetMonitoringSubscription2020_05_31"
3402
3581
  o.http_method = "GET"
3403
- o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
3582
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
3404
3583
  o.input = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionRequest)
3405
3584
  o.output = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionResult)
3406
3585
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3407
3586
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3587
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchMonitoringSubscription)
3408
3588
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3409
3589
  end)
3410
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
+
3411
3611
  api.add_operation(:get_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
3412
3612
  o.name = "GetOriginRequestPolicy2020_05_31"
3413
3613
  o.http_method = "GET"
@@ -3679,6 +3879,15 @@ module Aws::CloudFront
3679
3879
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3680
3880
  end)
3681
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
+
3682
3891
  api.add_operation(:list_origin_request_policies, Seahorse::Model::Operation.new.tap do |o|
3683
3892
  o.name = "ListOriginRequestPolicies2020_05_31"
3684
3893
  o.http_method = "GET"
@@ -3859,6 +4068,7 @@ module Aws::CloudFront
3859
4068
  o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
3860
4069
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3861
4070
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
4071
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3862
4072
  o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3863
4073
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3864
4074
  o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
@@ -3904,6 +4114,8 @@ module Aws::CloudFront
3904
4114
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
3905
4115
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3906
4116
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
4117
+ o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
4118
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
3907
4119
  end)
3908
4120
 
3909
4121
  api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
@@ -3978,6 +4190,21 @@ module Aws::CloudFront
3978
4190
  o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeysInKeyGroup)
3979
4191
  end)
3980
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
+
3981
4208
  api.add_operation(:update_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
3982
4209
  o.name = "UpdateOriginRequestPolicy2020_05_31"
3983
4210
  o.http_method = "PUT"
@@ -4062,6 +4289,7 @@ module Aws::CloudFront
4062
4289
  o.errors << Shapes::ShapeRef.new(shape: TooManyStreamingDistributionCNAMEs)
4063
4290
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4064
4291
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
4292
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
4065
4293
  o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
4066
4294
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
4067
4295
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)