aws-sdk-cloudfront 1.105.0 → 1.106.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.106.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: {
@@ -312,6 +335,9 @@ module Aws
312
335
  cache_policy_id: ::String?,
313
336
  origin_request_policy_id: ::String?,
314
337
  response_headers_policy_id: ::String?,
338
+ grpc_config: {
339
+ enabled: bool
340
+ }?,
315
341
  forwarded_values: {
316
342
  query_string: bool,
317
343
  cookies: {
@@ -385,6 +411,9 @@ module Aws
385
411
  cache_policy_id: ::String?,
386
412
  origin_request_policy_id: ::String?,
387
413
  response_headers_policy_id: ::String?,
414
+ grpc_config: {
415
+ enabled: bool
416
+ }?,
388
417
  forwarded_values: {
389
418
  query_string: bool,
390
419
  cookies: {
@@ -422,10 +451,10 @@ module Aws
422
451
  }?,
423
452
  comment: ::String,
424
453
  logging: {
425
- enabled: bool,
426
- include_cookies: bool,
427
- bucket: ::String,
428
- prefix: ::String
454
+ enabled: bool?,
455
+ include_cookies: bool?,
456
+ bucket: ::String?,
457
+ prefix: ::String?
429
458
  }?,
430
459
  price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
431
460
  enabled: bool,
@@ -449,7 +478,8 @@ module Aws
449
478
  http_version: ("http1.1" | "http2" | "http3" | "http2and3")?,
450
479
  is_ipv6_enabled: bool?,
451
480
  continuous_deployment_policy_id: ::String?,
452
- staging: bool?
481
+ staging: bool?,
482
+ anycast_ip_list_id: ::String?
453
483
  }
454
484
  ) -> _CreateDistributionResponseSuccess
455
485
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDistributionResponseSuccess
@@ -500,6 +530,9 @@ module Aws
500
530
  origin_read_timeout: ::Integer?,
501
531
  origin_keepalive_timeout: ::Integer?
502
532
  }?,
533
+ vpc_origin_config: {
534
+ vpc_origin_id: ::String
535
+ }?,
503
536
  connection_attempts: ::Integer?,
504
537
  connection_timeout: ::Integer?,
505
538
  origin_shield: {
@@ -579,6 +612,9 @@ module Aws
579
612
  cache_policy_id: ::String?,
580
613
  origin_request_policy_id: ::String?,
581
614
  response_headers_policy_id: ::String?,
615
+ grpc_config: {
616
+ enabled: bool
617
+ }?,
582
618
  forwarded_values: {
583
619
  query_string: bool,
584
620
  cookies: {
@@ -652,6 +688,9 @@ module Aws
652
688
  cache_policy_id: ::String?,
653
689
  origin_request_policy_id: ::String?,
654
690
  response_headers_policy_id: ::String?,
691
+ grpc_config: {
692
+ enabled: bool
693
+ }?,
655
694
  forwarded_values: {
656
695
  query_string: bool,
657
696
  cookies: {
@@ -689,10 +728,10 @@ module Aws
689
728
  }?,
690
729
  comment: ::String,
691
730
  logging: {
692
- enabled: bool,
693
- include_cookies: bool,
694
- bucket: ::String,
695
- prefix: ::String
731
+ enabled: bool?,
732
+ include_cookies: bool?,
733
+ bucket: ::String?,
734
+ prefix: ::String?
696
735
  }?,
697
736
  price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
698
737
  enabled: bool,
@@ -716,7 +755,8 @@ module Aws
716
755
  http_version: ("http1.1" | "http2" | "http3" | "http2and3")?,
717
756
  is_ipv6_enabled: bool?,
718
757
  continuous_deployment_policy_id: ::String?,
719
- staging: bool?
758
+ staging: bool?,
759
+ anycast_ip_list_id: ::String?
720
760
  },
721
761
  tags: {
722
762
  items: Array[
@@ -1149,6 +1189,43 @@ module Aws
1149
1189
  ) -> _CreateStreamingDistributionWithTagsResponseSuccess
1150
1190
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStreamingDistributionWithTagsResponseSuccess
1151
1191
 
1192
+ interface _CreateVpcOriginResponseSuccess
1193
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcOriginResult]
1194
+ def vpc_origin: () -> Types::VpcOrigin
1195
+ def location: () -> ::String
1196
+ def etag: () -> ::String
1197
+ end
1198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_vpc_origin-instance_method
1199
+ def create_vpc_origin: (
1200
+ vpc_origin_endpoint_config: {
1201
+ name: ::String,
1202
+ arn: ::String,
1203
+ http_port: ::Integer,
1204
+ https_port: ::Integer,
1205
+ origin_protocol_policy: ("http-only" | "match-viewer" | "https-only"),
1206
+ origin_ssl_protocols: {
1207
+ quantity: ::Integer,
1208
+ items: Array[("SSLv3" | "TLSv1" | "TLSv1.1" | "TLSv1.2")]
1209
+ }?
1210
+ },
1211
+ ?tags: {
1212
+ items: Array[
1213
+ {
1214
+ key: ::String,
1215
+ value: ::String?
1216
+ },
1217
+ ]?
1218
+ }
1219
+ ) -> _CreateVpcOriginResponseSuccess
1220
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcOriginResponseSuccess
1221
+
1222
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_anycast_ip_list-instance_method
1223
+ def delete_anycast_ip_list: (
1224
+ id: ::String,
1225
+ if_match: ::String
1226
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1227
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1228
+
1152
1229
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_cache_policy-instance_method
1153
1230
  def delete_cache_policy: (
1154
1231
  id: ::String,
@@ -1263,6 +1340,18 @@ module Aws
1263
1340
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1264
1341
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1265
1342
 
1343
+ interface _DeleteVpcOriginResponseSuccess
1344
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVpcOriginResult]
1345
+ def vpc_origin: () -> Types::VpcOrigin
1346
+ def etag: () -> ::String
1347
+ end
1348
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_vpc_origin-instance_method
1349
+ def delete_vpc_origin: (
1350
+ id: ::String,
1351
+ if_match: ::String
1352
+ ) -> _DeleteVpcOriginResponseSuccess
1353
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVpcOriginResponseSuccess
1354
+
1266
1355
  interface _DescribeFunctionResponseSuccess
1267
1356
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFunctionResult]
1268
1357
  def function_summary: () -> Types::FunctionSummary
@@ -1286,6 +1375,17 @@ module Aws
1286
1375
  ) -> _DescribeKeyValueStoreResponseSuccess
1287
1376
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeKeyValueStoreResponseSuccess
1288
1377
 
1378
+ interface _GetAnycastIpListResponseSuccess
1379
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAnycastIpListResult]
1380
+ def anycast_ip_list: () -> Types::AnycastIpList
1381
+ def etag: () -> ::String
1382
+ end
1383
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_anycast_ip_list-instance_method
1384
+ def get_anycast_ip_list: (
1385
+ id: ::String
1386
+ ) -> _GetAnycastIpListResponseSuccess
1387
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAnycastIpListResponseSuccess
1388
+
1289
1389
  interface _GetCachePolicyResponseSuccess
1290
1390
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCachePolicyResult]
1291
1391
  def cache_policy: () -> Types::CachePolicy
@@ -1595,6 +1695,28 @@ module Aws
1595
1695
  ) -> _GetStreamingDistributionConfigResponseSuccess
1596
1696
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStreamingDistributionConfigResponseSuccess
1597
1697
 
1698
+ interface _GetVpcOriginResponseSuccess
1699
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVpcOriginResult]
1700
+ def vpc_origin: () -> Types::VpcOrigin
1701
+ def etag: () -> ::String
1702
+ end
1703
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_vpc_origin-instance_method
1704
+ def get_vpc_origin: (
1705
+ id: ::String
1706
+ ) -> _GetVpcOriginResponseSuccess
1707
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVpcOriginResponseSuccess
1708
+
1709
+ interface _ListAnycastIpListsResponseSuccess
1710
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAnycastIpListsResult]
1711
+ def anycast_ip_lists: () -> Types::AnycastIpListCollection
1712
+ end
1713
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_anycast_ip_lists-instance_method
1714
+ def list_anycast_ip_lists: (
1715
+ ?marker: ::String,
1716
+ ?max_items: ::Integer
1717
+ ) -> _ListAnycastIpListsResponseSuccess
1718
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnycastIpListsResponseSuccess
1719
+
1598
1720
  interface _ListCachePoliciesResponseSuccess
1599
1721
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCachePoliciesResult]
1600
1722
  def cache_policy_list: () -> Types::CachePolicyList
@@ -1653,6 +1775,18 @@ module Aws
1653
1775
  ) -> _ListDistributionsResponseSuccess
1654
1776
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsResponseSuccess
1655
1777
 
1778
+ interface _ListDistributionsByAnycastIpListIdResponseSuccess
1779
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByAnycastIpListIdResult]
1780
+ def distribution_list: () -> Types::DistributionList
1781
+ end
1782
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_anycast_ip_list_id-instance_method
1783
+ def list_distributions_by_anycast_ip_list_id: (
1784
+ ?marker: ::String,
1785
+ ?max_items: ::Integer,
1786
+ anycast_ip_list_id: ::String
1787
+ ) -> _ListDistributionsByAnycastIpListIdResponseSuccess
1788
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByAnycastIpListIdResponseSuccess
1789
+
1656
1790
  interface _ListDistributionsByCachePolicyIdResponseSuccess
1657
1791
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByCachePolicyIdResult]
1658
1792
  def distribution_id_list: () -> Types::DistributionIdList
@@ -1714,6 +1848,18 @@ module Aws
1714
1848
  ) -> _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
1715
1849
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
1716
1850
 
1851
+ interface _ListDistributionsByVpcOriginIdResponseSuccess
1852
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByVpcOriginIdResult]
1853
+ def distribution_id_list: () -> Types::DistributionIdList
1854
+ end
1855
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_vpc_origin_id-instance_method
1856
+ def list_distributions_by_vpc_origin_id: (
1857
+ ?marker: ::String,
1858
+ ?max_items: ::Integer,
1859
+ vpc_origin_id: ::String
1860
+ ) -> _ListDistributionsByVpcOriginIdResponseSuccess
1861
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByVpcOriginIdResponseSuccess
1862
+
1717
1863
  interface _ListDistributionsByWebACLIdResponseSuccess
1718
1864
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByWebACLIdResult]
1719
1865
  def distribution_list: () -> Types::DistributionList
@@ -1873,6 +2019,17 @@ module Aws
1873
2019
  ) -> _ListTagsForResourceResponseSuccess
1874
2020
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
1875
2021
 
2022
+ interface _ListVpcOriginsResponseSuccess
2023
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListVpcOriginsResult]
2024
+ def vpc_origin_list: () -> Types::VpcOriginList
2025
+ end
2026
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_vpc_origins-instance_method
2027
+ def list_vpc_origins: (
2028
+ ?marker: ::String,
2029
+ ?max_items: ::Integer
2030
+ ) -> _ListVpcOriginsResponseSuccess
2031
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVpcOriginsResponseSuccess
2032
+
1876
2033
  interface _PublishFunctionResponseSuccess
1877
2034
  include ::Seahorse::Client::_ResponseSuccess[Types::PublishFunctionResult]
1878
2035
  def function_summary: () -> Types::FunctionSummary
@@ -2057,6 +2214,9 @@ module Aws
2057
2214
  origin_read_timeout: ::Integer?,
2058
2215
  origin_keepalive_timeout: ::Integer?
2059
2216
  }?,
2217
+ vpc_origin_config: {
2218
+ vpc_origin_id: ::String
2219
+ }?,
2060
2220
  connection_attempts: ::Integer?,
2061
2221
  connection_timeout: ::Integer?,
2062
2222
  origin_shield: {
@@ -2136,6 +2296,9 @@ module Aws
2136
2296
  cache_policy_id: ::String?,
2137
2297
  origin_request_policy_id: ::String?,
2138
2298
  response_headers_policy_id: ::String?,
2299
+ grpc_config: {
2300
+ enabled: bool
2301
+ }?,
2139
2302
  forwarded_values: {
2140
2303
  query_string: bool,
2141
2304
  cookies: {
@@ -2209,6 +2372,9 @@ module Aws
2209
2372
  cache_policy_id: ::String?,
2210
2373
  origin_request_policy_id: ::String?,
2211
2374
  response_headers_policy_id: ::String?,
2375
+ grpc_config: {
2376
+ enabled: bool
2377
+ }?,
2212
2378
  forwarded_values: {
2213
2379
  query_string: bool,
2214
2380
  cookies: {
@@ -2246,10 +2412,10 @@ module Aws
2246
2412
  }?,
2247
2413
  comment: ::String,
2248
2414
  logging: {
2249
- enabled: bool,
2250
- include_cookies: bool,
2251
- bucket: ::String,
2252
- prefix: ::String
2415
+ enabled: bool?,
2416
+ include_cookies: bool?,
2417
+ bucket: ::String?,
2418
+ prefix: ::String?
2253
2419
  }?,
2254
2420
  price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
2255
2421
  enabled: bool,
@@ -2273,7 +2439,8 @@ module Aws
2273
2439
  http_version: ("http1.1" | "http2" | "http3" | "http2and3")?,
2274
2440
  is_ipv6_enabled: bool?,
2275
2441
  continuous_deployment_policy_id: ::String?,
2276
- staging: bool?
2442
+ staging: bool?,
2443
+ anycast_ip_list_id: ::String?
2277
2444
  },
2278
2445
  id: ::String,
2279
2446
  ?if_match: ::String
@@ -2639,6 +2806,29 @@ module Aws
2639
2806
  ) -> _UpdateStreamingDistributionResponseSuccess
2640
2807
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStreamingDistributionResponseSuccess
2641
2808
 
2809
+ interface _UpdateVpcOriginResponseSuccess
2810
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVpcOriginResult]
2811
+ def vpc_origin: () -> Types::VpcOrigin
2812
+ def etag: () -> ::String
2813
+ end
2814
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_vpc_origin-instance_method
2815
+ def update_vpc_origin: (
2816
+ vpc_origin_endpoint_config: {
2817
+ name: ::String,
2818
+ arn: ::String,
2819
+ http_port: ::Integer,
2820
+ https_port: ::Integer,
2821
+ origin_protocol_policy: ("http-only" | "match-viewer" | "https-only"),
2822
+ origin_ssl_protocols: {
2823
+ quantity: ::Integer,
2824
+ items: Array[("SSLv3" | "TLSv1" | "TLSv1.1" | "TLSv1.2")]
2825
+ }?
2826
+ },
2827
+ id: ::String,
2828
+ if_match: ::String
2829
+ ) -> _UpdateVpcOriginResponseSuccess
2830
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVpcOriginResponseSuccess
2831
+
2642
2832
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#wait_until-instance_method
2643
2833
  def wait_until: (:distribution_deployed waiter_name,
2644
2834
  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