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

Description

Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.

Synopsis

Creating a Request

data UpdateUser Source #

See: newUpdateUser smart constructor.

Constructors

UpdateUser' 

Fields

Instances

Instances details
Eq UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Show UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Generic UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Associated Types

type Rep UpdateUser :: Type -> Type #

NFData UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Methods

rnf :: UpdateUser -> () #

Hashable UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

ToJSON UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

AWSRequest UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Associated Types

type AWSResponse UpdateUser #

ToHeaders UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Methods

toHeaders :: UpdateUser -> [Header] #

ToPath UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

ToQuery UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

type Rep UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

type AWSResponse UpdateUser Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

newUpdateUser Source #

Create a value of UpdateUser 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:givenName:UpdateUser', updateUser_givenName - The given name of the user.

$sel:grantPoweruserPrivileges:UpdateUser', updateUser_grantPoweruserPrivileges - Boolean value to determine whether the user is granted Poweruser privileges.

$sel:locale:UpdateUser', updateUser_locale - The locale of the user.

$sel:authenticationToken:UpdateUser', updateUser_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:storageRule:UpdateUser', updateUser_storageRule - The amount of storage for the user.

$sel:type':UpdateUser', updateUser_type - The type of the user.

$sel:surname:UpdateUser', updateUser_surname - The surname of the user.

$sel:timeZoneId:UpdateUser', updateUser_timeZoneId - The time zone ID of the user.

$sel:userId:UpdateUser', updateUser_userId - The ID of the user.

Request Lenses

updateUser_givenName :: Lens' UpdateUser (Maybe Text) Source #

The given name of the user.

updateUser_grantPoweruserPrivileges :: Lens' UpdateUser (Maybe BooleanEnumType) Source #

Boolean value to determine whether the user is granted Poweruser privileges.

updateUser_authenticationToken :: Lens' UpdateUser (Maybe Text) Source #

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

updateUser_storageRule :: Lens' UpdateUser (Maybe StorageRuleType) Source #

The amount of storage for the user.

updateUser_surname :: Lens' UpdateUser (Maybe Text) Source #

The surname of the user.

updateUser_timeZoneId :: Lens' UpdateUser (Maybe Text) Source #

The time zone ID of the user.

Destructuring the Response

data UpdateUserResponse Source #

See: newUpdateUserResponse smart constructor.

Constructors

UpdateUserResponse' 

Fields

Instances

Instances details
Eq UpdateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Read UpdateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Show UpdateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Generic UpdateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Associated Types

type Rep UpdateUserResponse :: Type -> Type #

NFData UpdateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

Methods

rnf :: UpdateUserResponse -> () #

type Rep UpdateUserResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateUser

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

newUpdateUserResponse Source #

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

$sel:httpStatus:UpdateUserResponse', updateUserResponse_httpStatus - The response's http status code.

Response Lenses