libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.Types.Invitation

Description

 
Synopsis

Documentation

data Invitation Source #

Contains information about the invitation to become a member account.

See: newInvitation smart constructor.

Constructors

Invitation' 

Fields

Instances

Instances details
Eq Invitation Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Invitation

Read Invitation Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Invitation

Show Invitation Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Invitation

Generic Invitation Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Invitation

Associated Types

type Rep Invitation :: Type -> Type #

NFData Invitation Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Invitation

Methods

rnf :: Invitation -> () #

Hashable Invitation Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Invitation

FromJSON Invitation Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Invitation

type Rep Invitation Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Invitation

type Rep Invitation = D1 ('MetaData "Invitation" "Amazonka.GuardDuty.Types.Invitation" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "Invitation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "invitedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "relationshipStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (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:invitedAt:Invitation', invitation_invitedAt - The timestamp when the invitation was sent.

$sel:relationshipStatus:Invitation', invitation_relationshipStatus - The status of the relationship between the inviter and invitee accounts.

$sel:invitationId:Invitation', invitation_invitationId - The ID of the invitation. This value is used to validate the inviter account to the member account.

$sel:accountId:Invitation', invitation_accountId - The ID of the account that the invitation was sent from.

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

The timestamp when the invitation was sent.

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

The status of the relationship between the inviter and invitee accounts.

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

The ID of the invitation. This value is used to validate the inviter account to the member account.

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

The ID of the account that the invitation was sent from.