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 |
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.
UpdateLoggingConfiguration' | |
|
Instances
newUpdateLoggingConfiguration Source #
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.
UpdateLoggingConfigurationResponse' | |
|
Instances
Generic UpdateLoggingConfigurationResponse Source # | |
Read UpdateLoggingConfigurationResponse Source # | |
Show UpdateLoggingConfigurationResponse Source # | |
NFData UpdateLoggingConfigurationResponse Source # | |
Defined in Amazonka.AMP.UpdateLoggingConfiguration rnf :: UpdateLoggingConfigurationResponse -> () # | |
Eq UpdateLoggingConfigurationResponse Source # | |
type Rep UpdateLoggingConfigurationResponse Source # | |
Defined in Amazonka.AMP.UpdateLoggingConfiguration type Rep UpdateLoggingConfigurationResponse = D1 ('MetaData "UpdateLoggingConfigurationResponse" "Amazonka.AMP.UpdateLoggingConfiguration" "amazonka-amp-2.0-5Nt9wsU74T2I91dslthaby" 'False) (C1 ('MetaCons "UpdateLoggingConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LoggingConfigurationStatus))) |
newUpdateLoggingConfigurationResponse Source #
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.