aws-sdk-apigateway 1.38.0 → 1.44.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f0c39e53a8c384e134696151f3403d97ee0681ee0ec7fddabe0ab87ffb532a1
4
- data.tar.gz: 22cb946f211bdafa4e998932ad2d13fae4c7546989ad21955cff2c3f9c55b337
3
+ metadata.gz: '095ccf784b18aae208d446f6726f30eacfbfe199c3ad9535aad20c25433d8726'
4
+ data.tar.gz: e1b199f93c0bf32b8cbd2cba271a18a1416c97bdda89b7a416ef5d7697e1ee20
5
5
  SHA512:
6
- metadata.gz: 7181740af87f499c17f53bf72d64e87f74d3dde00eb9732913753cd444ef42aef25a79b7057a1b3602c92c846a4993e615a5d95d56888549c2be6a8ed4eca8b2
7
- data.tar.gz: 2a57161af1c737d206612d63c4b0d40a8b4691bf59081bf72463f0b54814354bb2c198a524c0093b0c6c7fff232e3a8dfaafe6077ec63eb855e36174c1f627b2
6
+ metadata.gz: 7f517cb3e379f91bdea20b221c82270525f517eb33cef6d2ff9ab83c2aa8303e017be0aad8c987ea83d29b3b1101149f9ebdca2dc489c21e031de7b0cb470874
7
+ data.tar.gz: c47b502b96ee14107301abe38b59843f45db1add86cb9a0af851edb06db9f6395e098b35b47688976c6e4a112d4519a9302923311ec27e38ffbad10aba279990
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-apigateway/customizations'
45
45
  # @service
46
46
  module Aws::APIGateway
47
47
 
48
- GEM_VERSION = '1.38.0'
48
+ GEM_VERSION = '1.44.0'
49
49
 
50
50
  end
@@ -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 search for in the following locations:
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 avalid HTTP(S) URI.
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. Defaults to `false`.
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
  #
@@ -4899,6 +4907,8 @@ module Aws::APIGateway
4899
4907
  # Custom timeout between 50 and 29,000 milliseconds. The default value
4900
4908
  # is 29,000 milliseconds or 29 seconds.
4901
4909
  #
4910
+ # @option params [Types::TlsConfig] :tls_config
4911
+ #
4902
4912
  # @return [Types::Integration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4903
4913
  #
4904
4914
  # * {Types::Integration#type #type} => String
@@ -4915,6 +4925,7 @@ module Aws::APIGateway
4915
4925
  # * {Types::Integration#cache_namespace #cache_namespace} => String
4916
4926
  # * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
4917
4927
  # * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
4928
+ # * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
4918
4929
  #
4919
4930
  # @example Request syntax with placeholder values
4920
4931
  #
@@ -4939,6 +4950,9 @@ module Aws::APIGateway
4939
4950
  # cache_key_parameters: ["String"],
4940
4951
  # content_handling: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
4941
4952
  # timeout_in_millis: 1,
4953
+ # tls_config: {
4954
+ # insecure_skip_verification: false,
4955
+ # },
4942
4956
  # })
4943
4957
  #
4944
4958
  # @example Response structure
@@ -4967,6 +4981,7 @@ module Aws::APIGateway
4967
4981
  # resp.integration_responses["String"].response_templates #=> Hash
4968
4982
  # resp.integration_responses["String"].response_templates["String"] #=> String
4969
4983
  # resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
4984
+ # resp.tls_config.insecure_skip_verification #=> Boolean
4970
4985
  #
4971
4986
  # @overload put_integration(params = {})
4972
4987
  # @param [Hash] params ({})
@@ -5206,6 +5221,7 @@ module Aws::APIGateway
5206
5221
  # resp.method_integration.integration_responses["String"].response_templates #=> Hash
5207
5222
  # resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
5208
5223
  # resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
5224
+ # resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
5209
5225
  # resp.authorization_scopes #=> Array
5210
5226
  # resp.authorization_scopes[0] #=> String
5211
5227
  #
@@ -6194,6 +6210,7 @@ module Aws::APIGateway
6194
6210
  # * {Types::Integration#cache_namespace #cache_namespace} => String
6195
6211
  # * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
6196
6212
  # * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
6213
+ # * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
6197
6214
  #
6198
6215
  # @example Request syntax with placeholder values
6199
6216
  #
@@ -6237,6 +6254,7 @@ module Aws::APIGateway
6237
6254
  # resp.integration_responses["String"].response_templates #=> Hash
6238
6255
  # resp.integration_responses["String"].response_templates["String"] #=> String
6239
6256
  # resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
6257
+ # resp.tls_config.insecure_skip_verification #=> Boolean
6240
6258
  #
6241
6259
  # @overload update_integration(params = {})
6242
6260
  # @param [Hash] params ({})
@@ -6395,6 +6413,7 @@ module Aws::APIGateway
6395
6413
  # resp.method_integration.integration_responses["String"].response_templates #=> Hash
6396
6414
  # resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
6397
6415
  # resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
6416
+ # resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
6398
6417
  # resp.authorization_scopes #=> Array
6399
6418
  # resp.authorization_scopes[0] #=> String
6400
6419
  #
@@ -6641,6 +6660,7 @@ module Aws::APIGateway
6641
6660
  # resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
6642
6661
  # resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
6643
6662
  # resp.resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
6663
+ # resp.resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
6644
6664
  # resp.resource_methods["String"].authorization_scopes #=> Array
6645
6665
  # resp.resource_methods["String"].authorization_scopes[0] #=> String
6646
6666
  #
@@ -6991,7 +7011,7 @@ module Aws::APIGateway
6991
7011
  params: params,
6992
7012
  config: config)
6993
7013
  context[:gem_name] = 'aws-sdk-apigateway'
6994
- context[:gem_version] = '1.38.0'
7014
+ context[:gem_version] = '1.44.0'
6995
7015
  Seahorse::Client::Request.new(handlers, context)
6996
7016
  end
6997
7017
 
@@ -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
 
@@ -6583,7 +6595,7 @@ module Aws::APIGateway
6583
6595
  #
6584
6596
  #
6585
6597
  #
6586
- # [1]: https://velocity.apache.org/engine/devel/vtl-reference-guide.html
6598
+ # [1]: https://velocity.apache.org/engine/devel/vtl-reference.html
6587
6599
  # @return [String]
6588
6600
  #
6589
6601
  class Template < Struct.new(
@@ -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.38.0
4
+ version: 1.44.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-04-07 00:00:00.000000000 Z
11
+ date: 2020-06-11 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.71.0
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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement