amazonka-workdocs-2.0: Amazon WorkDocs 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.WorkDocs.ActivateUser

Description

Activates the specified user. Only active users can access Amazon WorkDocs.

Synopsis

Creating a Request

data ActivateUser Source #

See: newActivateUser smart constructor.

Constructors

ActivateUser' 

Fields

Instances

Instances details
ToJSON ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

ToHeaders ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

ToPath ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

ToQuery ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

AWSRequest ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Associated Types

type AWSResponse ActivateUser #

Generic ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Associated Types

type Rep ActivateUser :: Type -> Type #

Show ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

NFData ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Methods

rnf :: ActivateUser -> () #

Eq ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Hashable ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

type AWSResponse ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

type Rep ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

type Rep ActivateUser = D1 ('MetaData "ActivateUser" "Amazonka.WorkDocs.ActivateUser" "amazonka-workdocs-2.0-2rElYnFvcad3yrUkWYMHCU" 'False) (C1 ('MetaCons "ActivateUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authenticationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newActivateUser Source #

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

$sel:userId:ActivateUser', activateUser_userId - The ID of the user.

Request Lenses

activateUser_authenticationToken :: Lens' ActivateUser (Maybe Text) Source #

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

Destructuring the Response

data ActivateUserResponse Source #

See: newActivateUserResponse smart constructor.

Constructors

ActivateUserResponse' 

Fields

newActivateUserResponse Source #

Create a value of ActivateUserResponse 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:user:ActivateUserResponse', activateUserResponse_user - The user information.

$sel:httpStatus:ActivateUserResponse', activateUserResponse_httpStatus - The response's http status code.

Response Lenses