aws-sdk-cloudfront 1.101.0 → 1.103.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +1 -3
- data/lib/aws-sdk-cloudfront/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-cloudfront/endpoints.rb +2 -1219
- data/lib/aws-sdk-cloudfront/plugins/endpoints.rb +1 -228
- data/lib/aws-sdk-cloudfront.rb +3 -1
- metadata +4 -4
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::CloudFront::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,233 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :associate_alias
|
74
|
-
Aws::CloudFront::Endpoints::AssociateAlias.build(context)
|
75
|
-
when :copy_distribution
|
76
|
-
Aws::CloudFront::Endpoints::CopyDistribution.build(context)
|
77
|
-
when :create_cache_policy
|
78
|
-
Aws::CloudFront::Endpoints::CreateCachePolicy.build(context)
|
79
|
-
when :create_cloud_front_origin_access_identity
|
80
|
-
Aws::CloudFront::Endpoints::CreateCloudFrontOriginAccessIdentity.build(context)
|
81
|
-
when :create_continuous_deployment_policy
|
82
|
-
Aws::CloudFront::Endpoints::CreateContinuousDeploymentPolicy.build(context)
|
83
|
-
when :create_distribution
|
84
|
-
Aws::CloudFront::Endpoints::CreateDistribution.build(context)
|
85
|
-
when :create_distribution_with_tags
|
86
|
-
Aws::CloudFront::Endpoints::CreateDistributionWithTags.build(context)
|
87
|
-
when :create_field_level_encryption_config
|
88
|
-
Aws::CloudFront::Endpoints::CreateFieldLevelEncryptionConfig.build(context)
|
89
|
-
when :create_field_level_encryption_profile
|
90
|
-
Aws::CloudFront::Endpoints::CreateFieldLevelEncryptionProfile.build(context)
|
91
|
-
when :create_function
|
92
|
-
Aws::CloudFront::Endpoints::CreateFunction.build(context)
|
93
|
-
when :create_invalidation
|
94
|
-
Aws::CloudFront::Endpoints::CreateInvalidation.build(context)
|
95
|
-
when :create_key_group
|
96
|
-
Aws::CloudFront::Endpoints::CreateKeyGroup.build(context)
|
97
|
-
when :create_key_value_store
|
98
|
-
Aws::CloudFront::Endpoints::CreateKeyValueStore.build(context)
|
99
|
-
when :create_monitoring_subscription
|
100
|
-
Aws::CloudFront::Endpoints::CreateMonitoringSubscription.build(context)
|
101
|
-
when :create_origin_access_control
|
102
|
-
Aws::CloudFront::Endpoints::CreateOriginAccessControl.build(context)
|
103
|
-
when :create_origin_request_policy
|
104
|
-
Aws::CloudFront::Endpoints::CreateOriginRequestPolicy.build(context)
|
105
|
-
when :create_public_key
|
106
|
-
Aws::CloudFront::Endpoints::CreatePublicKey.build(context)
|
107
|
-
when :create_realtime_log_config
|
108
|
-
Aws::CloudFront::Endpoints::CreateRealtimeLogConfig.build(context)
|
109
|
-
when :create_response_headers_policy
|
110
|
-
Aws::CloudFront::Endpoints::CreateResponseHeadersPolicy.build(context)
|
111
|
-
when :create_streaming_distribution
|
112
|
-
Aws::CloudFront::Endpoints::CreateStreamingDistribution.build(context)
|
113
|
-
when :create_streaming_distribution_with_tags
|
114
|
-
Aws::CloudFront::Endpoints::CreateStreamingDistributionWithTags.build(context)
|
115
|
-
when :delete_cache_policy
|
116
|
-
Aws::CloudFront::Endpoints::DeleteCachePolicy.build(context)
|
117
|
-
when :delete_cloud_front_origin_access_identity
|
118
|
-
Aws::CloudFront::Endpoints::DeleteCloudFrontOriginAccessIdentity.build(context)
|
119
|
-
when :delete_continuous_deployment_policy
|
120
|
-
Aws::CloudFront::Endpoints::DeleteContinuousDeploymentPolicy.build(context)
|
121
|
-
when :delete_distribution
|
122
|
-
Aws::CloudFront::Endpoints::DeleteDistribution.build(context)
|
123
|
-
when :delete_field_level_encryption_config
|
124
|
-
Aws::CloudFront::Endpoints::DeleteFieldLevelEncryptionConfig.build(context)
|
125
|
-
when :delete_field_level_encryption_profile
|
126
|
-
Aws::CloudFront::Endpoints::DeleteFieldLevelEncryptionProfile.build(context)
|
127
|
-
when :delete_function
|
128
|
-
Aws::CloudFront::Endpoints::DeleteFunction.build(context)
|
129
|
-
when :delete_key_group
|
130
|
-
Aws::CloudFront::Endpoints::DeleteKeyGroup.build(context)
|
131
|
-
when :delete_key_value_store
|
132
|
-
Aws::CloudFront::Endpoints::DeleteKeyValueStore.build(context)
|
133
|
-
when :delete_monitoring_subscription
|
134
|
-
Aws::CloudFront::Endpoints::DeleteMonitoringSubscription.build(context)
|
135
|
-
when :delete_origin_access_control
|
136
|
-
Aws::CloudFront::Endpoints::DeleteOriginAccessControl.build(context)
|
137
|
-
when :delete_origin_request_policy
|
138
|
-
Aws::CloudFront::Endpoints::DeleteOriginRequestPolicy.build(context)
|
139
|
-
when :delete_public_key
|
140
|
-
Aws::CloudFront::Endpoints::DeletePublicKey.build(context)
|
141
|
-
when :delete_realtime_log_config
|
142
|
-
Aws::CloudFront::Endpoints::DeleteRealtimeLogConfig.build(context)
|
143
|
-
when :delete_response_headers_policy
|
144
|
-
Aws::CloudFront::Endpoints::DeleteResponseHeadersPolicy.build(context)
|
145
|
-
when :delete_streaming_distribution
|
146
|
-
Aws::CloudFront::Endpoints::DeleteStreamingDistribution.build(context)
|
147
|
-
when :describe_function
|
148
|
-
Aws::CloudFront::Endpoints::DescribeFunction.build(context)
|
149
|
-
when :describe_key_value_store
|
150
|
-
Aws::CloudFront::Endpoints::DescribeKeyValueStore.build(context)
|
151
|
-
when :get_cache_policy
|
152
|
-
Aws::CloudFront::Endpoints::GetCachePolicy.build(context)
|
153
|
-
when :get_cache_policy_config
|
154
|
-
Aws::CloudFront::Endpoints::GetCachePolicyConfig.build(context)
|
155
|
-
when :get_cloud_front_origin_access_identity
|
156
|
-
Aws::CloudFront::Endpoints::GetCloudFrontOriginAccessIdentity.build(context)
|
157
|
-
when :get_cloud_front_origin_access_identity_config
|
158
|
-
Aws::CloudFront::Endpoints::GetCloudFrontOriginAccessIdentityConfig.build(context)
|
159
|
-
when :get_continuous_deployment_policy
|
160
|
-
Aws::CloudFront::Endpoints::GetContinuousDeploymentPolicy.build(context)
|
161
|
-
when :get_continuous_deployment_policy_config
|
162
|
-
Aws::CloudFront::Endpoints::GetContinuousDeploymentPolicyConfig.build(context)
|
163
|
-
when :get_distribution
|
164
|
-
Aws::CloudFront::Endpoints::GetDistribution.build(context)
|
165
|
-
when :get_distribution_config
|
166
|
-
Aws::CloudFront::Endpoints::GetDistributionConfig.build(context)
|
167
|
-
when :get_field_level_encryption
|
168
|
-
Aws::CloudFront::Endpoints::GetFieldLevelEncryption.build(context)
|
169
|
-
when :get_field_level_encryption_config
|
170
|
-
Aws::CloudFront::Endpoints::GetFieldLevelEncryptionConfig.build(context)
|
171
|
-
when :get_field_level_encryption_profile
|
172
|
-
Aws::CloudFront::Endpoints::GetFieldLevelEncryptionProfile.build(context)
|
173
|
-
when :get_field_level_encryption_profile_config
|
174
|
-
Aws::CloudFront::Endpoints::GetFieldLevelEncryptionProfileConfig.build(context)
|
175
|
-
when :get_function
|
176
|
-
Aws::CloudFront::Endpoints::GetFunction.build(context)
|
177
|
-
when :get_invalidation
|
178
|
-
Aws::CloudFront::Endpoints::GetInvalidation.build(context)
|
179
|
-
when :get_key_group
|
180
|
-
Aws::CloudFront::Endpoints::GetKeyGroup.build(context)
|
181
|
-
when :get_key_group_config
|
182
|
-
Aws::CloudFront::Endpoints::GetKeyGroupConfig.build(context)
|
183
|
-
when :get_monitoring_subscription
|
184
|
-
Aws::CloudFront::Endpoints::GetMonitoringSubscription.build(context)
|
185
|
-
when :get_origin_access_control
|
186
|
-
Aws::CloudFront::Endpoints::GetOriginAccessControl.build(context)
|
187
|
-
when :get_origin_access_control_config
|
188
|
-
Aws::CloudFront::Endpoints::GetOriginAccessControlConfig.build(context)
|
189
|
-
when :get_origin_request_policy
|
190
|
-
Aws::CloudFront::Endpoints::GetOriginRequestPolicy.build(context)
|
191
|
-
when :get_origin_request_policy_config
|
192
|
-
Aws::CloudFront::Endpoints::GetOriginRequestPolicyConfig.build(context)
|
193
|
-
when :get_public_key
|
194
|
-
Aws::CloudFront::Endpoints::GetPublicKey.build(context)
|
195
|
-
when :get_public_key_config
|
196
|
-
Aws::CloudFront::Endpoints::GetPublicKeyConfig.build(context)
|
197
|
-
when :get_realtime_log_config
|
198
|
-
Aws::CloudFront::Endpoints::GetRealtimeLogConfig.build(context)
|
199
|
-
when :get_response_headers_policy
|
200
|
-
Aws::CloudFront::Endpoints::GetResponseHeadersPolicy.build(context)
|
201
|
-
when :get_response_headers_policy_config
|
202
|
-
Aws::CloudFront::Endpoints::GetResponseHeadersPolicyConfig.build(context)
|
203
|
-
when :get_streaming_distribution
|
204
|
-
Aws::CloudFront::Endpoints::GetStreamingDistribution.build(context)
|
205
|
-
when :get_streaming_distribution_config
|
206
|
-
Aws::CloudFront::Endpoints::GetStreamingDistributionConfig.build(context)
|
207
|
-
when :list_cache_policies
|
208
|
-
Aws::CloudFront::Endpoints::ListCachePolicies.build(context)
|
209
|
-
when :list_cloud_front_origin_access_identities
|
210
|
-
Aws::CloudFront::Endpoints::ListCloudFrontOriginAccessIdentities.build(context)
|
211
|
-
when :list_conflicting_aliases
|
212
|
-
Aws::CloudFront::Endpoints::ListConflictingAliases.build(context)
|
213
|
-
when :list_continuous_deployment_policies
|
214
|
-
Aws::CloudFront::Endpoints::ListContinuousDeploymentPolicies.build(context)
|
215
|
-
when :list_distributions
|
216
|
-
Aws::CloudFront::Endpoints::ListDistributions.build(context)
|
217
|
-
when :list_distributions_by_cache_policy_id
|
218
|
-
Aws::CloudFront::Endpoints::ListDistributionsByCachePolicyId.build(context)
|
219
|
-
when :list_distributions_by_key_group
|
220
|
-
Aws::CloudFront::Endpoints::ListDistributionsByKeyGroup.build(context)
|
221
|
-
when :list_distributions_by_origin_request_policy_id
|
222
|
-
Aws::CloudFront::Endpoints::ListDistributionsByOriginRequestPolicyId.build(context)
|
223
|
-
when :list_distributions_by_realtime_log_config
|
224
|
-
Aws::CloudFront::Endpoints::ListDistributionsByRealtimeLogConfig.build(context)
|
225
|
-
when :list_distributions_by_response_headers_policy_id
|
226
|
-
Aws::CloudFront::Endpoints::ListDistributionsByResponseHeadersPolicyId.build(context)
|
227
|
-
when :list_distributions_by_web_acl_id
|
228
|
-
Aws::CloudFront::Endpoints::ListDistributionsByWebACLId.build(context)
|
229
|
-
when :list_field_level_encryption_configs
|
230
|
-
Aws::CloudFront::Endpoints::ListFieldLevelEncryptionConfigs.build(context)
|
231
|
-
when :list_field_level_encryption_profiles
|
232
|
-
Aws::CloudFront::Endpoints::ListFieldLevelEncryptionProfiles.build(context)
|
233
|
-
when :list_functions
|
234
|
-
Aws::CloudFront::Endpoints::ListFunctions.build(context)
|
235
|
-
when :list_invalidations
|
236
|
-
Aws::CloudFront::Endpoints::ListInvalidations.build(context)
|
237
|
-
when :list_key_groups
|
238
|
-
Aws::CloudFront::Endpoints::ListKeyGroups.build(context)
|
239
|
-
when :list_key_value_stores
|
240
|
-
Aws::CloudFront::Endpoints::ListKeyValueStores.build(context)
|
241
|
-
when :list_origin_access_controls
|
242
|
-
Aws::CloudFront::Endpoints::ListOriginAccessControls.build(context)
|
243
|
-
when :list_origin_request_policies
|
244
|
-
Aws::CloudFront::Endpoints::ListOriginRequestPolicies.build(context)
|
245
|
-
when :list_public_keys
|
246
|
-
Aws::CloudFront::Endpoints::ListPublicKeys.build(context)
|
247
|
-
when :list_realtime_log_configs
|
248
|
-
Aws::CloudFront::Endpoints::ListRealtimeLogConfigs.build(context)
|
249
|
-
when :list_response_headers_policies
|
250
|
-
Aws::CloudFront::Endpoints::ListResponseHeadersPolicies.build(context)
|
251
|
-
when :list_streaming_distributions
|
252
|
-
Aws::CloudFront::Endpoints::ListStreamingDistributions.build(context)
|
253
|
-
when :list_tags_for_resource
|
254
|
-
Aws::CloudFront::Endpoints::ListTagsForResource.build(context)
|
255
|
-
when :publish_function
|
256
|
-
Aws::CloudFront::Endpoints::PublishFunction.build(context)
|
257
|
-
when :tag_resource
|
258
|
-
Aws::CloudFront::Endpoints::TagResource.build(context)
|
259
|
-
when :test_function
|
260
|
-
Aws::CloudFront::Endpoints::TestFunction.build(context)
|
261
|
-
when :untag_resource
|
262
|
-
Aws::CloudFront::Endpoints::UntagResource.build(context)
|
263
|
-
when :update_cache_policy
|
264
|
-
Aws::CloudFront::Endpoints::UpdateCachePolicy.build(context)
|
265
|
-
when :update_cloud_front_origin_access_identity
|
266
|
-
Aws::CloudFront::Endpoints::UpdateCloudFrontOriginAccessIdentity.build(context)
|
267
|
-
when :update_continuous_deployment_policy
|
268
|
-
Aws::CloudFront::Endpoints::UpdateContinuousDeploymentPolicy.build(context)
|
269
|
-
when :update_distribution
|
270
|
-
Aws::CloudFront::Endpoints::UpdateDistribution.build(context)
|
271
|
-
when :update_distribution_with_staging_config
|
272
|
-
Aws::CloudFront::Endpoints::UpdateDistributionWithStagingConfig.build(context)
|
273
|
-
when :update_field_level_encryption_config
|
274
|
-
Aws::CloudFront::Endpoints::UpdateFieldLevelEncryptionConfig.build(context)
|
275
|
-
when :update_field_level_encryption_profile
|
276
|
-
Aws::CloudFront::Endpoints::UpdateFieldLevelEncryptionProfile.build(context)
|
277
|
-
when :update_function
|
278
|
-
Aws::CloudFront::Endpoints::UpdateFunction.build(context)
|
279
|
-
when :update_key_group
|
280
|
-
Aws::CloudFront::Endpoints::UpdateKeyGroup.build(context)
|
281
|
-
when :update_key_value_store
|
282
|
-
Aws::CloudFront::Endpoints::UpdateKeyValueStore.build(context)
|
283
|
-
when :update_origin_access_control
|
284
|
-
Aws::CloudFront::Endpoints::UpdateOriginAccessControl.build(context)
|
285
|
-
when :update_origin_request_policy
|
286
|
-
Aws::CloudFront::Endpoints::UpdateOriginRequestPolicy.build(context)
|
287
|
-
when :update_public_key
|
288
|
-
Aws::CloudFront::Endpoints::UpdatePublicKey.build(context)
|
289
|
-
when :update_realtime_log_config
|
290
|
-
Aws::CloudFront::Endpoints::UpdateRealtimeLogConfig.build(context)
|
291
|
-
when :update_response_headers_policy
|
292
|
-
Aws::CloudFront::Endpoints::UpdateResponseHeadersPolicy.build(context)
|
293
|
-
when :update_streaming_distribution
|
294
|
-
Aws::CloudFront::Endpoints::UpdateStreamingDistribution.build(context)
|
295
|
-
end
|
296
|
-
end
|
297
70
|
end
|
298
71
|
|
299
72
|
def add_handlers(handlers, _config)
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
@@ -11,6 +11,8 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:cloudfront)
|
15
|
+
|
14
16
|
# This module provides support for Amazon CloudFront. This module is available in the
|
15
17
|
# `aws-sdk-cloudfront` gem.
|
16
18
|
#
|
@@ -53,7 +55,7 @@ module Aws::CloudFront
|
|
53
55
|
autoload :EndpointProvider, 'aws-sdk-cloudfront/endpoint_provider'
|
54
56
|
autoload :Endpoints, 'aws-sdk-cloudfront/endpoints'
|
55
57
|
|
56
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.103.0'
|
57
59
|
|
58
60
|
end
|
59
61
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudfront
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.103.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.210.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|