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 |
Synopsis
- data LogDeliveryConfiguration = LogDeliveryConfiguration' {}
- newLogDeliveryConfiguration :: LogDeliveryConfiguration
- logDeliveryConfiguration_status :: Lens' LogDeliveryConfiguration (Maybe LogDeliveryConfigurationStatus)
- logDeliveryConfiguration_logFormat :: Lens' LogDeliveryConfiguration (Maybe LogFormat)
- logDeliveryConfiguration_destinationDetails :: Lens' LogDeliveryConfiguration (Maybe DestinationDetails)
- logDeliveryConfiguration_logType :: Lens' LogDeliveryConfiguration (Maybe LogType)
- logDeliveryConfiguration_destinationType :: Lens' LogDeliveryConfiguration (Maybe DestinationType)
- logDeliveryConfiguration_message :: Lens' LogDeliveryConfiguration (Maybe Text)
Documentation
data LogDeliveryConfiguration Source #
Returns the destination, format and type of the logs.
See: newLogDeliveryConfiguration
smart constructor.
LogDeliveryConfiguration' | |
|
Instances
newLogDeliveryConfiguration :: LogDeliveryConfiguration Source #
Create a value of LogDeliveryConfiguration
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:status:LogDeliveryConfiguration'
, logDeliveryConfiguration_status
- Returns the log delivery configuration status. Values are one of
enabling
| disabling
| modifying
| active
| error
$sel:logFormat:LogDeliveryConfiguration'
, logDeliveryConfiguration_logFormat
- Returns the log format, either JSON or TEXT.
$sel:destinationDetails:LogDeliveryConfiguration'
, logDeliveryConfiguration_destinationDetails
- Configuration details of either a CloudWatch Logs destination or Kinesis
Data Firehose destination.
$sel:logType:LogDeliveryConfiguration'
, logDeliveryConfiguration_logType
- Refers to slow-log.
$sel:destinationType:LogDeliveryConfiguration'
, logDeliveryConfiguration_destinationType
- Returns the destination type, either cloudwatch-logs
or
kinesis-firehose
.
$sel:message:LogDeliveryConfiguration'
, logDeliveryConfiguration_message
- Returns an error message for the log delivery configuration.
logDeliveryConfiguration_status :: Lens' LogDeliveryConfiguration (Maybe LogDeliveryConfigurationStatus) Source #
Returns the log delivery configuration status. Values are one of
enabling
| disabling
| modifying
| active
| error
logDeliveryConfiguration_logFormat :: Lens' LogDeliveryConfiguration (Maybe LogFormat) Source #
Returns the log format, either JSON or TEXT.
logDeliveryConfiguration_destinationDetails :: Lens' LogDeliveryConfiguration (Maybe DestinationDetails) Source #
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
logDeliveryConfiguration_logType :: Lens' LogDeliveryConfiguration (Maybe LogType) Source #
Refers to slow-log.
logDeliveryConfiguration_destinationType :: Lens' LogDeliveryConfiguration (Maybe DestinationType) Source #
Returns the destination type, either cloudwatch-logs
or
kinesis-firehose
.
logDeliveryConfiguration_message :: Lens' LogDeliveryConfiguration (Maybe Text) Source #
Returns an error message for the log delivery configuration.