amazonka-mq-1.6.1: 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 # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Data UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.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 #

Read UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Show UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Generic UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Associated Types

type Rep UpdateUser :: Type -> Type #

Hashable UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

ToJSON UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

AWSRequest UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Associated Types

type Rs UpdateUser :: Type #

ToHeaders UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Methods

toHeaders :: UpdateUser -> [Header] #

ToPath UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

ToQuery UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

NFData UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Methods

rnf :: UpdateUser -> () #

type Rep UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

type Rep UpdateUser = D1 (MetaData "UpdateUser" "Network.AWS.MQ.UpdateUser" "amazonka-mq-1.6.1-LPqbYptSHP5G5BofyZ5WCa" False) (C1 (MetaCons "UpdateUser'" PrefixI True) ((S1 (MetaSel (Just "_uuGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_uuConsoleAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_uuPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uuUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_uuBrokerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateUser Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

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 # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Data UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.MQ.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.MQ.UpdateUser

Show UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Generic UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Associated Types

type Rep UpdateUserResponse :: Type -> Type #

NFData UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

Methods

rnf :: UpdateUserResponse -> () #

type Rep UpdateUserResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateUser

type Rep UpdateUserResponse = D1 (MetaData "UpdateUserResponse" "Network.AWS.MQ.UpdateUser" "amazonka-mq-1.6.1-LPqbYptSHP5G5BofyZ5WCa" True) (C1 (MetaCons "UpdateUserResponse'" PrefixI True) (S1 (MetaSel (Just "_uursResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

uursResponseStatus :: Lens' UpdateUserResponse Int Source #

  • - | The response status code.