Skip to content

/AWS1/CL_MBCINVITATION

An invitation to an Amazon Web Services account to create a member and join the network.

Applies only to Hyperledger Fabric.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_invitationid TYPE /AWS1/MBCRESOURCEIDSTRING /AWS1/MBCRESOURCEIDSTRING

The unique identifier for the invitation.

iv_creationdate TYPE /AWS1/MBCTIMESTAMP /AWS1/MBCTIMESTAMP

The date and time that the invitation was created.

iv_expirationdate TYPE /AWS1/MBCTIMESTAMP /AWS1/MBCTIMESTAMP

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.

iv_status TYPE /AWS1/MBCINVITATIONSTATUS /AWS1/MBCINVITATIONSTATUS

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 the InvitationID.

  • REJECTED - The invitee rejected the invitation.

  • EXPIRED - The invitee neither created a member nor rejected the invitation before the ExpirationDate.

io_networksummary TYPE REF TO /AWS1/CL_MBCNETWORKSUMMARY /AWS1/CL_MBCNETWORKSUMMARY

NetworkSummary

iv_arn TYPE /AWS1/MBCARNSTRING /AWS1/MBCARNSTRING

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.


Queryable Attributes

InvitationId

The unique identifier for the invitation.

Accessible with the following methods

Method Description
GET_INVITATIONID() Getter for INVITATIONID, with configurable default
ASK_INVITATIONID() Getter for INVITATIONID w/ exceptions if field has no value
HAS_INVITATIONID() Determine if INVITATIONID has a value

CreationDate

The date and time that the invitation was created.

Accessible with the following methods

Method Description
GET_CREATIONDATE() Getter for CREATIONDATE, with configurable default
ASK_CREATIONDATE() Getter for CREATIONDATE w/ exceptions if field has no value
HAS_CREATIONDATE() Determine if CREATIONDATE has a value

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.

Accessible with the following methods

Method Description
GET_EXPIRATIONDATE() Getter for EXPIRATIONDATE, with configurable default
ASK_EXPIRATIONDATE() Getter for EXPIRATIONDATE w/ exceptions if field has no valu
HAS_EXPIRATIONDATE() Determine if EXPIRATIONDATE has a value

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 the InvitationID.

  • REJECTED - The invitee rejected the invitation.

  • EXPIRED - The invitee neither created a member nor rejected the invitation before the ExpirationDate.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

NetworkSummary

NetworkSummary

Accessible with the following methods

Method Description
GET_NETWORKSUMMARY() Getter for NETWORKSUMMARY

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.

Accessible with the following methods

Method Description
GET_ARN() Getter for ARN, with configurable default
ASK_ARN() Getter for ARN w/ exceptions if field has no value
HAS_ARN() Determine if ARN has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_INVITATIONLIST

TYPES TT_INVITATIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_MBCINVITATION WITH DEFAULT KEY
.