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 |
Deactivates the specified user, which revokes the user's access to Amazon WorkDocs.
Synopsis
- data DeactivateUser = DeactivateUser' {}
- newDeactivateUser :: Text -> DeactivateUser
- deactivateUser_authenticationToken :: Lens' DeactivateUser (Maybe Text)
- deactivateUser_userId :: Lens' DeactivateUser Text
- data DeactivateUserResponse = DeactivateUserResponse' {
- newDeactivateUserResponse :: DeactivateUserResponse
Creating a Request
data DeactivateUser Source #
See: newDeactivateUser
smart constructor.
Instances
Create a value of DeactivateUser
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:authenticationToken:DeactivateUser'
, deactivateUser_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:userId:DeactivateUser'
, deactivateUser_userId
- The ID of the user.
Request Lenses
deactivateUser_authenticationToken :: Lens' DeactivateUser (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
deactivateUser_userId :: Lens' DeactivateUser Text Source #
The ID of the user.
Destructuring the Response
data DeactivateUserResponse Source #
See: newDeactivateUserResponse
smart constructor.
Instances
Eq DeactivateUserResponse Source # | |
Defined in Amazonka.WorkDocs.DeactivateUser | |
Read DeactivateUserResponse Source # | |
Show DeactivateUserResponse Source # | |
Defined in Amazonka.WorkDocs.DeactivateUser showsPrec :: Int -> DeactivateUserResponse -> ShowS # show :: DeactivateUserResponse -> String # showList :: [DeactivateUserResponse] -> ShowS # | |
Generic DeactivateUserResponse Source # | |
Defined in Amazonka.WorkDocs.DeactivateUser type Rep DeactivateUserResponse :: Type -> Type # | |
NFData DeactivateUserResponse Source # | |
Defined in Amazonka.WorkDocs.DeactivateUser rnf :: DeactivateUserResponse -> () # | |
type Rep DeactivateUserResponse Source # | |
newDeactivateUserResponse :: DeactivateUserResponse Source #
Create a value of DeactivateUserResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.