libZSservicesZSamazonka-workdocsZSamazonka-workdocs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkDocs.DeactivateUser

Description

Deactivates the specified user, which revokes the user's access to Amazon WorkDocs.

Synopsis

Creating a Request

data DeactivateUser Source #

See: newDeactivateUser smart constructor.

Constructors

DeactivateUser' 

Fields

Instances

Instances details
Eq DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

Show DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

Generic DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

Associated Types

type Rep DeactivateUser :: Type -> Type #

NFData DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

Methods

rnf :: DeactivateUser -> () #

Hashable DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

AWSRequest DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

Associated Types

type AWSResponse DeactivateUser #

ToHeaders DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

ToPath DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

ToQuery DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

type Rep DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

type Rep DeactivateUser = D1 ('MetaData "DeactivateUser" "Amazonka.WorkDocs.DeactivateUser" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DeactivateUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authenticationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeactivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

newDeactivateUser Source #

Create a value of DeactivateUser 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:authenticationToken:DeactivateUser', deactivateUser_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:userId:DeactivateUser', deactivateUser_userId - The ID of the user.

Request Lenses

deactivateUser_authenticationToken :: Lens' DeactivateUser (Maybe Text) Source #

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

Destructuring the Response

data DeactivateUserResponse Source #

See: newDeactivateUserResponse smart constructor.

Instances

Instances details
Eq DeactivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

Read DeactivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

Show DeactivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

Generic DeactivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

Associated Types

type Rep DeactivateUserResponse :: Type -> Type #

NFData DeactivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

Methods

rnf :: DeactivateUserResponse -> () #

type Rep DeactivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeactivateUser

type Rep DeactivateUserResponse = D1 ('MetaData "DeactivateUserResponse" "Amazonka.WorkDocs.DeactivateUser" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DeactivateUserResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeactivateUserResponse :: DeactivateUserResponse Source #

Create a value of DeactivateUserResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.