aws-sdk-apigateway 1.106.0 → 1.108.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-apigateway/client.rb +1 -3
- data/lib/aws-sdk-apigateway/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-apigateway/endpoints.rb +2 -1318
- data/lib/aws-sdk-apigateway/plugins/endpoints.rb +1 -246
- data/lib/aws-sdk-apigateway.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::APIGateway::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,251 +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 :create_api_key
|
74
|
-
Aws::APIGateway::Endpoints::CreateApiKey.build(context)
|
75
|
-
when :create_authorizer
|
76
|
-
Aws::APIGateway::Endpoints::CreateAuthorizer.build(context)
|
77
|
-
when :create_base_path_mapping
|
78
|
-
Aws::APIGateway::Endpoints::CreateBasePathMapping.build(context)
|
79
|
-
when :create_deployment
|
80
|
-
Aws::APIGateway::Endpoints::CreateDeployment.build(context)
|
81
|
-
when :create_documentation_part
|
82
|
-
Aws::APIGateway::Endpoints::CreateDocumentationPart.build(context)
|
83
|
-
when :create_documentation_version
|
84
|
-
Aws::APIGateway::Endpoints::CreateDocumentationVersion.build(context)
|
85
|
-
when :create_domain_name
|
86
|
-
Aws::APIGateway::Endpoints::CreateDomainName.build(context)
|
87
|
-
when :create_model
|
88
|
-
Aws::APIGateway::Endpoints::CreateModel.build(context)
|
89
|
-
when :create_request_validator
|
90
|
-
Aws::APIGateway::Endpoints::CreateRequestValidator.build(context)
|
91
|
-
when :create_resource
|
92
|
-
Aws::APIGateway::Endpoints::CreateResource.build(context)
|
93
|
-
when :create_rest_api
|
94
|
-
Aws::APIGateway::Endpoints::CreateRestApi.build(context)
|
95
|
-
when :create_stage
|
96
|
-
Aws::APIGateway::Endpoints::CreateStage.build(context)
|
97
|
-
when :create_usage_plan
|
98
|
-
Aws::APIGateway::Endpoints::CreateUsagePlan.build(context)
|
99
|
-
when :create_usage_plan_key
|
100
|
-
Aws::APIGateway::Endpoints::CreateUsagePlanKey.build(context)
|
101
|
-
when :create_vpc_link
|
102
|
-
Aws::APIGateway::Endpoints::CreateVpcLink.build(context)
|
103
|
-
when :delete_api_key
|
104
|
-
Aws::APIGateway::Endpoints::DeleteApiKey.build(context)
|
105
|
-
when :delete_authorizer
|
106
|
-
Aws::APIGateway::Endpoints::DeleteAuthorizer.build(context)
|
107
|
-
when :delete_base_path_mapping
|
108
|
-
Aws::APIGateway::Endpoints::DeleteBasePathMapping.build(context)
|
109
|
-
when :delete_client_certificate
|
110
|
-
Aws::APIGateway::Endpoints::DeleteClientCertificate.build(context)
|
111
|
-
when :delete_deployment
|
112
|
-
Aws::APIGateway::Endpoints::DeleteDeployment.build(context)
|
113
|
-
when :delete_documentation_part
|
114
|
-
Aws::APIGateway::Endpoints::DeleteDocumentationPart.build(context)
|
115
|
-
when :delete_documentation_version
|
116
|
-
Aws::APIGateway::Endpoints::DeleteDocumentationVersion.build(context)
|
117
|
-
when :delete_domain_name
|
118
|
-
Aws::APIGateway::Endpoints::DeleteDomainName.build(context)
|
119
|
-
when :delete_gateway_response
|
120
|
-
Aws::APIGateway::Endpoints::DeleteGatewayResponse.build(context)
|
121
|
-
when :delete_integration
|
122
|
-
Aws::APIGateway::Endpoints::DeleteIntegration.build(context)
|
123
|
-
when :delete_integration_response
|
124
|
-
Aws::APIGateway::Endpoints::DeleteIntegrationResponse.build(context)
|
125
|
-
when :delete_method
|
126
|
-
Aws::APIGateway::Endpoints::DeleteMethod.build(context)
|
127
|
-
when :delete_method_response
|
128
|
-
Aws::APIGateway::Endpoints::DeleteMethodResponse.build(context)
|
129
|
-
when :delete_model
|
130
|
-
Aws::APIGateway::Endpoints::DeleteModel.build(context)
|
131
|
-
when :delete_request_validator
|
132
|
-
Aws::APIGateway::Endpoints::DeleteRequestValidator.build(context)
|
133
|
-
when :delete_resource
|
134
|
-
Aws::APIGateway::Endpoints::DeleteResource.build(context)
|
135
|
-
when :delete_rest_api
|
136
|
-
Aws::APIGateway::Endpoints::DeleteRestApi.build(context)
|
137
|
-
when :delete_stage
|
138
|
-
Aws::APIGateway::Endpoints::DeleteStage.build(context)
|
139
|
-
when :delete_usage_plan
|
140
|
-
Aws::APIGateway::Endpoints::DeleteUsagePlan.build(context)
|
141
|
-
when :delete_usage_plan_key
|
142
|
-
Aws::APIGateway::Endpoints::DeleteUsagePlanKey.build(context)
|
143
|
-
when :delete_vpc_link
|
144
|
-
Aws::APIGateway::Endpoints::DeleteVpcLink.build(context)
|
145
|
-
when :flush_stage_authorizers_cache
|
146
|
-
Aws::APIGateway::Endpoints::FlushStageAuthorizersCache.build(context)
|
147
|
-
when :flush_stage_cache
|
148
|
-
Aws::APIGateway::Endpoints::FlushStageCache.build(context)
|
149
|
-
when :generate_client_certificate
|
150
|
-
Aws::APIGateway::Endpoints::GenerateClientCertificate.build(context)
|
151
|
-
when :get_account
|
152
|
-
Aws::APIGateway::Endpoints::GetAccount.build(context)
|
153
|
-
when :get_api_key
|
154
|
-
Aws::APIGateway::Endpoints::GetApiKey.build(context)
|
155
|
-
when :get_api_keys
|
156
|
-
Aws::APIGateway::Endpoints::GetApiKeys.build(context)
|
157
|
-
when :get_authorizer
|
158
|
-
Aws::APIGateway::Endpoints::GetAuthorizer.build(context)
|
159
|
-
when :get_authorizers
|
160
|
-
Aws::APIGateway::Endpoints::GetAuthorizers.build(context)
|
161
|
-
when :get_base_path_mapping
|
162
|
-
Aws::APIGateway::Endpoints::GetBasePathMapping.build(context)
|
163
|
-
when :get_base_path_mappings
|
164
|
-
Aws::APIGateway::Endpoints::GetBasePathMappings.build(context)
|
165
|
-
when :get_client_certificate
|
166
|
-
Aws::APIGateway::Endpoints::GetClientCertificate.build(context)
|
167
|
-
when :get_client_certificates
|
168
|
-
Aws::APIGateway::Endpoints::GetClientCertificates.build(context)
|
169
|
-
when :get_deployment
|
170
|
-
Aws::APIGateway::Endpoints::GetDeployment.build(context)
|
171
|
-
when :get_deployments
|
172
|
-
Aws::APIGateway::Endpoints::GetDeployments.build(context)
|
173
|
-
when :get_documentation_part
|
174
|
-
Aws::APIGateway::Endpoints::GetDocumentationPart.build(context)
|
175
|
-
when :get_documentation_parts
|
176
|
-
Aws::APIGateway::Endpoints::GetDocumentationParts.build(context)
|
177
|
-
when :get_documentation_version
|
178
|
-
Aws::APIGateway::Endpoints::GetDocumentationVersion.build(context)
|
179
|
-
when :get_documentation_versions
|
180
|
-
Aws::APIGateway::Endpoints::GetDocumentationVersions.build(context)
|
181
|
-
when :get_domain_name
|
182
|
-
Aws::APIGateway::Endpoints::GetDomainName.build(context)
|
183
|
-
when :get_domain_names
|
184
|
-
Aws::APIGateway::Endpoints::GetDomainNames.build(context)
|
185
|
-
when :get_export
|
186
|
-
Aws::APIGateway::Endpoints::GetExport.build(context)
|
187
|
-
when :get_gateway_response
|
188
|
-
Aws::APIGateway::Endpoints::GetGatewayResponse.build(context)
|
189
|
-
when :get_gateway_responses
|
190
|
-
Aws::APIGateway::Endpoints::GetGatewayResponses.build(context)
|
191
|
-
when :get_integration
|
192
|
-
Aws::APIGateway::Endpoints::GetIntegration.build(context)
|
193
|
-
when :get_integration_response
|
194
|
-
Aws::APIGateway::Endpoints::GetIntegrationResponse.build(context)
|
195
|
-
when :get_method
|
196
|
-
Aws::APIGateway::Endpoints::GetMethod.build(context)
|
197
|
-
when :get_method_response
|
198
|
-
Aws::APIGateway::Endpoints::GetMethodResponse.build(context)
|
199
|
-
when :get_model
|
200
|
-
Aws::APIGateway::Endpoints::GetModel.build(context)
|
201
|
-
when :get_model_template
|
202
|
-
Aws::APIGateway::Endpoints::GetModelTemplate.build(context)
|
203
|
-
when :get_models
|
204
|
-
Aws::APIGateway::Endpoints::GetModels.build(context)
|
205
|
-
when :get_request_validator
|
206
|
-
Aws::APIGateway::Endpoints::GetRequestValidator.build(context)
|
207
|
-
when :get_request_validators
|
208
|
-
Aws::APIGateway::Endpoints::GetRequestValidators.build(context)
|
209
|
-
when :get_resource
|
210
|
-
Aws::APIGateway::Endpoints::GetResource.build(context)
|
211
|
-
when :get_resources
|
212
|
-
Aws::APIGateway::Endpoints::GetResources.build(context)
|
213
|
-
when :get_rest_api
|
214
|
-
Aws::APIGateway::Endpoints::GetRestApi.build(context)
|
215
|
-
when :get_rest_apis
|
216
|
-
Aws::APIGateway::Endpoints::GetRestApis.build(context)
|
217
|
-
when :get_sdk
|
218
|
-
Aws::APIGateway::Endpoints::GetSdk.build(context)
|
219
|
-
when :get_sdk_type
|
220
|
-
Aws::APIGateway::Endpoints::GetSdkType.build(context)
|
221
|
-
when :get_sdk_types
|
222
|
-
Aws::APIGateway::Endpoints::GetSdkTypes.build(context)
|
223
|
-
when :get_stage
|
224
|
-
Aws::APIGateway::Endpoints::GetStage.build(context)
|
225
|
-
when :get_stages
|
226
|
-
Aws::APIGateway::Endpoints::GetStages.build(context)
|
227
|
-
when :get_tags
|
228
|
-
Aws::APIGateway::Endpoints::GetTags.build(context)
|
229
|
-
when :get_usage
|
230
|
-
Aws::APIGateway::Endpoints::GetUsage.build(context)
|
231
|
-
when :get_usage_plan
|
232
|
-
Aws::APIGateway::Endpoints::GetUsagePlan.build(context)
|
233
|
-
when :get_usage_plan_key
|
234
|
-
Aws::APIGateway::Endpoints::GetUsagePlanKey.build(context)
|
235
|
-
when :get_usage_plan_keys
|
236
|
-
Aws::APIGateway::Endpoints::GetUsagePlanKeys.build(context)
|
237
|
-
when :get_usage_plans
|
238
|
-
Aws::APIGateway::Endpoints::GetUsagePlans.build(context)
|
239
|
-
when :get_vpc_link
|
240
|
-
Aws::APIGateway::Endpoints::GetVpcLink.build(context)
|
241
|
-
when :get_vpc_links
|
242
|
-
Aws::APIGateway::Endpoints::GetVpcLinks.build(context)
|
243
|
-
when :import_api_keys
|
244
|
-
Aws::APIGateway::Endpoints::ImportApiKeys.build(context)
|
245
|
-
when :import_documentation_parts
|
246
|
-
Aws::APIGateway::Endpoints::ImportDocumentationParts.build(context)
|
247
|
-
when :import_rest_api
|
248
|
-
Aws::APIGateway::Endpoints::ImportRestApi.build(context)
|
249
|
-
when :put_gateway_response
|
250
|
-
Aws::APIGateway::Endpoints::PutGatewayResponse.build(context)
|
251
|
-
when :put_integration
|
252
|
-
Aws::APIGateway::Endpoints::PutIntegration.build(context)
|
253
|
-
when :put_integration_response
|
254
|
-
Aws::APIGateway::Endpoints::PutIntegrationResponse.build(context)
|
255
|
-
when :put_method
|
256
|
-
Aws::APIGateway::Endpoints::PutMethod.build(context)
|
257
|
-
when :put_method_response
|
258
|
-
Aws::APIGateway::Endpoints::PutMethodResponse.build(context)
|
259
|
-
when :put_rest_api
|
260
|
-
Aws::APIGateway::Endpoints::PutRestApi.build(context)
|
261
|
-
when :tag_resource
|
262
|
-
Aws::APIGateway::Endpoints::TagResource.build(context)
|
263
|
-
when :test_invoke_authorizer
|
264
|
-
Aws::APIGateway::Endpoints::TestInvokeAuthorizer.build(context)
|
265
|
-
when :test_invoke_method
|
266
|
-
Aws::APIGateway::Endpoints::TestInvokeMethod.build(context)
|
267
|
-
when :untag_resource
|
268
|
-
Aws::APIGateway::Endpoints::UntagResource.build(context)
|
269
|
-
when :update_account
|
270
|
-
Aws::APIGateway::Endpoints::UpdateAccount.build(context)
|
271
|
-
when :update_api_key
|
272
|
-
Aws::APIGateway::Endpoints::UpdateApiKey.build(context)
|
273
|
-
when :update_authorizer
|
274
|
-
Aws::APIGateway::Endpoints::UpdateAuthorizer.build(context)
|
275
|
-
when :update_base_path_mapping
|
276
|
-
Aws::APIGateway::Endpoints::UpdateBasePathMapping.build(context)
|
277
|
-
when :update_client_certificate
|
278
|
-
Aws::APIGateway::Endpoints::UpdateClientCertificate.build(context)
|
279
|
-
when :update_deployment
|
280
|
-
Aws::APIGateway::Endpoints::UpdateDeployment.build(context)
|
281
|
-
when :update_documentation_part
|
282
|
-
Aws::APIGateway::Endpoints::UpdateDocumentationPart.build(context)
|
283
|
-
when :update_documentation_version
|
284
|
-
Aws::APIGateway::Endpoints::UpdateDocumentationVersion.build(context)
|
285
|
-
when :update_domain_name
|
286
|
-
Aws::APIGateway::Endpoints::UpdateDomainName.build(context)
|
287
|
-
when :update_gateway_response
|
288
|
-
Aws::APIGateway::Endpoints::UpdateGatewayResponse.build(context)
|
289
|
-
when :update_integration
|
290
|
-
Aws::APIGateway::Endpoints::UpdateIntegration.build(context)
|
291
|
-
when :update_integration_response
|
292
|
-
Aws::APIGateway::Endpoints::UpdateIntegrationResponse.build(context)
|
293
|
-
when :update_method
|
294
|
-
Aws::APIGateway::Endpoints::UpdateMethod.build(context)
|
295
|
-
when :update_method_response
|
296
|
-
Aws::APIGateway::Endpoints::UpdateMethodResponse.build(context)
|
297
|
-
when :update_model
|
298
|
-
Aws::APIGateway::Endpoints::UpdateModel.build(context)
|
299
|
-
when :update_request_validator
|
300
|
-
Aws::APIGateway::Endpoints::UpdateRequestValidator.build(context)
|
301
|
-
when :update_resource
|
302
|
-
Aws::APIGateway::Endpoints::UpdateResource.build(context)
|
303
|
-
when :update_rest_api
|
304
|
-
Aws::APIGateway::Endpoints::UpdateRestApi.build(context)
|
305
|
-
when :update_stage
|
306
|
-
Aws::APIGateway::Endpoints::UpdateStage.build(context)
|
307
|
-
when :update_usage
|
308
|
-
Aws::APIGateway::Endpoints::UpdateUsage.build(context)
|
309
|
-
when :update_usage_plan
|
310
|
-
Aws::APIGateway::Endpoints::UpdateUsagePlan.build(context)
|
311
|
-
when :update_vpc_link
|
312
|
-
Aws::APIGateway::Endpoints::UpdateVpcLink.build(context)
|
313
|
-
end
|
314
|
-
end
|
315
70
|
end
|
316
71
|
|
317
72
|
def add_handlers(handlers, _config)
|
data/lib/aws-sdk-apigateway.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(:apigateway)
|
15
|
+
|
14
16
|
# This module provides support for Amazon API Gateway. This module is available in the
|
15
17
|
# `aws-sdk-apigateway` gem.
|
16
18
|
#
|
@@ -52,7 +54,7 @@ module Aws::APIGateway
|
|
52
54
|
autoload :EndpointProvider, 'aws-sdk-apigateway/endpoint_provider'
|
53
55
|
autoload :Endpoints, 'aws-sdk-apigateway/endpoints'
|
54
56
|
|
55
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.108.0'
|
56
58
|
|
57
59
|
end
|
58
60
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-apigateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.108.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
|