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 LogDeliveryConfigurationRequest = LogDeliveryConfigurationRequest' {}
- newLogDeliveryConfigurationRequest :: LogDeliveryConfigurationRequest
- logDeliveryConfigurationRequest_logFormat :: Lens' LogDeliveryConfigurationRequest (Maybe LogFormat)
- logDeliveryConfigurationRequest_enabled :: Lens' LogDeliveryConfigurationRequest (Maybe Bool)
- logDeliveryConfigurationRequest_destinationDetails :: Lens' LogDeliveryConfigurationRequest (Maybe DestinationDetails)
- logDeliveryConfigurationRequest_logType :: Lens' LogDeliveryConfigurationRequest (Maybe LogType)
- logDeliveryConfigurationRequest_destinationType :: Lens' LogDeliveryConfigurationRequest (Maybe DestinationType)
Documentation
data LogDeliveryConfigurationRequest Source #
Specifies the destination, format and type of the logs.
See: newLogDeliveryConfigurationRequest
smart constructor.
LogDeliveryConfigurationRequest' | |
|
Instances
newLogDeliveryConfigurationRequest :: LogDeliveryConfigurationRequest Source #
Create a value of LogDeliveryConfigurationRequest
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:logFormat:LogDeliveryConfigurationRequest'
, logDeliveryConfigurationRequest_logFormat
- Specifies either JSON or TEXT
$sel:enabled:LogDeliveryConfigurationRequest'
, logDeliveryConfigurationRequest_enabled
- Specify if log delivery is enabled. Default true
.
$sel:destinationDetails:LogDeliveryConfigurationRequest'
, logDeliveryConfigurationRequest_destinationDetails
- Configuration details of either a CloudWatch Logs destination or Kinesis
Data Firehose destination.
$sel:logType:LogDeliveryConfigurationRequest'
, logDeliveryConfigurationRequest_logType
- Refers to slow-log.
$sel:destinationType:LogDeliveryConfigurationRequest'
, logDeliveryConfigurationRequest_destinationType
- Specify either cloudwatch-logs
or kinesis-firehose
as the
destination type.
logDeliveryConfigurationRequest_logFormat :: Lens' LogDeliveryConfigurationRequest (Maybe LogFormat) Source #
Specifies either JSON or TEXT
logDeliveryConfigurationRequest_enabled :: Lens' LogDeliveryConfigurationRequest (Maybe Bool) Source #
Specify if log delivery is enabled. Default true
.
logDeliveryConfigurationRequest_destinationDetails :: Lens' LogDeliveryConfigurationRequest (Maybe DestinationDetails) Source #
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
logDeliveryConfigurationRequest_logType :: Lens' LogDeliveryConfigurationRequest (Maybe LogType) Source #
Refers to slow-log.
logDeliveryConfigurationRequest_destinationType :: Lens' LogDeliveryConfigurationRequest (Maybe DestinationType) Source #
Specify either cloudwatch-logs
or kinesis-firehose
as the
destination type.