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

Description

Creates a new user in FinSpace.

Synopsis

Creating a Request

data CreateUser Source #

See: newCreateUser smart constructor.

Constructors

CreateUser' 

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 that you want to register.

  • lastName :: Maybe (Sensitive Text)

    The last name of the user that you want to register.

  • emailAddress :: Sensitive Text

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

  • type' :: UserType

    The option to indicate the type of user. Use one of the following options to specify this parameter:

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

Instances

Instances details
ToJSON CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

ToHeaders CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

Methods

toHeaders :: CreateUser -> [Header] #

ToPath CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

ToQuery CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

AWSRequest CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

Associated Types

type AWSResponse CreateUser #

Generic CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

Associated Types

type Rep CreateUser :: Type -> Type #

Show CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

NFData CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

Methods

rnf :: CreateUser -> () #

Eq CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

Hashable CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

type AWSResponse CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

type Rep CreateUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

newCreateUser Source #

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

CreateUser, createUser_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.

CreateUser, createUser_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:CreateUser', createUser_clientToken - A token that ensures idempotency. This token expires in 10 minutes.

CreateUser, createUser_firstName - The first name of the user that you want to register.

CreateUser, createUser_lastName - The last name of the user that you want to register.

CreateUser, createUser_emailAddress - The email address of the user that you want to register. The email address serves as a uniquer identifier for each user and cannot be changed after it's created.

CreateUser, createUser_type - The option to indicate the type of user. Use one of the following options to specify this parameter:

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

Request Lenses

createUser_apiAccess :: Lens' CreateUser (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.

createUser_apiAccessPrincipalArn :: Lens' CreateUser (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.

createUser_clientToken :: Lens' CreateUser (Maybe Text) Source #

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

createUser_firstName :: Lens' CreateUser (Maybe Text) Source #

The first name of the user that you want to register.

createUser_lastName :: Lens' CreateUser (Maybe Text) Source #

The last name of the user that you want to register.

createUser_emailAddress :: Lens' CreateUser Text Source #

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

createUser_type :: Lens' CreateUser UserType Source #

The option to indicate the type of user. Use one of the following options to specify this parameter:

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

Destructuring the Response

data CreateUserResponse Source #

See: newCreateUserResponse smart constructor.

Constructors

CreateUserResponse' 

Fields

Instances

Instances details
Generic CreateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

Associated Types

type Rep CreateUserResponse :: Type -> Type #

Read CreateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

Show CreateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

NFData CreateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

Methods

rnf :: CreateUserResponse -> () #

Eq CreateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

type Rep CreateUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.CreateUser

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

newCreateUserResponse Source #

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

CreateUserResponse, createUserResponse_userId - The unique identifier for the user.

$sel:httpStatus:CreateUserResponse', createUserResponse_httpStatus - The response's http status code.

Response Lenses

createUserResponse_userId :: Lens' CreateUserResponse (Maybe Text) Source #

The unique identifier for the user.