aws-sdk-apigateway 1.39.0 → 1.45.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/lib/aws-sdk-apigateway.rb +1 -1
- data/lib/aws-sdk-apigateway/client.rb +33 -8
- data/lib/aws-sdk-apigateway/client_api.rb +6 -0
- data/lib/aws-sdk-apigateway/types.rb +55 -9
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55cc03fd0f877484e842adc26b865e4e5db267654ff569d1ada0289a242f6c3a
|
4
|
+
data.tar.gz: a02b1657165bd964db9787945d5360a06074b9ce5c25c53acdc5759523b2d9cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65092fa91295205bd76e54eff96ba144c729ffe0cc5f015fe8d54671a071c26e0bb4be0897e3cb8c4976af3aec740915a37655420cc7a146d9bad30b3a49e590
|
7
|
+
data.tar.gz: 9bbe5a7719976e58b917ec6fd728437fd1a612e28c6606b1e5a40bcb15c93c001f0fd1ce2a051460422ecf99b534593153eea1b87a7e4ce9b541422a11ae2688
|
data/lib/aws-sdk-apigateway.rb
CHANGED
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
require 'aws-sdk-apigateway/plugins/apply_content_type_header.rb'
|
@@ -70,6 +71,7 @@ module Aws::APIGateway
|
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
71
72
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
72
73
|
add_plugin(Aws::Plugins::TransferEncoding)
|
74
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
73
75
|
add_plugin(Aws::Plugins::SignatureV4)
|
74
76
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
75
77
|
add_plugin(Aws::APIGateway::Plugins::ApplyContentTypeHeader)
|
@@ -107,7 +109,7 @@ module Aws::APIGateway
|
|
107
109
|
# @option options [required, String] :region
|
108
110
|
# The AWS region to connect to. The configured `:region` is
|
109
111
|
# used to determine the service `:endpoint`. When not passed,
|
110
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
111
113
|
#
|
112
114
|
# * `Aws.config[:region]`
|
113
115
|
# * `ENV['AWS_REGION']`
|
@@ -163,7 +165,7 @@ module Aws::APIGateway
|
|
163
165
|
# @option options [String] :endpoint
|
164
166
|
# The client endpoint is normally constructed from the `:region`
|
165
167
|
# option. You should only configure an `:endpoint` when connecting
|
166
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
167
169
|
#
|
168
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
169
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -178,7 +180,7 @@ module Aws::APIGateway
|
|
178
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
179
181
|
#
|
180
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
181
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
182
184
|
#
|
183
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
184
186
|
# The log formatter.
|
@@ -1064,6 +1066,7 @@ module Aws::APIGateway
|
|
1064
1066
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
|
1065
1067
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
|
1066
1068
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
1069
|
+
# resp.resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
|
1067
1070
|
# resp.resource_methods["String"].authorization_scopes #=> Array
|
1068
1071
|
# resp.resource_methods["String"].authorization_scopes[0] #=> String
|
1069
1072
|
#
|
@@ -3147,6 +3150,7 @@ module Aws::APIGateway
|
|
3147
3150
|
# * {Types::Integration#cache_namespace #cache_namespace} => String
|
3148
3151
|
# * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
|
3149
3152
|
# * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
|
3153
|
+
# * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
|
3150
3154
|
#
|
3151
3155
|
# @example Request syntax with placeholder values
|
3152
3156
|
#
|
@@ -3182,6 +3186,7 @@ module Aws::APIGateway
|
|
3182
3186
|
# resp.integration_responses["String"].response_templates #=> Hash
|
3183
3187
|
# resp.integration_responses["String"].response_templates["String"] #=> String
|
3184
3188
|
# resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
3189
|
+
# resp.tls_config.insecure_skip_verification #=> Boolean
|
3185
3190
|
#
|
3186
3191
|
# @overload get_integration(params = {})
|
3187
3192
|
# @param [Hash] params ({})
|
@@ -3316,6 +3321,7 @@ module Aws::APIGateway
|
|
3316
3321
|
# resp.method_integration.integration_responses["String"].response_templates #=> Hash
|
3317
3322
|
# resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
|
3318
3323
|
# resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
3324
|
+
# resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
|
3319
3325
|
# resp.authorization_scopes #=> Array
|
3320
3326
|
# resp.authorization_scopes[0] #=> String
|
3321
3327
|
#
|
@@ -3646,6 +3652,7 @@ module Aws::APIGateway
|
|
3646
3652
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
|
3647
3653
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
|
3648
3654
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
3655
|
+
# resp.resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
|
3649
3656
|
# resp.resource_methods["String"].authorization_scopes #=> Array
|
3650
3657
|
# resp.resource_methods["String"].authorization_scopes[0] #=> String
|
3651
3658
|
#
|
@@ -3742,6 +3749,7 @@ module Aws::APIGateway
|
|
3742
3749
|
# resp.items[0].resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
|
3743
3750
|
# resp.items[0].resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
|
3744
3751
|
# resp.items[0].resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
3752
|
+
# resp.items[0].resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
|
3745
3753
|
# resp.items[0].resource_methods["String"].authorization_scopes #=> Array
|
3746
3754
|
# resp.items[0].resource_methods["String"].authorization_scopes[0] #=> String
|
3747
3755
|
#
|
@@ -4636,7 +4644,7 @@ module Aws::APIGateway
|
|
4636
4644
|
# @option params [required, String, IO] :body
|
4637
4645
|
# \[Required\] The POST request body containing external API
|
4638
4646
|
# definitions. Currently, only OpenAPI definition JSON/YAML files are
|
4639
|
-
# supported. The maximum size of the API definition file is
|
4647
|
+
# supported. The maximum size of the API definition file is 6MB.
|
4640
4648
|
#
|
4641
4649
|
# @return [Types::RestApi] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4642
4650
|
#
|
@@ -4874,10 +4882,15 @@ module Aws::APIGateway
|
|
4874
4882
|
# the same 415 response.
|
4875
4883
|
#
|
4876
4884
|
# @option params [String] :cache_namespace
|
4877
|
-
#
|
4885
|
+
# Specifies a group of related cached parameters. By default, API
|
4886
|
+
# Gateway uses the resource ID as the `cacheNamespace`. You can specify
|
4887
|
+
# the same `cacheNamespace` across resources to return the same cached
|
4888
|
+
# data for requests to different resources.
|
4878
4889
|
#
|
4879
4890
|
# @option params [Array<String>] :cache_key_parameters
|
4880
|
-
#
|
4891
|
+
# A list of request parameters whose values API Gateway caches. To be
|
4892
|
+
# valid values for `cacheKeyParameters`, these parameters must also be
|
4893
|
+
# specified for Method `requestParameters`.
|
4881
4894
|
#
|
4882
4895
|
# @option params [String] :content_handling
|
4883
4896
|
# Specifies how to handle request payload content type conversions.
|
@@ -4899,6 +4912,8 @@ module Aws::APIGateway
|
|
4899
4912
|
# Custom timeout between 50 and 29,000 milliseconds. The default value
|
4900
4913
|
# is 29,000 milliseconds or 29 seconds.
|
4901
4914
|
#
|
4915
|
+
# @option params [Types::TlsConfig] :tls_config
|
4916
|
+
#
|
4902
4917
|
# @return [Types::Integration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4903
4918
|
#
|
4904
4919
|
# * {Types::Integration#type #type} => String
|
@@ -4915,6 +4930,7 @@ module Aws::APIGateway
|
|
4915
4930
|
# * {Types::Integration#cache_namespace #cache_namespace} => String
|
4916
4931
|
# * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
|
4917
4932
|
# * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
|
4933
|
+
# * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
|
4918
4934
|
#
|
4919
4935
|
# @example Request syntax with placeholder values
|
4920
4936
|
#
|
@@ -4939,6 +4955,9 @@ module Aws::APIGateway
|
|
4939
4955
|
# cache_key_parameters: ["String"],
|
4940
4956
|
# content_handling: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
|
4941
4957
|
# timeout_in_millis: 1,
|
4958
|
+
# tls_config: {
|
4959
|
+
# insecure_skip_verification: false,
|
4960
|
+
# },
|
4942
4961
|
# })
|
4943
4962
|
#
|
4944
4963
|
# @example Response structure
|
@@ -4967,6 +4986,7 @@ module Aws::APIGateway
|
|
4967
4986
|
# resp.integration_responses["String"].response_templates #=> Hash
|
4968
4987
|
# resp.integration_responses["String"].response_templates["String"] #=> String
|
4969
4988
|
# resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
4989
|
+
# resp.tls_config.insecure_skip_verification #=> Boolean
|
4970
4990
|
#
|
4971
4991
|
# @overload put_integration(params = {})
|
4972
4992
|
# @param [Hash] params ({})
|
@@ -5206,6 +5226,7 @@ module Aws::APIGateway
|
|
5206
5226
|
# resp.method_integration.integration_responses["String"].response_templates #=> Hash
|
5207
5227
|
# resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
|
5208
5228
|
# resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
5229
|
+
# resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
|
5209
5230
|
# resp.authorization_scopes #=> Array
|
5210
5231
|
# resp.authorization_scopes[0] #=> String
|
5211
5232
|
#
|
@@ -5315,7 +5336,7 @@ module Aws::APIGateway
|
|
5315
5336
|
# @option params [required, String, IO] :body
|
5316
5337
|
# \[Required\] The PUT request body containing external API definitions.
|
5317
5338
|
# Currently, only OpenAPI definition JSON/YAML files are supported. The
|
5318
|
-
# maximum size of the API definition file is
|
5339
|
+
# maximum size of the API definition file is 6MB.
|
5319
5340
|
#
|
5320
5341
|
# @return [Types::RestApi] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5321
5342
|
#
|
@@ -6194,6 +6215,7 @@ module Aws::APIGateway
|
|
6194
6215
|
# * {Types::Integration#cache_namespace #cache_namespace} => String
|
6195
6216
|
# * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
|
6196
6217
|
# * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
|
6218
|
+
# * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
|
6197
6219
|
#
|
6198
6220
|
# @example Request syntax with placeholder values
|
6199
6221
|
#
|
@@ -6237,6 +6259,7 @@ module Aws::APIGateway
|
|
6237
6259
|
# resp.integration_responses["String"].response_templates #=> Hash
|
6238
6260
|
# resp.integration_responses["String"].response_templates["String"] #=> String
|
6239
6261
|
# resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
6262
|
+
# resp.tls_config.insecure_skip_verification #=> Boolean
|
6240
6263
|
#
|
6241
6264
|
# @overload update_integration(params = {})
|
6242
6265
|
# @param [Hash] params ({})
|
@@ -6395,6 +6418,7 @@ module Aws::APIGateway
|
|
6395
6418
|
# resp.method_integration.integration_responses["String"].response_templates #=> Hash
|
6396
6419
|
# resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
|
6397
6420
|
# resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
6421
|
+
# resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
|
6398
6422
|
# resp.authorization_scopes #=> Array
|
6399
6423
|
# resp.authorization_scopes[0] #=> String
|
6400
6424
|
#
|
@@ -6641,6 +6665,7 @@ module Aws::APIGateway
|
|
6641
6665
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
|
6642
6666
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
|
6643
6667
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
6668
|
+
# resp.resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
|
6644
6669
|
# resp.resource_methods["String"].authorization_scopes #=> Array
|
6645
6670
|
# resp.resource_methods["String"].authorization_scopes[0] #=> String
|
6646
6671
|
#
|
@@ -6991,7 +7016,7 @@ module Aws::APIGateway
|
|
6991
7016
|
params: params,
|
6992
7017
|
config: config)
|
6993
7018
|
context[:gem_name] = 'aws-sdk-apigateway'
|
6994
|
-
context[:gem_version] = '1.
|
7019
|
+
context[:gem_version] = '1.45.0'
|
6995
7020
|
Seahorse::Client::Request.new(handlers, context)
|
6996
7021
|
end
|
6997
7022
|
|
@@ -236,6 +236,7 @@ module Aws::APIGateway
|
|
236
236
|
TestInvokeMethodResponse = Shapes::StructureShape.new(name: 'TestInvokeMethodResponse')
|
237
237
|
ThrottleSettings = Shapes::StructureShape.new(name: 'ThrottleSettings')
|
238
238
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
239
|
+
TlsConfig = Shapes::StructureShape.new(name: 'TlsConfig')
|
239
240
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
240
241
|
UnauthorizedCacheControlHeaderStrategy = Shapes::StringShape.new(name: 'UnauthorizedCacheControlHeaderStrategy')
|
241
242
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
@@ -915,6 +916,7 @@ module Aws::APIGateway
|
|
915
916
|
Integration.add_member(:cache_namespace, Shapes::ShapeRef.new(shape: String, location_name: "cacheNamespace"))
|
916
917
|
Integration.add_member(:cache_key_parameters, Shapes::ShapeRef.new(shape: ListOfString, location_name: "cacheKeyParameters"))
|
917
918
|
Integration.add_member(:integration_responses, Shapes::ShapeRef.new(shape: MapOfIntegrationResponse, location_name: "integrationResponses"))
|
919
|
+
Integration.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
918
920
|
Integration.struct_class = Types::Integration
|
919
921
|
|
920
922
|
IntegrationResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, location_name: "statusCode"))
|
@@ -1092,6 +1094,7 @@ module Aws::APIGateway
|
|
1092
1094
|
PutIntegrationRequest.add_member(:cache_key_parameters, Shapes::ShapeRef.new(shape: ListOfString, location_name: "cacheKeyParameters"))
|
1093
1095
|
PutIntegrationRequest.add_member(:content_handling, Shapes::ShapeRef.new(shape: ContentHandlingStrategy, location_name: "contentHandling"))
|
1094
1096
|
PutIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "timeoutInMillis"))
|
1097
|
+
PutIntegrationRequest.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
1095
1098
|
PutIntegrationRequest.struct_class = Types::PutIntegrationRequest
|
1096
1099
|
|
1097
1100
|
PutIntegrationResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
|
@@ -1284,6 +1287,9 @@ module Aws::APIGateway
|
|
1284
1287
|
ThrottleSettings.add_member(:rate_limit, Shapes::ShapeRef.new(shape: Double, location_name: "rateLimit"))
|
1285
1288
|
ThrottleSettings.struct_class = Types::ThrottleSettings
|
1286
1289
|
|
1290
|
+
TlsConfig.add_member(:insecure_skip_verification, Shapes::ShapeRef.new(shape: Boolean, location_name: "insecureSkipVerification"))
|
1291
|
+
TlsConfig.struct_class = Types::TlsConfig
|
1292
|
+
|
1287
1293
|
TooManyRequestsException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
|
1288
1294
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1289
1295
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
@@ -4471,7 +4471,7 @@ module Aws::APIGateway
|
|
4471
4471
|
# @!attribute [rw] body
|
4472
4472
|
# \[Required\] The POST request body containing external API
|
4473
4473
|
# definitions. Currently, only OpenAPI definition JSON/YAML files are
|
4474
|
-
# supported. The maximum size of the API definition file is
|
4474
|
+
# supported. The maximum size of the API definition file is 6MB.
|
4475
4475
|
# @return [String]
|
4476
4476
|
#
|
4477
4477
|
class ImportRestApiRequest < Struct.new(
|
@@ -4662,9 +4662,10 @@ module Aws::APIGateway
|
|
4662
4662
|
# @return [Integer]
|
4663
4663
|
#
|
4664
4664
|
# @!attribute [rw] cache_namespace
|
4665
|
-
#
|
4666
|
-
#
|
4667
|
-
#
|
4665
|
+
# Specifies a group of related cached parameters. By default, API
|
4666
|
+
# Gateway uses the resource ID as the `cacheNamespace`. You can
|
4667
|
+
# specify the same `cacheNamespace` across resources to return the
|
4668
|
+
# same cached data for requests to different resources.
|
4668
4669
|
# @return [String]
|
4669
4670
|
#
|
4670
4671
|
# @!attribute [rw] cache_key_parameters
|
@@ -4707,6 +4708,10 @@ module Aws::APIGateway
|
|
4707
4708
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html
|
4708
4709
|
# @return [Hash<String,Types::IntegrationResponse>]
|
4709
4710
|
#
|
4711
|
+
# @!attribute [rw] tls_config
|
4712
|
+
# Specifies the TLS configuration for an integration.
|
4713
|
+
# @return [Types::TlsConfig]
|
4714
|
+
#
|
4710
4715
|
class Integration < Struct.new(
|
4711
4716
|
:type,
|
4712
4717
|
:http_method,
|
@@ -4721,7 +4726,8 @@ module Aws::APIGateway
|
|
4721
4726
|
:timeout_in_millis,
|
4722
4727
|
:cache_namespace,
|
4723
4728
|
:cache_key_parameters,
|
4724
|
-
:integration_responses
|
4729
|
+
:integration_responses,
|
4730
|
+
:tls_config)
|
4725
4731
|
include Aws::Structure
|
4726
4732
|
end
|
4727
4733
|
|
@@ -5457,6 +5463,9 @@ module Aws::APIGateway
|
|
5457
5463
|
# cache_key_parameters: ["String"],
|
5458
5464
|
# content_handling: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
|
5459
5465
|
# timeout_in_millis: 1,
|
5466
|
+
# tls_config: {
|
5467
|
+
# insecure_skip_verification: false,
|
5468
|
+
# },
|
5460
5469
|
# }
|
5461
5470
|
#
|
5462
5471
|
# @!attribute [rw] rest_api_id
|
@@ -5574,11 +5583,16 @@ module Aws::APIGateway
|
|
5574
5583
|
# @return [String]
|
5575
5584
|
#
|
5576
5585
|
# @!attribute [rw] cache_namespace
|
5577
|
-
#
|
5586
|
+
# Specifies a group of related cached parameters. By default, API
|
5587
|
+
# Gateway uses the resource ID as the `cacheNamespace`. You can
|
5588
|
+
# specify the same `cacheNamespace` across resources to return the
|
5589
|
+
# same cached data for requests to different resources.
|
5578
5590
|
# @return [String]
|
5579
5591
|
#
|
5580
5592
|
# @!attribute [rw] cache_key_parameters
|
5581
|
-
#
|
5593
|
+
# A list of request parameters whose values API Gateway caches. To be
|
5594
|
+
# valid values for `cacheKeyParameters`, these parameters must also be
|
5595
|
+
# specified for Method `requestParameters`.
|
5582
5596
|
# @return [Array<String>]
|
5583
5597
|
#
|
5584
5598
|
# @!attribute [rw] content_handling
|
@@ -5603,6 +5617,9 @@ module Aws::APIGateway
|
|
5603
5617
|
# is 29,000 milliseconds or 29 seconds.
|
5604
5618
|
# @return [Integer]
|
5605
5619
|
#
|
5620
|
+
# @!attribute [rw] tls_config
|
5621
|
+
# @return [Types::TlsConfig]
|
5622
|
+
#
|
5606
5623
|
class PutIntegrationRequest < Struct.new(
|
5607
5624
|
:rest_api_id,
|
5608
5625
|
:resource_id,
|
@@ -5619,7 +5636,8 @@ module Aws::APIGateway
|
|
5619
5636
|
:cache_namespace,
|
5620
5637
|
:cache_key_parameters,
|
5621
5638
|
:content_handling,
|
5622
|
-
:timeout_in_millis
|
5639
|
+
:timeout_in_millis,
|
5640
|
+
:tls_config)
|
5623
5641
|
include Aws::Structure
|
5624
5642
|
end
|
5625
5643
|
|
@@ -5935,7 +5953,7 @@ module Aws::APIGateway
|
|
5935
5953
|
# @!attribute [rw] body
|
5936
5954
|
# \[Required\] The PUT request body containing external API
|
5937
5955
|
# definitions. Currently, only OpenAPI definition JSON/YAML files are
|
5938
|
-
# supported. The maximum size of the API definition file is
|
5956
|
+
# supported. The maximum size of the API definition file is 6MB.
|
5939
5957
|
# @return [String]
|
5940
5958
|
#
|
5941
5959
|
class PutRestApiRequest < Struct.new(
|
@@ -6865,6 +6883,34 @@ module Aws::APIGateway
|
|
6865
6883
|
include Aws::Structure
|
6866
6884
|
end
|
6867
6885
|
|
6886
|
+
# @note When making an API call, you may pass TlsConfig
|
6887
|
+
# data as a hash:
|
6888
|
+
#
|
6889
|
+
# {
|
6890
|
+
# insecure_skip_verification: false,
|
6891
|
+
# }
|
6892
|
+
#
|
6893
|
+
# @!attribute [rw] insecure_skip_verification
|
6894
|
+
# Specifies whether or not API Gateway skips verification that the
|
6895
|
+
# certificate for an integration endpoint is issued by a [supported
|
6896
|
+
# certificate authority][1]. This isn’t recommended, but it enables
|
6897
|
+
# you to use certificates that are signed by private certificate
|
6898
|
+
# authorities, or certificates that are self-signed. If enabled, API
|
6899
|
+
# Gateway still performs basic certificate validation, which includes
|
6900
|
+
# checking the certificate's expiration date, hostname, and presence
|
6901
|
+
# of a root certificate authority. Supported only for `HTTP` and
|
6902
|
+
# `HTTP_PROXY` integrations.
|
6903
|
+
#
|
6904
|
+
#
|
6905
|
+
#
|
6906
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-supported-certificate-authorities-for-http-endpoints.html
|
6907
|
+
# @return [Boolean]
|
6908
|
+
#
|
6909
|
+
class TlsConfig < Struct.new(
|
6910
|
+
:insecure_skip_verification)
|
6911
|
+
include Aws::Structure
|
6912
|
+
end
|
6913
|
+
|
6868
6914
|
# The request has reached its throttling limit. Retry after the
|
6869
6915
|
# specified time period.
|
6870
6916
|
#
|
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.45.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: 2020-
|
11
|
+
date: 2020-06-12 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|