Module Values.ExportApiRequestSource

Sourcetype nonrec t = {
  1. apiId : string;
    (*

    The API identifier.

    *)
  2. exportVersion : string option;
    (*

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

    *)
  3. includeExtensions : bool option;
    (*

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

    *)
  4. outputType : string;
    (*

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

    *)
  5. specification : string;
    (*

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

    *)
  6. stageName : string option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?exportVersion:??? -> ?includeExtensions:??? -> ?stageName:??? -> apiId:string -> outputType:string -> specification:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of bool | `String of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t