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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8459cdb109160a91f6b65dad2a8bfb182787f9cdae4f2ae399948e795645d7b
|
|
4
|
+
data.tar.gz: 50ed8260d434dac1c78c2f663e2e05385e7af75691274e60eb278d1e8bdf636b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47cc144415a6ef4e14c4a97800e5fa11add92e43ca922cad089863f3a4f3e4c8a93cfadb081758ec0b5c4028825dc5405319ff44742ba44a2643185ff26a96ca
|
|
7
|
+
data.tar.gz: ebca3c5ac0b28af2f223089ca4d86348d2338fb09ade9e1666d1ce7dd62de4c8a69fbd1c4a412913a4783da1029ff2cbc3abccd3b95807daa09898d6e4f1caf5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.133.0 (2025-11-05)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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
|
|
8
|
+
|
|
4
9
|
1.132.0 (2025-10-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.133.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,16 @@ 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` - Allocate a list of only IPv4 addresses
|
|
918
|
+
#
|
|
919
|
+
# * `ipv6` - Allocate a list of only IPv4 addresses
|
|
920
|
+
#
|
|
921
|
+
# * `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
|
|
922
|
+
#
|
|
912
923
|
# @return [Types::CreateAnycastIpListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
913
924
|
#
|
|
914
925
|
# * {Types::CreateAnycastIpListResult#anycast_ip_list #anycast_ip_list} => Types::AnycastIpList
|
|
@@ -927,6 +938,7 @@ module Aws::CloudFront
|
|
|
927
938
|
# },
|
|
928
939
|
# ],
|
|
929
940
|
# },
|
|
941
|
+
# ip_address_type: "ipv4", # accepts ipv4, ipv6, dualstack
|
|
930
942
|
# })
|
|
931
943
|
#
|
|
932
944
|
# @example Response structure
|
|
@@ -935,6 +947,7 @@ module Aws::CloudFront
|
|
|
935
947
|
# resp.anycast_ip_list.name #=> String
|
|
936
948
|
# resp.anycast_ip_list.status #=> String
|
|
937
949
|
# resp.anycast_ip_list.arn #=> String
|
|
950
|
+
# resp.anycast_ip_list.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
938
951
|
# resp.anycast_ip_list.anycast_ips #=> Array
|
|
939
952
|
# resp.anycast_ip_list.anycast_ips[0] #=> String
|
|
940
953
|
# resp.anycast_ip_list.ip_count #=> Integer
|
|
@@ -1314,6 +1327,7 @@ module Aws::CloudFront
|
|
|
1314
1327
|
# },
|
|
1315
1328
|
# vpc_origin_config: {
|
|
1316
1329
|
# vpc_origin_id: "string", # required
|
|
1330
|
+
# owner_account_id: "string",
|
|
1317
1331
|
# origin_read_timeout: 1,
|
|
1318
1332
|
# origin_keepalive_timeout: 1,
|
|
1319
1333
|
# },
|
|
@@ -1609,6 +1623,7 @@ module Aws::CloudFront
|
|
|
1609
1623
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
1610
1624
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
1611
1625
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
1626
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
1612
1627
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
1613
1628
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
1614
1629
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -1973,6 +1988,7 @@ module Aws::CloudFront
|
|
|
1973
1988
|
# },
|
|
1974
1989
|
# vpc_origin_config: {
|
|
1975
1990
|
# vpc_origin_id: "string", # required
|
|
1991
|
+
# owner_account_id: "string",
|
|
1976
1992
|
# origin_read_timeout: 1,
|
|
1977
1993
|
# origin_keepalive_timeout: 1,
|
|
1978
1994
|
# },
|
|
@@ -2277,6 +2293,7 @@ module Aws::CloudFront
|
|
|
2277
2293
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
2278
2294
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
2279
2295
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
2296
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
2280
2297
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
2281
2298
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
2282
2299
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -3730,6 +3747,7 @@ module Aws::CloudFront
|
|
|
3730
3747
|
#
|
|
3731
3748
|
# resp.vpc_origin.id #=> String
|
|
3732
3749
|
# resp.vpc_origin.arn #=> String
|
|
3750
|
+
# resp.vpc_origin.account_id #=> String
|
|
3733
3751
|
# resp.vpc_origin.status #=> String
|
|
3734
3752
|
# resp.vpc_origin.created_time #=> Time
|
|
3735
3753
|
# resp.vpc_origin.last_modified_time #=> Time
|
|
@@ -3905,6 +3923,10 @@ module Aws::CloudFront
|
|
|
3905
3923
|
|
|
3906
3924
|
# Delete a distribution.
|
|
3907
3925
|
#
|
|
3926
|
+
# Before you can delete a distribution, you must disable it, which
|
|
3927
|
+
# requires permission to update the distribution. Once deleted, a
|
|
3928
|
+
# distribution cannot be recovered.
|
|
3929
|
+
#
|
|
3908
3930
|
# @option params [required, String] :id
|
|
3909
3931
|
# The distribution ID.
|
|
3910
3932
|
#
|
|
@@ -4285,6 +4307,29 @@ module Aws::CloudFront
|
|
|
4285
4307
|
req.send_request(options)
|
|
4286
4308
|
end
|
|
4287
4309
|
|
|
4310
|
+
# Deletes the resource policy attached to the CloudFront resource.
|
|
4311
|
+
#
|
|
4312
|
+
# @option params [required, String] :resource_arn
|
|
4313
|
+
# The Amazon Resource Name (ARN) of the CloudFront resource for which
|
|
4314
|
+
# the resource policy should be deleted.
|
|
4315
|
+
#
|
|
4316
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4317
|
+
#
|
|
4318
|
+
# @example Request syntax with placeholder values
|
|
4319
|
+
#
|
|
4320
|
+
# resp = client.delete_resource_policy({
|
|
4321
|
+
# resource_arn: "string", # required
|
|
4322
|
+
# })
|
|
4323
|
+
#
|
|
4324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteResourcePolicy AWS API Documentation
|
|
4325
|
+
#
|
|
4326
|
+
# @overload delete_resource_policy(params = {})
|
|
4327
|
+
# @param [Hash] params ({})
|
|
4328
|
+
def delete_resource_policy(params = {}, options = {})
|
|
4329
|
+
req = build_request(:delete_resource_policy, params)
|
|
4330
|
+
req.send_request(options)
|
|
4331
|
+
end
|
|
4332
|
+
|
|
4288
4333
|
# Deletes a response headers policy.
|
|
4289
4334
|
#
|
|
4290
4335
|
# You cannot delete a response headers policy if it's attached to a
|
|
@@ -4457,6 +4502,7 @@ module Aws::CloudFront
|
|
|
4457
4502
|
#
|
|
4458
4503
|
# resp.vpc_origin.id #=> String
|
|
4459
4504
|
# resp.vpc_origin.arn #=> String
|
|
4505
|
+
# resp.vpc_origin.account_id #=> String
|
|
4460
4506
|
# resp.vpc_origin.status #=> String
|
|
4461
4507
|
# resp.vpc_origin.created_time #=> Time
|
|
4462
4508
|
# resp.vpc_origin.last_modified_time #=> Time
|
|
@@ -4679,6 +4725,7 @@ module Aws::CloudFront
|
|
|
4679
4725
|
# resp.anycast_ip_list.name #=> String
|
|
4680
4726
|
# resp.anycast_ip_list.status #=> String
|
|
4681
4727
|
# resp.anycast_ip_list.arn #=> String
|
|
4728
|
+
# resp.anycast_ip_list.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
4682
4729
|
# resp.anycast_ip_list.anycast_ips #=> Array
|
|
4683
4730
|
# resp.anycast_ip_list.anycast_ips[0] #=> String
|
|
4684
4731
|
# resp.anycast_ip_list.ip_count #=> Integer
|
|
@@ -5117,6 +5164,7 @@ module Aws::CloudFront
|
|
|
5117
5164
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
5118
5165
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
5119
5166
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
5167
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
5120
5168
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
5121
5169
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
5122
5170
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -5332,6 +5380,7 @@ module Aws::CloudFront
|
|
|
5332
5380
|
# resp.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
5333
5381
|
# resp.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
5334
5382
|
# resp.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
5383
|
+
# resp.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
5335
5384
|
# resp.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
5336
5385
|
# resp.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
5337
5386
|
# resp.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -6347,6 +6396,38 @@ module Aws::CloudFront
|
|
|
6347
6396
|
req.send_request(options)
|
|
6348
6397
|
end
|
|
6349
6398
|
|
|
6399
|
+
# Retrieves the resource policy for the specified CloudFront resource
|
|
6400
|
+
# that you own and have shared.
|
|
6401
|
+
#
|
|
6402
|
+
# @option params [required, String] :resource_arn
|
|
6403
|
+
# The Amazon Resource Name (ARN) of the CloudFront resource that is
|
|
6404
|
+
# associated with the resource policy.
|
|
6405
|
+
#
|
|
6406
|
+
# @return [Types::GetResourcePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6407
|
+
#
|
|
6408
|
+
# * {Types::GetResourcePolicyResult#resource_arn #resource_arn} => String
|
|
6409
|
+
# * {Types::GetResourcePolicyResult#policy_document #policy_document} => String
|
|
6410
|
+
#
|
|
6411
|
+
# @example Request syntax with placeholder values
|
|
6412
|
+
#
|
|
6413
|
+
# resp = client.get_resource_policy({
|
|
6414
|
+
# resource_arn: "string", # required
|
|
6415
|
+
# })
|
|
6416
|
+
#
|
|
6417
|
+
# @example Response structure
|
|
6418
|
+
#
|
|
6419
|
+
# resp.resource_arn #=> String
|
|
6420
|
+
# resp.policy_document #=> String
|
|
6421
|
+
#
|
|
6422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResourcePolicy AWS API Documentation
|
|
6423
|
+
#
|
|
6424
|
+
# @overload get_resource_policy(params = {})
|
|
6425
|
+
# @param [Hash] params ({})
|
|
6426
|
+
def get_resource_policy(params = {}, options = {})
|
|
6427
|
+
req = build_request(:get_resource_policy, params)
|
|
6428
|
+
req.send_request(options)
|
|
6429
|
+
end
|
|
6430
|
+
|
|
6350
6431
|
# Gets a response headers policy, including metadata (the policy's
|
|
6351
6432
|
# identifier and the date and time when the policy was last modified).
|
|
6352
6433
|
#
|
|
@@ -6681,6 +6762,7 @@ module Aws::CloudFront
|
|
|
6681
6762
|
#
|
|
6682
6763
|
# resp.vpc_origin.id #=> String
|
|
6683
6764
|
# resp.vpc_origin.arn #=> String
|
|
6765
|
+
# resp.vpc_origin.account_id #=> String
|
|
6684
6766
|
# resp.vpc_origin.status #=> String
|
|
6685
6767
|
# resp.vpc_origin.created_time #=> Time
|
|
6686
6768
|
# resp.vpc_origin.last_modified_time #=> Time
|
|
@@ -6735,6 +6817,8 @@ module Aws::CloudFront
|
|
|
6735
6817
|
# resp.anycast_ip_lists.items[0].arn #=> String
|
|
6736
6818
|
# resp.anycast_ip_lists.items[0].ip_count #=> Integer
|
|
6737
6819
|
# resp.anycast_ip_lists.items[0].last_modified_time #=> Time
|
|
6820
|
+
# resp.anycast_ip_lists.items[0].ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
6821
|
+
# resp.anycast_ip_lists.items[0].etag #=> String
|
|
6738
6822
|
# resp.anycast_ip_lists.marker #=> String
|
|
6739
6823
|
# resp.anycast_ip_lists.next_marker #=> String
|
|
6740
6824
|
# resp.anycast_ip_lists.max_items #=> Integer
|
|
@@ -7281,6 +7365,7 @@ module Aws::CloudFront
|
|
|
7281
7365
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
7282
7366
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
7283
7367
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
7368
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
7284
7369
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
7285
7370
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
7286
7371
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
@@ -7501,6 +7586,7 @@ module Aws::CloudFront
|
|
|
7501
7586
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
7502
7587
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
7503
7588
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
7589
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
7504
7590
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
7505
7591
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
7506
7592
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
@@ -7775,6 +7861,7 @@ module Aws::CloudFront
|
|
|
7775
7861
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
7776
7862
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
7777
7863
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
7864
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
7778
7865
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
7779
7866
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
7780
7867
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
@@ -8039,6 +8126,55 @@ module Aws::CloudFront
|
|
|
8039
8126
|
req.send_request(options)
|
|
8040
8127
|
end
|
|
8041
8128
|
|
|
8129
|
+
# Lists the CloudFront distributions that are associated with the
|
|
8130
|
+
# specified resource that you own.
|
|
8131
|
+
#
|
|
8132
|
+
# @option params [required, String] :resource_arn
|
|
8133
|
+
# The ARN of the CloudFront resource that you've shared with other
|
|
8134
|
+
# Amazon Web Services accounts.
|
|
8135
|
+
#
|
|
8136
|
+
# @option params [String] :marker
|
|
8137
|
+
# Use this field when paginating results to indicate where to begin in
|
|
8138
|
+
# your list of distributions. The response includes distributions in the
|
|
8139
|
+
# list that occur after the marker. To get the next page of the list,
|
|
8140
|
+
# set this field's value to the value of `NextMarker` from the current
|
|
8141
|
+
# page's response.
|
|
8142
|
+
#
|
|
8143
|
+
# @option params [Integer] :max_items
|
|
8144
|
+
# The maximum number of distributions to return.
|
|
8145
|
+
#
|
|
8146
|
+
# @return [Types::ListDistributionsByOwnedResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8147
|
+
#
|
|
8148
|
+
# * {Types::ListDistributionsByOwnedResourceResult#distribution_list #distribution_list} => Types::DistributionIdOwnerList
|
|
8149
|
+
#
|
|
8150
|
+
# @example Request syntax with placeholder values
|
|
8151
|
+
#
|
|
8152
|
+
# resp = client.list_distributions_by_owned_resource({
|
|
8153
|
+
# resource_arn: "string", # required
|
|
8154
|
+
# marker: "string",
|
|
8155
|
+
# max_items: 1,
|
|
8156
|
+
# })
|
|
8157
|
+
#
|
|
8158
|
+
# @example Response structure
|
|
8159
|
+
#
|
|
8160
|
+
# resp.distribution_list.marker #=> String
|
|
8161
|
+
# resp.distribution_list.next_marker #=> String
|
|
8162
|
+
# resp.distribution_list.max_items #=> Integer
|
|
8163
|
+
# resp.distribution_list.is_truncated #=> Boolean
|
|
8164
|
+
# resp.distribution_list.quantity #=> Integer
|
|
8165
|
+
# resp.distribution_list.items #=> Array
|
|
8166
|
+
# resp.distribution_list.items[0].distribution_id #=> String
|
|
8167
|
+
# resp.distribution_list.items[0].owner_account_id #=> String
|
|
8168
|
+
#
|
|
8169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOwnedResource AWS API Documentation
|
|
8170
|
+
#
|
|
8171
|
+
# @overload list_distributions_by_owned_resource(params = {})
|
|
8172
|
+
# @param [Hash] params ({})
|
|
8173
|
+
def list_distributions_by_owned_resource(params = {}, options = {})
|
|
8174
|
+
req = build_request(:list_distributions_by_owned_resource, params)
|
|
8175
|
+
req.send_request(options)
|
|
8176
|
+
end
|
|
8177
|
+
|
|
8042
8178
|
# Gets a list of distributions that have a cache behavior that's
|
|
8043
8179
|
# associated with the specified real-time log configuration.
|
|
8044
8180
|
#
|
|
@@ -8123,6 +8259,7 @@ module Aws::CloudFront
|
|
|
8123
8259
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
8124
8260
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
8125
8261
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
8262
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
8126
8263
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
8127
8264
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
8128
8265
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
@@ -8473,6 +8610,7 @@ module Aws::CloudFront
|
|
|
8473
8610
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
8474
8611
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
8475
8612
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
8613
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
8476
8614
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
8477
8615
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
8478
8616
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
@@ -9637,6 +9775,7 @@ module Aws::CloudFront
|
|
|
9637
9775
|
# resp.vpc_origin_list.items[0].created_time #=> Time
|
|
9638
9776
|
# resp.vpc_origin_list.items[0].last_modified_time #=> Time
|
|
9639
9777
|
# resp.vpc_origin_list.items[0].arn #=> String
|
|
9778
|
+
# resp.vpc_origin_list.items[0].account_id #=> String
|
|
9640
9779
|
# resp.vpc_origin_list.items[0].origin_endpoint_arn #=> String
|
|
9641
9780
|
#
|
|
9642
9781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListVpcOrigins AWS API Documentation
|
|
@@ -9702,6 +9841,39 @@ module Aws::CloudFront
|
|
|
9702
9841
|
req.send_request(options)
|
|
9703
9842
|
end
|
|
9704
9843
|
|
|
9844
|
+
# Creates a resource control policy for a given CloudFront resource.
|
|
9845
|
+
#
|
|
9846
|
+
# @option params [required, String] :resource_arn
|
|
9847
|
+
# The Amazon Resource Name (ARN) of the CloudFront resource for which
|
|
9848
|
+
# the policy is being created.
|
|
9849
|
+
#
|
|
9850
|
+
# @option params [required, String] :policy_document
|
|
9851
|
+
# The JSON-formatted resource policy to create.
|
|
9852
|
+
#
|
|
9853
|
+
# @return [Types::PutResourcePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9854
|
+
#
|
|
9855
|
+
# * {Types::PutResourcePolicyResult#resource_arn #resource_arn} => String
|
|
9856
|
+
#
|
|
9857
|
+
# @example Request syntax with placeholder values
|
|
9858
|
+
#
|
|
9859
|
+
# resp = client.put_resource_policy({
|
|
9860
|
+
# resource_arn: "string", # required
|
|
9861
|
+
# policy_document: "string", # required
|
|
9862
|
+
# })
|
|
9863
|
+
#
|
|
9864
|
+
# @example Response structure
|
|
9865
|
+
#
|
|
9866
|
+
# resp.resource_arn #=> String
|
|
9867
|
+
#
|
|
9868
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PutResourcePolicy AWS API Documentation
|
|
9869
|
+
#
|
|
9870
|
+
# @overload put_resource_policy(params = {})
|
|
9871
|
+
# @param [Hash] params ({})
|
|
9872
|
+
def put_resource_policy(params = {}, options = {})
|
|
9873
|
+
req = build_request(:put_resource_policy, params)
|
|
9874
|
+
req.send_request(options)
|
|
9875
|
+
end
|
|
9876
|
+
|
|
9705
9877
|
# Add tags to a CloudFront resource. For more information, see [Tagging
|
|
9706
9878
|
# a distribution][1] in the *Amazon CloudFront Developer Guide*.
|
|
9707
9879
|
#
|
|
@@ -9854,6 +10026,60 @@ module Aws::CloudFront
|
|
|
9854
10026
|
req.send_request(options)
|
|
9855
10027
|
end
|
|
9856
10028
|
|
|
10029
|
+
# Updates an Anycast static IP list.
|
|
10030
|
+
#
|
|
10031
|
+
# @option params [required, String] :id
|
|
10032
|
+
# The ID of the Anycast static IP list.
|
|
10033
|
+
#
|
|
10034
|
+
# @option params [String] :ip_address_type
|
|
10035
|
+
# The IP address type for the Anycast static IP list. You can specify
|
|
10036
|
+
# one of the following options:
|
|
10037
|
+
#
|
|
10038
|
+
# * `ipv4` - Allocate a list of only IPv4 addresses
|
|
10039
|
+
#
|
|
10040
|
+
# * `ipv6` - Allocate a list of only IPv4 addresses
|
|
10041
|
+
#
|
|
10042
|
+
# * `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
|
|
10043
|
+
#
|
|
10044
|
+
# @option params [required, String] :if_match
|
|
10045
|
+
# The current version (ETag value) of the Anycast static IP list that
|
|
10046
|
+
# you are updating.
|
|
10047
|
+
#
|
|
10048
|
+
# @return [Types::UpdateAnycastIpListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10049
|
+
#
|
|
10050
|
+
# * {Types::UpdateAnycastIpListResult#anycast_ip_list #anycast_ip_list} => Types::AnycastIpList
|
|
10051
|
+
# * {Types::UpdateAnycastIpListResult#etag #etag} => String
|
|
10052
|
+
#
|
|
10053
|
+
# @example Request syntax with placeholder values
|
|
10054
|
+
#
|
|
10055
|
+
# resp = client.update_anycast_ip_list({
|
|
10056
|
+
# id: "string", # required
|
|
10057
|
+
# ip_address_type: "ipv4", # accepts ipv4, ipv6, dualstack
|
|
10058
|
+
# if_match: "string", # required
|
|
10059
|
+
# })
|
|
10060
|
+
#
|
|
10061
|
+
# @example Response structure
|
|
10062
|
+
#
|
|
10063
|
+
# resp.anycast_ip_list.id #=> String
|
|
10064
|
+
# resp.anycast_ip_list.name #=> String
|
|
10065
|
+
# resp.anycast_ip_list.status #=> String
|
|
10066
|
+
# resp.anycast_ip_list.arn #=> String
|
|
10067
|
+
# resp.anycast_ip_list.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
10068
|
+
# resp.anycast_ip_list.anycast_ips #=> Array
|
|
10069
|
+
# resp.anycast_ip_list.anycast_ips[0] #=> String
|
|
10070
|
+
# resp.anycast_ip_list.ip_count #=> Integer
|
|
10071
|
+
# resp.anycast_ip_list.last_modified_time #=> Time
|
|
10072
|
+
# resp.etag #=> String
|
|
10073
|
+
#
|
|
10074
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateAnycastIpList AWS API Documentation
|
|
10075
|
+
#
|
|
10076
|
+
# @overload update_anycast_ip_list(params = {})
|
|
10077
|
+
# @param [Hash] params ({})
|
|
10078
|
+
def update_anycast_ip_list(params = {}, options = {})
|
|
10079
|
+
req = build_request(:update_anycast_ip_list, params)
|
|
10080
|
+
req.send_request(options)
|
|
10081
|
+
end
|
|
10082
|
+
|
|
9857
10083
|
# Updates a cache policy configuration.
|
|
9858
10084
|
#
|
|
9859
10085
|
# When you update a cache policy configuration, all the fields are
|
|
@@ -10251,6 +10477,7 @@ module Aws::CloudFront
|
|
|
10251
10477
|
# },
|
|
10252
10478
|
# vpc_origin_config: {
|
|
10253
10479
|
# vpc_origin_id: "string", # required
|
|
10480
|
+
# owner_account_id: "string",
|
|
10254
10481
|
# origin_read_timeout: 1,
|
|
10255
10482
|
# origin_keepalive_timeout: 1,
|
|
10256
10483
|
# },
|
|
@@ -10548,6 +10775,7 @@ module Aws::CloudFront
|
|
|
10548
10775
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
10549
10776
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
10550
10777
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
10778
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
10551
10779
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
10552
10780
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
10553
10781
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -10939,6 +11167,7 @@ module Aws::CloudFront
|
|
|
10939
11167
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
10940
11168
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
10941
11169
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
11170
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
10942
11171
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
10943
11172
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
10944
11173
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
@@ -12216,6 +12445,7 @@ module Aws::CloudFront
|
|
|
12216
12445
|
#
|
|
12217
12446
|
# resp.vpc_origin.id #=> String
|
|
12218
12447
|
# resp.vpc_origin.arn #=> String
|
|
12448
|
+
# resp.vpc_origin.account_id #=> String
|
|
12219
12449
|
# resp.vpc_origin.status #=> String
|
|
12220
12450
|
# resp.vpc_origin.created_time #=> Time
|
|
12221
12451
|
# resp.vpc_origin.last_modified_time #=> Time
|
|
@@ -12296,7 +12526,7 @@ module Aws::CloudFront
|
|
|
12296
12526
|
tracer: tracer
|
|
12297
12527
|
)
|
|
12298
12528
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
|
12299
|
-
context[:gem_version] = '1.
|
|
12529
|
+
context[:gem_version] = '1.133.0'
|
|
12300
12530
|
Seahorse::Client::Request.new(handlers, context)
|
|
12301
12531
|
end
|
|
12302
12532
|
|