aws-sdk-cloudfront 1.142.0 → 1.144.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcc957ce45178c28c8d8efb242929eaca1b0be68d1bf3c407c9095dd44e2cd5e
4
- data.tar.gz: 26b00829c0404f333e0e2425a306deff33e20bd6ab52ed72e99d9b45801a8bbc
3
+ metadata.gz: e61bf16c6e548cd2a0d7ade815e3ab817a4e3c6e62e99015dc940cfc7b0c9438
4
+ data.tar.gz: 5eb57bac8e6a735821ff70bcb323919b096fbc7e409e410f80245f1ccd4f2c8a
5
5
  SHA512:
6
- metadata.gz: 7b0a9fb662b674898b1f1d3eaec51578b0d6e38e501b8630af5c63d92a64ca3a0bae330398ea2e114afc129d5edb42529863ca6cacb688ff24133e3cd2bd49a1
7
- data.tar.gz: 5019883fc696c1c6de559434d12b70509133fed781061ed49def994b54dabb2f080354e467ea61643671c6a2f9f916e2893b39eb61d67b69675a5962d67ed816
6
+ metadata.gz: 450e54526aaa89f915b2f6a722e575c8a1afafe295e5949987552836988b1e76732f0cd692d9d97f4b53e1231e01372e4a65d0d6097db5164b27600faf7a2ca6
7
+ data.tar.gz: 4254e29919b566c8f692fce374a4e693c609b59a8b3da24537f7ac557dc8efda9a60bd3b579430c6397a32cc0d3f46dc8d6b84dde5a3447b7dab190cca641355
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.144.0 (2026-04-29)
5
+ ------------------
6
+
7
+ * Feature - Amazon CloudFront now supports cache tag. Tag objects via response headers and invalidate all matching objects in a single request, replacing manual URL tracking and broad wildcards.
8
+
9
+ 1.143.0 (2026-03-31)
10
+ ------------------
11
+
12
+ * Feature - This release adds bring your own IP (BYOIP) IPv6 support to CloudFront's CreateAnycastIpList and UpdateAnycastIpList API through the IpamCidrConfigs field.
13
+
4
14
  1.142.0 (2026-03-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.142.0
1
+ 1.144.0
@@ -889,6 +889,7 @@ module Aws::CloudFront
889
889
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
890
890
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
891
891
  # resp.distribution.distribution_config.connection_function_association.id #=> String
892
+ # resp.distribution.distribution_config.cache_tag_config.header_name #=> String
892
893
  # resp.distribution.alias_icp_recordals #=> Array
893
894
  # resp.distribution.alias_icp_recordals[0].cname #=> String
894
895
  # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
@@ -1683,6 +1684,9 @@ module Aws::CloudFront
1683
1684
  # connection_function_association: {
1684
1685
  # id: "ResourceId", # required
1685
1686
  # },
1687
+ # cache_tag_config: {
1688
+ # header_name: "string", # required
1689
+ # },
1686
1690
  # },
1687
1691
  # })
1688
1692
  #
@@ -1892,6 +1896,7 @@ module Aws::CloudFront
1892
1896
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
1893
1897
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
1894
1898
  # resp.distribution.distribution_config.connection_function_association.id #=> String
1899
+ # resp.distribution.distribution_config.cache_tag_config.header_name #=> String
1895
1900
  # resp.distribution.alias_icp_recordals #=> Array
1896
1901
  # resp.distribution.alias_icp_recordals[0].cname #=> String
1897
1902
  # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
@@ -2364,6 +2369,9 @@ module Aws::CloudFront
2364
2369
  # connection_function_association: {
2365
2370
  # id: "ResourceId", # required
2366
2371
  # },
2372
+ # cache_tag_config: {
2373
+ # header_name: "string", # required
2374
+ # },
2367
2375
  # },
2368
2376
  # tags: { # required
2369
2377
  # items: [
@@ -2582,6 +2590,7 @@ module Aws::CloudFront
2582
2590
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
2583
2591
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
2584
2592
  # resp.distribution.distribution_config.connection_function_association.id #=> String
2593
+ # resp.distribution.distribution_config.cache_tag_config.header_name #=> String
2585
2594
  # resp.distribution.alias_icp_recordals #=> Array
2586
2595
  # resp.distribution.alias_icp_recordals[0].cname #=> String
2587
2596
  # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
@@ -5658,6 +5667,7 @@ module Aws::CloudFront
5658
5667
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
5659
5668
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
5660
5669
  # resp.distribution.distribution_config.connection_function_association.id #=> String
5670
+ # resp.distribution.distribution_config.cache_tag_config.header_name #=> String
5661
5671
  # resp.distribution.alias_icp_recordals #=> Array
5662
5672
  # resp.distribution.alias_icp_recordals[0].cname #=> String
5663
5673
  # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
@@ -5880,6 +5890,7 @@ module Aws::CloudFront
5880
5890
  # resp.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
5881
5891
  # resp.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
5882
5892
  # resp.distribution_config.connection_function_association.id #=> String
5893
+ # resp.distribution_config.cache_tag_config.header_name #=> String
5883
5894
  # resp.etag #=> String
5884
5895
  #
5885
5896
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig AWS API Documentation
@@ -11120,6 +11131,10 @@ module Aws::CloudFront
11120
11131
  #
11121
11132
  # * `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
11122
11133
  #
11134
+ # @option params [Array<Types::IpamCidrConfig>] :ipam_cidr_configs
11135
+ # A list of IPAM CIDR configurations that specify the IP address ranges
11136
+ # and IPAM pool settings for updating the Anycast static IP list.
11137
+ #
11123
11138
  # @option params [required, String] :if_match
11124
11139
  # The current version (ETag value) of the Anycast static IP list that
11125
11140
  # you are updating.
@@ -11134,6 +11149,14 @@ module Aws::CloudFront
11134
11149
  # resp = client.update_anycast_ip_list({
11135
11150
  # id: "string", # required
11136
11151
  # ip_address_type: "ipv4", # accepts ipv4, ipv6, dualstack
11152
+ # ipam_cidr_configs: [
11153
+ # {
11154
+ # cidr: "string", # required
11155
+ # ipam_pool_arn: "string", # required
11156
+ # anycast_ip: "string",
11157
+ # status: "provisioned", # accepts provisioned, failed-provision, provisioning, deprovisioned, failed-deprovision, deprovisioning, advertised, failed-advertise, advertising, withdrawn, failed-withdraw, withdrawing
11158
+ # },
11159
+ # ],
11137
11160
  # if_match: "string", # required
11138
11161
  # })
11139
11162
  #
@@ -11886,6 +11909,9 @@ module Aws::CloudFront
11886
11909
  # connection_function_association: {
11887
11910
  # id: "ResourceId", # required
11888
11911
  # },
11912
+ # cache_tag_config: {
11913
+ # header_name: "string", # required
11914
+ # },
11889
11915
  # },
11890
11916
  # id: "string", # required
11891
11917
  # if_match: "string",
@@ -12097,6 +12123,7 @@ module Aws::CloudFront
12097
12123
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
12098
12124
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
12099
12125
  # resp.distribution.distribution_config.connection_function_association.id #=> String
12126
+ # resp.distribution.distribution_config.cache_tag_config.header_name #=> String
12100
12127
  # resp.distribution.alias_icp_recordals #=> Array
12101
12128
  # resp.distribution.alias_icp_recordals[0].cname #=> String
12102
12129
  # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
@@ -12495,6 +12522,7 @@ module Aws::CloudFront
12495
12522
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
12496
12523
  # resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
12497
12524
  # resp.distribution.distribution_config.connection_function_association.id #=> String
12525
+ # resp.distribution.distribution_config.cache_tag_config.header_name #=> String
12498
12526
  # resp.distribution.alias_icp_recordals #=> Array
12499
12527
  # resp.distribution.alias_icp_recordals[0].cname #=> String
12500
12528
  # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
@@ -13754,7 +13782,7 @@ module Aws::CloudFront
13754
13782
  tracer: tracer
13755
13783
  )
13756
13784
  context[:gem_name] = 'aws-sdk-cloudfront'
13757
- context[:gem_version] = '1.142.0'
13785
+ context[:gem_version] = '1.144.0'
13758
13786
  Seahorse::Client::Request.new(handlers, context)
13759
13787
  end
13760
13788
 
@@ -60,6 +60,7 @@ module Aws::CloudFront
60
60
  CachePolicySummary = Shapes::StructureShape.new(name: 'CachePolicySummary')
61
61
  CachePolicySummaryList = Shapes::ListShape.new(name: 'CachePolicySummaryList')
62
62
  CachePolicyType = Shapes::StringShape.new(name: 'CachePolicyType')
63
+ CacheTagConfig = Shapes::StructureShape.new(name: 'CacheTagConfig')
63
64
  CachedMethods = Shapes::StructureShape.new(name: 'CachedMethods')
64
65
  CannotChangeImmutablePublicKeyFields = Shapes::StructureShape.new(name: 'CannotChangeImmutablePublicKeyFields')
65
66
  CannotDeleteEntityWhileInUse = Shapes::StructureShape.new(name: 'CannotDeleteEntityWhileInUse')
@@ -1025,6 +1026,9 @@ module Aws::CloudFront
1025
1026
 
1026
1027
  CachePolicySummaryList.member = Shapes::ShapeRef.new(shape: CachePolicySummary, location_name: "CachePolicySummary")
1027
1028
 
1029
+ CacheTagConfig.add_member(:header_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "HeaderName"))
1030
+ CacheTagConfig.struct_class = Types::CacheTagConfig
1031
+
1028
1032
  CachedMethods.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1029
1033
  CachedMethods.add_member(:items, Shapes::ShapeRef.new(shape: MethodsList, required: true, location_name: "Items"))
1030
1034
  CachedMethods.struct_class = Types::CachedMethods
@@ -1760,6 +1764,7 @@ module Aws::CloudFront
1760
1764
  DistributionConfig.add_member(:connection_mode, Shapes::ShapeRef.new(shape: ConnectionMode, location_name: "ConnectionMode"))
1761
1765
  DistributionConfig.add_member(:viewer_mtls_config, Shapes::ShapeRef.new(shape: ViewerMtlsConfig, location_name: "ViewerMtlsConfig"))
1762
1766
  DistributionConfig.add_member(:connection_function_association, Shapes::ShapeRef.new(shape: ConnectionFunctionAssociation, location_name: "ConnectionFunctionAssociation"))
1767
+ DistributionConfig.add_member(:cache_tag_config, Shapes::ShapeRef.new(shape: CacheTagConfig, location_name: "CacheTagConfig"))
1763
1768
  DistributionConfig.struct_class = Types::DistributionConfig
1764
1769
 
1765
1770
  DistributionConfigWithTags.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig"))
@@ -3864,6 +3869,7 @@ module Aws::CloudFront
3864
3869
 
3865
3870
  UpdateAnycastIpListRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
3866
3871
  UpdateAnycastIpListRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
3872
+ UpdateAnycastIpListRequest.add_member(:ipam_cidr_configs, Shapes::ShapeRef.new(shape: IpamCidrConfigList, location_name: "IpamCidrConfigs"))
3867
3873
  UpdateAnycastIpListRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
3868
3874
  UpdateAnycastIpListRequest.struct_class = Types::UpdateAnycastIpListRequest
3869
3875
 
@@ -1353,6 +1353,28 @@ module Aws::CloudFront
1353
1353
  include Aws::Structure
1354
1354
  end
1355
1355
 
1356
+ # A complex type that specifies the HTTP header name from which
1357
+ # CloudFront extracts cache tags from origin responses. When you add
1358
+ # `CacheTagConfig` to a distribution, CloudFront reads the specified
1359
+ # header from origin responses, parses the comma-separated tag values,
1360
+ # and stores them with the cached object. You can then invalidate cached
1361
+ # objects by tag using the `CreateInvalidation` API.
1362
+ #
1363
+ # @!attribute [rw] header_name
1364
+ # The name of the HTTP header that your origin includes in responses.
1365
+ # CloudFront uses this header to extract cache tags. The header value
1366
+ # must contain comma-separated tag values (for example,
1367
+ # `product:electronics, category:tv, brand:example`).
1368
+ # @return [String]
1369
+ #
1370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CacheTagConfig AWS API Documentation
1371
+ #
1372
+ class CacheTagConfig < Struct.new(
1373
+ :header_name)
1374
+ SENSITIVE = []
1375
+ include Aws::Structure
1376
+ end
1377
+
1356
1378
  # A complex type that controls whether CloudFront caches the response to
1357
1379
  # requests using the specified HTTP methods. There are two choices:
1358
1380
  #
@@ -5239,6 +5261,27 @@ module Aws::CloudFront
5239
5261
  # The distribution's connection function association.
5240
5262
  # @return [Types::ConnectionFunctionAssociation]
5241
5263
  #
5264
+ # @!attribute [rw] cache_tag_config
5265
+ # Configuration for cache tag extraction from origin responses. When
5266
+ # specified, CloudFront reads the header named in `HeaderName` from
5267
+ # origin responses and stores the comma-separated values as cache tags
5268
+ # on the object.
5269
+ #
5270
+ # Distributions without `CacheTagConfig` do not extract tags. When
5271
+ # `CacheTagConfig` is removed from a distribution via
5272
+ # `UpdateDistribution`, CloudFront stops extracting tags from origin
5273
+ # responses.
5274
+ #
5275
+ # <note markdown="1"> Changing the `HeaderName` on an existing distribution does not
5276
+ # retroactively affect previously cached objects. Tag-based
5277
+ # invalidations will not apply to objects already cached using a
5278
+ # previous header. To ensure tag invalidations function after updating
5279
+ # the header name, use path-based invalidations to recache all objects
5280
+ # that use cache tags.
5281
+ #
5282
+ # </note>
5283
+ # @return [Types::CacheTagConfig]
5284
+ #
5242
5285
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DistributionConfig AWS API Documentation
5243
5286
  #
5244
5287
  class DistributionConfig < Struct.new(
@@ -5265,7 +5308,8 @@ module Aws::CloudFront
5265
5308
  :tenant_config,
5266
5309
  :connection_mode,
5267
5310
  :viewer_mtls_config,
5268
- :connection_function_association)
5311
+ :connection_function_association,
5312
+ :cache_tag_config)
5269
5313
  SENSITIVE = [:comment]
5270
5314
  include Aws::Structure
5271
5315
  end
@@ -15884,6 +15928,12 @@ module Aws::CloudFront
15884
15928
  # * `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
15885
15929
  # @return [String]
15886
15930
  #
15931
+ # @!attribute [rw] ipam_cidr_configs
15932
+ # A list of IPAM CIDR configurations that specify the IP address
15933
+ # ranges and IPAM pool settings for updating the Anycast static IP
15934
+ # list.
15935
+ # @return [Array<Types::IpamCidrConfig>]
15936
+ #
15887
15937
  # @!attribute [rw] if_match
15888
15938
  # The current version (ETag value) of the Anycast static IP list that
15889
15939
  # you are updating.
@@ -15894,6 +15944,7 @@ module Aws::CloudFront
15894
15944
  class UpdateAnycastIpListRequest < Struct.new(
15895
15945
  :id,
15896
15946
  :ip_address_type,
15947
+ :ipam_cidr_configs,
15897
15948
  :if_match)
15898
15949
  SENSITIVE = []
15899
15950
  include Aws::Structure
@@ -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.142.0'
58
+ GEM_VERSION = '1.144.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -610,6 +610,9 @@ module Aws
610
610
  }?,
611
611
  connection_function_association: {
612
612
  id: ::String
613
+ }?,
614
+ cache_tag_config: {
615
+ header_name: ::String
613
616
  }?
614
617
  }
615
618
  ) -> _CreateDistributionResponseSuccess
@@ -974,6 +977,9 @@ module Aws
974
977
  }?,
975
978
  connection_function_association: {
976
979
  id: ::String
980
+ }?,
981
+ cache_tag_config: {
982
+ header_name: ::String
977
983
  }?
978
984
  },
979
985
  tags: {
@@ -2701,6 +2707,14 @@ module Aws
2701
2707
  def update_anycast_ip_list: (
2702
2708
  id: ::String,
2703
2709
  ?ip_address_type: ("ipv4" | "ipv6" | "dualstack"),
2710
+ ?ipam_cidr_configs: Array[
2711
+ {
2712
+ cidr: ::String,
2713
+ ipam_pool_arn: ::String,
2714
+ anycast_ip: ::String?,
2715
+ status: ("provisioned" | "failed-provision" | "provisioning" | "deprovisioned" | "failed-deprovision" | "deprovisioning" | "advertised" | "failed-advertise" | "advertising" | "withdrawn" | "failed-withdraw" | "withdrawing")?
2716
+ },
2717
+ ],
2704
2718
  if_match: ::String
2705
2719
  ) -> _UpdateAnycastIpListResponseSuccess
2706
2720
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAnycastIpListResponseSuccess
@@ -3144,6 +3158,9 @@ module Aws
3144
3158
  }?,
3145
3159
  connection_function_association: {
3146
3160
  id: ::String
3161
+ }?,
3162
+ cache_tag_config: {
3163
+ header_name: ::String
3147
3164
  }?
3148
3165
  },
3149
3166
  id: ::String,
data/sig/types.rbs CHANGED
@@ -234,6 +234,11 @@ module Aws::CloudFront
234
234
  SENSITIVE: []
235
235
  end
236
236
 
237
+ class CacheTagConfig
238
+ attr_accessor header_name: ::String
239
+ SENSITIVE: []
240
+ end
241
+
237
242
  class CachedMethods
238
243
  attr_accessor quantity: ::Integer
239
244
  attr_accessor items: ::Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")]
@@ -1117,6 +1122,7 @@ module Aws::CloudFront
1117
1122
  attr_accessor connection_mode: ("direct" | "tenant-only")
1118
1123
  attr_accessor viewer_mtls_config: Types::ViewerMtlsConfig
1119
1124
  attr_accessor connection_function_association: Types::ConnectionFunctionAssociation
1125
+ attr_accessor cache_tag_config: Types::CacheTagConfig
1120
1126
  SENSITIVE: [:comment]
1121
1127
  end
1122
1128
 
@@ -3867,6 +3873,7 @@ module Aws::CloudFront
3867
3873
  class UpdateAnycastIpListRequest
3868
3874
  attr_accessor id: ::String
3869
3875
  attr_accessor ip_address_type: ("ipv4" | "ipv6" | "dualstack")
3876
+ attr_accessor ipam_cidr_configs: ::Array[Types::IpamCidrConfig]
3870
3877
  attr_accessor if_match: ::String
3871
3878
  SENSITIVE: []
3872
3879
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudfront
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.142.0
4
+ version: 1.144.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services