amazonka-finspace-data-2.0: Amazon FinSpace Public API SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FinSpaceData.Types.User

Description

 
Synopsis

Documentation

data User Source #

The details of the user account.

See: newUser smart constructor.

Constructors

User' 

Fields

  • apiAccess :: Maybe 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.
  • apiAccessPrincipalArn :: Maybe Text

    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.

  • createTime :: Maybe Integer

    The timestamp at which the user account was created in FinSpace. The value is determined as epoch time in milliseconds.

  • emailAddress :: Maybe (Sensitive Text)

    The email address of the user. The email address serves as a uniquer identifier for each user and cannot be changed after it's created.

  • firstName :: Maybe (Sensitive Text)

    The first name of the user.

  • lastDisabledTime :: Maybe Integer

    Describes the last time the user account was disabled. The value is determined as epoch time in milliseconds.

  • lastEnabledTime :: Maybe Integer

    Describes the last time the user account was enabled. The value is determined as epoch time in milliseconds.

  • lastLoginTime :: Maybe Integer

    Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.

  • lastModifiedTime :: Maybe Integer

    Describes the last time the user account was updated. The value is determined as epoch time in milliseconds.

  • lastName :: Maybe (Sensitive Text)

    The last name of the user.

  • status :: Maybe UserStatus

    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.
  • type' :: Maybe UserType

    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.
  • userId :: Maybe Text

    The unique identifier for the user.

Instances

Instances details
FromJSON User Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.User

Generic User Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.User

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

Show User Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.User

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

NFData User Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.User

Methods

rnf :: User -> () #

Eq User Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.User

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Hashable User Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.User

Methods

hashWithSalt :: Int -> User -> Int #

hash :: User -> Int #

type Rep User Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.User

type Rep User = D1 ('MetaData "User" "Amazonka.FinSpaceData.Types.User" "amazonka-finspace-data-2.0-Io6eLKJnFUxHbvASHvgCzj" 'False) (C1 ('MetaCons "User'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "apiAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiAccess)) :*: (S1 ('MetaSel ('Just "apiAccessPrincipalArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "firstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "lastDisabledTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) :*: ((S1 ('MetaSel ('Just "lastEnabledTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "lastLoginTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "lastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserStatus))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserType)) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newUser :: User Source #

Create a value of User 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:apiAccess:User', user_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.

$sel:apiAccessPrincipalArn:User', user_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.

$sel:createTime:User', user_createTime - The timestamp at which the user account was created in FinSpace. The value is determined as epoch time in milliseconds.

$sel:emailAddress:User', user_emailAddress - The email address of the user. The email address serves as a uniquer identifier for each user and cannot be changed after it's created.

$sel:firstName:User', user_firstName - The first name of the user.

$sel:lastDisabledTime:User', user_lastDisabledTime - Describes the last time the user account was disabled. The value is determined as epoch time in milliseconds.

$sel:lastEnabledTime:User', user_lastEnabledTime - Describes the last time the user account was enabled. The value is determined as epoch time in milliseconds.

$sel:lastLoginTime:User', user_lastLoginTime - Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.

$sel:lastModifiedTime:User', user_lastModifiedTime - Describes the last time the user account was updated. The value is determined as epoch time in milliseconds.

$sel:lastName:User', user_lastName - The last name of the user.

$sel:status:User', user_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.

$sel:type':User', user_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.

$sel:userId:User', user_userId - The unique identifier for the user.

user_apiAccess :: Lens' User (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.

user_apiAccessPrincipalArn :: Lens' User (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.

user_createTime :: Lens' User (Maybe Integer) Source #

The timestamp at which the user account was created in FinSpace. The value is determined as epoch time in milliseconds.

user_emailAddress :: Lens' User (Maybe Text) Source #

The email address of the user. The email address serves as a uniquer identifier for each user and cannot be changed after it's created.

user_firstName :: Lens' User (Maybe Text) Source #

The first name of the user.

user_lastDisabledTime :: Lens' User (Maybe Integer) Source #

Describes the last time the user account was disabled. The value is determined as epoch time in milliseconds.

user_lastEnabledTime :: Lens' User (Maybe Integer) Source #

Describes the last time the user account was enabled. The value is determined as epoch time in milliseconds.

user_lastLoginTime :: Lens' User (Maybe Integer) Source #

Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.

user_lastModifiedTime :: Lens' User (Maybe Integer) Source #

Describes the last time the user account was updated. The value is determined as epoch time in milliseconds.

user_lastName :: Lens' User (Maybe Text) Source #

The last name of the user.

user_status :: Lens' User (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.

user_type :: Lens' User (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.

user_userId :: Lens' User (Maybe Text) Source #

The unique identifier for the user.