lib/aws-sdk-apigatewayv2/client.rb in aws-sdk-apigatewayv2-1.18.0 vs lib/aws-sdk-apigatewayv2/client.rb in aws-sdk-apigatewayv2-1.19.0
- old
+ new
@@ -267,12 +267,11 @@
# seconds to wait when opening a HTTP session before raising a
# `Timeout::Error`.
#
# @option options [Integer] :http_read_timeout (60) The default
# number of seconds to wait for response data. This value can
- # safely be set
- # per-request on the session yielded by {#session_for}.
+ # safely be set per-request on the session.
#
# @option options [Float] :http_idle_timeout (5) The number of
# seconds a connection is allowed to sit idle before it is
# considered stale. Stale connections are closed and removed
# from the pool before making a request.
@@ -280,11 +279,11 @@
# @option options [Float] :http_continue_timeout (1) The number of
# seconds to wait for a 100-continue response before sending the
# request body. This option has no effect unless the request has
# "Expect" header set to "100-continue". Defaults to `nil` which
# disables this behaviour. This value can safely be set per
- # request on the session yielded by {#session_for}.
+ # request on the session.
#
# @option options [Boolean] :http_wire_trace (false) When `true`,
# HTTP debug output will be sent to the `:logger`.
#
# @option options [Boolean] :ssl_verify_peer (true) When `true`,
@@ -1719,10 +1718,51 @@
def delete_vpc_link(params = {}, options = {})
req = build_request(:delete_vpc_link, params)
req.send_request(options)
end
+ # Exports a definition of an API in a particular output format and
+ # specification.
+ #
+ # @option params [required, String] :api_id
+ #
+ # @option params [String] :export_version
+ #
+ # @option params [Boolean] :include_extensions
+ #
+ # @option params [required, String] :output_type
+ #
+ # @option params [required, String] :specification
+ #
+ # @option params [String] :stage_name
+ #
+ # @return [Types::ExportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ExportApiResponse#body #body} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.export_api({
+ # api_id: "__string", # required
+ # export_version: "__string",
+ # include_extensions: false,
+ # output_type: "__string", # required
+ # specification: "__string", # required
+ # stage_name: "__string",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.body #=> String
+ #
+ # @overload export_api(params = {})
+ # @param [Hash] params ({})
+ def export_api(params = {}, options = {})
+ req = build_request(:export_api, params)
+ req.send_request(options)
+ end
+
# Gets an Api resource.
#
# @option params [required, String] :api_id
#
# @return [Types::GetApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -4142,10 +4182,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-apigatewayv2'
- context[:gem_version] = '1.18.0'
+ context[:gem_version] = '1.19.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated