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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e4678c5dc797226a102befd17264f9287938c9f0d08ba38cff087450a126518
|
|
4
|
+
data.tar.gz: 63336250644b58b72243d4e7c29414fe5e5b6c7ffff8f3f4bc87e61cfc14316f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb0a8398a3c6388fe14923de931b44e506465696d8eb66b50efad0cc37ee3230e4db0a39580bbc4ad689e99a853ba55af5ed4a9d77a7332e50ca876fa11315f4
|
|
7
|
+
data.tar.gz: 7e62aeabfa4b1d46001ef7da362a4468a5c4548a4a097e69dbd5f81eac5a2c327667ff037ccd5a7ed5ea76835507786653f9f94708aaa68928769d870cc38fc2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.134.0 (2025-11-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for bring your own IP (BYOIP) to CloudFront's CreateAnycastIpList API through an optional IpamCidrConfigs field.
|
|
8
|
+
|
|
9
|
+
1.133.0 (2025-11-05)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds new and updated API operations. You can now use the IpAddressType field to specify either ipv4 or dualstack for your Anycast static IP list. You can also enable cross-account resource sharing to share your VPC origins with other AWS accounts
|
|
13
|
+
|
|
4
14
|
1.132.0 (2025-10-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.134.0
|
|
@@ -731,6 +731,7 @@ module Aws::CloudFront
|
|
|
731
731
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
732
732
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
733
733
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
734
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
734
735
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
735
736
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
736
737
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -909,6 +910,20 @@ module Aws::CloudFront
|
|
|
909
910
|
# @option params [Types::Tags] :tags
|
|
910
911
|
# A complex type that contains zero or more `Tag` elements.
|
|
911
912
|
#
|
|
913
|
+
# @option params [String] :ip_address_type
|
|
914
|
+
# The IP address type for the Anycast static IP list. You can specify
|
|
915
|
+
# one of the following options:
|
|
916
|
+
#
|
|
917
|
+
# * `ipv4` only
|
|
918
|
+
#
|
|
919
|
+
# * `ipv6` only
|
|
920
|
+
#
|
|
921
|
+
# * `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
|
|
922
|
+
#
|
|
923
|
+
# @option params [Array<Types::IpamCidrConfig>] :ipam_cidr_configs
|
|
924
|
+
# A list of IPAM CIDR configurations that specify the IP address ranges
|
|
925
|
+
# and IPAM pool settings for creating the Anycast static IP list.
|
|
926
|
+
#
|
|
912
927
|
# @return [Types::CreateAnycastIpListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
913
928
|
#
|
|
914
929
|
# * {Types::CreateAnycastIpListResult#anycast_ip_list #anycast_ip_list} => Types::AnycastIpList
|
|
@@ -927,6 +942,15 @@ module Aws::CloudFront
|
|
|
927
942
|
# },
|
|
928
943
|
# ],
|
|
929
944
|
# },
|
|
945
|
+
# ip_address_type: "ipv4", # accepts ipv4, ipv6, dualstack
|
|
946
|
+
# ipam_cidr_configs: [
|
|
947
|
+
# {
|
|
948
|
+
# cidr: "string", # required
|
|
949
|
+
# ipam_pool_arn: "string", # required
|
|
950
|
+
# anycast_ip: "string",
|
|
951
|
+
# status: "provisioned", # accepts provisioned, failed-provision, provisioning, deprovisioned, failed-deprovision, deprovisioning, advertised, failed-advertise, advertising, withdrawn, failed-withdraw, withdrawing
|
|
952
|
+
# },
|
|
953
|
+
# ],
|
|
930
954
|
# })
|
|
931
955
|
#
|
|
932
956
|
# @example Response structure
|
|
@@ -935,6 +959,13 @@ module Aws::CloudFront
|
|
|
935
959
|
# resp.anycast_ip_list.name #=> String
|
|
936
960
|
# resp.anycast_ip_list.status #=> String
|
|
937
961
|
# resp.anycast_ip_list.arn #=> String
|
|
962
|
+
# resp.anycast_ip_list.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
963
|
+
# resp.anycast_ip_list.ipam_config.quantity #=> Integer
|
|
964
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs #=> Array
|
|
965
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].cidr #=> String
|
|
966
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].ipam_pool_arn #=> String
|
|
967
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].anycast_ip #=> String
|
|
968
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].status #=> String, one of "provisioned", "failed-provision", "provisioning", "deprovisioned", "failed-deprovision", "deprovisioning", "advertised", "failed-advertise", "advertising", "withdrawn", "failed-withdraw", "withdrawing"
|
|
938
969
|
# resp.anycast_ip_list.anycast_ips #=> Array
|
|
939
970
|
# resp.anycast_ip_list.anycast_ips[0] #=> String
|
|
940
971
|
# resp.anycast_ip_list.ip_count #=> Integer
|
|
@@ -1314,6 +1345,7 @@ module Aws::CloudFront
|
|
|
1314
1345
|
# },
|
|
1315
1346
|
# vpc_origin_config: {
|
|
1316
1347
|
# vpc_origin_id: "string", # required
|
|
1348
|
+
# owner_account_id: "string",
|
|
1317
1349
|
# origin_read_timeout: 1,
|
|
1318
1350
|
# origin_keepalive_timeout: 1,
|
|
1319
1351
|
# },
|
|
@@ -1609,6 +1641,7 @@ module Aws::CloudFront
|
|
|
1609
1641
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
1610
1642
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
1611
1643
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
1644
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
1612
1645
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
1613
1646
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
1614
1647
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -1973,6 +2006,7 @@ module Aws::CloudFront
|
|
|
1973
2006
|
# },
|
|
1974
2007
|
# vpc_origin_config: {
|
|
1975
2008
|
# vpc_origin_id: "string", # required
|
|
2009
|
+
# owner_account_id: "string",
|
|
1976
2010
|
# origin_read_timeout: 1,
|
|
1977
2011
|
# origin_keepalive_timeout: 1,
|
|
1978
2012
|
# },
|
|
@@ -2277,6 +2311,7 @@ module Aws::CloudFront
|
|
|
2277
2311
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
2278
2312
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
2279
2313
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
2314
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
2280
2315
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
2281
2316
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
2282
2317
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -3730,6 +3765,7 @@ module Aws::CloudFront
|
|
|
3730
3765
|
#
|
|
3731
3766
|
# resp.vpc_origin.id #=> String
|
|
3732
3767
|
# resp.vpc_origin.arn #=> String
|
|
3768
|
+
# resp.vpc_origin.account_id #=> String
|
|
3733
3769
|
# resp.vpc_origin.status #=> String
|
|
3734
3770
|
# resp.vpc_origin.created_time #=> Time
|
|
3735
3771
|
# resp.vpc_origin.last_modified_time #=> Time
|
|
@@ -3905,6 +3941,10 @@ module Aws::CloudFront
|
|
|
3905
3941
|
|
|
3906
3942
|
# Delete a distribution.
|
|
3907
3943
|
#
|
|
3944
|
+
# Before you can delete a distribution, you must disable it, which
|
|
3945
|
+
# requires permission to update the distribution. Once deleted, a
|
|
3946
|
+
# distribution cannot be recovered.
|
|
3947
|
+
#
|
|
3908
3948
|
# @option params [required, String] :id
|
|
3909
3949
|
# The distribution ID.
|
|
3910
3950
|
#
|
|
@@ -4285,6 +4325,29 @@ module Aws::CloudFront
|
|
|
4285
4325
|
req.send_request(options)
|
|
4286
4326
|
end
|
|
4287
4327
|
|
|
4328
|
+
# Deletes the resource policy attached to the CloudFront resource.
|
|
4329
|
+
#
|
|
4330
|
+
# @option params [required, String] :resource_arn
|
|
4331
|
+
# The Amazon Resource Name (ARN) of the CloudFront resource for which
|
|
4332
|
+
# the resource policy should be deleted.
|
|
4333
|
+
#
|
|
4334
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4335
|
+
#
|
|
4336
|
+
# @example Request syntax with placeholder values
|
|
4337
|
+
#
|
|
4338
|
+
# resp = client.delete_resource_policy({
|
|
4339
|
+
# resource_arn: "string", # required
|
|
4340
|
+
# })
|
|
4341
|
+
#
|
|
4342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteResourcePolicy AWS API Documentation
|
|
4343
|
+
#
|
|
4344
|
+
# @overload delete_resource_policy(params = {})
|
|
4345
|
+
# @param [Hash] params ({})
|
|
4346
|
+
def delete_resource_policy(params = {}, options = {})
|
|
4347
|
+
req = build_request(:delete_resource_policy, params)
|
|
4348
|
+
req.send_request(options)
|
|
4349
|
+
end
|
|
4350
|
+
|
|
4288
4351
|
# Deletes a response headers policy.
|
|
4289
4352
|
#
|
|
4290
4353
|
# You cannot delete a response headers policy if it's attached to a
|
|
@@ -4457,6 +4520,7 @@ module Aws::CloudFront
|
|
|
4457
4520
|
#
|
|
4458
4521
|
# resp.vpc_origin.id #=> String
|
|
4459
4522
|
# resp.vpc_origin.arn #=> String
|
|
4523
|
+
# resp.vpc_origin.account_id #=> String
|
|
4460
4524
|
# resp.vpc_origin.status #=> String
|
|
4461
4525
|
# resp.vpc_origin.created_time #=> Time
|
|
4462
4526
|
# resp.vpc_origin.last_modified_time #=> Time
|
|
@@ -4679,6 +4743,13 @@ module Aws::CloudFront
|
|
|
4679
4743
|
# resp.anycast_ip_list.name #=> String
|
|
4680
4744
|
# resp.anycast_ip_list.status #=> String
|
|
4681
4745
|
# resp.anycast_ip_list.arn #=> String
|
|
4746
|
+
# resp.anycast_ip_list.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
4747
|
+
# resp.anycast_ip_list.ipam_config.quantity #=> Integer
|
|
4748
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs #=> Array
|
|
4749
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].cidr #=> String
|
|
4750
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].ipam_pool_arn #=> String
|
|
4751
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].anycast_ip #=> String
|
|
4752
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].status #=> String, one of "provisioned", "failed-provision", "provisioning", "deprovisioned", "failed-deprovision", "deprovisioning", "advertised", "failed-advertise", "advertising", "withdrawn", "failed-withdraw", "withdrawing"
|
|
4682
4753
|
# resp.anycast_ip_list.anycast_ips #=> Array
|
|
4683
4754
|
# resp.anycast_ip_list.anycast_ips[0] #=> String
|
|
4684
4755
|
# resp.anycast_ip_list.ip_count #=> Integer
|
|
@@ -5117,6 +5188,7 @@ module Aws::CloudFront
|
|
|
5117
5188
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
5118
5189
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
5119
5190
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
5191
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
5120
5192
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
5121
5193
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
5122
5194
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -5332,6 +5404,7 @@ module Aws::CloudFront
|
|
|
5332
5404
|
# resp.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
5333
5405
|
# resp.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
5334
5406
|
# resp.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
5407
|
+
# resp.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
5335
5408
|
# resp.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
5336
5409
|
# resp.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
5337
5410
|
# resp.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -6347,6 +6420,38 @@ module Aws::CloudFront
|
|
|
6347
6420
|
req.send_request(options)
|
|
6348
6421
|
end
|
|
6349
6422
|
|
|
6423
|
+
# Retrieves the resource policy for the specified CloudFront resource
|
|
6424
|
+
# that you own and have shared.
|
|
6425
|
+
#
|
|
6426
|
+
# @option params [required, String] :resource_arn
|
|
6427
|
+
# The Amazon Resource Name (ARN) of the CloudFront resource that is
|
|
6428
|
+
# associated with the resource policy.
|
|
6429
|
+
#
|
|
6430
|
+
# @return [Types::GetResourcePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6431
|
+
#
|
|
6432
|
+
# * {Types::GetResourcePolicyResult#resource_arn #resource_arn} => String
|
|
6433
|
+
# * {Types::GetResourcePolicyResult#policy_document #policy_document} => String
|
|
6434
|
+
#
|
|
6435
|
+
# @example Request syntax with placeholder values
|
|
6436
|
+
#
|
|
6437
|
+
# resp = client.get_resource_policy({
|
|
6438
|
+
# resource_arn: "string", # required
|
|
6439
|
+
# })
|
|
6440
|
+
#
|
|
6441
|
+
# @example Response structure
|
|
6442
|
+
#
|
|
6443
|
+
# resp.resource_arn #=> String
|
|
6444
|
+
# resp.policy_document #=> String
|
|
6445
|
+
#
|
|
6446
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResourcePolicy AWS API Documentation
|
|
6447
|
+
#
|
|
6448
|
+
# @overload get_resource_policy(params = {})
|
|
6449
|
+
# @param [Hash] params ({})
|
|
6450
|
+
def get_resource_policy(params = {}, options = {})
|
|
6451
|
+
req = build_request(:get_resource_policy, params)
|
|
6452
|
+
req.send_request(options)
|
|
6453
|
+
end
|
|
6454
|
+
|
|
6350
6455
|
# Gets a response headers policy, including metadata (the policy's
|
|
6351
6456
|
# identifier and the date and time when the policy was last modified).
|
|
6352
6457
|
#
|
|
@@ -6681,6 +6786,7 @@ module Aws::CloudFront
|
|
|
6681
6786
|
#
|
|
6682
6787
|
# resp.vpc_origin.id #=> String
|
|
6683
6788
|
# resp.vpc_origin.arn #=> String
|
|
6789
|
+
# resp.vpc_origin.account_id #=> String
|
|
6684
6790
|
# resp.vpc_origin.status #=> String
|
|
6685
6791
|
# resp.vpc_origin.created_time #=> Time
|
|
6686
6792
|
# resp.vpc_origin.last_modified_time #=> Time
|
|
@@ -6735,6 +6841,14 @@ module Aws::CloudFront
|
|
|
6735
6841
|
# resp.anycast_ip_lists.items[0].arn #=> String
|
|
6736
6842
|
# resp.anycast_ip_lists.items[0].ip_count #=> Integer
|
|
6737
6843
|
# resp.anycast_ip_lists.items[0].last_modified_time #=> Time
|
|
6844
|
+
# resp.anycast_ip_lists.items[0].ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
6845
|
+
# resp.anycast_ip_lists.items[0].etag #=> String
|
|
6846
|
+
# resp.anycast_ip_lists.items[0].ipam_config.quantity #=> Integer
|
|
6847
|
+
# resp.anycast_ip_lists.items[0].ipam_config.ipam_cidr_configs #=> Array
|
|
6848
|
+
# resp.anycast_ip_lists.items[0].ipam_config.ipam_cidr_configs[0].cidr #=> String
|
|
6849
|
+
# resp.anycast_ip_lists.items[0].ipam_config.ipam_cidr_configs[0].ipam_pool_arn #=> String
|
|
6850
|
+
# resp.anycast_ip_lists.items[0].ipam_config.ipam_cidr_configs[0].anycast_ip #=> String
|
|
6851
|
+
# resp.anycast_ip_lists.items[0].ipam_config.ipam_cidr_configs[0].status #=> String, one of "provisioned", "failed-provision", "provisioning", "deprovisioned", "failed-deprovision", "deprovisioning", "advertised", "failed-advertise", "advertising", "withdrawn", "failed-withdraw", "withdrawing"
|
|
6738
6852
|
# resp.anycast_ip_lists.marker #=> String
|
|
6739
6853
|
# resp.anycast_ip_lists.next_marker #=> String
|
|
6740
6854
|
# resp.anycast_ip_lists.max_items #=> Integer
|
|
@@ -7281,6 +7395,7 @@ module Aws::CloudFront
|
|
|
7281
7395
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
7282
7396
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
7283
7397
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
7398
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
7284
7399
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
7285
7400
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
7286
7401
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
@@ -7501,6 +7616,7 @@ module Aws::CloudFront
|
|
|
7501
7616
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
7502
7617
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
7503
7618
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
7619
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
7504
7620
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
7505
7621
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
7506
7622
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
@@ -7775,6 +7891,7 @@ module Aws::CloudFront
|
|
|
7775
7891
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
7776
7892
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
7777
7893
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
7894
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
7778
7895
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
7779
7896
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
7780
7897
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
@@ -8039,6 +8156,55 @@ module Aws::CloudFront
|
|
|
8039
8156
|
req.send_request(options)
|
|
8040
8157
|
end
|
|
8041
8158
|
|
|
8159
|
+
# Lists the CloudFront distributions that are associated with the
|
|
8160
|
+
# specified resource that you own.
|
|
8161
|
+
#
|
|
8162
|
+
# @option params [required, String] :resource_arn
|
|
8163
|
+
# The ARN of the CloudFront resource that you've shared with other
|
|
8164
|
+
# Amazon Web Services accounts.
|
|
8165
|
+
#
|
|
8166
|
+
# @option params [String] :marker
|
|
8167
|
+
# Use this field when paginating results to indicate where to begin in
|
|
8168
|
+
# your list of distributions. The response includes distributions in the
|
|
8169
|
+
# list that occur after the marker. To get the next page of the list,
|
|
8170
|
+
# set this field's value to the value of `NextMarker` from the current
|
|
8171
|
+
# page's response.
|
|
8172
|
+
#
|
|
8173
|
+
# @option params [Integer] :max_items
|
|
8174
|
+
# The maximum number of distributions to return.
|
|
8175
|
+
#
|
|
8176
|
+
# @return [Types::ListDistributionsByOwnedResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8177
|
+
#
|
|
8178
|
+
# * {Types::ListDistributionsByOwnedResourceResult#distribution_list #distribution_list} => Types::DistributionIdOwnerList
|
|
8179
|
+
#
|
|
8180
|
+
# @example Request syntax with placeholder values
|
|
8181
|
+
#
|
|
8182
|
+
# resp = client.list_distributions_by_owned_resource({
|
|
8183
|
+
# resource_arn: "string", # required
|
|
8184
|
+
# marker: "string",
|
|
8185
|
+
# max_items: 1,
|
|
8186
|
+
# })
|
|
8187
|
+
#
|
|
8188
|
+
# @example Response structure
|
|
8189
|
+
#
|
|
8190
|
+
# resp.distribution_list.marker #=> String
|
|
8191
|
+
# resp.distribution_list.next_marker #=> String
|
|
8192
|
+
# resp.distribution_list.max_items #=> Integer
|
|
8193
|
+
# resp.distribution_list.is_truncated #=> Boolean
|
|
8194
|
+
# resp.distribution_list.quantity #=> Integer
|
|
8195
|
+
# resp.distribution_list.items #=> Array
|
|
8196
|
+
# resp.distribution_list.items[0].distribution_id #=> String
|
|
8197
|
+
# resp.distribution_list.items[0].owner_account_id #=> String
|
|
8198
|
+
#
|
|
8199
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOwnedResource AWS API Documentation
|
|
8200
|
+
#
|
|
8201
|
+
# @overload list_distributions_by_owned_resource(params = {})
|
|
8202
|
+
# @param [Hash] params ({})
|
|
8203
|
+
def list_distributions_by_owned_resource(params = {}, options = {})
|
|
8204
|
+
req = build_request(:list_distributions_by_owned_resource, params)
|
|
8205
|
+
req.send_request(options)
|
|
8206
|
+
end
|
|
8207
|
+
|
|
8042
8208
|
# Gets a list of distributions that have a cache behavior that's
|
|
8043
8209
|
# associated with the specified real-time log configuration.
|
|
8044
8210
|
#
|
|
@@ -8123,6 +8289,7 @@ module Aws::CloudFront
|
|
|
8123
8289
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
8124
8290
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
8125
8291
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
8292
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
8126
8293
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
8127
8294
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
8128
8295
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
@@ -8473,6 +8640,7 @@ module Aws::CloudFront
|
|
|
8473
8640
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
8474
8641
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
8475
8642
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
8643
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
8476
8644
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
8477
8645
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
8478
8646
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
@@ -9637,6 +9805,7 @@ module Aws::CloudFront
|
|
|
9637
9805
|
# resp.vpc_origin_list.items[0].created_time #=> Time
|
|
9638
9806
|
# resp.vpc_origin_list.items[0].last_modified_time #=> Time
|
|
9639
9807
|
# resp.vpc_origin_list.items[0].arn #=> String
|
|
9808
|
+
# resp.vpc_origin_list.items[0].account_id #=> String
|
|
9640
9809
|
# resp.vpc_origin_list.items[0].origin_endpoint_arn #=> String
|
|
9641
9810
|
#
|
|
9642
9811
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListVpcOrigins AWS API Documentation
|
|
@@ -9702,6 +9871,39 @@ module Aws::CloudFront
|
|
|
9702
9871
|
req.send_request(options)
|
|
9703
9872
|
end
|
|
9704
9873
|
|
|
9874
|
+
# Creates a resource control policy for a given CloudFront resource.
|
|
9875
|
+
#
|
|
9876
|
+
# @option params [required, String] :resource_arn
|
|
9877
|
+
# The Amazon Resource Name (ARN) of the CloudFront resource for which
|
|
9878
|
+
# the policy is being created.
|
|
9879
|
+
#
|
|
9880
|
+
# @option params [required, String] :policy_document
|
|
9881
|
+
# The JSON-formatted resource policy to create.
|
|
9882
|
+
#
|
|
9883
|
+
# @return [Types::PutResourcePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9884
|
+
#
|
|
9885
|
+
# * {Types::PutResourcePolicyResult#resource_arn #resource_arn} => String
|
|
9886
|
+
#
|
|
9887
|
+
# @example Request syntax with placeholder values
|
|
9888
|
+
#
|
|
9889
|
+
# resp = client.put_resource_policy({
|
|
9890
|
+
# resource_arn: "string", # required
|
|
9891
|
+
# policy_document: "string", # required
|
|
9892
|
+
# })
|
|
9893
|
+
#
|
|
9894
|
+
# @example Response structure
|
|
9895
|
+
#
|
|
9896
|
+
# resp.resource_arn #=> String
|
|
9897
|
+
#
|
|
9898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PutResourcePolicy AWS API Documentation
|
|
9899
|
+
#
|
|
9900
|
+
# @overload put_resource_policy(params = {})
|
|
9901
|
+
# @param [Hash] params ({})
|
|
9902
|
+
def put_resource_policy(params = {}, options = {})
|
|
9903
|
+
req = build_request(:put_resource_policy, params)
|
|
9904
|
+
req.send_request(options)
|
|
9905
|
+
end
|
|
9906
|
+
|
|
9705
9907
|
# Add tags to a CloudFront resource. For more information, see [Tagging
|
|
9706
9908
|
# a distribution][1] in the *Amazon CloudFront Developer Guide*.
|
|
9707
9909
|
#
|
|
@@ -9854,6 +10056,66 @@ module Aws::CloudFront
|
|
|
9854
10056
|
req.send_request(options)
|
|
9855
10057
|
end
|
|
9856
10058
|
|
|
10059
|
+
# Updates an Anycast static IP list.
|
|
10060
|
+
#
|
|
10061
|
+
# @option params [required, String] :id
|
|
10062
|
+
# The ID of the Anycast static IP list.
|
|
10063
|
+
#
|
|
10064
|
+
# @option params [String] :ip_address_type
|
|
10065
|
+
# The IP address type for the Anycast static IP list. You can specify
|
|
10066
|
+
# one of the following options:
|
|
10067
|
+
#
|
|
10068
|
+
# * `ipv4` only
|
|
10069
|
+
#
|
|
10070
|
+
# * `ipv6` only
|
|
10071
|
+
#
|
|
10072
|
+
# * `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
|
|
10073
|
+
#
|
|
10074
|
+
# @option params [required, String] :if_match
|
|
10075
|
+
# The current version (ETag value) of the Anycast static IP list that
|
|
10076
|
+
# you are updating.
|
|
10077
|
+
#
|
|
10078
|
+
# @return [Types::UpdateAnycastIpListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10079
|
+
#
|
|
10080
|
+
# * {Types::UpdateAnycastIpListResult#anycast_ip_list #anycast_ip_list} => Types::AnycastIpList
|
|
10081
|
+
# * {Types::UpdateAnycastIpListResult#etag #etag} => String
|
|
10082
|
+
#
|
|
10083
|
+
# @example Request syntax with placeholder values
|
|
10084
|
+
#
|
|
10085
|
+
# resp = client.update_anycast_ip_list({
|
|
10086
|
+
# id: "string", # required
|
|
10087
|
+
# ip_address_type: "ipv4", # accepts ipv4, ipv6, dualstack
|
|
10088
|
+
# if_match: "string", # required
|
|
10089
|
+
# })
|
|
10090
|
+
#
|
|
10091
|
+
# @example Response structure
|
|
10092
|
+
#
|
|
10093
|
+
# resp.anycast_ip_list.id #=> String
|
|
10094
|
+
# resp.anycast_ip_list.name #=> String
|
|
10095
|
+
# resp.anycast_ip_list.status #=> String
|
|
10096
|
+
# resp.anycast_ip_list.arn #=> String
|
|
10097
|
+
# resp.anycast_ip_list.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
10098
|
+
# resp.anycast_ip_list.ipam_config.quantity #=> Integer
|
|
10099
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs #=> Array
|
|
10100
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].cidr #=> String
|
|
10101
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].ipam_pool_arn #=> String
|
|
10102
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].anycast_ip #=> String
|
|
10103
|
+
# resp.anycast_ip_list.ipam_config.ipam_cidr_configs[0].status #=> String, one of "provisioned", "failed-provision", "provisioning", "deprovisioned", "failed-deprovision", "deprovisioning", "advertised", "failed-advertise", "advertising", "withdrawn", "failed-withdraw", "withdrawing"
|
|
10104
|
+
# resp.anycast_ip_list.anycast_ips #=> Array
|
|
10105
|
+
# resp.anycast_ip_list.anycast_ips[0] #=> String
|
|
10106
|
+
# resp.anycast_ip_list.ip_count #=> Integer
|
|
10107
|
+
# resp.anycast_ip_list.last_modified_time #=> Time
|
|
10108
|
+
# resp.etag #=> String
|
|
10109
|
+
#
|
|
10110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateAnycastIpList AWS API Documentation
|
|
10111
|
+
#
|
|
10112
|
+
# @overload update_anycast_ip_list(params = {})
|
|
10113
|
+
# @param [Hash] params ({})
|
|
10114
|
+
def update_anycast_ip_list(params = {}, options = {})
|
|
10115
|
+
req = build_request(:update_anycast_ip_list, params)
|
|
10116
|
+
req.send_request(options)
|
|
10117
|
+
end
|
|
10118
|
+
|
|
9857
10119
|
# Updates a cache policy configuration.
|
|
9858
10120
|
#
|
|
9859
10121
|
# When you update a cache policy configuration, all the fields are
|
|
@@ -10251,6 +10513,7 @@ module Aws::CloudFront
|
|
|
10251
10513
|
# },
|
|
10252
10514
|
# vpc_origin_config: {
|
|
10253
10515
|
# vpc_origin_id: "string", # required
|
|
10516
|
+
# owner_account_id: "string",
|
|
10254
10517
|
# origin_read_timeout: 1,
|
|
10255
10518
|
# origin_keepalive_timeout: 1,
|
|
10256
10519
|
# },
|
|
@@ -10548,6 +10811,7 @@ module Aws::CloudFront
|
|
|
10548
10811
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
10549
10812
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
10550
10813
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
10814
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
10551
10815
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
10552
10816
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
10553
10817
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -10939,6 +11203,7 @@ module Aws::CloudFront
|
|
|
10939
11203
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
10940
11204
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
10941
11205
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
11206
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
10942
11207
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
10943
11208
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
10944
11209
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -12216,6 +12481,7 @@ module Aws::CloudFront
|
|
|
12216
12481
|
#
|
|
12217
12482
|
# resp.vpc_origin.id #=> String
|
|
12218
12483
|
# resp.vpc_origin.arn #=> String
|
|
12484
|
+
# resp.vpc_origin.account_id #=> String
|
|
12219
12485
|
# resp.vpc_origin.status #=> String
|
|
12220
12486
|
# resp.vpc_origin.created_time #=> Time
|
|
12221
12487
|
# resp.vpc_origin.last_modified_time #=> Time
|
|
@@ -12296,7 +12562,7 @@ module Aws::CloudFront
|
|
|
12296
12562
|
tracer: tracer
|
|
12297
12563
|
)
|
|
12298
12564
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
|
12299
|
-
context[:gem_version] = '1.
|
|
12565
|
+
context[:gem_version] = '1.134.0'
|
|
12300
12566
|
Seahorse::Client::Request.new(handlers, context)
|
|
12301
12567
|
end
|
|
12302
12568
|
|