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 |
Amazonka.AlexaBusiness.RevokeInvitation
Description
Revokes an invitation and invalidates the enrollment URL.
Synopsis
- data RevokeInvitation = RevokeInvitation' {}
- newRevokeInvitation :: RevokeInvitation
- revokeInvitation_enrollmentId :: Lens' RevokeInvitation (Maybe Text)
- revokeInvitation_userArn :: Lens' RevokeInvitation (Maybe Text)
- data RevokeInvitationResponse = RevokeInvitationResponse' {
- httpStatus :: Int
- newRevokeInvitationResponse :: Int -> RevokeInvitationResponse
- revokeInvitationResponse_httpStatus :: Lens' RevokeInvitationResponse Int
Creating a Request
data RevokeInvitation Source #
See: newRevokeInvitation
smart constructor.
Constructors
RevokeInvitation' | |
Instances
newRevokeInvitation :: RevokeInvitation Source #
Create a value of RevokeInvitation
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:enrollmentId:RevokeInvitation'
, revokeInvitation_enrollmentId
- The ARN of the enrollment invitation to revoke. Required.
$sel:userArn:RevokeInvitation'
, revokeInvitation_userArn
- The ARN of the user for whom to revoke an enrollment invitation.
Required.
Request Lenses
revokeInvitation_enrollmentId :: Lens' RevokeInvitation (Maybe Text) Source #
The ARN of the enrollment invitation to revoke. Required.
revokeInvitation_userArn :: Lens' RevokeInvitation (Maybe Text) Source #
The ARN of the user for whom to revoke an enrollment invitation. Required.
Destructuring the Response
data RevokeInvitationResponse Source #
See: newRevokeInvitationResponse
smart constructor.
Constructors
RevokeInvitationResponse' | |
Fields
|
Instances
newRevokeInvitationResponse Source #
Create a value of RevokeInvitationResponse
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:RevokeInvitationResponse'
, revokeInvitationResponse_httpStatus
- The response's http status code.
Response Lenses
revokeInvitationResponse_httpStatus :: Lens' RevokeInvitationResponse Int Source #
The response's http status code.