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

Contents

Description

Updates the specified configuration.

Synopsis

Creating a Request

updateConfiguration Source #

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

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

  • ucData - Required. The base64-encoded XML configuration.
  • ucDescription - The description of the configuration.
  • ucConfigurationId - The unique ID that Amazon MQ generates for the configuration.

data UpdateConfiguration Source #

Updates the specified configuration.

See: updateConfiguration smart constructor.

Instances
Eq UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Data UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Methods

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

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

toConstr :: UpdateConfiguration -> Constr #

dataTypeOf :: UpdateConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Show UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Generic UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Associated Types

type Rep UpdateConfiguration :: Type -> Type #

Hashable UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

ToJSON UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

AWSRequest UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Associated Types

type Rs UpdateConfiguration :: Type #

ToHeaders UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

ToPath UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

ToQuery UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

NFData UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Methods

rnf :: UpdateConfiguration -> () #

type Rep UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

type Rep UpdateConfiguration = D1 (MetaData "UpdateConfiguration" "Network.AWS.MQ.UpdateConfiguration" "amazonka-mq-1.6.1-LPqbYptSHP5G5BofyZ5WCa" False) (C1 (MetaCons "UpdateConfiguration'" PrefixI True) (S1 (MetaSel (Just "_ucData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ucDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ucConfigurationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Request Lenses

ucData :: Lens' UpdateConfiguration (Maybe Text) Source #

Required. The base64-encoded XML configuration.

ucDescription :: Lens' UpdateConfiguration (Maybe Text) Source #

The description of the configuration.

ucConfigurationId :: Lens' UpdateConfiguration Text Source #

The unique ID that Amazon MQ generates for the configuration.

Destructuring the Response

updateConfigurationResponse Source #

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

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

  • ucrsARN - Required. The Amazon Resource Name (ARN) of the configuration.
  • ucrsLatestRevision - The latest revision of the configuration.
  • ucrsWarnings - The list of the first 20 warnings about the configuration XML elements or attributes that were sanitized.
  • ucrsName - Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
  • ucrsId - Required. The unique ID that Amazon MQ generates for the configuration.
  • ucrsResponseStatus - -- | The response status code.

data UpdateConfigurationResponse Source #

See: updateConfigurationResponse smart constructor.

Instances
Eq UpdateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Data UpdateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Methods

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

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

toConstr :: UpdateConfigurationResponse -> Constr #

dataTypeOf :: UpdateConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Show UpdateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Generic UpdateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

Associated Types

type Rep UpdateConfigurationResponse :: Type -> Type #

NFData UpdateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

type Rep UpdateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.UpdateConfiguration

type Rep UpdateConfigurationResponse = D1 (MetaData "UpdateConfigurationResponse" "Network.AWS.MQ.UpdateConfiguration" "amazonka-mq-1.6.1-LPqbYptSHP5G5BofyZ5WCa" False) (C1 (MetaCons "UpdateConfigurationResponse'" PrefixI True) ((S1 (MetaSel (Just "_ucrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ucrsLatestRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConfigurationRevision)) :*: S1 (MetaSel (Just "_ucrsWarnings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SanitizationWarning])))) :*: (S1 (MetaSel (Just "_ucrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ucrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ucrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

ucrsARN :: Lens' UpdateConfigurationResponse (Maybe Text) Source #

Required. The Amazon Resource Name (ARN) of the configuration.

ucrsWarnings :: Lens' UpdateConfigurationResponse [SanitizationWarning] Source #

The list of the first 20 warnings about the configuration XML elements or attributes that were sanitized.

ucrsName :: Lens' UpdateConfigurationResponse (Maybe Text) Source #

Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.

ucrsId :: Lens' UpdateConfigurationResponse (Maybe Text) Source #

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