amazonka-workdocs-1.6.0: 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 # 
Data UpdateUser Source # 

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 # 
Generic UpdateUser Source # 

Associated Types

type Rep UpdateUser :: * -> * #

Hashable UpdateUser Source # 
ToJSON UpdateUser Source # 
NFData UpdateUser Source # 

Methods

rnf :: UpdateUser -> () #

AWSRequest UpdateUser Source # 
ToHeaders UpdateUser Source # 

Methods

toHeaders :: UpdateUser -> [Header] #

ToPath UpdateUser Source # 
ToQuery UpdateUser Source # 
type Rep UpdateUser Source # 
type Rs UpdateUser Source # 

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 # 
Data UpdateUserResponse Source # 

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 # 
Show UpdateUserResponse Source # 
Generic UpdateUserResponse Source # 
NFData UpdateUserResponse Source # 

Methods

rnf :: UpdateUserResponse -> () #

type Rep UpdateUserResponse Source # 
type Rep UpdateUserResponse = D1 * (MetaData "UpdateUserResponse" "Network.AWS.WorkDocs.UpdateUser" "amazonka-workdocs-1.6.0-1U8VphMWtKAbdAmu8y8qj" False) (C1 * (MetaCons "UpdateUserResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uursUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe User))) (S1 * (MetaSel (Just Symbol "_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.