libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElastiCache.Types.LogDeliveryConfiguration

Description

 
Synopsis

Documentation

data LogDeliveryConfiguration Source #

Returns the destination, format and type of the logs.

See: newLogDeliveryConfiguration smart constructor.

Constructors

LogDeliveryConfiguration' 

Fields

Instances

Instances details
Eq LogDeliveryConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.LogDeliveryConfiguration

Read LogDeliveryConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.LogDeliveryConfiguration

Show LogDeliveryConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.LogDeliveryConfiguration

Generic LogDeliveryConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.LogDeliveryConfiguration

Associated Types

type Rep LogDeliveryConfiguration :: Type -> Type #

NFData LogDeliveryConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.LogDeliveryConfiguration

Hashable LogDeliveryConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.LogDeliveryConfiguration

FromXML LogDeliveryConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.LogDeliveryConfiguration

type Rep LogDeliveryConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.LogDeliveryConfiguration

type Rep LogDeliveryConfiguration = D1 ('MetaData "LogDeliveryConfiguration" "Amazonka.ElastiCache.Types.LogDeliveryConfiguration" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "LogDeliveryConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogDeliveryConfigurationStatus)) :*: (S1 ('MetaSel ('Just "logFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogFormat)) :*: S1 ('MetaSel ('Just "destinationDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DestinationDetails)))) :*: (S1 ('MetaSel ('Just "logType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogType)) :*: (S1 ('MetaSel ('Just "destinationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DestinationType)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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_destinationDetails :: Lens' LogDeliveryConfiguration (Maybe DestinationDetails) Source #

Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.

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.