Values.DescribeDomainHealthResponseSourceThe result of a DescribeDomainHealth request. Contains health information for the requested domain.
type nonrec t = {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.
*)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.
*)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.
*)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.
*)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.
*)dedicatedMaster : Boolean.t option;A boolean that indicates if dedicated master nodes are activated for the domain.
*)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.
*)warmNodeCount : NumberOfNodes.t option;The number of warm nodes configured for the domain.
*)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.
*)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.
*)totalShards : NumberOfShards.t option;The total number of primary and replica shards for the domain.
*)totalUnAssignedShards : NumberOfShards.t option;The total number of primary and replica shards not allocated to any of the nodes for the cluster.
*)environmentInformation : EnvironmentInfoList.t option;A list of EnvironmentInfo for the domain.
*)}type nonrec error = [ | `BaseException of BaseException.t| `DisabledOperationException of DisabledOperationException.t| `InternalException of InternalException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?domainState:??? ->
?availabilityZoneCount:??? ->
?activeAvailabilityZoneCount:??? ->
?standByAvailabilityZoneCount:??? ->
?dataNodeCount:??? ->
?dedicatedMaster:??? ->
?masterEligibleNodeCount:??? ->
?warmNodeCount:??? ->
?masterNode:??? ->
?clusterHealth:??? ->
?totalShards:??? ->
?totalUnAssignedShards:??? ->
?environmentInformation:??? ->
unit ->
tval 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 ]val 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 ]val 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 ]