aws-sdk-cloudfront 1.143.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +17 -1
- data/lib/aws-sdk-cloudfront/client_api.rb +5 -0
- data/lib/aws-sdk-cloudfront/types.rb +45 -1
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +9 -0
- data/sig/types.rbs +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e61bf16c6e548cd2a0d7ade815e3ab817a4e3c6e62e99015dc940cfc7b0c9438
|
|
4
|
+
data.tar.gz: 5eb57bac8e6a735821ff70bcb323919b096fbc7e409e410f80245f1ccd4f2c8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 450e54526aaa89f915b2f6a722e575c8a1afafe295e5949987552836988b1e76732f0cd692d9d97f4b53e1231e01372e4a65d0d6097db5164b27600faf7a2ca6
|
|
7
|
+
data.tar.gz: 4254e29919b566c8f692fce374a4e693c609b59a8b3da24537f7ac557dc8efda9a60bd3b579430c6397a32cc0d3f46dc8d6b84dde5a3447b7dab190cca641355
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
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
|
+
|
|
4
9
|
1.143.0 (2026-03-31)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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
|
|
@@ -11898,6 +11909,9 @@ module Aws::CloudFront
|
|
|
11898
11909
|
# connection_function_association: {
|
|
11899
11910
|
# id: "ResourceId", # required
|
|
11900
11911
|
# },
|
|
11912
|
+
# cache_tag_config: {
|
|
11913
|
+
# header_name: "string", # required
|
|
11914
|
+
# },
|
|
11901
11915
|
# },
|
|
11902
11916
|
# id: "string", # required
|
|
11903
11917
|
# if_match: "string",
|
|
@@ -12109,6 +12123,7 @@ module Aws::CloudFront
|
|
|
12109
12123
|
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
12110
12124
|
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
12111
12125
|
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
12126
|
+
# resp.distribution.distribution_config.cache_tag_config.header_name #=> String
|
|
12112
12127
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
12113
12128
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
12114
12129
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -12507,6 +12522,7 @@ module Aws::CloudFront
|
|
|
12507
12522
|
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
12508
12523
|
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
12509
12524
|
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
12525
|
+
# resp.distribution.distribution_config.cache_tag_config.header_name #=> String
|
|
12510
12526
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
12511
12527
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
12512
12528
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -13766,7 +13782,7 @@ module Aws::CloudFront
|
|
|
13766
13782
|
tracer: tracer
|
|
13767
13783
|
)
|
|
13768
13784
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
|
13769
|
-
context[:gem_version] = '1.
|
|
13785
|
+
context[:gem_version] = '1.144.0'
|
|
13770
13786
|
Seahorse::Client::Request.new(handlers, context)
|
|
13771
13787
|
end
|
|
13772
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"))
|
|
@@ -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
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
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: {
|
|
@@ -3152,6 +3158,9 @@ module Aws
|
|
|
3152
3158
|
}?,
|
|
3153
3159
|
connection_function_association: {
|
|
3154
3160
|
id: ::String
|
|
3161
|
+
}?,
|
|
3162
|
+
cache_tag_config: {
|
|
3163
|
+
header_name: ::String
|
|
3155
3164
|
}?
|
|
3156
3165
|
},
|
|
3157
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
|
|