| 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.GetUser
Description
Retrieves details for a specific user.
Synopsis
- data GetUser = GetUser' {}
 - newGetUser :: Text -> GetUser
 - getUser_userId :: Lens' GetUser Text
 - data GetUserResponse = GetUserResponse' {
- apiAccess :: Maybe ApiAccess
 - apiAccessPrincipalArn :: Maybe Text
 - createTime :: Maybe Integer
 - emailAddress :: Maybe (Sensitive Text)
 - firstName :: Maybe (Sensitive Text)
 - lastDisabledTime :: Maybe Integer
 - lastEnabledTime :: Maybe Integer
 - lastLoginTime :: Maybe Integer
 - lastModifiedTime :: Maybe Integer
 - lastName :: Maybe (Sensitive Text)
 - status :: Maybe UserStatus
 - type' :: Maybe UserType
 - userId :: Maybe Text
 - httpStatus :: Int
 
 - newGetUserResponse :: Int -> GetUserResponse
 - getUserResponse_apiAccess :: Lens' GetUserResponse (Maybe ApiAccess)
 - getUserResponse_apiAccessPrincipalArn :: Lens' GetUserResponse (Maybe Text)
 - getUserResponse_createTime :: Lens' GetUserResponse (Maybe Integer)
 - getUserResponse_emailAddress :: Lens' GetUserResponse (Maybe Text)
 - getUserResponse_firstName :: Lens' GetUserResponse (Maybe Text)
 - getUserResponse_lastDisabledTime :: Lens' GetUserResponse (Maybe Integer)
 - getUserResponse_lastEnabledTime :: Lens' GetUserResponse (Maybe Integer)
 - getUserResponse_lastLoginTime :: Lens' GetUserResponse (Maybe Integer)
 - getUserResponse_lastModifiedTime :: Lens' GetUserResponse (Maybe Integer)
 - getUserResponse_lastName :: Lens' GetUserResponse (Maybe Text)
 - getUserResponse_status :: Lens' GetUserResponse (Maybe UserStatus)
 - getUserResponse_type :: Lens' GetUserResponse (Maybe UserType)
 - getUserResponse_userId :: Lens' GetUserResponse (Maybe Text)
 - getUserResponse_httpStatus :: Lens' GetUserResponse Int
 
Creating a Request
See: newGetUser smart constructor.
Instances
Create a value of GetUser 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:
GetUser, getUser_userId - The unique identifier of the user to get data for.
Request Lenses
Destructuring the Response
data GetUserResponse Source #
See: newGetUserResponse smart constructor.
Constructors
| GetUserResponse' | |
Fields 
  | |
Instances
Arguments
| :: Int | |
| -> GetUserResponse | 
Create a value of GetUserResponse 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:
GetUserResponse, getUserResponse_apiAccess - Indicates whether the user can use the
 GetProgrammaticAccessCredentials API to obtain credentials that can
 then be used to access other FinSpace Data API operations.
ENABLED– The user has permissions to use the APIs.DISABLED– The user does not have permissions to use any APIs.
GetUserResponse, getUserResponse_apiAccessPrincipalArn - The ARN identifier of an AWS user or role that is allowed to call the
 GetProgrammaticAccessCredentials API to obtain a credentials token for
 a specific FinSpace user. This must be an IAM role within your FinSpace
 account.
GetUserResponse, getUserResponse_createTime - The timestamp at which the user account was created in FinSpace. The
 value is determined as epoch time in milliseconds.
GetUserResponse, getUserResponse_emailAddress - The email address that is associated with the user.
GetUserResponse, getUserResponse_firstName - The first name of the user.
GetUserResponse, getUserResponse_lastDisabledTime - Describes the last time the user account was disabled. The value is
 determined as epoch time in milliseconds.
GetUserResponse, getUserResponse_lastEnabledTime - Describes the last time the user account was enabled. The value is
 determined as epoch time in milliseconds.
GetUserResponse, getUserResponse_lastLoginTime - Describes the last time that the user logged into their account. The
 value is determined as epoch time in milliseconds.
GetUserResponse, getUserResponse_lastModifiedTime - Describes the last time the user account was updated. The value is
 determined as epoch time in milliseconds.
GetUserResponse, getUserResponse_lastName - The last name of the user.
GetUserResponse, getUserResponse_status - The current status of the user account.
CREATING– The user account creation is in progress.ENABLED– The user account is created and is currently active.DISABLED– The user account is currently inactive.
GetUserResponse, getUserResponse_type - Indicates the type of user.
SUPER_USER– A user with permission to all the functionality and data in FinSpace.APP_USER– A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
GetUser, getUserResponse_userId - The unique identifier for the user account that is retrieved.
$sel:httpStatus:GetUserResponse', getUserResponse_httpStatus - The response's http status code.
Response Lenses
getUserResponse_apiAccess :: Lens' GetUserResponse (Maybe ApiAccess) Source #
Indicates whether the user can use the
 GetProgrammaticAccessCredentials API to obtain credentials that can
 then be used to access other FinSpace Data API operations.
ENABLED– The user has permissions to use the APIs.DISABLED– The user does not have permissions to use any APIs.
getUserResponse_apiAccessPrincipalArn :: Lens' GetUserResponse (Maybe Text) Source #
The ARN identifier of an AWS user or role that is allowed to call the
 GetProgrammaticAccessCredentials API to obtain a credentials token for
 a specific FinSpace user. This must be an IAM role within your FinSpace
 account.
getUserResponse_createTime :: Lens' GetUserResponse (Maybe Integer) Source #
The timestamp at which the user account was created in FinSpace. The value is determined as epoch time in milliseconds.
getUserResponse_emailAddress :: Lens' GetUserResponse (Maybe Text) Source #
The email address that is associated with the user.
getUserResponse_firstName :: Lens' GetUserResponse (Maybe Text) Source #
The first name of the user.
getUserResponse_lastDisabledTime :: Lens' GetUserResponse (Maybe Integer) Source #
Describes the last time the user account was disabled. The value is determined as epoch time in milliseconds.
getUserResponse_lastEnabledTime :: Lens' GetUserResponse (Maybe Integer) Source #
Describes the last time the user account was enabled. The value is determined as epoch time in milliseconds.
getUserResponse_lastLoginTime :: Lens' GetUserResponse (Maybe Integer) Source #
Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.
getUserResponse_lastModifiedTime :: Lens' GetUserResponse (Maybe Integer) Source #
Describes the last time the user account was updated. The value is determined as epoch time in milliseconds.
getUserResponse_lastName :: Lens' GetUserResponse (Maybe Text) Source #
The last name of the user.
getUserResponse_status :: Lens' GetUserResponse (Maybe UserStatus) Source #
The current status of the user account.
CREATING– The user account creation is in progress.ENABLED– The user account is created and is currently active.DISABLED– The user account is currently inactive.
getUserResponse_type :: Lens' GetUserResponse (Maybe UserType) Source #
Indicates the type of user.
SUPER_USER– A user with permission to all the functionality and data in FinSpace.APP_USER– A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
getUserResponse_userId :: Lens' GetUserResponse (Maybe Text) Source #
The unique identifier for the user account that is retrieved.
getUserResponse_httpStatus :: Lens' GetUserResponse Int Source #
The response's http status code.