aws-sdk-cloudfront 1.144.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +23 -1
- data/lib/aws-sdk-cloudfront/client_api.rb +2 -0
- data/lib/aws-sdk-cloudfront/types.rb +12 -2
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +17 -1
- data/sig/types.rbs +2 -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
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.145.0
|
|
@@ -2772,6 +2772,9 @@ module Aws::CloudFront
|
|
|
2772
2772
|
#
|
|
2773
2773
|
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html
|
|
2774
2774
|
#
|
|
2775
|
+
# @option params [Types::Tags] :tags
|
|
2776
|
+
# A complex type that contains zero or more `Tag` elements.
|
|
2777
|
+
#
|
|
2775
2778
|
# @return [Types::CreateFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2776
2779
|
#
|
|
2777
2780
|
# * {Types::CreateFunctionResult#function_summary #function_summary} => Types::FunctionSummary
|
|
@@ -2845,6 +2848,14 @@ module Aws::CloudFront
|
|
|
2845
2848
|
# },
|
|
2846
2849
|
# },
|
|
2847
2850
|
# function_code: "data", # required
|
|
2851
|
+
# tags: {
|
|
2852
|
+
# items: [
|
|
2853
|
+
# {
|
|
2854
|
+
# key: "TagKey", # required
|
|
2855
|
+
# value: "TagValue",
|
|
2856
|
+
# },
|
|
2857
|
+
# ],
|
|
2858
|
+
# },
|
|
2848
2859
|
# })
|
|
2849
2860
|
#
|
|
2850
2861
|
# @example Response structure
|
|
@@ -3048,6 +3059,9 @@ module Aws::CloudFront
|
|
|
3048
3059
|
# The S3 bucket that provides the source for the import. The source must
|
|
3049
3060
|
# be in a valid JSON format.
|
|
3050
3061
|
#
|
|
3062
|
+
# @option params [Types::Tags] :tags
|
|
3063
|
+
# A complex type that contains zero or more `Tag` elements.
|
|
3064
|
+
#
|
|
3051
3065
|
# @return [Types::CreateKeyValueStoreResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3052
3066
|
#
|
|
3053
3067
|
# * {Types::CreateKeyValueStoreResult#key_value_store #key_value_store} => Types::KeyValueStore
|
|
@@ -3091,6 +3105,14 @@ module Aws::CloudFront
|
|
|
3091
3105
|
# source_type: "S3", # required, accepts S3
|
|
3092
3106
|
# source_arn: "string", # required
|
|
3093
3107
|
# },
|
|
3108
|
+
# tags: {
|
|
3109
|
+
# items: [
|
|
3110
|
+
# {
|
|
3111
|
+
# key: "TagKey", # required
|
|
3112
|
+
# value: "TagValue",
|
|
3113
|
+
# },
|
|
3114
|
+
# ],
|
|
3115
|
+
# },
|
|
3094
3116
|
# })
|
|
3095
3117
|
#
|
|
3096
3118
|
# @example Response structure
|
|
@@ -13782,7 +13804,7 @@ module Aws::CloudFront
|
|
|
13782
13804
|
tracer: tracer
|
|
13783
13805
|
)
|
|
13784
13806
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
|
13785
|
-
context[:gem_version] = '1.
|
|
13807
|
+
context[:gem_version] = '1.145.0'
|
|
13786
13808
|
Seahorse::Client::Request.new(handlers, context)
|
|
13787
13809
|
end
|
|
13788
13810
|
|
|
@@ -1359,6 +1359,7 @@ module Aws::CloudFront
|
|
|
1359
1359
|
CreateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "Name"))
|
|
1360
1360
|
CreateFunctionRequest.add_member(:function_config, Shapes::ShapeRef.new(shape: FunctionConfig, required: true, location_name: "FunctionConfig"))
|
|
1361
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"))
|
|
1362
1363
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
|
1363
1364
|
|
|
1364
1365
|
CreateFunctionResult.add_member(:function_summary, Shapes::ShapeRef.new(shape: FunctionSummary, location_name: "FunctionSummary"))
|
|
@@ -1407,6 +1408,7 @@ module Aws::CloudFront
|
|
|
1407
1408
|
CreateKeyValueStoreRequest.add_member(:name, Shapes::ShapeRef.new(shape: KeyValueStoreName, required: true, location_name: "Name"))
|
|
1408
1409
|
CreateKeyValueStoreRequest.add_member(:comment, Shapes::ShapeRef.new(shape: KeyValueStoreComment, location_name: "Comment"))
|
|
1409
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"))
|
|
1410
1412
|
CreateKeyValueStoreRequest.struct_class = Types::CreateKeyValueStoreRequest
|
|
1411
1413
|
|
|
1412
1414
|
CreateKeyValueStoreResult.add_member(:key_value_store, Shapes::ShapeRef.new(shape: KeyValueStore, location_name: "KeyValueStore"))
|
|
@@ -2937,12 +2937,17 @@ module Aws::CloudFront
|
|
|
2937
2937
|
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html
|
|
2938
2938
|
# @return [String]
|
|
2939
2939
|
#
|
|
2940
|
+
# @!attribute [rw] tags
|
|
2941
|
+
# A complex type that contains zero or more `Tag` elements.
|
|
2942
|
+
# @return [Types::Tags]
|
|
2943
|
+
#
|
|
2940
2944
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFunctionRequest AWS API Documentation
|
|
2941
2945
|
#
|
|
2942
2946
|
class CreateFunctionRequest < Struct.new(
|
|
2943
2947
|
:name,
|
|
2944
2948
|
:function_config,
|
|
2945
|
-
:function_code
|
|
2949
|
+
:function_code,
|
|
2950
|
+
:tags)
|
|
2946
2951
|
SENSITIVE = [:function_code]
|
|
2947
2952
|
include Aws::Structure
|
|
2948
2953
|
end
|
|
@@ -3093,12 +3098,17 @@ module Aws::CloudFront
|
|
|
3093
3098
|
# must be in a valid JSON format.
|
|
3094
3099
|
# @return [Types::ImportSource]
|
|
3095
3100
|
#
|
|
3101
|
+
# @!attribute [rw] tags
|
|
3102
|
+
# A complex type that contains zero or more `Tag` elements.
|
|
3103
|
+
# @return [Types::Tags]
|
|
3104
|
+
#
|
|
3096
3105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateKeyValueStoreRequest AWS API Documentation
|
|
3097
3106
|
#
|
|
3098
3107
|
class CreateKeyValueStoreRequest < Struct.new(
|
|
3099
3108
|
:name,
|
|
3100
3109
|
:comment,
|
|
3101
|
-
:import_source
|
|
3110
|
+
:import_source,
|
|
3111
|
+
:tags)
|
|
3102
3112
|
SENSITIVE = []
|
|
3103
3113
|
include Aws::Structure
|
|
3104
3114
|
end
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1084,7 +1084,15 @@ module Aws
|
|
|
1084
1084
|
]?
|
|
1085
1085
|
}?
|
|
1086
1086
|
},
|
|
1087
|
-
function_code: ::String
|
|
1087
|
+
function_code: ::String,
|
|
1088
|
+
?tags: {
|
|
1089
|
+
items: Array[
|
|
1090
|
+
{
|
|
1091
|
+
key: ::String,
|
|
1092
|
+
value: ::String?
|
|
1093
|
+
},
|
|
1094
|
+
]?
|
|
1095
|
+
}
|
|
1088
1096
|
) -> _CreateFunctionResponseSuccess
|
|
1089
1097
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFunctionResponseSuccess
|
|
1090
1098
|
|
|
@@ -1153,6 +1161,14 @@ module Aws
|
|
|
1153
1161
|
?import_source: {
|
|
1154
1162
|
source_type: ("S3"),
|
|
1155
1163
|
source_arn: ::String
|
|
1164
|
+
},
|
|
1165
|
+
?tags: {
|
|
1166
|
+
items: Array[
|
|
1167
|
+
{
|
|
1168
|
+
key: ::String,
|
|
1169
|
+
value: ::String?
|
|
1170
|
+
},
|
|
1171
|
+
]?
|
|
1156
1172
|
}
|
|
1157
1173
|
) -> _CreateKeyValueStoreResponseSuccess
|
|
1158
1174
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKeyValueStoreResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -630,6 +630,7 @@ module Aws::CloudFront
|
|
|
630
630
|
attr_accessor name: ::String
|
|
631
631
|
attr_accessor function_config: Types::FunctionConfig
|
|
632
632
|
attr_accessor function_code: ::String
|
|
633
|
+
attr_accessor tags: Types::Tags
|
|
633
634
|
SENSITIVE: [:function_code]
|
|
634
635
|
end
|
|
635
636
|
|
|
@@ -680,6 +681,7 @@ module Aws::CloudFront
|
|
|
680
681
|
attr_accessor name: ::String
|
|
681
682
|
attr_accessor comment: ::String
|
|
682
683
|
attr_accessor import_source: Types::ImportSource
|
|
684
|
+
attr_accessor tags: Types::Tags
|
|
683
685
|
SENSITIVE: []
|
|
684
686
|
end
|
|
685
687
|
|