2020/04/20 - AmazonApiGatewayV2 - 1 new api methods
Changes Update apigatewayv2 client to latest version
See also: AWS API Documentation
Request Syntax
client.export_api( ApiId='string', ExportVersion='string', IncludeExtensions=True|False, OutputType='YAML'|'JSON', Specification='OAS30', StageName='string' )
string
[REQUIRED]
The API identifier.
string
The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.
boolean
Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
string
[REQUIRED]
The output type of the exported definition file. Valid values are JSON and YAML.
string
[REQUIRED]
The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
string
The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.
dict
Response Syntax
{ 'body': StreamingBody() }
Response Structure
(dict) --
Success
body (:class:`.StreamingBody`) --
Represents an exported definition of an API in a particular output format, for example, YAML. The API is serialized to the requested specification, for example, OpenAPI 3.0.