aws-sdk-cloudfront 1.132.0 → 1.133.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +231 -1
- data/lib/aws-sdk-cloudfront/client_api.rb +157 -0
- data/lib/aws-sdk-cloudfront/types.rb +285 -2
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +58 -1
- data/sig/types.rbs +75 -0
- metadata +1 -1
|
@@ -174,6 +174,7 @@ module Aws::CloudFront
|
|
|
174
174
|
DeleteOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'DeleteOriginRequestPolicyRequest')
|
|
175
175
|
DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest')
|
|
176
176
|
DeleteRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'DeleteRealtimeLogConfigRequest')
|
|
177
|
+
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
|
177
178
|
DeleteResponseHeadersPolicyRequest = Shapes::StructureShape.new(name: 'DeleteResponseHeadersPolicyRequest')
|
|
178
179
|
DeleteStreamingDistributionRequest = Shapes::StructureShape.new(name: 'DeleteStreamingDistributionRequest')
|
|
179
180
|
DeleteVpcOriginRequest = Shapes::StructureShape.new(name: 'DeleteVpcOriginRequest')
|
|
@@ -192,6 +193,9 @@ module Aws::CloudFront
|
|
|
192
193
|
DistributionConfigWithTags = Shapes::StructureShape.new(name: 'DistributionConfigWithTags')
|
|
193
194
|
DistributionIdList = Shapes::StructureShape.new(name: 'DistributionIdList')
|
|
194
195
|
DistributionIdListSummary = Shapes::ListShape.new(name: 'DistributionIdListSummary')
|
|
196
|
+
DistributionIdOwner = Shapes::StructureShape.new(name: 'DistributionIdOwner')
|
|
197
|
+
DistributionIdOwnerItemList = Shapes::ListShape.new(name: 'DistributionIdOwnerItemList')
|
|
198
|
+
DistributionIdOwnerList = Shapes::StructureShape.new(name: 'DistributionIdOwnerList')
|
|
195
199
|
DistributionList = Shapes::StructureShape.new(name: 'DistributionList')
|
|
196
200
|
DistributionNotDisabled = Shapes::StructureShape.new(name: 'DistributionNotDisabled')
|
|
197
201
|
DistributionResourceId = Shapes::StructureShape.new(name: 'DistributionResourceId')
|
|
@@ -326,6 +330,8 @@ module Aws::CloudFront
|
|
|
326
330
|
GetPublicKeyResult = Shapes::StructureShape.new(name: 'GetPublicKeyResult')
|
|
327
331
|
GetRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'GetRealtimeLogConfigRequest')
|
|
328
332
|
GetRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'GetRealtimeLogConfigResult')
|
|
333
|
+
GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
|
|
334
|
+
GetResourcePolicyResult = Shapes::StructureShape.new(name: 'GetResourcePolicyResult')
|
|
329
335
|
GetResponseHeadersPolicyConfigRequest = Shapes::StructureShape.new(name: 'GetResponseHeadersPolicyConfigRequest')
|
|
330
336
|
GetResponseHeadersPolicyConfigResult = Shapes::StructureShape.new(name: 'GetResponseHeadersPolicyConfigResult')
|
|
331
337
|
GetResponseHeadersPolicyRequest = Shapes::StructureShape.new(name: 'GetResponseHeadersPolicyRequest')
|
|
@@ -432,6 +438,8 @@ module Aws::CloudFront
|
|
|
432
438
|
ListDistributionsByKeyGroupResult = Shapes::StructureShape.new(name: 'ListDistributionsByKeyGroupResult')
|
|
433
439
|
ListDistributionsByOriginRequestPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdRequest')
|
|
434
440
|
ListDistributionsByOriginRequestPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdResult')
|
|
441
|
+
ListDistributionsByOwnedResourceRequest = Shapes::StructureShape.new(name: 'ListDistributionsByOwnedResourceRequest')
|
|
442
|
+
ListDistributionsByOwnedResourceResult = Shapes::StructureShape.new(name: 'ListDistributionsByOwnedResourceResult')
|
|
435
443
|
ListDistributionsByRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigRequest')
|
|
436
444
|
ListDistributionsByRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigResult')
|
|
437
445
|
ListDistributionsByResponseHeadersPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByResponseHeadersPolicyIdRequest')
|
|
@@ -565,6 +573,8 @@ module Aws::CloudFront
|
|
|
565
573
|
PublicKeySummaryList = Shapes::ListShape.new(name: 'PublicKeySummaryList')
|
|
566
574
|
PublishFunctionRequest = Shapes::StructureShape.new(name: 'PublishFunctionRequest')
|
|
567
575
|
PublishFunctionResult = Shapes::StructureShape.new(name: 'PublishFunctionResult')
|
|
576
|
+
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
|
577
|
+
PutResourcePolicyResult = Shapes::StructureShape.new(name: 'PutResourcePolicyResult')
|
|
568
578
|
QueryArgProfile = Shapes::StructureShape.new(name: 'QueryArgProfile')
|
|
569
579
|
QueryArgProfileConfig = Shapes::StructureShape.new(name: 'QueryArgProfileConfig')
|
|
570
580
|
QueryArgProfileEmpty = Shapes::StructureShape.new(name: 'QueryArgProfileEmpty')
|
|
@@ -713,6 +723,8 @@ module Aws::CloudFront
|
|
|
713
723
|
TrustedSigners = Shapes::StructureShape.new(name: 'TrustedSigners')
|
|
714
724
|
UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
|
|
715
725
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
726
|
+
UpdateAnycastIpListRequest = Shapes::StructureShape.new(name: 'UpdateAnycastIpListRequest')
|
|
727
|
+
UpdateAnycastIpListResult = Shapes::StructureShape.new(name: 'UpdateAnycastIpListResult')
|
|
716
728
|
UpdateCachePolicyRequest = Shapes::StructureShape.new(name: 'UpdateCachePolicyRequest')
|
|
717
729
|
UpdateCachePolicyResult = Shapes::StructureShape.new(name: 'UpdateCachePolicyResult')
|
|
718
730
|
UpdateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityRequest')
|
|
@@ -820,6 +832,7 @@ module Aws::CloudFront
|
|
|
820
832
|
AnycastIpList.add_member(:name, Shapes::ShapeRef.new(shape: AnycastIpListName, required: true, location_name: "Name"))
|
|
821
833
|
AnycastIpList.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
|
|
822
834
|
AnycastIpList.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
|
|
835
|
+
AnycastIpList.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
|
823
836
|
AnycastIpList.add_member(:anycast_ips, Shapes::ShapeRef.new(shape: AnycastIps, required: true, location_name: "AnycastIps"))
|
|
824
837
|
AnycastIpList.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
|
|
825
838
|
AnycastIpList.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
|
|
@@ -841,6 +854,8 @@ module Aws::CloudFront
|
|
|
841
854
|
AnycastIpListSummary.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
|
|
842
855
|
AnycastIpListSummary.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
|
|
843
856
|
AnycastIpListSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
|
|
857
|
+
AnycastIpListSummary.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
|
858
|
+
AnycastIpListSummary.add_member(:etag, Shapes::ShapeRef.new(shape: string, location_name: "ETag"))
|
|
844
859
|
AnycastIpListSummary.struct_class = Types::AnycastIpListSummary
|
|
845
860
|
|
|
846
861
|
AnycastIps.member = Shapes::ShapeRef.new(shape: string, location_name: "AnycastIp")
|
|
@@ -1116,6 +1131,7 @@ module Aws::CloudFront
|
|
|
1116
1131
|
CreateAnycastIpListRequest.add_member(:name, Shapes::ShapeRef.new(shape: AnycastIpListName, required: true, location_name: "Name"))
|
|
1117
1132
|
CreateAnycastIpListRequest.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
|
|
1118
1133
|
CreateAnycastIpListRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
1134
|
+
CreateAnycastIpListRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
|
1119
1135
|
CreateAnycastIpListRequest.struct_class = Types::CreateAnycastIpListRequest
|
|
1120
1136
|
|
|
1121
1137
|
CreateAnycastIpListResult.add_member(:anycast_ip_list, Shapes::ShapeRef.new(shape: AnycastIpList, location_name: "AnycastIpList"))
|
|
@@ -1521,6 +1537,9 @@ module Aws::CloudFront
|
|
|
1521
1537
|
DeleteRealtimeLogConfigRequest.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "ARN"))
|
|
1522
1538
|
DeleteRealtimeLogConfigRequest.struct_class = Types::DeleteRealtimeLogConfigRequest
|
|
1523
1539
|
|
|
1540
|
+
DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ResourceArn"))
|
|
1541
|
+
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
|
1542
|
+
|
|
1524
1543
|
DeleteResponseHeadersPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
|
1525
1544
|
DeleteResponseHeadersPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
|
1526
1545
|
DeleteResponseHeadersPolicyRequest.struct_class = Types::DeleteResponseHeadersPolicyRequest
|
|
@@ -1627,6 +1646,20 @@ module Aws::CloudFront
|
|
|
1627
1646
|
|
|
1628
1647
|
DistributionIdListSummary.member = Shapes::ShapeRef.new(shape: string, location_name: "DistributionId")
|
|
1629
1648
|
|
|
1649
|
+
DistributionIdOwner.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "DistributionId"))
|
|
1650
|
+
DistributionIdOwner.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "OwnerAccountId"))
|
|
1651
|
+
DistributionIdOwner.struct_class = Types::DistributionIdOwner
|
|
1652
|
+
|
|
1653
|
+
DistributionIdOwnerItemList.member = Shapes::ShapeRef.new(shape: DistributionIdOwner, location_name: "DistributionIdOwner")
|
|
1654
|
+
|
|
1655
|
+
DistributionIdOwnerList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
|
|
1656
|
+
DistributionIdOwnerList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
|
|
1657
|
+
DistributionIdOwnerList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
|
|
1658
|
+
DistributionIdOwnerList.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
|
|
1659
|
+
DistributionIdOwnerList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
|
1660
|
+
DistributionIdOwnerList.add_member(:items, Shapes::ShapeRef.new(shape: DistributionIdOwnerItemList, location_name: "Items"))
|
|
1661
|
+
DistributionIdOwnerList.struct_class = Types::DistributionIdOwnerList
|
|
1662
|
+
|
|
1630
1663
|
DistributionList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
|
|
1631
1664
|
DistributionList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
|
|
1632
1665
|
DistributionList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
|
|
@@ -2173,6 +2206,13 @@ module Aws::CloudFront
|
|
|
2173
2206
|
GetRealtimeLogConfigResult.add_member(:realtime_log_config, Shapes::ShapeRef.new(shape: RealtimeLogConfig, location_name: "RealtimeLogConfig"))
|
|
2174
2207
|
GetRealtimeLogConfigResult.struct_class = Types::GetRealtimeLogConfigResult
|
|
2175
2208
|
|
|
2209
|
+
GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ResourceArn"))
|
|
2210
|
+
GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
|
|
2211
|
+
|
|
2212
|
+
GetResourcePolicyResult.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, location_name: "ResourceArn"))
|
|
2213
|
+
GetResourcePolicyResult.add_member(:policy_document, Shapes::ShapeRef.new(shape: string, location_name: "PolicyDocument"))
|
|
2214
|
+
GetResourcePolicyResult.struct_class = Types::GetResourcePolicyResult
|
|
2215
|
+
|
|
2176
2216
|
GetResponseHeadersPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
|
2177
2217
|
GetResponseHeadersPolicyConfigRequest.struct_class = Types::GetResponseHeadersPolicyConfigRequest
|
|
2178
2218
|
|
|
@@ -2554,6 +2594,16 @@ module Aws::CloudFront
|
|
|
2554
2594
|
ListDistributionsByOriginRequestPolicyIdResult[:payload] = :distribution_id_list
|
|
2555
2595
|
ListDistributionsByOriginRequestPolicyIdResult[:payload_member] = ListDistributionsByOriginRequestPolicyIdResult.member(:distribution_id_list)
|
|
2556
2596
|
|
|
2597
|
+
ListDistributionsByOwnedResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "ResourceArn"))
|
|
2598
|
+
ListDistributionsByOwnedResourceRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
|
2599
|
+
ListDistributionsByOwnedResourceRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
|
|
2600
|
+
ListDistributionsByOwnedResourceRequest.struct_class = Types::ListDistributionsByOwnedResourceRequest
|
|
2601
|
+
|
|
2602
|
+
ListDistributionsByOwnedResourceResult.add_member(:distribution_list, Shapes::ShapeRef.new(shape: DistributionIdOwnerList, location_name: "DistributionList"))
|
|
2603
|
+
ListDistributionsByOwnedResourceResult.struct_class = Types::ListDistributionsByOwnedResourceResult
|
|
2604
|
+
ListDistributionsByOwnedResourceResult[:payload] = :distribution_list
|
|
2605
|
+
ListDistributionsByOwnedResourceResult[:payload_member] = ListDistributionsByOwnedResourceResult.member(:distribution_list)
|
|
2606
|
+
|
|
2557
2607
|
ListDistributionsByRealtimeLogConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
|
|
2558
2608
|
ListDistributionsByRealtimeLogConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location_name: "MaxItems"))
|
|
2559
2609
|
ListDistributionsByRealtimeLogConfigRequest.add_member(:realtime_log_config_name, Shapes::ShapeRef.new(shape: string, location_name: "RealtimeLogConfigName"))
|
|
@@ -3044,6 +3094,13 @@ module Aws::CloudFront
|
|
|
3044
3094
|
PublishFunctionResult[:payload] = :function_summary
|
|
3045
3095
|
PublishFunctionResult[:payload_member] = PublishFunctionResult.member(:function_summary)
|
|
3046
3096
|
|
|
3097
|
+
PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ResourceArn"))
|
|
3098
|
+
PutResourcePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: string, required: true, location_name: "PolicyDocument"))
|
|
3099
|
+
PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
|
|
3100
|
+
|
|
3101
|
+
PutResourcePolicyResult.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, location_name: "ResourceArn"))
|
|
3102
|
+
PutResourcePolicyResult.struct_class = Types::PutResourcePolicyResult
|
|
3103
|
+
|
|
3047
3104
|
QueryArgProfile.add_member(:query_arg, Shapes::ShapeRef.new(shape: string, required: true, location_name: "QueryArg"))
|
|
3048
3105
|
QueryArgProfile.add_member(:profile_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ProfileId"))
|
|
3049
3106
|
QueryArgProfile.struct_class = Types::QueryArgProfile
|
|
@@ -3555,6 +3612,17 @@ module Aws::CloudFront
|
|
|
3555
3612
|
UntagResourceRequest[:payload] = :tag_keys
|
|
3556
3613
|
UntagResourceRequest[:payload_member] = UntagResourceRequest.member(:tag_keys)
|
|
3557
3614
|
|
|
3615
|
+
UpdateAnycastIpListRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
|
3616
|
+
UpdateAnycastIpListRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
|
3617
|
+
UpdateAnycastIpListRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
|
|
3618
|
+
UpdateAnycastIpListRequest.struct_class = Types::UpdateAnycastIpListRequest
|
|
3619
|
+
|
|
3620
|
+
UpdateAnycastIpListResult.add_member(:anycast_ip_list, Shapes::ShapeRef.new(shape: AnycastIpList, location_name: "AnycastIpList"))
|
|
3621
|
+
UpdateAnycastIpListResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
|
3622
|
+
UpdateAnycastIpListResult.struct_class = Types::UpdateAnycastIpListResult
|
|
3623
|
+
UpdateAnycastIpListResult[:payload] = :anycast_ip_list
|
|
3624
|
+
UpdateAnycastIpListResult[:payload_member] = UpdateAnycastIpListResult.member(:anycast_ip_list)
|
|
3625
|
+
|
|
3558
3626
|
UpdateCachePolicyRequest.add_member(:cache_policy_config, Shapes::ShapeRef.new(shape: CachePolicyConfig, required: true, location_name: "CachePolicyConfig", metadata: {"xmlNamespace" => {"uri" => "http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
|
|
3559
3627
|
UpdateCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
|
3560
3628
|
UpdateCachePolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
|
@@ -3833,6 +3901,7 @@ module Aws::CloudFront
|
|
|
3833
3901
|
|
|
3834
3902
|
VpcOrigin.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
|
|
3835
3903
|
VpcOrigin.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
|
|
3904
|
+
VpcOrigin.add_member(:account_id, Shapes::ShapeRef.new(shape: string, location_name: "AccountId"))
|
|
3836
3905
|
VpcOrigin.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
|
|
3837
3906
|
VpcOrigin.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedTime"))
|
|
3838
3907
|
VpcOrigin.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
|
|
@@ -3840,6 +3909,7 @@ module Aws::CloudFront
|
|
|
3840
3909
|
VpcOrigin.struct_class = Types::VpcOrigin
|
|
3841
3910
|
|
|
3842
3911
|
VpcOriginConfig.add_member(:vpc_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "VpcOriginId"))
|
|
3912
|
+
VpcOriginConfig.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: string, location_name: "OwnerAccountId"))
|
|
3843
3913
|
VpcOriginConfig.add_member(:origin_read_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "OriginReadTimeout"))
|
|
3844
3914
|
VpcOriginConfig.add_member(:origin_keepalive_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "OriginKeepaliveTimeout"))
|
|
3845
3915
|
VpcOriginConfig.struct_class = Types::VpcOriginConfig
|
|
@@ -3866,6 +3936,7 @@ module Aws::CloudFront
|
|
|
3866
3936
|
VpcOriginSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedTime"))
|
|
3867
3937
|
VpcOriginSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
|
|
3868
3938
|
VpcOriginSummary.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
|
|
3939
|
+
VpcOriginSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: string, location_name: "AccountId"))
|
|
3869
3940
|
VpcOriginSummary.add_member(:origin_endpoint_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "OriginEndpointArn"))
|
|
3870
3941
|
VpcOriginSummary.struct_class = Types::VpcOriginSummary
|
|
3871
3942
|
|
|
@@ -4763,6 +4834,25 @@ module Aws::CloudFront
|
|
|
4763
4834
|
o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigInUse)
|
|
4764
4835
|
end)
|
|
4765
4836
|
|
|
4837
|
+
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
4838
|
+
o.name = "DeleteResourcePolicy2020_05_31"
|
|
4839
|
+
o.http_method = "POST"
|
|
4840
|
+
o.http_request_uri = "/2020-05-31/delete-resource-policy"
|
|
4841
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest,
|
|
4842
|
+
location_name: "DeleteResourcePolicyRequest",
|
|
4843
|
+
metadata: {
|
|
4844
|
+
"xmlNamespace" => {"uri" => "http://cloudfront.amazonaws.com/doc/2020-05-31/"}
|
|
4845
|
+
}
|
|
4846
|
+
)
|
|
4847
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
4848
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
|
4849
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
|
4850
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
|
4851
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
|
|
4852
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
|
4853
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
4854
|
+
end)
|
|
4855
|
+
|
|
4766
4856
|
api.add_operation(:delete_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
4767
4857
|
o.name = "DeleteResponseHeadersPolicy2020_05_31"
|
|
4768
4858
|
o.http_method = "DELETE"
|
|
@@ -5174,6 +5264,23 @@ module Aws::CloudFront
|
|
|
5174
5264
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
|
|
5175
5265
|
end)
|
|
5176
5266
|
|
|
5267
|
+
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
5268
|
+
o.name = "GetResourcePolicy2020_05_31"
|
|
5269
|
+
o.http_method = "POST"
|
|
5270
|
+
o.http_request_uri = "/2020-05-31/get-resource-policy"
|
|
5271
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest,
|
|
5272
|
+
location_name: "GetResourcePolicyRequest",
|
|
5273
|
+
metadata: {
|
|
5274
|
+
"xmlNamespace" => {"uri" => "http://cloudfront.amazonaws.com/doc/2020-05-31/"}
|
|
5275
|
+
}
|
|
5276
|
+
)
|
|
5277
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResult)
|
|
5278
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
|
5279
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
|
5280
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
|
5281
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
5282
|
+
end)
|
|
5283
|
+
|
|
5177
5284
|
api.add_operation(:get_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
5178
5285
|
o.name = "GetResponseHeadersPolicy2020_05_31"
|
|
5179
5286
|
o.http_method = "GET"
|
|
@@ -5426,6 +5533,18 @@ module Aws::CloudFront
|
|
|
5426
5533
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
5427
5534
|
end)
|
|
5428
5535
|
|
|
5536
|
+
api.add_operation(:list_distributions_by_owned_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
5537
|
+
o.name = "ListDistributionsByOwnedResource2020_05_31"
|
|
5538
|
+
o.http_method = "GET"
|
|
5539
|
+
o.http_request_uri = "/2020-05-31/distributionsByOwnedResource/{ResourceArn}"
|
|
5540
|
+
o.input = Shapes::ShapeRef.new(shape: ListDistributionsByOwnedResourceRequest)
|
|
5541
|
+
o.output = Shapes::ShapeRef.new(shape: ListDistributionsByOwnedResourceResult)
|
|
5542
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
|
5543
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
|
5544
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
|
5545
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
5546
|
+
end)
|
|
5547
|
+
|
|
5429
5548
|
api.add_operation(:list_distributions_by_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
|
|
5430
5549
|
o.name = "ListDistributionsByRealtimeLogConfig2020_05_31"
|
|
5431
5550
|
o.http_method = "POST"
|
|
@@ -5698,6 +5817,25 @@ module Aws::CloudFront
|
|
|
5698
5817
|
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
|
5699
5818
|
end)
|
|
5700
5819
|
|
|
5820
|
+
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
5821
|
+
o.name = "PutResourcePolicy2020_05_31"
|
|
5822
|
+
o.http_method = "POST"
|
|
5823
|
+
o.http_request_uri = "/2020-05-31/put-resource-policy"
|
|
5824
|
+
o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest,
|
|
5825
|
+
location_name: "PutResourcePolicyRequest",
|
|
5826
|
+
metadata: {
|
|
5827
|
+
"xmlNamespace" => {"uri" => "http://cloudfront.amazonaws.com/doc/2020-05-31/"}
|
|
5828
|
+
}
|
|
5829
|
+
)
|
|
5830
|
+
o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResult)
|
|
5831
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
|
5832
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
|
5833
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
|
5834
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
|
5835
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
5836
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
|
|
5837
|
+
end)
|
|
5838
|
+
|
|
5701
5839
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
5702
5840
|
o.name = "TagResource2020_05_31"
|
|
5703
5841
|
o.http_method = "POST"
|
|
@@ -5740,6 +5878,25 @@ module Aws::CloudFront
|
|
|
5740
5878
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
|
|
5741
5879
|
end)
|
|
5742
5880
|
|
|
5881
|
+
api.add_operation(:update_anycast_ip_list, Seahorse::Model::Operation.new.tap do |o|
|
|
5882
|
+
o.name = "UpdateAnycastIpList2020_05_31"
|
|
5883
|
+
o.http_method = "PUT"
|
|
5884
|
+
o.http_request_uri = "/2020-05-31/anycast-ip-list/{Id}"
|
|
5885
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAnycastIpListRequest,
|
|
5886
|
+
location_name: "UpdateAnycastIpListRequest",
|
|
5887
|
+
metadata: {
|
|
5888
|
+
"xmlNamespace" => {"uri" => "http://cloudfront.amazonaws.com/doc/2020-05-31/"}
|
|
5889
|
+
}
|
|
5890
|
+
)
|
|
5891
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAnycastIpListResult)
|
|
5892
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
|
5893
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
|
5894
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
|
5895
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
|
5896
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
5897
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
|
5898
|
+
end)
|
|
5899
|
+
|
|
5743
5900
|
api.add_operation(:update_cache_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
5744
5901
|
o.name = "UpdateCachePolicy2020_05_31"
|
|
5745
5902
|
o.http_method = "PUT"
|