Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- createConfiguration :: CreateConfiguration
- data CreateConfiguration
- ccEngineVersion :: Lens' CreateConfiguration (Maybe Text)
- ccName :: Lens' CreateConfiguration (Maybe Text)
- ccEngineType :: Lens' CreateConfiguration (Maybe EngineType)
- createConfigurationResponse :: Int -> CreateConfigurationResponse
- data CreateConfigurationResponse
- ccrsARN :: Lens' CreateConfigurationResponse (Maybe Text)
- ccrsLatestRevision :: Lens' CreateConfigurationResponse (Maybe ConfigurationRevision)
- ccrsName :: Lens' CreateConfigurationResponse (Maybe Text)
- ccrsId :: Lens' CreateConfigurationResponse (Maybe Text)
- ccrsResponseStatus :: Lens' CreateConfigurationResponse Int
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
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
Response Lenses
ccrsARN :: Lens' CreateConfigurationResponse (Maybe Text) Source #
Required. The Amazon Resource Name (ARN) of the configuration.
ccrsLatestRevision :: Lens' CreateConfigurationResponse (Maybe ConfigurationRevision) Source #
The latest revision 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.
ccrsResponseStatus :: Lens' CreateConfigurationResponse Int Source #
- - | The response status code.