GetExportPlainArgs

data class GetExportPlainArgs(val apiId: String, val exportVersion: String? = null, val includeExtensions: Boolean? = null, val outputType: String, val specification: String, val stageName: String? = null) : ConvertibleToJava<GetExportPlainArgs>

A collection of arguments for invoking getExport.

Constructors

Link copied to clipboard
constructor(apiId: String, exportVersion: String? = null, includeExtensions: Boolean? = null, outputType: String, specification: String, stageName: String? = null)

Properties

Link copied to clipboard

API identifier.

Link copied to clipboard
val exportVersion: String? = null

Version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.

Link copied to clipboard

Whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.

Link copied to clipboard

Output type of the exported definition file. Valid values are JSON and YAML.

Link copied to clipboard

Version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.

Link copied to clipboard
val stageName: String? = null

Name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.

Functions

Link copied to clipboard
open override fun toJava(): GetExportPlainArgs