| 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.WorkDocs.ActivateUser
Description
Activates the specified user. Only active users can access Amazon WorkDocs.
Synopsis
- activateUser :: Text -> ActivateUser
- data ActivateUser
- auAuthenticationToken :: Lens' ActivateUser (Maybe Text)
- auUserId :: Lens' ActivateUser Text
- activateUserResponse :: Int -> ActivateUserResponse
- data ActivateUserResponse
- aursUser :: Lens' ActivateUserResponse (Maybe User)
- aursResponseStatus :: Lens' ActivateUserResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ActivateUser |
Creates a value of ActivateUser with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
auAuthenticationToken- Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.auUserId- The ID of the user.
data ActivateUser Source #
See: activateUser smart constructor.
Instances
Request Lenses
auAuthenticationToken :: Lens' ActivateUser (Maybe Text) Source #
Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
Destructuring the Response
Arguments
| :: Int | |
| -> ActivateUserResponse |
Creates a value of ActivateUserResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aursUser- The user information.aursResponseStatus- -- | The response status code.
data ActivateUserResponse Source #
See: activateUserResponse smart constructor.
Instances
Response Lenses
aursResponseStatus :: Lens' ActivateUserResponse Int Source #
- - | The response status code.