Module Values.OperationSource

A complex type that contains information about a specified operation.

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

    The ID of the operation that you want to get information about.

    *)
  2. ownerAccount : AWSAccountId.t option;
    (*

    The ID of the Amazon Web Services account that owns the namespace associated with the operation.

    *)
  3. type_ : OperationType.t option;
    (*

    The name of the operation that's associated with the specified ID.

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

    The status of the operation. Values include the following: SUBMITTED This is the initial state that occurs immediately after you submit a request. PENDING Cloud Map is performing the operation. SUCCESS The operation succeeded. FAIL The operation failed. For the failure reason, see ErrorMessage.

    *)
  5. errorMessage : Message.t option;
    (*

    If the value of Status is FAIL, the reason that the operation failed.

    *)
  6. errorCode : Code.t option;
    (*

    The code associated with ErrorMessage. Values for ErrorCode include the following: ACCESS_DENIED CANNOT_CREATE_HOSTED_ZONE EXPIRED_TOKEN HOSTED_ZONE_NOT_FOUND INTERNAL_FAILURE INVALID_CHANGE_BATCH THROTTLED_REQUEST

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

    The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    *)
  8. updateDate : Timestamp.t option;
    (*

    The date and time that the value of Status changed to the current value, in Unix date/time format and Coordinated Universal Time (UTC). The value of UpdateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    *)
  9. targets : OperationTargetsMap.t option;
    (*

    The name of the target entity that's associated with the operation: NAMESPACE The namespace ID is returned in the ResourceId property. SERVICE The service ID is returned in the ResourceId property. INSTANCE The instance ID is returned in the ResourceId property.

    *)
}
Sourceval make : ?id:??? -> ?ownerAccount:??? -> ?type_:??? -> ?status:??? -> ?errorMessage:??? -> ?errorCode:??? -> ?createDate:??? -> ?updateDate:??? -> ?targets:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `Enum of string ] * [> `String of ResourceId.t ]) list | `String of OperationId.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