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.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 JSON-RPC 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 WebSockets connections from a client. Use this endpoint in client code for smart contracts when using a WebSockets connection. Connections to this endpoint are authenticated using Signature Version 4.

Instances

Instances details
Eq NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

Read NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

Show 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 #

NFData NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

Methods

rnf :: NodeEthereumAttributes -> () #

Hashable NodeEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes

FromJSON 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" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" '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 JSON-RPC 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 WebSockets connections from a client. Use this endpoint in client code for smart contracts when using a WebSockets 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 JSON-RPC 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 WebSockets connections from a client. Use this endpoint in client code for smart contracts when using a WebSockets connection. Connections to this endpoint are authenticated using Signature Version 4.