amazonka-memorydb-2.0: Amazon MemoryDB SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MemoryDb.Types.Node

Description

 
Synopsis

Documentation

data Node Source #

Represents an individual node within a cluster. Each node runs its own instance of the cluster's protocol-compliant caching software.

See: newNode smart constructor.

Constructors

Node' 

Fields

  • availabilityZone :: Maybe Text

    The Availability Zone in which the node resides

  • createTime :: Maybe POSIX

    The date and time when the node was created.

  • endpoint :: Maybe Endpoint

    The hostname for connecting to this node.

  • name :: Maybe Text

    The node identifier. A node name is a numeric identifier (0001, 0002, etc.). The combination of cluster name, shard name and node name uniquely identifies every node used in a customer's Amazon account.

  • status :: Maybe Text

    The status of the service update on the node

Instances

Instances details
FromJSON Node Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Node

Generic Node Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Node

Associated Types

type Rep Node :: Type -> Type #

Methods

from :: Node -> Rep Node x #

to :: Rep Node x -> Node #

Read Node Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Node

Show Node Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Node

Methods

showsPrec :: Int -> Node -> ShowS #

show :: Node -> String #

showList :: [Node] -> ShowS #

NFData Node Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Node

Methods

rnf :: Node -> () #

Eq Node Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Node

Methods

(==) :: Node -> Node -> Bool #

(/=) :: Node -> Node -> Bool #

Hashable Node Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Node

Methods

hashWithSalt :: Int -> Node -> Int #

hash :: Node -> Int #

type Rep Node Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Node

type Rep Node = D1 ('MetaData "Node" "Amazonka.MemoryDb.Types.Node" "amazonka-memorydb-2.0-7JvPQiLpSKi6naAXiKMLiu" 'False) (C1 ('MetaCons "Node'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Endpoint)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newNode :: Node Source #

Create a value of Node with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:availabilityZone:Node', node_availabilityZone - The Availability Zone in which the node resides

$sel:createTime:Node', node_createTime - The date and time when the node was created.

$sel:endpoint:Node', node_endpoint - The hostname for connecting to this node.

$sel:name:Node', node_name - The node identifier. A node name is a numeric identifier (0001, 0002, etc.). The combination of cluster name, shard name and node name uniquely identifies every node used in a customer's Amazon account.

$sel:status:Node', node_status - The status of the service update on the node

node_availabilityZone :: Lens' Node (Maybe Text) Source #

The Availability Zone in which the node resides

node_createTime :: Lens' Node (Maybe UTCTime) Source #

The date and time when the node was created.

node_endpoint :: Lens' Node (Maybe Endpoint) Source #

The hostname for connecting to this node.

node_name :: Lens' Node (Maybe Text) Source #

The node identifier. A node name is a numeric identifier (0001, 0002, etc.). The combination of cluster name, shard name and node name uniquely identifies every node used in a customer's Amazon account.

node_status :: Lens' Node (Maybe Text) Source #

The status of the service update on the node