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