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.CreateNode

Description

Creates a node on the specified blockchain network.

Applies to Hyperledger Fabric and Ethereum.

Synopsis

Creating a Request

data CreateNode Source #

See: newCreateNode smart constructor.

Constructors

CreateNode' 

Fields

  • memberId :: Maybe Text

    The unique identifier of the member that owns this node.

    Applies only to Hyperledger Fabric.

  • tags :: Maybe (HashMap Text Text)

    Tags to assign to the node. Each tag consists of a key and optional value.

    When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.

    For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

  • clientRequestToken :: Text

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.

  • networkId :: Text

    The unique identifier of the network for the node.

    Ethereum public networks have the following NetworkIds:

    • n-ethereum-mainnet
    • n-ethereum-rinkeby
    • n-ethereum-ropsten
  • nodeConfiguration :: NodeConfiguration

    The properties of a node configuration.

Instances

Instances details
Eq CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Read CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Show CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Generic CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Associated Types

type Rep CreateNode :: Type -> Type #

NFData CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Methods

rnf :: CreateNode -> () #

Hashable CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

ToJSON CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

AWSRequest CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Associated Types

type AWSResponse CreateNode #

ToHeaders CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Methods

toHeaders :: CreateNode -> [Header] #

ToPath CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

ToQuery CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

type Rep CreateNode Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

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

Defined in Amazonka.ManagedBlockChain.CreateNode

newCreateNode Source #

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

Applies only to Hyperledger Fabric.

$sel:tags:CreateNode', createNode_tags - Tags to assign to the node. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

$sel:clientRequestToken:CreateNode', createNode_clientRequestToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.

$sel:networkId:CreateNode', createNode_networkId - The unique identifier of the network for the node.

Ethereum public networks have the following NetworkIds:

  • n-ethereum-mainnet
  • n-ethereum-rinkeby
  • n-ethereum-ropsten

$sel:nodeConfiguration:CreateNode', createNode_nodeConfiguration - The properties of a node configuration.

Request Lenses

createNode_memberId :: Lens' CreateNode (Maybe Text) Source #

The unique identifier of the member that owns this node.

Applies only to Hyperledger Fabric.

createNode_tags :: Lens' CreateNode (Maybe (HashMap Text Text)) Source #

Tags to assign to the node. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

createNode_clientRequestToken :: Lens' CreateNode Text Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.

createNode_networkId :: Lens' CreateNode Text Source #

The unique identifier of the network for the node.

Ethereum public networks have the following NetworkIds:

  • n-ethereum-mainnet
  • n-ethereum-rinkeby
  • n-ethereum-ropsten

createNode_nodeConfiguration :: Lens' CreateNode NodeConfiguration Source #

The properties of a node configuration.

Destructuring the Response

data CreateNodeResponse Source #

See: newCreateNodeResponse smart constructor.

Constructors

CreateNodeResponse' 

Fields

Instances

Instances details
Eq CreateNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Read CreateNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Show CreateNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Generic CreateNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Associated Types

type Rep CreateNodeResponse :: Type -> Type #

NFData CreateNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

Methods

rnf :: CreateNodeResponse -> () #

type Rep CreateNodeResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.CreateNode

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

newCreateNodeResponse Source #

Create a value of CreateNodeResponse 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:nodeId:CreateNodeResponse', createNodeResponse_nodeId - The unique identifier of the node.

$sel:httpStatus:CreateNodeResponse', createNodeResponse_httpStatus - The response's http status code.

Response Lenses

createNodeResponse_nodeId :: Lens' CreateNodeResponse (Maybe Text) Source #

The unique identifier of the node.