Copyright | (c) 2013-2021 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 |
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_latestRevision :: Lens' CreateConfigurationResponse (Maybe ConfigurationRevision)
- createConfigurationResponse_created :: Lens' CreateConfigurationResponse (Maybe UTCTime)
- createConfigurationResponse_authenticationStrategy :: Lens' CreateConfigurationResponse (Maybe AuthenticationStrategy)
- createConfigurationResponse_name :: Lens' CreateConfigurationResponse (Maybe Text)
- createConfigurationResponse_id :: 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.
CreateConfiguration' | |
|
Instances
newCreateConfiguration Source #
:: 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:
$sel:authenticationStrategy:CreateConfiguration'
, createConfiguration_authenticationStrategy
- Optional. The authentication strategy associated with the configuration.
The default is SIMPLE.
$sel:tags:CreateConfiguration'
, createConfiguration_tags
- Create tags when creating the configuration.
$sel:engineVersion:CreateConfiguration'
, createConfiguration_engineVersion
- Required. The broker engine's version. For a list of supported engine
versions, see
Supported engines.
$sel:engineType:CreateConfiguration'
, createConfiguration_engineType
- Required. The type of broker engine. Currently, Amazon MQ supports
ACTIVEMQ and RABBITMQ.
$sel:name: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.
CreateConfigurationResponse' | |
|
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:
$sel:arn:CreateConfigurationResponse'
, createConfigurationResponse_arn
- Required. The Amazon Resource Name (ARN) of the configuration.
$sel:latestRevision:CreateConfigurationResponse'
, createConfigurationResponse_latestRevision
- The latest revision of the configuration.
$sel:created:CreateConfigurationResponse'
, createConfigurationResponse_created
- Required. The date and time of the configuration.
$sel:authenticationStrategy:CreateConfiguration'
, createConfigurationResponse_authenticationStrategy
- Optional. The authentication strategy associated with the configuration.
The default is SIMPLE.
$sel:name: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:id:CreateConfigurationResponse'
, createConfigurationResponse_id
- Required. The unique ID that Amazon MQ generates for the configuration.
$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_latestRevision :: Lens' CreateConfigurationResponse (Maybe ConfigurationRevision) Source #
The latest revision of the configuration.
createConfigurationResponse_created :: Lens' CreateConfigurationResponse (Maybe UTCTime) Source #
Required. The date and time of the configuration.
createConfigurationResponse_authenticationStrategy :: Lens' CreateConfigurationResponse (Maybe AuthenticationStrategy) Source #
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
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_id :: Lens' CreateConfigurationResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the configuration.
createConfigurationResponse_httpStatus :: Lens' CreateConfigurationResponse Int Source #
The response's http status code.