| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.ManagedBlockChain.Types.Invitation
Description
Synopsis
- data Invitation = Invitation' {}
 - newInvitation :: Invitation
 - invitation_arn :: Lens' Invitation (Maybe Text)
 - invitation_creationDate :: Lens' Invitation (Maybe UTCTime)
 - invitation_expirationDate :: Lens' Invitation (Maybe UTCTime)
 - invitation_invitationId :: Lens' Invitation (Maybe Text)
 - invitation_networkSummary :: Lens' Invitation (Maybe NetworkSummary)
 - invitation_status :: Lens' Invitation (Maybe InvitationStatus)
 
Documentation
data Invitation Source #
An invitation to an Amazon Web Services account to create a member and join the network.
Applies only to Hyperledger Fabric.
See: newInvitation smart constructor.
Constructors
| Invitation' | |
Fields 
  | |
Instances
newInvitation :: Invitation Source #
Create a value of Invitation with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
Invitation, invitation_arn - The Amazon Resource Name (ARN) of the invitation. For more information
 about ARNs and their format, see
 Amazon Resource Names (ARNs)
 in the Amazon Web Services General Reference.
Invitation, invitation_creationDate - The date and time that the invitation was created.
$sel:expirationDate:Invitation', invitation_expirationDate - The date and time that the invitation expires. This is the
 CreationDate plus the ProposalDurationInHours that is specified in
 the ProposalThresholdPolicy. After this date and time, the invitee can
 no longer create a member and join the network using this
 InvitationId.
$sel:invitationId:Invitation', invitation_invitationId - The unique identifier for the invitation.
$sel:networkSummary:Invitation', invitation_networkSummary - Undocumented member.
Invitation, invitation_status - The status of the invitation:
PENDING- The invitee hasn't created a member to join the network, and the invitation hasn't yet expired.ACCEPTING- The invitee has begun creating a member, and creation hasn't yet completed.ACCEPTED- The invitee created a member and joined the network using theInvitationID.REJECTED- The invitee rejected the invitation.EXPIRED- The invitee neither created a member nor rejected the invitation before theExpirationDate.
invitation_arn :: Lens' Invitation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
invitation_creationDate :: Lens' Invitation (Maybe UTCTime) Source #
The date and time that the invitation was created.
invitation_expirationDate :: Lens' Invitation (Maybe UTCTime) Source #
The date and time that the invitation expires. This is the
 CreationDate plus the ProposalDurationInHours that is specified in
 the ProposalThresholdPolicy. After this date and time, the invitee can
 no longer create a member and join the network using this
 InvitationId.
invitation_invitationId :: Lens' Invitation (Maybe Text) Source #
The unique identifier for the invitation.
invitation_networkSummary :: Lens' Invitation (Maybe NetworkSummary) Source #
Undocumented member.
invitation_status :: Lens' Invitation (Maybe InvitationStatus) Source #
The status of the invitation:
PENDING- The invitee hasn't created a member to join the network, and the invitation hasn't yet expired.ACCEPTING- The invitee has begun creating a member, and creation hasn't yet completed.ACCEPTED- The invitee created a member and joined the network using theInvitationID.REJECTED- The invitee rejected the invitation.EXPIRED- The invitee neither created a member nor rejected the invitation before theExpirationDate.