GetExportPlainArgs

data class GetExportPlainArgs(val accepts: String? = null, val exportType: String, val parameters: Map<String, String>? = null, val restApiId: String, val stageName: String) : ConvertibleToJava<GetExportPlainArgs>

A collection of arguments for invoking getExport.

Constructors

Link copied to clipboard
constructor(accepts: String? = null, exportType: String, parameters: Map<String, String>? = null, restApiId: String, stageName: String)

Properties

Link copied to clipboard
val accepts: String? = null

Content-type of the export. Valid values are application/json and application/yaml are supported for export_type ofoas30 and swagger.

Link copied to clipboard

Type of export. Acceptable values are oas30 for OpenAPI 3.0.x and swagger for Swagger/OpenAPI 2.0.

Link copied to clipboard
val parameters: Map<String, String>? = null

Key-value map of query string parameters that specify properties of the export. the following parameters are supported: extensions='integrations' or extensions='apigateway' will export the API with x-amazon-apigateway-integration extensions. extensions='authorizers' will export the API with x-amazon-apigateway-authorizer extensions.

Link copied to clipboard

Identifier of the associated REST API.

Link copied to clipboard

Name of the Stage that will be exported.

Functions

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