Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Waiters
- Operations
- Types
- Edition
- Framework
- InvitationStatus
- MemberStatus
- NetworkStatus
- NodeStatus
- ProposalStatus
- StateDBType
- ThresholdComparator
- VoteValue
- 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
Derived from API version 2018-09-24
of the AWS service descriptions, licensed under Apache 2.0.
Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.
Managed Blockchain supports the Hyperledger Fabric and Ethereum
open-source frameworks. Because of fundamental differences between the
frameworks, some API actions or data types may only apply in the context
of one framework and not the other. For example, actions related to
Hyperledger Fabric network members such as CreateMember
and
DeleteMember
do not apply to Ethereum.
The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError
- _IllegalActionException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServiceErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotReadyException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- data CreateMember = CreateMember' Text Text Text MemberConfiguration
- newCreateMember :: Text -> Text -> Text -> MemberConfiguration -> CreateMember
- data CreateMemberResponse = CreateMemberResponse' (Maybe Text) Int
- newCreateMemberResponse :: Int -> CreateMemberResponse
- data ListNetworks = ListNetworks' (Maybe NetworkStatus) (Maybe Framework) (Maybe Text) (Maybe Text) (Maybe Natural)
- newListNetworks :: ListNetworks
- data ListNetworksResponse = ListNetworksResponse' (Maybe [NetworkSummary]) (Maybe Text) Int
- newListNetworksResponse :: Int -> ListNetworksResponse
- data GetProposal = GetProposal' Text Text
- newGetProposal :: Text -> Text -> GetProposal
- data GetProposalResponse = GetProposalResponse' (Maybe Proposal) Int
- newGetProposalResponse :: Int -> GetProposalResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe (HashMap Text Text)) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data CreateNetwork = CreateNetwork' (Maybe NetworkFrameworkConfiguration) (Maybe Text) (Maybe (HashMap Text Text)) Text Text Framework Text VotingPolicy MemberConfiguration
- newCreateNetwork :: Text -> Text -> Framework -> Text -> VotingPolicy -> MemberConfiguration -> CreateNetwork
- data CreateNetworkResponse = CreateNetworkResponse' (Maybe Text) (Maybe Text) Int
- newCreateNetworkResponse :: Int -> CreateNetworkResponse
- data ListProposals = ListProposals' (Maybe Text) (Maybe Natural) Text
- newListProposals :: Text -> ListProposals
- data ListProposalsResponse = ListProposalsResponse' (Maybe [ProposalSummary]) (Maybe Text) Int
- newListProposalsResponse :: Int -> ListProposalsResponse
- data ListInvitations = ListInvitations' (Maybe Text) (Maybe Natural)
- newListInvitations :: ListInvitations
- data ListInvitationsResponse = ListInvitationsResponse' (Maybe [Invitation]) (Maybe Text) Int
- newListInvitationsResponse :: Int -> ListInvitationsResponse
- data CreateProposal = CreateProposal' (Maybe Text) (Maybe (HashMap Text Text)) Text Text Text ProposalActions
- newCreateProposal :: Text -> Text -> Text -> ProposalActions -> CreateProposal
- data CreateProposalResponse = CreateProposalResponse' (Maybe Text) Int
- newCreateProposalResponse :: Int -> CreateProposalResponse
- data GetNetwork = GetNetwork' Text
- newGetNetwork :: Text -> GetNetwork
- data GetNetworkResponse = GetNetworkResponse' (Maybe Network) Int
- newGetNetworkResponse :: Int -> GetNetworkResponse
- data GetNode = GetNode' (Maybe Text) Text Text
- newGetNode :: Text -> Text -> GetNode
- data GetNodeResponse = GetNodeResponse' (Maybe Node) Int
- newGetNodeResponse :: Int -> GetNodeResponse
- data UpdateMember = UpdateMember' (Maybe MemberLogPublishingConfiguration) Text Text
- newUpdateMember :: Text -> Text -> UpdateMember
- data UpdateMemberResponse = UpdateMemberResponse' Int
- newUpdateMemberResponse :: Int -> UpdateMemberResponse
- data DeleteMember = DeleteMember' Text Text
- newDeleteMember :: Text -> Text -> DeleteMember
- data DeleteMemberResponse = DeleteMemberResponse' Int
- newDeleteMemberResponse :: Int -> DeleteMemberResponse
- data ListMembers = ListMembers' (Maybe MemberStatus) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Natural) Text
- newListMembers :: Text -> ListMembers
- data ListMembersResponse = ListMembersResponse' (Maybe [MemberSummary]) (Maybe Text) Int
- newListMembersResponse :: Int -> ListMembersResponse
- data CreateNode = CreateNode' (Maybe Text) (Maybe (HashMap Text Text)) Text Text NodeConfiguration
- newCreateNode :: Text -> Text -> NodeConfiguration -> CreateNode
- data CreateNodeResponse = CreateNodeResponse' (Maybe Text) Int
- newCreateNodeResponse :: Int -> CreateNodeResponse
- data ListProposalVotes = ListProposalVotes' (Maybe Text) (Maybe Natural) Text Text
- newListProposalVotes :: Text -> Text -> ListProposalVotes
- data ListProposalVotesResponse = ListProposalVotesResponse' (Maybe Text) (Maybe [VoteSummary]) Int
- newListProposalVotesResponse :: Int -> ListProposalVotesResponse
- data VoteOnProposal = VoteOnProposal' Text Text Text VoteValue
- newVoteOnProposal :: Text -> Text -> Text -> VoteValue -> VoteOnProposal
- data VoteOnProposalResponse = VoteOnProposalResponse' Int
- newVoteOnProposalResponse :: Int -> VoteOnProposalResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data GetMember = GetMember' Text Text
- newGetMember :: Text -> Text -> GetMember
- data GetMemberResponse = GetMemberResponse' (Maybe Member) Int
- newGetMemberResponse :: Int -> GetMemberResponse
- data RejectInvitation = RejectInvitation' Text
- newRejectInvitation :: Text -> RejectInvitation
- data RejectInvitationResponse = RejectInvitationResponse' Int
- newRejectInvitationResponse :: Int -> RejectInvitationResponse
- data UpdateNode = UpdateNode' (Maybe NodeLogPublishingConfiguration) (Maybe Text) Text Text
- newUpdateNode :: Text -> Text -> UpdateNode
- data UpdateNodeResponse = UpdateNodeResponse' Int
- newUpdateNodeResponse :: Int -> UpdateNodeResponse
- data DeleteNode = DeleteNode' (Maybe Text) Text Text
- newDeleteNode :: Text -> Text -> DeleteNode
- data DeleteNodeResponse = DeleteNodeResponse' Int
- newDeleteNodeResponse :: Int -> DeleteNodeResponse
- data ListNodes = ListNodes' (Maybe NodeStatus) (Maybe Text) (Maybe Text) (Maybe Natural) Text
- newListNodes :: Text -> ListNodes
- data ListNodesResponse = ListNodesResponse' (Maybe Text) (Maybe [NodeSummary]) Int
- newListNodesResponse :: Int -> ListNodesResponse
- 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 ApprovalThresholdPolicy = ApprovalThresholdPolicy' (Maybe Natural) (Maybe ThresholdComparator) (Maybe Natural)
- newApprovalThresholdPolicy :: ApprovalThresholdPolicy
- data Invitation = Invitation' (Maybe InvitationStatus) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe NetworkSummary) (Maybe POSIX)
- newInvitation :: Invitation
- data InviteAction = InviteAction' Text
- newInviteAction :: Text -> InviteAction
- data LogConfiguration = LogConfiguration' (Maybe Bool)
- newLogConfiguration :: LogConfiguration
- data LogConfigurations = LogConfigurations' (Maybe LogConfiguration)
- newLogConfigurations :: LogConfigurations
- data Member = Member' (Maybe MemberStatus) (Maybe Text) (Maybe MemberLogPublishingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe MemberFrameworkAttributes) (Maybe Text) (Maybe (HashMap Text Text))
- newMember :: Member
- data MemberConfiguration = MemberConfiguration' (Maybe Text) (Maybe MemberLogPublishingConfiguration) (Maybe Text) (Maybe (HashMap Text Text)) Text MemberFrameworkConfiguration
- newMemberConfiguration :: Text -> MemberFrameworkConfiguration -> MemberConfiguration
- data MemberFabricAttributes = MemberFabricAttributes' (Maybe Text) (Maybe Text)
- newMemberFabricAttributes :: MemberFabricAttributes
- data MemberFabricConfiguration = MemberFabricConfiguration' Text (Sensitive Text)
- newMemberFabricConfiguration :: Text -> Text -> MemberFabricConfiguration
- data MemberFabricLogPublishingConfiguration = MemberFabricLogPublishingConfiguration' (Maybe LogConfigurations)
- newMemberFabricLogPublishingConfiguration :: MemberFabricLogPublishingConfiguration
- data MemberFrameworkAttributes = MemberFrameworkAttributes' (Maybe MemberFabricAttributes)
- newMemberFrameworkAttributes :: MemberFrameworkAttributes
- data MemberFrameworkConfiguration = MemberFrameworkConfiguration' (Maybe MemberFabricConfiguration)
- newMemberFrameworkConfiguration :: MemberFrameworkConfiguration
- data MemberLogPublishingConfiguration = MemberLogPublishingConfiguration' (Maybe MemberFabricLogPublishingConfiguration)
- newMemberLogPublishingConfiguration :: MemberLogPublishingConfiguration
- data MemberSummary = MemberSummary' (Maybe MemberStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe POSIX) (Maybe Text)
- newMemberSummary :: MemberSummary
- data Network = Network' (Maybe NetworkStatus) (Maybe Framework) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe VotingPolicy) (Maybe POSIX) (Maybe NetworkFrameworkAttributes) (Maybe Text) (Maybe (HashMap Text Text))
- newNetwork :: Network
- data NetworkEthereumAttributes = NetworkEthereumAttributes' (Maybe Text)
- newNetworkEthereumAttributes :: NetworkEthereumAttributes
- data NetworkFabricAttributes = NetworkFabricAttributes' (Maybe Edition) (Maybe Text)
- newNetworkFabricAttributes :: NetworkFabricAttributes
- data NetworkFabricConfiguration = NetworkFabricConfiguration' Edition
- newNetworkFabricConfiguration :: Edition -> NetworkFabricConfiguration
- data NetworkFrameworkAttributes = NetworkFrameworkAttributes' (Maybe NetworkFabricAttributes) (Maybe NetworkEthereumAttributes)
- newNetworkFrameworkAttributes :: NetworkFrameworkAttributes
- data NetworkFrameworkConfiguration = NetworkFrameworkConfiguration' (Maybe NetworkFabricConfiguration)
- newNetworkFrameworkConfiguration :: NetworkFrameworkConfiguration
- data NetworkSummary = NetworkSummary' (Maybe NetworkStatus) (Maybe Framework) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text)
- newNetworkSummary :: NetworkSummary
- data Node = Node' (Maybe NodeStatus) (Maybe Text) (Maybe NodeLogPublishingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe StateDBType) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe NodeFrameworkAttributes) (Maybe (HashMap Text Text))
- newNode :: Node
- data NodeConfiguration = NodeConfiguration' (Maybe NodeLogPublishingConfiguration) (Maybe StateDBType) (Maybe Text) Text
- newNodeConfiguration :: Text -> NodeConfiguration
- data NodeEthereumAttributes = NodeEthereumAttributes' (Maybe Text) (Maybe Text)
- newNodeEthereumAttributes :: NodeEthereumAttributes
- data NodeFabricAttributes = NodeFabricAttributes' (Maybe Text) (Maybe Text)
- newNodeFabricAttributes :: NodeFabricAttributes
- data NodeFabricLogPublishingConfiguration = NodeFabricLogPublishingConfiguration' (Maybe LogConfigurations) (Maybe LogConfigurations)
- newNodeFabricLogPublishingConfiguration :: NodeFabricLogPublishingConfiguration
- data NodeFrameworkAttributes = NodeFrameworkAttributes' (Maybe NodeFabricAttributes) (Maybe NodeEthereumAttributes)
- newNodeFrameworkAttributes :: NodeFrameworkAttributes
- data NodeLogPublishingConfiguration = NodeLogPublishingConfiguration' (Maybe NodeFabricLogPublishingConfiguration)
- newNodeLogPublishingConfiguration :: NodeLogPublishingConfiguration
- data NodeSummary = NodeSummary' (Maybe NodeStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX)
- newNodeSummary :: NodeSummary
- data Proposal = Proposal' (Maybe ProposalStatus) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe ProposalActions) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe POSIX) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Int)
- newProposal :: Proposal
- data ProposalActions = ProposalActions' (Maybe [InviteAction]) (Maybe [RemoveAction])
- newProposalActions :: ProposalActions
- data ProposalSummary = ProposalSummary' (Maybe ProposalStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe POSIX) (Maybe Text)
- newProposalSummary :: ProposalSummary
- data RemoveAction = RemoveAction' Text
- newRemoveAction :: Text -> RemoveAction
- data VoteSummary = VoteSummary' (Maybe Text) (Maybe Text) (Maybe VoteValue)
- newVoteSummary :: VoteSummary
- data VotingPolicy = VotingPolicy' (Maybe ApprovalThresholdPolicy)
- newVotingPolicy :: VotingPolicy
Service Configuration
defaultService :: Service Source #
API version 2018-09-24
of the Amazon Managed Blockchain SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by ManagedBlockChain
.
AccessDeniedException
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have sufficient access to perform this action.
InvalidRequestException
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The action or operation requested is invalid. Verify that the action is typed correctly.
ResourceAlreadyExistsException
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A resource request is issued for a resource that already exists.
ResourceLimitExceededException
_ResourceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
TooManyTagsException
_TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
IllegalActionException
_IllegalActionException :: AsError a => Getting (First ServiceError) a ServiceError Source #
ThrottlingException
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request or operation could not be performed because a service is throttling requests. The most common source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is exceeded. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException
_InternalServiceErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request processing has failed because of an unknown error, exception or failure.
ResourceNotReadyException
_ResourceNotReadyException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested resource exists but is not in a status that can complete the operation.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A requested resource does not exist. It may have been deleted or referenced inaccurately.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
CreateMember
data CreateMember Source #
See: newCreateMember
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> MemberConfiguration | |
-> CreateMember |
Create a value of CreateMember
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:clientRequestToken:CreateMember'
, createMember_clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the operation. An idempotent operation completes no more
than one time. This identifier is required only if you make a service
request directly using an HTTP client. It is generated automatically if
you use an AWS SDK or the AWS CLI.
$sel:invitationId:CreateMember'
, createMember_invitationId
- The unique identifier of the invitation that is sent to the member to
join the network.
$sel:networkId:CreateMember'
, createMember_networkId
- The unique identifier of the network in which the member is created.
$sel:memberConfiguration:CreateMember'
, createMember_memberConfiguration
- Member configuration parameters.
data CreateMemberResponse Source #
See: newCreateMemberResponse
smart constructor.
Instances
newCreateMemberResponse Source #
Create a value of CreateMemberResponse
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:CreateMemberResponse'
, createMemberResponse_memberId
- The unique identifier of the member.
$sel:httpStatus:CreateMemberResponse'
, createMemberResponse_httpStatus
- The response's http status code.
ListNetworks
data ListNetworks Source #
See: newListNetworks
smart constructor.
Instances
newListNetworks :: ListNetworks Source #
Create a value of ListNetworks
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ListNetworks'
, listNetworks_status
- An optional status specifier. If provided, only networks currently in
this status are listed.
Applies only to Hyperledger Fabric.
$sel:framework:ListNetworks'
, listNetworks_framework
- An optional framework specifier. If provided, only networks of this
framework type are listed.
$sel:nextToken:ListNetworks'
, listNetworks_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:name:ListNetworks'
, listNetworks_name
- The name of the network.
$sel:maxResults:ListNetworks'
, listNetworks_maxResults
- The maximum number of networks to list.
data ListNetworksResponse Source #
See: newListNetworksResponse
smart constructor.
Instances
newListNetworksResponse Source #
Create a value of ListNetworksResponse
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:networks:ListNetworksResponse'
, listNetworksResponse_networks
- An array of NetworkSummary
objects that contain configuration
properties for each network.
$sel:nextToken:ListNetworks'
, listNetworksResponse_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListNetworksResponse'
, listNetworksResponse_httpStatus
- The response's http status code.
GetProposal
data GetProposal Source #
See: newGetProposal
smart constructor.
Instances
Create a value of GetProposal
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:networkId:GetProposal'
, getProposal_networkId
- The unique identifier of the network for which the proposal is made.
$sel:proposalId:GetProposal'
, getProposal_proposalId
- The unique identifier of the proposal.
data GetProposalResponse Source #
See: newGetProposalResponse
smart constructor.
Instances
newGetProposalResponse Source #
Create a value of GetProposalResponse
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:proposal:GetProposalResponse'
, getProposalResponse_proposal
- Information about a proposal.
$sel:httpStatus:GetProposalResponse'
, getProposalResponse_httpStatus
- The response's http status code.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
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:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The Amazon Resource Name (ARN) of the resource. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- The tags assigned to the resource.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
CreateNetwork
data CreateNetwork Source #
See: newCreateNetwork
smart constructor.
CreateNetwork' (Maybe NetworkFrameworkConfiguration) (Maybe Text) (Maybe (HashMap Text Text)) Text Text Framework Text VotingPolicy MemberConfiguration |
Instances
:: Text | |
-> Text | |
-> Framework | |
-> Text | |
-> VotingPolicy | |
-> MemberConfiguration | |
-> CreateNetwork |
Create a value of CreateNetwork
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:frameworkConfiguration:CreateNetwork'
, createNetwork_frameworkConfiguration
- Configuration properties of the blockchain framework relevant to the
network configuration.
$sel:description:CreateNetwork'
, createNetwork_description
- An optional description for the network.
$sel:tags:CreateNetwork'
, createNetwork_tags
- Tags to assign to the network. Each tag consists of a key and optional
value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
$sel:clientRequestToken:CreateNetwork'
, createNetwork_clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the operation. An idempotent operation completes no more
than one time. This identifier is required only if you make a service
request directly using an HTTP client. It is generated automatically if
you use an AWS SDK or the AWS CLI.
$sel:name:CreateNetwork'
, createNetwork_name
- The name of the network.
$sel:framework:CreateNetwork'
, createNetwork_framework
- The blockchain framework that the network uses.
$sel:frameworkVersion:CreateNetwork'
, createNetwork_frameworkVersion
- The version of the blockchain framework that the network uses.
$sel:votingPolicy:CreateNetwork'
, createNetwork_votingPolicy
- The voting rules used by the network to determine if a proposal is
approved.
$sel:memberConfiguration:CreateNetwork'
, createNetwork_memberConfiguration
- Configuration properties for the first member within the network.
data CreateNetworkResponse Source #
See: newCreateNetworkResponse
smart constructor.
Instances
newCreateNetworkResponse Source #
Create a value of CreateNetworkResponse
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:CreateNetworkResponse'
, createNetworkResponse_memberId
- The unique identifier for the first member within the network.
$sel:networkId:CreateNetworkResponse'
, createNetworkResponse_networkId
- The unique identifier for the network.
$sel:httpStatus:CreateNetworkResponse'
, createNetworkResponse_httpStatus
- The response's http status code.
ListProposals
data ListProposals Source #
See: newListProposals
smart constructor.
Instances
Create a value of ListProposals
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:nextToken:ListProposals'
, listProposals_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:maxResults:ListProposals'
, listProposals_maxResults
- The maximum number of proposals to return.
$sel:networkId:ListProposals'
, listProposals_networkId
- The unique identifier of the network.
data ListProposalsResponse Source #
See: newListProposalsResponse
smart constructor.
Instances
newListProposalsResponse Source #
Create a value of ListProposalsResponse
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:proposals:ListProposalsResponse'
, listProposalsResponse_proposals
- The summary of each proposal made on the network.
$sel:nextToken:ListProposals'
, listProposalsResponse_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListProposalsResponse'
, listProposalsResponse_httpStatus
- The response's http status code.
ListInvitations
data ListInvitations Source #
See: newListInvitations
smart constructor.
Instances
newListInvitations :: ListInvitations Source #
Create a value of ListInvitations
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:nextToken:ListInvitations'
, listInvitations_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:maxResults:ListInvitations'
, listInvitations_maxResults
- The maximum number of invitations to return.
data ListInvitationsResponse Source #
See: newListInvitationsResponse
smart constructor.
Instances
newListInvitationsResponse Source #
Create a value of ListInvitationsResponse
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:ListInvitationsResponse'
, listInvitationsResponse_invitations
- The invitations for the network.
$sel:nextToken:ListInvitations'
, listInvitationsResponse_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListInvitationsResponse'
, listInvitationsResponse_httpStatus
- The response's http status code.
CreateProposal
data CreateProposal Source #
See: newCreateProposal
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> ProposalActions | |
-> CreateProposal |
Create a value of CreateProposal
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:CreateProposal'
, createProposal_description
- A description for the proposal that is visible to voting members, for
example, "Proposal to add Example Corp. as member."
$sel:tags:CreateProposal'
, createProposal_tags
- Tags to assign to the proposal. Each tag consists of a key and optional
value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource. If the proposal is for a network invitation, the invitation inherits the tags added to the proposal.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
$sel:clientRequestToken:CreateProposal'
, createProposal_clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the operation. An idempotent operation completes no more
than one time. This identifier is required only if you make a service
request directly using an HTTP client. It is generated automatically if
you use an AWS SDK or the AWS CLI.
$sel:networkId:CreateProposal'
, createProposal_networkId
- The unique identifier of the network for which the proposal is made.
$sel:memberId:CreateProposal'
, createProposal_memberId
- The unique identifier of the member that is creating the proposal. This
identifier is especially useful for identifying the member making the
proposal when multiple members exist in a single AWS account.
$sel:actions:CreateProposal'
, createProposal_actions
- The type of actions proposed, such as inviting a member or removing a
member. The types of Actions
in a proposal are mutually exclusive. For
example, a proposal with Invitations
actions cannot also contain
Removals
actions.
data CreateProposalResponse Source #
See: newCreateProposalResponse
smart constructor.
Instances
newCreateProposalResponse Source #
Create a value of CreateProposalResponse
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:proposalId:CreateProposalResponse'
, createProposalResponse_proposalId
- The unique identifier of the proposal.
$sel:httpStatus:CreateProposalResponse'
, createProposalResponse_httpStatus
- The response's http status code.
GetNetwork
data GetNetwork Source #
See: newGetNetwork
smart constructor.
Instances
Create a value of GetNetwork
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:networkId:GetNetwork'
, getNetwork_networkId
- The unique identifier of the network to get information about.
data GetNetworkResponse Source #
See: newGetNetworkResponse
smart constructor.
Instances
newGetNetworkResponse Source #
Create a value of GetNetworkResponse
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:network:GetNetworkResponse'
, getNetworkResponse_network
- An object containing network configuration parameters.
$sel:httpStatus:GetNetworkResponse'
, getNetworkResponse_httpStatus
- The response's http status code.
GetNode
See: newGetNode
smart constructor.
Instances
Create a value of GetNode
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:GetNode'
, getNode_memberId
- The unique identifier of the member that owns the node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
$sel:networkId:GetNode'
, getNode_networkId
- The unique identifier of the network that the node is on.
$sel:nodeId:GetNode'
, getNode_nodeId
- The unique identifier of the node.
data GetNodeResponse Source #
See: newGetNodeResponse
smart constructor.
Instances
Create a value of GetNodeResponse
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:node:GetNodeResponse'
, getNodeResponse_node
- Properties of the node configuration.
$sel:httpStatus:GetNodeResponse'
, getNodeResponse_httpStatus
- The response's http status code.
UpdateMember
data UpdateMember Source #
See: newUpdateMember
smart constructor.
Instances
Create a value of UpdateMember
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logPublishingConfiguration:UpdateMember'
, updateMember_logPublishingConfiguration
- Configuration properties for publishing to Amazon CloudWatch Logs.
$sel:networkId:UpdateMember'
, updateMember_networkId
- The unique identifier of the Managed Blockchain network to which the
member belongs.
$sel:memberId:UpdateMember'
, updateMember_memberId
- The unique identifier of the member.
data UpdateMemberResponse Source #
See: newUpdateMemberResponse
smart constructor.
Instances
newUpdateMemberResponse Source #
Create a value of UpdateMemberResponse
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:httpStatus:UpdateMemberResponse'
, updateMemberResponse_httpStatus
- The response's http status code.
DeleteMember
data DeleteMember Source #
See: newDeleteMember
smart constructor.
Instances
Create a value of DeleteMember
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:networkId:DeleteMember'
, deleteMember_networkId
- The unique identifier of the network from which the member is removed.
$sel:memberId:DeleteMember'
, deleteMember_memberId
- The unique identifier of the member to remove.
data DeleteMemberResponse Source #
See: newDeleteMemberResponse
smart constructor.
Instances
newDeleteMemberResponse Source #
Create a value of DeleteMemberResponse
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:httpStatus:DeleteMemberResponse'
, deleteMemberResponse_httpStatus
- The response's http status code.
ListMembers
data ListMembers Source #
See: newListMembers
smart constructor.
Instances
Create a value of ListMembers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ListMembers'
, listMembers_status
- An optional status specifier. If provided, only members currently in
this status are listed.
$sel:nextToken:ListMembers'
, listMembers_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:name:ListMembers'
, listMembers_name
- The optional name of the member to list.
$sel:isOwned:ListMembers'
, listMembers_isOwned
- An optional Boolean value. If provided, the request is limited either to
members that the current AWS account owns (true
) or that other AWS
accounts own (false
). If omitted, all members are listed.
$sel:maxResults:ListMembers'
, listMembers_maxResults
- The maximum number of members to return in the request.
$sel:networkId:ListMembers'
, listMembers_networkId
- The unique identifier of the network for which to list members.
data ListMembersResponse Source #
See: newListMembersResponse
smart constructor.
Instances
newListMembersResponse Source #
Create a value of ListMembersResponse
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:members:ListMembersResponse'
, listMembersResponse_members
- An array of MemberSummary
objects. Each object contains details about
a network member.
$sel:nextToken:ListMembers'
, listMembersResponse_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListMembersResponse'
, listMembersResponse_httpStatus
- The response's http status code.
CreateNode
data CreateNode Source #
See: newCreateNode
smart constructor.
Instances
:: Text | |
-> Text | |
-> NodeConfiguration | |
-> CreateNode |
Create a value of CreateNode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memberId:CreateNode'
, createNode_memberId
- The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric.
$sel:tags:CreateNode'
, createNode_tags
- Tags to assign to the node. Each tag consists of a key and optional
value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
$sel:clientRequestToken:CreateNode'
, createNode_clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the operation. An idempotent operation completes no more
than one time. This identifier is required only if you make a service
request directly using an HTTP client. It is generated automatically if
you use an AWS SDK or the AWS CLI.
$sel:networkId:CreateNode'
, createNode_networkId
- The unique identifier of the network for the node.
Ethereum public networks have the following NetworkId
s:
n-ethereum-mainnet
n-ethereum-rinkeby
n-ethereum-ropsten
$sel:nodeConfiguration:CreateNode'
, createNode_nodeConfiguration
- The properties of a node configuration.
data CreateNodeResponse Source #
See: newCreateNodeResponse
smart constructor.
Instances
newCreateNodeResponse Source #
Create a value of CreateNodeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nodeId:CreateNodeResponse'
, createNodeResponse_nodeId
- The unique identifier of the node.
$sel:httpStatus:CreateNodeResponse'
, createNodeResponse_httpStatus
- The response's http status code.
ListProposalVotes
data ListProposalVotes Source #
See: newListProposalVotes
smart constructor.
Instances
:: Text | |
-> Text | |
-> ListProposalVotes |
Create a value of ListProposalVotes
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:nextToken:ListProposalVotes'
, listProposalVotes_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:maxResults:ListProposalVotes'
, listProposalVotes_maxResults
- The maximum number of votes to return.
$sel:networkId:ListProposalVotes'
, listProposalVotes_networkId
- The unique identifier of the network.
$sel:proposalId:ListProposalVotes'
, listProposalVotes_proposalId
- The unique identifier of the proposal.
data ListProposalVotesResponse Source #
See: newListProposalVotesResponse
smart constructor.
Instances
newListProposalVotesResponse Source #
Create a value of ListProposalVotesResponse
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:nextToken:ListProposalVotes'
, listProposalVotesResponse_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:proposalVotes:ListProposalVotesResponse'
, listProposalVotesResponse_proposalVotes
- The list of votes.
$sel:httpStatus:ListProposalVotesResponse'
, listProposalVotesResponse_httpStatus
- The response's http status code.
VoteOnProposal
data VoteOnProposal Source #
See: newVoteOnProposal
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> VoteValue | |
-> VoteOnProposal |
Create a value of VoteOnProposal
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:networkId:VoteOnProposal'
, voteOnProposal_networkId
- The unique identifier of the network.
$sel:proposalId:VoteOnProposal'
, voteOnProposal_proposalId
- The unique identifier of the proposal.
$sel:voterMemberId:VoteOnProposal'
, voteOnProposal_voterMemberId
- The unique identifier of the member casting the vote.
$sel:vote:VoteOnProposal'
, voteOnProposal_vote
- The value of the vote.
data VoteOnProposalResponse Source #
See: newVoteOnProposalResponse
smart constructor.
Instances
newVoteOnProposalResponse Source #
Create a value of VoteOnProposalResponse
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:httpStatus:VoteOnProposalResponse'
, voteOnProposalResponse_httpStatus
- The response's http status code.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
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:resourceArn:TagResource'
, tagResource_resourceArn
- The Amazon Resource Name (ARN) of the resource. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:tags:TagResource'
, tagResource_tags
- The tags to assign to the specified resource. Tag values can be empty,
for example, "MyTagKey" : ""
. You can specify multiple key-value
pairs in a single request, with an overall maximum of 50 tags added to
each resource.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
newTagResourceResponse Source #
Create a value of TagResourceResponse
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:httpStatus:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
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:resourceArn:UntagResource'
, untagResource_resourceArn
- The Amazon Resource Name (ARN) of the resource. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The tag keys.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:httpStatus:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
GetMember
See: newGetMember
smart constructor.
Instances
Create a value of GetMember
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:networkId:GetMember'
, getMember_networkId
- The unique identifier of the network to which the member belongs.
$sel:memberId:GetMember'
, getMember_memberId
- The unique identifier of the member.
data GetMemberResponse Source #
See: newGetMemberResponse
smart constructor.
Instances
Create a value of GetMemberResponse
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:member:GetMemberResponse'
, getMemberResponse_member
- The properties of a member.
$sel:httpStatus:GetMemberResponse'
, getMemberResponse_httpStatus
- The response's http status code.
RejectInvitation
data RejectInvitation Source #
See: newRejectInvitation
smart constructor.
Instances
Create a value of RejectInvitation
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:invitationId:RejectInvitation'
, rejectInvitation_invitationId
- The unique identifier of the invitation to reject.
data RejectInvitationResponse Source #
See: newRejectInvitationResponse
smart constructor.
Instances
newRejectInvitationResponse Source #
Create a value of RejectInvitationResponse
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:httpStatus:RejectInvitationResponse'
, rejectInvitationResponse_httpStatus
- The response's http status code.
UpdateNode
data UpdateNode Source #
See: newUpdateNode
smart constructor.
Instances
Create a value of UpdateNode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logPublishingConfiguration:UpdateNode'
, updateNode_logPublishingConfiguration
- Configuration properties for publishing to Amazon CloudWatch Logs.
$sel:memberId:UpdateNode'
, updateNode_memberId
- The unique identifier of the member that owns the node.
Applies only to Hyperledger Fabric.
$sel:networkId:UpdateNode'
, updateNode_networkId
- The unique identifier of the network that the node is on.
$sel:nodeId:UpdateNode'
, updateNode_nodeId
- The unique identifier of the node.
data UpdateNodeResponse Source #
See: newUpdateNodeResponse
smart constructor.
Instances
newUpdateNodeResponse Source #
Create a value of UpdateNodeResponse
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:httpStatus:UpdateNodeResponse'
, updateNodeResponse_httpStatus
- The response's http status code.
DeleteNode
data DeleteNode Source #
See: newDeleteNode
smart constructor.
Instances
Create a value of DeleteNode
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:DeleteNode'
, deleteNode_memberId
- The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
$sel:networkId:DeleteNode'
, deleteNode_networkId
- The unique identifier of the network that the node is on.
Ethereum public networks have the following NetworkId
s:
n-ethereum-mainnet
n-ethereum-rinkeby
n-ethereum-ropsten
$sel:nodeId:DeleteNode'
, deleteNode_nodeId
- The unique identifier of the node.
data DeleteNodeResponse Source #
See: newDeleteNodeResponse
smart constructor.
Instances
newDeleteNodeResponse Source #
Create a value of DeleteNodeResponse
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:httpStatus:DeleteNodeResponse'
, deleteNodeResponse_httpStatus
- The response's http status code.
ListNodes
See: newListNodes
smart constructor.
ListNodes' (Maybe NodeStatus) (Maybe Text) (Maybe Text) (Maybe Natural) Text |
Instances
Create a value of ListNodes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ListNodes'
, listNodes_status
- An optional status specifier. If provided, only nodes currently in this
status are listed.
$sel:memberId:ListNodes'
, listNodes_memberId
- The unique identifier of the member who owns the nodes to list.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
$sel:nextToken:ListNodes'
, listNodes_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:maxResults:ListNodes'
, listNodes_maxResults
- The maximum number of nodes to list.
$sel:networkId:ListNodes'
, listNodes_networkId
- The unique identifier of the network for which to list nodes.
data ListNodesResponse Source #
See: newListNodesResponse
smart constructor.
Instances
Create a value of ListNodesResponse
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:nextToken:ListNodes'
, listNodesResponse_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:nodes:ListNodesResponse'
, listNodesResponse_nodes
- An array of NodeSummary
objects that contain configuration properties
for each node.
$sel:httpStatus:ListNodesResponse'
, listNodesResponse_httpStatus
- The response's http status code.
Types
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
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.
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:thresholdPercentage:ApprovalThresholdPolicy'
, approvalThresholdPolicy_thresholdPercentage
- The percentage of votes among all members that must be YES
for a
proposal to be approved. For example, a ThresholdPercentage
value of
50
indicates 50%. The ThresholdComparator
determines the precise
comparison. If a ThresholdPercentage
value of 50
is specified on a
network with 10 members, along with a ThresholdComparator
value of
GREATER_THAN
, this indicates that 6 YES
votes are required for the
proposal to be approved.
$sel:thresholdComparator:ApprovalThresholdPolicy'
, approvalThresholdPolicy_thresholdComparator
- Determines whether the vote percentage must be greater than the
ThresholdPercentage
or must be greater than or equal to the
ThreholdPercentage
to be approved.
$sel:proposalDurationInHours:ApprovalThresholdPolicy'
, approvalThresholdPolicy_proposalDurationInHours
- The duration from the time that a proposal is created until it expires.
If members cast neither the required number of YES
votes to approve
the proposal nor the number of NO
votes required to reject it before
the duration expires, the proposal is EXPIRED
and ProposalActions
are not carried out.
Invitation
data Invitation Source #
An invitation to an AWS account to create a member and join the network.
Applies only to Hyperledger Fabric.
See: newInvitation
smart constructor.
Invitation' (Maybe InvitationStatus) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe NetworkSummary) (Maybe POSIX) |
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:
$sel:status:Invitation'
, invitation_status
- The status of the invitation:
PENDING
- The invitee has not created a member to join the network, and the invitation has not yet expired.ACCEPTING
- The invitee has begun creating a member, and creation has not yet completed.ACCEPTED
- The invitee created a member and joined the network using theInvitationID
.REJECTED
- The invitee rejected the invitation.EXPIRED
- The invitee neither created a member nor rejected the invitation before theExpirationDate
.
$sel:arn:Invitation'
, invitation_arn
- The Amazon Resource Name (ARN) of the invitation. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:invitationId:Invitation'
, invitation_invitationId
- The unique identifier for the invitation.
$sel:expirationDate:Invitation'
, invitation_expirationDate
- The date and time that the invitation expires. This is the
CreationDate
plus the ProposalDurationInHours
that is specified in
the ProposalThresholdPolicy
. After this date and time, the invitee can
no longer create a member and join the network using this
InvitationId
.
$sel:networkSummary:Invitation'
, invitation_networkSummary
- Undocumented member.
$sel:creationDate:Invitation'
, invitation_creationDate
- The date and time that the invitation was created.
InviteAction
data InviteAction Source #
An action to invite a specific AWS account to create a member and join
the network. The InviteAction
is carried out when a Proposal
is
APPROVED
.
Applies only to Hyperledger Fabric.
See: newInviteAction
smart constructor.
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 AWS 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.
LogConfigurations
data LogConfigurations Source #
A collection of log configurations.
See: newLogConfigurations
smart constructor.
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.
Member
Member configuration properties.
Applies only to Hyperledger Fabric.
See: newMember
smart constructor.
Member' (Maybe MemberStatus) (Maybe Text) (Maybe MemberLogPublishingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe MemberFrameworkAttributes) (Maybe Text) (Maybe (HashMap Text Text)) |
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:status:Member'
, member_status
- The status of a member.
CREATING
- The AWS account is in the process of creating a member.AVAILABLE
- The member has been created and can participate in the network.CREATE_FAILED
- The AWS account attempted to create a member and creation failed.UPDATING
- The member is in the process of being updated.DELETING
- The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
PROPOSAL
to remove the member.DELETED
- The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of 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 AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
$sel:kmsKeyArn:Member'
, member_kmsKeyArn
- The Amazon Resource Name (ARN) of the customer managed key in AWS Key
Management Service (AWS KMS) that the member uses for encryption at
rest. If the value of this parameter is "AWS Owned KMS Key"
, the
member uses an AWS owned KMS key for encryption. This parameter is
inherited by the nodes that this member owns.
$sel:logPublishingConfiguration:Member'
, member_logPublishingConfiguration
- Configuration properties for logging events associated with a member.
$sel:arn:Member'
, member_arn
- The Amazon Resource Name (ARN) of the member. For more information about
ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:networkId:Member'
, member_networkId
- The unique identifier of the network to which the member belongs.
$sel:name:Member'
, member_name
- The name of the member.
$sel:id:Member'
, member_id
- The unique identifier of the member.
$sel:creationDate:Member'
, member_creationDate
- The date and time that the member was created.
$sel:frameworkAttributes:Member'
, member_frameworkAttributes
- Attributes relevant to a member for the blockchain framework that the
Managed Blockchain network uses.
$sel:description:Member'
, member_description
- An optional description for the member.
$sel:tags:Member'
, member_tags
- Tags assigned to the member. Tags consist of a key and optional value.
For more information about tags, see
Tagging Resources
in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
MemberConfiguration
data MemberConfiguration Source #
Configuration properties of the member.
Applies only to Hyperledger Fabric.
See: newMemberConfiguration
smart constructor.
MemberConfiguration' (Maybe Text) (Maybe MemberLogPublishingConfiguration) (Maybe Text) (Maybe (HashMap Text Text)) Text MemberFrameworkConfiguration |
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:kmsKeyArn:MemberConfiguration'
, memberConfiguration_kmsKeyArn
- The Amazon Resource Name (ARN) of the customer managed key in AWS Key
Management Service (AWS KMS) to use for encryption at rest in the
member. This parameter is inherited by any nodes that this member
creates.
Use one of the following options to specify this parameter:
- Undefined or empty string - The member uses an AWS owned KMS key for encryption by default.
A valid symmetric customer managed KMS key - The member uses the specified key for encryption.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the AWS Key Management Service Developer Guide.
The following is an example of a KMS key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
$sel:logPublishingConfiguration:MemberConfiguration'
, memberConfiguration_logPublishingConfiguration
- Configuration properties for logging events associated with a member of
a Managed Blockchain network.
$sel:description:MemberConfiguration'
, memberConfiguration_description
- An optional description of the member.
$sel:tags:MemberConfiguration'
, memberConfiguration_tags
- Tags assigned to the member. Tags consist of a key and optional value.
For more information about tags, see
Tagging Resources
in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
$sel:name:MemberConfiguration'
, memberConfiguration_name
- The name of the member.
$sel:frameworkConfiguration:MemberConfiguration'
, memberConfiguration_frameworkConfiguration
- Configuration properties of the blockchain framework relevant to the
member.
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.
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:caEndpoint:MemberFabricAttributes'
, memberFabricAttributes_caEndpoint
- The endpoint used to access the member's certificate authority.
$sel:adminUsername:MemberFabricAttributes'
, memberFabricAttributes_adminUsername
- The user name for the initial administrator user for the member.
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.
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.
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.
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.
MemberFrameworkAttributes
data MemberFrameworkAttributes Source #
Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
See: newMemberFrameworkAttributes
smart constructor.
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.
MemberFrameworkConfiguration
data MemberFrameworkConfiguration Source #
Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.
See: newMemberFrameworkConfiguration
smart constructor.
Instances
Eq MemberFrameworkConfiguration Source # | |
Show MemberFrameworkConfiguration Source # | |
Generic MemberFrameworkConfiguration Source # | |
NFData MemberFrameworkConfiguration Source # | |
Hashable MemberFrameworkConfiguration Source # | |
ToJSON MemberFrameworkConfiguration Source # | |
type Rep MemberFrameworkConfiguration Source # | |
Defined in Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration type Rep MemberFrameworkConfiguration = D1 ('MetaData "MemberFrameworkConfiguration" "Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "MemberFrameworkConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberFabricConfiguration)))) |
newMemberFrameworkConfiguration :: MemberFrameworkConfiguration Source #
Create a value of MemberFrameworkConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fabric:MemberFrameworkConfiguration'
, memberFrameworkConfiguration_fabric
- Attributes of Hyperledger Fabric for a member on a Managed Blockchain
network that uses Hyperledger Fabric.
MemberLogPublishingConfiguration
data MemberLogPublishingConfiguration Source #
Configuration properties for logging events associated with a member of a Managed Blockchain network.
See: newMemberLogPublishingConfiguration
smart constructor.
Instances
Eq MemberLogPublishingConfiguration Source # | |
Read MemberLogPublishingConfiguration Source # | |
Show MemberLogPublishingConfiguration Source # | |
Generic MemberLogPublishingConfiguration Source # | |
NFData MemberLogPublishingConfiguration Source # | |
Hashable MemberLogPublishingConfiguration Source # | |
ToJSON MemberLogPublishingConfiguration Source # | |
FromJSON MemberLogPublishingConfiguration Source # | |
type Rep MemberLogPublishingConfiguration Source # | |
Defined in Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration type Rep MemberLogPublishingConfiguration = D1 ('MetaData "MemberLogPublishingConfiguration" "Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "MemberLogPublishingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemberFabricLogPublishingConfiguration)))) |
newMemberLogPublishingConfiguration :: MemberLogPublishingConfiguration Source #
Create a value of MemberLogPublishingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fabric:MemberLogPublishingConfiguration'
, memberLogPublishingConfiguration_fabric
- Configuration properties for logging events associated with a member of
a Managed Blockchain network using the Hyperledger Fabric framework.
MemberSummary
data MemberSummary Source #
A summary of configuration properties for a member.
Applies only to Hyperledger Fabric.
See: newMemberSummary
smart constructor.
MemberSummary' (Maybe MemberStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe POSIX) (Maybe Text) |
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:status:MemberSummary'
, memberSummary_status
- The status of the member.
CREATING
- The AWS account is in the process of creating a member.AVAILABLE
- The member has been created and can participate in the network.CREATE_FAILED
- The AWS account attempted to create a member and creation failed.UPDATING
- The member is in the process of being updated.DELETING
- The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
PROPOSAL
to remove the member.DELETED
- The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of 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 AWS Key Management Service (AWS KMS) for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
$sel:arn:MemberSummary'
, memberSummary_arn
- The Amazon Resource Name (ARN) of the member. For more information about
ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:name:MemberSummary'
, memberSummary_name
- The name of the member.
$sel:id:MemberSummary'
, memberSummary_id
- The unique identifier of the member.
$sel:isOwned:MemberSummary'
, memberSummary_isOwned
- An indicator of whether the member is owned by your AWS account or a
different AWS account.
$sel:creationDate:MemberSummary'
, memberSummary_creationDate
- The date and time that the member was created.
$sel:description:MemberSummary'
, memberSummary_description
- An optional description of the member.
Network
Network configuration properties.
See: newNetwork
smart constructor.
Network' (Maybe NetworkStatus) (Maybe Framework) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe VotingPolicy) (Maybe POSIX) (Maybe NetworkFrameworkAttributes) (Maybe Text) (Maybe (HashMap Text Text)) |
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:status:Network'
, network_status
- The current status of the network.
$sel:framework:Network'
, network_framework
- The blockchain framework that the network uses.
$sel:arn:Network'
, network_arn
- The Amazon Resource Name (ARN) of the network. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:frameworkVersion:Network'
, network_frameworkVersion
- The version of the blockchain framework that the network uses.
$sel:vpcEndpointServiceName:Network'
, network_vpcEndpointServiceName
- The VPC endpoint service name of the VPC endpoint service of the
network. Members use the VPC endpoint service name to create a VPC
endpoint to access network resources.
$sel:name:Network'
, network_name
- The name of the network.
$sel:id:Network'
, network_id
- The unique identifier of the network.
$sel:votingPolicy:Network'
, network_votingPolicy
- The voting rules for the network to decide if a proposal is accepted.
$sel:creationDate:Network'
, network_creationDate
- The date and time that the network was created.
$sel:frameworkAttributes:Network'
, network_frameworkAttributes
- Attributes of the blockchain framework that the network uses.
$sel:description:Network'
, network_description
- Attributes of the blockchain framework for the network.
$sel:tags:Network'
, network_tags
- Tags assigned to the network. Each tag consists of a key and optional
value.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
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
- rinkeby =
4
- ropsten =
3
NetworkFabricAttributes
data NetworkFabricAttributes Source #
Attributes of Hyperledger Fabric for a network.
See: newNetworkFabricAttributes
smart constructor.
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.
NetworkFabricConfiguration
data NetworkFabricConfiguration Source #
Hyperledger Fabric configuration properties for the network.
See: newNetworkFabricConfiguration
smart constructor.
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.
NetworkFrameworkAttributes
data NetworkFrameworkAttributes Source #
Attributes relevant to the network for the blockchain framework that the network uses.
See: newNetworkFrameworkAttributes
smart constructor.
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:fabric:NetworkFrameworkAttributes'
, networkFrameworkAttributes_fabric
- Attributes of Hyperledger Fabric for a Managed Blockchain network that
uses Hyperledger Fabric.
$sel:ethereum:NetworkFrameworkAttributes'
, networkFrameworkAttributes_ethereum
- Attributes of an Ethereum network for Managed Blockchain resources
participating in an Ethereum network.
NetworkFrameworkConfiguration
data NetworkFrameworkConfiguration Source #
Configuration properties relevant to the network for the blockchain framework that the network uses.
See: newNetworkFrameworkConfiguration
smart constructor.
Instances
Eq NetworkFrameworkConfiguration Source # | |
Read NetworkFrameworkConfiguration Source # | |
Show NetworkFrameworkConfiguration Source # | |
Generic NetworkFrameworkConfiguration Source # | |
NFData NetworkFrameworkConfiguration Source # | |
Hashable NetworkFrameworkConfiguration Source # | |
ToJSON NetworkFrameworkConfiguration Source # | |
type Rep NetworkFrameworkConfiguration Source # | |
Defined in Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration type Rep NetworkFrameworkConfiguration = D1 ('MetaData "NetworkFrameworkConfiguration" "Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NetworkFrameworkConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkFabricConfiguration)))) |
newNetworkFrameworkConfiguration :: NetworkFrameworkConfiguration Source #
Create a value of NetworkFrameworkConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fabric:NetworkFrameworkConfiguration'
, networkFrameworkConfiguration_fabric
- Hyperledger Fabric configuration properties for a Managed Blockchain
network that uses Hyperledger Fabric.
NetworkSummary
data NetworkSummary Source #
A summary of network configuration properties.
See: newNetworkSummary
smart constructor.
NetworkSummary' (Maybe NetworkStatus) (Maybe Framework) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) |
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:status:NetworkSummary'
, networkSummary_status
- The current status of the network.
$sel:framework:NetworkSummary'
, networkSummary_framework
- The blockchain framework that the network uses.
$sel:arn:NetworkSummary'
, networkSummary_arn
- The Amazon Resource Name (ARN) of the network. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:frameworkVersion:NetworkSummary'
, networkSummary_frameworkVersion
- The version of the blockchain framework that the network uses.
$sel:name:NetworkSummary'
, networkSummary_name
- The name of the network.
$sel:id:NetworkSummary'
, networkSummary_id
- The unique identifier of the network.
$sel:creationDate:NetworkSummary'
, networkSummary_creationDate
- The date and time that the network was created.
$sel:description:NetworkSummary'
, networkSummary_description
- An optional description of the network.
Node
Configuration properties of a node.
See: newNode
smart constructor.
Node' (Maybe NodeStatus) (Maybe Text) (Maybe NodeLogPublishingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe StateDBType) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe NodeFrameworkAttributes) (Maybe (HashMap Text Text)) |
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:status:Node'
, node_status
- The status of the node.
CREATING
- The AWS account is in the process of creating a node.AVAILABLE
- The node has been created and can participate in the network.UNHEALTHY
- The node is impaired and might not function as expected. Amazon Managed Blockchain automatically finds nodes in this state and tries to recover them. If a node is recoverable, it returns toAVAILABLE
. Otherwise, it moves toFAILED
status.CREATE_FAILED
- The AWS account attempted to create a node and creation failed.UPDATING
- The node is in the process of being updated.DELETING
- The node is in the process of being deleted.DELETED
- The node can no longer participate on the network.FAILED
- The node is no longer functional, cannot be recovered, and must be deleted.INACCESSIBLE_ENCRYPTION_KEY
- The node is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.The effect of disabling or deleting a key, or revoking a grant is not immediate. The node resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
$sel:kmsKeyArn:Node'
, node_kmsKeyArn
- The Amazon Resource Name (ARN) of the customer managed key in AWS Key
Management Service (AWS KMS) that the node uses for encryption at rest.
If the value of this parameter is "AWS Owned KMS Key"
, the node uses
an AWS owned KMS key for encryption. The node inherits this parameter
from the member that it belongs to.
Applies only to Hyperledger Fabric.
$sel:logPublishingConfiguration:Node'
, node_logPublishingConfiguration
- Configuration properties for logging events associated with a peer node
on a Hyperledger Fabric network on Managed Blockchain.
$sel:memberId:Node'
, node_memberId
- The unique identifier of the member to which the node belongs.
Applies only to Hyperledger Fabric.
$sel:arn:Node'
, node_arn
- The Amazon Resource Name (ARN) of the node. For more information about
ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:networkId:Node'
, node_networkId
- The unique identifier of the network that the node is on.
$sel:instanceType:Node'
, node_instanceType
- The instance type of the node.
$sel:stateDB:Node'
, node_stateDB
- The state database that the node uses. Values are LevelDB
or
CouchDB
.
Applies only to Hyperledger Fabric.
$sel:availabilityZone:Node'
, node_availabilityZone
- The Availability Zone in which the node exists. Required for Ethereum
nodes.
$sel:id:Node'
, node_id
- The unique identifier of the node.
$sel:creationDate:Node'
, node_creationDate
- The date and time that the node was created.
$sel:frameworkAttributes:Node'
, node_frameworkAttributes
- Attributes of the blockchain framework being used.
$sel:tags:Node'
, node_tags
- Tags assigned to the node. Each tag consists of a key and optional
value.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
NodeConfiguration
data NodeConfiguration Source #
Configuration properties of a node.
See: newNodeConfiguration
smart constructor.
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:logPublishingConfiguration:NodeConfiguration'
, nodeConfiguration_logPublishingConfiguration
- Configuration properties for logging events associated with a peer node
on a Hyperledger Fabric network on Managed Blockchain.
$sel:stateDB:NodeConfiguration'
, nodeConfiguration_stateDB
- The state database that the node uses. Values are LevelDB
or
CouchDB
. When using an Amazon Managed Blockchain network with
Hyperledger Fabric version 1.4 or later, the default is CouchDB
.
Applies only to Hyperledger Fabric.
$sel:availabilityZone:NodeConfiguration'
, nodeConfiguration_availabilityZone
- The Availability Zone in which the node exists. Required for Ethereum
nodes.
$sel:instanceType:NodeConfiguration'
, nodeConfiguration_instanceType
- The Amazon Managed Blockchain instance type for the node.
NodeEthereumAttributes
data NodeEthereumAttributes Source #
Attributes of an Ethereum node.
See: newNodeEthereumAttributes
smart constructor.
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 JSON-RPC
methods over HTTP connections from a client. Use this endpoint in client
code for smart contracts when using an HTTP connection. Connections to
this endpoint are authenticated using
Signature Version 4.
$sel:webSocketEndpoint:NodeEthereumAttributes'
, nodeEthereumAttributes_webSocketEndpoint
- The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC
methods over WebSockets connections from a client. Use this endpoint in
client code for smart contracts when using a WebSockets connection.
Connections to this endpoint are authenticated using
Signature Version 4.
NodeFabricAttributes
data NodeFabricAttributes Source #
Attributes of Hyperledger Fabric for a peer node on a Hyperledger Fabric network on Managed Blockchain.
See: newNodeFabricAttributes
smart constructor.
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:peerEventEndpoint:NodeFabricAttributes'
, nodeFabricAttributes_peerEventEndpoint
- The endpoint that identifies the peer node for peer channel-based event
services.
$sel:peerEndpoint:NodeFabricAttributes'
, nodeFabricAttributes_peerEndpoint
- The endpoint that identifies the peer node for all services except peer
channel-based event services.
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.
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.
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.
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:fabric:NodeFrameworkAttributes'
, nodeFrameworkAttributes_fabric
- Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain
network that uses Hyperledger Fabric.
$sel:ethereum:NodeFrameworkAttributes'
, nodeFrameworkAttributes_ethereum
- Attributes of Ethereum for a node on a Managed Blockchain network that
uses Ethereum.
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.
Instances
Eq NodeLogPublishingConfiguration Source # | |
Read NodeLogPublishingConfiguration Source # | |
Show NodeLogPublishingConfiguration Source # | |
Generic NodeLogPublishingConfiguration Source # | |
NFData NodeLogPublishingConfiguration Source # | |
Hashable NodeLogPublishingConfiguration Source # | |
ToJSON NodeLogPublishingConfiguration Source # | |
FromJSON NodeLogPublishingConfiguration Source # | |
type Rep NodeLogPublishingConfiguration Source # | |
Defined in Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration type Rep NodeLogPublishingConfiguration = D1 ('MetaData "NodeLogPublishingConfiguration" "Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NodeLogPublishingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fabric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeFabricLogPublishingConfiguration)))) |
newNodeLogPublishingConfiguration :: NodeLogPublishingConfiguration Source #
Create a value of NodeLogPublishingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fabric:NodeLogPublishingConfiguration'
, nodeLogPublishingConfiguration_fabric
- Configuration properties for logging events associated with a node that
is owned by a member of a Managed Blockchain network using the
Hyperledger Fabric framework.
NodeSummary
data NodeSummary Source #
A summary of configuration properties for a node.
See: newNodeSummary
smart constructor.
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:status:NodeSummary'
, nodeSummary_status
- The status of the node.
$sel:arn:NodeSummary'
, nodeSummary_arn
- The Amazon Resource Name (ARN) of the node. For more information about
ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:instanceType:NodeSummary'
, nodeSummary_instanceType
- The EC2 instance type for the node.
$sel:availabilityZone:NodeSummary'
, nodeSummary_availabilityZone
- The Availability Zone in which the node exists.
$sel:id:NodeSummary'
, nodeSummary_id
- The unique identifier of the node.
$sel:creationDate:NodeSummary'
, nodeSummary_creationDate
- The date and time that the node was created.
Proposal
Properties of a proposal on a Managed Blockchain network.
Applies only to Hyperledger Fabric.
See: newProposal
smart constructor.
Proposal' (Maybe ProposalStatus) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe ProposalActions) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe POSIX) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Int) |
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: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
are not carried out.EXPIRED
- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
are not carried out.ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved could not be completed because of an error. TheACTION_FAILED
status occurs even if only one ProposalAction fails and other actions are successful.
$sel:yesVoteCount:Proposal'
, proposal_yesVoteCount
- The current total of YES
votes cast on the proposal by members.
$sel:noVoteCount:Proposal'
, proposal_noVoteCount
- The current total of NO
votes cast on the proposal by members.
$sel:arn:Proposal'
, proposal_arn
- The Amazon Resource Name (ARN) of the proposal. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:actions:Proposal'
, proposal_actions
- The actions to perform on the network if the proposal is APPROVED
.
$sel:networkId:Proposal'
, proposal_networkId
- The unique identifier of the network for which the proposal is made.
$sel:proposedByMemberId:Proposal'
, proposal_proposedByMemberId
- The unique identifier of the member that created the proposal.
$sel:proposalId:Proposal'
, proposal_proposalId
- The unique identifier of the proposal.
$sel:proposedByMemberName:Proposal'
, proposal_proposedByMemberName
- The name of the member that created the proposal.
$sel:expirationDate:Proposal'
, proposal_expirationDate
- The date and time that the proposal expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the
ProposalThresholdPolicy
. After this date and time, if members have not
cast enough votes to determine the outcome according to the voting
policy, the proposal is EXPIRED
and Actions
are not carried out.
$sel:creationDate:Proposal'
, proposal_creationDate
- The date and time that the proposal was created.
$sel:description:Proposal'
, proposal_description
- The description of the proposal.
$sel:tags:Proposal'
, proposal_tags
- Tags assigned to the proposal. Each tag consists of a key and optional
value.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
$sel:outstandingVoteCount:Proposal'
, proposal_outstandingVoteCount
- The number of votes remaining to be cast on the proposal by members. In
other words, the number of members minus the sum of YES
votes and NO
votes.
ProposalActions
data ProposalActions Source #
The actions to carry out if a proposal is APPROVED
.
Applies only to Hyperledger Fabric.
See: newProposalActions
smart constructor.
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 AWS
account to create a member and join the network.
$sel:removals:ProposalActions'
, proposalActions_removals
- The actions to perform for an APPROVED
proposal to remove a member
from the network, which deletes the member and all associated member
resources from the network.
ProposalSummary
data ProposalSummary Source #
Properties of a proposal.
Applies only to Hyperledger Fabric.
See: newProposalSummary
smart constructor.
ProposalSummary' (Maybe ProposalStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe POSIX) (Maybe Text) |
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: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
are not carried out.EXPIRED
- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
are not carried out.ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved could not be completed because of an error.
$sel:arn:ProposalSummary'
, proposalSummary_arn
- The Amazon Resource Name (ARN) of the proposal. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:proposedByMemberId:ProposalSummary'
, proposalSummary_proposedByMemberId
- The unique identifier of the member that created the proposal.
$sel:proposalId:ProposalSummary'
, proposalSummary_proposalId
- The unique identifier of the proposal.
$sel:proposedByMemberName:ProposalSummary'
, proposalSummary_proposedByMemberName
- The name of the member that created the proposal.
$sel:expirationDate:ProposalSummary'
, proposalSummary_expirationDate
- The date and time that the proposal expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the
ProposalThresholdPolicy
. After this date and time, if members have not
cast enough votes to determine the outcome according to the voting
policy, the proposal is EXPIRED
and Actions
are not carried out.
$sel:creationDate:ProposalSummary'
, proposalSummary_creationDate
- The date and time that the proposal was created.
$sel:description:ProposalSummary'
, proposalSummary_description
- The description of the proposal.
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.
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:memberName:VoteSummary'
, voteSummary_memberName
- The name of the member that cast the vote.
$sel:memberId:VoteSummary'
, voteSummary_memberId
- The unique identifier of the member that cast the vote.
$sel:vote:VoteSummary'
, voteSummary_vote
- The vote value, either YES
or NO
.
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.
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.