libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.Types.Invitation

Description

 
Synopsis

Documentation

data Invitation Source #

Provides information about an Amazon Macie membership invitation that was received by an account.

See: newInvitation smart constructor.

Constructors

Invitation' 

Fields

  • relationshipStatus :: Maybe RelationshipStatus

    The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).

  • invitedAt :: Maybe POSIX

    The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.

  • invitationId :: Maybe Text

    The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.

  • accountId :: Maybe Text

    The Amazon Web Services account ID for the account that sent the invitation.

Instances

Instances details
Eq Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

Read Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

Show Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

Generic Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

Associated Types

type Rep Invitation :: Type -> Type #

NFData Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

Methods

rnf :: Invitation -> () #

Hashable Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

FromJSON Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

type Rep Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

type Rep Invitation = D1 ('MetaData "Invitation" "Amazonka.MacieV2.Types.Invitation" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "Invitation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "relationshipStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RelationshipStatus)) :*: S1 ('MetaSel ('Just "invitedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "invitationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:relationshipStatus:Invitation', invitation_relationshipStatus - The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).

$sel:invitedAt:Invitation', invitation_invitedAt - The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.

$sel:invitationId:Invitation', invitation_invitationId - The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.

$sel:accountId:Invitation', invitation_accountId - The Amazon Web Services account ID for the account that sent the invitation.

invitation_relationshipStatus :: Lens' Invitation (Maybe RelationshipStatus) Source #

The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).

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

The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.

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

The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.

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

The Amazon Web Services account ID for the account that sent the invitation.