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

Description

Allows the specified user to access the FinSpace web application and API.

Synopsis

Creating a Request

data EnableUser Source #

See: newEnableUser smart constructor.

Constructors

EnableUser' 

Fields

  • clientToken :: Maybe Text

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

  • userId :: Text

    The unique identifier for the user account that you want to enable.

Instances

Instances details
ToJSON EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

ToHeaders EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

Methods

toHeaders :: EnableUser -> [Header] #

ToPath EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

ToQuery EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

AWSRequest EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

Associated Types

type AWSResponse EnableUser #

Generic EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

Associated Types

type Rep EnableUser :: Type -> Type #

Read EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

Show EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

NFData EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

Methods

rnf :: EnableUser -> () #

Eq EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

Hashable EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

type AWSResponse EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

type Rep EnableUser Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

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

newEnableUser Source #

Arguments

:: Text

EnableUser

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

Instances details
Generic EnableUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

Associated Types

type Rep EnableUserResponse :: Type -> Type #

Read EnableUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

Show EnableUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

NFData EnableUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

Methods

rnf :: EnableUserResponse -> () #

Eq EnableUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

type Rep EnableUserResponse Source # 
Instance details

Defined in Amazonka.FinSpaceData.EnableUser

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

newEnableUserResponse Source #

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.