aws-sdk-apigateway 1.41.0 → 1.42.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: ff652ee43bb9ed9d4348fd40c28aecbcb383b426ee94794d4c818c0914cca928
4
- data.tar.gz: f92453e7edb01392a9d8a849d37b7a0f975e01b9c71ad1815c19b271bac9ebac
3
+ metadata.gz: 02d6786949913c0005f8ed39d9ed9ae96c4674e7a0f1ddc90a49f5d8e2e137dc
4
+ data.tar.gz: 80254a27b045223cf9a9276f612f29503effe343de129dd63f9efa1928db98f0
5
5
  SHA512:
6
- metadata.gz: f56b34281c3c4fb9e5a8c9faae845f78902962cce739e7f6574af9434fc34fbdeea59e252ec9d366ce1f2e2fa57e45336566a0ba14355585d07941f2a67b7820
7
- data.tar.gz: a0936cda0b2542e23dc35daa5838eaeb8686297fced1c39734eb5be4af0b5940287950a5d7b4514369ed9578edca42c23abe66ddc2eb7be78e79bcc8a0efbfbf
6
+ metadata.gz: 44f32f1c15b42f49e2ee4ab26c8401b4ed4b5ba483bee95ae3f7d6b03d2988c854b9ed7c797f0c96ebf010526dfb83c6e58d9e5f060469321d77b15c8c241f41
7
+ data.tar.gz: 91543f735fd65a2255226cfb92598cea8cfb4b84f8dfa272bf31c6c9f2519e919a4344a852598028b8b512640a83c7e6daaf29b321491a5886b6f6f434e7b606
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-apigateway/customizations'
45
45
  # @service
46
46
  module Aws::APIGateway
47
47
 
48
- GEM_VERSION = '1.41.0'
48
+ GEM_VERSION = '1.42.0'
49
49
 
50
50
  end
@@ -1064,6 +1064,7 @@ module Aws::APIGateway
1064
1064
  # resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
1065
1065
  # resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
1066
1066
  # resp.resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
1067
+ # resp.resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
1067
1068
  # resp.resource_methods["String"].authorization_scopes #=> Array
1068
1069
  # resp.resource_methods["String"].authorization_scopes[0] #=> String
1069
1070
  #
@@ -3147,6 +3148,7 @@ module Aws::APIGateway
3147
3148
  # * {Types::Integration#cache_namespace #cache_namespace} => String
3148
3149
  # * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
3149
3150
  # * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
3151
+ # * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
3150
3152
  #
3151
3153
  # @example Request syntax with placeholder values
3152
3154
  #
@@ -3182,6 +3184,7 @@ module Aws::APIGateway
3182
3184
  # resp.integration_responses["String"].response_templates #=> Hash
3183
3185
  # resp.integration_responses["String"].response_templates["String"] #=> String
3184
3186
  # resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
3187
+ # resp.tls_config.insecure_skip_verification #=> Boolean
3185
3188
  #
3186
3189
  # @overload get_integration(params = {})
3187
3190
  # @param [Hash] params ({})
@@ -3316,6 +3319,7 @@ module Aws::APIGateway
3316
3319
  # resp.method_integration.integration_responses["String"].response_templates #=> Hash
3317
3320
  # resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
3318
3321
  # resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
3322
+ # resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
3319
3323
  # resp.authorization_scopes #=> Array
3320
3324
  # resp.authorization_scopes[0] #=> String
3321
3325
  #
@@ -3646,6 +3650,7 @@ module Aws::APIGateway
3646
3650
  # resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
3647
3651
  # resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
3648
3652
  # resp.resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
3653
+ # resp.resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
3649
3654
  # resp.resource_methods["String"].authorization_scopes #=> Array
3650
3655
  # resp.resource_methods["String"].authorization_scopes[0] #=> String
3651
3656
  #
@@ -3742,6 +3747,7 @@ module Aws::APIGateway
3742
3747
  # resp.items[0].resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
3743
3748
  # resp.items[0].resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
3744
3749
  # resp.items[0].resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
3750
+ # resp.items[0].resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
3745
3751
  # resp.items[0].resource_methods["String"].authorization_scopes #=> Array
3746
3752
  # resp.items[0].resource_methods["String"].authorization_scopes[0] #=> String
3747
3753
  #
@@ -4899,6 +4905,8 @@ module Aws::APIGateway
4899
4905
  # Custom timeout between 50 and 29,000 milliseconds. The default value
4900
4906
  # is 29,000 milliseconds or 29 seconds.
4901
4907
  #
4908
+ # @option params [Types::TlsConfig] :tls_config
4909
+ #
4902
4910
  # @return [Types::Integration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4903
4911
  #
4904
4912
  # * {Types::Integration#type #type} => String
@@ -4915,6 +4923,7 @@ module Aws::APIGateway
4915
4923
  # * {Types::Integration#cache_namespace #cache_namespace} => String
4916
4924
  # * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
4917
4925
  # * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
4926
+ # * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
4918
4927
  #
4919
4928
  # @example Request syntax with placeholder values
4920
4929
  #
@@ -4939,6 +4948,9 @@ module Aws::APIGateway
4939
4948
  # cache_key_parameters: ["String"],
4940
4949
  # content_handling: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
4941
4950
  # timeout_in_millis: 1,
4951
+ # tls_config: {
4952
+ # insecure_skip_verification: false,
4953
+ # },
4942
4954
  # })
4943
4955
  #
4944
4956
  # @example Response structure
@@ -4967,6 +4979,7 @@ module Aws::APIGateway
4967
4979
  # resp.integration_responses["String"].response_templates #=> Hash
4968
4980
  # resp.integration_responses["String"].response_templates["String"] #=> String
4969
4981
  # resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
4982
+ # resp.tls_config.insecure_skip_verification #=> Boolean
4970
4983
  #
4971
4984
  # @overload put_integration(params = {})
4972
4985
  # @param [Hash] params ({})
@@ -5206,6 +5219,7 @@ module Aws::APIGateway
5206
5219
  # resp.method_integration.integration_responses["String"].response_templates #=> Hash
5207
5220
  # resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
5208
5221
  # resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
5222
+ # resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
5209
5223
  # resp.authorization_scopes #=> Array
5210
5224
  # resp.authorization_scopes[0] #=> String
5211
5225
  #
@@ -6194,6 +6208,7 @@ module Aws::APIGateway
6194
6208
  # * {Types::Integration#cache_namespace #cache_namespace} => String
6195
6209
  # * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
6196
6210
  # * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
6211
+ # * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
6197
6212
  #
6198
6213
  # @example Request syntax with placeholder values
6199
6214
  #
@@ -6237,6 +6252,7 @@ module Aws::APIGateway
6237
6252
  # resp.integration_responses["String"].response_templates #=> Hash
6238
6253
  # resp.integration_responses["String"].response_templates["String"] #=> String
6239
6254
  # resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
6255
+ # resp.tls_config.insecure_skip_verification #=> Boolean
6240
6256
  #
6241
6257
  # @overload update_integration(params = {})
6242
6258
  # @param [Hash] params ({})
@@ -6395,6 +6411,7 @@ module Aws::APIGateway
6395
6411
  # resp.method_integration.integration_responses["String"].response_templates #=> Hash
6396
6412
  # resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
6397
6413
  # resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
6414
+ # resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
6398
6415
  # resp.authorization_scopes #=> Array
6399
6416
  # resp.authorization_scopes[0] #=> String
6400
6417
  #
@@ -6641,6 +6658,7 @@ module Aws::APIGateway
6641
6658
  # resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
6642
6659
  # resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
6643
6660
  # resp.resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
6661
+ # resp.resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
6644
6662
  # resp.resource_methods["String"].authorization_scopes #=> Array
6645
6663
  # resp.resource_methods["String"].authorization_scopes[0] #=> String
6646
6664
  #
@@ -6991,7 +7009,7 @@ module Aws::APIGateway
6991
7009
  params: params,
6992
7010
  config: config)
6993
7011
  context[:gem_name] = 'aws-sdk-apigateway'
6994
- context[:gem_version] = '1.41.0'
7012
+ context[:gem_version] = '1.42.0'
6995
7013
  Seahorse::Client::Request.new(handlers, context)
6996
7014
  end
6997
7015
 
@@ -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
@@ -4707,6 +4707,10 @@ module Aws::APIGateway
4707
4707
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html
4708
4708
  # @return [Hash<String,Types::IntegrationResponse>]
4709
4709
  #
4710
+ # @!attribute [rw] tls_config
4711
+ # Specifies the TLS configuration for an integration.
4712
+ # @return [Types::TlsConfig]
4713
+ #
4710
4714
  class Integration < Struct.new(
4711
4715
  :type,
4712
4716
  :http_method,
@@ -4721,7 +4725,8 @@ module Aws::APIGateway
4721
4725
  :timeout_in_millis,
4722
4726
  :cache_namespace,
4723
4727
  :cache_key_parameters,
4724
- :integration_responses)
4728
+ :integration_responses,
4729
+ :tls_config)
4725
4730
  include Aws::Structure
4726
4731
  end
4727
4732
 
@@ -5457,6 +5462,9 @@ module Aws::APIGateway
5457
5462
  # cache_key_parameters: ["String"],
5458
5463
  # content_handling: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
5459
5464
  # timeout_in_millis: 1,
5465
+ # tls_config: {
5466
+ # insecure_skip_verification: false,
5467
+ # },
5460
5468
  # }
5461
5469
  #
5462
5470
  # @!attribute [rw] rest_api_id
@@ -5603,6 +5611,9 @@ module Aws::APIGateway
5603
5611
  # is 29,000 milliseconds or 29 seconds.
5604
5612
  # @return [Integer]
5605
5613
  #
5614
+ # @!attribute [rw] tls_config
5615
+ # @return [Types::TlsConfig]
5616
+ #
5606
5617
  class PutIntegrationRequest < Struct.new(
5607
5618
  :rest_api_id,
5608
5619
  :resource_id,
@@ -5619,7 +5630,8 @@ module Aws::APIGateway
5619
5630
  :cache_namespace,
5620
5631
  :cache_key_parameters,
5621
5632
  :content_handling,
5622
- :timeout_in_millis)
5633
+ :timeout_in_millis,
5634
+ :tls_config)
5623
5635
  include Aws::Structure
5624
5636
  end
5625
5637
 
@@ -6865,6 +6877,34 @@ module Aws::APIGateway
6865
6877
  include Aws::Structure
6866
6878
  end
6867
6879
 
6880
+ # @note When making an API call, you may pass TlsConfig
6881
+ # data as a hash:
6882
+ #
6883
+ # {
6884
+ # insecure_skip_verification: false,
6885
+ # }
6886
+ #
6887
+ # @!attribute [rw] insecure_skip_verification
6888
+ # Specifies whether API Gateway skips trust chain validation of the
6889
+ # server certificate during the TLS handshake. Supported only for
6890
+ # `HTTP` and `HTTP_PROXY` integrations. By default, API Gateway
6891
+ # validates that certificates for integration endpoints are issued by
6892
+ # a [supported Certificate Authority][1]. If enabled, API Gateway
6893
+ # skips trust chain validation of the server certificate. This is not
6894
+ # recommended, but it enables you to use certificates that are signed
6895
+ # by private Certificate Authorities, or certificates that are
6896
+ # self-signed.
6897
+ #
6898
+ #
6899
+ #
6900
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-supported-certificate-authorities-for-http-endpoints.html
6901
+ # @return [Boolean]
6902
+ #
6903
+ class TlsConfig < Struct.new(
6904
+ :insecure_skip_verification)
6905
+ include Aws::Structure
6906
+ end
6907
+
6868
6908
  # The request has reached its throttling limit. Retry after the
6869
6909
  # specified time period.
6870
6910
  #
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.41.0
4
+ version: 1.42.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-05-28 00:00:00.000000000 Z
11
+ date: 2020-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core