amazonka-redshift-2.0: Amazon Redshift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Redshift.Types.LoggingStatus

Description

 
Synopsis

Documentation

data LoggingStatus Source #

Describes the status of logging for a cluster.

See: newLoggingStatus smart constructor.

Constructors

LoggingStatus' 

Fields

Instances

Instances details
FromXML LoggingStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.LoggingStatus

Generic LoggingStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.LoggingStatus

Associated Types

type Rep LoggingStatus :: Type -> Type #

Read LoggingStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.LoggingStatus

Show LoggingStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.LoggingStatus

NFData LoggingStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.LoggingStatus

Methods

rnf :: LoggingStatus -> () #

Eq LoggingStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.LoggingStatus

Hashable LoggingStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.LoggingStatus

type Rep LoggingStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.LoggingStatus

type Rep LoggingStatus = D1 ('MetaData "LoggingStatus" "Amazonka.Redshift.Types.LoggingStatus" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "LoggingStatus'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastFailureMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastFailureTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "lastSuccessfulDeliveryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: ((S1 ('MetaSel ('Just "logDestinationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogDestinationType)) :*: S1 ('MetaSel ('Just "logExports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "loggingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "s3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newLoggingStatus :: LoggingStatus Source #

Create a value of LoggingStatus 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:bucketName:LoggingStatus', loggingStatus_bucketName - The name of the S3 bucket where the log files are stored.

$sel:lastFailureMessage:LoggingStatus', loggingStatus_lastFailureMessage - The message indicating that logs failed to be delivered.

$sel:lastFailureTime:LoggingStatus', loggingStatus_lastFailureTime - The last time when logs failed to be delivered.

$sel:lastSuccessfulDeliveryTime:LoggingStatus', loggingStatus_lastSuccessfulDeliveryTime - The last time that logs were delivered.

$sel:logDestinationType:LoggingStatus', loggingStatus_logDestinationType - The log destination type. An enum with possible values of s3 and cloudwatch.

$sel:logExports:LoggingStatus', loggingStatus_logExports - The collection of exported log types. Log types include the connection log, user log and user activity log.

$sel:loggingEnabled:LoggingStatus', loggingStatus_loggingEnabled - true if logging is on, false if logging is off.

$sel:s3KeyPrefix:LoggingStatus', loggingStatus_s3KeyPrefix - The prefix applied to the log file names.

loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text) Source #

The name of the S3 bucket where the log files are stored.

loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text) Source #

The message indicating that logs failed to be delivered.

loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime) Source #

The last time when logs failed to be delivered.

loggingStatus_logDestinationType :: Lens' LoggingStatus (Maybe LogDestinationType) Source #

The log destination type. An enum with possible values of s3 and cloudwatch.

loggingStatus_logExports :: Lens' LoggingStatus (Maybe [Text]) Source #

The collection of exported log types. Log types include the connection log, user log and user activity log.

loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool) Source #

true if logging is on, false if logging is off.

loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text) Source #

The prefix applied to the log file names.