libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ManagedBlockChain.GetNode

Description

Returns detailed information about a node.

Applies to Hyperledger Fabric and Ethereum.

Synopsis

Creating a Request

data GetNode Source #

See: newGetNode smart constructor.

Constructors

GetNode' 

Fields

  • memberId :: Maybe Text

    The unique identifier of the member that owns the node.

    Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.

  • networkId :: Text

    The unique identifier of the network that the node is on.

  • nodeId :: Text

    The unique identifier of the node.

Instances

Instances details
Eq GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Methods

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

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

Read GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Show GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Generic GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Associated Types

type Rep GetNode :: Type -> Type #

Methods

from :: GetNode -> Rep GetNode x #

to :: Rep GetNode x -> GetNode #

NFData GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Methods

rnf :: GetNode -> () #

Hashable GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Methods

hashWithSalt :: Int -> GetNode -> Int #

hash :: GetNode -> Int #

AWSRequest GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Associated Types

type AWSResponse GetNode #

ToHeaders GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Methods

toHeaders :: GetNode -> [Header] #

ToPath GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Methods

toPath :: GetNode -> ByteString #

ToQuery GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

type Rep GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

type Rep GetNode = D1 ('MetaData "GetNode" "Amazonka.ManagedBlockChain.GetNode" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "GetNode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "networkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "nodeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

newGetNode Source #

Create a value of GetNode 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:memberId:GetNode', getNode_memberId - The unique identifier of the member that owns the node.

Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.

$sel:networkId:GetNode', getNode_networkId - The unique identifier of the network that the node is on.

$sel:nodeId:GetNode', getNode_nodeId - The unique identifier of the node.

Request Lenses

getNode_memberId :: Lens' GetNode (Maybe Text) Source #

The unique identifier of the member that owns the node.

Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.

getNode_networkId :: Lens' GetNode Text Source #

The unique identifier of the network that the node is on.

getNode_nodeId :: Lens' GetNode Text Source #

The unique identifier of the node.

Destructuring the Response

data GetNodeResponse Source #

See: newGetNodeResponse smart constructor.

Constructors

GetNodeResponse' 

Fields

Instances

Instances details
Eq GetNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Read GetNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Show GetNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Generic GetNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Associated Types

type Rep GetNodeResponse :: Type -> Type #

NFData GetNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

Methods

rnf :: GetNodeResponse -> () #

type Rep GetNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNode

type Rep GetNodeResponse = D1 ('MetaData "GetNodeResponse" "Amazonka.ManagedBlockChain.GetNode" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "GetNodeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "node") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Node)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetNodeResponse Source #

Create a value of GetNodeResponse 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:node:GetNodeResponse', getNodeResponse_node - Properties of the node configuration.

$sel:httpStatus:GetNodeResponse', getNodeResponse_httpStatus - The response's http status code.

Response Lenses

getNodeResponse_node :: Lens' GetNodeResponse (Maybe Node) Source #

Properties of the node configuration.

getNodeResponse_httpStatus :: Lens' GetNodeResponse Int Source #

The response's http status code.