Module Values.OperationSource

Describes the API operation.

Sourcetype nonrec t = {
  1. id : NonEmptyString.t option;
    (*

    The ID of the operation.

    *)
  2. resourceName : ResourceName.t option;
    (*

    The resource name.

    *)
  3. resourceType : ResourceType.t option;
    (*

    The resource type.

    *)
  4. createdAt : IsoDate.t option;
    (*

    The timestamp when the operation was initialized (1479816991.349).

    *)
  5. location : ResourceLocation.t option;
    (*

    The Amazon Web Services Region and Availability Zone.

    *)
  6. isTerminal : Boolean.t option;
    (*

    A Boolean value indicating whether the operation is terminal.

    *)
  7. operationDetails : String_.t option;
    (*

    Details about the operation (Debian-1GB-Ohio-1).

    *)
  8. operationType : OperationType.t option;
    (*

    The type of operation.

    *)
  9. status : OperationStatus.t option;
    (*

    The status of the operation.

    *)
  10. statusChangedAt : IsoDate.t option;
    (*

    The timestamp when the status was changed (1479816991.349).

    *)
  11. errorCode : String_.t option;
    (*

    The error code.

    *)
  12. errorDetails : String_.t option;
    (*

    The error details.

    *)
}
Sourceval make : ?id:NonEmptyString.t -> ?resourceName:ResourceName.t -> ?resourceType:ResourceType.t -> ?createdAt:IsoDate.t -> ?location:ResourceLocation.t -> ?isTerminal:Boolean.t -> ?operationDetails:String_.t -> ?operationType:OperationType.t -> ?status:OperationStatus.t -> ?statusChangedAt:IsoDate.t -> ?errorCode:String_.t -> ?errorDetails:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of IsoDate.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