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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-09-24 of the Amazon Managed Blockchain SDK configuration.

Errors

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You do not have sufficient access to perform this action.

_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The action or operation requested is invalid. Verify that the action is typed correctly.

_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

A resource request is issued for a resource that already exists.

_ResourceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.

_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request or operation could not be performed because a service is throttling requests. The most common source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is exceeded. Request a limit increase or delete unused resources if possible.

_InternalServiceErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request processing has failed because of an unknown error, exception or failure.

_ResourceNotReadyException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested resource exists but is not in a status that can complete the operation.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

A requested resource does not exist. It may have been deleted or referenced inaccurately.

Edition

newtype Edition Source #

Constructors

Edition' 

Fields

Bundled Patterns

pattern Edition_STANDARD :: Edition 
pattern Edition_STARTER :: Edition 

Instances

Instances details
Eq Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Methods

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

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

Ord Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Read Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Show Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Generic Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Associated Types

type Rep Edition :: Type -> Type #

Methods

from :: Edition -> Rep Edition x #

to :: Rep Edition x -> Edition #

NFData Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Methods

rnf :: Edition -> () #

Hashable Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Methods

hashWithSalt :: Int -> Edition -> Int #

hash :: Edition -> Int #

ToJSON Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

ToJSONKey Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

FromJSON Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

FromJSONKey Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

ToLog Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

ToHeader Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Methods

toHeader :: HeaderName -> Edition -> [Header] #

ToQuery Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

FromXML Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

ToXML Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Methods

toXML :: Edition -> XML #

ToByteString Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Methods

toBS :: Edition -> ByteString #

FromText Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

ToText Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

Methods

toText :: Edition -> Text #

type Rep Edition Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Edition

type Rep Edition = D1 ('MetaData "Edition" "Amazonka.ManagedBlockChain.Types.Edition" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'True) (C1 ('MetaCons "Edition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEdition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Framework

newtype Framework Source #

Constructors

Framework' 

Fields

Bundled Patterns

pattern Framework_ETHEREUM :: Framework 
pattern Framework_HYPERLEDGER_FABRIC :: Framework 

Instances

Instances details
Eq Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

Ord Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

Read Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

Show Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

Generic Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

Associated Types

type Rep Framework :: Type -> Type #

NFData Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

Methods

rnf :: Framework -> () #

Hashable Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

ToJSON Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

ToJSONKey Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

FromJSON Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

FromJSONKey Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

ToLog Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

ToHeader Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

ToQuery Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

FromXML Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

ToXML Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

Methods

toXML :: Framework -> XML #

ToByteString Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

Methods

toBS :: Framework -> ByteString #

FromText Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

ToText Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

Methods

toText :: Framework -> Text #

type Rep Framework Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Framework

type Rep Framework = D1 ('MetaData "Framework" "Amazonka.ManagedBlockChain.Types.Framework" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'True) (C1 ('MetaCons "Framework'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFramework") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

InvitationStatus

newtype InvitationStatus Source #

Instances

Instances details
Eq InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

Ord InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

Read InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

Show InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

Generic InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

Associated Types

type Rep InvitationStatus :: Type -> Type #

NFData InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

Methods

rnf :: InvitationStatus -> () #

Hashable InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

ToJSON InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

ToJSONKey InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

FromJSON InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

FromJSONKey InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

ToLog InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

ToHeader InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

ToQuery InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

FromXML InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

ToXML InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

ToByteString InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

FromText InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

ToText InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

type Rep InvitationStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InvitationStatus

type Rep InvitationStatus = D1 ('MetaData "InvitationStatus" "Amazonka.ManagedBlockChain.Types.InvitationStatus" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'True) (C1 ('MetaCons "InvitationStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromInvitationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MemberStatus

newtype MemberStatus Source #

Constructors

MemberStatus' 

Instances

Instances details
Eq MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

Ord MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

Read MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

Show MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

Generic MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

Associated Types

type Rep MemberStatus :: Type -> Type #

NFData MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

Methods

rnf :: MemberStatus -> () #

Hashable MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

ToJSON MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

ToJSONKey MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

FromJSON MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

FromJSONKey MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

ToLog MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

ToHeader MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

ToQuery MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

FromXML MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

ToXML MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

Methods

toXML :: MemberStatus -> XML #

ToByteString MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

FromText MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

ToText MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

Methods

toText :: MemberStatus -> Text #

type Rep MemberStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberStatus

type Rep MemberStatus = D1 ('MetaData "MemberStatus" "Amazonka.ManagedBlockChain.Types.MemberStatus" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'True) (C1 ('MetaCons "MemberStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMemberStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

NetworkStatus

newtype NetworkStatus Source #

Constructors

NetworkStatus' 

Instances

Instances details
Eq NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

Ord NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

Read NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

Show NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

Generic NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

Associated Types

type Rep NetworkStatus :: Type -> Type #

NFData NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

Methods

rnf :: NetworkStatus -> () #

Hashable NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

ToJSON NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

ToJSONKey NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

FromJSON NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

FromJSONKey NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

ToLog NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

ToHeader NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

ToQuery NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

FromXML NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

ToXML NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

Methods

toXML :: NetworkStatus -> XML #

ToByteString NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

FromText NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

ToText NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

Methods

toText :: NetworkStatus -> Text #

type Rep NetworkStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkStatus

type Rep NetworkStatus = D1 ('MetaData "NetworkStatus" "Amazonka.ManagedBlockChain.Types.NetworkStatus" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'True) (C1 ('MetaCons "NetworkStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromNetworkStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

NodeStatus

newtype NodeStatus Source #

Constructors

NodeStatus' 

Fields

Instances

Instances details
Eq NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

Ord NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

Read NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

Show NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

Generic NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

Associated Types

type Rep NodeStatus :: Type -> Type #

NFData NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

Methods

rnf :: NodeStatus -> () #

Hashable NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

ToJSON NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

ToJSONKey NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

FromJSON NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

FromJSONKey NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

ToLog NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

ToHeader NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

ToQuery NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

FromXML NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

ToXML NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

Methods

toXML :: NodeStatus -> XML #

ToByteString NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

FromText NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

ToText NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

Methods

toText :: NodeStatus -> Text #

type Rep NodeStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeStatus

type Rep NodeStatus = D1 ('MetaData "NodeStatus" "Amazonka.ManagedBlockChain.Types.NodeStatus" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'True) (C1 ('MetaCons "NodeStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromNodeStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ProposalStatus

newtype ProposalStatus Source #

Constructors

ProposalStatus' 

Instances

Instances details
Eq ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

Ord ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

Read ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

Show ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

Generic ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

Associated Types

type Rep ProposalStatus :: Type -> Type #

NFData ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

Methods

rnf :: ProposalStatus -> () #

Hashable ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

ToJSON ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

ToJSONKey ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

FromJSON ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

FromJSONKey ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

ToLog ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

ToHeader ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

ToQuery ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

FromXML ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

ToXML ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

Methods

toXML :: ProposalStatus -> XML #

ToByteString ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

FromText ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

ToText ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

type Rep ProposalStatus Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalStatus

type Rep ProposalStatus = D1 ('MetaData "ProposalStatus" "Amazonka.ManagedBlockChain.Types.ProposalStatus" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'True) (C1 ('MetaCons "ProposalStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromProposalStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StateDBType

newtype StateDBType Source #

Constructors

StateDBType' 

Bundled Patterns

pattern StateDBType_CouchDB :: StateDBType 
pattern StateDBType_LevelDB :: StateDBType 

Instances

Instances details
Eq StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

Ord StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

Read StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

Show StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

Generic StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

Associated Types

type Rep StateDBType :: Type -> Type #

NFData StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

Methods

rnf :: StateDBType -> () #

Hashable StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

ToJSON StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

ToJSONKey StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

FromJSON StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

FromJSONKey StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

ToLog StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

ToHeader StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

ToQuery StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

FromXML StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

ToXML StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

Methods

toXML :: StateDBType -> XML #

ToByteString StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

FromText StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

ToText StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

Methods

toText :: StateDBType -> Text #

type Rep StateDBType Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.StateDBType

type Rep StateDBType = D1 ('MetaData "StateDBType" "Amazonka.ManagedBlockChain.Types.StateDBType" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'True) (C1 ('MetaCons "StateDBType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStateDBType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ThresholdComparator

newtype ThresholdComparator Source #

Instances

Instances details
Eq ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

Ord ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

Read ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

Show ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

Generic ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

Associated Types

type Rep ThresholdComparator :: Type -> Type #

NFData ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

Methods

rnf :: ThresholdComparator -> () #

Hashable ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

ToJSON ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

ToJSONKey ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

FromJSON ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

FromJSONKey ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

ToLog ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

ToHeader ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

ToQuery ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

FromXML ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

ToXML ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

ToByteString ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

FromText ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

ToText ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

type Rep ThresholdComparator Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ThresholdComparator

type Rep ThresholdComparator = D1 ('MetaData "ThresholdComparator" "Amazonka.ManagedBlockChain.Types.ThresholdComparator" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'True) (C1 ('MetaCons "ThresholdComparator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromThresholdComparator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

VoteValue

newtype VoteValue Source #

Constructors

VoteValue' 

Fields

Bundled Patterns

pattern VoteValue_NO :: VoteValue 
pattern VoteValue_YES :: VoteValue 

Instances

Instances details
Eq VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

Ord VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

Read VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

Show VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

Generic VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

Associated Types

type Rep VoteValue :: Type -> Type #

NFData VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

Methods

rnf :: VoteValue -> () #

Hashable VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

ToJSON VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

ToJSONKey VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

FromJSON VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

FromJSONKey VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

ToLog VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

ToHeader VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

ToQuery VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

FromXML VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

ToXML VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

Methods

toXML :: VoteValue -> XML #

ToByteString VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

Methods

toBS :: VoteValue -> ByteString #

FromText VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

ToText VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

Methods

toText :: VoteValue -> Text #

type Rep VoteValue Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteValue

type Rep VoteValue = D1 ('MetaData "VoteValue" "Amazonka.ManagedBlockChain.Types.VoteValue" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'True) (C1 ('MetaCons "VoteValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromVoteValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ApprovalThresholdPolicy

data ApprovalThresholdPolicy Source #

A policy type that defines the voting rules for the network. The rules decide if a proposal is approved. Approval may be based on criteria such as the percentage of YES votes and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.

Applies only to Hyperledger Fabric.

See: newApprovalThresholdPolicy smart constructor.

Constructors

ApprovalThresholdPolicy' 

Fields

  • thresholdPercentage :: Maybe Natural

    The percentage of votes among all members that must be YES for a proposal to be approved. For example, a ThresholdPercentage value of 50 indicates 50%. The ThresholdComparator determines the precise comparison. If a ThresholdPercentage value of 50 is specified on a network with 10 members, along with a ThresholdComparator value of GREATER_THAN, this indicates that 6 YES votes are required for the proposal to be approved.

  • thresholdComparator :: Maybe ThresholdComparator

    Determines whether the vote percentage must be greater than the ThresholdPercentage or must be greater than or equal to the ThreholdPercentage to be approved.

  • proposalDurationInHours :: Maybe Natural

    The duration from the time that a proposal is created until it expires. If members cast neither the required number of YES votes to approve the proposal nor the number of NO votes required to reject it before the duration expires, the proposal is EXPIRED and ProposalActions are not carried out.

Instances

Instances details
Eq ApprovalThresholdPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy

Read ApprovalThresholdPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy

Show ApprovalThresholdPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy

Generic ApprovalThresholdPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy

Associated Types

type Rep ApprovalThresholdPolicy :: Type -> Type #

NFData ApprovalThresholdPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy

Methods

rnf :: ApprovalThresholdPolicy -> () #

Hashable ApprovalThresholdPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy

ToJSON ApprovalThresholdPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy

FromJSON ApprovalThresholdPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy

type Rep ApprovalThresholdPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy

type Rep ApprovalThresholdPolicy = D1 ('MetaData "ApprovalThresholdPolicy" "Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "ApprovalThresholdPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thresholdPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "thresholdComparator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThresholdComparator)) :*: S1 ('MetaSel ('Just "proposalDurationInHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newApprovalThresholdPolicy :: ApprovalThresholdPolicy Source #

Create a value of ApprovalThresholdPolicy 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:thresholdPercentage:ApprovalThresholdPolicy', approvalThresholdPolicy_thresholdPercentage - The percentage of votes among all members that must be YES for a proposal to be approved. For example, a ThresholdPercentage value of 50 indicates 50%. The ThresholdComparator determines the precise comparison. If a ThresholdPercentage value of 50 is specified on a network with 10 members, along with a ThresholdComparator value of GREATER_THAN, this indicates that 6 YES votes are required for the proposal to be approved.

$sel:thresholdComparator:ApprovalThresholdPolicy', approvalThresholdPolicy_thresholdComparator - Determines whether the vote percentage must be greater than the ThresholdPercentage or must be greater than or equal to the ThreholdPercentage to be approved.

$sel:proposalDurationInHours:ApprovalThresholdPolicy', approvalThresholdPolicy_proposalDurationInHours - The duration from the time that a proposal is created until it expires. If members cast neither the required number of YES votes to approve the proposal nor the number of NO votes required to reject it before the duration expires, the proposal is EXPIRED and ProposalActions are not carried out.

approvalThresholdPolicy_thresholdPercentage :: Lens' ApprovalThresholdPolicy (Maybe Natural) Source #

The percentage of votes among all members that must be YES for a proposal to be approved. For example, a ThresholdPercentage value of 50 indicates 50%. The ThresholdComparator determines the precise comparison. If a ThresholdPercentage value of 50 is specified on a network with 10 members, along with a ThresholdComparator value of GREATER_THAN, this indicates that 6 YES votes are required for the proposal to be approved.

approvalThresholdPolicy_thresholdComparator :: Lens' ApprovalThresholdPolicy (Maybe ThresholdComparator) Source #

Determines whether the vote percentage must be greater than the ThresholdPercentage or must be greater than or equal to the ThreholdPercentage to be approved.

approvalThresholdPolicy_proposalDurationInHours :: Lens' ApprovalThresholdPolicy (Maybe Natural) Source #

The duration from the time that a proposal is created until it expires. If members cast neither the required number of YES votes to approve the proposal nor the number of NO votes required to reject it before the duration expires, the proposal is EXPIRED and ProposalActions are not carried out.

Invitation

data Invitation Source #

An invitation to an AWS account to create a member and join the network.

Applies only to Hyperledger Fabric.

See: newInvitation smart constructor.

Constructors

Invitation' 

Fields

  • status :: Maybe InvitationStatus

    The status of the invitation:

    • PENDING - The invitee has not created a member to join the network, and the invitation has not yet expired.
    • ACCEPTING - The invitee has begun creating a member, and creation has not yet completed.
    • ACCEPTED - The invitee created a member and joined the network using the InvitationID.
    • REJECTED - The invitee rejected the invitation.
    • EXPIRED - The invitee neither created a member nor rejected the invitation before the ExpirationDate.
  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

  • invitationId :: Maybe Text

    The unique identifier for the invitation.

  • expirationDate :: Maybe POSIX

    The date and time that the invitation expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, the invitee can no longer create a member and join the network using this InvitationId.

  • networkSummary :: Maybe NetworkSummary
     
  • creationDate :: Maybe POSIX

    The date and time that the invitation was created.

Instances

Instances details
Eq Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

Read Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

Show Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

Generic Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

Associated Types

type Rep Invitation :: Type -> Type #

NFData Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

Methods

rnf :: Invitation -> () #

Hashable Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

FromJSON Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

type Rep Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

type Rep Invitation = D1 ('MetaData "Invitation" "Amazonka.ManagedBlockChain.Types.Invitation" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "Invitation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InvitationStatus)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "invitationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "networkSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkSummary)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newInvitation :: Invitation Source #

Create a value of Invitation 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:status:Invitation', invitation_status - The status of the invitation:

  • PENDING - The invitee has not created a member to join the network, and the invitation has not yet expired.
  • ACCEPTING - The invitee has begun creating a member, and creation has not yet completed.
  • ACCEPTED - The invitee created a member and joined the network using the InvitationID.
  • REJECTED - The invitee rejected the invitation.
  • EXPIRED - The invitee neither created a member nor rejected the invitation before the ExpirationDate.

$sel:arn:Invitation', invitation_arn - The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

$sel:invitationId:Invitation', invitation_invitationId - The unique identifier for the invitation.

$sel:expirationDate:Invitation', invitation_expirationDate - The date and time that the invitation expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, the invitee can no longer create a member and join the network using this InvitationId.

$sel:networkSummary:Invitation', invitation_networkSummary - Undocumented member.

$sel:creationDate:Invitation', invitation_creationDate - The date and time that the invitation was created.

invitation_status :: Lens' Invitation (Maybe InvitationStatus) Source #

The status of the invitation:

  • PENDING - The invitee has not created a member to join the network, and the invitation has not yet expired.
  • ACCEPTING - The invitee has begun creating a member, and creation has not yet completed.
  • ACCEPTED - The invitee created a member and joined the network using the InvitationID.
  • REJECTED - The invitee rejected the invitation.
  • EXPIRED - The invitee neither created a member nor rejected the invitation before the ExpirationDate.

invitation_arn :: Lens' Invitation (Maybe Text) Source #

The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

invitation_invitationId :: Lens' Invitation (Maybe Text) Source #

The unique identifier for the invitation.

invitation_expirationDate :: Lens' Invitation (Maybe UTCTime) Source #

The date and time that the invitation expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, the invitee can no longer create a member and join the network using this InvitationId.

invitation_creationDate :: Lens' Invitation (Maybe UTCTime) Source #

The date and time that the invitation was created.

InviteAction

data InviteAction Source #

An action to invite a specific AWS account to create a member and join the network. The InviteAction is carried out when a Proposal is APPROVED.

Applies only to Hyperledger Fabric.

See: newInviteAction smart constructor.

Constructors

InviteAction' 

Fields

Instances

Instances details
Eq InviteAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InviteAction

Read InviteAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InviteAction

Show InviteAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InviteAction

Generic InviteAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InviteAction

Associated Types

type Rep InviteAction :: Type -> Type #

NFData InviteAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InviteAction

Methods

rnf :: InviteAction -> () #

Hashable InviteAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InviteAction

ToJSON InviteAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InviteAction

FromJSON InviteAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InviteAction

type Rep InviteAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.InviteAction

type Rep InviteAction = D1 ('MetaData "InviteAction" "Amazonka.ManagedBlockChain.Types.InviteAction" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "InviteAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newInviteAction Source #

Create a value of InviteAction 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:principal:InviteAction', inviteAction_principal - The AWS account ID to invite.

inviteAction_principal :: Lens' InviteAction Text Source #

The AWS account ID to invite.

LogConfiguration

data LogConfiguration Source #

A configuration for logging events.

See: newLogConfiguration smart constructor.

Constructors

LogConfiguration' 

Fields

Instances

Instances details
Eq LogConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfiguration

Read LogConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfiguration

Show LogConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfiguration

Generic LogConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfiguration

Associated Types

type Rep LogConfiguration :: Type -> Type #

NFData LogConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfiguration

Methods

rnf :: LogConfiguration -> () #

Hashable LogConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfiguration

ToJSON LogConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfiguration

FromJSON LogConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfiguration

type Rep LogConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfiguration

type Rep LogConfiguration = D1 ('MetaData "LogConfiguration" "Amazonka.ManagedBlockChain.Types.LogConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "LogConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newLogConfiguration :: LogConfiguration Source #

Create a value of LogConfiguration 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:enabled:LogConfiguration', logConfiguration_enabled - Indicates whether logging is enabled.

logConfiguration_enabled :: Lens' LogConfiguration (Maybe Bool) Source #

Indicates whether logging is enabled.

LogConfigurations

data LogConfigurations Source #

A collection of log configurations.

See: newLogConfigurations smart constructor.

Constructors

LogConfigurations' 

Fields

Instances

Instances details
Eq LogConfigurations Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfigurations

Read LogConfigurations Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfigurations

Show LogConfigurations Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfigurations

Generic LogConfigurations Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfigurations

Associated Types

type Rep LogConfigurations :: Type -> Type #

NFData LogConfigurations Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfigurations

Methods

rnf :: LogConfigurations -> () #

Hashable LogConfigurations Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfigurations

ToJSON LogConfigurations Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfigurations

FromJSON LogConfigurations Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfigurations

type Rep LogConfigurations Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.LogConfigurations

type Rep LogConfigurations = D1 ('MetaData "LogConfigurations" "Amazonka.ManagedBlockChain.Types.LogConfigurations" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "LogConfigurations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cloudwatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogConfiguration))))

newLogConfigurations :: LogConfigurations Source #

Create a value of LogConfigurations 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:cloudwatch:LogConfigurations', logConfigurations_cloudwatch - Parameters for publishing logs to Amazon CloudWatch Logs.

logConfigurations_cloudwatch :: Lens' LogConfigurations (Maybe LogConfiguration) Source #

Parameters for publishing logs to Amazon CloudWatch Logs.

Member

data Member Source #

Member configuration properties.

Applies only to Hyperledger Fabric.

See: newMember smart constructor.

Constructors

Member' 

Fields

  • status :: Maybe MemberStatus

    The status of a member.

    • CREATING - The AWS account is in the process of creating a member.
    • AVAILABLE - The member has been created and can participate in the network.
    • CREATE_FAILED - The AWS account attempted to create a member and creation failed.
    • UPDATING - The member is in the process of being updated.
    • DELETING - The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
    • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
    • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

      The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

  • kmsKeyArn :: Maybe Text

    The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) that the member uses for encryption at rest. If the value of this parameter is "AWS Owned KMS Key", the member uses an AWS owned KMS key for encryption. This parameter is inherited by the nodes that this member owns.

  • logPublishingConfiguration :: Maybe MemberLogPublishingConfiguration

    Configuration properties for logging events associated with a member.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

  • networkId :: Maybe Text

    The unique identifier of the network to which the member belongs.

  • name :: Maybe Text

    The name of the member.

  • id :: Maybe Text

    The unique identifier of the member.

  • creationDate :: Maybe POSIX

    The date and time that the member was created.

  • frameworkAttributes :: Maybe MemberFrameworkAttributes

    Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.

  • description :: Maybe Text

    An optional description for the member.

  • tags :: Maybe (HashMap Text Text)

    Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Instances

Instances details
Eq Member Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Member

Methods

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

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

Read Member Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Member

Show Member Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Member

Generic Member Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Member

Associated Types

type Rep Member :: Type -> Type #

Methods

from :: Member -> Rep Member x #

to :: Rep Member x -> Member #

NFData Member Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Member

Methods

rnf :: Member -> () #

Hashable Member Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Member

Methods

hashWithSalt :: Int -> Member -> Int #

hash :: Member -> Int #

FromJSON Member Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Member

type Rep Member Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Member

type Rep Member = D1 ('MetaData "Member" "Amazonka.ManagedBlockChain.Types.Member" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "Member'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberStatus)) :*: S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "logPublishingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberLogPublishingConfiguration)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "networkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "frameworkAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberFrameworkAttributes)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newMember :: Member Source #

Create a value of Member 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:status:Member', member_status - The status of a member.

  • CREATING - The AWS account is in the process of creating a member.
  • AVAILABLE - The member has been created and can participate in the network.
  • CREATE_FAILED - The AWS account attempted to create a member and creation failed.
  • UPDATING - The member is in the process of being updated.
  • DELETING - The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
  • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
  • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

    The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

$sel:kmsKeyArn:Member', member_kmsKeyArn - The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) that the member uses for encryption at rest. If the value of this parameter is "AWS Owned KMS Key", the member uses an AWS owned KMS key for encryption. This parameter is inherited by the nodes that this member owns.

$sel:logPublishingConfiguration:Member', member_logPublishingConfiguration - Configuration properties for logging events associated with a member.

$sel:arn:Member', member_arn - The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

$sel:networkId:Member', member_networkId - The unique identifier of the network to which the member belongs.

$sel:name:Member', member_name - The name of the member.

$sel:id:Member', member_id - The unique identifier of the member.

$sel:creationDate:Member', member_creationDate - The date and time that the member was created.

$sel:frameworkAttributes:Member', member_frameworkAttributes - Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.

$sel:description:Member', member_description - An optional description for the member.

$sel:tags:Member', member_tags - Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

member_status :: Lens' Member (Maybe MemberStatus) Source #

The status of a member.

  • CREATING - The AWS account is in the process of creating a member.
  • AVAILABLE - The member has been created and can participate in the network.
  • CREATE_FAILED - The AWS account attempted to create a member and creation failed.
  • UPDATING - The member is in the process of being updated.
  • DELETING - The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
  • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
  • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

    The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

member_kmsKeyArn :: Lens' Member (Maybe Text) Source #

The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) that the member uses for encryption at rest. If the value of this parameter is "AWS Owned KMS Key", the member uses an AWS owned KMS key for encryption. This parameter is inherited by the nodes that this member owns.

member_logPublishingConfiguration :: Lens' Member (Maybe MemberLogPublishingConfiguration) Source #

Configuration properties for logging events associated with a member.

member_arn :: Lens' Member (Maybe Text) Source #

The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

member_networkId :: Lens' Member (Maybe Text) Source #

The unique identifier of the network to which the member belongs.

member_name :: Lens' Member (Maybe Text) Source #

The name of the member.

member_id :: Lens' Member (Maybe Text) Source #

The unique identifier of the member.

member_creationDate :: Lens' Member (Maybe UTCTime) Source #

The date and time that the member was created.

member_frameworkAttributes :: Lens' Member (Maybe MemberFrameworkAttributes) Source #

Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.

member_description :: Lens' Member (Maybe Text) Source #

An optional description for the member.

member_tags :: Lens' Member (Maybe (HashMap Text Text)) Source #

Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

MemberConfiguration

data MemberConfiguration Source #

Configuration properties of the member.

Applies only to Hyperledger Fabric.

See: newMemberConfiguration smart constructor.

Constructors

MemberConfiguration' 

Fields

  • kmsKeyArn :: Maybe Text

    The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates.

    Use one of the following options to specify this parameter:

    • Undefined or empty string - The member uses an AWS owned KMS key for encryption by default.
    • A valid symmetric customer managed KMS key - The member uses the specified key for encryption.

      Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the AWS Key Management Service Developer Guide.

      The following is an example of a KMS key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • logPublishingConfiguration :: Maybe MemberLogPublishingConfiguration

    Configuration properties for logging events associated with a member of a Managed Blockchain network.

  • description :: Maybe Text

    An optional description of the member.

  • tags :: Maybe (HashMap Text Text)

    Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

    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.

  • name :: Text

    The name of the member.

  • frameworkConfiguration :: MemberFrameworkConfiguration

    Configuration properties of the blockchain framework relevant to the member.

Instances

Instances details
Eq MemberConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberConfiguration

Show MemberConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberConfiguration

Generic MemberConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberConfiguration

Associated Types

type Rep MemberConfiguration :: Type -> Type #

NFData MemberConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberConfiguration

Methods

rnf :: MemberConfiguration -> () #

Hashable MemberConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberConfiguration

ToJSON MemberConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberConfiguration

type Rep MemberConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberConfiguration

type Rep MemberConfiguration = D1 ('MetaData "MemberConfiguration" "Amazonka.ManagedBlockChain.Types.MemberConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "MemberConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "logPublishingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberLogPublishingConfiguration)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "frameworkConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MemberFrameworkConfiguration)))))

newMemberConfiguration Source #

Create a value of MemberConfiguration 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:kmsKeyArn:MemberConfiguration', memberConfiguration_kmsKeyArn - The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates.

Use one of the following options to specify this parameter:

  • Undefined or empty string - The member uses an AWS owned KMS key for encryption by default.
  • A valid symmetric customer managed KMS key - The member uses the specified key for encryption.

    Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the AWS Key Management Service Developer Guide.

    The following is an example of a KMS key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

$sel:logPublishingConfiguration:MemberConfiguration', memberConfiguration_logPublishingConfiguration - Configuration properties for logging events associated with a member of a Managed Blockchain network.

$sel:description:MemberConfiguration', memberConfiguration_description - An optional description of the member.

$sel:tags:MemberConfiguration', memberConfiguration_tags - Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

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.

$sel:name:MemberConfiguration', memberConfiguration_name - The name of the member.

$sel:frameworkConfiguration:MemberConfiguration', memberConfiguration_frameworkConfiguration - Configuration properties of the blockchain framework relevant to the member.

memberConfiguration_kmsKeyArn :: Lens' MemberConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates.

Use one of the following options to specify this parameter:

  • Undefined or empty string - The member uses an AWS owned KMS key for encryption by default.
  • A valid symmetric customer managed KMS key - The member uses the specified key for encryption.

    Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the AWS Key Management Service Developer Guide.

    The following is an example of a KMS key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

memberConfiguration_logPublishingConfiguration :: Lens' MemberConfiguration (Maybe MemberLogPublishingConfiguration) Source #

Configuration properties for logging events associated with a member of a Managed Blockchain network.

memberConfiguration_description :: Lens' MemberConfiguration (Maybe Text) Source #

An optional description of the member.

memberConfiguration_tags :: Lens' MemberConfiguration (Maybe (HashMap Text Text)) Source #

Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

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.

memberConfiguration_frameworkConfiguration :: Lens' MemberConfiguration MemberFrameworkConfiguration Source #

Configuration properties of the blockchain framework relevant to the member.

MemberFabricAttributes

data MemberFabricAttributes Source #

Attributes of Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.

See: newMemberFabricAttributes smart constructor.

Constructors

MemberFabricAttributes' 

Fields

Instances

Instances details
Eq MemberFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricAttributes

Read MemberFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricAttributes

Show MemberFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricAttributes

Generic MemberFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricAttributes

Associated Types

type Rep MemberFabricAttributes :: Type -> Type #

NFData MemberFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricAttributes

Methods

rnf :: MemberFabricAttributes -> () #

Hashable MemberFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricAttributes

FromJSON MemberFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricAttributes

type Rep MemberFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricAttributes

type Rep MemberFabricAttributes = D1 ('MetaData "MemberFabricAttributes" "Amazonka.ManagedBlockChain.Types.MemberFabricAttributes" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "MemberFabricAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "caEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "adminUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMemberFabricAttributes :: MemberFabricAttributes Source #

Create a value of MemberFabricAttributes 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:caEndpoint:MemberFabricAttributes', memberFabricAttributes_caEndpoint - The endpoint used to access the member's certificate authority.

$sel:adminUsername:MemberFabricAttributes', memberFabricAttributes_adminUsername - The user name for the initial administrator user for the member.

memberFabricAttributes_caEndpoint :: Lens' MemberFabricAttributes (Maybe Text) Source #

The endpoint used to access the member's certificate authority.

memberFabricAttributes_adminUsername :: Lens' MemberFabricAttributes (Maybe Text) Source #

The user name for the initial administrator user for the member.

MemberFabricConfiguration

data MemberFabricConfiguration Source #

Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.

See: newMemberFabricConfiguration smart constructor.

Constructors

MemberFabricConfiguration' 

Fields

  • adminUsername :: Text

    The user name for the member's initial administrative user.

  • adminPassword :: Sensitive Text

    The password for the member's initial administrative user. The AdminPassword must be at least eight characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\), @, or a space.

Instances

Instances details
Eq MemberFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration

Show MemberFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration

Generic MemberFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration

Associated Types

type Rep MemberFabricConfiguration :: Type -> Type #

NFData MemberFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration

Hashable MemberFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration

ToJSON MemberFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration

type Rep MemberFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration

type Rep MemberFabricConfiguration = D1 ('MetaData "MemberFabricConfiguration" "Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "MemberFabricConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "adminUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "adminPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))

newMemberFabricConfiguration Source #

Create a value of MemberFabricConfiguration 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:adminUsername:MemberFabricConfiguration', memberFabricConfiguration_adminUsername - The user name for the member's initial administrative user.

$sel:adminPassword:MemberFabricConfiguration', memberFabricConfiguration_adminPassword - The password for the member's initial administrative user. The AdminPassword must be at least eight characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\), @, or a space.

memberFabricConfiguration_adminUsername :: Lens' MemberFabricConfiguration Text Source #

The user name for the member's initial administrative user.

memberFabricConfiguration_adminPassword :: Lens' MemberFabricConfiguration Text Source #

The password for the member's initial administrative user. The AdminPassword must be at least eight characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\), @, or a space.

MemberFabricLogPublishingConfiguration

data MemberFabricLogPublishingConfiguration Source #

Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.

See: newMemberFabricLogPublishingConfiguration smart constructor.

Constructors

MemberFabricLogPublishingConfiguration' 

Fields

  • caLogs :: Maybe LogConfigurations

    Configuration properties for logging events associated with a member's Certificate Authority (CA). CA logs help you determine when a member in your account joins the network, or when new peers register with a member CA.

Instances

Instances details
Eq MemberFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration

Read MemberFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration

Show MemberFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration

Generic MemberFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration

NFData MemberFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration

Hashable MemberFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration

ToJSON MemberFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration

FromJSON MemberFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration

type Rep MemberFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration

type Rep MemberFabricLogPublishingConfiguration = D1 ('MetaData "MemberFabricLogPublishingConfiguration" "Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "MemberFabricLogPublishingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "caLogs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogConfigurations))))

newMemberFabricLogPublishingConfiguration :: MemberFabricLogPublishingConfiguration Source #

Create a value of MemberFabricLogPublishingConfiguration 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:caLogs:MemberFabricLogPublishingConfiguration', memberFabricLogPublishingConfiguration_caLogs - Configuration properties for logging events associated with a member's Certificate Authority (CA). CA logs help you determine when a member in your account joins the network, or when new peers register with a member CA.

memberFabricLogPublishingConfiguration_caLogs :: Lens' MemberFabricLogPublishingConfiguration (Maybe LogConfigurations) Source #

Configuration properties for logging events associated with a member's Certificate Authority (CA). CA logs help you determine when a member in your account joins the network, or when new peers register with a member CA.

MemberFrameworkAttributes

data MemberFrameworkAttributes Source #

Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.

See: newMemberFrameworkAttributes smart constructor.

Constructors

MemberFrameworkAttributes' 

Fields

Instances

Instances details
Eq MemberFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes

Read MemberFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes

Show MemberFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes

Generic MemberFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes

Associated Types

type Rep MemberFrameworkAttributes :: Type -> Type #

NFData MemberFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes

Hashable MemberFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes

FromJSON MemberFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes

type Rep MemberFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes

type Rep MemberFrameworkAttributes = D1 ('MetaData "MemberFrameworkAttributes" "Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "MemberFrameworkAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberFabricAttributes))))

newMemberFrameworkAttributes :: MemberFrameworkAttributes Source #

Create a value of MemberFrameworkAttributes 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:fabric:MemberFrameworkAttributes', memberFrameworkAttributes_fabric - Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain network that uses Hyperledger Fabric.

memberFrameworkAttributes_fabric :: Lens' MemberFrameworkAttributes (Maybe MemberFabricAttributes) Source #

Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain network that uses Hyperledger Fabric.

MemberFrameworkConfiguration

data MemberFrameworkConfiguration Source #

Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.

See: newMemberFrameworkConfiguration smart constructor.

Constructors

MemberFrameworkConfiguration' 

Fields

Instances

Instances details
Eq MemberFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration

Show MemberFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration

Generic MemberFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration

Associated Types

type Rep MemberFrameworkConfiguration :: Type -> Type #

NFData MemberFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration

Hashable MemberFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration

ToJSON MemberFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration

type Rep MemberFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration

type Rep MemberFrameworkConfiguration = D1 ('MetaData "MemberFrameworkConfiguration" "Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "MemberFrameworkConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberFabricConfiguration))))

newMemberFrameworkConfiguration :: MemberFrameworkConfiguration Source #

Create a value of MemberFrameworkConfiguration 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:fabric:MemberFrameworkConfiguration', memberFrameworkConfiguration_fabric - Attributes of Hyperledger Fabric for a member on a Managed Blockchain network that uses Hyperledger Fabric.

memberFrameworkConfiguration_fabric :: Lens' MemberFrameworkConfiguration (Maybe MemberFabricConfiguration) Source #

Attributes of Hyperledger Fabric for a member on a Managed Blockchain network that uses Hyperledger Fabric.

MemberLogPublishingConfiguration

data MemberLogPublishingConfiguration Source #

Configuration properties for logging events associated with a member of a Managed Blockchain network.

See: newMemberLogPublishingConfiguration smart constructor.

Constructors

MemberLogPublishingConfiguration' 

Fields

Instances

Instances details
Eq MemberLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration

Read MemberLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration

Show MemberLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration

Generic MemberLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration

Associated Types

type Rep MemberLogPublishingConfiguration :: Type -> Type #

NFData MemberLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration

Hashable MemberLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration

ToJSON MemberLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration

FromJSON MemberLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration

type Rep MemberLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration

type Rep MemberLogPublishingConfiguration = D1 ('MetaData "MemberLogPublishingConfiguration" "Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "MemberLogPublishingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberFabricLogPublishingConfiguration))))

newMemberLogPublishingConfiguration :: MemberLogPublishingConfiguration Source #

Create a value of MemberLogPublishingConfiguration 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:fabric:MemberLogPublishingConfiguration', memberLogPublishingConfiguration_fabric - Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.

memberLogPublishingConfiguration_fabric :: Lens' MemberLogPublishingConfiguration (Maybe MemberFabricLogPublishingConfiguration) Source #

Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.

MemberSummary

data MemberSummary Source #

A summary of configuration properties for a member.

Applies only to Hyperledger Fabric.

See: newMemberSummary smart constructor.

Constructors

MemberSummary' 

Fields

  • status :: Maybe MemberStatus

    The status of the member.

    • CREATING - The AWS account is in the process of creating a member.
    • AVAILABLE - The member has been created and can participate in the network.
    • CREATE_FAILED - The AWS account attempted to create a member and creation failed.
    • UPDATING - The member is in the process of being updated.
    • DELETING - The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
    • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
    • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS Key Management Service (AWS KMS) for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

      The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

  • name :: Maybe Text

    The name of the member.

  • id :: Maybe Text

    The unique identifier of the member.

  • isOwned :: Maybe Bool

    An indicator of whether the member is owned by your AWS account or a different AWS account.

  • creationDate :: Maybe POSIX

    The date and time that the member was created.

  • description :: Maybe Text

    An optional description of the member.

Instances

Instances details
Eq MemberSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberSummary

Read MemberSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberSummary

Show MemberSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberSummary

Generic MemberSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberSummary

Associated Types

type Rep MemberSummary :: Type -> Type #

NFData MemberSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberSummary

Methods

rnf :: MemberSummary -> () #

Hashable MemberSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberSummary

FromJSON MemberSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberSummary

type Rep MemberSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.MemberSummary

type Rep MemberSummary = D1 ('MetaData "MemberSummary" "Amazonka.ManagedBlockChain.Types.MemberSummary" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "MemberSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberStatus)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "isOwned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newMemberSummary :: MemberSummary Source #

Create a value of MemberSummary 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:status:MemberSummary', memberSummary_status - The status of the member.

  • CREATING - The AWS account is in the process of creating a member.
  • AVAILABLE - The member has been created and can participate in the network.
  • CREATE_FAILED - The AWS account attempted to create a member and creation failed.
  • UPDATING - The member is in the process of being updated.
  • DELETING - The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
  • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
  • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS Key Management Service (AWS KMS) for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

    The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

$sel:arn:MemberSummary', memberSummary_arn - The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

$sel:name:MemberSummary', memberSummary_name - The name of the member.

$sel:id:MemberSummary', memberSummary_id - The unique identifier of the member.

$sel:isOwned:MemberSummary', memberSummary_isOwned - An indicator of whether the member is owned by your AWS account or a different AWS account.

$sel:creationDate:MemberSummary', memberSummary_creationDate - The date and time that the member was created.

$sel:description:MemberSummary', memberSummary_description - An optional description of the member.

memberSummary_status :: Lens' MemberSummary (Maybe MemberStatus) Source #

The status of the member.

  • CREATING - The AWS account is in the process of creating a member.
  • AVAILABLE - The member has been created and can participate in the network.
  • CREATE_FAILED - The AWS account attempted to create a member and creation failed.
  • UPDATING - The member is in the process of being updated.
  • DELETING - The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
  • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.
  • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS Key Management Service (AWS KMS) for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

    The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

memberSummary_arn :: Lens' MemberSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

memberSummary_id :: Lens' MemberSummary (Maybe Text) Source #

The unique identifier of the member.

memberSummary_isOwned :: Lens' MemberSummary (Maybe Bool) Source #

An indicator of whether the member is owned by your AWS account or a different AWS account.

memberSummary_creationDate :: Lens' MemberSummary (Maybe UTCTime) Source #

The date and time that the member was created.

memberSummary_description :: Lens' MemberSummary (Maybe Text) Source #

An optional description of the member.

Network

data Network Source #

Network configuration properties.

See: newNetwork smart constructor.

Constructors

Network' 

Fields

Instances

Instances details
Eq Network Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Network

Methods

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

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

Read Network Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Network

Show Network Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Network

Generic Network Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Network

Associated Types

type Rep Network :: Type -> Type #

Methods

from :: Network -> Rep Network x #

to :: Rep Network x -> Network #

NFData Network Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Network

Methods

rnf :: Network -> () #

Hashable Network Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Network

Methods

hashWithSalt :: Int -> Network -> Int #

hash :: Network -> Int #

FromJSON Network Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Network

type Rep Network Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Network

type Rep Network = D1 ('MetaData "Network" "Amazonka.ManagedBlockChain.Types.Network" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "Network'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkStatus)) :*: (S1 ('MetaSel ('Just "framework") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Framework)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "frameworkVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "vpcEndpointServiceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "votingPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VotingPolicy)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "frameworkAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkFrameworkAttributes)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newNetwork :: Network Source #

Create a value of Network 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:status:Network', network_status - The current status of the network.

$sel:framework:Network', network_framework - The blockchain framework that the network uses.

$sel:arn:Network', network_arn - The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

$sel:frameworkVersion:Network', network_frameworkVersion - The version of the blockchain framework that the network uses.

$sel:vpcEndpointServiceName:Network', network_vpcEndpointServiceName - The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.

$sel:name:Network', network_name - The name of the network.

$sel:id:Network', network_id - The unique identifier of the network.

$sel:votingPolicy:Network', network_votingPolicy - The voting rules for the network to decide if a proposal is accepted.

$sel:creationDate:Network', network_creationDate - The date and time that the network was created.

$sel:frameworkAttributes:Network', network_frameworkAttributes - Attributes of the blockchain framework that the network uses.

$sel:description:Network', network_description - Attributes of the blockchain framework for the network.

$sel:tags:Network', network_tags - Tags assigned to the network. Each tag consists of a key and optional value.

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.

network_status :: Lens' Network (Maybe NetworkStatus) Source #

The current status of the network.

network_framework :: Lens' Network (Maybe Framework) Source #

The blockchain framework that the network uses.

network_arn :: Lens' Network (Maybe Text) Source #

The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

network_frameworkVersion :: Lens' Network (Maybe Text) Source #

The version of the blockchain framework that the network uses.

network_vpcEndpointServiceName :: Lens' Network (Maybe Text) Source #

The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.

network_name :: Lens' Network (Maybe Text) Source #

The name of the network.

network_id :: Lens' Network (Maybe Text) Source #

The unique identifier of the network.

network_votingPolicy :: Lens' Network (Maybe VotingPolicy) Source #

The voting rules for the network to decide if a proposal is accepted.

network_creationDate :: Lens' Network (Maybe UTCTime) Source #

The date and time that the network was created.

network_frameworkAttributes :: Lens' Network (Maybe NetworkFrameworkAttributes) Source #

Attributes of the blockchain framework that the network uses.

network_description :: Lens' Network (Maybe Text) Source #

Attributes of the blockchain framework for the network.

network_tags :: Lens' Network (Maybe (HashMap Text Text)) Source #

Tags assigned to the network. Each tag consists of a key and optional value.

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.

NetworkEthereumAttributes

data NetworkEthereumAttributes Source #

Attributes of Ethereum for a network.

See: newNetworkEthereumAttributes smart constructor.

Constructors

NetworkEthereumAttributes' 

Fields

  • chainId :: Maybe Text

    The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:

    • mainnet = 1
    • rinkeby = 4
    • ropsten = 3

Instances

Instances details
Eq NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Read NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Show NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Generic NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Associated Types

type Rep NetworkEthereumAttributes :: Type -> Type #

NFData NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Hashable NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

FromJSON NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

type Rep NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

type Rep NetworkEthereumAttributes = D1 ('MetaData "NetworkEthereumAttributes" "Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NetworkEthereumAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "chainId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newNetworkEthereumAttributes :: NetworkEthereumAttributes Source #

Create a value of NetworkEthereumAttributes 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:chainId:NetworkEthereumAttributes', networkEthereumAttributes_chainId - The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:

  • mainnet = 1
  • rinkeby = 4
  • ropsten = 3

networkEthereumAttributes_chainId :: Lens' NetworkEthereumAttributes (Maybe Text) Source #

The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:

  • mainnet = 1
  • rinkeby = 4
  • ropsten = 3

NetworkFabricAttributes

data NetworkFabricAttributes Source #

Attributes of Hyperledger Fabric for a network.

See: newNetworkFabricAttributes smart constructor.

Constructors

NetworkFabricAttributes' 

Fields

Instances

Instances details
Eq NetworkFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes

Read NetworkFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes

Show NetworkFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes

Generic NetworkFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes

Associated Types

type Rep NetworkFabricAttributes :: Type -> Type #

NFData NetworkFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes

Methods

rnf :: NetworkFabricAttributes -> () #

Hashable NetworkFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes

FromJSON NetworkFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes

type Rep NetworkFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes

type Rep NetworkFabricAttributes = D1 ('MetaData "NetworkFabricAttributes" "Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NetworkFabricAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "edition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Edition)) :*: S1 ('MetaSel ('Just "orderingServiceEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newNetworkFabricAttributes :: NetworkFabricAttributes Source #

Create a value of NetworkFabricAttributes 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:edition:NetworkFabricAttributes', networkFabricAttributes_edition - The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For more information, see Amazon Managed Blockchain Pricing.

$sel:orderingServiceEndpoint:NetworkFabricAttributes', networkFabricAttributes_orderingServiceEndpoint - The endpoint of the ordering service for the network.

networkFabricAttributes_edition :: Lens' NetworkFabricAttributes (Maybe Edition) Source #

The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For more information, see Amazon Managed Blockchain Pricing.

networkFabricAttributes_orderingServiceEndpoint :: Lens' NetworkFabricAttributes (Maybe Text) Source #

The endpoint of the ordering service for the network.

NetworkFabricConfiguration

data NetworkFabricConfiguration Source #

Hyperledger Fabric configuration properties for the network.

See: newNetworkFabricConfiguration smart constructor.

Constructors

NetworkFabricConfiguration' 

Fields

Instances

Instances details
Eq NetworkFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration

Read NetworkFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration

Show NetworkFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration

Generic NetworkFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration

Associated Types

type Rep NetworkFabricConfiguration :: Type -> Type #

NFData NetworkFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration

Hashable NetworkFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration

ToJSON NetworkFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration

type Rep NetworkFabricConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration

type Rep NetworkFabricConfiguration = D1 ('MetaData "NetworkFabricConfiguration" "Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NetworkFabricConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "edition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Edition)))

newNetworkFabricConfiguration Source #

Create a value of NetworkFabricConfiguration 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:edition:NetworkFabricConfiguration', networkFabricConfiguration_edition - The edition of Amazon Managed Blockchain that the network uses. For more information, see Amazon Managed Blockchain Pricing.

networkFabricConfiguration_edition :: Lens' NetworkFabricConfiguration Edition Source #

The edition of Amazon Managed Blockchain that the network uses. For more information, see Amazon Managed Blockchain Pricing.

NetworkFrameworkAttributes

data NetworkFrameworkAttributes Source #

Attributes relevant to the network for the blockchain framework that the network uses.

See: newNetworkFrameworkAttributes smart constructor.

Constructors

NetworkFrameworkAttributes' 

Fields

Instances

Instances details
Eq NetworkFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes

Read NetworkFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes

Show NetworkFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes

Generic NetworkFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes

Associated Types

type Rep NetworkFrameworkAttributes :: Type -> Type #

NFData NetworkFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes

Hashable NetworkFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes

FromJSON NetworkFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes

type Rep NetworkFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes

type Rep NetworkFrameworkAttributes = D1 ('MetaData "NetworkFrameworkAttributes" "Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NetworkFrameworkAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkFabricAttributes)) :*: S1 ('MetaSel ('Just "ethereum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkEthereumAttributes))))

newNetworkFrameworkAttributes :: NetworkFrameworkAttributes Source #

Create a value of NetworkFrameworkAttributes 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:fabric:NetworkFrameworkAttributes', networkFrameworkAttributes_fabric - Attributes of Hyperledger Fabric for a Managed Blockchain network that uses Hyperledger Fabric.

$sel:ethereum:NetworkFrameworkAttributes', networkFrameworkAttributes_ethereum - Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network.

networkFrameworkAttributes_fabric :: Lens' NetworkFrameworkAttributes (Maybe NetworkFabricAttributes) Source #

Attributes of Hyperledger Fabric for a Managed Blockchain network that uses Hyperledger Fabric.

networkFrameworkAttributes_ethereum :: Lens' NetworkFrameworkAttributes (Maybe NetworkEthereumAttributes) Source #

Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network.

NetworkFrameworkConfiguration

data NetworkFrameworkConfiguration Source #

Configuration properties relevant to the network for the blockchain framework that the network uses.

See: newNetworkFrameworkConfiguration smart constructor.

Constructors

NetworkFrameworkConfiguration' 

Fields

Instances

Instances details
Eq NetworkFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration

Read NetworkFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration

Show NetworkFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration

Generic NetworkFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration

Associated Types

type Rep NetworkFrameworkConfiguration :: Type -> Type #

NFData NetworkFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration

Hashable NetworkFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration

ToJSON NetworkFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration

type Rep NetworkFrameworkConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration

type Rep NetworkFrameworkConfiguration = D1 ('MetaData "NetworkFrameworkConfiguration" "Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NetworkFrameworkConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkFabricConfiguration))))

newNetworkFrameworkConfiguration :: NetworkFrameworkConfiguration Source #

Create a value of NetworkFrameworkConfiguration 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:fabric:NetworkFrameworkConfiguration', networkFrameworkConfiguration_fabric - Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.

networkFrameworkConfiguration_fabric :: Lens' NetworkFrameworkConfiguration (Maybe NetworkFabricConfiguration) Source #

Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.

NetworkSummary

data NetworkSummary Source #

A summary of network configuration properties.

See: newNetworkSummary smart constructor.

Constructors

NetworkSummary' 

Fields

Instances

Instances details
Eq NetworkSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkSummary

Read NetworkSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkSummary

Show NetworkSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkSummary

Generic NetworkSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkSummary

Associated Types

type Rep NetworkSummary :: Type -> Type #

NFData NetworkSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkSummary

Methods

rnf :: NetworkSummary -> () #

Hashable NetworkSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkSummary

FromJSON NetworkSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkSummary

type Rep NetworkSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkSummary

newNetworkSummary :: NetworkSummary Source #

Create a value of NetworkSummary 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:status:NetworkSummary', networkSummary_status - The current status of the network.

$sel:framework:NetworkSummary', networkSummary_framework - The blockchain framework that the network uses.

$sel:arn:NetworkSummary', networkSummary_arn - The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

$sel:frameworkVersion:NetworkSummary', networkSummary_frameworkVersion - The version of the blockchain framework that the network uses.

$sel:name:NetworkSummary', networkSummary_name - The name of the network.

$sel:id:NetworkSummary', networkSummary_id - The unique identifier of the network.

$sel:creationDate:NetworkSummary', networkSummary_creationDate - The date and time that the network was created.

$sel:description:NetworkSummary', networkSummary_description - An optional description of the network.

networkSummary_status :: Lens' NetworkSummary (Maybe NetworkStatus) Source #

The current status of the network.

networkSummary_framework :: Lens' NetworkSummary (Maybe Framework) Source #

The blockchain framework that the network uses.

networkSummary_arn :: Lens' NetworkSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

networkSummary_frameworkVersion :: Lens' NetworkSummary (Maybe Text) Source #

The version of the blockchain framework that the network uses.

networkSummary_id :: Lens' NetworkSummary (Maybe Text) Source #

The unique identifier of the network.

networkSummary_creationDate :: Lens' NetworkSummary (Maybe UTCTime) Source #

The date and time that the network was created.

networkSummary_description :: Lens' NetworkSummary (Maybe Text) Source #

An optional description of the network.

Node

data Node Source #

Configuration properties of a node.

See: newNode smart constructor.

Constructors

Node' 

Fields

  • status :: Maybe NodeStatus

    The status of the node.

    • CREATING - The AWS account is in the process of creating a node.
    • AVAILABLE - The node has been created and can participate in the network.
    • UNHEALTHY - The node is impaired and might not function as expected. Amazon Managed Blockchain automatically finds nodes in this state and tries to recover them. If a node is recoverable, it returns to AVAILABLE. Otherwise, it moves to FAILED status.
    • CREATE_FAILED - The AWS account attempted to create a node and creation failed.
    • UPDATING - The node is in the process of being updated.
    • DELETING - The node is in the process of being deleted.
    • DELETED - The node can no longer participate on the network.
    • FAILED - The node is no longer functional, cannot be recovered, and must be deleted.
    • INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

      The effect of disabling or deleting a key, or revoking a grant is not immediate. The node resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

  • kmsKeyArn :: Maybe Text

    The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) that the node uses for encryption at rest. If the value of this parameter is "AWS Owned KMS Key", the node uses an AWS owned KMS key for encryption. The node inherits this parameter from the member that it belongs to.

    Applies only to Hyperledger Fabric.

  • logPublishingConfiguration :: Maybe NodeLogPublishingConfiguration

    Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.

  • memberId :: Maybe Text

    The unique identifier of the member to which the node belongs.

    Applies only to Hyperledger Fabric.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

  • networkId :: Maybe Text

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

  • instanceType :: Maybe Text

    The instance type of the node.

  • stateDB :: Maybe StateDBType

    The state database that the node uses. Values are LevelDB or CouchDB.

    Applies only to Hyperledger Fabric.

  • availabilityZone :: Maybe Text

    The Availability Zone in which the node exists. Required for Ethereum nodes.

  • id :: Maybe Text

    The unique identifier of the node.

  • creationDate :: Maybe POSIX

    The date and time that the node was created.

  • frameworkAttributes :: Maybe NodeFrameworkAttributes

    Attributes of the blockchain framework being used.

  • tags :: Maybe (HashMap Text Text)

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

    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.

Instances

Instances details
Eq Node Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Node

Methods

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

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

Read Node Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Node

Show Node Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Node

Methods

showsPrec :: Int -> Node -> ShowS #

show :: Node -> String #

showList :: [Node] -> ShowS #

Generic Node Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Node

Associated Types

type Rep Node :: Type -> Type #

Methods

from :: Node -> Rep Node x #

to :: Rep Node x -> Node #

NFData Node Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Node

Methods

rnf :: Node -> () #

Hashable Node Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Node

Methods

hashWithSalt :: Int -> Node -> Int #

hash :: Node -> Int #

FromJSON Node Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Node

type Rep Node Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Node

type Rep Node = D1 ('MetaData "Node" "Amazonka.ManagedBlockChain.Types.Node" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "Node'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeStatus)) :*: (S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logPublishingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeLogPublishingConfiguration)))) :*: (S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "networkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stateDB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StateDBType)) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "frameworkAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeFrameworkAttributes)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text 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:status:Node', node_status - The status of the node.

  • CREATING - The AWS account is in the process of creating a node.
  • AVAILABLE - The node has been created and can participate in the network.
  • UNHEALTHY - The node is impaired and might not function as expected. Amazon Managed Blockchain automatically finds nodes in this state and tries to recover them. If a node is recoverable, it returns to AVAILABLE. Otherwise, it moves to FAILED status.
  • CREATE_FAILED - The AWS account attempted to create a node and creation failed.
  • UPDATING - The node is in the process of being updated.
  • DELETING - The node is in the process of being deleted.
  • DELETED - The node can no longer participate on the network.
  • FAILED - The node is no longer functional, cannot be recovered, and must be deleted.
  • INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

    The effect of disabling or deleting a key, or revoking a grant is not immediate. The node resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

$sel:kmsKeyArn:Node', node_kmsKeyArn - The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) that the node uses for encryption at rest. If the value of this parameter is "AWS Owned KMS Key", the node uses an AWS owned KMS key for encryption. The node inherits this parameter from the member that it belongs to.

Applies only to Hyperledger Fabric.

$sel:logPublishingConfiguration:Node', node_logPublishingConfiguration - Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.

$sel:memberId:Node', node_memberId - The unique identifier of the member to which the node belongs.

Applies only to Hyperledger Fabric.

$sel:arn:Node', node_arn - The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

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

$sel:instanceType:Node', node_instanceType - The instance type of the node.

$sel:stateDB:Node', node_stateDB - The state database that the node uses. Values are LevelDB or CouchDB.

Applies only to Hyperledger Fabric.

$sel:availabilityZone:Node', node_availabilityZone - The Availability Zone in which the node exists. Required for Ethereum nodes.

$sel:id:Node', node_id - The unique identifier of the node.

$sel:creationDate:Node', node_creationDate - The date and time that the node was created.

$sel:frameworkAttributes:Node', node_frameworkAttributes - Attributes of the blockchain framework being used.

$sel:tags:Node', node_tags - Tags assigned to the node. Each tag consists of a key and optional value.

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.

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

The status of the node.

  • CREATING - The AWS account is in the process of creating a node.
  • AVAILABLE - The node has been created and can participate in the network.
  • UNHEALTHY - The node is impaired and might not function as expected. Amazon Managed Blockchain automatically finds nodes in this state and tries to recover them. If a node is recoverable, it returns to AVAILABLE. Otherwise, it moves to FAILED status.
  • CREATE_FAILED - The AWS account attempted to create a node and creation failed.
  • UPDATING - The node is in the process of being updated.
  • DELETING - The node is in the process of being deleted.
  • DELETED - The node can no longer participate on the network.
  • FAILED - The node is no longer functional, cannot be recovered, and must be deleted.
  • INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

    The effect of disabling or deleting a key, or revoking a grant is not immediate. The node resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

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

The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) that the node uses for encryption at rest. If the value of this parameter is "AWS Owned KMS Key", the node uses an AWS owned KMS key for encryption. The node inherits this parameter from the member that it belongs to.

Applies only to Hyperledger Fabric.

node_logPublishingConfiguration :: Lens' Node (Maybe NodeLogPublishingConfiguration) Source #

Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.

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

The unique identifier of the member to which the node belongs.

Applies only to Hyperledger Fabric.

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

The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

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

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

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

The instance type of the node.

node_stateDB :: Lens' Node (Maybe StateDBType) Source #

The state database that the node uses. Values are LevelDB or CouchDB.

Applies only to Hyperledger Fabric.

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

The Availability Zone in which the node exists. Required for Ethereum nodes.

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

The unique identifier of the node.

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

The date and time that the node was created.

node_frameworkAttributes :: Lens' Node (Maybe NodeFrameworkAttributes) Source #

Attributes of the blockchain framework being used.

node_tags :: Lens' Node (Maybe (HashMap Text Text)) Source #

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

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.

NodeConfiguration

data NodeConfiguration Source #

Configuration properties of a node.

See: newNodeConfiguration smart constructor.

Constructors

NodeConfiguration' 

Fields

  • logPublishingConfiguration :: Maybe NodeLogPublishingConfiguration

    Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.

  • stateDB :: Maybe StateDBType

    The state database that the node uses. Values are LevelDB or CouchDB. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is CouchDB.

    Applies only to Hyperledger Fabric.

  • availabilityZone :: Maybe Text

    The Availability Zone in which the node exists. Required for Ethereum nodes.

  • instanceType :: Text

    The Amazon Managed Blockchain instance type for the node.

Instances

Instances details
Eq NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

Read NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

Show NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

Generic NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

Associated Types

type Rep NodeConfiguration :: Type -> Type #

NFData NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

Methods

rnf :: NodeConfiguration -> () #

Hashable NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

ToJSON NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

type Rep NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

type Rep NodeConfiguration = D1 ('MetaData "NodeConfiguration" "Amazonka.ManagedBlockChain.Types.NodeConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NodeConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "logPublishingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeLogPublishingConfiguration)) :*: S1 ('MetaSel ('Just "stateDB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StateDBType))) :*: (S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newNodeConfiguration Source #

Create a value of NodeConfiguration 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:logPublishingConfiguration:NodeConfiguration', nodeConfiguration_logPublishingConfiguration - Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.

$sel:stateDB:NodeConfiguration', nodeConfiguration_stateDB - The state database that the node uses. Values are LevelDB or CouchDB. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is CouchDB.

Applies only to Hyperledger Fabric.

$sel:availabilityZone:NodeConfiguration', nodeConfiguration_availabilityZone - The Availability Zone in which the node exists. Required for Ethereum nodes.

$sel:instanceType:NodeConfiguration', nodeConfiguration_instanceType - The Amazon Managed Blockchain instance type for the node.

nodeConfiguration_logPublishingConfiguration :: Lens' NodeConfiguration (Maybe NodeLogPublishingConfiguration) Source #

Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.

nodeConfiguration_stateDB :: Lens' NodeConfiguration (Maybe StateDBType) Source #

The state database that the node uses. Values are LevelDB or CouchDB. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is CouchDB.

Applies only to Hyperledger Fabric.

nodeConfiguration_availabilityZone :: Lens' NodeConfiguration (Maybe Text) Source #

The Availability Zone in which the node exists. Required for Ethereum nodes.

nodeConfiguration_instanceType :: Lens' NodeConfiguration Text Source #

The Amazon Managed Blockchain instance type for the node.

NodeEthereumAttributes

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.

NodeFabricAttributes

data NodeFabricAttributes Source #

Attributes of Hyperledger Fabric for a peer node on a Hyperledger Fabric network on Managed Blockchain.

See: newNodeFabricAttributes smart constructor.

Constructors

NodeFabricAttributes' 

Fields

  • peerEventEndpoint :: Maybe Text

    The endpoint that identifies the peer node for peer channel-based event services.

  • peerEndpoint :: Maybe Text

    The endpoint that identifies the peer node for all services except peer channel-based event services.

Instances

Instances details
Eq NodeFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricAttributes

Read NodeFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricAttributes

Show NodeFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricAttributes

Generic NodeFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricAttributes

Associated Types

type Rep NodeFabricAttributes :: Type -> Type #

NFData NodeFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricAttributes

Methods

rnf :: NodeFabricAttributes -> () #

Hashable NodeFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricAttributes

FromJSON NodeFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricAttributes

type Rep NodeFabricAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricAttributes

type Rep NodeFabricAttributes = D1 ('MetaData "NodeFabricAttributes" "Amazonka.ManagedBlockChain.Types.NodeFabricAttributes" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NodeFabricAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "peerEventEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "peerEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newNodeFabricAttributes :: NodeFabricAttributes Source #

Create a value of NodeFabricAttributes 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:peerEventEndpoint:NodeFabricAttributes', nodeFabricAttributes_peerEventEndpoint - The endpoint that identifies the peer node for peer channel-based event services.

$sel:peerEndpoint:NodeFabricAttributes', nodeFabricAttributes_peerEndpoint - The endpoint that identifies the peer node for all services except peer channel-based event services.

nodeFabricAttributes_peerEventEndpoint :: Lens' NodeFabricAttributes (Maybe Text) Source #

The endpoint that identifies the peer node for peer channel-based event services.

nodeFabricAttributes_peerEndpoint :: Lens' NodeFabricAttributes (Maybe Text) Source #

The endpoint that identifies the peer node for all services except peer channel-based event services.

NodeFabricLogPublishingConfiguration

data NodeFabricLogPublishingConfiguration Source #

Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.

See: newNodeFabricLogPublishingConfiguration smart constructor.

Constructors

NodeFabricLogPublishingConfiguration' 

Fields

  • chaincodeLogs :: Maybe LogConfigurations

    Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.

  • peerLogs :: Maybe LogConfigurations

    Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.

Instances

Instances details
Eq NodeFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration

Read NodeFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration

Show NodeFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration

Generic NodeFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration

NFData NodeFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration

Hashable NodeFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration

ToJSON NodeFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration

FromJSON NodeFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration

type Rep NodeFabricLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration

type Rep NodeFabricLogPublishingConfiguration = D1 ('MetaData "NodeFabricLogPublishingConfiguration" "Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NodeFabricLogPublishingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "chaincodeLogs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogConfigurations)) :*: S1 ('MetaSel ('Just "peerLogs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogConfigurations))))

newNodeFabricLogPublishingConfiguration :: NodeFabricLogPublishingConfiguration Source #

Create a value of NodeFabricLogPublishingConfiguration 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:chaincodeLogs:NodeFabricLogPublishingConfiguration', nodeFabricLogPublishingConfiguration_chaincodeLogs - Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.

$sel:peerLogs:NodeFabricLogPublishingConfiguration', nodeFabricLogPublishingConfiguration_peerLogs - Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.

nodeFabricLogPublishingConfiguration_chaincodeLogs :: Lens' NodeFabricLogPublishingConfiguration (Maybe LogConfigurations) Source #

Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.

nodeFabricLogPublishingConfiguration_peerLogs :: Lens' NodeFabricLogPublishingConfiguration (Maybe LogConfigurations) Source #

Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.

NodeFrameworkAttributes

data NodeFrameworkAttributes Source #

Attributes relevant to a node on a Managed Blockchain network for the blockchain framework that the network uses.

See: newNodeFrameworkAttributes smart constructor.

Constructors

NodeFrameworkAttributes' 

Fields

Instances

Instances details
Eq NodeFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes

Read NodeFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes

Show NodeFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes

Generic NodeFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes

Associated Types

type Rep NodeFrameworkAttributes :: Type -> Type #

NFData NodeFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes

Methods

rnf :: NodeFrameworkAttributes -> () #

Hashable NodeFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes

FromJSON NodeFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes

type Rep NodeFrameworkAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes

type Rep NodeFrameworkAttributes = D1 ('MetaData "NodeFrameworkAttributes" "Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NodeFrameworkAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeFabricAttributes)) :*: S1 ('MetaSel ('Just "ethereum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeEthereumAttributes))))

newNodeFrameworkAttributes :: NodeFrameworkAttributes Source #

Create a value of NodeFrameworkAttributes 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:fabric:NodeFrameworkAttributes', nodeFrameworkAttributes_fabric - Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network that uses Hyperledger Fabric.

$sel:ethereum:NodeFrameworkAttributes', nodeFrameworkAttributes_ethereum - Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum.

nodeFrameworkAttributes_fabric :: Lens' NodeFrameworkAttributes (Maybe NodeFabricAttributes) Source #

Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network that uses Hyperledger Fabric.

nodeFrameworkAttributes_ethereum :: Lens' NodeFrameworkAttributes (Maybe NodeEthereumAttributes) Source #

Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum.

NodeLogPublishingConfiguration

data NodeLogPublishingConfiguration Source #

Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.

See: newNodeLogPublishingConfiguration smart constructor.

Constructors

NodeLogPublishingConfiguration' 

Fields

Instances

Instances details
Eq NodeLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration

Read NodeLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration

Show NodeLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration

Generic NodeLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration

Associated Types

type Rep NodeLogPublishingConfiguration :: Type -> Type #

NFData NodeLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration

Hashable NodeLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration

ToJSON NodeLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration

FromJSON NodeLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration

type Rep NodeLogPublishingConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration

type Rep NodeLogPublishingConfiguration = D1 ('MetaData "NodeLogPublishingConfiguration" "Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NodeLogPublishingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeFabricLogPublishingConfiguration))))

newNodeLogPublishingConfiguration :: NodeLogPublishingConfiguration Source #

Create a value of NodeLogPublishingConfiguration 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:fabric:NodeLogPublishingConfiguration', nodeLogPublishingConfiguration_fabric - Configuration properties for logging events associated with a node that is owned by a member of a Managed Blockchain network using the Hyperledger Fabric framework.

nodeLogPublishingConfiguration_fabric :: Lens' NodeLogPublishingConfiguration (Maybe NodeFabricLogPublishingConfiguration) Source #

Configuration properties for logging events associated with a node that is owned by a member of a Managed Blockchain network using the Hyperledger Fabric framework.

NodeSummary

data NodeSummary Source #

A summary of configuration properties for a node.

See: newNodeSummary smart constructor.

Constructors

NodeSummary' 

Fields

Instances

Instances details
Eq NodeSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeSummary

Read NodeSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeSummary

Show NodeSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeSummary

Generic NodeSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeSummary

Associated Types

type Rep NodeSummary :: Type -> Type #

NFData NodeSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeSummary

Methods

rnf :: NodeSummary -> () #

Hashable NodeSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeSummary

FromJSON NodeSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeSummary

type Rep NodeSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeSummary

type Rep NodeSummary = D1 ('MetaData "NodeSummary" "Amazonka.ManagedBlockChain.Types.NodeSummary" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NodeSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeStatus)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newNodeSummary :: NodeSummary Source #

Create a value of NodeSummary 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:status:NodeSummary', nodeSummary_status - The status of the node.

$sel:arn:NodeSummary', nodeSummary_arn - The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

$sel:instanceType:NodeSummary', nodeSummary_instanceType - The EC2 instance type for the node.

$sel:availabilityZone:NodeSummary', nodeSummary_availabilityZone - The Availability Zone in which the node exists.

$sel:id:NodeSummary', nodeSummary_id - The unique identifier of the node.

$sel:creationDate:NodeSummary', nodeSummary_creationDate - The date and time that the node was created.

nodeSummary_arn :: Lens' NodeSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

nodeSummary_instanceType :: Lens' NodeSummary (Maybe Text) Source #

The EC2 instance type for the node.

nodeSummary_availabilityZone :: Lens' NodeSummary (Maybe Text) Source #

The Availability Zone in which the node exists.

nodeSummary_id :: Lens' NodeSummary (Maybe Text) Source #

The unique identifier of the node.

nodeSummary_creationDate :: Lens' NodeSummary (Maybe UTCTime) Source #

The date and time that the node was created.

Proposal

data Proposal Source #

Properties of a proposal on a Managed Blockchain network.

Applies only to Hyperledger Fabric.

See: newProposal smart constructor.

Constructors

Proposal' 

Fields

  • status :: Maybe ProposalStatus

    The status of the proposal. Values are as follows:

    • IN_PROGRESS - The proposal is active and open for member voting.
    • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.
    • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.
    • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.
    • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.
  • yesVoteCount :: Maybe Int

    The current total of YES votes cast on the proposal by members.

  • noVoteCount :: Maybe Int

    The current total of NO votes cast on the proposal by members.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

  • actions :: Maybe ProposalActions

    The actions to perform on the network if the proposal is APPROVED.

  • networkId :: Maybe Text

    The unique identifier of the network for which the proposal is made.

  • proposedByMemberId :: Maybe Text

    The unique identifier of the member that created the proposal.

  • proposalId :: Maybe Text

    The unique identifier of the proposal.

  • proposedByMemberName :: Maybe Text

    The name of the member that created the proposal.

  • expirationDate :: Maybe POSIX

    The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

  • creationDate :: Maybe POSIX

    The date and time that the proposal was created.

  • description :: Maybe Text

    The description of the proposal.

  • tags :: Maybe (HashMap Text Text)

    Tags assigned to the proposal. Each tag consists of a key and optional value.

    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.

  • outstandingVoteCount :: Maybe Int

    The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES votes and NO votes.

Instances

Instances details
Eq Proposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Proposal

Read Proposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Proposal

Show Proposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Proposal

Generic Proposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Proposal

Associated Types

type Rep Proposal :: Type -> Type #

Methods

from :: Proposal -> Rep Proposal x #

to :: Rep Proposal x -> Proposal #

NFData Proposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Proposal

Methods

rnf :: Proposal -> () #

Hashable Proposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Proposal

Methods

hashWithSalt :: Int -> Proposal -> Int #

hash :: Proposal -> Int #

FromJSON Proposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Proposal

type Rep Proposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Proposal

type Rep Proposal = D1 ('MetaData "Proposal" "Amazonka.ManagedBlockChain.Types.Proposal" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "Proposal'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProposalStatus)) :*: (S1 ('MetaSel ('Just "yesVoteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "noVoteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProposalActions))) :*: (S1 ('MetaSel ('Just "networkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "proposedByMemberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "proposalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "proposedByMemberName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "outstandingVoteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))))

newProposal :: Proposal Source #

Create a value of Proposal 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:status:Proposal', proposal_status - The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.
  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.
  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.
  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.
  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.

$sel:yesVoteCount:Proposal', proposal_yesVoteCount - The current total of YES votes cast on the proposal by members.

$sel:noVoteCount:Proposal', proposal_noVoteCount - The current total of NO votes cast on the proposal by members.

$sel:arn:Proposal', proposal_arn - The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

$sel:actions:Proposal', proposal_actions - The actions to perform on the network if the proposal is APPROVED.

$sel:networkId:Proposal', proposal_networkId - The unique identifier of the network for which the proposal is made.

$sel:proposedByMemberId:Proposal', proposal_proposedByMemberId - The unique identifier of the member that created the proposal.

$sel:proposalId:Proposal', proposal_proposalId - The unique identifier of the proposal.

$sel:proposedByMemberName:Proposal', proposal_proposedByMemberName - The name of the member that created the proposal.

$sel:expirationDate:Proposal', proposal_expirationDate - The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

$sel:creationDate:Proposal', proposal_creationDate - The date and time that the proposal was created.

$sel:description:Proposal', proposal_description - The description of the proposal.

$sel:tags:Proposal', proposal_tags - Tags assigned to the proposal. Each tag consists of a key and optional value.

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:outstandingVoteCount:Proposal', proposal_outstandingVoteCount - The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES votes and NO votes.

proposal_status :: Lens' Proposal (Maybe ProposalStatus) Source #

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.
  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.
  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.
  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.
  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.

proposal_yesVoteCount :: Lens' Proposal (Maybe Int) Source #

The current total of YES votes cast on the proposal by members.

proposal_noVoteCount :: Lens' Proposal (Maybe Int) Source #

The current total of NO votes cast on the proposal by members.

proposal_arn :: Lens' Proposal (Maybe Text) Source #

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

proposal_actions :: Lens' Proposal (Maybe ProposalActions) Source #

The actions to perform on the network if the proposal is APPROVED.

proposal_networkId :: Lens' Proposal (Maybe Text) Source #

The unique identifier of the network for which the proposal is made.

proposal_proposedByMemberId :: Lens' Proposal (Maybe Text) Source #

The unique identifier of the member that created the proposal.

proposal_proposalId :: Lens' Proposal (Maybe Text) Source #

The unique identifier of the proposal.

proposal_proposedByMemberName :: Lens' Proposal (Maybe Text) Source #

The name of the member that created the proposal.

proposal_expirationDate :: Lens' Proposal (Maybe UTCTime) Source #

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

proposal_creationDate :: Lens' Proposal (Maybe UTCTime) Source #

The date and time that the proposal was created.

proposal_description :: Lens' Proposal (Maybe Text) Source #

The description of the proposal.

proposal_tags :: Lens' Proposal (Maybe (HashMap Text Text)) Source #

Tags assigned to the proposal. Each tag consists of a key and optional value.

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.

proposal_outstandingVoteCount :: Lens' Proposal (Maybe Int) Source #

The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES votes and NO votes.

ProposalActions

data ProposalActions Source #

The actions to carry out if a proposal is APPROVED.

Applies only to Hyperledger Fabric.

See: newProposalActions smart constructor.

Constructors

ProposalActions' 

Fields

  • invitations :: Maybe [InviteAction]

    The actions to perform for an APPROVED proposal to invite an AWS account to create a member and join the network.

  • removals :: Maybe [RemoveAction]

    The actions to perform for an APPROVED proposal to remove a member from the network, which deletes the member and all associated member resources from the network.

Instances

Instances details
Eq ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Read ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Show ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Generic ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Associated Types

type Rep ProposalActions :: Type -> Type #

NFData ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Methods

rnf :: ProposalActions -> () #

Hashable ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

ToJSON ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

FromJSON ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

type Rep ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

type Rep ProposalActions = D1 ('MetaData "ProposalActions" "Amazonka.ManagedBlockChain.Types.ProposalActions" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "ProposalActions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "invitations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InviteAction])) :*: S1 ('MetaSel ('Just "removals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RemoveAction]))))

newProposalActions :: ProposalActions Source #

Create a value of ProposalActions 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:invitations:ProposalActions', proposalActions_invitations - The actions to perform for an APPROVED proposal to invite an AWS account to create a member and join the network.

$sel:removals:ProposalActions', proposalActions_removals - The actions to perform for an APPROVED proposal to remove a member from the network, which deletes the member and all associated member resources from the network.

proposalActions_invitations :: Lens' ProposalActions (Maybe [InviteAction]) Source #

The actions to perform for an APPROVED proposal to invite an AWS account to create a member and join the network.

proposalActions_removals :: Lens' ProposalActions (Maybe [RemoveAction]) Source #

The actions to perform for an APPROVED proposal to remove a member from the network, which deletes the member and all associated member resources from the network.

ProposalSummary

data ProposalSummary Source #

Properties of a proposal.

Applies only to Hyperledger Fabric.

See: newProposalSummary smart constructor.

Constructors

ProposalSummary' 

Fields

  • status :: Maybe ProposalStatus

    The status of the proposal. Values are as follows:

    • IN_PROGRESS - The proposal is active and open for member voting.
    • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.
    • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.
    • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.
    • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error.
  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

  • proposedByMemberId :: Maybe Text

    The unique identifier of the member that created the proposal.

  • proposalId :: Maybe Text

    The unique identifier of the proposal.

  • proposedByMemberName :: Maybe Text

    The name of the member that created the proposal.

  • expirationDate :: Maybe POSIX

    The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

  • creationDate :: Maybe POSIX

    The date and time that the proposal was created.

  • description :: Maybe Text

    The description of the proposal.

Instances

Instances details
Eq ProposalSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalSummary

Read ProposalSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalSummary

Show ProposalSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalSummary

Generic ProposalSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalSummary

Associated Types

type Rep ProposalSummary :: Type -> Type #

NFData ProposalSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalSummary

Methods

rnf :: ProposalSummary -> () #

Hashable ProposalSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalSummary

FromJSON ProposalSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalSummary

type Rep ProposalSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalSummary

type Rep ProposalSummary = D1 ('MetaData "ProposalSummary" "Amazonka.ManagedBlockChain.Types.ProposalSummary" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "ProposalSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProposalStatus)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "proposedByMemberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "proposalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "proposedByMemberName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newProposalSummary :: ProposalSummary Source #

Create a value of ProposalSummary 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:status:ProposalSummary', proposalSummary_status - The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.
  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.
  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.
  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.
  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error.

$sel:arn:ProposalSummary', proposalSummary_arn - The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

$sel:proposedByMemberId:ProposalSummary', proposalSummary_proposedByMemberId - The unique identifier of the member that created the proposal.

$sel:proposalId:ProposalSummary', proposalSummary_proposalId - The unique identifier of the proposal.

$sel:proposedByMemberName:ProposalSummary', proposalSummary_proposedByMemberName - The name of the member that created the proposal.

$sel:expirationDate:ProposalSummary', proposalSummary_expirationDate - The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

$sel:creationDate:ProposalSummary', proposalSummary_creationDate - The date and time that the proposal was created.

$sel:description:ProposalSummary', proposalSummary_description - The description of the proposal.

proposalSummary_status :: Lens' ProposalSummary (Maybe ProposalStatus) Source #

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.
  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.
  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.
  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.
  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error.

proposalSummary_arn :: Lens' ProposalSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

proposalSummary_proposedByMemberId :: Lens' ProposalSummary (Maybe Text) Source #

The unique identifier of the member that created the proposal.

proposalSummary_proposalId :: Lens' ProposalSummary (Maybe Text) Source #

The unique identifier of the proposal.

proposalSummary_proposedByMemberName :: Lens' ProposalSummary (Maybe Text) Source #

The name of the member that created the proposal.

proposalSummary_expirationDate :: Lens' ProposalSummary (Maybe UTCTime) Source #

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

proposalSummary_creationDate :: Lens' ProposalSummary (Maybe UTCTime) Source #

The date and time that the proposal was created.

proposalSummary_description :: Lens' ProposalSummary (Maybe Text) Source #

The description of the proposal.

RemoveAction

data RemoveAction Source #

An action to remove a member from a Managed Blockchain network as the result of a removal proposal that is APPROVED. The member and all associated resources are deleted from the network.

Applies only to Hyperledger Fabric.

See: newRemoveAction smart constructor.

Constructors

RemoveAction' 

Fields

  • memberId :: Text

    The unique identifier of the member to remove.

Instances

Instances details
Eq RemoveAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.RemoveAction

Read RemoveAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.RemoveAction

Show RemoveAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.RemoveAction

Generic RemoveAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.RemoveAction

Associated Types

type Rep RemoveAction :: Type -> Type #

NFData RemoveAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.RemoveAction

Methods

rnf :: RemoveAction -> () #

Hashable RemoveAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.RemoveAction

ToJSON RemoveAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.RemoveAction

FromJSON RemoveAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.RemoveAction

type Rep RemoveAction Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.RemoveAction

type Rep RemoveAction = D1 ('MetaData "RemoveAction" "Amazonka.ManagedBlockChain.Types.RemoveAction" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "RemoveAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRemoveAction Source #

Create a value of RemoveAction 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:RemoveAction', removeAction_memberId - The unique identifier of the member to remove.

removeAction_memberId :: Lens' RemoveAction Text Source #

The unique identifier of the member to remove.

VoteSummary

data VoteSummary Source #

Properties of an individual vote that a member cast for a proposal.

Applies only to Hyperledger Fabric.

See: newVoteSummary smart constructor.

Constructors

VoteSummary' 

Fields

Instances

Instances details
Eq VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

Read VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

Show VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

Generic VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

Associated Types

type Rep VoteSummary :: Type -> Type #

NFData VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

Methods

rnf :: VoteSummary -> () #

Hashable VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

FromJSON VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

type Rep VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

type Rep VoteSummary = D1 ('MetaData "VoteSummary" "Amazonka.ManagedBlockChain.Types.VoteSummary" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "VoteSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memberName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vote") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VoteValue)))))

newVoteSummary :: VoteSummary Source #

Create a value of VoteSummary 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:memberName:VoteSummary', voteSummary_memberName - The name of the member that cast the vote.

$sel:memberId:VoteSummary', voteSummary_memberId - The unique identifier of the member that cast the vote.

$sel:vote:VoteSummary', voteSummary_vote - The vote value, either YES or NO.

voteSummary_memberName :: Lens' VoteSummary (Maybe Text) Source #

The name of the member that cast the vote.

voteSummary_memberId :: Lens' VoteSummary (Maybe Text) Source #

The unique identifier of the member that cast the vote.

voteSummary_vote :: Lens' VoteSummary (Maybe VoteValue) Source #

The vote value, either YES or NO.

VotingPolicy

data VotingPolicy Source #

The voting rules for the network to decide if a proposal is accepted

Applies only to Hyperledger Fabric.

See: newVotingPolicy smart constructor.

Constructors

VotingPolicy' 

Fields

  • approvalThresholdPolicy :: Maybe ApprovalThresholdPolicy

    Defines the rules for the network for voting on proposals, such as the percentage of YES votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.

Instances

Instances details
Eq VotingPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VotingPolicy

Read VotingPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VotingPolicy

Show VotingPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VotingPolicy

Generic VotingPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VotingPolicy

Associated Types

type Rep VotingPolicy :: Type -> Type #

NFData VotingPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VotingPolicy

Methods

rnf :: VotingPolicy -> () #

Hashable VotingPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VotingPolicy

ToJSON VotingPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VotingPolicy

FromJSON VotingPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VotingPolicy

type Rep VotingPolicy Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VotingPolicy

type Rep VotingPolicy = D1 ('MetaData "VotingPolicy" "Amazonka.ManagedBlockChain.Types.VotingPolicy" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "VotingPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "approvalThresholdPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApprovalThresholdPolicy))))

newVotingPolicy :: VotingPolicy Source #

Create a value of VotingPolicy 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:approvalThresholdPolicy:VotingPolicy', votingPolicy_approvalThresholdPolicy - Defines the rules for the network for voting on proposals, such as the percentage of YES votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.

votingPolicy_approvalThresholdPolicy :: Lens' VotingPolicy (Maybe ApprovalThresholdPolicy) Source #

Defines the rules for the network for voting on proposals, such as the percentage of YES votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.