amazonka-mq-1.6.0: Amazon MQ 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.MQ.UpdateUser

Contents

Description

Updates the information for an ActiveMQ user.

Synopsis

Creating a Request

updateUser Source #

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:

  • uuGroups - The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
  • uuConsoleAccess - Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
  • uuPassword - The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas.
  • uuUsername - Required. The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
  • uuBrokerId - The unique ID that Amazon MQ generates for the broker.

data UpdateUser Source #

Updates the information for an ActiveMQ user.

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 #

Read UpdateUser Source # 
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 Rep UpdateUser = D1 * (MetaData "UpdateUser" "Network.AWS.MQ.UpdateUser" "amazonka-mq-1.6.0-2p1A05IoaUzMnRutMRqns" False) (C1 * (MetaCons "UpdateUser'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uuGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_uuConsoleAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uuPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uuUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_uuBrokerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdateUser Source # 

Request Lenses

uuGroups :: Lens' UpdateUser [Text] Source #

The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

uuConsoleAccess :: Lens' UpdateUser (Maybe Bool) Source #

Enables access to the the ActiveMQ Web Console for the ActiveMQ user.

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

The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas.

uuUsername :: Lens' UpdateUser Text Source #

Required. The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

uuBrokerId :: Lens' UpdateUser Text Source #

The unique ID that Amazon MQ generates for the broker.

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.MQ.UpdateUser" "amazonka-mq-1.6.0-2p1A05IoaUzMnRutMRqns" True) (C1 * (MetaCons "UpdateUserResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_uursResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

uursResponseStatus :: Lens' UpdateUserResponse Int Source #

  • - | The response status code.