amazonka-managedblockchain-2.0: Amazon Managed Blockchain 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.ManagedBlockChain.Types.NodeEthereumAttributes

Description

 
Synopsis

Documentation

data NodeEthereumAttributes Source #

Attributes of an Ethereum node.

See: newNodeEthereumAttributes smart constructor.

Constructors

NodeEthereumAttributes' 

Fields

  • httpEndpoint :: Maybe Text

    The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.

  • webSocketEndpoint :: Maybe Text

    The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.

Instances

Instances details
FromJSON NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

Generic NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

Associated Types

type Rep NodeEthereumAttributes :: Type -> Type #

Read NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

Show NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

NFData NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

Methods

rnf :: NodeEthereumAttributes -> () #

Eq NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

Hashable NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

type Rep NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

type Rep NodeEthereumAttributes = D1 ('MetaData "NodeEthereumAttributes" "Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes" "amazonka-managedblockchain-2.0-7ETEoTxOH0EDuOBkhEvxdC" 'False) (C1 ('MetaCons "NodeEthereumAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "webSocketEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newNodeEthereumAttributes :: NodeEthereumAttributes Source #

Create a value of NodeEthereumAttributes 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:httpEndpoint:NodeEthereumAttributes', nodeEthereumAttributes_httpEndpoint - The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.

$sel:webSocketEndpoint:NodeEthereumAttributes', nodeEthereumAttributes_webSocketEndpoint - The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.

nodeEthereumAttributes_httpEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) Source #

The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.

nodeEthereumAttributes_webSocketEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) Source #

The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.