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

Contents

Description

Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version). Note: If the configuration name already exists, Amazon MQ doesn't create a configuration.

Synopsis

Creating a Request

createConfiguration :: CreateConfiguration Source #

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

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

  • ccEngineVersion - Required. The version of the broker engine. Note: Currently, Amazon MQ supports only 5.15.0.
  • ccName - 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.
  • ccEngineType - Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.

data CreateConfiguration Source #

Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version). Note: If the configuration name already exists, Amazon MQ doesn't create a configuration.

See: createConfiguration smart constructor.

Instances
Eq CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Data CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Methods

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

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

toConstr :: CreateConfiguration -> Constr #

dataTypeOf :: CreateConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Show CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Generic CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Associated Types

type Rep CreateConfiguration :: Type -> Type #

Hashable CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

ToJSON CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

AWSRequest CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Associated Types

type Rs CreateConfiguration :: Type #

ToHeaders CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

ToPath CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

ToQuery CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

NFData CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Methods

rnf :: CreateConfiguration -> () #

type Rep CreateConfiguration Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

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

Defined in Network.AWS.MQ.CreateConfiguration

Request Lenses

ccEngineVersion :: Lens' CreateConfiguration (Maybe Text) Source #

Required. The version of the broker engine. Note: Currently, Amazon MQ supports only 5.15.0.

ccName :: Lens' CreateConfiguration (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.

ccEngineType :: Lens' CreateConfiguration (Maybe EngineType) Source #

Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.

Destructuring the Response

createConfigurationResponse Source #

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

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

  • ccrsARN - Required. The Amazon Resource Name (ARN) of the configuration.
  • ccrsLatestRevision - The latest revision of the configuration.
  • ccrsName - 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.
  • ccrsId - Required. The unique ID that Amazon MQ generates for the configuration.
  • ccrsResponseStatus - -- | The response status code.

data CreateConfigurationResponse Source #

See: createConfigurationResponse smart constructor.

Instances
Eq CreateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Data CreateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Methods

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

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

toConstr :: CreateConfigurationResponse -> Constr #

dataTypeOf :: CreateConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Show CreateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Generic CreateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

Associated Types

type Rep CreateConfigurationResponse :: Type -> Type #

NFData CreateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

type Rep CreateConfigurationResponse Source # 
Instance details

Defined in Network.AWS.MQ.CreateConfiguration

type Rep CreateConfigurationResponse = D1 (MetaData "CreateConfigurationResponse" "Network.AWS.MQ.CreateConfiguration" "amazonka-mq-1.6.1-LPqbYptSHP5G5BofyZ5WCa" False) (C1 (MetaCons "CreateConfigurationResponse'" PrefixI True) ((S1 (MetaSel (Just "_ccrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccrsLatestRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConfigurationRevision))) :*: (S1 (MetaSel (Just "_ccrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ccrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

ccrsARN :: Lens' CreateConfigurationResponse (Maybe Text) Source #

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

ccrsName :: Lens' CreateConfigurationResponse (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.

ccrsId :: Lens' CreateConfigurationResponse (Maybe Text) Source #

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