aws-sdk-cloudfront 1.105.0 → 1.107.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.
@@ -55,7 +55,7 @@ module Aws::CloudFront
55
55
  autoload :EndpointProvider, 'aws-sdk-cloudfront/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-cloudfront/endpoints'
57
57
 
58
- GEM_VERSION = '1.105.0'
58
+ GEM_VERSION = '1.107.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -98,6 +98,26 @@ module Aws
98
98
  ) -> _CopyDistributionResponseSuccess
99
99
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyDistributionResponseSuccess
100
100
 
101
+ interface _CreateAnycastIpListResponseSuccess
102
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAnycastIpListResult]
103
+ def anycast_ip_list: () -> Types::AnycastIpList
104
+ def etag: () -> ::String
105
+ end
106
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_anycast_ip_list-instance_method
107
+ def create_anycast_ip_list: (
108
+ name: ::String,
109
+ ip_count: ::Integer,
110
+ ?tags: {
111
+ items: Array[
112
+ {
113
+ key: ::String,
114
+ value: ::String?
115
+ },
116
+ ]?
117
+ }
118
+ ) -> _CreateAnycastIpListResponseSuccess
119
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnycastIpListResponseSuccess
120
+
101
121
  interface _CreateCachePolicyResponseSuccess
102
122
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateCachePolicyResult]
103
123
  def cache_policy: () -> Types::CachePolicy
@@ -233,6 +253,9 @@ module Aws
233
253
  origin_read_timeout: ::Integer?,
234
254
  origin_keepalive_timeout: ::Integer?
235
255
  }?,
256
+ vpc_origin_config: {
257
+ vpc_origin_id: ::String
258
+ }?,
236
259
  connection_attempts: ::Integer?,
237
260
  connection_timeout: ::Integer?,
238
261
  origin_shield: {
@@ -261,7 +284,8 @@ module Aws
261
284
  origin_id: ::String
262
285
  },
263
286
  ]
264
- }
287
+ },
288
+ selection_criteria: ("default" | "media-quality-based")?
265
289
  },
266
290
  ]?
267
291
  }?,
@@ -312,6 +336,9 @@ module Aws
312
336
  cache_policy_id: ::String?,
313
337
  origin_request_policy_id: ::String?,
314
338
  response_headers_policy_id: ::String?,
339
+ grpc_config: {
340
+ enabled: bool
341
+ }?,
315
342
  forwarded_values: {
316
343
  query_string: bool,
317
344
  cookies: {
@@ -385,6 +412,9 @@ module Aws
385
412
  cache_policy_id: ::String?,
386
413
  origin_request_policy_id: ::String?,
387
414
  response_headers_policy_id: ::String?,
415
+ grpc_config: {
416
+ enabled: bool
417
+ }?,
388
418
  forwarded_values: {
389
419
  query_string: bool,
390
420
  cookies: {
@@ -422,10 +452,10 @@ module Aws
422
452
  }?,
423
453
  comment: ::String,
424
454
  logging: {
425
- enabled: bool,
426
- include_cookies: bool,
427
- bucket: ::String,
428
- prefix: ::String
455
+ enabled: bool?,
456
+ include_cookies: bool?,
457
+ bucket: ::String?,
458
+ prefix: ::String?
429
459
  }?,
430
460
  price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
431
461
  enabled: bool,
@@ -449,7 +479,8 @@ module Aws
449
479
  http_version: ("http1.1" | "http2" | "http3" | "http2and3")?,
450
480
  is_ipv6_enabled: bool?,
451
481
  continuous_deployment_policy_id: ::String?,
452
- staging: bool?
482
+ staging: bool?,
483
+ anycast_ip_list_id: ::String?
453
484
  }
454
485
  ) -> _CreateDistributionResponseSuccess
455
486
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDistributionResponseSuccess
@@ -500,6 +531,9 @@ module Aws
500
531
  origin_read_timeout: ::Integer?,
501
532
  origin_keepalive_timeout: ::Integer?
502
533
  }?,
534
+ vpc_origin_config: {
535
+ vpc_origin_id: ::String
536
+ }?,
503
537
  connection_attempts: ::Integer?,
504
538
  connection_timeout: ::Integer?,
505
539
  origin_shield: {
@@ -528,7 +562,8 @@ module Aws
528
562
  origin_id: ::String
529
563
  },
530
564
  ]
531
- }
565
+ },
566
+ selection_criteria: ("default" | "media-quality-based")?
532
567
  },
533
568
  ]?
534
569
  }?,
@@ -579,6 +614,9 @@ module Aws
579
614
  cache_policy_id: ::String?,
580
615
  origin_request_policy_id: ::String?,
581
616
  response_headers_policy_id: ::String?,
617
+ grpc_config: {
618
+ enabled: bool
619
+ }?,
582
620
  forwarded_values: {
583
621
  query_string: bool,
584
622
  cookies: {
@@ -652,6 +690,9 @@ module Aws
652
690
  cache_policy_id: ::String?,
653
691
  origin_request_policy_id: ::String?,
654
692
  response_headers_policy_id: ::String?,
693
+ grpc_config: {
694
+ enabled: bool
695
+ }?,
655
696
  forwarded_values: {
656
697
  query_string: bool,
657
698
  cookies: {
@@ -689,10 +730,10 @@ module Aws
689
730
  }?,
690
731
  comment: ::String,
691
732
  logging: {
692
- enabled: bool,
693
- include_cookies: bool,
694
- bucket: ::String,
695
- prefix: ::String
733
+ enabled: bool?,
734
+ include_cookies: bool?,
735
+ bucket: ::String?,
736
+ prefix: ::String?
696
737
  }?,
697
738
  price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
698
739
  enabled: bool,
@@ -716,7 +757,8 @@ module Aws
716
757
  http_version: ("http1.1" | "http2" | "http3" | "http2and3")?,
717
758
  is_ipv6_enabled: bool?,
718
759
  continuous_deployment_policy_id: ::String?,
719
- staging: bool?
760
+ staging: bool?,
761
+ anycast_ip_list_id: ::String?
720
762
  },
721
763
  tags: {
722
764
  items: Array[
@@ -1149,6 +1191,43 @@ module Aws
1149
1191
  ) -> _CreateStreamingDistributionWithTagsResponseSuccess
1150
1192
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStreamingDistributionWithTagsResponseSuccess
1151
1193
 
1194
+ interface _CreateVpcOriginResponseSuccess
1195
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcOriginResult]
1196
+ def vpc_origin: () -> Types::VpcOrigin
1197
+ def location: () -> ::String
1198
+ def etag: () -> ::String
1199
+ end
1200
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_vpc_origin-instance_method
1201
+ def create_vpc_origin: (
1202
+ vpc_origin_endpoint_config: {
1203
+ name: ::String,
1204
+ arn: ::String,
1205
+ http_port: ::Integer,
1206
+ https_port: ::Integer,
1207
+ origin_protocol_policy: ("http-only" | "match-viewer" | "https-only"),
1208
+ origin_ssl_protocols: {
1209
+ quantity: ::Integer,
1210
+ items: Array[("SSLv3" | "TLSv1" | "TLSv1.1" | "TLSv1.2")]
1211
+ }?
1212
+ },
1213
+ ?tags: {
1214
+ items: Array[
1215
+ {
1216
+ key: ::String,
1217
+ value: ::String?
1218
+ },
1219
+ ]?
1220
+ }
1221
+ ) -> _CreateVpcOriginResponseSuccess
1222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcOriginResponseSuccess
1223
+
1224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_anycast_ip_list-instance_method
1225
+ def delete_anycast_ip_list: (
1226
+ id: ::String,
1227
+ if_match: ::String
1228
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1230
+
1152
1231
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_cache_policy-instance_method
1153
1232
  def delete_cache_policy: (
1154
1233
  id: ::String,
@@ -1263,6 +1342,18 @@ module Aws
1263
1342
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1264
1343
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1265
1344
 
1345
+ interface _DeleteVpcOriginResponseSuccess
1346
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVpcOriginResult]
1347
+ def vpc_origin: () -> Types::VpcOrigin
1348
+ def etag: () -> ::String
1349
+ end
1350
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_vpc_origin-instance_method
1351
+ def delete_vpc_origin: (
1352
+ id: ::String,
1353
+ if_match: ::String
1354
+ ) -> _DeleteVpcOriginResponseSuccess
1355
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVpcOriginResponseSuccess
1356
+
1266
1357
  interface _DescribeFunctionResponseSuccess
1267
1358
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFunctionResult]
1268
1359
  def function_summary: () -> Types::FunctionSummary
@@ -1286,6 +1377,17 @@ module Aws
1286
1377
  ) -> _DescribeKeyValueStoreResponseSuccess
1287
1378
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeKeyValueStoreResponseSuccess
1288
1379
 
1380
+ interface _GetAnycastIpListResponseSuccess
1381
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAnycastIpListResult]
1382
+ def anycast_ip_list: () -> Types::AnycastIpList
1383
+ def etag: () -> ::String
1384
+ end
1385
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_anycast_ip_list-instance_method
1386
+ def get_anycast_ip_list: (
1387
+ id: ::String
1388
+ ) -> _GetAnycastIpListResponseSuccess
1389
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAnycastIpListResponseSuccess
1390
+
1289
1391
  interface _GetCachePolicyResponseSuccess
1290
1392
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCachePolicyResult]
1291
1393
  def cache_policy: () -> Types::CachePolicy
@@ -1595,6 +1697,28 @@ module Aws
1595
1697
  ) -> _GetStreamingDistributionConfigResponseSuccess
1596
1698
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStreamingDistributionConfigResponseSuccess
1597
1699
 
1700
+ interface _GetVpcOriginResponseSuccess
1701
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVpcOriginResult]
1702
+ def vpc_origin: () -> Types::VpcOrigin
1703
+ def etag: () -> ::String
1704
+ end
1705
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_vpc_origin-instance_method
1706
+ def get_vpc_origin: (
1707
+ id: ::String
1708
+ ) -> _GetVpcOriginResponseSuccess
1709
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVpcOriginResponseSuccess
1710
+
1711
+ interface _ListAnycastIpListsResponseSuccess
1712
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAnycastIpListsResult]
1713
+ def anycast_ip_lists: () -> Types::AnycastIpListCollection
1714
+ end
1715
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_anycast_ip_lists-instance_method
1716
+ def list_anycast_ip_lists: (
1717
+ ?marker: ::String,
1718
+ ?max_items: ::Integer
1719
+ ) -> _ListAnycastIpListsResponseSuccess
1720
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnycastIpListsResponseSuccess
1721
+
1598
1722
  interface _ListCachePoliciesResponseSuccess
1599
1723
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCachePoliciesResult]
1600
1724
  def cache_policy_list: () -> Types::CachePolicyList
@@ -1653,6 +1777,18 @@ module Aws
1653
1777
  ) -> _ListDistributionsResponseSuccess
1654
1778
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsResponseSuccess
1655
1779
 
1780
+ interface _ListDistributionsByAnycastIpListIdResponseSuccess
1781
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByAnycastIpListIdResult]
1782
+ def distribution_list: () -> Types::DistributionList
1783
+ end
1784
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_anycast_ip_list_id-instance_method
1785
+ def list_distributions_by_anycast_ip_list_id: (
1786
+ ?marker: ::String,
1787
+ ?max_items: ::Integer,
1788
+ anycast_ip_list_id: ::String
1789
+ ) -> _ListDistributionsByAnycastIpListIdResponseSuccess
1790
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByAnycastIpListIdResponseSuccess
1791
+
1656
1792
  interface _ListDistributionsByCachePolicyIdResponseSuccess
1657
1793
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByCachePolicyIdResult]
1658
1794
  def distribution_id_list: () -> Types::DistributionIdList
@@ -1714,6 +1850,18 @@ module Aws
1714
1850
  ) -> _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
1715
1851
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
1716
1852
 
1853
+ interface _ListDistributionsByVpcOriginIdResponseSuccess
1854
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByVpcOriginIdResult]
1855
+ def distribution_id_list: () -> Types::DistributionIdList
1856
+ end
1857
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_vpc_origin_id-instance_method
1858
+ def list_distributions_by_vpc_origin_id: (
1859
+ ?marker: ::String,
1860
+ ?max_items: ::Integer,
1861
+ vpc_origin_id: ::String
1862
+ ) -> _ListDistributionsByVpcOriginIdResponseSuccess
1863
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByVpcOriginIdResponseSuccess
1864
+
1717
1865
  interface _ListDistributionsByWebACLIdResponseSuccess
1718
1866
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByWebACLIdResult]
1719
1867
  def distribution_list: () -> Types::DistributionList
@@ -1873,6 +2021,17 @@ module Aws
1873
2021
  ) -> _ListTagsForResourceResponseSuccess
1874
2022
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
1875
2023
 
2024
+ interface _ListVpcOriginsResponseSuccess
2025
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListVpcOriginsResult]
2026
+ def vpc_origin_list: () -> Types::VpcOriginList
2027
+ end
2028
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_vpc_origins-instance_method
2029
+ def list_vpc_origins: (
2030
+ ?marker: ::String,
2031
+ ?max_items: ::Integer
2032
+ ) -> _ListVpcOriginsResponseSuccess
2033
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVpcOriginsResponseSuccess
2034
+
1876
2035
  interface _PublishFunctionResponseSuccess
1877
2036
  include ::Seahorse::Client::_ResponseSuccess[Types::PublishFunctionResult]
1878
2037
  def function_summary: () -> Types::FunctionSummary
@@ -2057,6 +2216,9 @@ module Aws
2057
2216
  origin_read_timeout: ::Integer?,
2058
2217
  origin_keepalive_timeout: ::Integer?
2059
2218
  }?,
2219
+ vpc_origin_config: {
2220
+ vpc_origin_id: ::String
2221
+ }?,
2060
2222
  connection_attempts: ::Integer?,
2061
2223
  connection_timeout: ::Integer?,
2062
2224
  origin_shield: {
@@ -2085,7 +2247,8 @@ module Aws
2085
2247
  origin_id: ::String
2086
2248
  },
2087
2249
  ]
2088
- }
2250
+ },
2251
+ selection_criteria: ("default" | "media-quality-based")?
2089
2252
  },
2090
2253
  ]?
2091
2254
  }?,
@@ -2136,6 +2299,9 @@ module Aws
2136
2299
  cache_policy_id: ::String?,
2137
2300
  origin_request_policy_id: ::String?,
2138
2301
  response_headers_policy_id: ::String?,
2302
+ grpc_config: {
2303
+ enabled: bool
2304
+ }?,
2139
2305
  forwarded_values: {
2140
2306
  query_string: bool,
2141
2307
  cookies: {
@@ -2209,6 +2375,9 @@ module Aws
2209
2375
  cache_policy_id: ::String?,
2210
2376
  origin_request_policy_id: ::String?,
2211
2377
  response_headers_policy_id: ::String?,
2378
+ grpc_config: {
2379
+ enabled: bool
2380
+ }?,
2212
2381
  forwarded_values: {
2213
2382
  query_string: bool,
2214
2383
  cookies: {
@@ -2246,10 +2415,10 @@ module Aws
2246
2415
  }?,
2247
2416
  comment: ::String,
2248
2417
  logging: {
2249
- enabled: bool,
2250
- include_cookies: bool,
2251
- bucket: ::String,
2252
- prefix: ::String
2418
+ enabled: bool?,
2419
+ include_cookies: bool?,
2420
+ bucket: ::String?,
2421
+ prefix: ::String?
2253
2422
  }?,
2254
2423
  price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
2255
2424
  enabled: bool,
@@ -2273,7 +2442,8 @@ module Aws
2273
2442
  http_version: ("http1.1" | "http2" | "http3" | "http2and3")?,
2274
2443
  is_ipv6_enabled: bool?,
2275
2444
  continuous_deployment_policy_id: ::String?,
2276
- staging: bool?
2445
+ staging: bool?,
2446
+ anycast_ip_list_id: ::String?
2277
2447
  },
2278
2448
  id: ::String,
2279
2449
  ?if_match: ::String
@@ -2639,6 +2809,29 @@ module Aws
2639
2809
  ) -> _UpdateStreamingDistributionResponseSuccess
2640
2810
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStreamingDistributionResponseSuccess
2641
2811
 
2812
+ interface _UpdateVpcOriginResponseSuccess
2813
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVpcOriginResult]
2814
+ def vpc_origin: () -> Types::VpcOrigin
2815
+ def etag: () -> ::String
2816
+ end
2817
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_vpc_origin-instance_method
2818
+ def update_vpc_origin: (
2819
+ vpc_origin_endpoint_config: {
2820
+ name: ::String,
2821
+ arn: ::String,
2822
+ http_port: ::Integer,
2823
+ https_port: ::Integer,
2824
+ origin_protocol_policy: ("http-only" | "match-viewer" | "https-only"),
2825
+ origin_ssl_protocols: {
2826
+ quantity: ::Integer,
2827
+ items: Array[("SSLv3" | "TLSv1" | "TLSv1.1" | "TLSv1.2")]
2828
+ }?
2829
+ },
2830
+ id: ::String,
2831
+ if_match: ::String
2832
+ ) -> _UpdateVpcOriginResponseSuccess
2833
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVpcOriginResponseSuccess
2834
+
2642
2835
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#wait_until-instance_method
2643
2836
  def wait_until: (:distribution_deployed waiter_name,
2644
2837
  id: ::String
data/sig/errors.rbs CHANGED
@@ -32,6 +32,9 @@ module Aws
32
32
  class CannotDeleteEntityWhileInUse < ::Aws::Errors::ServiceError
33
33
  def message: () -> ::String
34
34
  end
35
+ class CannotUpdateEntityWhileInUse < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
35
38
  class CloudFrontOriginAccessIdentityAlreadyExists < ::Aws::Errors::ServiceError
36
39
  def message: () -> ::String
37
40
  end