libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ManagedBlockChain.Types.Invitation

Description

 
Synopsis

Documentation

data Invitation Source #

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

Applies only to Hyperledger Fabric.

See: newInvitation smart constructor.

Constructors

Invitation' 

Fields

  • status :: Maybe InvitationStatus

    The status of the invitation:

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

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

  • invitationId :: Maybe Text

    The unique identifier for the invitation.

  • expirationDate :: Maybe POSIX

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

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

    The date and time that the invitation was created.

Instances

Instances details
Eq Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

Read Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

Show Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

Generic Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

Associated Types

type Rep Invitation :: Type -> Type #

NFData Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

Methods

rnf :: Invitation -> () #

Hashable Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

FromJSON Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

type Rep Invitation Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.Invitation

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

newInvitation :: Invitation Source #

Create a value of Invitation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:Invitation', invitation_status - The status of the invitation:

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

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

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

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

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

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

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

The status of the invitation:

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

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

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

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

The unique identifier for the invitation.

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

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

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

The date and time that the invitation was created.