amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MacieV2.Types.Invitation

Description

 
Synopsis

Documentation

data Invitation Source #

Provides information about an Amazon Macie membership invitation.

See: newInvitation smart constructor.

Constructors

Invitation' 

Fields

Instances

Instances details
FromJSON 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 #

Read Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

Show Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

NFData Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

Methods

rnf :: Invitation -> () #

Eq Invitation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Invitation

Hashable 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" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "Invitation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "invitationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "invitedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "relationshipStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RelationshipStatus)))))

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:accountId:Invitation', invitation_accountId - The Amazon Web Services account ID for the account that sent the invitation.

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

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

$sel:relationshipStatus:Invitation', invitation_relationshipStatus - The status of the relationship between the account that sent the invitation and the account that received the invitation.

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

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

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

The unique identifier for the invitation.

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

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

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

The status of the relationship between the account that sent the invitation and the account that received the invitation.