Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
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:
$sel:userArn: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.
SendInvitationResponse' | |
|
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.