amazonka-redshift-1.1.0: Amazon Redshift SDK.

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

Network.AWS.Redshift.DescribeLoggingStatus

Contents

Description

Describes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster.

See: AWS API Reference for DescribeLoggingStatus.

Synopsis

Creating a Request

describeLoggingStatus Source

Creates a value of DescribeLoggingStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dlsClusterIdentifier :: Lens' DescribeLoggingStatus Text Source

The identifier of the cluster to get the logging status from.

Example: examplecluster

Destructuring the Response

loggingStatus :: LoggingStatus Source

Creates a value of LoggingStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

lsLastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime) Source

The last time when logs were delivered.

lsLastFailureTime :: Lens' LoggingStatus (Maybe UTCTime) Source

The last time when logs failed to be delivered.

lsS3KeyPrefix :: Lens' LoggingStatus (Maybe Text) Source

The prefix applied to the log file names.

lsBucketName :: Lens' LoggingStatus (Maybe Text) Source

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

lsLoggingEnabled :: Lens' LoggingStatus (Maybe Bool) Source

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

lsLastFailureMessage :: Lens' LoggingStatus (Maybe Text) Source

The message indicating that logs failed to be delivered.