| 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 |
Amazonka.FinSpaceData.EnableUser
Description
Allows the specified user to access the FinSpace web application and API.
Synopsis
- data EnableUser = EnableUser' {
- clientToken :: Maybe Text
- userId :: Text
- newEnableUser :: Text -> EnableUser
- enableUser_clientToken :: Lens' EnableUser (Maybe Text)
- enableUser_userId :: Lens' EnableUser Text
- data EnableUserResponse = EnableUserResponse' {
- userId :: Maybe Text
- httpStatus :: Int
- newEnableUserResponse :: Int -> EnableUserResponse
- enableUserResponse_userId :: Lens' EnableUserResponse (Maybe Text)
- enableUserResponse_httpStatus :: Lens' EnableUserResponse Int
Creating a Request
data EnableUser Source #
See: newEnableUser smart constructor.
Constructors
| EnableUser' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> EnableUser |
Create a value of EnableUser 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:EnableUser', enableUser_clientToken - A token that ensures idempotency. This token expires in 10 minutes.
EnableUser, enableUser_userId - The unique identifier for the user account that you want to enable.
Request Lenses
enableUser_clientToken :: Lens' EnableUser (Maybe Text) Source #
A token that ensures idempotency. This token expires in 10 minutes.
enableUser_userId :: Lens' EnableUser Text Source #
The unique identifier for the user account that you want to enable.
Destructuring the Response
data EnableUserResponse Source #
See: newEnableUserResponse smart constructor.
Constructors
| EnableUserResponse' | |
Fields
| |
Instances
newEnableUserResponse Source #
Arguments
| :: Int | |
| -> EnableUserResponse |
Create a value of EnableUserResponse 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:
EnableUser, enableUserResponse_userId - The unique identifier for the enabled user account.
$sel:httpStatus:EnableUserResponse', enableUserResponse_httpStatus - The response's http status code.
Response Lenses
enableUserResponse_userId :: Lens' EnableUserResponse (Maybe Text) Source #
The unique identifier for the enabled user account.
enableUserResponse_httpStatus :: Lens' EnableUserResponse Int Source #
The response's http status code.