Module Values.CreateBackendResponseSource

This operation creates a backend for an Amplify app. Backends are automatically created at the time of app creation.

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

    The app ID.

    *)
  2. backendEnvironmentName : string option;
    (*

    The name of the backend environment.

    *)
  3. error : string option;
    (*

    If the request fails, this error is returned.

    *)
  4. jobId : string option;
    (*

    The ID for the job.

    *)
  5. operation : string option;
    (*

    The name of the operation.

    *)
  6. status : string option;
    (*

    The current status of the request.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `GatewayTimeoutException of GatewayTimeoutException.t
  3. | `NotFoundException of NotFoundException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?appId:??? -> ?backendEnvironmentName:??? -> ?error:??? -> ?jobId:??? -> ?operation:??? -> ?status:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `GatewayTimeoutException of GatewayTimeoutException.t | `NotFoundException of NotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `GatewayTimeoutException of GatewayTimeoutException.t | `NotFoundException of NotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `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