aws-sdk-cloudfront 1.134.0 → 1.136.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.134.0'
58
+ GEM_VERSION = '1.136.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -216,6 +216,39 @@ module Aws
216
216
  ) -> _CreateCloudFrontOriginAccessIdentityResponseSuccess
217
217
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCloudFrontOriginAccessIdentityResponseSuccess
218
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
+
219
252
  interface _CreateConnectionGroupResponseSuccess
220
253
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectionGroupResult]
221
254
  def connection_group: () -> Types::ConnectionGroup
@@ -563,7 +596,18 @@ module Aws
563
596
  },
564
597
  ]?
565
598
  }?,
566
- 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
+ }?
567
611
  }
568
612
  ) -> _CreateDistributionResponseSuccess
569
613
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDistributionResponseSuccess
@@ -913,7 +957,18 @@ module Aws
913
957
  },
914
958
  ]?
915
959
  }?,
916
- 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
+ }?
917
972
  },
918
973
  tags: {
919
974
  items: Array[
@@ -1364,6 +1419,33 @@ module Aws
1364
1419
  ) -> _CreateStreamingDistributionWithTagsResponseSuccess
1365
1420
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStreamingDistributionWithTagsResponseSuccess
1366
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
+
1367
1449
  interface _CreateVpcOriginResponseSuccess
1368
1450
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcOriginResult]
1369
1451
  def vpc_origin: () -> Types::VpcOrigin
@@ -1415,6 +1497,13 @@ module Aws
1415
1497
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1416
1498
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1417
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
+
1418
1507
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_connection_group-instance_method
1419
1508
  def delete_connection_group: (
1420
1509
  id: ::String,
@@ -1535,6 +1624,13 @@ module Aws
1535
1624
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1536
1625
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1537
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
+
1538
1634
  interface _DeleteVpcOriginResponseSuccess
1539
1635
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVpcOriginResult]
1540
1636
  def vpc_origin: () -> Types::VpcOrigin
@@ -1547,6 +1643,18 @@ module Aws
1547
1643
  ) -> _DeleteVpcOriginResponseSuccess
1548
1644
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVpcOriginResponseSuccess
1549
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
+
1550
1658
  interface _DescribeFunctionResponseSuccess
1551
1659
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFunctionResult]
1552
1660
  def function_summary: () -> Types::FunctionSummary
@@ -1649,6 +1757,19 @@ module Aws
1649
1757
  ) -> _GetCloudFrontOriginAccessIdentityConfigResponseSuccess
1650
1758
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCloudFrontOriginAccessIdentityConfigResponseSuccess
1651
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
+
1652
1773
  interface _GetConnectionGroupResponseSuccess
1653
1774
  include ::Seahorse::Client::_ResponseSuccess[Types::GetConnectionGroupResult]
1654
1775
  def connection_group: () -> Types::ConnectionGroup
@@ -1990,6 +2111,17 @@ module Aws
1990
2111
  ) -> _GetStreamingDistributionConfigResponseSuccess
1991
2112
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStreamingDistributionConfigResponseSuccess
1992
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
+
1993
2125
  interface _GetVpcOriginResponseSuccess
1994
2126
  include ::Seahorse::Client::_ResponseSuccess[Types::GetVpcOriginResult]
1995
2127
  def vpc_origin: () -> Types::VpcOrigin
@@ -2048,6 +2180,19 @@ module Aws
2048
2180
  ) -> _ListConflictingAliasesResponseSuccess
2049
2181
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConflictingAliasesResponseSuccess
2050
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
+
2051
2196
  interface _ListConnectionGroupsResponseSuccess
2052
2197
  include ::Seahorse::Client::_ResponseSuccess[Types::ListConnectionGroupsResult]
2053
2198
  def next_marker: () -> ::String
@@ -2139,6 +2284,18 @@ module Aws
2139
2284
  ) -> _ListDistributionsByCachePolicyIdResponseSuccess
2140
2285
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByCachePolicyIdResponseSuccess
2141
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
+
2142
2299
  interface _ListDistributionsByConnectionModeResponseSuccess
2143
2300
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByConnectionModeResult]
2144
2301
  def distribution_list: () -> Types::DistributionList
@@ -2212,6 +2369,18 @@ module Aws
2212
2369
  ) -> _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
2213
2370
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
2214
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
+
2215
2384
  interface _ListDistributionsByVpcOriginIdResponseSuccess
2216
2385
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByVpcOriginIdResult]
2217
2386
  def distribution_id_list: () -> Types::DistributionIdList
@@ -2412,6 +2581,18 @@ module Aws
2412
2581
  ) -> _ListTagsForResourceResponseSuccess
2413
2582
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
2414
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
+
2415
2596
  interface _ListVpcOriginsResponseSuccess
2416
2597
  include ::Seahorse::Client::_ResponseSuccess[Types::ListVpcOriginsResult]
2417
2598
  def vpc_origin_list: () -> Types::VpcOriginList
@@ -2423,6 +2604,17 @@ module Aws
2423
2604
  ) -> _ListVpcOriginsResponseSuccess
2424
2605
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVpcOriginsResponseSuccess
2425
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
+
2426
2618
  interface _PublishFunctionResponseSuccess
2427
2619
  include ::Seahorse::Client::_ResponseSuccess[Types::PublishFunctionResult]
2428
2620
  def function_summary: () -> Types::FunctionSummary
@@ -2459,6 +2651,19 @@ module Aws
2459
2651
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2460
2652
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2461
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
+
2462
2667
  interface _TestFunctionResponseSuccess
2463
2668
  include ::Seahorse::Client::_ResponseSuccess[Types::TestFunctionResult]
2464
2669
  def test_result: () -> Types::TestResult
@@ -2554,6 +2759,31 @@ module Aws
2554
2759
  ) -> _UpdateCloudFrontOriginAccessIdentityResponseSuccess
2555
2760
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCloudFrontOriginAccessIdentityResponseSuccess
2556
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
+
2557
2787
  interface _UpdateConnectionGroupResponseSuccess
2558
2788
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectionGroupResult]
2559
2789
  def connection_group: () -> Types::ConnectionGroup
@@ -2894,7 +3124,18 @@ module Aws
2894
3124
  },
2895
3125
  ]?
2896
3126
  }?,
2897
- 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
+ }?
2898
3139
  },
2899
3140
  id: ::String,
2900
3141
  ?if_match: ::String
@@ -3321,6 +3562,26 @@ module Aws
3321
3562
  ) -> _UpdateStreamingDistributionResponseSuccess
3322
3563
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStreamingDistributionResponseSuccess
3323
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
+
3324
3585
  interface _UpdateVpcOriginResponseSuccess
3325
3586
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVpcOriginResult]
3326
3587
  def vpc_origin: () -> Types::VpcOrigin