| 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 |
Network.AWS.MQ.UpdateConfiguration
Description
Updates the specified configuration.
- updateConfiguration :: Text -> UpdateConfiguration
- data UpdateConfiguration
- ucData :: Lens' UpdateConfiguration (Maybe Text)
- ucDescription :: Lens' UpdateConfiguration (Maybe Text)
- ucConfigurationId :: Lens' UpdateConfiguration Text
- updateConfigurationResponse :: Int -> UpdateConfigurationResponse
- data UpdateConfigurationResponse
- ucrsARN :: Lens' UpdateConfigurationResponse (Maybe Text)
- ucrsLatestRevision :: Lens' UpdateConfigurationResponse (Maybe ConfigurationRevision)
- ucrsWarnings :: Lens' UpdateConfigurationResponse [SanitizationWarning]
- ucrsName :: Lens' UpdateConfigurationResponse (Maybe Text)
- ucrsId :: Lens' UpdateConfigurationResponse (Maybe Text)
- ucrsResponseStatus :: Lens' UpdateConfigurationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> UpdateConfiguration |
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
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 #
Arguments
| :: Int | |
| -> UpdateConfigurationResponse |
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
Response Lenses
ucrsARN :: Lens' UpdateConfigurationResponse (Maybe Text) Source #
Required. The Amazon Resource Name (ARN) of the configuration.
ucrsLatestRevision :: Lens' UpdateConfigurationResponse (Maybe ConfigurationRevision) Source #
The latest revision 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.
ucrsResponseStatus :: Lens' UpdateConfigurationResponse Int Source #
- - | The response status code.