libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.Types.Invite

Description

 
Synopsis

Documentation

data Invite Source #

Invitation object returned after emailing users to invite them to join the Amazon Chime Team account.

See: newInvite smart constructor.

Constructors

Invite' 

Fields

Instances

Instances details
Eq Invite Source # 
Instance details

Defined in Amazonka.Chime.Types.Invite

Methods

(==) :: Invite -> Invite -> Bool #

(/=) :: Invite -> Invite -> Bool #

Show Invite Source # 
Instance details

Defined in Amazonka.Chime.Types.Invite

Generic Invite Source # 
Instance details

Defined in Amazonka.Chime.Types.Invite

Associated Types

type Rep Invite :: Type -> Type #

Methods

from :: Invite -> Rep Invite x #

to :: Rep Invite x -> Invite #

NFData Invite Source # 
Instance details

Defined in Amazonka.Chime.Types.Invite

Methods

rnf :: Invite -> () #

Hashable Invite Source # 
Instance details

Defined in Amazonka.Chime.Types.Invite

Methods

hashWithSalt :: Int -> Invite -> Int #

hash :: Invite -> Int #

FromJSON Invite Source # 
Instance details

Defined in Amazonka.Chime.Types.Invite

type Rep Invite Source # 
Instance details

Defined in Amazonka.Chime.Types.Invite

type Rep Invite = D1 ('MetaData "Invite" "Amazonka.Chime.Types.Invite" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "Invite'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InviteStatus)) :*: S1 ('MetaSel ('Just "emailStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EmailStatus))) :*: (S1 ('MetaSel ('Just "inviteId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))))

newInvite :: Invite Source #

Create a value of Invite 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:Invite', invite_status - The status of the invite.

$sel:emailStatus:Invite', invite_emailStatus - The status of the invite email.

$sel:inviteId:Invite', invite_inviteId - The invite ID.

$sel:emailAddress:Invite', invite_emailAddress - The email address to which the invite is sent.

invite_status :: Lens' Invite (Maybe InviteStatus) Source #

The status of the invite.

invite_emailStatus :: Lens' Invite (Maybe EmailStatus) Source #

The status of the invite email.

invite_emailAddress :: Lens' Invite (Maybe Text) Source #

The email address to which the invite is sent.