Module Values.ProgressEventSource

Represents the current status of a resource operation request. For more information, see Managing resource operation requests in the Amazon Web Services Cloud Control API User Guide.

Sourcetype nonrec t = {
  1. typeName : TypeName.t option;
    (*

    The name of the resource type used in the operation.

    *)
  2. identifier : Identifier.t option;
    (*

    The primary identifier for the resource. In some cases, the resource identifier may be available before the resource operation has reached a status of SUCCESS.

    *)
  3. requestToken : RequestToken.t option;
    (*

    The unique token representing this resource operation request. Use the RequestToken with GetResourceRequestStatus to return the current status of a resource operation request.

    *)
  4. hooksRequestToken : RequestToken.t option;
    (*

    The unique token representing the Hooks operation for the request.

    *)
  5. operation : Operation.t option;
    (*

    The resource operation type.

    *)
  6. operationStatus : OperationStatus.t option;
    (*

    The current status of the resource operation request. PENDING: The resource operation hasn't yet started. IN_PROGRESS: The resource operation is currently in progress. SUCCESS: The resource operation has successfully completed. FAILED: The resource operation has failed. Refer to the error code and status message for more information. CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled. CANCEL_COMPLETE: The resource operation has been canceled.

    *)
  7. eventTime : Timestamp.t option;
    (*

    When the resource operation request was initiated.

    *)
  8. resourceModel : Properties.t option;
    (*

    A JSON string containing the resource model, consisting of each resource property and its current value.

    *)
  9. statusMessage : StatusMessage.t option;
    (*

    Any message explaining the current status.

    *)
  10. errorCode : HandlerErrorCode.t option;
    (*

    For requests with a status of FAILED, the associated error code. For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.

    *)
  11. retryAfter : Timestamp.t option;
    (*

    When to next request the status of this resource operation request.

    *)
}
Sourceval make : ?typeName:??? -> ?identifier:??? -> ?requestToken:??? -> ?hooksRequestToken:??? -> ?operation:??? -> ?operationStatus:??? -> ?eventTime:??? -> ?resourceModel:??? -> ?statusMessage:??? -> ?errorCode:??? -> ?retryAfter:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of TypeName.t | `Timestamp of Timestamp.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