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.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
Eq ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Show ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Generic ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Associated Types

type Rep ActivateUser :: Type -> Type #

NFData ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Methods

rnf :: ActivateUser -> () #

Hashable ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

ToJSON ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

AWSRequest ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Associated Types

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

type Rep ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

type Rep ActivateUser = D1 ('MetaData "ActivateUser" "Amazonka.WorkDocs.ActivateUser" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" '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)))
type AWSResponse ActivateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

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

Instances

Instances details
Eq ActivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Read ActivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Show ActivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Generic ActivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Associated Types

type Rep ActivateUserResponse :: Type -> Type #

NFData ActivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

Methods

rnf :: ActivateUserResponse -> () #

type Rep ActivateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.ActivateUser

type Rep ActivateUserResponse = D1 ('MetaData "ActivateUserResponse" "Amazonka.WorkDocs.ActivateUser" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "ActivateUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe User)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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