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.InviteUsers

Description

Sends email to a maximum of 50 users, inviting them to the specified Amazon Chime Team account. Only Team account types are currently supported for this action.

Synopsis

Creating a Request

data InviteUsers Source #

See: newInviteUsers smart constructor.

Constructors

InviteUsers' 

Fields

Instances

Instances details
Eq InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

Show InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

Generic InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

Associated Types

type Rep InviteUsers :: Type -> Type #

NFData InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

Methods

rnf :: InviteUsers -> () #

Hashable InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

ToJSON InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

AWSRequest InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

Associated Types

type AWSResponse InviteUsers #

ToHeaders InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

Methods

toHeaders :: InviteUsers -> [Header] #

ToPath InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

ToQuery InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

type Rep InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

type Rep InviteUsers = D1 ('MetaData "InviteUsers" "Amazonka.Chime.InviteUsers" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "InviteUsers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserType)) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userEmailList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Sensitive Text]))))
type AWSResponse InviteUsers Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

newInviteUsers Source #

Create a value of InviteUsers 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:userType:InviteUsers', inviteUsers_userType - The user type.

$sel:accountId:InviteUsers', inviteUsers_accountId - The Amazon Chime account ID.

$sel:userEmailList:InviteUsers', inviteUsers_userEmailList - The user email addresses to which to send the email invitation.

Request Lenses

inviteUsers_accountId :: Lens' InviteUsers Text Source #

The Amazon Chime account ID.

inviteUsers_userEmailList :: Lens' InviteUsers [Text] Source #

The user email addresses to which to send the email invitation.

Destructuring the Response

data InviteUsersResponse Source #

See: newInviteUsersResponse smart constructor.

Constructors

InviteUsersResponse' 

Fields

Instances

Instances details
Eq InviteUsersResponse Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

Show InviteUsersResponse Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

Generic InviteUsersResponse Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

Associated Types

type Rep InviteUsersResponse :: Type -> Type #

NFData InviteUsersResponse Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

Methods

rnf :: InviteUsersResponse -> () #

type Rep InviteUsersResponse Source # 
Instance details

Defined in Amazonka.Chime.InviteUsers

type Rep InviteUsersResponse = D1 ('MetaData "InviteUsersResponse" "Amazonka.Chime.InviteUsers" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "InviteUsersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "invites") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Invite])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newInviteUsersResponse Source #

Create a value of InviteUsersResponse 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:invites:InviteUsersResponse', inviteUsersResponse_invites - The email invitation details.

$sel:httpStatus:InviteUsersResponse', inviteUsersResponse_httpStatus - The response's http status code.

Response Lenses