Module Values.DescribeDomainHealthResponseSource

The result of a DescribeDomainHealth request. Contains health information for the requested domain.

Sourcetype nonrec t = {
  1. domainState : DomainState.t option;
    (*

    The current state of the domain. Processing - The domain has updates in progress. Active - Requested changes have been processed and deployed to the domain.

    *)
  2. availabilityZoneCount : NumberOfAZs.t option;
    (*

    The number of Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.

    *)
  3. activeAvailabilityZoneCount : NumberOfAZs.t option;
    (*

    The number of active Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.

    *)
  4. standByAvailabilityZoneCount : NumberOfAZs.t option;
    (*

    The number of standby Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.

    *)
  5. dataNodeCount : NumberOfNodes.t option;
    (*

    The number of data nodes configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.

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

    A boolean that indicates if dedicated master nodes are activated for the domain.

    *)
  7. masterEligibleNodeCount : NumberOfNodes.t option;
    (*

    The number of nodes that can be elected as a master node. If dedicated master nodes is turned on, this value is the number of dedicated master nodes configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.

    *)
  8. warmNodeCount : NumberOfNodes.t option;
    (*

    The number of warm nodes configured for the domain.

    *)
  9. masterNode : MasterNodeStatus.t option;
    (*

    Indicates whether the domain has an elected master node. Available - The domain has an elected master node. UnAvailable - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached.

    *)
  10. clusterHealth : DomainHealth.t option;
    (*

    The current health status of your cluster. Red - At least one primary shard is not allocated to any node. Yellow - All primary shards are allocated to nodes, but some replicas aren’t. Green - All primary shards and their replicas are allocated to nodes. NotAvailable - Unable to retrieve cluster health.

    *)
  11. totalShards : NumberOfShards.t option;
    (*

    The total number of primary and replica shards for the domain.

    *)
  12. totalUnAssignedShards : NumberOfShards.t option;
    (*

    The total number of primary and replica shards not allocated to any of the nodes for the cluster.

    *)
  13. environmentInformation : EnvironmentInfoList.t option;
    (*

    A list of EnvironmentInfo for the domain.

    *)
}
Sourcetype nonrec error = [
  1. | `BaseException of BaseException.t
  2. | `DisabledOperationException of DisabledOperationException.t
  3. | `InternalException of InternalException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?domainState:??? -> ?availabilityZoneCount:??? -> ?activeAvailabilityZoneCount:??? -> ?standByAvailabilityZoneCount:??? -> ?dataNodeCount:??? -> ?dedicatedMaster:??? -> ?masterEligibleNodeCount:??? -> ?warmNodeCount:??? -> ?masterNode:??? -> ?clusterHealth:??? -> ?totalShards:??? -> ?totalUnAssignedShards:??? -> ?environmentInformation:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BaseException of BaseException.t | `DisabledOperationException of unit | `InternalException of unit | `ResourceNotFoundException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BaseException of BaseException.t | `DisabledOperationException of unit | `InternalException of unit | `ResourceNotFoundException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of AvailabilityZone.t ]) list ] list ]) list ] list | `String of NumberOfAZs.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