| 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.UpdateConfiguration
Description
Updates the specified configuration.
Synopsis
- data UpdateConfiguration = UpdateConfiguration' {
- description :: Maybe Text
- configurationId :: Text
- data' :: Text
- newUpdateConfiguration :: Text -> Text -> UpdateConfiguration
- updateConfiguration_description :: Lens' UpdateConfiguration (Maybe Text)
- updateConfiguration_configurationId :: Lens' UpdateConfiguration Text
- updateConfiguration_data :: Lens' UpdateConfiguration Text
- data UpdateConfigurationResponse = UpdateConfigurationResponse' {
- arn :: Maybe Text
- created :: Maybe ISO8601
- id :: Maybe Text
- latestRevision :: Maybe ConfigurationRevision
- name :: Maybe Text
- warnings :: Maybe [SanitizationWarning]
- httpStatus :: Int
- newUpdateConfigurationResponse :: Int -> UpdateConfigurationResponse
- updateConfigurationResponse_arn :: Lens' UpdateConfigurationResponse (Maybe Text)
- updateConfigurationResponse_created :: Lens' UpdateConfigurationResponse (Maybe UTCTime)
- updateConfigurationResponse_id :: Lens' UpdateConfigurationResponse (Maybe Text)
- updateConfigurationResponse_latestRevision :: Lens' UpdateConfigurationResponse (Maybe ConfigurationRevision)
- updateConfigurationResponse_name :: Lens' UpdateConfigurationResponse (Maybe Text)
- updateConfigurationResponse_warnings :: Lens' UpdateConfigurationResponse (Maybe [SanitizationWarning])
- updateConfigurationResponse_httpStatus :: Lens' UpdateConfigurationResponse Int
Creating a Request
data UpdateConfiguration Source #
Updates the specified configuration.
See: newUpdateConfiguration smart constructor.
Constructors
| UpdateConfiguration' | |
Fields
| |
Instances
newUpdateConfiguration Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateConfiguration |
Create a value of UpdateConfiguration 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:
UpdateConfiguration, updateConfiguration_description - The description of the configuration.
$sel:configurationId:UpdateConfiguration', updateConfiguration_configurationId - The unique ID that Amazon MQ generates for the configuration.
$sel:data':UpdateConfiguration', updateConfiguration_data - Required. The base64-encoded XML configuration.
Request Lenses
updateConfiguration_description :: Lens' UpdateConfiguration (Maybe Text) Source #
The description of the configuration.
updateConfiguration_configurationId :: Lens' UpdateConfiguration Text Source #
The unique ID that Amazon MQ generates for the configuration.
updateConfiguration_data :: Lens' UpdateConfiguration Text Source #
Required. The base64-encoded XML configuration.
Destructuring the Response
data UpdateConfigurationResponse Source #
See: newUpdateConfigurationResponse smart constructor.
Constructors
| UpdateConfigurationResponse' | |
Fields
| |
Instances
newUpdateConfigurationResponse Source #
Create a value of UpdateConfigurationResponse 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:
UpdateConfigurationResponse, updateConfigurationResponse_arn - Required. The Amazon Resource Name (ARN) of the configuration.
UpdateConfigurationResponse, updateConfigurationResponse_created - Required. The date and time of the configuration.
UpdateConfigurationResponse, updateConfigurationResponse_id - Required. The unique ID that Amazon MQ generates for the configuration.
UpdateConfigurationResponse, updateConfigurationResponse_latestRevision - The latest revision of the configuration.
UpdateConfigurationResponse, updateConfigurationResponse_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:warnings:UpdateConfigurationResponse', updateConfigurationResponse_warnings - The list of the first 20 warnings about the configuration XML elements
or attributes that were sanitized.
$sel:httpStatus:UpdateConfigurationResponse', updateConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
updateConfigurationResponse_arn :: Lens' UpdateConfigurationResponse (Maybe Text) Source #
Required. The Amazon Resource Name (ARN) of the configuration.
updateConfigurationResponse_created :: Lens' UpdateConfigurationResponse (Maybe UTCTime) Source #
Required. The date and time of the configuration.
updateConfigurationResponse_id :: Lens' UpdateConfigurationResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the configuration.
updateConfigurationResponse_latestRevision :: Lens' UpdateConfigurationResponse (Maybe ConfigurationRevision) Source #
The latest revision of the configuration.
updateConfigurationResponse_name :: 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.
updateConfigurationResponse_warnings :: Lens' UpdateConfigurationResponse (Maybe [SanitizationWarning]) Source #
The list of the first 20 warnings about the configuration XML elements or attributes that were sanitized.
updateConfigurationResponse_httpStatus :: Lens' UpdateConfigurationResponse Int Source #
The response's http status code.