| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data InviteUsers = InviteUsers' {}
- newInviteUsers :: Text -> InviteUsers
- inviteUsers_userType :: Lens' InviteUsers (Maybe UserType)
- inviteUsers_accountId :: Lens' InviteUsers Text
- inviteUsers_userEmailList :: Lens' InviteUsers [Text]
- data InviteUsersResponse = InviteUsersResponse' {
- invites :: Maybe [Invite]
- httpStatus :: Int
- newInviteUsersResponse :: Int -> InviteUsersResponse
- inviteUsersResponse_invites :: Lens' InviteUsersResponse (Maybe [Invite])
- inviteUsersResponse_httpStatus :: Lens' InviteUsersResponse Int
Creating a Request
data InviteUsers Source #
See: newInviteUsers smart constructor.
Constructors
| InviteUsers' | |
Instances
Arguments
| :: Text | |
| -> InviteUsers |
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:
InviteUsers, inviteUsers_userType - The user type.
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_userType :: Lens' InviteUsers (Maybe UserType) Source #
The user type.
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
newInviteUsersResponse Source #
Arguments
| :: Int | |
| -> InviteUsersResponse |
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
inviteUsersResponse_invites :: Lens' InviteUsersResponse (Maybe [Invite]) Source #
The email invitation details.
inviteUsersResponse_httpStatus :: Lens' InviteUsersResponse Int Source #
The response's http status code.