| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MQ.CreateConfiguration
Description
Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
Synopsis
- data CreateConfiguration = CreateConfiguration' {}
- newCreateConfiguration :: Text -> EngineType -> Text -> CreateConfiguration
- createConfiguration_authenticationStrategy :: Lens' CreateConfiguration (Maybe AuthenticationStrategy)
- createConfiguration_tags :: Lens' CreateConfiguration (Maybe (HashMap Text Text))
- createConfiguration_engineVersion :: Lens' CreateConfiguration Text
- createConfiguration_engineType :: Lens' CreateConfiguration EngineType
- createConfiguration_name :: Lens' CreateConfiguration Text
- data CreateConfigurationResponse = CreateConfigurationResponse' {}
- newCreateConfigurationResponse :: Int -> CreateConfigurationResponse
- createConfigurationResponse_arn :: Lens' CreateConfigurationResponse (Maybe Text)
- createConfigurationResponse_authenticationStrategy :: Lens' CreateConfigurationResponse (Maybe AuthenticationStrategy)
- createConfigurationResponse_created :: Lens' CreateConfigurationResponse (Maybe UTCTime)
- createConfigurationResponse_id :: Lens' CreateConfigurationResponse (Maybe Text)
- createConfigurationResponse_latestRevision :: Lens' CreateConfigurationResponse (Maybe ConfigurationRevision)
- createConfigurationResponse_name :: Lens' CreateConfigurationResponse (Maybe Text)
- createConfigurationResponse_httpStatus :: Lens' CreateConfigurationResponse Int
Creating a Request
data CreateConfiguration Source #
Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
See: newCreateConfiguration smart constructor.
Constructors
| CreateConfiguration' | |
Fields
| |
Instances
newCreateConfiguration Source #
Arguments
| :: Text | |
| -> EngineType | |
| -> Text | |
| -> CreateConfiguration |
Create a value of CreateConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateConfiguration, createConfiguration_authenticationStrategy - Optional. The authentication strategy associated with the configuration.
The default is SIMPLE.
CreateConfiguration, createConfiguration_tags - Create tags when creating the configuration.
CreateConfiguration, createConfiguration_engineVersion - Required. The broker engine's version. For a list of supported engine
versions, see
Supported engines.
CreateConfiguration, createConfiguration_engineType - Required. The type of broker engine. Currently, Amazon MQ supports
ACTIVEMQ and RABBITMQ.
CreateConfiguration, createConfiguration_name - 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.
Request Lenses
createConfiguration_authenticationStrategy :: Lens' CreateConfiguration (Maybe AuthenticationStrategy) Source #
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
createConfiguration_tags :: Lens' CreateConfiguration (Maybe (HashMap Text Text)) Source #
Create tags when creating the configuration.
createConfiguration_engineVersion :: Lens' CreateConfiguration Text Source #
Required. The broker engine's version. For a list of supported engine versions, see Supported engines.
createConfiguration_engineType :: Lens' CreateConfiguration EngineType Source #
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
createConfiguration_name :: Lens' CreateConfiguration 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.
Destructuring the Response
data CreateConfigurationResponse Source #
See: newCreateConfigurationResponse smart constructor.
Constructors
| CreateConfigurationResponse' | |
Fields
| |
Instances
newCreateConfigurationResponse Source #
Create a value of CreateConfigurationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateConfigurationResponse, createConfigurationResponse_arn - Required. The Amazon Resource Name (ARN) of the configuration.
CreateConfiguration, createConfigurationResponse_authenticationStrategy - Optional. The authentication strategy associated with the configuration.
The default is SIMPLE.
CreateConfigurationResponse, createConfigurationResponse_created - Required. The date and time of the configuration.
CreateConfigurationResponse, createConfigurationResponse_id - Required. The unique ID that Amazon MQ generates for the configuration.
CreateConfigurationResponse, createConfigurationResponse_latestRevision - The latest revision of the configuration.
CreateConfiguration, createConfigurationResponse_name - 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.
$sel:httpStatus:CreateConfigurationResponse', createConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
createConfigurationResponse_arn :: Lens' CreateConfigurationResponse (Maybe Text) Source #
Required. The Amazon Resource Name (ARN) of the configuration.
createConfigurationResponse_authenticationStrategy :: Lens' CreateConfigurationResponse (Maybe AuthenticationStrategy) Source #
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
createConfigurationResponse_created :: Lens' CreateConfigurationResponse (Maybe UTCTime) Source #
Required. The date and time of the configuration.
createConfigurationResponse_id :: Lens' CreateConfigurationResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the configuration.
createConfigurationResponse_latestRevision :: Lens' CreateConfigurationResponse (Maybe ConfigurationRevision) Source #
The latest revision of the configuration.
createConfigurationResponse_name :: 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.
createConfigurationResponse_httpStatus :: Lens' CreateConfigurationResponse Int Source #
The response's http status code.