aws-sdk-cloudfront 1.105.0 → 1.106.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 +1012 -47
- data/lib/aws-sdk-cloudfront/client_api.rb +388 -4
- data/lib/aws-sdk-cloudfront/errors.rb +16 -0
- data/lib/aws-sdk-cloudfront/types.rb +780 -14
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +205 -15
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +217 -0
- metadata +2 -2
@@ -603,6 +603,7 @@ module Aws::CloudFront
|
|
603
603
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
604
604
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
605
605
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
606
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
606
607
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
607
608
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
608
609
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -649,6 +650,7 @@ module Aws::CloudFront
|
|
649
650
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
650
651
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
651
652
|
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
653
|
+
# resp.distribution.distribution_config.default_cache_behavior.grpc_config.enabled #=> Boolean
|
652
654
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
653
655
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
654
656
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -698,6 +700,7 @@ module Aws::CloudFront
|
|
698
700
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
699
701
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
700
702
|
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
703
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
701
704
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
702
705
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
703
706
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -741,6 +744,7 @@ module Aws::CloudFront
|
|
741
744
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
742
745
|
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
743
746
|
# resp.distribution.distribution_config.staging #=> Boolean
|
747
|
+
# resp.distribution.distribution_config.anycast_ip_list_id #=> String
|
744
748
|
# resp.distribution.alias_icp_recordals #=> Array
|
745
749
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
746
750
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -756,6 +760,59 @@ module Aws::CloudFront
|
|
756
760
|
req.send_request(options)
|
757
761
|
end
|
758
762
|
|
763
|
+
# Creates an Anycast static IP list.
|
764
|
+
#
|
765
|
+
# @option params [required, String] :name
|
766
|
+
# Name of the Anycast static IP list.
|
767
|
+
#
|
768
|
+
# @option params [required, Integer] :ip_count
|
769
|
+
# The number of static IP addresses that are allocated to the Anycast
|
770
|
+
# static IP list.
|
771
|
+
#
|
772
|
+
# @option params [Types::Tags] :tags
|
773
|
+
# A complex type that contains zero or more `Tag` elements.
|
774
|
+
#
|
775
|
+
# @return [Types::CreateAnycastIpListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
776
|
+
#
|
777
|
+
# * {Types::CreateAnycastIpListResult#anycast_ip_list #anycast_ip_list} => Types::AnycastIpList
|
778
|
+
# * {Types::CreateAnycastIpListResult#etag #etag} => String
|
779
|
+
#
|
780
|
+
# @example Request syntax with placeholder values
|
781
|
+
#
|
782
|
+
# resp = client.create_anycast_ip_list({
|
783
|
+
# name: "AnycastIpListName", # required
|
784
|
+
# ip_count: 1, # required
|
785
|
+
# tags: {
|
786
|
+
# items: [
|
787
|
+
# {
|
788
|
+
# key: "TagKey", # required
|
789
|
+
# value: "TagValue",
|
790
|
+
# },
|
791
|
+
# ],
|
792
|
+
# },
|
793
|
+
# })
|
794
|
+
#
|
795
|
+
# @example Response structure
|
796
|
+
#
|
797
|
+
# resp.anycast_ip_list.id #=> String
|
798
|
+
# resp.anycast_ip_list.name #=> String
|
799
|
+
# resp.anycast_ip_list.status #=> String
|
800
|
+
# resp.anycast_ip_list.arn #=> String
|
801
|
+
# resp.anycast_ip_list.anycast_ips #=> Array
|
802
|
+
# resp.anycast_ip_list.anycast_ips[0] #=> String
|
803
|
+
# resp.anycast_ip_list.ip_count #=> Integer
|
804
|
+
# resp.anycast_ip_list.last_modified_time #=> Time
|
805
|
+
# resp.etag #=> String
|
806
|
+
#
|
807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateAnycastIpList AWS API Documentation
|
808
|
+
#
|
809
|
+
# @overload create_anycast_ip_list(params = {})
|
810
|
+
# @param [Hash] params ({})
|
811
|
+
def create_anycast_ip_list(params = {}, options = {})
|
812
|
+
req = build_request(:create_anycast_ip_list, params)
|
813
|
+
req.send_request(options)
|
814
|
+
end
|
815
|
+
|
759
816
|
# Creates a cache policy.
|
760
817
|
#
|
761
818
|
# After you create a cache policy, you can attach it to one or more
|
@@ -1037,6 +1094,9 @@ module Aws::CloudFront
|
|
1037
1094
|
# origin_read_timeout: 1,
|
1038
1095
|
# origin_keepalive_timeout: 1,
|
1039
1096
|
# },
|
1097
|
+
# vpc_origin_config: {
|
1098
|
+
# vpc_origin_id: "string", # required
|
1099
|
+
# },
|
1040
1100
|
# connection_attempts: 1,
|
1041
1101
|
# connection_timeout: 1,
|
1042
1102
|
# origin_shield: {
|
@@ -1116,6 +1176,9 @@ module Aws::CloudFront
|
|
1116
1176
|
# cache_policy_id: "string",
|
1117
1177
|
# origin_request_policy_id: "string",
|
1118
1178
|
# response_headers_policy_id: "string",
|
1179
|
+
# grpc_config: {
|
1180
|
+
# enabled: false, # required
|
1181
|
+
# },
|
1119
1182
|
# forwarded_values: {
|
1120
1183
|
# query_string: false, # required
|
1121
1184
|
# cookies: { # required
|
@@ -1189,6 +1252,9 @@ module Aws::CloudFront
|
|
1189
1252
|
# cache_policy_id: "string",
|
1190
1253
|
# origin_request_policy_id: "string",
|
1191
1254
|
# response_headers_policy_id: "string",
|
1255
|
+
# grpc_config: {
|
1256
|
+
# enabled: false, # required
|
1257
|
+
# },
|
1192
1258
|
# forwarded_values: {
|
1193
1259
|
# query_string: false, # required
|
1194
1260
|
# cookies: { # required
|
@@ -1226,10 +1292,10 @@ module Aws::CloudFront
|
|
1226
1292
|
# },
|
1227
1293
|
# comment: "CommentType", # required
|
1228
1294
|
# logging: {
|
1229
|
-
# enabled: false,
|
1230
|
-
# include_cookies: false,
|
1231
|
-
# bucket: "string",
|
1232
|
-
# prefix: "string",
|
1295
|
+
# enabled: false,
|
1296
|
+
# include_cookies: false,
|
1297
|
+
# bucket: "string",
|
1298
|
+
# prefix: "string",
|
1233
1299
|
# },
|
1234
1300
|
# price_class: "PriceClass_100", # accepts PriceClass_100, PriceClass_200, PriceClass_All
|
1235
1301
|
# enabled: false, # required
|
@@ -1254,6 +1320,7 @@ module Aws::CloudFront
|
|
1254
1320
|
# is_ipv6_enabled: false,
|
1255
1321
|
# continuous_deployment_policy_id: "string",
|
1256
1322
|
# staging: false,
|
1323
|
+
# anycast_ip_list_id: "string",
|
1257
1324
|
# },
|
1258
1325
|
# })
|
1259
1326
|
#
|
@@ -1302,6 +1369,7 @@ module Aws::CloudFront
|
|
1302
1369
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
1303
1370
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
1304
1371
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
1372
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
1305
1373
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
1306
1374
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
1307
1375
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -1348,6 +1416,7 @@ module Aws::CloudFront
|
|
1348
1416
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
1349
1417
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
1350
1418
|
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
1419
|
+
# resp.distribution.distribution_config.default_cache_behavior.grpc_config.enabled #=> Boolean
|
1351
1420
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
1352
1421
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1353
1422
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -1397,6 +1466,7 @@ module Aws::CloudFront
|
|
1397
1466
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
1398
1467
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
1399
1468
|
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
1469
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
1400
1470
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
1401
1471
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1402
1472
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -1440,6 +1510,7 @@ module Aws::CloudFront
|
|
1440
1510
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
1441
1511
|
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
1442
1512
|
# resp.distribution.distribution_config.staging #=> Boolean
|
1513
|
+
# resp.distribution.distribution_config.anycast_ip_list_id #=> String
|
1443
1514
|
# resp.distribution.alias_icp_recordals #=> Array
|
1444
1515
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
1445
1516
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -1517,6 +1588,9 @@ module Aws::CloudFront
|
|
1517
1588
|
# origin_read_timeout: 1,
|
1518
1589
|
# origin_keepalive_timeout: 1,
|
1519
1590
|
# },
|
1591
|
+
# vpc_origin_config: {
|
1592
|
+
# vpc_origin_id: "string", # required
|
1593
|
+
# },
|
1520
1594
|
# connection_attempts: 1,
|
1521
1595
|
# connection_timeout: 1,
|
1522
1596
|
# origin_shield: {
|
@@ -1596,6 +1670,9 @@ module Aws::CloudFront
|
|
1596
1670
|
# cache_policy_id: "string",
|
1597
1671
|
# origin_request_policy_id: "string",
|
1598
1672
|
# response_headers_policy_id: "string",
|
1673
|
+
# grpc_config: {
|
1674
|
+
# enabled: false, # required
|
1675
|
+
# },
|
1599
1676
|
# forwarded_values: {
|
1600
1677
|
# query_string: false, # required
|
1601
1678
|
# cookies: { # required
|
@@ -1669,6 +1746,9 @@ module Aws::CloudFront
|
|
1669
1746
|
# cache_policy_id: "string",
|
1670
1747
|
# origin_request_policy_id: "string",
|
1671
1748
|
# response_headers_policy_id: "string",
|
1749
|
+
# grpc_config: {
|
1750
|
+
# enabled: false, # required
|
1751
|
+
# },
|
1672
1752
|
# forwarded_values: {
|
1673
1753
|
# query_string: false, # required
|
1674
1754
|
# cookies: { # required
|
@@ -1706,10 +1786,10 @@ module Aws::CloudFront
|
|
1706
1786
|
# },
|
1707
1787
|
# comment: "CommentType", # required
|
1708
1788
|
# logging: {
|
1709
|
-
# enabled: false,
|
1710
|
-
# include_cookies: false,
|
1711
|
-
# bucket: "string",
|
1712
|
-
# prefix: "string",
|
1789
|
+
# enabled: false,
|
1790
|
+
# include_cookies: false,
|
1791
|
+
# bucket: "string",
|
1792
|
+
# prefix: "string",
|
1713
1793
|
# },
|
1714
1794
|
# price_class: "PriceClass_100", # accepts PriceClass_100, PriceClass_200, PriceClass_All
|
1715
1795
|
# enabled: false, # required
|
@@ -1734,6 +1814,7 @@ module Aws::CloudFront
|
|
1734
1814
|
# is_ipv6_enabled: false,
|
1735
1815
|
# continuous_deployment_policy_id: "string",
|
1736
1816
|
# staging: false,
|
1817
|
+
# anycast_ip_list_id: "string",
|
1737
1818
|
# },
|
1738
1819
|
# tags: { # required
|
1739
1820
|
# items: [
|
@@ -1791,6 +1872,7 @@ module Aws::CloudFront
|
|
1791
1872
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
1792
1873
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
1793
1874
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
1875
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
1794
1876
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
1795
1877
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
1796
1878
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -1837,6 +1919,7 @@ module Aws::CloudFront
|
|
1837
1919
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
1838
1920
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
1839
1921
|
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
1922
|
+
# resp.distribution.distribution_config.default_cache_behavior.grpc_config.enabled #=> Boolean
|
1840
1923
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
1841
1924
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1842
1925
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -1886,6 +1969,7 @@ module Aws::CloudFront
|
|
1886
1969
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
1887
1970
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
1888
1971
|
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
1972
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
1889
1973
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
1890
1974
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1891
1975
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -1929,6 +2013,7 @@ module Aws::CloudFront
|
|
1929
2013
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
1930
2014
|
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
1931
2015
|
# resp.distribution.distribution_config.staging #=> Boolean
|
2016
|
+
# resp.distribution.distribution_config.anycast_ip_list_id #=> String
|
1932
2017
|
# resp.distribution.alias_icp_recordals #=> Array
|
1933
2018
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
1934
2019
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -2348,7 +2433,7 @@ module Aws::CloudFront
|
|
2348
2433
|
# resp = client.create_key_value_store({
|
2349
2434
|
# comment: "my-key-valuestore-comment",
|
2350
2435
|
# import_source: {
|
2351
|
-
# source_arn: "arn:aws:s3:::
|
2436
|
+
# source_arn: "arn:aws:s3:::amzn-s3-demo-bucket/validJSON.json",
|
2352
2437
|
# source_type: "S3",
|
2353
2438
|
# },
|
2354
2439
|
# name: "my-keyvaluestore-name",
|
@@ -3087,6 +3172,147 @@ module Aws::CloudFront
|
|
3087
3172
|
req.send_request(options)
|
3088
3173
|
end
|
3089
3174
|
|
3175
|
+
# Create an Amazon CloudFront VPC origin.
|
3176
|
+
#
|
3177
|
+
# @option params [required, Types::VpcOriginEndpointConfig] :vpc_origin_endpoint_config
|
3178
|
+
# The VPC origin endpoint configuration.
|
3179
|
+
#
|
3180
|
+
# @option params [Types::Tags] :tags
|
3181
|
+
# A complex type that contains zero or more `Tag` elements.
|
3182
|
+
#
|
3183
|
+
# @return [Types::CreateVpcOriginResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3184
|
+
#
|
3185
|
+
# * {Types::CreateVpcOriginResult#vpc_origin #vpc_origin} => Types::VpcOrigin
|
3186
|
+
# * {Types::CreateVpcOriginResult#location #location} => String
|
3187
|
+
# * {Types::CreateVpcOriginResult#etag #etag} => String
|
3188
|
+
#
|
3189
|
+
#
|
3190
|
+
# @example Example: To create a VPC origin
|
3191
|
+
#
|
3192
|
+
# # The following command creates a VPC origin:
|
3193
|
+
#
|
3194
|
+
# resp = client.create_vpc_origin({
|
3195
|
+
# vpc_origin_endpoint_config: {
|
3196
|
+
# arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
|
3197
|
+
# http_port: 80,
|
3198
|
+
# https_port: 443,
|
3199
|
+
# name: "my-vpcorigin-name",
|
3200
|
+
# origin_protocol_policy: "match-viewer",
|
3201
|
+
# origin_ssl_protocols: {
|
3202
|
+
# items: [
|
3203
|
+
# "TLSv1.1",
|
3204
|
+
# "TLSv1.2",
|
3205
|
+
# ],
|
3206
|
+
# quantity: 2,
|
3207
|
+
# },
|
3208
|
+
# },
|
3209
|
+
# })
|
3210
|
+
#
|
3211
|
+
# resp.to_h outputs the following:
|
3212
|
+
# {
|
3213
|
+
# etag: "E23ZP02F085DFQ",
|
3214
|
+
# location: "https://cloudfront.amazonaws.com/2020-05-31/vpc-origin/vo_BQwjxxQxjCaBcQLzJUFkDM",
|
3215
|
+
# vpc_origin: {
|
3216
|
+
# arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
|
3217
|
+
# created_time: Time.parse("2024-10-15T17:19:42.318Z"),
|
3218
|
+
# id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
|
3219
|
+
# last_modified_time: Time.parse("2024-10-15T17:19:42.318Z"),
|
3220
|
+
# status: "Deploying",
|
3221
|
+
# vpc_origin_endpoint_config: {
|
3222
|
+
# arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
|
3223
|
+
# http_port: 80,
|
3224
|
+
# https_port: 443,
|
3225
|
+
# name: "my-vpcorigin-name",
|
3226
|
+
# origin_protocol_policy: "match-viewer",
|
3227
|
+
# origin_ssl_protocols: {
|
3228
|
+
# items: [
|
3229
|
+
# "TLSv1.1",
|
3230
|
+
# "TLSv1.2",
|
3231
|
+
# ],
|
3232
|
+
# quantity: 2,
|
3233
|
+
# },
|
3234
|
+
# },
|
3235
|
+
# },
|
3236
|
+
# }
|
3237
|
+
#
|
3238
|
+
# @example Request syntax with placeholder values
|
3239
|
+
#
|
3240
|
+
# resp = client.create_vpc_origin({
|
3241
|
+
# vpc_origin_endpoint_config: { # required
|
3242
|
+
# name: "string", # required
|
3243
|
+
# arn: "string", # required
|
3244
|
+
# http_port: 1, # required
|
3245
|
+
# https_port: 1, # required
|
3246
|
+
# origin_protocol_policy: "http-only", # required, accepts http-only, match-viewer, https-only
|
3247
|
+
# origin_ssl_protocols: {
|
3248
|
+
# quantity: 1, # required
|
3249
|
+
# items: ["SSLv3"], # required, accepts SSLv3, TLSv1, TLSv1.1, TLSv1.2
|
3250
|
+
# },
|
3251
|
+
# },
|
3252
|
+
# tags: {
|
3253
|
+
# items: [
|
3254
|
+
# {
|
3255
|
+
# key: "TagKey", # required
|
3256
|
+
# value: "TagValue",
|
3257
|
+
# },
|
3258
|
+
# ],
|
3259
|
+
# },
|
3260
|
+
# })
|
3261
|
+
#
|
3262
|
+
# @example Response structure
|
3263
|
+
#
|
3264
|
+
# resp.vpc_origin.id #=> String
|
3265
|
+
# resp.vpc_origin.arn #=> String
|
3266
|
+
# resp.vpc_origin.status #=> String
|
3267
|
+
# resp.vpc_origin.created_time #=> Time
|
3268
|
+
# resp.vpc_origin.last_modified_time #=> Time
|
3269
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.name #=> String
|
3270
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.arn #=> String
|
3271
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.http_port #=> Integer
|
3272
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.https_port #=> Integer
|
3273
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
3274
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.quantity #=> Integer
|
3275
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.items #=> Array
|
3276
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
3277
|
+
# resp.location #=> String
|
3278
|
+
# resp.etag #=> String
|
3279
|
+
#
|
3280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateVpcOrigin AWS API Documentation
|
3281
|
+
#
|
3282
|
+
# @overload create_vpc_origin(params = {})
|
3283
|
+
# @param [Hash] params ({})
|
3284
|
+
def create_vpc_origin(params = {}, options = {})
|
3285
|
+
req = build_request(:create_vpc_origin, params)
|
3286
|
+
req.send_request(options)
|
3287
|
+
end
|
3288
|
+
|
3289
|
+
# Deletes an Anycast static IP list.
|
3290
|
+
#
|
3291
|
+
# @option params [required, String] :id
|
3292
|
+
# The ID of the Anycast static IP list.
|
3293
|
+
#
|
3294
|
+
# @option params [required, String] :if_match
|
3295
|
+
# The current version (`ETag` value) of the Anycast static IP list that
|
3296
|
+
# you are deleting.
|
3297
|
+
#
|
3298
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3299
|
+
#
|
3300
|
+
# @example Request syntax with placeholder values
|
3301
|
+
#
|
3302
|
+
# resp = client.delete_anycast_ip_list({
|
3303
|
+
# id: "string", # required
|
3304
|
+
# if_match: "string", # required
|
3305
|
+
# })
|
3306
|
+
#
|
3307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteAnycastIpList AWS API Documentation
|
3308
|
+
#
|
3309
|
+
# @overload delete_anycast_ip_list(params = {})
|
3310
|
+
# @param [Hash] params ({})
|
3311
|
+
def delete_anycast_ip_list(params = {}, options = {})
|
3312
|
+
req = build_request(:delete_anycast_ip_list, params)
|
3313
|
+
req.send_request(options)
|
3314
|
+
end
|
3315
|
+
|
3090
3316
|
# Deletes a cache policy.
|
3091
3317
|
#
|
3092
3318
|
# You cannot delete a cache policy if it's attached to a cache
|
@@ -3642,6 +3868,88 @@ module Aws::CloudFront
|
|
3642
3868
|
req.send_request(options)
|
3643
3869
|
end
|
3644
3870
|
|
3871
|
+
# Delete an Amazon CloudFront VPC origin.
|
3872
|
+
#
|
3873
|
+
# @option params [required, String] :id
|
3874
|
+
# The VPC origin ID.
|
3875
|
+
#
|
3876
|
+
# @option params [required, String] :if_match
|
3877
|
+
# The VPC origin to delete, if a match occurs.
|
3878
|
+
#
|
3879
|
+
# @return [Types::DeleteVpcOriginResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3880
|
+
#
|
3881
|
+
# * {Types::DeleteVpcOriginResult#vpc_origin #vpc_origin} => Types::VpcOrigin
|
3882
|
+
# * {Types::DeleteVpcOriginResult#etag #etag} => String
|
3883
|
+
#
|
3884
|
+
#
|
3885
|
+
# @example Example: To delete a VPC origin
|
3886
|
+
#
|
3887
|
+
# # The following command deletes a VPC origin:
|
3888
|
+
#
|
3889
|
+
# resp = client.delete_vpc_origin({
|
3890
|
+
# id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
|
3891
|
+
# if_match: "E1F83G8C2ARO7P",
|
3892
|
+
# })
|
3893
|
+
#
|
3894
|
+
# resp.to_h outputs the following:
|
3895
|
+
# {
|
3896
|
+
# etag: "E1PA6795UKMFR9",
|
3897
|
+
# vpc_origin: {
|
3898
|
+
# arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
|
3899
|
+
# created_time: Time.parse("2024-10-15T17:19:42.318Z"),
|
3900
|
+
# id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
|
3901
|
+
# last_modified_time: Time.parse("2024-10-15T17:57:08.965Z"),
|
3902
|
+
# status: "Deploying",
|
3903
|
+
# vpc_origin_endpoint_config: {
|
3904
|
+
# arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
|
3905
|
+
# http_port: 80,
|
3906
|
+
# https_port: 443,
|
3907
|
+
# name: "my-vpcorigin-name",
|
3908
|
+
# origin_protocol_policy: "match-viewer",
|
3909
|
+
# origin_ssl_protocols: {
|
3910
|
+
# items: [
|
3911
|
+
# "TLSv1.1",
|
3912
|
+
# "TLSv1.2",
|
3913
|
+
# ],
|
3914
|
+
# quantity: 2,
|
3915
|
+
# },
|
3916
|
+
# },
|
3917
|
+
# },
|
3918
|
+
# }
|
3919
|
+
#
|
3920
|
+
# @example Request syntax with placeholder values
|
3921
|
+
#
|
3922
|
+
# resp = client.delete_vpc_origin({
|
3923
|
+
# id: "string", # required
|
3924
|
+
# if_match: "string", # required
|
3925
|
+
# })
|
3926
|
+
#
|
3927
|
+
# @example Response structure
|
3928
|
+
#
|
3929
|
+
# resp.vpc_origin.id #=> String
|
3930
|
+
# resp.vpc_origin.arn #=> String
|
3931
|
+
# resp.vpc_origin.status #=> String
|
3932
|
+
# resp.vpc_origin.created_time #=> Time
|
3933
|
+
# resp.vpc_origin.last_modified_time #=> Time
|
3934
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.name #=> String
|
3935
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.arn #=> String
|
3936
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.http_port #=> Integer
|
3937
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.https_port #=> Integer
|
3938
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
3939
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.quantity #=> Integer
|
3940
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.items #=> Array
|
3941
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
3942
|
+
# resp.etag #=> String
|
3943
|
+
#
|
3944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteVpcOrigin AWS API Documentation
|
3945
|
+
#
|
3946
|
+
# @overload delete_vpc_origin(params = {})
|
3947
|
+
# @param [Hash] params ({})
|
3948
|
+
def delete_vpc_origin(params = {}, options = {})
|
3949
|
+
req = build_request(:delete_vpc_origin, params)
|
3950
|
+
req.send_request(options)
|
3951
|
+
end
|
3952
|
+
|
3645
3953
|
# Gets configuration information and metadata about a CloudFront
|
3646
3954
|
# function, but not the function's code. To get a function's code, use
|
3647
3955
|
# `GetFunction`.
|
@@ -3749,6 +4057,43 @@ module Aws::CloudFront
|
|
3749
4057
|
req.send_request(options)
|
3750
4058
|
end
|
3751
4059
|
|
4060
|
+
# Gets an Anycast static IP list.
|
4061
|
+
#
|
4062
|
+
# @option params [required, String] :id
|
4063
|
+
# The ID of the Anycast static IP list.
|
4064
|
+
#
|
4065
|
+
# @return [Types::GetAnycastIpListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4066
|
+
#
|
4067
|
+
# * {Types::GetAnycastIpListResult#anycast_ip_list #anycast_ip_list} => Types::AnycastIpList
|
4068
|
+
# * {Types::GetAnycastIpListResult#etag #etag} => String
|
4069
|
+
#
|
4070
|
+
# @example Request syntax with placeholder values
|
4071
|
+
#
|
4072
|
+
# resp = client.get_anycast_ip_list({
|
4073
|
+
# id: "string", # required
|
4074
|
+
# })
|
4075
|
+
#
|
4076
|
+
# @example Response structure
|
4077
|
+
#
|
4078
|
+
# resp.anycast_ip_list.id #=> String
|
4079
|
+
# resp.anycast_ip_list.name #=> String
|
4080
|
+
# resp.anycast_ip_list.status #=> String
|
4081
|
+
# resp.anycast_ip_list.arn #=> String
|
4082
|
+
# resp.anycast_ip_list.anycast_ips #=> Array
|
4083
|
+
# resp.anycast_ip_list.anycast_ips[0] #=> String
|
4084
|
+
# resp.anycast_ip_list.ip_count #=> Integer
|
4085
|
+
# resp.anycast_ip_list.last_modified_time #=> Time
|
4086
|
+
# resp.etag #=> String
|
4087
|
+
#
|
4088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetAnycastIpList AWS API Documentation
|
4089
|
+
#
|
4090
|
+
# @overload get_anycast_ip_list(params = {})
|
4091
|
+
# @param [Hash] params ({})
|
4092
|
+
def get_anycast_ip_list(params = {}, options = {})
|
4093
|
+
req = build_request(:get_anycast_ip_list, params)
|
4094
|
+
req.send_request(options)
|
4095
|
+
end
|
4096
|
+
|
3752
4097
|
# Gets a cache policy, including the following metadata:
|
3753
4098
|
#
|
3754
4099
|
# * The policy's identifier.
|
@@ -4081,6 +4426,7 @@ module Aws::CloudFront
|
|
4081
4426
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
4082
4427
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
4083
4428
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
4429
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
4084
4430
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
4085
4431
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
4086
4432
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -4127,6 +4473,7 @@ module Aws::CloudFront
|
|
4127
4473
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
4128
4474
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
4129
4475
|
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
4476
|
+
# resp.distribution.distribution_config.default_cache_behavior.grpc_config.enabled #=> Boolean
|
4130
4477
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
4131
4478
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4132
4479
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -4176,6 +4523,7 @@ module Aws::CloudFront
|
|
4176
4523
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
4177
4524
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
4178
4525
|
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
4526
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
4179
4527
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
4180
4528
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4181
4529
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -4219,6 +4567,7 @@ module Aws::CloudFront
|
|
4219
4567
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
4220
4568
|
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
4221
4569
|
# resp.distribution.distribution_config.staging #=> Boolean
|
4570
|
+
# resp.distribution.distribution_config.anycast_ip_list_id #=> String
|
4222
4571
|
# resp.distribution.alias_icp_recordals #=> Array
|
4223
4572
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
4224
4573
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -4280,6 +4629,7 @@ module Aws::CloudFront
|
|
4280
4629
|
# resp.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
4281
4630
|
# resp.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
4282
4631
|
# resp.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
4632
|
+
# resp.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
4283
4633
|
# resp.distribution_config.origins.items[0].connection_attempts #=> Integer
|
4284
4634
|
# resp.distribution_config.origins.items[0].connection_timeout #=> Integer
|
4285
4635
|
# resp.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -4326,6 +4676,7 @@ module Aws::CloudFront
|
|
4326
4676
|
# resp.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
4327
4677
|
# resp.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
4328
4678
|
# resp.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
4679
|
+
# resp.distribution_config.default_cache_behavior.grpc_config.enabled #=> Boolean
|
4329
4680
|
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
4330
4681
|
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4331
4682
|
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -4375,6 +4726,7 @@ module Aws::CloudFront
|
|
4375
4726
|
# resp.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
4376
4727
|
# resp.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
4377
4728
|
# resp.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
4729
|
+
# resp.distribution_config.cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
4378
4730
|
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
4379
4731
|
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4380
4732
|
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -4418,6 +4770,7 @@ module Aws::CloudFront
|
|
4418
4770
|
# resp.distribution_config.is_ipv6_enabled #=> Boolean
|
4419
4771
|
# resp.distribution_config.continuous_deployment_policy_id #=> String
|
4420
4772
|
# resp.distribution_config.staging #=> Boolean
|
4773
|
+
# resp.distribution_config.anycast_ip_list_id #=> String
|
4421
4774
|
# resp.etag #=> String
|
4422
4775
|
#
|
4423
4776
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig AWS API Documentation
|
@@ -5375,6 +5728,130 @@ module Aws::CloudFront
|
|
5375
5728
|
req.send_request(options)
|
5376
5729
|
end
|
5377
5730
|
|
5731
|
+
# Get the details of an Amazon CloudFront VPC origin.
|
5732
|
+
#
|
5733
|
+
# @option params [required, String] :id
|
5734
|
+
# The VPC origin ID.
|
5735
|
+
#
|
5736
|
+
# @return [Types::GetVpcOriginResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5737
|
+
#
|
5738
|
+
# * {Types::GetVpcOriginResult#vpc_origin #vpc_origin} => Types::VpcOrigin
|
5739
|
+
# * {Types::GetVpcOriginResult#etag #etag} => String
|
5740
|
+
#
|
5741
|
+
#
|
5742
|
+
# @example Example: To get a VPC origin
|
5743
|
+
#
|
5744
|
+
# # The following command gets a VPC origin:
|
5745
|
+
#
|
5746
|
+
# resp = client.get_vpc_origin({
|
5747
|
+
# id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
|
5748
|
+
# })
|
5749
|
+
#
|
5750
|
+
# resp.to_h outputs the following:
|
5751
|
+
# {
|
5752
|
+
# etag: "ETVPDKIKX0DER",
|
5753
|
+
# vpc_origin: {
|
5754
|
+
# arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
|
5755
|
+
# created_time: Time.parse("2024-10-15T17:19:42.318Z"),
|
5756
|
+
# id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
|
5757
|
+
# last_modified_time: Time.parse("2024-10-15T17:24:35.188Z"),
|
5758
|
+
# status: "Deployed",
|
5759
|
+
# vpc_origin_endpoint_config: {
|
5760
|
+
# arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
|
5761
|
+
# http_port: 80,
|
5762
|
+
# https_port: 443,
|
5763
|
+
# name: "my-vpcorigin-name",
|
5764
|
+
# origin_protocol_policy: "match-viewer",
|
5765
|
+
# origin_ssl_protocols: {
|
5766
|
+
# items: [
|
5767
|
+
# "TLSv1.1",
|
5768
|
+
# "TLSv1.2",
|
5769
|
+
# ],
|
5770
|
+
# quantity: 2,
|
5771
|
+
# },
|
5772
|
+
# },
|
5773
|
+
# },
|
5774
|
+
# }
|
5775
|
+
#
|
5776
|
+
# @example Request syntax with placeholder values
|
5777
|
+
#
|
5778
|
+
# resp = client.get_vpc_origin({
|
5779
|
+
# id: "string", # required
|
5780
|
+
# })
|
5781
|
+
#
|
5782
|
+
# @example Response structure
|
5783
|
+
#
|
5784
|
+
# resp.vpc_origin.id #=> String
|
5785
|
+
# resp.vpc_origin.arn #=> String
|
5786
|
+
# resp.vpc_origin.status #=> String
|
5787
|
+
# resp.vpc_origin.created_time #=> Time
|
5788
|
+
# resp.vpc_origin.last_modified_time #=> Time
|
5789
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.name #=> String
|
5790
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.arn #=> String
|
5791
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.http_port #=> Integer
|
5792
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.https_port #=> Integer
|
5793
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
5794
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.quantity #=> Integer
|
5795
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.items #=> Array
|
5796
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
5797
|
+
# resp.etag #=> String
|
5798
|
+
#
|
5799
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetVpcOrigin AWS API Documentation
|
5800
|
+
#
|
5801
|
+
# @overload get_vpc_origin(params = {})
|
5802
|
+
# @param [Hash] params ({})
|
5803
|
+
def get_vpc_origin(params = {}, options = {})
|
5804
|
+
req = build_request(:get_vpc_origin, params)
|
5805
|
+
req.send_request(options)
|
5806
|
+
end
|
5807
|
+
|
5808
|
+
# Lists your Anycast static IP lists.
|
5809
|
+
#
|
5810
|
+
# @option params [String] :marker
|
5811
|
+
# Use this field when paginating results to indicate where to begin in
|
5812
|
+
# your list. The response includes items in the list that occur after
|
5813
|
+
# the marker. To get the next page of the list, set this field's value
|
5814
|
+
# to the value of `NextMarker` from the current page's response.
|
5815
|
+
#
|
5816
|
+
# @option params [Integer] :max_items
|
5817
|
+
# The maximum number of Anycast static IP lists that you want returned
|
5818
|
+
# in the response.
|
5819
|
+
#
|
5820
|
+
# @return [Types::ListAnycastIpListsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5821
|
+
#
|
5822
|
+
# * {Types::ListAnycastIpListsResult#anycast_ip_lists #anycast_ip_lists} => Types::AnycastIpListCollection
|
5823
|
+
#
|
5824
|
+
# @example Request syntax with placeholder values
|
5825
|
+
#
|
5826
|
+
# resp = client.list_anycast_ip_lists({
|
5827
|
+
# marker: "string",
|
5828
|
+
# max_items: 1,
|
5829
|
+
# })
|
5830
|
+
#
|
5831
|
+
# @example Response structure
|
5832
|
+
#
|
5833
|
+
# resp.anycast_ip_lists.items #=> Array
|
5834
|
+
# resp.anycast_ip_lists.items[0].id #=> String
|
5835
|
+
# resp.anycast_ip_lists.items[0].name #=> String
|
5836
|
+
# resp.anycast_ip_lists.items[0].status #=> String
|
5837
|
+
# resp.anycast_ip_lists.items[0].arn #=> String
|
5838
|
+
# resp.anycast_ip_lists.items[0].ip_count #=> Integer
|
5839
|
+
# resp.anycast_ip_lists.items[0].last_modified_time #=> Time
|
5840
|
+
# resp.anycast_ip_lists.marker #=> String
|
5841
|
+
# resp.anycast_ip_lists.next_marker #=> String
|
5842
|
+
# resp.anycast_ip_lists.max_items #=> Integer
|
5843
|
+
# resp.anycast_ip_lists.is_truncated #=> Boolean
|
5844
|
+
# resp.anycast_ip_lists.quantity #=> Integer
|
5845
|
+
#
|
5846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListAnycastIpLists AWS API Documentation
|
5847
|
+
#
|
5848
|
+
# @overload list_anycast_ip_lists(params = {})
|
5849
|
+
# @param [Hash] params ({})
|
5850
|
+
def list_anycast_ip_lists(params = {}, options = {})
|
5851
|
+
req = build_request(:list_anycast_ip_lists, params)
|
5852
|
+
req.send_request(options)
|
5853
|
+
end
|
5854
|
+
|
5378
5855
|
# Gets a list of cache policies.
|
5379
5856
|
#
|
5380
5857
|
# You can optionally apply a filter to return only the managed policies
|
@@ -5710,6 +6187,7 @@ module Aws::CloudFront
|
|
5710
6187
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
5711
6188
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
5712
6189
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
6190
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
5713
6191
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
5714
6192
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
5715
6193
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -5756,6 +6234,7 @@ module Aws::CloudFront
|
|
5756
6234
|
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
5757
6235
|
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
5758
6236
|
# resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
|
6237
|
+
# resp.distribution_list.items[0].default_cache_behavior.grpc_config.enabled #=> Boolean
|
5759
6238
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
5760
6239
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
5761
6240
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -5805,6 +6284,7 @@ module Aws::CloudFront
|
|
5805
6284
|
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
5806
6285
|
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
5807
6286
|
# resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
|
6287
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
5808
6288
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
5809
6289
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
5810
6290
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -5846,6 +6326,7 @@ module Aws::CloudFront
|
|
5846
6326
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
5847
6327
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
5848
6328
|
# resp.distribution_list.items[0].staging #=> Boolean
|
6329
|
+
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
5849
6330
|
#
|
5850
6331
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions AWS API Documentation
|
5851
6332
|
#
|
@@ -5856,56 +6337,268 @@ module Aws::CloudFront
|
|
5856
6337
|
req.send_request(options)
|
5857
6338
|
end
|
5858
6339
|
|
5859
|
-
#
|
5860
|
-
#
|
5861
|
-
#
|
5862
|
-
# You can optionally specify the maximum number of items to receive in
|
5863
|
-
# the response. If the total number of items in the list exceeds the
|
5864
|
-
# maximum that you specify, or the default maximum, the response is
|
5865
|
-
# paginated. To get the next page of items, send a subsequent request
|
5866
|
-
# that specifies the `NextMarker` value from the current response as the
|
5867
|
-
# `Marker` value in the subsequent request.
|
6340
|
+
# Lists the distributions in your account that are associated with the
|
6341
|
+
# specified `AnycastIpListId`.
|
5868
6342
|
#
|
5869
6343
|
# @option params [String] :marker
|
5870
6344
|
# Use this field when paginating results to indicate where to begin in
|
5871
|
-
# your list
|
5872
|
-
#
|
5873
|
-
#
|
5874
|
-
# current page's response.
|
6345
|
+
# your list. The response includes items in the list that occur after
|
6346
|
+
# the marker. To get the next page of the list, set this field's value
|
6347
|
+
# to the value of `NextMarker` from the current page's response.
|
5875
6348
|
#
|
5876
6349
|
# @option params [Integer] :max_items
|
5877
|
-
# The maximum number of
|
6350
|
+
# The maximum number of distributions that you want returned in the
|
6351
|
+
# response.
|
5878
6352
|
#
|
5879
|
-
# @option params [required, String] :
|
5880
|
-
# The ID of the
|
5881
|
-
# to list.
|
6353
|
+
# @option params [required, String] :anycast_ip_list_id
|
6354
|
+
# The ID of the Anycast static IP list.
|
5882
6355
|
#
|
5883
|
-
# @return [Types::
|
6356
|
+
# @return [Types::ListDistributionsByAnycastIpListIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5884
6357
|
#
|
5885
|
-
# * {Types::
|
6358
|
+
# * {Types::ListDistributionsByAnycastIpListIdResult#distribution_list #distribution_list} => Types::DistributionList
|
5886
6359
|
#
|
5887
6360
|
# @example Request syntax with placeholder values
|
5888
6361
|
#
|
5889
|
-
# resp = client.
|
6362
|
+
# resp = client.list_distributions_by_anycast_ip_list_id({
|
5890
6363
|
# marker: "string",
|
5891
6364
|
# max_items: 1,
|
5892
|
-
#
|
6365
|
+
# anycast_ip_list_id: "string", # required
|
5893
6366
|
# })
|
5894
6367
|
#
|
5895
6368
|
# @example Response structure
|
5896
6369
|
#
|
5897
|
-
# resp.
|
5898
|
-
# resp.
|
5899
|
-
# resp.
|
5900
|
-
# resp.
|
5901
|
-
# resp.
|
5902
|
-
# resp.
|
5903
|
-
# resp.
|
5904
|
-
#
|
5905
|
-
#
|
5906
|
-
#
|
5907
|
-
#
|
5908
|
-
#
|
6370
|
+
# resp.distribution_list.marker #=> String
|
6371
|
+
# resp.distribution_list.next_marker #=> String
|
6372
|
+
# resp.distribution_list.max_items #=> Integer
|
6373
|
+
# resp.distribution_list.is_truncated #=> Boolean
|
6374
|
+
# resp.distribution_list.quantity #=> Integer
|
6375
|
+
# resp.distribution_list.items #=> Array
|
6376
|
+
# resp.distribution_list.items[0].id #=> String
|
6377
|
+
# resp.distribution_list.items[0].arn #=> String
|
6378
|
+
# resp.distribution_list.items[0].status #=> String
|
6379
|
+
# resp.distribution_list.items[0].last_modified_time #=> Time
|
6380
|
+
# resp.distribution_list.items[0].domain_name #=> String
|
6381
|
+
# resp.distribution_list.items[0].aliases.quantity #=> Integer
|
6382
|
+
# resp.distribution_list.items[0].aliases.items #=> Array
|
6383
|
+
# resp.distribution_list.items[0].aliases.items[0] #=> String
|
6384
|
+
# resp.distribution_list.items[0].origins.quantity #=> Integer
|
6385
|
+
# resp.distribution_list.items[0].origins.items #=> Array
|
6386
|
+
# resp.distribution_list.items[0].origins.items[0].id #=> String
|
6387
|
+
# resp.distribution_list.items[0].origins.items[0].domain_name #=> String
|
6388
|
+
# resp.distribution_list.items[0].origins.items[0].origin_path #=> String
|
6389
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.quantity #=> Integer
|
6390
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.items #=> Array
|
6391
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
|
6392
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
|
6393
|
+
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
|
6394
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
|
6395
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
|
6396
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
6397
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
|
6398
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
|
6399
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
6400
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
6401
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
6402
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
6403
|
+
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
6404
|
+
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
6405
|
+
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
6406
|
+
# resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
|
6407
|
+
# resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
|
6408
|
+
# resp.distribution_list.items[0].origin_groups.quantity #=> Integer
|
6409
|
+
# resp.distribution_list.items[0].origin_groups.items #=> Array
|
6410
|
+
# resp.distribution_list.items[0].origin_groups.items[0].id #=> String
|
6411
|
+
# resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
|
6412
|
+
# resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items #=> Array
|
6413
|
+
# resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
|
6414
|
+
# resp.distribution_list.items[0].origin_groups.items[0].members.quantity #=> Integer
|
6415
|
+
# resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
|
6416
|
+
# resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
|
6417
|
+
# resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
|
6418
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
|
6419
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
|
6420
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
|
6421
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
|
6422
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.enabled #=> Boolean
|
6423
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.quantity #=> Integer
|
6424
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.items #=> Array
|
6425
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.items[0] #=> String
|
6426
|
+
# resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
6427
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
|
6428
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
|
6429
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
6430
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.quantity #=> Integer
|
6431
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
6432
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
6433
|
+
# resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
|
6434
|
+
# resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
|
6435
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
6436
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
|
6437
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
6438
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
6439
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
6440
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.quantity #=> Integer
|
6441
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.items #=> Array
|
6442
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.items[0].function_arn #=> String
|
6443
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
6444
|
+
# resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
|
6445
|
+
# resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
|
6446
|
+
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
6447
|
+
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
6448
|
+
# resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
|
6449
|
+
# resp.distribution_list.items[0].default_cache_behavior.grpc_config.enabled #=> Boolean
|
6450
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
6451
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
6452
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
6453
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
6454
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
6455
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
6456
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
6457
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
6458
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
6459
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
6460
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
6461
|
+
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
6462
|
+
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
6463
|
+
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
6464
|
+
# resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
|
6465
|
+
# resp.distribution_list.items[0].cache_behaviors.items #=> Array
|
6466
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
|
6467
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
|
6468
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
6469
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
6470
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
|
6471
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
6472
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.enabled #=> Boolean
|
6473
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.quantity #=> Integer
|
6474
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.items #=> Array
|
6475
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.items[0] #=> String
|
6476
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
6477
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
6478
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
|
6479
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
6480
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.quantity #=> Integer
|
6481
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
6482
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
6483
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
|
6484
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
|
6485
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
6486
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
6487
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
6488
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
6489
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
6490
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.quantity #=> Integer
|
6491
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.items #=> Array
|
6492
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.items[0].function_arn #=> String
|
6493
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
6494
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
6495
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
|
6496
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
6497
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
6498
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
|
6499
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
6500
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
6501
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
6502
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
6503
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
6504
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
6505
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
6506
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
6507
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
6508
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
6509
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
6510
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
6511
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
6512
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
|
6513
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
|
6514
|
+
# resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
|
6515
|
+
# resp.distribution_list.items[0].custom_error_responses.items #=> Array
|
6516
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
|
6517
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].response_page_path #=> String
|
6518
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].response_code #=> String
|
6519
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].error_caching_min_ttl #=> Integer
|
6520
|
+
# resp.distribution_list.items[0].comment #=> String
|
6521
|
+
# resp.distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
|
6522
|
+
# resp.distribution_list.items[0].enabled #=> Boolean
|
6523
|
+
# resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
|
6524
|
+
# resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
|
6525
|
+
# resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
|
6526
|
+
# resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
6527
|
+
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021"
|
6528
|
+
# resp.distribution_list.items[0].viewer_certificate.certificate #=> String
|
6529
|
+
# resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
6530
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
6531
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.quantity #=> Integer
|
6532
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.items #=> Array
|
6533
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.items[0] #=> String
|
6534
|
+
# resp.distribution_list.items[0].web_acl_id #=> String
|
6535
|
+
# resp.distribution_list.items[0].http_version #=> String, one of "http1.1", "http2", "http3", "http2and3"
|
6536
|
+
# resp.distribution_list.items[0].is_ipv6_enabled #=> Boolean
|
6537
|
+
# resp.distribution_list.items[0].alias_icp_recordals #=> Array
|
6538
|
+
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
6539
|
+
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
6540
|
+
# resp.distribution_list.items[0].staging #=> Boolean
|
6541
|
+
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
6542
|
+
#
|
6543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId AWS API Documentation
|
6544
|
+
#
|
6545
|
+
# @overload list_distributions_by_anycast_ip_list_id(params = {})
|
6546
|
+
# @param [Hash] params ({})
|
6547
|
+
def list_distributions_by_anycast_ip_list_id(params = {}, options = {})
|
6548
|
+
req = build_request(:list_distributions_by_anycast_ip_list_id, params)
|
6549
|
+
req.send_request(options)
|
6550
|
+
end
|
6551
|
+
|
6552
|
+
# Gets a list of distribution IDs for distributions that have a cache
|
6553
|
+
# behavior that's associated with the specified cache policy.
|
6554
|
+
#
|
6555
|
+
# You can optionally specify the maximum number of items to receive in
|
6556
|
+
# the response. If the total number of items in the list exceeds the
|
6557
|
+
# maximum that you specify, or the default maximum, the response is
|
6558
|
+
# paginated. To get the next page of items, send a subsequent request
|
6559
|
+
# that specifies the `NextMarker` value from the current response as the
|
6560
|
+
# `Marker` value in the subsequent request.
|
6561
|
+
#
|
6562
|
+
# @option params [String] :marker
|
6563
|
+
# Use this field when paginating results to indicate where to begin in
|
6564
|
+
# your list of distribution IDs. The response includes distribution IDs
|
6565
|
+
# in the list that occur after the marker. To get the next page of the
|
6566
|
+
# list, set this field's value to the value of `NextMarker` from the
|
6567
|
+
# current page's response.
|
6568
|
+
#
|
6569
|
+
# @option params [Integer] :max_items
|
6570
|
+
# The maximum number of distribution IDs that you want in the response.
|
6571
|
+
#
|
6572
|
+
# @option params [required, String] :cache_policy_id
|
6573
|
+
# The ID of the cache policy whose associated distribution IDs you want
|
6574
|
+
# to list.
|
6575
|
+
#
|
6576
|
+
# @return [Types::ListDistributionsByCachePolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6577
|
+
#
|
6578
|
+
# * {Types::ListDistributionsByCachePolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
|
6579
|
+
#
|
6580
|
+
# @example Request syntax with placeholder values
|
6581
|
+
#
|
6582
|
+
# resp = client.list_distributions_by_cache_policy_id({
|
6583
|
+
# marker: "string",
|
6584
|
+
# max_items: 1,
|
6585
|
+
# cache_policy_id: "string", # required
|
6586
|
+
# })
|
6587
|
+
#
|
6588
|
+
# @example Response structure
|
6589
|
+
#
|
6590
|
+
# resp.distribution_id_list.marker #=> String
|
6591
|
+
# resp.distribution_id_list.next_marker #=> String
|
6592
|
+
# resp.distribution_id_list.max_items #=> Integer
|
6593
|
+
# resp.distribution_id_list.is_truncated #=> Boolean
|
6594
|
+
# resp.distribution_id_list.quantity #=> Integer
|
6595
|
+
# resp.distribution_id_list.items #=> Array
|
6596
|
+
# resp.distribution_id_list.items[0] #=> String
|
6597
|
+
#
|
6598
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByCachePolicyId AWS API Documentation
|
6599
|
+
#
|
6600
|
+
# @overload list_distributions_by_cache_policy_id(params = {})
|
6601
|
+
# @param [Hash] params ({})
|
5909
6602
|
def list_distributions_by_cache_policy_id(params = {}, options = {})
|
5910
6603
|
req = build_request(:list_distributions_by_cache_policy_id, params)
|
5911
6604
|
req.send_request(options)
|
@@ -6101,6 +6794,7 @@ module Aws::CloudFront
|
|
6101
6794
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
6102
6795
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
6103
6796
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
6797
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
6104
6798
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
6105
6799
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
6106
6800
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -6147,6 +6841,7 @@ module Aws::CloudFront
|
|
6147
6841
|
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
6148
6842
|
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
6149
6843
|
# resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
|
6844
|
+
# resp.distribution_list.items[0].default_cache_behavior.grpc_config.enabled #=> Boolean
|
6150
6845
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
6151
6846
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
6152
6847
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -6196,6 +6891,7 @@ module Aws::CloudFront
|
|
6196
6891
|
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
6197
6892
|
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
6198
6893
|
# resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
|
6894
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
6199
6895
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
6200
6896
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
6201
6897
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -6237,6 +6933,7 @@ module Aws::CloudFront
|
|
6237
6933
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
6238
6934
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
6239
6935
|
# resp.distribution_list.items[0].staging #=> Boolean
|
6936
|
+
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
6240
6937
|
#
|
6241
6938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig AWS API Documentation
|
6242
6939
|
#
|
@@ -6304,6 +7001,69 @@ module Aws::CloudFront
|
|
6304
7001
|
req.send_request(options)
|
6305
7002
|
end
|
6306
7003
|
|
7004
|
+
# List CloudFront distributions by their VPC origin ID.
|
7005
|
+
#
|
7006
|
+
# @option params [String] :marker
|
7007
|
+
# The marker associated with the VPC origin distributions list.
|
7008
|
+
#
|
7009
|
+
# @option params [Integer] :max_items
|
7010
|
+
# The maximum number of items included in the list.
|
7011
|
+
#
|
7012
|
+
# @option params [required, String] :vpc_origin_id
|
7013
|
+
# The VPC origin ID.
|
7014
|
+
#
|
7015
|
+
# @return [Types::ListDistributionsByVpcOriginIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7016
|
+
#
|
7017
|
+
# * {Types::ListDistributionsByVpcOriginIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
|
7018
|
+
#
|
7019
|
+
#
|
7020
|
+
# @example Example: To list distributions by VPC origin ID
|
7021
|
+
#
|
7022
|
+
# # The following command lists distributions by VPC origin ID:
|
7023
|
+
#
|
7024
|
+
# resp = client.list_distributions_by_vpc_origin_id({
|
7025
|
+
# vpc_origin_id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
|
7026
|
+
# })
|
7027
|
+
#
|
7028
|
+
# resp.to_h outputs the following:
|
7029
|
+
# {
|
7030
|
+
# distribution_id_list: {
|
7031
|
+
# is_truncated: false,
|
7032
|
+
# items: [
|
7033
|
+
# ],
|
7034
|
+
# marker: "a",
|
7035
|
+
# max_items: 100,
|
7036
|
+
# quantity: 0,
|
7037
|
+
# },
|
7038
|
+
# }
|
7039
|
+
#
|
7040
|
+
# @example Request syntax with placeholder values
|
7041
|
+
#
|
7042
|
+
# resp = client.list_distributions_by_vpc_origin_id({
|
7043
|
+
# marker: "string",
|
7044
|
+
# max_items: 1,
|
7045
|
+
# vpc_origin_id: "string", # required
|
7046
|
+
# })
|
7047
|
+
#
|
7048
|
+
# @example Response structure
|
7049
|
+
#
|
7050
|
+
# resp.distribution_id_list.marker #=> String
|
7051
|
+
# resp.distribution_id_list.next_marker #=> String
|
7052
|
+
# resp.distribution_id_list.max_items #=> Integer
|
7053
|
+
# resp.distribution_id_list.is_truncated #=> Boolean
|
7054
|
+
# resp.distribution_id_list.quantity #=> Integer
|
7055
|
+
# resp.distribution_id_list.items #=> Array
|
7056
|
+
# resp.distribution_id_list.items[0] #=> String
|
7057
|
+
#
|
7058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByVpcOriginId AWS API Documentation
|
7059
|
+
#
|
7060
|
+
# @overload list_distributions_by_vpc_origin_id(params = {})
|
7061
|
+
# @param [Hash] params ({})
|
7062
|
+
def list_distributions_by_vpc_origin_id(params = {}, options = {})
|
7063
|
+
req = build_request(:list_distributions_by_vpc_origin_id, params)
|
7064
|
+
req.send_request(options)
|
7065
|
+
end
|
7066
|
+
|
6307
7067
|
# List the distributions that are associated with a specified WAF web
|
6308
7068
|
# ACL.
|
6309
7069
|
#
|
@@ -6376,6 +7136,7 @@ module Aws::CloudFront
|
|
6376
7136
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
6377
7137
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
6378
7138
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
7139
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
6379
7140
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
6380
7141
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
6381
7142
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -6422,6 +7183,7 @@ module Aws::CloudFront
|
|
6422
7183
|
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
6423
7184
|
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
6424
7185
|
# resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
|
7186
|
+
# resp.distribution_list.items[0].default_cache_behavior.grpc_config.enabled #=> Boolean
|
6425
7187
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
6426
7188
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
6427
7189
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -6471,6 +7233,7 @@ module Aws::CloudFront
|
|
6471
7233
|
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
6472
7234
|
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
6473
7235
|
# resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
|
7236
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
6474
7237
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
6475
7238
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
6476
7239
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -6512,6 +7275,7 @@ module Aws::CloudFront
|
|
6512
7275
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
6513
7276
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
6514
7277
|
# resp.distribution_list.items[0].staging #=> Boolean
|
7278
|
+
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
6515
7279
|
#
|
6516
7280
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId AWS API Documentation
|
6517
7281
|
#
|
@@ -7321,6 +8085,79 @@ module Aws::CloudFront
|
|
7321
8085
|
req.send_request(options)
|
7322
8086
|
end
|
7323
8087
|
|
8088
|
+
# List the CloudFront VPC origins in your account.
|
8089
|
+
#
|
8090
|
+
# @option params [String] :marker
|
8091
|
+
# The marker associated with the VPC origins list.
|
8092
|
+
#
|
8093
|
+
# @option params [Integer] :max_items
|
8094
|
+
# The maximum number of items included in the list.
|
8095
|
+
#
|
8096
|
+
# @return [Types::ListVpcOriginsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8097
|
+
#
|
8098
|
+
# * {Types::ListVpcOriginsResult#vpc_origin_list #vpc_origin_list} => Types::VpcOriginList
|
8099
|
+
#
|
8100
|
+
#
|
8101
|
+
# @example Example: To list VPC origins
|
8102
|
+
#
|
8103
|
+
# # The following command lists VPC origins:
|
8104
|
+
#
|
8105
|
+
# resp = client.list_vpc_origins({
|
8106
|
+
# })
|
8107
|
+
#
|
8108
|
+
# resp.to_h outputs the following:
|
8109
|
+
# {
|
8110
|
+
# vpc_origin_list: {
|
8111
|
+
# is_truncated: true,
|
8112
|
+
# items: [
|
8113
|
+
# {
|
8114
|
+
# arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
|
8115
|
+
# created_time: Time.parse("2024-10-15T17:19:42.318Z"),
|
8116
|
+
# id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
|
8117
|
+
# last_modified_time: Time.parse("2024-10-15T17:24:35.188Z"),
|
8118
|
+
# name: "my-vpcorigin-name",
|
8119
|
+
# origin_endpoint_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
|
8120
|
+
# status: "Deployed",
|
8121
|
+
# },
|
8122
|
+
# ],
|
8123
|
+
# marker: "a",
|
8124
|
+
# max_items: 100,
|
8125
|
+
# quantity: 1,
|
8126
|
+
# },
|
8127
|
+
# }
|
8128
|
+
#
|
8129
|
+
# @example Request syntax with placeholder values
|
8130
|
+
#
|
8131
|
+
# resp = client.list_vpc_origins({
|
8132
|
+
# marker: "string",
|
8133
|
+
# max_items: 1,
|
8134
|
+
# })
|
8135
|
+
#
|
8136
|
+
# @example Response structure
|
8137
|
+
#
|
8138
|
+
# resp.vpc_origin_list.marker #=> String
|
8139
|
+
# resp.vpc_origin_list.next_marker #=> String
|
8140
|
+
# resp.vpc_origin_list.max_items #=> Integer
|
8141
|
+
# resp.vpc_origin_list.is_truncated #=> Boolean
|
8142
|
+
# resp.vpc_origin_list.quantity #=> Integer
|
8143
|
+
# resp.vpc_origin_list.items #=> Array
|
8144
|
+
# resp.vpc_origin_list.items[0].id #=> String
|
8145
|
+
# resp.vpc_origin_list.items[0].name #=> String
|
8146
|
+
# resp.vpc_origin_list.items[0].status #=> String
|
8147
|
+
# resp.vpc_origin_list.items[0].created_time #=> Time
|
8148
|
+
# resp.vpc_origin_list.items[0].last_modified_time #=> Time
|
8149
|
+
# resp.vpc_origin_list.items[0].arn #=> String
|
8150
|
+
# resp.vpc_origin_list.items[0].origin_endpoint_arn #=> String
|
8151
|
+
#
|
8152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListVpcOrigins AWS API Documentation
|
8153
|
+
#
|
8154
|
+
# @overload list_vpc_origins(params = {})
|
8155
|
+
# @param [Hash] params ({})
|
8156
|
+
def list_vpc_origins(params = {}, options = {})
|
8157
|
+
req = build_request(:list_vpc_origins, params)
|
8158
|
+
req.send_request(options)
|
8159
|
+
end
|
8160
|
+
|
7324
8161
|
# Publishes a CloudFront function by copying the function code from the
|
7325
8162
|
# `DEVELOPMENT` stage to `LIVE`. This automatically updates all cache
|
7326
8163
|
# behaviors that are using this function to use the newly published copy
|
@@ -7850,6 +8687,9 @@ module Aws::CloudFront
|
|
7850
8687
|
# origin_read_timeout: 1,
|
7851
8688
|
# origin_keepalive_timeout: 1,
|
7852
8689
|
# },
|
8690
|
+
# vpc_origin_config: {
|
8691
|
+
# vpc_origin_id: "string", # required
|
8692
|
+
# },
|
7853
8693
|
# connection_attempts: 1,
|
7854
8694
|
# connection_timeout: 1,
|
7855
8695
|
# origin_shield: {
|
@@ -7929,6 +8769,9 @@ module Aws::CloudFront
|
|
7929
8769
|
# cache_policy_id: "string",
|
7930
8770
|
# origin_request_policy_id: "string",
|
7931
8771
|
# response_headers_policy_id: "string",
|
8772
|
+
# grpc_config: {
|
8773
|
+
# enabled: false, # required
|
8774
|
+
# },
|
7932
8775
|
# forwarded_values: {
|
7933
8776
|
# query_string: false, # required
|
7934
8777
|
# cookies: { # required
|
@@ -8002,6 +8845,9 @@ module Aws::CloudFront
|
|
8002
8845
|
# cache_policy_id: "string",
|
8003
8846
|
# origin_request_policy_id: "string",
|
8004
8847
|
# response_headers_policy_id: "string",
|
8848
|
+
# grpc_config: {
|
8849
|
+
# enabled: false, # required
|
8850
|
+
# },
|
8005
8851
|
# forwarded_values: {
|
8006
8852
|
# query_string: false, # required
|
8007
8853
|
# cookies: { # required
|
@@ -8039,10 +8885,10 @@ module Aws::CloudFront
|
|
8039
8885
|
# },
|
8040
8886
|
# comment: "CommentType", # required
|
8041
8887
|
# logging: {
|
8042
|
-
# enabled: false,
|
8043
|
-
# include_cookies: false,
|
8044
|
-
# bucket: "string",
|
8045
|
-
# prefix: "string",
|
8888
|
+
# enabled: false,
|
8889
|
+
# include_cookies: false,
|
8890
|
+
# bucket: "string",
|
8891
|
+
# prefix: "string",
|
8046
8892
|
# },
|
8047
8893
|
# price_class: "PriceClass_100", # accepts PriceClass_100, PriceClass_200, PriceClass_All
|
8048
8894
|
# enabled: false, # required
|
@@ -8067,6 +8913,7 @@ module Aws::CloudFront
|
|
8067
8913
|
# is_ipv6_enabled: false,
|
8068
8914
|
# continuous_deployment_policy_id: "string",
|
8069
8915
|
# staging: false,
|
8916
|
+
# anycast_ip_list_id: "string",
|
8070
8917
|
# },
|
8071
8918
|
# id: "string", # required
|
8072
8919
|
# if_match: "string",
|
@@ -8117,6 +8964,7 @@ module Aws::CloudFront
|
|
8117
8964
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
8118
8965
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
8119
8966
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
8967
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
8120
8968
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
8121
8969
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
8122
8970
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -8163,6 +9011,7 @@ module Aws::CloudFront
|
|
8163
9011
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
8164
9012
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
8165
9013
|
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
9014
|
+
# resp.distribution.distribution_config.default_cache_behavior.grpc_config.enabled #=> Boolean
|
8166
9015
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
8167
9016
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
8168
9017
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -8212,6 +9061,7 @@ module Aws::CloudFront
|
|
8212
9061
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
8213
9062
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
8214
9063
|
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
9064
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
8215
9065
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
8216
9066
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
8217
9067
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -8255,6 +9105,7 @@ module Aws::CloudFront
|
|
8255
9105
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
8256
9106
|
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
8257
9107
|
# resp.distribution.distribution_config.staging #=> Boolean
|
9108
|
+
# resp.distribution.distribution_config.anycast_ip_list_id #=> String
|
8258
9109
|
# resp.distribution.alias_icp_recordals #=> Array
|
8259
9110
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
8260
9111
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -8367,6 +9218,7 @@ module Aws::CloudFront
|
|
8367
9218
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
8368
9219
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
8369
9220
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
9221
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
8370
9222
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
8371
9223
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
8372
9224
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -8413,6 +9265,7 @@ module Aws::CloudFront
|
|
8413
9265
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
8414
9266
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
8415
9267
|
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
9268
|
+
# resp.distribution.distribution_config.default_cache_behavior.grpc_config.enabled #=> Boolean
|
8416
9269
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
8417
9270
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
8418
9271
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -8462,6 +9315,7 @@ module Aws::CloudFront
|
|
8462
9315
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
8463
9316
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
8464
9317
|
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
9318
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
8465
9319
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
8466
9320
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
8467
9321
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -8505,6 +9359,7 @@ module Aws::CloudFront
|
|
8505
9359
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
8506
9360
|
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
8507
9361
|
# resp.distribution.distribution_config.staging #=> Boolean
|
9362
|
+
# resp.distribution.distribution_config.anycast_ip_list_id #=> String
|
8508
9363
|
# resp.distribution.alias_icp_recordals #=> Array
|
8509
9364
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
8510
9365
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -9471,6 +10326,116 @@ module Aws::CloudFront
|
|
9471
10326
|
req.send_request(options)
|
9472
10327
|
end
|
9473
10328
|
|
10329
|
+
# Update an Amazon CloudFront VPC origin in your account.
|
10330
|
+
#
|
10331
|
+
# @option params [required, Types::VpcOriginEndpointConfig] :vpc_origin_endpoint_config
|
10332
|
+
# The VPC origin endpoint configuration.
|
10333
|
+
#
|
10334
|
+
# @option params [required, String] :id
|
10335
|
+
# The VPC origin ID.
|
10336
|
+
#
|
10337
|
+
# @option params [required, String] :if_match
|
10338
|
+
# The VPC origin to update, if a match occurs.
|
10339
|
+
#
|
10340
|
+
# @return [Types::UpdateVpcOriginResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10341
|
+
#
|
10342
|
+
# * {Types::UpdateVpcOriginResult#vpc_origin #vpc_origin} => Types::VpcOrigin
|
10343
|
+
# * {Types::UpdateVpcOriginResult#etag #etag} => String
|
10344
|
+
#
|
10345
|
+
#
|
10346
|
+
# @example Example: To update a VPC origin
|
10347
|
+
#
|
10348
|
+
# # The following command updates a VPC origin:
|
10349
|
+
#
|
10350
|
+
# resp = client.update_vpc_origin({
|
10351
|
+
# id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
|
10352
|
+
# if_match: "ETVPDKIKX0DER",
|
10353
|
+
# vpc_origin_endpoint_config: {
|
10354
|
+
# arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
|
10355
|
+
# http_port: 80,
|
10356
|
+
# https_port: 443,
|
10357
|
+
# name: "my-vpcorigin-name",
|
10358
|
+
# origin_protocol_policy: "match-viewer",
|
10359
|
+
# origin_ssl_protocols: {
|
10360
|
+
# items: [
|
10361
|
+
# "TLSv1.1",
|
10362
|
+
# "TLSv1.2",
|
10363
|
+
# ],
|
10364
|
+
# quantity: 2,
|
10365
|
+
# },
|
10366
|
+
# },
|
10367
|
+
# })
|
10368
|
+
#
|
10369
|
+
# resp.to_h outputs the following:
|
10370
|
+
# {
|
10371
|
+
# etag: "E3UN6WX5RRO2AG",
|
10372
|
+
# vpc_origin: {
|
10373
|
+
# arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
|
10374
|
+
# created_time: Time.parse("2024-10-15T17:19:42.318Z"),
|
10375
|
+
# id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
|
10376
|
+
# last_modified_time: Time.parse("2024-10-15T17:47:08.133Z"),
|
10377
|
+
# status: "Deploying",
|
10378
|
+
# vpc_origin_endpoint_config: {
|
10379
|
+
# arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
|
10380
|
+
# http_port: 80,
|
10381
|
+
# https_port: 443,
|
10382
|
+
# name: "my-vpcorigin-name",
|
10383
|
+
# origin_protocol_policy: "match-viewer",
|
10384
|
+
# origin_ssl_protocols: {
|
10385
|
+
# items: [
|
10386
|
+
# "TLSv1.1",
|
10387
|
+
# "TLSv1.2",
|
10388
|
+
# ],
|
10389
|
+
# quantity: 2,
|
10390
|
+
# },
|
10391
|
+
# },
|
10392
|
+
# },
|
10393
|
+
# }
|
10394
|
+
#
|
10395
|
+
# @example Request syntax with placeholder values
|
10396
|
+
#
|
10397
|
+
# resp = client.update_vpc_origin({
|
10398
|
+
# vpc_origin_endpoint_config: { # required
|
10399
|
+
# name: "string", # required
|
10400
|
+
# arn: "string", # required
|
10401
|
+
# http_port: 1, # required
|
10402
|
+
# https_port: 1, # required
|
10403
|
+
# origin_protocol_policy: "http-only", # required, accepts http-only, match-viewer, https-only
|
10404
|
+
# origin_ssl_protocols: {
|
10405
|
+
# quantity: 1, # required
|
10406
|
+
# items: ["SSLv3"], # required, accepts SSLv3, TLSv1, TLSv1.1, TLSv1.2
|
10407
|
+
# },
|
10408
|
+
# },
|
10409
|
+
# id: "string", # required
|
10410
|
+
# if_match: "string", # required
|
10411
|
+
# })
|
10412
|
+
#
|
10413
|
+
# @example Response structure
|
10414
|
+
#
|
10415
|
+
# resp.vpc_origin.id #=> String
|
10416
|
+
# resp.vpc_origin.arn #=> String
|
10417
|
+
# resp.vpc_origin.status #=> String
|
10418
|
+
# resp.vpc_origin.created_time #=> Time
|
10419
|
+
# resp.vpc_origin.last_modified_time #=> Time
|
10420
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.name #=> String
|
10421
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.arn #=> String
|
10422
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.http_port #=> Integer
|
10423
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.https_port #=> Integer
|
10424
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
10425
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.quantity #=> Integer
|
10426
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.items #=> Array
|
10427
|
+
# resp.vpc_origin.vpc_origin_endpoint_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
10428
|
+
# resp.etag #=> String
|
10429
|
+
#
|
10430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateVpcOrigin AWS API Documentation
|
10431
|
+
#
|
10432
|
+
# @overload update_vpc_origin(params = {})
|
10433
|
+
# @param [Hash] params ({})
|
10434
|
+
def update_vpc_origin(params = {}, options = {})
|
10435
|
+
req = build_request(:update_vpc_origin, params)
|
10436
|
+
req.send_request(options)
|
10437
|
+
end
|
10438
|
+
|
9474
10439
|
# @!endgroup
|
9475
10440
|
|
9476
10441
|
# @param params ({})
|
@@ -9489,7 +10454,7 @@ module Aws::CloudFront
|
|
9489
10454
|
tracer: tracer
|
9490
10455
|
)
|
9491
10456
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
9492
|
-
context[:gem_version] = '1.
|
10457
|
+
context[:gem_version] = '1.106.0'
|
9493
10458
|
Seahorse::Client::Request.new(handlers, context)
|
9494
10459
|
end
|
9495
10460
|
|