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.AMP.UpdateLoggingConfiguration
Description
Update logging configuration.
Synopsis
- data UpdateLoggingConfiguration = UpdateLoggingConfiguration' {
- clientToken :: Maybe Text
- logGroupArn :: Text
- workspaceId :: Text
- newUpdateLoggingConfiguration :: Text -> Text -> UpdateLoggingConfiguration
- updateLoggingConfiguration_clientToken :: Lens' UpdateLoggingConfiguration (Maybe Text)
- updateLoggingConfiguration_logGroupArn :: Lens' UpdateLoggingConfiguration Text
- updateLoggingConfiguration_workspaceId :: Lens' UpdateLoggingConfiguration Text
- data UpdateLoggingConfigurationResponse = UpdateLoggingConfigurationResponse' {}
- newUpdateLoggingConfigurationResponse :: Int -> LoggingConfigurationStatus -> UpdateLoggingConfigurationResponse
- updateLoggingConfigurationResponse_httpStatus :: Lens' UpdateLoggingConfigurationResponse Int
- updateLoggingConfigurationResponse_status :: Lens' UpdateLoggingConfigurationResponse LoggingConfigurationStatus
Creating a Request
data UpdateLoggingConfiguration Source #
Represents the input of an UpdateLoggingConfiguration operation.
See: newUpdateLoggingConfiguration
smart constructor.
Constructors
UpdateLoggingConfiguration' | |
Fields
|
Instances
newUpdateLoggingConfiguration Source #
Arguments
:: Text | |
-> Text | |
-> UpdateLoggingConfiguration |
Create a value of UpdateLoggingConfiguration
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:clientToken:UpdateLoggingConfiguration'
, updateLoggingConfiguration_clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
UpdateLoggingConfiguration
, updateLoggingConfiguration_logGroupArn
- The ARN of the CW log group to which the vended log data will be
published.
UpdateLoggingConfiguration
, updateLoggingConfiguration_workspaceId
- The ID of the workspace to vend logs to.
Request Lenses
updateLoggingConfiguration_clientToken :: Lens' UpdateLoggingConfiguration (Maybe Text) Source #
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
updateLoggingConfiguration_logGroupArn :: Lens' UpdateLoggingConfiguration Text Source #
The ARN of the CW log group to which the vended log data will be published.
updateLoggingConfiguration_workspaceId :: Lens' UpdateLoggingConfiguration Text Source #
The ID of the workspace to vend logs to.
Destructuring the Response
data UpdateLoggingConfigurationResponse Source #
Represents the output of an UpdateLoggingConfiguration operation.
See: newUpdateLoggingConfigurationResponse
smart constructor.
Constructors
UpdateLoggingConfigurationResponse' | |
Fields
|
Instances
newUpdateLoggingConfigurationResponse Source #
Arguments
:: Int | |
-> LoggingConfigurationStatus | |
-> UpdateLoggingConfigurationResponse |
Create a value of UpdateLoggingConfigurationResponse
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:httpStatus:UpdateLoggingConfigurationResponse'
, updateLoggingConfigurationResponse_httpStatus
- The response's http status code.
UpdateLoggingConfigurationResponse
, updateLoggingConfigurationResponse_status
- The status of the logging configuration.
Response Lenses
updateLoggingConfigurationResponse_httpStatus :: Lens' UpdateLoggingConfigurationResponse Int Source #
The response's http status code.
updateLoggingConfigurationResponse_status :: Lens' UpdateLoggingConfigurationResponse LoggingConfigurationStatus Source #
The status of the logging configuration.