amazonka-workdocs-1.6.1: Amazon WorkDocs SDK.

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

Network.AWS.WorkDocs.UpdateUser

Contents

Description

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

Synopsis

Creating a Request

updateUser Source #

Arguments

:: Text

uuUserId

-> UpdateUser 

Creates a value of UpdateUser with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateUser Source #

See: updateUser smart constructor.

Instances
Eq UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Data UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateUser -> c UpdateUser #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateUser #

toConstr :: UpdateUser -> Constr #

dataTypeOf :: UpdateUser -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateUser) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateUser) #

gmapT :: (forall b. Data b => b -> b) -> UpdateUser -> UpdateUser #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateUser -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateUser -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateUser -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateUser -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateUser -> m UpdateUser #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateUser -> m UpdateUser #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateUser -> m UpdateUser #

Show UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Generic UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Associated Types

type Rep UpdateUser :: Type -> Type #

Hashable UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

ToJSON UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

AWSRequest UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Associated Types

type Rs UpdateUser :: Type #

ToHeaders UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Methods

toHeaders :: UpdateUser -> [Header] #

ToPath UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

ToQuery UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

NFData UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Methods

rnf :: UpdateUser -> () #

type Rep UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

type Rs UpdateUser Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Request Lenses

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

The given name of the user.

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

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

uuLocale :: Lens' UpdateUser (Maybe LocaleType) Source #

The locale of the user.

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

Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.

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

The amount of storage for the user.

uuType :: Lens' UpdateUser (Maybe UserType) Source #

The type of the user.

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

The surname of the user.

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

The time zone ID of the user.

uuUserId :: Lens' UpdateUser Text Source #

The ID of the user.

Destructuring the Response

updateUserResponse Source #

Creates a value of UpdateUserResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateUserResponse Source #

See: updateUserResponse smart constructor.

Instances
Eq UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Data UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateUserResponse -> c UpdateUserResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateUserResponse #

toConstr :: UpdateUserResponse -> Constr #

dataTypeOf :: UpdateUserResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateUserResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateUserResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateUserResponse -> UpdateUserResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateUserResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateUserResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateUserResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateUserResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateUserResponse -> m UpdateUserResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateUserResponse -> m UpdateUserResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateUserResponse -> m UpdateUserResponse #

Read UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Show UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Generic UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Associated Types

type Rep UpdateUserResponse :: Type -> Type #

NFData UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

Methods

rnf :: UpdateUserResponse -> () #

type Rep UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.UpdateUser

type Rep UpdateUserResponse = D1 (MetaData "UpdateUserResponse" "Network.AWS.WorkDocs.UpdateUser" "amazonka-workdocs-1.6.1-7lORy3cdAvvAKwhZON5nxY" False) (C1 (MetaCons "UpdateUserResponse'" PrefixI True) (S1 (MetaSel (Just "_uursUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe User)) :*: S1 (MetaSel (Just "_uursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

uursUser :: Lens' UpdateUserResponse (Maybe User) Source #

The user information.

uursResponseStatus :: Lens' UpdateUserResponse Int Source #

  • - | The response status code.