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 an MSK configuration.
Synopsis
- data UpdateConfiguration = UpdateConfiguration' {
- description :: Maybe Text
- arn :: Text
- serverProperties :: Base64
- newUpdateConfiguration :: Text -> ByteString -> UpdateConfiguration
- updateConfiguration_description :: Lens' UpdateConfiguration (Maybe Text)
- updateConfiguration_arn :: Lens' UpdateConfiguration Text
- updateConfiguration_serverProperties :: Lens' UpdateConfiguration ByteString
- data UpdateConfigurationResponse = UpdateConfigurationResponse' {}
- newUpdateConfigurationResponse :: Int -> UpdateConfigurationResponse
- updateConfigurationResponse_arn :: Lens' UpdateConfigurationResponse (Maybe Text)
- updateConfigurationResponse_latestRevision :: Lens' UpdateConfigurationResponse (Maybe ConfigurationRevision)
- updateConfigurationResponse_httpStatus :: Lens' UpdateConfigurationResponse Int
Creating a Request
data UpdateConfiguration Source #
See: newUpdateConfiguration
smart constructor.
UpdateConfiguration' | |
|
Instances
newUpdateConfiguration Source #
:: Text | |
-> ByteString | |
-> 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 revision.
$sel:arn:UpdateConfiguration'
, updateConfiguration_arn
- The Amazon Resource Name (ARN) of the configuration.
$sel:serverProperties:UpdateConfiguration'
, updateConfiguration_serverProperties
- Contents of the server.properties file. When using the API, you must
ensure that the contents of the file are base64 encoded. When using the
AWS Management Console, the SDK, or the AWS CLI, the contents of
server.properties can be in plaintext.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
Request Lenses
updateConfiguration_description :: Lens' UpdateConfiguration (Maybe Text) Source #
The description of the configuration revision.
updateConfiguration_arn :: Lens' UpdateConfiguration Text Source #
The Amazon Resource Name (ARN) of the configuration.
updateConfiguration_serverProperties :: Lens' UpdateConfiguration ByteString Source #
Contents of the server.properties file. When using the API, you must
ensure that the contents of the file are base64 encoded. When using the
AWS Management Console, the SDK, or the AWS CLI, the contents of
server.properties can be in plaintext.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
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:UpdateConfiguration'
, updateConfigurationResponse_arn
- The Amazon Resource Name (ARN) of the configuration.
$sel:latestRevision:UpdateConfigurationResponse'
, updateConfigurationResponse_latestRevision
- Latest revision of the configuration.
$sel:httpStatus:UpdateConfigurationResponse'
, updateConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateConfigurationResponse_arn :: Lens' UpdateConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the configuration.
updateConfigurationResponse_latestRevision :: Lens' UpdateConfigurationResponse (Maybe ConfigurationRevision) Source #
Latest revision of the configuration.
updateConfigurationResponse_httpStatus :: Lens' UpdateConfigurationResponse Int Source #
The response's http status code.