aws-sdk-cloudfront 1.143.0 → 1.145.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +39 -1
- data/lib/aws-sdk-cloudfront/client_api.rb +7 -0
- data/lib/aws-sdk-cloudfront/types.rb +57 -3
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +26 -1
- data/sig/types.rbs +8 -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: f4fa9a970dfa9eef6a2c1823df2f942afcc6a6e4b557d9101fc61d57f812fb37
|
|
4
|
+
data.tar.gz: dfc11f8d4ad1d9e72abe08ee6ea00eb3812edf59ba12a7e940fda1911394b093
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 454737822c8de845a5a804a82d2da111d9dac5c4b9684a64d32cf62253ec379044b80cd17bf44bb34d6bc4cd9e859e1d134d7309f02633b861135aa1bb257718
|
|
7
|
+
data.tar.gz: 5b17917be34d0bc24af0f24f85545569a84406ee8a5f7a300ede3671c6c08dce8f7829eefc56e694b9e706e6612c72b763d458f002a24cdb2f546c9d8bd6433b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.145.0 (2026-05-05)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for tagging CloudFront Functions and KeyValueStores resources.
|
|
8
|
+
|
|
9
|
+
1.144.0 (2026-04-29)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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.
|
|
13
|
+
|
|
4
14
|
1.143.0 (2026-03-31)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.145.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"
|
|
@@ -2763,6 +2772,9 @@ module Aws::CloudFront
|
|
|
2763
2772
|
#
|
|
2764
2773
|
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html
|
|
2765
2774
|
#
|
|
2775
|
+
# @option params [Types::Tags] :tags
|
|
2776
|
+
# A complex type that contains zero or more `Tag` elements.
|
|
2777
|
+
#
|
|
2766
2778
|
# @return [Types::CreateFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2767
2779
|
#
|
|
2768
2780
|
# * {Types::CreateFunctionResult#function_summary #function_summary} => Types::FunctionSummary
|
|
@@ -2836,6 +2848,14 @@ module Aws::CloudFront
|
|
|
2836
2848
|
# },
|
|
2837
2849
|
# },
|
|
2838
2850
|
# function_code: "data", # required
|
|
2851
|
+
# tags: {
|
|
2852
|
+
# items: [
|
|
2853
|
+
# {
|
|
2854
|
+
# key: "TagKey", # required
|
|
2855
|
+
# value: "TagValue",
|
|
2856
|
+
# },
|
|
2857
|
+
# ],
|
|
2858
|
+
# },
|
|
2839
2859
|
# })
|
|
2840
2860
|
#
|
|
2841
2861
|
# @example Response structure
|
|
@@ -3039,6 +3059,9 @@ module Aws::CloudFront
|
|
|
3039
3059
|
# The S3 bucket that provides the source for the import. The source must
|
|
3040
3060
|
# be in a valid JSON format.
|
|
3041
3061
|
#
|
|
3062
|
+
# @option params [Types::Tags] :tags
|
|
3063
|
+
# A complex type that contains zero or more `Tag` elements.
|
|
3064
|
+
#
|
|
3042
3065
|
# @return [Types::CreateKeyValueStoreResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3043
3066
|
#
|
|
3044
3067
|
# * {Types::CreateKeyValueStoreResult#key_value_store #key_value_store} => Types::KeyValueStore
|
|
@@ -3082,6 +3105,14 @@ module Aws::CloudFront
|
|
|
3082
3105
|
# source_type: "S3", # required, accepts S3
|
|
3083
3106
|
# source_arn: "string", # required
|
|
3084
3107
|
# },
|
|
3108
|
+
# tags: {
|
|
3109
|
+
# items: [
|
|
3110
|
+
# {
|
|
3111
|
+
# key: "TagKey", # required
|
|
3112
|
+
# value: "TagValue",
|
|
3113
|
+
# },
|
|
3114
|
+
# ],
|
|
3115
|
+
# },
|
|
3085
3116
|
# })
|
|
3086
3117
|
#
|
|
3087
3118
|
# @example Response structure
|
|
@@ -5658,6 +5689,7 @@ module Aws::CloudFront
|
|
|
5658
5689
|
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
5659
5690
|
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
5660
5691
|
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
5692
|
+
# resp.distribution.distribution_config.cache_tag_config.header_name #=> String
|
|
5661
5693
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
5662
5694
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
5663
5695
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -5880,6 +5912,7 @@ module Aws::CloudFront
|
|
|
5880
5912
|
# resp.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
5881
5913
|
# resp.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
5882
5914
|
# resp.distribution_config.connection_function_association.id #=> String
|
|
5915
|
+
# resp.distribution_config.cache_tag_config.header_name #=> String
|
|
5883
5916
|
# resp.etag #=> String
|
|
5884
5917
|
#
|
|
5885
5918
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig AWS API Documentation
|
|
@@ -11898,6 +11931,9 @@ module Aws::CloudFront
|
|
|
11898
11931
|
# connection_function_association: {
|
|
11899
11932
|
# id: "ResourceId", # required
|
|
11900
11933
|
# },
|
|
11934
|
+
# cache_tag_config: {
|
|
11935
|
+
# header_name: "string", # required
|
|
11936
|
+
# },
|
|
11901
11937
|
# },
|
|
11902
11938
|
# id: "string", # required
|
|
11903
11939
|
# if_match: "string",
|
|
@@ -12109,6 +12145,7 @@ module Aws::CloudFront
|
|
|
12109
12145
|
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
12110
12146
|
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
12111
12147
|
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
12148
|
+
# resp.distribution.distribution_config.cache_tag_config.header_name #=> String
|
|
12112
12149
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
12113
12150
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
12114
12151
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -12507,6 +12544,7 @@ module Aws::CloudFront
|
|
|
12507
12544
|
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
12508
12545
|
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
12509
12546
|
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
12547
|
+
# resp.distribution.distribution_config.cache_tag_config.header_name #=> String
|
|
12510
12548
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
12511
12549
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
12512
12550
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -13766,7 +13804,7 @@ module Aws::CloudFront
|
|
|
13766
13804
|
tracer: tracer
|
|
13767
13805
|
)
|
|
13768
13806
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
|
13769
|
-
context[:gem_version] = '1.
|
|
13807
|
+
context[:gem_version] = '1.145.0'
|
|
13770
13808
|
Seahorse::Client::Request.new(handlers, context)
|
|
13771
13809
|
end
|
|
13772
13810
|
|
|
@@ -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
|
|
@@ -1355,6 +1359,7 @@ module Aws::CloudFront
|
|
|
1355
1359
|
CreateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "Name"))
|
|
1356
1360
|
CreateFunctionRequest.add_member(:function_config, Shapes::ShapeRef.new(shape: FunctionConfig, required: true, location_name: "FunctionConfig"))
|
|
1357
1361
|
CreateFunctionRequest.add_member(:function_code, Shapes::ShapeRef.new(shape: FunctionBlob, required: true, location_name: "FunctionCode"))
|
|
1362
|
+
CreateFunctionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
1358
1363
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
|
1359
1364
|
|
|
1360
1365
|
CreateFunctionResult.add_member(:function_summary, Shapes::ShapeRef.new(shape: FunctionSummary, location_name: "FunctionSummary"))
|
|
@@ -1403,6 +1408,7 @@ module Aws::CloudFront
|
|
|
1403
1408
|
CreateKeyValueStoreRequest.add_member(:name, Shapes::ShapeRef.new(shape: KeyValueStoreName, required: true, location_name: "Name"))
|
|
1404
1409
|
CreateKeyValueStoreRequest.add_member(:comment, Shapes::ShapeRef.new(shape: KeyValueStoreComment, location_name: "Comment"))
|
|
1405
1410
|
CreateKeyValueStoreRequest.add_member(:import_source, Shapes::ShapeRef.new(shape: ImportSource, location_name: "ImportSource"))
|
|
1411
|
+
CreateKeyValueStoreRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
1406
1412
|
CreateKeyValueStoreRequest.struct_class = Types::CreateKeyValueStoreRequest
|
|
1407
1413
|
|
|
1408
1414
|
CreateKeyValueStoreResult.add_member(:key_value_store, Shapes::ShapeRef.new(shape: KeyValueStore, location_name: "KeyValueStore"))
|
|
@@ -1760,6 +1766,7 @@ module Aws::CloudFront
|
|
|
1760
1766
|
DistributionConfig.add_member(:connection_mode, Shapes::ShapeRef.new(shape: ConnectionMode, location_name: "ConnectionMode"))
|
|
1761
1767
|
DistributionConfig.add_member(:viewer_mtls_config, Shapes::ShapeRef.new(shape: ViewerMtlsConfig, location_name: "ViewerMtlsConfig"))
|
|
1762
1768
|
DistributionConfig.add_member(:connection_function_association, Shapes::ShapeRef.new(shape: ConnectionFunctionAssociation, location_name: "ConnectionFunctionAssociation"))
|
|
1769
|
+
DistributionConfig.add_member(:cache_tag_config, Shapes::ShapeRef.new(shape: CacheTagConfig, location_name: "CacheTagConfig"))
|
|
1763
1770
|
DistributionConfig.struct_class = Types::DistributionConfig
|
|
1764
1771
|
|
|
1765
1772
|
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
|
#
|
|
@@ -2915,12 +2937,17 @@ module Aws::CloudFront
|
|
|
2915
2937
|
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html
|
|
2916
2938
|
# @return [String]
|
|
2917
2939
|
#
|
|
2940
|
+
# @!attribute [rw] tags
|
|
2941
|
+
# A complex type that contains zero or more `Tag` elements.
|
|
2942
|
+
# @return [Types::Tags]
|
|
2943
|
+
#
|
|
2918
2944
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFunctionRequest AWS API Documentation
|
|
2919
2945
|
#
|
|
2920
2946
|
class CreateFunctionRequest < Struct.new(
|
|
2921
2947
|
:name,
|
|
2922
2948
|
:function_config,
|
|
2923
|
-
:function_code
|
|
2949
|
+
:function_code,
|
|
2950
|
+
:tags)
|
|
2924
2951
|
SENSITIVE = [:function_code]
|
|
2925
2952
|
include Aws::Structure
|
|
2926
2953
|
end
|
|
@@ -3071,12 +3098,17 @@ module Aws::CloudFront
|
|
|
3071
3098
|
# must be in a valid JSON format.
|
|
3072
3099
|
# @return [Types::ImportSource]
|
|
3073
3100
|
#
|
|
3101
|
+
# @!attribute [rw] tags
|
|
3102
|
+
# A complex type that contains zero or more `Tag` elements.
|
|
3103
|
+
# @return [Types::Tags]
|
|
3104
|
+
#
|
|
3074
3105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateKeyValueStoreRequest AWS API Documentation
|
|
3075
3106
|
#
|
|
3076
3107
|
class CreateKeyValueStoreRequest < Struct.new(
|
|
3077
3108
|
:name,
|
|
3078
3109
|
:comment,
|
|
3079
|
-
:import_source
|
|
3110
|
+
:import_source,
|
|
3111
|
+
:tags)
|
|
3080
3112
|
SENSITIVE = []
|
|
3081
3113
|
include Aws::Structure
|
|
3082
3114
|
end
|
|
@@ -5239,6 +5271,27 @@ module Aws::CloudFront
|
|
|
5239
5271
|
# The distribution's connection function association.
|
|
5240
5272
|
# @return [Types::ConnectionFunctionAssociation]
|
|
5241
5273
|
#
|
|
5274
|
+
# @!attribute [rw] cache_tag_config
|
|
5275
|
+
# Configuration for cache tag extraction from origin responses. When
|
|
5276
|
+
# specified, CloudFront reads the header named in `HeaderName` from
|
|
5277
|
+
# origin responses and stores the comma-separated values as cache tags
|
|
5278
|
+
# on the object.
|
|
5279
|
+
#
|
|
5280
|
+
# Distributions without `CacheTagConfig` do not extract tags. When
|
|
5281
|
+
# `CacheTagConfig` is removed from a distribution via
|
|
5282
|
+
# `UpdateDistribution`, CloudFront stops extracting tags from origin
|
|
5283
|
+
# responses.
|
|
5284
|
+
#
|
|
5285
|
+
# <note markdown="1"> Changing the `HeaderName` on an existing distribution does not
|
|
5286
|
+
# retroactively affect previously cached objects. Tag-based
|
|
5287
|
+
# invalidations will not apply to objects already cached using a
|
|
5288
|
+
# previous header. To ensure tag invalidations function after updating
|
|
5289
|
+
# the header name, use path-based invalidations to recache all objects
|
|
5290
|
+
# that use cache tags.
|
|
5291
|
+
#
|
|
5292
|
+
# </note>
|
|
5293
|
+
# @return [Types::CacheTagConfig]
|
|
5294
|
+
#
|
|
5242
5295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DistributionConfig AWS API Documentation
|
|
5243
5296
|
#
|
|
5244
5297
|
class DistributionConfig < Struct.new(
|
|
@@ -5265,7 +5318,8 @@ module Aws::CloudFront
|
|
|
5265
5318
|
:tenant_config,
|
|
5266
5319
|
:connection_mode,
|
|
5267
5320
|
:viewer_mtls_config,
|
|
5268
|
-
:connection_function_association
|
|
5321
|
+
:connection_function_association,
|
|
5322
|
+
:cache_tag_config)
|
|
5269
5323
|
SENSITIVE = [:comment]
|
|
5270
5324
|
include Aws::Structure
|
|
5271
5325
|
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: {
|
|
@@ -1078,7 +1084,15 @@ module Aws
|
|
|
1078
1084
|
]?
|
|
1079
1085
|
}?
|
|
1080
1086
|
},
|
|
1081
|
-
function_code: ::String
|
|
1087
|
+
function_code: ::String,
|
|
1088
|
+
?tags: {
|
|
1089
|
+
items: Array[
|
|
1090
|
+
{
|
|
1091
|
+
key: ::String,
|
|
1092
|
+
value: ::String?
|
|
1093
|
+
},
|
|
1094
|
+
]?
|
|
1095
|
+
}
|
|
1082
1096
|
) -> _CreateFunctionResponseSuccess
|
|
1083
1097
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFunctionResponseSuccess
|
|
1084
1098
|
|
|
@@ -1147,6 +1161,14 @@ module Aws
|
|
|
1147
1161
|
?import_source: {
|
|
1148
1162
|
source_type: ("S3"),
|
|
1149
1163
|
source_arn: ::String
|
|
1164
|
+
},
|
|
1165
|
+
?tags: {
|
|
1166
|
+
items: Array[
|
|
1167
|
+
{
|
|
1168
|
+
key: ::String,
|
|
1169
|
+
value: ::String?
|
|
1170
|
+
},
|
|
1171
|
+
]?
|
|
1150
1172
|
}
|
|
1151
1173
|
) -> _CreateKeyValueStoreResponseSuccess
|
|
1152
1174
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKeyValueStoreResponseSuccess
|
|
@@ -3152,6 +3174,9 @@ module Aws
|
|
|
3152
3174
|
}?,
|
|
3153
3175
|
connection_function_association: {
|
|
3154
3176
|
id: ::String
|
|
3177
|
+
}?,
|
|
3178
|
+
cache_tag_config: {
|
|
3179
|
+
header_name: ::String
|
|
3155
3180
|
}?
|
|
3156
3181
|
},
|
|
3157
3182
|
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")]
|
|
@@ -625,6 +630,7 @@ module Aws::CloudFront
|
|
|
625
630
|
attr_accessor name: ::String
|
|
626
631
|
attr_accessor function_config: Types::FunctionConfig
|
|
627
632
|
attr_accessor function_code: ::String
|
|
633
|
+
attr_accessor tags: Types::Tags
|
|
628
634
|
SENSITIVE: [:function_code]
|
|
629
635
|
end
|
|
630
636
|
|
|
@@ -675,6 +681,7 @@ module Aws::CloudFront
|
|
|
675
681
|
attr_accessor name: ::String
|
|
676
682
|
attr_accessor comment: ::String
|
|
677
683
|
attr_accessor import_source: Types::ImportSource
|
|
684
|
+
attr_accessor tags: Types::Tags
|
|
678
685
|
SENSITIVE: []
|
|
679
686
|
end
|
|
680
687
|
|
|
@@ -1117,6 +1124,7 @@ module Aws::CloudFront
|
|
|
1117
1124
|
attr_accessor connection_mode: ("direct" | "tenant-only")
|
|
1118
1125
|
attr_accessor viewer_mtls_config: Types::ViewerMtlsConfig
|
|
1119
1126
|
attr_accessor connection_function_association: Types::ConnectionFunctionAssociation
|
|
1127
|
+
attr_accessor cache_tag_config: Types::CacheTagConfig
|
|
1120
1128
|
SENSITIVE: [:comment]
|
|
1121
1129
|
end
|
|
1122
1130
|
|