aws-sdk-cloudfront 1.128.0 → 1.140.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.128.0'
58
+ GEM_VERSION = '1.140.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -145,7 +145,16 @@ module Aws
145
145
  value: ::String?
146
146
  },
147
147
  ]?
148
- }
148
+ },
149
+ ?ip_address_type: ("ipv4" | "ipv6" | "dualstack"),
150
+ ?ipam_cidr_configs: Array[
151
+ {
152
+ cidr: ::String,
153
+ ipam_pool_arn: ::String,
154
+ anycast_ip: ::String?,
155
+ status: ("provisioned" | "failed-provision" | "provisioning" | "deprovisioned" | "failed-deprovision" | "deprovisioning" | "advertised" | "failed-advertise" | "advertising" | "withdrawn" | "failed-withdraw" | "withdrawing")?
156
+ },
157
+ ]
149
158
  ) -> _CreateAnycastIpListResponseSuccess
150
159
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnycastIpListResponseSuccess
151
160
 
@@ -207,6 +216,39 @@ module Aws
207
216
  ) -> _CreateCloudFrontOriginAccessIdentityResponseSuccess
208
217
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCloudFrontOriginAccessIdentityResponseSuccess
209
218
 
219
+ interface _CreateConnectionFunctionResponseSuccess
220
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectionFunctionResult]
221
+ def connection_function_summary: () -> Types::ConnectionFunctionSummary
222
+ def location: () -> ::String
223
+ def etag: () -> ::String
224
+ end
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_connection_function-instance_method
226
+ def create_connection_function: (
227
+ name: ::String,
228
+ connection_function_config: {
229
+ comment: ::String,
230
+ runtime: ("cloudfront-js-1.0" | "cloudfront-js-2.0"),
231
+ key_value_store_associations: {
232
+ quantity: ::Integer,
233
+ items: Array[
234
+ {
235
+ key_value_store_arn: ::String
236
+ },
237
+ ]?
238
+ }?
239
+ },
240
+ connection_function_code: ::String,
241
+ ?tags: {
242
+ items: Array[
243
+ {
244
+ key: ::String,
245
+ value: ::String?
246
+ },
247
+ ]?
248
+ }
249
+ ) -> _CreateConnectionFunctionResponseSuccess
250
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConnectionFunctionResponseSuccess
251
+
210
252
  interface _CreateConnectionGroupResponseSuccess
211
253
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectionGroupResult]
212
254
  def connection_group: () -> Types::ConnectionGroup
@@ -310,6 +352,7 @@ module Aws
310
352
  }?,
311
353
  vpc_origin_config: {
312
354
  vpc_origin_id: ::String,
355
+ owner_account_id: ::String?,
313
356
  origin_read_timeout: ::Integer?,
314
357
  origin_keepalive_timeout: ::Integer?
315
358
  }?,
@@ -522,7 +565,7 @@ module Aws
522
565
  iam_certificate_id: ::String?,
523
566
  acm_certificate_arn: ::String?,
524
567
  ssl_support_method: ("sni-only" | "vip" | "static-ip")?,
525
- minimum_protocol_version: ("SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021" | "TLSv1.3_2025")?,
568
+ minimum_protocol_version: ("SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021" | "TLSv1.3_2025" | "TLSv1.2_2025")?,
526
569
  certificate: ::String?,
527
570
  certificate_source: ("cloudfront" | "iam" | "acm")?
528
571
  }?,
@@ -553,7 +596,18 @@ module Aws
553
596
  },
554
597
  ]?
555
598
  }?,
556
- connection_mode: ("direct" | "tenant-only")?
599
+ connection_mode: ("direct" | "tenant-only")?,
600
+ viewer_mtls_config: {
601
+ mode: ("required" | "optional")?,
602
+ trust_store_config: {
603
+ trust_store_id: ::String,
604
+ advertise_trust_store_ca_names: bool?,
605
+ ignore_certificate_expiry: bool?
606
+ }?
607
+ }?,
608
+ connection_function_association: {
609
+ id: ::String
610
+ }?
557
611
  }
558
612
  ) -> _CreateDistributionResponseSuccess
559
613
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDistributionResponseSuccess
@@ -659,6 +713,7 @@ module Aws
659
713
  }?,
660
714
  vpc_origin_config: {
661
715
  vpc_origin_id: ::String,
716
+ owner_account_id: ::String?,
662
717
  origin_read_timeout: ::Integer?,
663
718
  origin_keepalive_timeout: ::Integer?
664
719
  }?,
@@ -871,7 +926,7 @@ module Aws
871
926
  iam_certificate_id: ::String?,
872
927
  acm_certificate_arn: ::String?,
873
928
  ssl_support_method: ("sni-only" | "vip" | "static-ip")?,
874
- minimum_protocol_version: ("SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021" | "TLSv1.3_2025")?,
929
+ minimum_protocol_version: ("SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021" | "TLSv1.3_2025" | "TLSv1.2_2025")?,
875
930
  certificate: ::String?,
876
931
  certificate_source: ("cloudfront" | "iam" | "acm")?
877
932
  }?,
@@ -902,7 +957,18 @@ module Aws
902
957
  },
903
958
  ]?
904
959
  }?,
905
- connection_mode: ("direct" | "tenant-only")?
960
+ connection_mode: ("direct" | "tenant-only")?,
961
+ viewer_mtls_config: {
962
+ mode: ("required" | "optional")?,
963
+ trust_store_config: {
964
+ trust_store_id: ::String,
965
+ advertise_trust_store_ca_names: bool?,
966
+ ignore_certificate_expiry: bool?
967
+ }?
968
+ }?,
969
+ connection_function_association: {
970
+ id: ::String
971
+ }?
906
972
  },
907
973
  tags: {
908
974
  items: Array[
@@ -1353,6 +1419,33 @@ module Aws
1353
1419
  ) -> _CreateStreamingDistributionWithTagsResponseSuccess
1354
1420
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStreamingDistributionWithTagsResponseSuccess
1355
1421
 
1422
+ interface _CreateTrustStoreResponseSuccess
1423
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTrustStoreResult]
1424
+ def trust_store: () -> Types::TrustStore
1425
+ def etag: () -> ::String
1426
+ end
1427
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_trust_store-instance_method
1428
+ def create_trust_store: (
1429
+ name: ::String,
1430
+ ca_certificates_bundle_source: {
1431
+ ca_certificates_bundle_s3_location: {
1432
+ bucket: ::String,
1433
+ key: ::String,
1434
+ region: ::String,
1435
+ version: ::String?
1436
+ }?
1437
+ },
1438
+ ?tags: {
1439
+ items: Array[
1440
+ {
1441
+ key: ::String,
1442
+ value: ::String?
1443
+ },
1444
+ ]?
1445
+ }
1446
+ ) -> _CreateTrustStoreResponseSuccess
1447
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrustStoreResponseSuccess
1448
+
1356
1449
  interface _CreateVpcOriginResponseSuccess
1357
1450
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcOriginResult]
1358
1451
  def vpc_origin: () -> Types::VpcOrigin
@@ -1404,6 +1497,13 @@ module Aws
1404
1497
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1405
1498
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1406
1499
 
1500
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_connection_function-instance_method
1501
+ def delete_connection_function: (
1502
+ id: ::String,
1503
+ if_match: ::String
1504
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1505
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1506
+
1407
1507
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_connection_group-instance_method
1408
1508
  def delete_connection_group: (
1409
1509
  id: ::String,
@@ -1504,6 +1604,12 @@ module Aws
1504
1604
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1505
1605
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1506
1606
 
1607
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_resource_policy-instance_method
1608
+ def delete_resource_policy: (
1609
+ resource_arn: ::String
1610
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1611
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1612
+
1507
1613
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_response_headers_policy-instance_method
1508
1614
  def delete_response_headers_policy: (
1509
1615
  id: ::String,
@@ -1518,6 +1624,13 @@ module Aws
1518
1624
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1519
1625
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1520
1626
 
1627
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_trust_store-instance_method
1628
+ def delete_trust_store: (
1629
+ id: ::String,
1630
+ if_match: ::String
1631
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1632
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1633
+
1521
1634
  interface _DeleteVpcOriginResponseSuccess
1522
1635
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVpcOriginResult]
1523
1636
  def vpc_origin: () -> Types::VpcOrigin
@@ -1530,6 +1643,18 @@ module Aws
1530
1643
  ) -> _DeleteVpcOriginResponseSuccess
1531
1644
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVpcOriginResponseSuccess
1532
1645
 
1646
+ interface _DescribeConnectionFunctionResponseSuccess
1647
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConnectionFunctionResult]
1648
+ def connection_function_summary: () -> Types::ConnectionFunctionSummary
1649
+ def etag: () -> ::String
1650
+ end
1651
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#describe_connection_function-instance_method
1652
+ def describe_connection_function: (
1653
+ identifier: ::String,
1654
+ ?stage: ("DEVELOPMENT" | "LIVE")
1655
+ ) -> _DescribeConnectionFunctionResponseSuccess
1656
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConnectionFunctionResponseSuccess
1657
+
1533
1658
  interface _DescribeFunctionResponseSuccess
1534
1659
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFunctionResult]
1535
1660
  def function_summary: () -> Types::FunctionSummary
@@ -1632,6 +1757,19 @@ module Aws
1632
1757
  ) -> _GetCloudFrontOriginAccessIdentityConfigResponseSuccess
1633
1758
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCloudFrontOriginAccessIdentityConfigResponseSuccess
1634
1759
 
1760
+ interface _GetConnectionFunctionResponseSuccess
1761
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetConnectionFunctionResult]
1762
+ def connection_function_code: () -> ::String
1763
+ def etag: () -> ::String
1764
+ def content_type: () -> ::String
1765
+ end
1766
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_connection_function-instance_method
1767
+ def get_connection_function: (
1768
+ identifier: ::String,
1769
+ ?stage: ("DEVELOPMENT" | "LIVE")
1770
+ ) -> _GetConnectionFunctionResponseSuccess
1771
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectionFunctionResponseSuccess
1772
+
1635
1773
  interface _GetConnectionGroupResponseSuccess
1636
1774
  include ::Seahorse::Client::_ResponseSuccess[Types::GetConnectionGroupResult]
1637
1775
  def connection_group: () -> Types::ConnectionGroup
@@ -1918,6 +2056,17 @@ module Aws
1918
2056
  ) -> _GetRealtimeLogConfigResponseSuccess
1919
2057
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRealtimeLogConfigResponseSuccess
1920
2058
 
2059
+ interface _GetResourcePolicyResponseSuccess
2060
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResult]
2061
+ def resource_arn: () -> ::String
2062
+ def policy_document: () -> ::String
2063
+ end
2064
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_resource_policy-instance_method
2065
+ def get_resource_policy: (
2066
+ resource_arn: ::String
2067
+ ) -> _GetResourcePolicyResponseSuccess
2068
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
2069
+
1921
2070
  interface _GetResponseHeadersPolicyResponseSuccess
1922
2071
  include ::Seahorse::Client::_ResponseSuccess[Types::GetResponseHeadersPolicyResult]
1923
2072
  def response_headers_policy: () -> Types::ResponseHeadersPolicy
@@ -1962,6 +2111,17 @@ module Aws
1962
2111
  ) -> _GetStreamingDistributionConfigResponseSuccess
1963
2112
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStreamingDistributionConfigResponseSuccess
1964
2113
 
2114
+ interface _GetTrustStoreResponseSuccess
2115
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTrustStoreResult]
2116
+ def trust_store: () -> Types::TrustStore
2117
+ def etag: () -> ::String
2118
+ end
2119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_trust_store-instance_method
2120
+ def get_trust_store: (
2121
+ identifier: ::String
2122
+ ) -> _GetTrustStoreResponseSuccess
2123
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTrustStoreResponseSuccess
2124
+
1965
2125
  interface _GetVpcOriginResponseSuccess
1966
2126
  include ::Seahorse::Client::_ResponseSuccess[Types::GetVpcOriginResult]
1967
2127
  def vpc_origin: () -> Types::VpcOrigin
@@ -2020,6 +2180,19 @@ module Aws
2020
2180
  ) -> _ListConflictingAliasesResponseSuccess
2021
2181
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConflictingAliasesResponseSuccess
2022
2182
 
2183
+ interface _ListConnectionFunctionsResponseSuccess
2184
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListConnectionFunctionsResult]
2185
+ def next_marker: () -> ::String
2186
+ def connection_functions: () -> ::Array[Types::ConnectionFunctionSummary]
2187
+ end
2188
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_connection_functions-instance_method
2189
+ def list_connection_functions: (
2190
+ ?marker: ::String,
2191
+ ?max_items: ::Integer,
2192
+ ?stage: ("DEVELOPMENT" | "LIVE")
2193
+ ) -> _ListConnectionFunctionsResponseSuccess
2194
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConnectionFunctionsResponseSuccess
2195
+
2023
2196
  interface _ListConnectionGroupsResponseSuccess
2024
2197
  include ::Seahorse::Client::_ResponseSuccess[Types::ListConnectionGroupsResult]
2025
2198
  def next_marker: () -> ::String
@@ -2111,6 +2284,18 @@ module Aws
2111
2284
  ) -> _ListDistributionsByCachePolicyIdResponseSuccess
2112
2285
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByCachePolicyIdResponseSuccess
2113
2286
 
2287
+ interface _ListDistributionsByConnectionFunctionResponseSuccess
2288
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByConnectionFunctionResult]
2289
+ def distribution_list: () -> Types::DistributionList
2290
+ end
2291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_connection_function-instance_method
2292
+ def list_distributions_by_connection_function: (
2293
+ ?marker: ::String,
2294
+ ?max_items: ::Integer,
2295
+ connection_function_identifier: ::String
2296
+ ) -> _ListDistributionsByConnectionFunctionResponseSuccess
2297
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByConnectionFunctionResponseSuccess
2298
+
2114
2299
  interface _ListDistributionsByConnectionModeResponseSuccess
2115
2300
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByConnectionModeResult]
2116
2301
  def distribution_list: () -> Types::DistributionList
@@ -2147,6 +2332,18 @@ module Aws
2147
2332
  ) -> _ListDistributionsByOriginRequestPolicyIdResponseSuccess
2148
2333
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByOriginRequestPolicyIdResponseSuccess
2149
2334
 
2335
+ interface _ListDistributionsByOwnedResourceResponseSuccess
2336
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByOwnedResourceResult]
2337
+ def distribution_list: () -> Types::DistributionIdOwnerList
2338
+ end
2339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_owned_resource-instance_method
2340
+ def list_distributions_by_owned_resource: (
2341
+ resource_arn: ::String,
2342
+ ?marker: ::String,
2343
+ ?max_items: ::Integer
2344
+ ) -> _ListDistributionsByOwnedResourceResponseSuccess
2345
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByOwnedResourceResponseSuccess
2346
+
2150
2347
  interface _ListDistributionsByRealtimeLogConfigResponseSuccess
2151
2348
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByRealtimeLogConfigResult]
2152
2349
  def distribution_list: () -> Types::DistributionList
@@ -2172,6 +2369,18 @@ module Aws
2172
2369
  ) -> _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
2173
2370
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
2174
2371
 
2372
+ interface _ListDistributionsByTrustStoreResponseSuccess
2373
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByTrustStoreResult]
2374
+ def distribution_list: () -> Types::DistributionList
2375
+ end
2376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_trust_store-instance_method
2377
+ def list_distributions_by_trust_store: (
2378
+ trust_store_identifier: ::String,
2379
+ ?marker: ::String,
2380
+ ?max_items: ::Integer
2381
+ ) -> _ListDistributionsByTrustStoreResponseSuccess
2382
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByTrustStoreResponseSuccess
2383
+
2175
2384
  interface _ListDistributionsByVpcOriginIdResponseSuccess
2176
2385
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByVpcOriginIdResult]
2177
2386
  def distribution_id_list: () -> Types::DistributionIdList
@@ -2372,6 +2581,18 @@ module Aws
2372
2581
  ) -> _ListTagsForResourceResponseSuccess
2373
2582
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
2374
2583
 
2584
+ interface _ListTrustStoresResponseSuccess
2585
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTrustStoresResult]
2586
+ def next_marker: () -> ::String
2587
+ def trust_store_list: () -> ::Array[Types::TrustStoreSummary]
2588
+ end
2589
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_trust_stores-instance_method
2590
+ def list_trust_stores: (
2591
+ ?marker: ::String,
2592
+ ?max_items: ::Integer
2593
+ ) -> _ListTrustStoresResponseSuccess
2594
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrustStoresResponseSuccess
2595
+
2375
2596
  interface _ListVpcOriginsResponseSuccess
2376
2597
  include ::Seahorse::Client::_ResponseSuccess[Types::ListVpcOriginsResult]
2377
2598
  def vpc_origin_list: () -> Types::VpcOriginList
@@ -2383,6 +2604,17 @@ module Aws
2383
2604
  ) -> _ListVpcOriginsResponseSuccess
2384
2605
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVpcOriginsResponseSuccess
2385
2606
 
2607
+ interface _PublishConnectionFunctionResponseSuccess
2608
+ include ::Seahorse::Client::_ResponseSuccess[Types::PublishConnectionFunctionResult]
2609
+ def connection_function_summary: () -> Types::ConnectionFunctionSummary
2610
+ end
2611
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#publish_connection_function-instance_method
2612
+ def publish_connection_function: (
2613
+ id: ::String,
2614
+ if_match: ::String
2615
+ ) -> _PublishConnectionFunctionResponseSuccess
2616
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishConnectionFunctionResponseSuccess
2617
+
2386
2618
  interface _PublishFunctionResponseSuccess
2387
2619
  include ::Seahorse::Client::_ResponseSuccess[Types::PublishFunctionResult]
2388
2620
  def function_summary: () -> Types::FunctionSummary
@@ -2394,6 +2626,17 @@ module Aws
2394
2626
  ) -> _PublishFunctionResponseSuccess
2395
2627
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishFunctionResponseSuccess
2396
2628
 
2629
+ interface _PutResourcePolicyResponseSuccess
2630
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResult]
2631
+ def resource_arn: () -> ::String
2632
+ end
2633
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#put_resource_policy-instance_method
2634
+ def put_resource_policy: (
2635
+ resource_arn: ::String,
2636
+ policy_document: ::String
2637
+ ) -> _PutResourcePolicyResponseSuccess
2638
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
2639
+
2397
2640
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#tag_resource-instance_method
2398
2641
  def tag_resource: (
2399
2642
  resource: ::String,
@@ -2408,6 +2651,19 @@ module Aws
2408
2651
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2409
2652
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2410
2653
 
2654
+ interface _TestConnectionFunctionResponseSuccess
2655
+ include ::Seahorse::Client::_ResponseSuccess[Types::TestConnectionFunctionResult]
2656
+ def connection_function_test_result: () -> Types::ConnectionFunctionTestResult
2657
+ end
2658
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#test_connection_function-instance_method
2659
+ def test_connection_function: (
2660
+ id: ::String,
2661
+ if_match: ::String,
2662
+ ?stage: ("DEVELOPMENT" | "LIVE"),
2663
+ connection_object: ::String
2664
+ ) -> _TestConnectionFunctionResponseSuccess
2665
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestConnectionFunctionResponseSuccess
2666
+
2411
2667
  interface _TestFunctionResponseSuccess
2412
2668
  include ::Seahorse::Client::_ResponseSuccess[Types::TestFunctionResult]
2413
2669
  def test_result: () -> Types::TestResult
@@ -2430,6 +2686,19 @@ module Aws
2430
2686
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2431
2687
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2432
2688
 
2689
+ interface _UpdateAnycastIpListResponseSuccess
2690
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAnycastIpListResult]
2691
+ def anycast_ip_list: () -> Types::AnycastIpList
2692
+ def etag: () -> ::String
2693
+ end
2694
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_anycast_ip_list-instance_method
2695
+ def update_anycast_ip_list: (
2696
+ id: ::String,
2697
+ ?ip_address_type: ("ipv4" | "ipv6" | "dualstack"),
2698
+ if_match: ::String
2699
+ ) -> _UpdateAnycastIpListResponseSuccess
2700
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAnycastIpListResponseSuccess
2701
+
2433
2702
  interface _UpdateCachePolicyResponseSuccess
2434
2703
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCachePolicyResult]
2435
2704
  def cache_policy: () -> Types::CachePolicy
@@ -2490,6 +2759,31 @@ module Aws
2490
2759
  ) -> _UpdateCloudFrontOriginAccessIdentityResponseSuccess
2491
2760
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCloudFrontOriginAccessIdentityResponseSuccess
2492
2761
 
2762
+ interface _UpdateConnectionFunctionResponseSuccess
2763
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectionFunctionResult]
2764
+ def connection_function_summary: () -> Types::ConnectionFunctionSummary
2765
+ def etag: () -> ::String
2766
+ end
2767
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_connection_function-instance_method
2768
+ def update_connection_function: (
2769
+ id: ::String,
2770
+ if_match: ::String,
2771
+ connection_function_config: {
2772
+ comment: ::String,
2773
+ runtime: ("cloudfront-js-1.0" | "cloudfront-js-2.0"),
2774
+ key_value_store_associations: {
2775
+ quantity: ::Integer,
2776
+ items: Array[
2777
+ {
2778
+ key_value_store_arn: ::String
2779
+ },
2780
+ ]?
2781
+ }?
2782
+ },
2783
+ connection_function_code: ::String
2784
+ ) -> _UpdateConnectionFunctionResponseSuccess
2785
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConnectionFunctionResponseSuccess
2786
+
2493
2787
  interface _UpdateConnectionGroupResponseSuccess
2494
2788
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectionGroupResult]
2495
2789
  def connection_group: () -> Types::ConnectionGroup
@@ -2586,6 +2880,7 @@ module Aws
2586
2880
  }?,
2587
2881
  vpc_origin_config: {
2588
2882
  vpc_origin_id: ::String,
2883
+ owner_account_id: ::String?,
2589
2884
  origin_read_timeout: ::Integer?,
2590
2885
  origin_keepalive_timeout: ::Integer?
2591
2886
  }?,
@@ -2798,7 +3093,7 @@ module Aws
2798
3093
  iam_certificate_id: ::String?,
2799
3094
  acm_certificate_arn: ::String?,
2800
3095
  ssl_support_method: ("sni-only" | "vip" | "static-ip")?,
2801
- minimum_protocol_version: ("SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021" | "TLSv1.3_2025")?,
3096
+ minimum_protocol_version: ("SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021" | "TLSv1.3_2025" | "TLSv1.2_2025")?,
2802
3097
  certificate: ::String?,
2803
3098
  certificate_source: ("cloudfront" | "iam" | "acm")?
2804
3099
  }?,
@@ -2829,7 +3124,18 @@ module Aws
2829
3124
  },
2830
3125
  ]?
2831
3126
  }?,
2832
- connection_mode: ("direct" | "tenant-only")?
3127
+ connection_mode: ("direct" | "tenant-only")?,
3128
+ viewer_mtls_config: {
3129
+ mode: ("required" | "optional")?,
3130
+ trust_store_config: {
3131
+ trust_store_id: ::String,
3132
+ advertise_trust_store_ca_names: bool?,
3133
+ ignore_certificate_expiry: bool?
3134
+ }?
3135
+ }?,
3136
+ connection_function_association: {
3137
+ id: ::String
3138
+ }?
2833
3139
  },
2834
3140
  id: ::String,
2835
3141
  ?if_match: ::String
@@ -3256,6 +3562,26 @@ module Aws
3256
3562
  ) -> _UpdateStreamingDistributionResponseSuccess
3257
3563
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStreamingDistributionResponseSuccess
3258
3564
 
3565
+ interface _UpdateTrustStoreResponseSuccess
3566
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTrustStoreResult]
3567
+ def trust_store: () -> Types::TrustStore
3568
+ def etag: () -> ::String
3569
+ end
3570
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_trust_store-instance_method
3571
+ def update_trust_store: (
3572
+ id: ::String,
3573
+ ca_certificates_bundle_source: {
3574
+ ca_certificates_bundle_s3_location: {
3575
+ bucket: ::String,
3576
+ key: ::String,
3577
+ region: ::String,
3578
+ version: ::String?
3579
+ }?
3580
+ },
3581
+ if_match: ::String
3582
+ ) -> _UpdateTrustStoreResponseSuccess
3583
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTrustStoreResponseSuccess
3584
+
3259
3585
  interface _UpdateVpcOriginResponseSuccess
3260
3586
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVpcOriginResult]
3261
3587
  def vpc_origin: () -> Types::VpcOrigin