GetExportRequest

public struct GetExportRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The content-type of the export, for example application/json. Currently application/json and application/yaml are supported for exportType ofoas30 and swagger. This should be specified in the Accept header for direct API requests.

    Declaration

    Swift

    public let accepts: String?
  • [Required] The type of export. Acceptable values are ‘oas30’ for OpenAPI 3.0.x and ‘swagger’ for Swagger/OpenAPI 2.0.

    Declaration

    Swift

    public let exportType: String
  • A key-value map of query string parameters that specify properties of the export, depending on the requested exportType. For exportType oas30 and swagger, any combination of 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. postman will export the API with Postman extensions, allowing for import to the Postman tool

    Declaration

    Swift

    public let parameters: [String : String]?
  • [Required] The string identifier of the associated RestApi.

    Declaration

    Swift

    public let restApiId: String
  • [Required] The name of the Stage that will be exported.

    Declaration

    Swift

    public let stageName: String
  • Undocumented

    Declaration

    Swift

    public init(accepts: String? = nil, exportType: String, parameters: [String : String]? = nil, restApiId: String, stageName: String)