| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.AlexaBusiness.RevokeInvitation
Description
Revokes an invitation and invalidates the enrollment URL.
Synopsis
- revokeInvitation :: RevokeInvitation
- data RevokeInvitation
- riEnrollmentId :: Lens' RevokeInvitation (Maybe Text)
- riUserARN :: Lens' RevokeInvitation (Maybe Text)
- revokeInvitationResponse :: Int -> RevokeInvitationResponse
- data RevokeInvitationResponse
- rirsResponseStatus :: Lens' RevokeInvitationResponse Int
Creating a Request
revokeInvitation :: RevokeInvitation Source #
Creates a value of RevokeInvitation with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
riEnrollmentId- The ARN of the enrollment invitation to revoke. Required.riUserARN- The ARN of the user for whom to revoke an enrollment invitation. Required.
data RevokeInvitation Source #
See: revokeInvitation smart constructor.
Instances
Request Lenses
riEnrollmentId :: Lens' RevokeInvitation (Maybe Text) Source #
The ARN of the enrollment invitation to revoke. Required.
riUserARN :: Lens' RevokeInvitation (Maybe Text) Source #
The ARN of the user for whom to revoke an enrollment invitation. Required.
Destructuring the Response
revokeInvitationResponse Source #
Arguments
| :: Int | |
| -> RevokeInvitationResponse |
Creates a value of RevokeInvitationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rirsResponseStatus- -- | The response status code.
data RevokeInvitationResponse Source #
See: revokeInvitationResponse smart constructor.
Instances
Response Lenses
rirsResponseStatus :: Lens' RevokeInvitationResponse Int Source #
- - | The response status code.