Module Values_1.DeleteCommandResponseSource

Delete a command resource.

Sourcetype nonrec t = {
  1. statusCode : Values_0.StatusCode.t option;
    (*

    The status code for the command deletion request. The status code is in the 200 range for a successful request. If the command hasn't been deprecated, or has been deprecated for a duration that is shorter than the maximum time out duration of 12 hours, when calling the DeleteCommand request, the deletion will be scheduled and a 202 status code will be returned. While the command is being deleted, it will be in a pendingDeletion state. Once the time out duration has been reached, the command will be permanently removed from your account. If the command has been deprecated for a duration that is longer than the maximum time out duration of 12 hours, when calling the DeleteCommand request, the command will be deleted immediately and a 204 status code will be returned.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of Values_0.ConflictException.t
  2. | `InternalServerException of Values_0.InternalServerException.t
  3. | `ThrottlingException of Values_0.ThrottlingException.t
  4. | `ValidationException of Values_0.ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?statusCode:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of Values_0.ConflictException.t | `InternalServerException of Values_0.InternalServerException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of Values_0.ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of Values_0.ConflictException.t | `InternalServerException of Values_0.InternalServerException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of Values_0.ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Values_0.StatusCode.t ]) 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