Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- AccessorStatus
- AccessorType
- Edition
- Framework
- InvitationStatus
- MemberStatus
- NetworkStatus
- NodeStatus
- ProposalStatus
- StateDBType
- ThresholdComparator
- VoteValue
- Accessor
- AccessorSummary
- ApprovalThresholdPolicy
- Invitation
- InviteAction
- LogConfiguration
- LogConfigurations
- Member
- MemberConfiguration
- MemberFabricAttributes
- MemberFabricConfiguration
- MemberFabricLogPublishingConfiguration
- MemberFrameworkAttributes
- MemberFrameworkConfiguration
- MemberLogPublishingConfiguration
- MemberSummary
- Network
- NetworkEthereumAttributes
- NetworkFabricAttributes
- NetworkFabricConfiguration
- NetworkFrameworkAttributes
- NetworkFrameworkConfiguration
- NetworkSummary
- Node
- NodeConfiguration
- NodeEthereumAttributes
- NodeFabricAttributes
- NodeFabricLogPublishingConfiguration
- NodeFrameworkAttributes
- NodeLogPublishingConfiguration
- NodeSummary
- Proposal
- ProposalActions
- ProposalSummary
- RemoveAction
- VoteSummary
- VotingPolicy
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _IllegalActionException :: AsError a => Fold a ServiceError
- _InternalServiceErrorException :: AsError a => Fold a ServiceError
- _InvalidRequestException :: AsError a => Fold a ServiceError
- _ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
- _ResourceLimitExceededException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ResourceNotReadyException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _TooManyTagsException :: AsError a => Fold a ServiceError
- newtype AccessorStatus where
- AccessorStatus' { }
- pattern AccessorStatus_AVAILABLE :: AccessorStatus
- pattern AccessorStatus_DELETED :: AccessorStatus
- pattern AccessorStatus_PENDING_DELETION :: AccessorStatus
- newtype AccessorType where
- AccessorType' { }
- pattern AccessorType_BILLING_TOKEN :: AccessorType
- newtype Edition where
- Edition' {
- fromEdition :: Text
- pattern Edition_STANDARD :: Edition
- pattern Edition_STARTER :: Edition
- Edition' {
- newtype Framework where
- Framework' { }
- pattern Framework_ETHEREUM :: Framework
- pattern Framework_HYPERLEDGER_FABRIC :: Framework
- newtype InvitationStatus where
- InvitationStatus' { }
- pattern InvitationStatus_ACCEPTED :: InvitationStatus
- pattern InvitationStatus_ACCEPTING :: InvitationStatus
- pattern InvitationStatus_EXPIRED :: InvitationStatus
- pattern InvitationStatus_PENDING :: InvitationStatus
- pattern InvitationStatus_REJECTED :: InvitationStatus
- newtype MemberStatus where
- MemberStatus' { }
- pattern MemberStatus_AVAILABLE :: MemberStatus
- pattern MemberStatus_CREATE_FAILED :: MemberStatus
- pattern MemberStatus_CREATING :: MemberStatus
- pattern MemberStatus_DELETED :: MemberStatus
- pattern MemberStatus_DELETING :: MemberStatus
- pattern MemberStatus_INACCESSIBLE_ENCRYPTION_KEY :: MemberStatus
- pattern MemberStatus_UPDATING :: MemberStatus
- newtype NetworkStatus where
- NetworkStatus' { }
- pattern NetworkStatus_AVAILABLE :: NetworkStatus
- pattern NetworkStatus_CREATE_FAILED :: NetworkStatus
- pattern NetworkStatus_CREATING :: NetworkStatus
- pattern NetworkStatus_DELETED :: NetworkStatus
- pattern NetworkStatus_DELETING :: NetworkStatus
- newtype NodeStatus where
- NodeStatus' { }
- pattern NodeStatus_AVAILABLE :: NodeStatus
- pattern NodeStatus_CREATE_FAILED :: NodeStatus
- pattern NodeStatus_CREATING :: NodeStatus
- pattern NodeStatus_DELETED :: NodeStatus
- pattern NodeStatus_DELETING :: NodeStatus
- pattern NodeStatus_FAILED :: NodeStatus
- pattern NodeStatus_INACCESSIBLE_ENCRYPTION_KEY :: NodeStatus
- pattern NodeStatus_UNHEALTHY :: NodeStatus
- pattern NodeStatus_UPDATING :: NodeStatus
- newtype ProposalStatus where
- ProposalStatus' { }
- pattern ProposalStatus_ACTION_FAILED :: ProposalStatus
- pattern ProposalStatus_APPROVED :: ProposalStatus
- pattern ProposalStatus_EXPIRED :: ProposalStatus
- pattern ProposalStatus_IN_PROGRESS :: ProposalStatus
- pattern ProposalStatus_REJECTED :: ProposalStatus
- newtype StateDBType where
- StateDBType' { }
- pattern StateDBType_CouchDB :: StateDBType
- pattern StateDBType_LevelDB :: StateDBType
- newtype ThresholdComparator where
- newtype VoteValue where
- VoteValue' { }
- pattern VoteValue_NO :: VoteValue
- pattern VoteValue_YES :: VoteValue
- data Accessor = Accessor' {
- arn :: Maybe Text
- billingToken :: Maybe Text
- creationDate :: Maybe ISO8601
- id :: Maybe Text
- status :: Maybe AccessorStatus
- type' :: Maybe AccessorType
- newAccessor :: Accessor
- accessor_arn :: Lens' Accessor (Maybe Text)
- accessor_billingToken :: Lens' Accessor (Maybe Text)
- accessor_creationDate :: Lens' Accessor (Maybe UTCTime)
- accessor_id :: Lens' Accessor (Maybe Text)
- accessor_status :: Lens' Accessor (Maybe AccessorStatus)
- accessor_type :: Lens' Accessor (Maybe AccessorType)
- data AccessorSummary = AccessorSummary' {
- arn :: Maybe Text
- creationDate :: Maybe ISO8601
- id :: Maybe Text
- status :: Maybe AccessorStatus
- type' :: Maybe AccessorType
- newAccessorSummary :: AccessorSummary
- accessorSummary_arn :: Lens' AccessorSummary (Maybe Text)
- accessorSummary_creationDate :: Lens' AccessorSummary (Maybe UTCTime)
- accessorSummary_id :: Lens' AccessorSummary (Maybe Text)
- accessorSummary_status :: Lens' AccessorSummary (Maybe AccessorStatus)
- accessorSummary_type :: Lens' AccessorSummary (Maybe AccessorType)
- data ApprovalThresholdPolicy = ApprovalThresholdPolicy' {}
- newApprovalThresholdPolicy :: ApprovalThresholdPolicy
- approvalThresholdPolicy_proposalDurationInHours :: Lens' ApprovalThresholdPolicy (Maybe Natural)
- approvalThresholdPolicy_thresholdComparator :: Lens' ApprovalThresholdPolicy (Maybe ThresholdComparator)
- approvalThresholdPolicy_thresholdPercentage :: Lens' ApprovalThresholdPolicy (Maybe Natural)
- data Invitation = Invitation' {}
- newInvitation :: Invitation
- invitation_arn :: Lens' Invitation (Maybe Text)
- invitation_creationDate :: Lens' Invitation (Maybe UTCTime)
- invitation_expirationDate :: Lens' Invitation (Maybe UTCTime)
- invitation_invitationId :: Lens' Invitation (Maybe Text)
- invitation_networkSummary :: Lens' Invitation (Maybe NetworkSummary)
- invitation_status :: Lens' Invitation (Maybe InvitationStatus)
- data InviteAction = InviteAction' {}
- newInviteAction :: Text -> InviteAction
- inviteAction_principal :: Lens' InviteAction Text
- data LogConfiguration = LogConfiguration' {}
- newLogConfiguration :: LogConfiguration
- logConfiguration_enabled :: Lens' LogConfiguration (Maybe Bool)
- data LogConfigurations = LogConfigurations' {}
- newLogConfigurations :: LogConfigurations
- logConfigurations_cloudwatch :: Lens' LogConfigurations (Maybe LogConfiguration)
- data Member = Member' {
- arn :: Maybe Text
- creationDate :: Maybe ISO8601
- description :: Maybe Text
- frameworkAttributes :: Maybe MemberFrameworkAttributes
- id :: Maybe Text
- kmsKeyArn :: Maybe Text
- logPublishingConfiguration :: Maybe MemberLogPublishingConfiguration
- name :: Maybe Text
- networkId :: Maybe Text
- status :: Maybe MemberStatus
- tags :: Maybe (HashMap Text Text)
- newMember :: Member
- member_arn :: Lens' Member (Maybe Text)
- member_creationDate :: Lens' Member (Maybe UTCTime)
- member_description :: Lens' Member (Maybe Text)
- member_frameworkAttributes :: Lens' Member (Maybe MemberFrameworkAttributes)
- member_id :: Lens' Member (Maybe Text)
- member_kmsKeyArn :: Lens' Member (Maybe Text)
- member_logPublishingConfiguration :: Lens' Member (Maybe MemberLogPublishingConfiguration)
- member_name :: Lens' Member (Maybe Text)
- member_networkId :: Lens' Member (Maybe Text)
- member_status :: Lens' Member (Maybe MemberStatus)
- member_tags :: Lens' Member (Maybe (HashMap Text Text))
- data MemberConfiguration = MemberConfiguration' {}
- newMemberConfiguration :: Text -> MemberFrameworkConfiguration -> MemberConfiguration
- memberConfiguration_description :: Lens' MemberConfiguration (Maybe Text)
- memberConfiguration_kmsKeyArn :: Lens' MemberConfiguration (Maybe Text)
- memberConfiguration_logPublishingConfiguration :: Lens' MemberConfiguration (Maybe MemberLogPublishingConfiguration)
- memberConfiguration_tags :: Lens' MemberConfiguration (Maybe (HashMap Text Text))
- memberConfiguration_name :: Lens' MemberConfiguration Text
- memberConfiguration_frameworkConfiguration :: Lens' MemberConfiguration MemberFrameworkConfiguration
- data MemberFabricAttributes = MemberFabricAttributes' {}
- newMemberFabricAttributes :: MemberFabricAttributes
- memberFabricAttributes_adminUsername :: Lens' MemberFabricAttributes (Maybe Text)
- memberFabricAttributes_caEndpoint :: Lens' MemberFabricAttributes (Maybe Text)
- data MemberFabricConfiguration = MemberFabricConfiguration' {}
- newMemberFabricConfiguration :: Text -> Text -> MemberFabricConfiguration
- memberFabricConfiguration_adminUsername :: Lens' MemberFabricConfiguration Text
- memberFabricConfiguration_adminPassword :: Lens' MemberFabricConfiguration Text
- data MemberFabricLogPublishingConfiguration = MemberFabricLogPublishingConfiguration' {}
- newMemberFabricLogPublishingConfiguration :: MemberFabricLogPublishingConfiguration
- memberFabricLogPublishingConfiguration_caLogs :: Lens' MemberFabricLogPublishingConfiguration (Maybe LogConfigurations)
- data MemberFrameworkAttributes = MemberFrameworkAttributes' {}
- newMemberFrameworkAttributes :: MemberFrameworkAttributes
- memberFrameworkAttributes_fabric :: Lens' MemberFrameworkAttributes (Maybe MemberFabricAttributes)
- data MemberFrameworkConfiguration = MemberFrameworkConfiguration' {}
- newMemberFrameworkConfiguration :: MemberFrameworkConfiguration
- memberFrameworkConfiguration_fabric :: Lens' MemberFrameworkConfiguration (Maybe MemberFabricConfiguration)
- data MemberLogPublishingConfiguration = MemberLogPublishingConfiguration' {}
- newMemberLogPublishingConfiguration :: MemberLogPublishingConfiguration
- memberLogPublishingConfiguration_fabric :: Lens' MemberLogPublishingConfiguration (Maybe MemberFabricLogPublishingConfiguration)
- data MemberSummary = MemberSummary' {}
- newMemberSummary :: MemberSummary
- memberSummary_arn :: Lens' MemberSummary (Maybe Text)
- memberSummary_creationDate :: Lens' MemberSummary (Maybe UTCTime)
- memberSummary_description :: Lens' MemberSummary (Maybe Text)
- memberSummary_id :: Lens' MemberSummary (Maybe Text)
- memberSummary_isOwned :: Lens' MemberSummary (Maybe Bool)
- memberSummary_name :: Lens' MemberSummary (Maybe Text)
- memberSummary_status :: Lens' MemberSummary (Maybe MemberStatus)
- data Network = Network' {
- arn :: Maybe Text
- creationDate :: Maybe ISO8601
- description :: Maybe Text
- framework :: Maybe Framework
- frameworkAttributes :: Maybe NetworkFrameworkAttributes
- frameworkVersion :: Maybe Text
- id :: Maybe Text
- name :: Maybe Text
- status :: Maybe NetworkStatus
- tags :: Maybe (HashMap Text Text)
- votingPolicy :: Maybe VotingPolicy
- vpcEndpointServiceName :: Maybe Text
- newNetwork :: Network
- network_arn :: Lens' Network (Maybe Text)
- network_creationDate :: Lens' Network (Maybe UTCTime)
- network_description :: Lens' Network (Maybe Text)
- network_framework :: Lens' Network (Maybe Framework)
- network_frameworkAttributes :: Lens' Network (Maybe NetworkFrameworkAttributes)
- network_frameworkVersion :: Lens' Network (Maybe Text)
- network_id :: Lens' Network (Maybe Text)
- network_name :: Lens' Network (Maybe Text)
- network_status :: Lens' Network (Maybe NetworkStatus)
- network_tags :: Lens' Network (Maybe (HashMap Text Text))
- network_votingPolicy :: Lens' Network (Maybe VotingPolicy)
- network_vpcEndpointServiceName :: Lens' Network (Maybe Text)
- data NetworkEthereumAttributes = NetworkEthereumAttributes' {}
- newNetworkEthereumAttributes :: NetworkEthereumAttributes
- networkEthereumAttributes_chainId :: Lens' NetworkEthereumAttributes (Maybe Text)
- data NetworkFabricAttributes = NetworkFabricAttributes' {}
- newNetworkFabricAttributes :: NetworkFabricAttributes
- networkFabricAttributes_edition :: Lens' NetworkFabricAttributes (Maybe Edition)
- networkFabricAttributes_orderingServiceEndpoint :: Lens' NetworkFabricAttributes (Maybe Text)
- data NetworkFabricConfiguration = NetworkFabricConfiguration' {}
- newNetworkFabricConfiguration :: Edition -> NetworkFabricConfiguration
- networkFabricConfiguration_edition :: Lens' NetworkFabricConfiguration Edition
- data NetworkFrameworkAttributes = NetworkFrameworkAttributes' {}
- newNetworkFrameworkAttributes :: NetworkFrameworkAttributes
- networkFrameworkAttributes_ethereum :: Lens' NetworkFrameworkAttributes (Maybe NetworkEthereumAttributes)
- networkFrameworkAttributes_fabric :: Lens' NetworkFrameworkAttributes (Maybe NetworkFabricAttributes)
- data NetworkFrameworkConfiguration = NetworkFrameworkConfiguration' {}
- newNetworkFrameworkConfiguration :: NetworkFrameworkConfiguration
- networkFrameworkConfiguration_fabric :: Lens' NetworkFrameworkConfiguration (Maybe NetworkFabricConfiguration)
- data NetworkSummary = NetworkSummary' {}
- newNetworkSummary :: NetworkSummary
- networkSummary_arn :: Lens' NetworkSummary (Maybe Text)
- networkSummary_creationDate :: Lens' NetworkSummary (Maybe UTCTime)
- networkSummary_description :: Lens' NetworkSummary (Maybe Text)
- networkSummary_framework :: Lens' NetworkSummary (Maybe Framework)
- networkSummary_frameworkVersion :: Lens' NetworkSummary (Maybe Text)
- networkSummary_id :: Lens' NetworkSummary (Maybe Text)
- networkSummary_name :: Lens' NetworkSummary (Maybe Text)
- networkSummary_status :: Lens' NetworkSummary (Maybe NetworkStatus)
- data Node = Node' {
- arn :: Maybe Text
- availabilityZone :: Maybe Text
- creationDate :: Maybe ISO8601
- frameworkAttributes :: Maybe NodeFrameworkAttributes
- id :: Maybe Text
- instanceType :: Maybe Text
- kmsKeyArn :: Maybe Text
- logPublishingConfiguration :: Maybe NodeLogPublishingConfiguration
- memberId :: Maybe Text
- networkId :: Maybe Text
- stateDB :: Maybe StateDBType
- status :: Maybe NodeStatus
- tags :: Maybe (HashMap Text Text)
- newNode :: Node
- node_arn :: Lens' Node (Maybe Text)
- node_availabilityZone :: Lens' Node (Maybe Text)
- node_creationDate :: Lens' Node (Maybe UTCTime)
- node_frameworkAttributes :: Lens' Node (Maybe NodeFrameworkAttributes)
- node_id :: Lens' Node (Maybe Text)
- node_instanceType :: Lens' Node (Maybe Text)
- node_kmsKeyArn :: Lens' Node (Maybe Text)
- node_logPublishingConfiguration :: Lens' Node (Maybe NodeLogPublishingConfiguration)
- node_memberId :: Lens' Node (Maybe Text)
- node_networkId :: Lens' Node (Maybe Text)
- node_stateDB :: Lens' Node (Maybe StateDBType)
- node_status :: Lens' Node (Maybe NodeStatus)
- node_tags :: Lens' Node (Maybe (HashMap Text Text))
- data NodeConfiguration = NodeConfiguration' {}
- newNodeConfiguration :: Text -> NodeConfiguration
- nodeConfiguration_availabilityZone :: Lens' NodeConfiguration (Maybe Text)
- nodeConfiguration_logPublishingConfiguration :: Lens' NodeConfiguration (Maybe NodeLogPublishingConfiguration)
- nodeConfiguration_stateDB :: Lens' NodeConfiguration (Maybe StateDBType)
- nodeConfiguration_instanceType :: Lens' NodeConfiguration Text
- data NodeEthereumAttributes = NodeEthereumAttributes' {}
- newNodeEthereumAttributes :: NodeEthereumAttributes
- nodeEthereumAttributes_httpEndpoint :: Lens' NodeEthereumAttributes (Maybe Text)
- nodeEthereumAttributes_webSocketEndpoint :: Lens' NodeEthereumAttributes (Maybe Text)
- data NodeFabricAttributes = NodeFabricAttributes' {}
- newNodeFabricAttributes :: NodeFabricAttributes
- nodeFabricAttributes_peerEndpoint :: Lens' NodeFabricAttributes (Maybe Text)
- nodeFabricAttributes_peerEventEndpoint :: Lens' NodeFabricAttributes (Maybe Text)
- data NodeFabricLogPublishingConfiguration = NodeFabricLogPublishingConfiguration' {}
- newNodeFabricLogPublishingConfiguration :: NodeFabricLogPublishingConfiguration
- nodeFabricLogPublishingConfiguration_chaincodeLogs :: Lens' NodeFabricLogPublishingConfiguration (Maybe LogConfigurations)
- nodeFabricLogPublishingConfiguration_peerLogs :: Lens' NodeFabricLogPublishingConfiguration (Maybe LogConfigurations)
- data NodeFrameworkAttributes = NodeFrameworkAttributes' {}
- newNodeFrameworkAttributes :: NodeFrameworkAttributes
- nodeFrameworkAttributes_ethereum :: Lens' NodeFrameworkAttributes (Maybe NodeEthereumAttributes)
- nodeFrameworkAttributes_fabric :: Lens' NodeFrameworkAttributes (Maybe NodeFabricAttributes)
- data NodeLogPublishingConfiguration = NodeLogPublishingConfiguration' {}
- newNodeLogPublishingConfiguration :: NodeLogPublishingConfiguration
- nodeLogPublishingConfiguration_fabric :: Lens' NodeLogPublishingConfiguration (Maybe NodeFabricLogPublishingConfiguration)
- data NodeSummary = NodeSummary' {
- arn :: Maybe Text
- availabilityZone :: Maybe Text
- creationDate :: Maybe ISO8601
- id :: Maybe Text
- instanceType :: Maybe Text
- status :: Maybe NodeStatus
- newNodeSummary :: NodeSummary
- nodeSummary_arn :: Lens' NodeSummary (Maybe Text)
- nodeSummary_availabilityZone :: Lens' NodeSummary (Maybe Text)
- nodeSummary_creationDate :: Lens' NodeSummary (Maybe UTCTime)
- nodeSummary_id :: Lens' NodeSummary (Maybe Text)
- nodeSummary_instanceType :: Lens' NodeSummary (Maybe Text)
- nodeSummary_status :: Lens' NodeSummary (Maybe NodeStatus)
- data Proposal = Proposal' {
- actions :: Maybe ProposalActions
- arn :: Maybe Text
- creationDate :: Maybe ISO8601
- description :: Maybe Text
- expirationDate :: Maybe ISO8601
- networkId :: Maybe Text
- noVoteCount :: Maybe Int
- outstandingVoteCount :: Maybe Int
- proposalId :: Maybe Text
- proposedByMemberId :: Maybe Text
- proposedByMemberName :: Maybe Text
- status :: Maybe ProposalStatus
- tags :: Maybe (HashMap Text Text)
- yesVoteCount :: Maybe Int
- newProposal :: Proposal
- proposal_actions :: Lens' Proposal (Maybe ProposalActions)
- proposal_arn :: Lens' Proposal (Maybe Text)
- proposal_creationDate :: Lens' Proposal (Maybe UTCTime)
- proposal_description :: Lens' Proposal (Maybe Text)
- proposal_expirationDate :: Lens' Proposal (Maybe UTCTime)
- proposal_networkId :: Lens' Proposal (Maybe Text)
- proposal_noVoteCount :: Lens' Proposal (Maybe Int)
- proposal_outstandingVoteCount :: Lens' Proposal (Maybe Int)
- proposal_proposalId :: Lens' Proposal (Maybe Text)
- proposal_proposedByMemberId :: Lens' Proposal (Maybe Text)
- proposal_proposedByMemberName :: Lens' Proposal (Maybe Text)
- proposal_status :: Lens' Proposal (Maybe ProposalStatus)
- proposal_tags :: Lens' Proposal (Maybe (HashMap Text Text))
- proposal_yesVoteCount :: Lens' Proposal (Maybe Int)
- data ProposalActions = ProposalActions' {
- invitations :: Maybe [InviteAction]
- removals :: Maybe [RemoveAction]
- newProposalActions :: ProposalActions
- proposalActions_invitations :: Lens' ProposalActions (Maybe [InviteAction])
- proposalActions_removals :: Lens' ProposalActions (Maybe [RemoveAction])
- data ProposalSummary = ProposalSummary' {}
- newProposalSummary :: ProposalSummary
- proposalSummary_arn :: Lens' ProposalSummary (Maybe Text)
- proposalSummary_creationDate :: Lens' ProposalSummary (Maybe UTCTime)
- proposalSummary_description :: Lens' ProposalSummary (Maybe Text)
- proposalSummary_expirationDate :: Lens' ProposalSummary (Maybe UTCTime)
- proposalSummary_proposalId :: Lens' ProposalSummary (Maybe Text)
- proposalSummary_proposedByMemberId :: Lens' ProposalSummary (Maybe Text)
- proposalSummary_proposedByMemberName :: Lens' ProposalSummary (Maybe Text)
- proposalSummary_status :: Lens' ProposalSummary (Maybe ProposalStatus)
- data RemoveAction = RemoveAction' {}
- newRemoveAction :: Text -> RemoveAction
- removeAction_memberId :: Lens' RemoveAction Text
- data VoteSummary = VoteSummary' {}
- newVoteSummary :: VoteSummary
- voteSummary_memberId :: Lens' VoteSummary (Maybe Text)
- voteSummary_memberName :: Lens' VoteSummary (Maybe Text)
- voteSummary_vote :: Lens' VoteSummary (Maybe VoteValue)
- data VotingPolicy = VotingPolicy' {}
- newVotingPolicy :: VotingPolicy
- votingPolicy_approvalThresholdPolicy :: Lens' VotingPolicy (Maybe ApprovalThresholdPolicy)
Service Configuration
defaultService :: Service Source #
API version 2018-09-24
of the Amazon Managed Blockchain SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
You don't have sufficient access to perform this action.
_IllegalActionException :: AsError a => Fold a ServiceError Source #
_InternalServiceErrorException :: AsError a => Fold a ServiceError Source #
The request processing has failed because of an unknown error, exception or failure.
_InvalidRequestException :: AsError a => Fold a ServiceError Source #
The action or operation requested is invalid. Verify that the action is typed correctly.
_ResourceAlreadyExistsException :: AsError a => Fold a ServiceError Source #
A resource request is issued for a resource that already exists.
_ResourceLimitExceededException :: AsError a => Fold 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.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
_ResourceNotReadyException :: AsError a => Fold a ServiceError Source #
The requested resource exists but isn't in a status that can complete the operation.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
_TooManyTagsException :: AsError a => Fold a ServiceError Source #
AccessorStatus
newtype AccessorStatus Source #
pattern AccessorStatus_AVAILABLE :: AccessorStatus | |
pattern AccessorStatus_DELETED :: AccessorStatus | |
pattern AccessorStatus_PENDING_DELETION :: AccessorStatus |
Instances
AccessorType
newtype AccessorType Source #
pattern AccessorType_BILLING_TOKEN :: AccessorType |
Instances
Edition
pattern Edition_STANDARD :: Edition | |
pattern Edition_STARTER :: Edition |
Instances
Framework
pattern Framework_ETHEREUM :: Framework | |
pattern Framework_HYPERLEDGER_FABRIC :: Framework |
Instances
InvitationStatus
newtype InvitationStatus Source #
pattern InvitationStatus_ACCEPTED :: InvitationStatus | |
pattern InvitationStatus_ACCEPTING :: InvitationStatus | |
pattern InvitationStatus_EXPIRED :: InvitationStatus | |
pattern InvitationStatus_PENDING :: InvitationStatus | |
pattern InvitationStatus_REJECTED :: InvitationStatus |
Instances
MemberStatus
newtype MemberStatus Source #
pattern MemberStatus_AVAILABLE :: MemberStatus | |
pattern MemberStatus_CREATE_FAILED :: MemberStatus | |
pattern MemberStatus_CREATING :: MemberStatus | |
pattern MemberStatus_DELETED :: MemberStatus | |
pattern MemberStatus_DELETING :: MemberStatus | |
pattern MemberStatus_INACCESSIBLE_ENCRYPTION_KEY :: MemberStatus | |
pattern MemberStatus_UPDATING :: MemberStatus |
Instances
NetworkStatus
newtype NetworkStatus Source #
pattern NetworkStatus_AVAILABLE :: NetworkStatus | |
pattern NetworkStatus_CREATE_FAILED :: NetworkStatus | |
pattern NetworkStatus_CREATING :: NetworkStatus | |
pattern NetworkStatus_DELETED :: NetworkStatus | |
pattern NetworkStatus_DELETING :: NetworkStatus |
Instances
NodeStatus
newtype NodeStatus Source #
pattern NodeStatus_AVAILABLE :: NodeStatus | |
pattern NodeStatus_CREATE_FAILED :: NodeStatus | |
pattern NodeStatus_CREATING :: NodeStatus | |
pattern NodeStatus_DELETED :: NodeStatus | |
pattern NodeStatus_DELETING :: NodeStatus | |
pattern NodeStatus_FAILED :: NodeStatus | |
pattern NodeStatus_INACCESSIBLE_ENCRYPTION_KEY :: NodeStatus | |
pattern NodeStatus_UNHEALTHY :: NodeStatus | |
pattern NodeStatus_UPDATING :: NodeStatus |
Instances
ProposalStatus
newtype ProposalStatus Source #
pattern ProposalStatus_ACTION_FAILED :: ProposalStatus | |
pattern ProposalStatus_APPROVED :: ProposalStatus | |
pattern ProposalStatus_EXPIRED :: ProposalStatus | |
pattern ProposalStatus_IN_PROGRESS :: ProposalStatus | |
pattern ProposalStatus_REJECTED :: ProposalStatus |
Instances
StateDBType
newtype StateDBType Source #
pattern StateDBType_CouchDB :: StateDBType | |
pattern StateDBType_LevelDB :: StateDBType |
Instances
ThresholdComparator
newtype ThresholdComparator Source #
pattern ThresholdComparator_GREATER_THAN :: ThresholdComparator | |
pattern ThresholdComparator_GREATER_THAN_OR_EQUAL_TO :: ThresholdComparator |
Instances
VoteValue
pattern VoteValue_NO :: VoteValue | |
pattern VoteValue_YES :: VoteValue |
Instances
Accessor
The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is subject to change. We recommend that you use this feature only with test scenarios, and not in production environments.
The properties of the Accessor.
See: newAccessor
smart constructor.
Accessor' | |
|
Instances
newAccessor :: Accessor Source #
Create a value of Accessor
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:arn:Accessor'
, accessor_arn
- The Amazon Resource Name (ARN) of the accessor. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the Amazon Web Services General Reference.
$sel:billingToken:Accessor'
, accessor_billingToken
- The billing token is a property of the accessor. Use this token to make
Ethereum API calls to your Ethereum node. The billing token is used to
track your accessor object for billing Ethereum API requests made to
your Ethereum nodes.
$sel:creationDate:Accessor'
, accessor_creationDate
- The creation date and time of the accessor.
$sel:id:Accessor'
, accessor_id
- The unique identifier of the accessor.
$sel:status:Accessor'
, accessor_status
- The current status of the accessor.
$sel:type':Accessor'
, accessor_type
- The type of the accessor.
Currently accessor type is restricted to BILLING_TOKEN
.
accessor_arn :: Lens' Accessor (Maybe Text) Source #
The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
accessor_billingToken :: Lens' Accessor (Maybe Text) Source #
The billing token is a property of the accessor. Use this token to make Ethereum API calls to your Ethereum node. The billing token is used to track your accessor object for billing Ethereum API requests made to your Ethereum nodes.
accessor_creationDate :: Lens' Accessor (Maybe UTCTime) Source #
The creation date and time of the accessor.
accessor_status :: Lens' Accessor (Maybe AccessorStatus) Source #
The current status of the accessor.
accessor_type :: Lens' Accessor (Maybe AccessorType) Source #
The type of the accessor.
Currently accessor type is restricted to BILLING_TOKEN
.
AccessorSummary
data AccessorSummary Source #
The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is subject to change. We recommend that you use this feature only with test scenarios, and not in production environments.
A summary of accessor properties.
See: newAccessorSummary
smart constructor.
AccessorSummary' | |
|
Instances
newAccessorSummary :: AccessorSummary Source #
Create a value of AccessorSummary
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:arn:AccessorSummary'
, accessorSummary_arn
- The Amazon Resource Name (ARN) of the accessor. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the Amazon Web Services General Reference.
$sel:creationDate:AccessorSummary'
, accessorSummary_creationDate
- The creation date and time of the accessor.
$sel:id:AccessorSummary'
, accessorSummary_id
- The unique identifier of the accessor.
$sel:status:AccessorSummary'
, accessorSummary_status
- The current status of the accessor.
$sel:type':AccessorSummary'
, accessorSummary_type
- The type of the accessor.
Currently accessor type is restricted to BILLING_TOKEN
.
accessorSummary_arn :: Lens' AccessorSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
accessorSummary_creationDate :: Lens' AccessorSummary (Maybe UTCTime) Source #
The creation date and time of the accessor.
accessorSummary_id :: Lens' AccessorSummary (Maybe Text) Source #
The unique identifier of the accessor.
accessorSummary_status :: Lens' AccessorSummary (Maybe AccessorStatus) Source #
The current status of the accessor.
accessorSummary_type :: Lens' AccessorSummary (Maybe AccessorType) Source #
The type of the accessor.
Currently accessor type is restricted to BILLING_TOKEN
.
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.
ApprovalThresholdPolicy' | |
|
Instances
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: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
aren't carried out.
$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: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.
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
aren't carried out.
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_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.
Invitation
data Invitation Source #
An invitation to an Amazon Web Services account to create a member and join the network.
Applies only to Hyperledger Fabric.
See: newInvitation
smart constructor.
Invitation' | |
|
Instances
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:
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 Amazon Web Services General Reference.
Invitation
, invitation_creationDate
- The date and time that the invitation was created.
$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:invitationId:Invitation'
, invitation_invitationId
- The unique identifier for the invitation.
$sel:networkSummary:Invitation'
, invitation_networkSummary
- Undocumented member.
Invitation
, invitation_status
- The status of the invitation:
PENDING
- The invitee hasn't created a member to join the network, and the invitation hasn't yet expired.ACCEPTING
- The invitee has begun creating a member, and creation hasn't yet completed.ACCEPTED
- The invitee created a member and joined the network using theInvitationID
.REJECTED
- The invitee rejected the invitation.EXPIRED
- The invitee neither created a member nor rejected the invitation before theExpirationDate
.
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 Amazon Web Services General Reference.
invitation_creationDate :: Lens' Invitation (Maybe UTCTime) Source #
The date and time that the invitation was created.
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_invitationId :: Lens' Invitation (Maybe Text) Source #
The unique identifier for the invitation.
invitation_networkSummary :: Lens' Invitation (Maybe NetworkSummary) Source #
Undocumented member.
invitation_status :: Lens' Invitation (Maybe InvitationStatus) Source #
The status of the invitation:
PENDING
- The invitee hasn't created a member to join the network, and the invitation hasn't yet expired.ACCEPTING
- The invitee has begun creating a member, and creation hasn't yet completed.ACCEPTED
- The invitee created a member and joined the network using theInvitationID
.REJECTED
- The invitee rejected the invitation.EXPIRED
- The invitee neither created a member nor rejected the invitation before theExpirationDate
.
InviteAction
data InviteAction Source #
An action to invite a specific Amazon Web Services 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.
Instances
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 Amazon Web Services account ID to invite.
inviteAction_principal :: Lens' InviteAction Text Source #
The Amazon Web Services account ID to invite.
LogConfiguration
data LogConfiguration Source #
A configuration for logging events.
See: newLogConfiguration
smart constructor.
Instances
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.
LogConfigurations' | |
|
Instances
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
Member configuration properties.
Applies only to Hyperledger Fabric.
See: newMember
smart constructor.
Member' | |
|
Instances
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: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 Amazon Web Services General Reference.
$sel:creationDate:Member'
, member_creationDate
- The date and time that the member was created.
$sel:description:Member'
, member_description
- An optional description for the member.
$sel:frameworkAttributes:Member'
, member_frameworkAttributes
- Attributes relevant to a member for the blockchain framework that the
Managed Blockchain network uses.
$sel:id:Member'
, member_id
- The unique identifier of the member.
$sel:kmsKeyArn:Member'
, member_kmsKeyArn
- The Amazon Resource Name (ARN) of the customer managed key in Key
Management Service (KMS) that the member uses for encryption at rest. If
the value of this parameter is "AWS Owned KMS Key"
, the member uses
an Amazon Web Services owned KMS key for encryption. This parameter is
inherited by the nodes that this member owns.
For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
$sel:logPublishingConfiguration:Member'
, member_logPublishingConfiguration
- Configuration properties for logging events associated with a member.
$sel:name:Member'
, member_name
- The name of the member.
$sel:networkId:Member'
, member_networkId
- The unique identifier of the network to which the member belongs.
$sel:status:Member'
, member_status
- The status of a member.
CREATING
- The Amazon Web Services account is in the process of creating a member.AVAILABLE
- The member has been created and can participate in the network.CREATE_FAILED
- The Amazon Web Services 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 Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
PROPOSAL
to remove the member.DELETED
- The member can no longer participate on the network and all associated resources are deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
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 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 of revoking a grant isn't immediate. It might take some time for the member resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
$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_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 Amazon Web Services General Reference.
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_kmsKeyArn :: Lens' Member (Maybe Text) Source #
The Amazon Resource Name (ARN) of the customer managed key in Key
Management Service (KMS) that the member uses for encryption at rest. If
the value of this parameter is "AWS Owned KMS Key"
, the member uses
an Amazon Web Services owned KMS key for encryption. This parameter is
inherited by the nodes that this member owns.
For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
member_logPublishingConfiguration :: Lens' Member (Maybe MemberLogPublishingConfiguration) Source #
Configuration properties for logging events associated with a member.
member_networkId :: Lens' Member (Maybe Text) Source #
The unique identifier of the network to which the member belongs.
member_status :: Lens' Member (Maybe MemberStatus) Source #
The status of a member.
CREATING
- The Amazon Web Services account is in the process of creating a member.AVAILABLE
- The member has been created and can participate in the network.CREATE_FAILED
- The Amazon Web Services 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 Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
PROPOSAL
to remove the member.DELETED
- The member can no longer participate on the network and all associated resources are deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
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 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 of revoking a grant isn't immediate. It might take some time for the member resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
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.
MemberConfiguration' | |
|
Instances
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:description:MemberConfiguration'
, memberConfiguration_description
- An optional description of the member.
$sel:kmsKeyArn:MemberConfiguration'
, memberConfiguration_kmsKeyArn
- The Amazon Resource Name (ARN) of the customer managed key in Key
Management Service (KMS) to use for encryption at rest in the member.
This parameter is inherited by any nodes that this member creates. For
more information, see
Encryption at Rest
in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Use one of the following options to specify this parameter:
- Undefined or empty string - By default, use an KMS key that is owned and managed by Amazon Web Services on your behalf.
A valid symmetric customer managed KMS key - Use the specified KMS key in your account that you create, own, and manage.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the 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: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_description :: Lens' MemberConfiguration (Maybe Text) Source #
An optional description of the member.
memberConfiguration_kmsKeyArn :: Lens' MemberConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates. For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Use one of the following options to specify this parameter:
- Undefined or empty string - By default, use an KMS key that is owned and managed by Amazon Web Services on your behalf.
A valid symmetric customer managed KMS key - Use the specified KMS key in your account that you create, own, and manage.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the 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_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_name :: Lens' MemberConfiguration Text Source #
The name of the member.
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.
MemberFabricAttributes' | |
|
Instances
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:adminUsername:MemberFabricAttributes'
, memberFabricAttributes_adminUsername
- The user name for the initial administrator user for the member.
$sel:caEndpoint:MemberFabricAttributes'
, memberFabricAttributes_caEndpoint
- 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.
memberFabricAttributes_caEndpoint :: Lens' MemberFabricAttributes (Maybe Text) Source #
The endpoint used to access the member's certificate authority.
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.
MemberFabricConfiguration' | |
|
Instances
newMemberFabricConfiguration Source #
:: Text | |
-> Text | |
-> MemberFabricConfiguration |
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.
MemberFabricLogPublishingConfiguration' | |
|
Instances
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.
MemberFrameworkAttributes' | |
|
Instances
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.
MemberFrameworkConfiguration' | |
|
Instances
ToJSON MemberFrameworkConfiguration Source # | |
Generic MemberFrameworkConfiguration Source # | |
Show MemberFrameworkConfiguration Source # | |
NFData MemberFrameworkConfiguration Source # | |
Eq MemberFrameworkConfiguration Source # | |
Hashable MemberFrameworkConfiguration Source # | |
type Rep MemberFrameworkConfiguration Source # | |
Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration type Rep MemberFrameworkConfiguration = D1 ('MetaData "MemberFrameworkConfiguration" "Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration" "amazonka-managedblockchain-2.0-7ETEoTxOH0EDuOBkhEvxdC" '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.
MemberLogPublishingConfiguration' | |
|
Instances
FromJSON MemberLogPublishingConfiguration Source # | |
ToJSON MemberLogPublishingConfiguration Source # | |
Generic MemberLogPublishingConfiguration Source # | |
Read MemberLogPublishingConfiguration Source # | |
Show MemberLogPublishingConfiguration Source # | |
NFData MemberLogPublishingConfiguration Source # | |
Eq MemberLogPublishingConfiguration Source # | |
Hashable MemberLogPublishingConfiguration Source # | |
type Rep MemberLogPublishingConfiguration Source # | |
Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration type Rep MemberLogPublishingConfiguration = D1 ('MetaData "MemberLogPublishingConfiguration" "Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration" "amazonka-managedblockchain-2.0-7ETEoTxOH0EDuOBkhEvxdC" '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.
MemberSummary' | |
|
Instances
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: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 Amazon Web Services General Reference.
$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.
$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 Amazon Web Services
account or a different Amazon Web Services account.
$sel:name:MemberSummary'
, memberSummary_name
- The name of the member.
$sel:status:MemberSummary'
, memberSummary_status
- The status of the member.
CREATING
- The Amazon Web Services account is in the process of creating a member.AVAILABLE
- The member has been created and can participate in the network.CREATE_FAILED
- The Amazon Web Services 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 Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
PROPOSAL
to remove the member.DELETED
- The member can no longer participate on the network and all associated resources are deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
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 Key Management Service (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 of revoking a grant isn't immediate. It might take some time for the member resource to discover 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 Amazon Web Services General Reference.
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.
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 Amazon Web Services account or a different Amazon Web Services account.
memberSummary_name :: Lens' MemberSummary (Maybe Text) Source #
The name of the member.
memberSummary_status :: Lens' MemberSummary (Maybe MemberStatus) Source #
The status of the member.
CREATING
- The Amazon Web Services account is in the process of creating a member.AVAILABLE
- The member has been created and can participate in the network.CREATE_FAILED
- The Amazon Web Services 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 Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
PROPOSAL
to remove the member.DELETED
- The member can no longer participate on the network and all associated resources are deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
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 Key Management Service (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 of revoking a grant isn't immediate. It might take some time for the member resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
Network
Network configuration properties.
See: newNetwork
smart constructor.
Network' | |
|
Instances
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: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 Amazon Web Services General Reference.
$sel:creationDate:Network'
, network_creationDate
- The date and time that the network was created.
$sel:description:Network'
, network_description
- Attributes of the blockchain framework for the network.
$sel:framework:Network'
, network_framework
- The blockchain framework that the network uses.
$sel:frameworkAttributes:Network'
, network_frameworkAttributes
- Attributes of the blockchain framework that the network uses.
$sel:frameworkVersion:Network'
, network_frameworkVersion
- The version of the blockchain framework that the network uses.
$sel:id:Network'
, network_id
- The unique identifier of the network.
$sel:name:Network'
, network_name
- The name of the network.
$sel:status:Network'
, network_status
- The current status of 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.
$sel:votingPolicy:Network'
, network_votingPolicy
- The voting rules for the network to decide if a proposal is accepted.
$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.
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 Amazon Web Services General Reference.
network_creationDate :: Lens' Network (Maybe UTCTime) Source #
The date and time that the network was created.
network_description :: Lens' Network (Maybe Text) Source #
Attributes of the blockchain framework for the network.
network_framework :: Lens' Network (Maybe Framework) Source #
The blockchain framework that the network uses.
network_frameworkAttributes :: Lens' Network (Maybe NetworkFrameworkAttributes) Source #
Attributes of the blockchain framework that the network uses.
network_frameworkVersion :: Lens' Network (Maybe Text) Source #
The version of the blockchain framework that the network uses.
network_status :: Lens' Network (Maybe NetworkStatus) Source #
The current status of 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.
network_votingPolicy :: Lens' Network (Maybe VotingPolicy) Source #
The voting rules for the network to decide if a proposal is accepted.
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.
NetworkEthereumAttributes
data NetworkEthereumAttributes Source #
Attributes of Ethereum for a network.
See: newNetworkEthereumAttributes
smart constructor.
Instances
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
- goerli =
5
- 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
- goerli =
5
- rinkeby =
4
- ropsten =
3
NetworkFabricAttributes
data NetworkFabricAttributes Source #
Attributes of Hyperledger Fabric for a network.
See: newNetworkFabricAttributes
smart constructor.
NetworkFabricAttributes' | |
|
Instances
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.
NetworkFabricConfiguration' | |
|
Instances
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.
NetworkFrameworkAttributes' | |
|
Instances
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:ethereum:NetworkFrameworkAttributes'
, networkFrameworkAttributes_ethereum
- Attributes of an Ethereum network for Managed Blockchain resources
participating in an Ethereum network.
$sel:fabric:NetworkFrameworkAttributes'
, networkFrameworkAttributes_fabric
- 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.
networkFrameworkAttributes_fabric :: Lens' NetworkFrameworkAttributes (Maybe NetworkFabricAttributes) Source #
Attributes of Hyperledger Fabric for a Managed Blockchain network that uses Hyperledger Fabric.
NetworkFrameworkConfiguration
data NetworkFrameworkConfiguration Source #
Configuration properties relevant to the network for the blockchain framework that the network uses.
See: newNetworkFrameworkConfiguration
smart constructor.
NetworkFrameworkConfiguration' | |
|
Instances
ToJSON NetworkFrameworkConfiguration Source # | |
Generic NetworkFrameworkConfiguration Source # | |
Read NetworkFrameworkConfiguration Source # | |
Show NetworkFrameworkConfiguration Source # | |
NFData NetworkFrameworkConfiguration Source # | |
Eq NetworkFrameworkConfiguration Source # | |
Hashable NetworkFrameworkConfiguration Source # | |
type Rep NetworkFrameworkConfiguration Source # | |
Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration type Rep NetworkFrameworkConfiguration = D1 ('MetaData "NetworkFrameworkConfiguration" "Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration" "amazonka-managedblockchain-2.0-7ETEoTxOH0EDuOBkhEvxdC" '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.
NetworkSummary' | |
|
Instances
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: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 Amazon Web Services General Reference.
$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.
$sel:framework:NetworkSummary'
, networkSummary_framework
- The blockchain framework that the network uses.
$sel:frameworkVersion:NetworkSummary'
, networkSummary_frameworkVersion
- The version of the blockchain framework that the network uses.
$sel:id:NetworkSummary'
, networkSummary_id
- The unique identifier of the network.
$sel:name:NetworkSummary'
, networkSummary_name
- The name of the network.
$sel:status:NetworkSummary'
, networkSummary_status
- The current status of the network.
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 Amazon Web Services General Reference.
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.
networkSummary_framework :: Lens' NetworkSummary (Maybe Framework) Source #
The blockchain framework that the network uses.
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_name :: Lens' NetworkSummary (Maybe Text) Source #
The name of the network.
networkSummary_status :: Lens' NetworkSummary (Maybe NetworkStatus) Source #
The current status of the network.
Node
Configuration properties of a node.
See: newNode
smart constructor.
Node' | |
|
Instances
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: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 Amazon Web Services General Reference.
$sel:availabilityZone:Node'
, node_availabilityZone
- The Availability Zone in which the node exists. Required for Ethereum
nodes.
$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:id:Node'
, node_id
- The unique identifier of the node.
$sel:instanceType:Node'
, node_instanceType
- The instance type of the node.
$sel:kmsKeyArn:Node'
, node_kmsKeyArn
- The Amazon Resource Name (ARN) of the customer managed key in Key
Management Service (KMS) that the node uses for encryption at rest. If
the value of this parameter is "AWS Owned KMS Key"
, the node uses an
Amazon Web Services owned KMS key for encryption. The node inherits this
parameter from the member that it belongs to.
For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
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:networkId:Node'
, node_networkId
- The unique identifier of the network that the node is on.
$sel:stateDB:Node'
, node_stateDB
- The state database that the node uses. Values are LevelDB
or
CouchDB
.
Applies only to Hyperledger Fabric.
$sel:status:Node'
, node_status
- The status of the node.
CREATING
- The Amazon Web Services 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 toAVAILABLE
. Otherwise, it moves toFAILED
status.CREATE_FAILED
- The Amazon Web Services 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 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 of revoking a grant isn't immediate. It might take some time for the node resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
$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_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 Amazon Web Services General Reference.
node_availabilityZone :: Lens' Node (Maybe Text) Source #
The Availability Zone in which the node exists. Required for Ethereum nodes.
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_kmsKeyArn :: Lens' Node (Maybe Text) Source #
The Amazon Resource Name (ARN) of the customer managed key in Key
Management Service (KMS) that the node uses for encryption at rest. If
the value of this parameter is "AWS Owned KMS Key"
, the node uses an
Amazon Web Services owned KMS key for encryption. The node inherits this
parameter from the member that it belongs to.
For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
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_networkId :: Lens' Node (Maybe Text) Source #
The unique identifier of the network that the node is on.
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_status :: Lens' Node (Maybe NodeStatus) Source #
The status of the node.
CREATING
- The Amazon Web Services 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 toAVAILABLE
. Otherwise, it moves toFAILED
status.CREATE_FAILED
- The Amazon Web Services 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 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 of revoking a grant isn't immediate. It might take some time for the node resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
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.
NodeConfiguration' | |
|
Instances
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:availabilityZone:NodeConfiguration'
, nodeConfiguration_availabilityZone
- The Availability Zone in which the node exists. Required for Ethereum
nodes.
$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:instanceType:NodeConfiguration'
, nodeConfiguration_instanceType
- The Amazon Managed Blockchain instance type for the node.
nodeConfiguration_availabilityZone :: Lens' NodeConfiguration (Maybe Text) Source #
The Availability Zone in which the node exists. Required for Ethereum nodes.
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_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.
NodeEthereumAttributes' | |
|
Instances
newNodeEthereumAttributes :: NodeEthereumAttributes Source #
Create a value of NodeEthereumAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpEndpoint:NodeEthereumAttributes'
, nodeEthereumAttributes_httpEndpoint
- The endpoint on which the Ethereum node listens to run Ethereum API
methods over HTTP connections from a client. Use this endpoint in client
code for smart contracts when using an HTTP connection. Connections to
this endpoint are authenticated using
Signature Version 4.
$sel:webSocketEndpoint:NodeEthereumAttributes'
, nodeEthereumAttributes_webSocketEndpoint
- The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC
methods over WebSocket connections from a client. Use this endpoint in
client code for smart contracts when using a WebSocket connection.
Connections to this endpoint are authenticated using
Signature Version 4.
nodeEthereumAttributes_httpEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) Source #
The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.
nodeEthereumAttributes_webSocketEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) Source #
The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.
NodeFabricAttributes
data NodeFabricAttributes Source #
Attributes of Hyperledger Fabric for a peer node on a Hyperledger Fabric network on Managed Blockchain.
See: newNodeFabricAttributes
smart constructor.
NodeFabricAttributes' | |
|
Instances
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:peerEndpoint:NodeFabricAttributes'
, nodeFabricAttributes_peerEndpoint
- The endpoint that identifies the peer node for all services except peer
channel-based event services.
$sel:peerEventEndpoint:NodeFabricAttributes'
, nodeFabricAttributes_peerEventEndpoint
- 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.
nodeFabricAttributes_peerEventEndpoint :: Lens' NodeFabricAttributes (Maybe Text) Source #
The endpoint that identifies the peer node for 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.
NodeFabricLogPublishingConfiguration' | |
|
Instances
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.
NodeFrameworkAttributes' | |
|
Instances
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:ethereum:NodeFrameworkAttributes'
, nodeFrameworkAttributes_ethereum
- Attributes of Ethereum for a node on a Managed Blockchain network that
uses Ethereum.
$sel:fabric:NodeFrameworkAttributes'
, nodeFrameworkAttributes_fabric
- 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.
nodeFrameworkAttributes_fabric :: Lens' NodeFrameworkAttributes (Maybe NodeFabricAttributes) Source #
Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network that uses Hyperledger Fabric.
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.
NodeLogPublishingConfiguration' | |
|
Instances
FromJSON NodeLogPublishingConfiguration Source # | |
ToJSON NodeLogPublishingConfiguration Source # | |
Generic NodeLogPublishingConfiguration Source # | |
Read NodeLogPublishingConfiguration Source # | |
Show NodeLogPublishingConfiguration Source # | |
NFData NodeLogPublishingConfiguration Source # | |
Eq NodeLogPublishingConfiguration Source # | |
Hashable NodeLogPublishingConfiguration Source # | |
type Rep NodeLogPublishingConfiguration Source # | |
Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration type Rep NodeLogPublishingConfiguration = D1 ('MetaData "NodeLogPublishingConfiguration" "Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration" "amazonka-managedblockchain-2.0-7ETEoTxOH0EDuOBkhEvxdC" '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.
NodeSummary' | |
|
Instances
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: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 Amazon Web Services General Reference.
$sel:availabilityZone:NodeSummary'
, nodeSummary_availabilityZone
- The Availability Zone in which the node exists.
$sel:creationDate:NodeSummary'
, nodeSummary_creationDate
- The date and time that the node was created.
$sel:id:NodeSummary'
, nodeSummary_id
- The unique identifier of the node.
$sel:instanceType:NodeSummary'
, nodeSummary_instanceType
- The EC2 instance type for the node.
$sel:status:NodeSummary'
, nodeSummary_status
- The status of the node.
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 Amazon Web Services General Reference.
nodeSummary_availabilityZone :: Lens' NodeSummary (Maybe Text) Source #
The Availability Zone in which the node exists.
nodeSummary_creationDate :: Lens' NodeSummary (Maybe UTCTime) Source #
The date and time that the node was created.
nodeSummary_id :: Lens' NodeSummary (Maybe Text) Source #
The unique identifier of the node.
nodeSummary_instanceType :: Lens' NodeSummary (Maybe Text) Source #
The EC2 instance type for the node.
nodeSummary_status :: Lens' NodeSummary (Maybe NodeStatus) Source #
The status of the node.
Proposal
Properties of a proposal on a Managed Blockchain network.
Applies only to Hyperledger Fabric.
See: newProposal
smart constructor.
Proposal' | |
|
Instances
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:actions:Proposal'
, proposal_actions
- The actions to perform on the network if the proposal is APPROVED
.
$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 Amazon Web Services General Reference.
$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: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 haven't
cast enough votes to determine the outcome according to the voting
policy, the proposal is EXPIRED
and Actions
aren't carried out.
$sel:networkId:Proposal'
, proposal_networkId
- The unique identifier of the network for which the proposal is made.
$sel:noVoteCount:Proposal'
, proposal_noVoteCount
- The current total of NO
votes cast on the proposal by members.
$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.
$sel:proposalId:Proposal'
, proposal_proposalId
- The unique identifier of the proposal.
$sel:proposedByMemberId:Proposal'
, proposal_proposedByMemberId
- The unique identifier of the member that created the proposal.
$sel:proposedByMemberName:Proposal'
, proposal_proposedByMemberName
- The name of the member that created the proposal.
$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 sufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specified proposal actions are carried out.REJECTED
- The proposal was rejected with insufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specifiedProposalActions
aren't carried out.EXPIRED
- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
aren't carried out.ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved couldn't be completed because of an error. TheACTION_FAILED
status occurs even if only one ProposalAction fails and other actions are successful.
$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:yesVoteCount:Proposal'
, proposal_yesVoteCount
- The current total of YES
votes cast on the proposal by members.
proposal_actions :: Lens' Proposal (Maybe ProposalActions) Source #
The actions to perform on the network if the proposal is APPROVED
.
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 Amazon Web Services General Reference.
proposal_creationDate :: Lens' Proposal (Maybe UTCTime) Source #
The date and time that the proposal was created.
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 haven't
cast enough votes to determine the outcome according to the voting
policy, the proposal is EXPIRED
and Actions
aren't carried out.
proposal_networkId :: Lens' Proposal (Maybe Text) Source #
The unique identifier of the network for which the proposal is made.
proposal_noVoteCount :: Lens' Proposal (Maybe Int) Source #
The current total of NO
votes cast on the proposal by members.
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.
proposal_proposedByMemberId :: Lens' Proposal (Maybe Text) Source #
The unique identifier of the member that created the proposal.
proposal_proposedByMemberName :: Lens' Proposal (Maybe Text) Source #
The name of the member that created the proposal.
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 sufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specified proposal actions are carried out.REJECTED
- The proposal was rejected with insufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specifiedProposalActions
aren't carried out.EXPIRED
- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
aren't carried out.ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved couldn't be completed because of an error. TheACTION_FAILED
status occurs even if only one ProposalAction fails and other actions are successful.
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_yesVoteCount :: Lens' Proposal (Maybe Int) Source #
The current total of YES
votes cast on the proposal by members.
ProposalActions
data ProposalActions Source #
The actions to carry out if a proposal is APPROVED
.
Applies only to Hyperledger Fabric.
See: newProposalActions
smart constructor.
ProposalActions' | |
|
Instances
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 Amazon
Web Services 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 Amazon
Web Services 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.
ProposalSummary' | |
|
Instances
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: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 Amazon Web Services General Reference.
$sel:creationDate:ProposalSummary'
, proposalSummary_creationDate
- The date and time that the proposal was created.
$sel:description:ProposalSummary'
, proposalSummary_description
- The description of 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 haven't
cast enough votes to determine the outcome according to the voting
policy, the proposal is EXPIRED
and Actions
aren't carried out.
$sel:proposalId:ProposalSummary'
, proposalSummary_proposalId
- The unique identifier of the proposal.
$sel:proposedByMemberId:ProposalSummary'
, proposalSummary_proposedByMemberId
- The unique identifier of the member that created the proposal.
$sel:proposedByMemberName:ProposalSummary'
, proposalSummary_proposedByMemberName
- The name of the member that created the proposal.
$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 sufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specified proposal actions are carried out.REJECTED
- The proposal was rejected with insufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specifiedProposalActions
aren't carried out.EXPIRED
- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
aren't carried out.ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved couldn't 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 Amazon Web Services General Reference.
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.
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 haven't
cast enough votes to determine the outcome according to the voting
policy, the proposal is EXPIRED
and Actions
aren't carried out.
proposalSummary_proposalId :: Lens' ProposalSummary (Maybe Text) Source #
The unique identifier of the proposal.
proposalSummary_proposedByMemberId :: Lens' ProposalSummary (Maybe Text) Source #
The unique identifier of the member that created the proposal.
proposalSummary_proposedByMemberName :: Lens' ProposalSummary (Maybe Text) Source #
The name of the member that created 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 sufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specified proposal actions are carried out.REJECTED
- The proposal was rejected with insufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specifiedProposalActions
aren't carried out.EXPIRED
- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
aren't carried out.ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved couldn't be completed because of an error.
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.
Instances
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.
Instances
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:memberId:VoteSummary'
, voteSummary_memberId
- The unique identifier of the member that cast the vote.
$sel:memberName:VoteSummary'
, voteSummary_memberName
- The name of the member that cast the vote.
$sel:vote:VoteSummary'
, voteSummary_vote
- The vote value, either YES
or NO
.
voteSummary_memberId :: Lens' VoteSummary (Maybe Text) Source #
The unique identifier of the member that cast the vote.
voteSummary_memberName :: Lens' VoteSummary (Maybe Text) Source #
The name 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.
VotingPolicy' | |
|
Instances
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.