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 |
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
- latestRevision :: Maybe ConfigurationRevision
- created :: Maybe POSIX
- warnings :: Maybe [SanitizationWarning]
- name :: Maybe Text
- id :: Maybe Text
- httpStatus :: Int
- newUpdateConfigurationResponse :: Int -> UpdateConfigurationResponse
- updateConfigurationResponse_arn :: Lens' UpdateConfigurationResponse (Maybe Text)
- updateConfigurationResponse_latestRevision :: Lens' UpdateConfigurationResponse (Maybe ConfigurationRevision)
- updateConfigurationResponse_created :: Lens' UpdateConfigurationResponse (Maybe UTCTime)
- updateConfigurationResponse_warnings :: Lens' UpdateConfigurationResponse (Maybe [SanitizationWarning])
- updateConfigurationResponse_name :: Lens' UpdateConfigurationResponse (Maybe Text)
- updateConfigurationResponse_id :: Lens' UpdateConfigurationResponse (Maybe Text)
- updateConfigurationResponse_httpStatus :: Lens' UpdateConfigurationResponse Int
Creating a Request
data UpdateConfiguration Source #
Updates the specified configuration.
See: newUpdateConfiguration
smart constructor.
UpdateConfiguration' | |
|
Instances
newUpdateConfiguration Source #
:: 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:
$sel:description: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.
UpdateConfigurationResponse' | |
|
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:
$sel:arn:UpdateConfigurationResponse'
, updateConfigurationResponse_arn
- Required. The Amazon Resource Name (ARN) of the configuration.
$sel:latestRevision:UpdateConfigurationResponse'
, updateConfigurationResponse_latestRevision
- The latest revision of the configuration.
$sel:created:UpdateConfigurationResponse'
, updateConfigurationResponse_created
- Required. The date and time of the configuration.
$sel:warnings:UpdateConfigurationResponse'
, updateConfigurationResponse_warnings
- The list of the first 20 warnings about the configuration XML elements
or attributes that were sanitized.
$sel:name: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:id:UpdateConfigurationResponse'
, updateConfigurationResponse_id
- Required. The unique ID that Amazon MQ generates for the configuration.
$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_latestRevision :: Lens' UpdateConfigurationResponse (Maybe ConfigurationRevision) Source #
The latest revision of the configuration.
updateConfigurationResponse_created :: Lens' UpdateConfigurationResponse (Maybe UTCTime) Source #
Required. The date and time of the configuration.
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_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_id :: Lens' UpdateConfigurationResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the configuration.
updateConfigurationResponse_httpStatus :: Lens' UpdateConfigurationResponse Int Source #
The response's http status code.