Skip to content

Shard

Source code in docs_src/capo_memorydb/types/shard.py
class Shard(TypedDict, closed=True):
    name: NotRequired["capo_memorydb.types.string.String"]
    """<p>The name of the shard</p>"""
    status: NotRequired["capo_memorydb.types.string.String"]
    """<p>The current state of this replication group - creating, available, modifying, deleting.</p>"""
    slots: NotRequired["capo_memorydb.types.string.String"]
    """<p>The keyspace for this shard.</p>"""
    nodes: NotRequired["capo_memorydb.types.node_list.NodeList"]
    """<p>A list containing information about individual nodes within the shard</p>"""
    number_of_nodes: NotRequired["capo_memorydb.types.integer_optional.IntegerOptional"]
    """<p>The number of nodes in the shard</p>"""

name instance-attribute

name: NotRequired[String]

The name of the shard

nodes instance-attribute

nodes: NotRequired[NodeList]

A list containing information about individual nodes within the shard

number_of_nodes instance-attribute

number_of_nodes: NotRequired[IntegerOptional]

The number of nodes in the shard

slots instance-attribute

slots: NotRequired[String]

The keyspace for this shard.

status instance-attribute

status: NotRequired[String]

The current state of this replication group - creating, available, modifying, deleting.