Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Denies access to the FinSpace web application and API for the specified user.
Synopsis
- data DisableUser = DisableUser' {
- clientToken :: Maybe Text
- userId :: Text
- newDisableUser :: Text -> DisableUser
- disableUser_clientToken :: Lens' DisableUser (Maybe Text)
- disableUser_userId :: Lens' DisableUser Text
- data DisableUserResponse = DisableUserResponse' {
- userId :: Maybe Text
- httpStatus :: Int
- newDisableUserResponse :: Int -> DisableUserResponse
- disableUserResponse_userId :: Lens' DisableUserResponse (Maybe Text)
- disableUserResponse_httpStatus :: Lens' DisableUserResponse Int
Creating a Request
data DisableUser Source #
See: newDisableUser
smart constructor.
DisableUser' | |
|
Instances
Create a value of DisableUser
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:clientToken:DisableUser'
, disableUser_clientToken
- A token that ensures idempotency. This token expires in 10 minutes.
DisableUser
, disableUser_userId
- The unique identifier for the user account that you want to disable.
Request Lenses
disableUser_clientToken :: Lens' DisableUser (Maybe Text) Source #
A token that ensures idempotency. This token expires in 10 minutes.
disableUser_userId :: Lens' DisableUser Text Source #
The unique identifier for the user account that you want to disable.
Destructuring the Response
data DisableUserResponse Source #
See: newDisableUserResponse
smart constructor.
DisableUserResponse' | |
|
Instances
newDisableUserResponse Source #
Create a value of DisableUserResponse
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:
DisableUser
, disableUserResponse_userId
- The unique identifier for the disabled user account.
$sel:httpStatus:DisableUserResponse'
, disableUserResponse_httpStatus
- The response's http status code.
Response Lenses
disableUserResponse_userId :: Lens' DisableUserResponse (Maybe Text) Source #
The unique identifier for the disabled user account.
disableUserResponse_httpStatus :: Lens' DisableUserResponse Int Source #
The response's http status code.