aws-sdk-cloudfront 1.132.0 → 1.134.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +267 -1
- data/lib/aws-sdk-cloudfront/client_api.rb +176 -0
- data/lib/aws-sdk-cloudfront/types.rb +359 -2
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +66 -1
- data/sig/types.rbs +92 -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')
|
|
@@ -381,6 +387,10 @@ module Aws::CloudFront
|
|
|
381
387
|
InvalidationSummary = Shapes::StructureShape.new(name: 'InvalidationSummary')
|
|
382
388
|
InvalidationSummaryList = Shapes::ListShape.new(name: 'InvalidationSummaryList')
|
|
383
389
|
IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
|
|
390
|
+
IpamCidrConfig = Shapes::StructureShape.new(name: 'IpamCidrConfig')
|
|
391
|
+
IpamCidrConfigList = Shapes::ListShape.new(name: 'IpamCidrConfigList')
|
|
392
|
+
IpamCidrStatus = Shapes::StringShape.new(name: 'IpamCidrStatus')
|
|
393
|
+
IpamConfig = Shapes::StructureShape.new(name: 'IpamConfig')
|
|
384
394
|
ItemSelection = Shapes::StringShape.new(name: 'ItemSelection')
|
|
385
395
|
KGKeyPairIds = Shapes::StructureShape.new(name: 'KGKeyPairIds')
|
|
386
396
|
KGKeyPairIdsList = Shapes::ListShape.new(name: 'KGKeyPairIdsList')
|
|
@@ -432,6 +442,8 @@ module Aws::CloudFront
|
|
|
432
442
|
ListDistributionsByKeyGroupResult = Shapes::StructureShape.new(name: 'ListDistributionsByKeyGroupResult')
|
|
433
443
|
ListDistributionsByOriginRequestPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdRequest')
|
|
434
444
|
ListDistributionsByOriginRequestPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdResult')
|
|
445
|
+
ListDistributionsByOwnedResourceRequest = Shapes::StructureShape.new(name: 'ListDistributionsByOwnedResourceRequest')
|
|
446
|
+
ListDistributionsByOwnedResourceResult = Shapes::StructureShape.new(name: 'ListDistributionsByOwnedResourceResult')
|
|
435
447
|
ListDistributionsByRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigRequest')
|
|
436
448
|
ListDistributionsByRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigResult')
|
|
437
449
|
ListDistributionsByResponseHeadersPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByResponseHeadersPolicyIdRequest')
|
|
@@ -565,6 +577,8 @@ module Aws::CloudFront
|
|
|
565
577
|
PublicKeySummaryList = Shapes::ListShape.new(name: 'PublicKeySummaryList')
|
|
566
578
|
PublishFunctionRequest = Shapes::StructureShape.new(name: 'PublishFunctionRequest')
|
|
567
579
|
PublishFunctionResult = Shapes::StructureShape.new(name: 'PublishFunctionResult')
|
|
580
|
+
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
|
581
|
+
PutResourcePolicyResult = Shapes::StructureShape.new(name: 'PutResourcePolicyResult')
|
|
568
582
|
QueryArgProfile = Shapes::StructureShape.new(name: 'QueryArgProfile')
|
|
569
583
|
QueryArgProfileConfig = Shapes::StructureShape.new(name: 'QueryArgProfileConfig')
|
|
570
584
|
QueryArgProfileEmpty = Shapes::StructureShape.new(name: 'QueryArgProfileEmpty')
|
|
@@ -713,6 +727,8 @@ module Aws::CloudFront
|
|
|
713
727
|
TrustedSigners = Shapes::StructureShape.new(name: 'TrustedSigners')
|
|
714
728
|
UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
|
|
715
729
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
730
|
+
UpdateAnycastIpListRequest = Shapes::StructureShape.new(name: 'UpdateAnycastIpListRequest')
|
|
731
|
+
UpdateAnycastIpListResult = Shapes::StructureShape.new(name: 'UpdateAnycastIpListResult')
|
|
716
732
|
UpdateCachePolicyRequest = Shapes::StructureShape.new(name: 'UpdateCachePolicyRequest')
|
|
717
733
|
UpdateCachePolicyResult = Shapes::StructureShape.new(name: 'UpdateCachePolicyResult')
|
|
718
734
|
UpdateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityRequest')
|
|
@@ -820,6 +836,8 @@ module Aws::CloudFront
|
|
|
820
836
|
AnycastIpList.add_member(:name, Shapes::ShapeRef.new(shape: AnycastIpListName, required: true, location_name: "Name"))
|
|
821
837
|
AnycastIpList.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
|
|
822
838
|
AnycastIpList.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
|
|
839
|
+
AnycastIpList.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
|
840
|
+
AnycastIpList.add_member(:ipam_config, Shapes::ShapeRef.new(shape: IpamConfig, location_name: "IpamConfig"))
|
|
823
841
|
AnycastIpList.add_member(:anycast_ips, Shapes::ShapeRef.new(shape: AnycastIps, required: true, location_name: "AnycastIps"))
|
|
824
842
|
AnycastIpList.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
|
|
825
843
|
AnycastIpList.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
|
|
@@ -841,6 +859,9 @@ module Aws::CloudFront
|
|
|
841
859
|
AnycastIpListSummary.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
|
|
842
860
|
AnycastIpListSummary.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
|
|
843
861
|
AnycastIpListSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
|
|
862
|
+
AnycastIpListSummary.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
|
863
|
+
AnycastIpListSummary.add_member(:etag, Shapes::ShapeRef.new(shape: string, location_name: "ETag"))
|
|
864
|
+
AnycastIpListSummary.add_member(:ipam_config, Shapes::ShapeRef.new(shape: IpamConfig, location_name: "IpamConfig"))
|
|
844
865
|
AnycastIpListSummary.struct_class = Types::AnycastIpListSummary
|
|
845
866
|
|
|
846
867
|
AnycastIps.member = Shapes::ShapeRef.new(shape: string, location_name: "AnycastIp")
|
|
@@ -1116,6 +1137,8 @@ module Aws::CloudFront
|
|
|
1116
1137
|
CreateAnycastIpListRequest.add_member(:name, Shapes::ShapeRef.new(shape: AnycastIpListName, required: true, location_name: "Name"))
|
|
1117
1138
|
CreateAnycastIpListRequest.add_member(:ip_count, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IpCount"))
|
|
1118
1139
|
CreateAnycastIpListRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
1140
|
+
CreateAnycastIpListRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
|
1141
|
+
CreateAnycastIpListRequest.add_member(:ipam_cidr_configs, Shapes::ShapeRef.new(shape: IpamCidrConfigList, location_name: "IpamCidrConfigs"))
|
|
1119
1142
|
CreateAnycastIpListRequest.struct_class = Types::CreateAnycastIpListRequest
|
|
1120
1143
|
|
|
1121
1144
|
CreateAnycastIpListResult.add_member(:anycast_ip_list, Shapes::ShapeRef.new(shape: AnycastIpList, location_name: "AnycastIpList"))
|
|
@@ -1521,6 +1544,9 @@ module Aws::CloudFront
|
|
|
1521
1544
|
DeleteRealtimeLogConfigRequest.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "ARN"))
|
|
1522
1545
|
DeleteRealtimeLogConfigRequest.struct_class = Types::DeleteRealtimeLogConfigRequest
|
|
1523
1546
|
|
|
1547
|
+
DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ResourceArn"))
|
|
1548
|
+
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
|
1549
|
+
|
|
1524
1550
|
DeleteResponseHeadersPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
|
1525
1551
|
DeleteResponseHeadersPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
|
1526
1552
|
DeleteResponseHeadersPolicyRequest.struct_class = Types::DeleteResponseHeadersPolicyRequest
|
|
@@ -1627,6 +1653,20 @@ module Aws::CloudFront
|
|
|
1627
1653
|
|
|
1628
1654
|
DistributionIdListSummary.member = Shapes::ShapeRef.new(shape: string, location_name: "DistributionId")
|
|
1629
1655
|
|
|
1656
|
+
DistributionIdOwner.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "DistributionId"))
|
|
1657
|
+
DistributionIdOwner.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "OwnerAccountId"))
|
|
1658
|
+
DistributionIdOwner.struct_class = Types::DistributionIdOwner
|
|
1659
|
+
|
|
1660
|
+
DistributionIdOwnerItemList.member = Shapes::ShapeRef.new(shape: DistributionIdOwner, location_name: "DistributionIdOwner")
|
|
1661
|
+
|
|
1662
|
+
DistributionIdOwnerList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
|
|
1663
|
+
DistributionIdOwnerList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
|
|
1664
|
+
DistributionIdOwnerList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
|
|
1665
|
+
DistributionIdOwnerList.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
|
|
1666
|
+
DistributionIdOwnerList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
|
1667
|
+
DistributionIdOwnerList.add_member(:items, Shapes::ShapeRef.new(shape: DistributionIdOwnerItemList, location_name: "Items"))
|
|
1668
|
+
DistributionIdOwnerList.struct_class = Types::DistributionIdOwnerList
|
|
1669
|
+
|
|
1630
1670
|
DistributionList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
|
|
1631
1671
|
DistributionList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
|
|
1632
1672
|
DistributionList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
|
|
@@ -2173,6 +2213,13 @@ module Aws::CloudFront
|
|
|
2173
2213
|
GetRealtimeLogConfigResult.add_member(:realtime_log_config, Shapes::ShapeRef.new(shape: RealtimeLogConfig, location_name: "RealtimeLogConfig"))
|
|
2174
2214
|
GetRealtimeLogConfigResult.struct_class = Types::GetRealtimeLogConfigResult
|
|
2175
2215
|
|
|
2216
|
+
GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ResourceArn"))
|
|
2217
|
+
GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
|
|
2218
|
+
|
|
2219
|
+
GetResourcePolicyResult.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, location_name: "ResourceArn"))
|
|
2220
|
+
GetResourcePolicyResult.add_member(:policy_document, Shapes::ShapeRef.new(shape: string, location_name: "PolicyDocument"))
|
|
2221
|
+
GetResourcePolicyResult.struct_class = Types::GetResourcePolicyResult
|
|
2222
|
+
|
|
2176
2223
|
GetResponseHeadersPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
|
2177
2224
|
GetResponseHeadersPolicyConfigRequest.struct_class = Types::GetResponseHeadersPolicyConfigRequest
|
|
2178
2225
|
|
|
@@ -2352,6 +2399,18 @@ module Aws::CloudFront
|
|
|
2352
2399
|
|
|
2353
2400
|
InvalidationSummaryList.member = Shapes::ShapeRef.new(shape: InvalidationSummary, location_name: "InvalidationSummary")
|
|
2354
2401
|
|
|
2402
|
+
IpamCidrConfig.add_member(:cidr, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Cidr"))
|
|
2403
|
+
IpamCidrConfig.add_member(:ipam_pool_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "IpamPoolArn"))
|
|
2404
|
+
IpamCidrConfig.add_member(:anycast_ip, Shapes::ShapeRef.new(shape: string, location_name: "AnycastIp"))
|
|
2405
|
+
IpamCidrConfig.add_member(:status, Shapes::ShapeRef.new(shape: IpamCidrStatus, location_name: "Status"))
|
|
2406
|
+
IpamCidrConfig.struct_class = Types::IpamCidrConfig
|
|
2407
|
+
|
|
2408
|
+
IpamCidrConfigList.member = Shapes::ShapeRef.new(shape: IpamCidrConfig, location_name: "IpamCidrConfig")
|
|
2409
|
+
|
|
2410
|
+
IpamConfig.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
|
|
2411
|
+
IpamConfig.add_member(:ipam_cidr_configs, Shapes::ShapeRef.new(shape: IpamCidrConfigList, required: true, location_name: "IpamCidrConfigs"))
|
|
2412
|
+
IpamConfig.struct_class = Types::IpamConfig
|
|
2413
|
+
|
|
2355
2414
|
KGKeyPairIds.add_member(:key_group_id, Shapes::ShapeRef.new(shape: string, location_name: "KeyGroupId"))
|
|
2356
2415
|
KGKeyPairIds.add_member(:key_pair_ids, Shapes::ShapeRef.new(shape: KeyPairIds, location_name: "KeyPairIds"))
|
|
2357
2416
|
KGKeyPairIds.struct_class = Types::KGKeyPairIds
|
|
@@ -2554,6 +2613,16 @@ module Aws::CloudFront
|
|
|
2554
2613
|
ListDistributionsByOriginRequestPolicyIdResult[:payload] = :distribution_id_list
|
|
2555
2614
|
ListDistributionsByOriginRequestPolicyIdResult[:payload_member] = ListDistributionsByOriginRequestPolicyIdResult.member(:distribution_id_list)
|
|
2556
2615
|
|
|
2616
|
+
ListDistributionsByOwnedResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "ResourceArn"))
|
|
2617
|
+
ListDistributionsByOwnedResourceRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
|
2618
|
+
ListDistributionsByOwnedResourceRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
|
|
2619
|
+
ListDistributionsByOwnedResourceRequest.struct_class = Types::ListDistributionsByOwnedResourceRequest
|
|
2620
|
+
|
|
2621
|
+
ListDistributionsByOwnedResourceResult.add_member(:distribution_list, Shapes::ShapeRef.new(shape: DistributionIdOwnerList, location_name: "DistributionList"))
|
|
2622
|
+
ListDistributionsByOwnedResourceResult.struct_class = Types::ListDistributionsByOwnedResourceResult
|
|
2623
|
+
ListDistributionsByOwnedResourceResult[:payload] = :distribution_list
|
|
2624
|
+
ListDistributionsByOwnedResourceResult[:payload_member] = ListDistributionsByOwnedResourceResult.member(:distribution_list)
|
|
2625
|
+
|
|
2557
2626
|
ListDistributionsByRealtimeLogConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
|
|
2558
2627
|
ListDistributionsByRealtimeLogConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location_name: "MaxItems"))
|
|
2559
2628
|
ListDistributionsByRealtimeLogConfigRequest.add_member(:realtime_log_config_name, Shapes::ShapeRef.new(shape: string, location_name: "RealtimeLogConfigName"))
|
|
@@ -3044,6 +3113,13 @@ module Aws::CloudFront
|
|
|
3044
3113
|
PublishFunctionResult[:payload] = :function_summary
|
|
3045
3114
|
PublishFunctionResult[:payload_member] = PublishFunctionResult.member(:function_summary)
|
|
3046
3115
|
|
|
3116
|
+
PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ResourceArn"))
|
|
3117
|
+
PutResourcePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: string, required: true, location_name: "PolicyDocument"))
|
|
3118
|
+
PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
|
|
3119
|
+
|
|
3120
|
+
PutResourcePolicyResult.add_member(:resource_arn, Shapes::ShapeRef.new(shape: string, location_name: "ResourceArn"))
|
|
3121
|
+
PutResourcePolicyResult.struct_class = Types::PutResourcePolicyResult
|
|
3122
|
+
|
|
3047
3123
|
QueryArgProfile.add_member(:query_arg, Shapes::ShapeRef.new(shape: string, required: true, location_name: "QueryArg"))
|
|
3048
3124
|
QueryArgProfile.add_member(:profile_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ProfileId"))
|
|
3049
3125
|
QueryArgProfile.struct_class = Types::QueryArgProfile
|
|
@@ -3555,6 +3631,17 @@ module Aws::CloudFront
|
|
|
3555
3631
|
UntagResourceRequest[:payload] = :tag_keys
|
|
3556
3632
|
UntagResourceRequest[:payload_member] = UntagResourceRequest.member(:tag_keys)
|
|
3557
3633
|
|
|
3634
|
+
UpdateAnycastIpListRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
|
3635
|
+
UpdateAnycastIpListRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
|
3636
|
+
UpdateAnycastIpListRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
|
|
3637
|
+
UpdateAnycastIpListRequest.struct_class = Types::UpdateAnycastIpListRequest
|
|
3638
|
+
|
|
3639
|
+
UpdateAnycastIpListResult.add_member(:anycast_ip_list, Shapes::ShapeRef.new(shape: AnycastIpList, location_name: "AnycastIpList"))
|
|
3640
|
+
UpdateAnycastIpListResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
|
|
3641
|
+
UpdateAnycastIpListResult.struct_class = Types::UpdateAnycastIpListResult
|
|
3642
|
+
UpdateAnycastIpListResult[:payload] = :anycast_ip_list
|
|
3643
|
+
UpdateAnycastIpListResult[:payload_member] = UpdateAnycastIpListResult.member(:anycast_ip_list)
|
|
3644
|
+
|
|
3558
3645
|
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
3646
|
UpdateCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
|
|
3560
3647
|
UpdateCachePolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
|
|
@@ -3833,6 +3920,7 @@ module Aws::CloudFront
|
|
|
3833
3920
|
|
|
3834
3921
|
VpcOrigin.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
|
|
3835
3922
|
VpcOrigin.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
|
|
3923
|
+
VpcOrigin.add_member(:account_id, Shapes::ShapeRef.new(shape: string, location_name: "AccountId"))
|
|
3836
3924
|
VpcOrigin.add_member(:status, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Status"))
|
|
3837
3925
|
VpcOrigin.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedTime"))
|
|
3838
3926
|
VpcOrigin.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
|
|
@@ -3840,6 +3928,7 @@ module Aws::CloudFront
|
|
|
3840
3928
|
VpcOrigin.struct_class = Types::VpcOrigin
|
|
3841
3929
|
|
|
3842
3930
|
VpcOriginConfig.add_member(:vpc_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "VpcOriginId"))
|
|
3931
|
+
VpcOriginConfig.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: string, location_name: "OwnerAccountId"))
|
|
3843
3932
|
VpcOriginConfig.add_member(:origin_read_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "OriginReadTimeout"))
|
|
3844
3933
|
VpcOriginConfig.add_member(:origin_keepalive_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "OriginKeepaliveTimeout"))
|
|
3845
3934
|
VpcOriginConfig.struct_class = Types::VpcOriginConfig
|
|
@@ -3866,6 +3955,7 @@ module Aws::CloudFront
|
|
|
3866
3955
|
VpcOriginSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedTime"))
|
|
3867
3956
|
VpcOriginSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
|
|
3868
3957
|
VpcOriginSummary.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Arn"))
|
|
3958
|
+
VpcOriginSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: string, location_name: "AccountId"))
|
|
3869
3959
|
VpcOriginSummary.add_member(:origin_endpoint_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "OriginEndpointArn"))
|
|
3870
3960
|
VpcOriginSummary.struct_class = Types::VpcOriginSummary
|
|
3871
3961
|
|
|
@@ -4763,6 +4853,25 @@ module Aws::CloudFront
|
|
|
4763
4853
|
o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigInUse)
|
|
4764
4854
|
end)
|
|
4765
4855
|
|
|
4856
|
+
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
4857
|
+
o.name = "DeleteResourcePolicy2020_05_31"
|
|
4858
|
+
o.http_method = "POST"
|
|
4859
|
+
o.http_request_uri = "/2020-05-31/delete-resource-policy"
|
|
4860
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest,
|
|
4861
|
+
location_name: "DeleteResourcePolicyRequest",
|
|
4862
|
+
metadata: {
|
|
4863
|
+
"xmlNamespace" => {"uri" => "http://cloudfront.amazonaws.com/doc/2020-05-31/"}
|
|
4864
|
+
}
|
|
4865
|
+
)
|
|
4866
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
4867
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
|
4868
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
|
4869
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
|
4870
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
|
|
4871
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
|
4872
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
4873
|
+
end)
|
|
4874
|
+
|
|
4766
4875
|
api.add_operation(:delete_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
4767
4876
|
o.name = "DeleteResponseHeadersPolicy2020_05_31"
|
|
4768
4877
|
o.http_method = "DELETE"
|
|
@@ -5174,6 +5283,23 @@ module Aws::CloudFront
|
|
|
5174
5283
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
|
|
5175
5284
|
end)
|
|
5176
5285
|
|
|
5286
|
+
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
5287
|
+
o.name = "GetResourcePolicy2020_05_31"
|
|
5288
|
+
o.http_method = "POST"
|
|
5289
|
+
o.http_request_uri = "/2020-05-31/get-resource-policy"
|
|
5290
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest,
|
|
5291
|
+
location_name: "GetResourcePolicyRequest",
|
|
5292
|
+
metadata: {
|
|
5293
|
+
"xmlNamespace" => {"uri" => "http://cloudfront.amazonaws.com/doc/2020-05-31/"}
|
|
5294
|
+
}
|
|
5295
|
+
)
|
|
5296
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResult)
|
|
5297
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
|
5298
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
|
5299
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
|
5300
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
5301
|
+
end)
|
|
5302
|
+
|
|
5177
5303
|
api.add_operation(:get_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
5178
5304
|
o.name = "GetResponseHeadersPolicy2020_05_31"
|
|
5179
5305
|
o.http_method = "GET"
|
|
@@ -5426,6 +5552,18 @@ module Aws::CloudFront
|
|
|
5426
5552
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
5427
5553
|
end)
|
|
5428
5554
|
|
|
5555
|
+
api.add_operation(:list_distributions_by_owned_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
5556
|
+
o.name = "ListDistributionsByOwnedResource2020_05_31"
|
|
5557
|
+
o.http_method = "GET"
|
|
5558
|
+
o.http_request_uri = "/2020-05-31/distributionsByOwnedResource/{ResourceArn}"
|
|
5559
|
+
o.input = Shapes::ShapeRef.new(shape: ListDistributionsByOwnedResourceRequest)
|
|
5560
|
+
o.output = Shapes::ShapeRef.new(shape: ListDistributionsByOwnedResourceResult)
|
|
5561
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
|
5562
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
|
5563
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
|
5564
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
5565
|
+
end)
|
|
5566
|
+
|
|
5429
5567
|
api.add_operation(:list_distributions_by_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
|
|
5430
5568
|
o.name = "ListDistributionsByRealtimeLogConfig2020_05_31"
|
|
5431
5569
|
o.http_method = "POST"
|
|
@@ -5698,6 +5836,25 @@ module Aws::CloudFront
|
|
|
5698
5836
|
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
|
5699
5837
|
end)
|
|
5700
5838
|
|
|
5839
|
+
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
5840
|
+
o.name = "PutResourcePolicy2020_05_31"
|
|
5841
|
+
o.http_method = "POST"
|
|
5842
|
+
o.http_request_uri = "/2020-05-31/put-resource-policy"
|
|
5843
|
+
o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest,
|
|
5844
|
+
location_name: "PutResourcePolicyRequest",
|
|
5845
|
+
metadata: {
|
|
5846
|
+
"xmlNamespace" => {"uri" => "http://cloudfront.amazonaws.com/doc/2020-05-31/"}
|
|
5847
|
+
}
|
|
5848
|
+
)
|
|
5849
|
+
o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResult)
|
|
5850
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
|
5851
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
|
5852
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
|
5853
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
|
5854
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
5855
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
|
|
5856
|
+
end)
|
|
5857
|
+
|
|
5701
5858
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
5702
5859
|
o.name = "TagResource2020_05_31"
|
|
5703
5860
|
o.http_method = "POST"
|
|
@@ -5740,6 +5897,25 @@ module Aws::CloudFront
|
|
|
5740
5897
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
|
|
5741
5898
|
end)
|
|
5742
5899
|
|
|
5900
|
+
api.add_operation(:update_anycast_ip_list, Seahorse::Model::Operation.new.tap do |o|
|
|
5901
|
+
o.name = "UpdateAnycastIpList2020_05_31"
|
|
5902
|
+
o.http_method = "PUT"
|
|
5903
|
+
o.http_request_uri = "/2020-05-31/anycast-ip-list/{Id}"
|
|
5904
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAnycastIpListRequest,
|
|
5905
|
+
location_name: "UpdateAnycastIpListRequest",
|
|
5906
|
+
metadata: {
|
|
5907
|
+
"xmlNamespace" => {"uri" => "http://cloudfront.amazonaws.com/doc/2020-05-31/"}
|
|
5908
|
+
}
|
|
5909
|
+
)
|
|
5910
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAnycastIpListResult)
|
|
5911
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
|
5912
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
|
5913
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
|
|
5914
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
|
5915
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
|
5916
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
|
5917
|
+
end)
|
|
5918
|
+
|
|
5743
5919
|
api.add_operation(:update_cache_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
5744
5920
|
o.name = "UpdateCachePolicy2020_05_31"
|
|
5745
5921
|
o.http_method = "PUT"
|