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.UpdateUser

Description

Modifies the details of the specified user account. You cannot update the userId for a user.

Synopsis

Creating a Request

data UpdateUser Source #

See: newUpdateUser smart constructor.

Constructors

UpdateUser' 

Fields

  • apiAccess :: Maybe ApiAccess

    The option to indicate 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.

  • clientToken :: Maybe Text

    A token that ensures idempotency. This token expires in 10 minutes.

  • firstName :: Maybe (Sensitive Text)

    The first name of the user.

  • lastName :: Maybe (Sensitive Text)

    The last name of the user.

  • type' :: Maybe UserType

    The option to indicate 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 :: Text

    The unique identifier for the user account to update.

Instances

Instances details
ToJSON UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

ToHeaders UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

Methods

toHeaders :: UpdateUser -> [Header] #

ToPath UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

ToQuery UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

AWSRequest UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

Associated Types

type AWSResponse UpdateUser #

Generic UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

Associated Types

type Rep UpdateUser :: Type -> Type #

Show UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

NFData UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

Methods

rnf :: UpdateUser -> () #

Eq UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

Hashable UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

type AWSResponse UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

type Rep UpdateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

newUpdateUser Source #

Arguments

:: Text

UpdateUser

-> UpdateUser 

Create a value of UpdateUser 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:

UpdateUser, updateUser_apiAccess - The option to indicate 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.

UpdateUser, updateUser_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:clientToken:UpdateUser', updateUser_clientToken - A token that ensures idempotency. This token expires in 10 minutes.

UpdateUser, updateUser_firstName - The first name of the user.

UpdateUser, updateUser_lastName - The last name of the user.

UpdateUser, updateUser_type - The option to indicate 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.

UpdateUser, updateUser_userId - The unique identifier for the user account to update.

Request Lenses

updateUser_apiAccess :: Lens' UpdateUser (Maybe ApiAccess) Source #

The option to indicate 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.

updateUser_apiAccessPrincipalArn :: Lens' UpdateUser (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.

updateUser_clientToken :: Lens' UpdateUser (Maybe Text) Source #

A token that ensures idempotency. This token expires in 10 minutes.

updateUser_firstName :: Lens' UpdateUser (Maybe Text) Source #

The first name of the user.

updateUser_lastName :: Lens' UpdateUser (Maybe Text) Source #

The last name of the user.

updateUser_type :: Lens' UpdateUser (Maybe UserType) Source #

The option to indicate 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.

updateUser_userId :: Lens' UpdateUser Text Source #

The unique identifier for the user account to update.

Destructuring the Response

data UpdateUserResponse Source #

See: newUpdateUserResponse smart constructor.

Constructors

UpdateUserResponse' 

Fields

Instances

Instances details
Generic UpdateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

Associated Types

type Rep UpdateUserResponse :: Type -> Type #

Read UpdateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

Show UpdateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

NFData UpdateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

Methods

rnf :: UpdateUserResponse -> () #

Eq UpdateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

type Rep UpdateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.UpdateUser

type Rep UpdateUserResponse = D1 ('MetaData "UpdateUserResponse" "Amazonka.FinSpaceData.UpdateUser" "amazonka-finspace-data-2.0-Io6eLKJnFUxHbvASHvgCzj" 'False) (C1 ('MetaCons "UpdateUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateUserResponse Source #

Create a value of UpdateUserResponse 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:

UpdateUser, updateUserResponse_userId - The unique identifier of the updated user account.

$sel:httpStatus:UpdateUserResponse', updateUserResponse_httpStatus - The response's http status code.

Response Lenses

updateUserResponse_userId :: Lens' UpdateUserResponse (Maybe Text) Source #

The unique identifier of the updated user account.