| 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.AlexaBusiness.SendInvitation
Description
Sends an enrollment invitation email with a URL to a user. The URL is valid for 30 days or until you call this operation again, whichever comes first.
Synopsis
- data SendInvitation = SendInvitation' {}
- newSendInvitation :: SendInvitation
- sendInvitation_userArn :: Lens' SendInvitation (Maybe Text)
- data SendInvitationResponse = SendInvitationResponse' {
- httpStatus :: Int
- newSendInvitationResponse :: Int -> SendInvitationResponse
- sendInvitationResponse_httpStatus :: Lens' SendInvitationResponse Int
Creating a Request
data SendInvitation Source #
See: newSendInvitation smart constructor.
Constructors
| SendInvitation' | |
Instances
newSendInvitation :: SendInvitation Source #
Create a value of SendInvitation 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:
SendInvitation, sendInvitation_userArn - The ARN of the user to whom to send an invitation. Required.
Request Lenses
sendInvitation_userArn :: Lens' SendInvitation (Maybe Text) Source #
The ARN of the user to whom to send an invitation. Required.
Destructuring the Response
data SendInvitationResponse Source #
See: newSendInvitationResponse smart constructor.
Constructors
| SendInvitationResponse' | |
Fields
| |
Instances
newSendInvitationResponse Source #
Create a value of SendInvitationResponse 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:httpStatus:SendInvitationResponse', sendInvitationResponse_httpStatus - The response's http status code.
Response Lenses
sendInvitationResponse_httpStatus :: Lens' SendInvitationResponse Int Source #
The response's http status code.