Skip to content

DescribeDomainHealthResponse

Source code in docs_src/capo_opensearch/types/describe_domain_health_response.py
class DescribeDomainHealthResponse(TypedDict, closed=True):
    domain_state: NotRequired["capo_opensearch.types.domain_state.DomainState"]
    """<p>The current state of the domain.</p> <ul> <li> <p> <code>Processing</code> - The domain has updates in progress.</p> </li> <li> <p> <code>Active</code> - Requested changes have been processed and deployed to the domain.</p> </li> </ul>"""
    availability_zone_count: NotRequired[
        "capo_opensearch.types.number_of_a_zs.NumberOfAZs"
    ]
    """<p>The number of Availability Zones configured for the domain. If the service is unable to fetch this information, it will return <code>NotAvailable</code>.</p>"""
    active_availability_zone_count: NotRequired[
        "capo_opensearch.types.number_of_a_zs.NumberOfAZs"
    ]
    """<p>The number of active Availability Zones configured for the domain. If the service is unable to fetch this information, it will return <code>NotAvailable</code>.</p>"""
    stand_by_availability_zone_count: NotRequired[
        "capo_opensearch.types.number_of_a_zs.NumberOfAZs"
    ]
    """<p>The number of standby Availability Zones configured for the domain. If the service is unable to fetch this information, it will return <code>NotAvailable</code>.</p>"""
    data_node_count: NotRequired["capo_opensearch.types.number_of_nodes.NumberOfNodes"]
    """<p>The number of data nodes configured for the domain. If the service is unable to fetch this information, it will return <code>NotAvailable</code>.</p>"""
    dedicated_master: NotRequired["capo_opensearch.types.boolean.Boolean"]
    """<p>A boolean that indicates if dedicated master nodes are activated for the domain.</p>"""
    master_eligible_node_count: NotRequired[
        "capo_opensearch.types.number_of_nodes.NumberOfNodes"
    ]
    """<p>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 <code>NotAvailable</code>.</p>"""
    warm_node_count: NotRequired["capo_opensearch.types.number_of_nodes.NumberOfNodes"]
    """<p>The number of warm nodes configured for the domain.</p>"""
    master_node: NotRequired[
        "capo_opensearch.types.master_node_status.MasterNodeStatus"
    ]
    """<p>Indicates whether the domain has an elected master node.</p> <ul> <li> <p> <b>Available</b> - The domain has an elected master node.</p> </li> <li> <p> <b>UnAvailable</b> - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached.</p> </li> </ul>"""
    cluster_health: NotRequired["capo_opensearch.types.domain_health.DomainHealth"]
    """<p>The current health status of your cluster.</p> <ul> <li> <p> <code>Red</code> - At least one primary shard is not allocated to any node.</p> </li> <li> <p> <code>Yellow</code> - All primary shards are allocated to nodes, but some replicas aren’t.</p> </li> <li> <p> <code>Green</code> - All primary shards and their replicas are allocated to nodes.</p> </li> <li> <p> <code>NotAvailable</code> - Unable to retrieve cluster health.</p> </li> </ul>"""
    total_shards: NotRequired["capo_opensearch.types.number_of_shards.NumberOfShards"]
    """<p>The total number of primary and replica shards for the domain.</p>"""
    total_un_assigned_shards: NotRequired[
        "capo_opensearch.types.number_of_shards.NumberOfShards"
    ]
    """<p>The total number of primary and replica shards not allocated to any of the nodes for the cluster.</p>"""
    environment_information: NotRequired[
        "capo_opensearch.types.environment_info_list.EnvironmentInfoList"
    ]
    """<p>A list of <code>EnvironmentInfo</code> for the domain. </p>"""

active_availability_zone_count instance-attribute

active_availability_zone_count: NotRequired[NumberOfAZs]

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

availability_zone_count instance-attribute

availability_zone_count: NotRequired[NumberOfAZs]

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

cluster_health instance-attribute

cluster_health: NotRequired[DomainHealth]

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.

data_node_count instance-attribute

data_node_count: NotRequired[NumberOfNodes]

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

dedicated_master instance-attribute

dedicated_master: NotRequired[Boolean]

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

domain_state instance-attribute

domain_state: NotRequired[DomainState]

The current state of the domain.

  • Processing - The domain has updates in progress.

  • Active - Requested changes have been processed and deployed to the domain.

environment_information instance-attribute

environment_information: NotRequired[EnvironmentInfoList]

A list of EnvironmentInfo for the domain.

master_eligible_node_count instance-attribute

master_eligible_node_count: NotRequired[NumberOfNodes]

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.

master_node instance-attribute

master_node: NotRequired[MasterNodeStatus]

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.

stand_by_availability_zone_count instance-attribute

stand_by_availability_zone_count: NotRequired[NumberOfAZs]

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

total_shards instance-attribute

total_shards: NotRequired[NumberOfShards]

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

total_un_assigned_shards instance-attribute

total_un_assigned_shards: NotRequired[NumberOfShards]

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

warm_node_count instance-attribute

warm_node_count: NotRequired[NumberOfNodes]

The number of warm nodes configured for the domain.