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

Contents

Description

Adds a pending configuration change to a broker.

Synopsis

Creating a Request

updateBroker Source #

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

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

  • ubConfiguration - A list of information about the configuration.
  • ubBrokerId - The name of the broker. This value must be unique in your AWS account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain whitespaces, brackets, wildcard characters, or special characters.

data UpdateBroker Source #

Updates the broker using the specified properties.

See: updateBroker smart constructor.

Instances

Eq UpdateBroker Source # 
Data UpdateBroker Source # 

Methods

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

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

toConstr :: UpdateBroker -> Constr #

dataTypeOf :: UpdateBroker -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateBroker Source # 
Show UpdateBroker Source # 
Generic UpdateBroker Source # 

Associated Types

type Rep UpdateBroker :: * -> * #

Hashable UpdateBroker Source # 
ToJSON UpdateBroker Source # 
NFData UpdateBroker Source # 

Methods

rnf :: UpdateBroker -> () #

AWSRequest UpdateBroker Source # 
ToHeaders UpdateBroker Source # 
ToPath UpdateBroker Source # 
ToQuery UpdateBroker Source # 
type Rep UpdateBroker Source # 
type Rep UpdateBroker = D1 * (MetaData "UpdateBroker" "Network.AWS.MQ.UpdateBroker" "amazonka-mq-1.6.0-2p1A05IoaUzMnRutMRqns" False) (C1 * (MetaCons "UpdateBroker'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ubConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ConfigurationId))) (S1 * (MetaSel (Just Symbol "_ubBrokerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs UpdateBroker Source # 

Request Lenses

ubConfiguration :: Lens' UpdateBroker (Maybe ConfigurationId) Source #

A list of information about the configuration.

ubBrokerId :: Lens' UpdateBroker Text Source #

The name of the broker. This value must be unique in your AWS account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain whitespaces, brackets, wildcard characters, or special characters.

Destructuring the Response

updateBrokerResponse Source #

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

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

data UpdateBrokerResponse Source #

See: updateBrokerResponse smart constructor.

Instances

Eq UpdateBrokerResponse Source # 
Data UpdateBrokerResponse Source # 

Methods

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

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

toConstr :: UpdateBrokerResponse -> Constr #

dataTypeOf :: UpdateBrokerResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateBrokerResponse Source # 
Show UpdateBrokerResponse Source # 
Generic UpdateBrokerResponse Source # 
NFData UpdateBrokerResponse Source # 

Methods

rnf :: UpdateBrokerResponse -> () #

type Rep UpdateBrokerResponse Source # 
type Rep UpdateBrokerResponse = D1 * (MetaData "UpdateBrokerResponse" "Network.AWS.MQ.UpdateBroker" "amazonka-mq-1.6.0-2p1A05IoaUzMnRutMRqns" False) (C1 * (MetaCons "UpdateBrokerResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ubrsConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ConfigurationId))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ubrsBrokerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ubrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ubrsConfiguration :: Lens' UpdateBrokerResponse (Maybe ConfigurationId) Source #

The ID of the updated configuration.

ubrsBrokerId :: Lens' UpdateBrokerResponse (Maybe Text) Source #

Required. The unique ID that Amazon MQ generates for the broker.

ubrsResponseStatus :: Lens' UpdateBrokerResponse Int Source #

  • - | The response status code.