amazonka-redshift-1.5.0: Amazon Redshift SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

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:

  • dlsClusterIdentifier - The identifier of the cluster from which to get the logging status. Example: examplecluster

data DescribeLoggingStatus Source #

See: describeLoggingStatus smart constructor.

Instances

Eq DescribeLoggingStatus Source # 
Data DescribeLoggingStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeLoggingStatus -> c DescribeLoggingStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeLoggingStatus #

toConstr :: DescribeLoggingStatus -> Constr #

dataTypeOf :: DescribeLoggingStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeLoggingStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeLoggingStatus) #

gmapT :: (forall b. Data b => b -> b) -> DescribeLoggingStatus -> DescribeLoggingStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeLoggingStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeLoggingStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeLoggingStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeLoggingStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeLoggingStatus -> m DescribeLoggingStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeLoggingStatus -> m DescribeLoggingStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeLoggingStatus -> m DescribeLoggingStatus #

Read DescribeLoggingStatus Source # 
Show DescribeLoggingStatus Source # 
Generic DescribeLoggingStatus Source # 
Hashable DescribeLoggingStatus Source # 
NFData DescribeLoggingStatus Source # 

Methods

rnf :: DescribeLoggingStatus -> () #

AWSRequest DescribeLoggingStatus Source # 
ToQuery DescribeLoggingStatus Source # 
ToPath DescribeLoggingStatus Source # 
ToHeaders DescribeLoggingStatus Source # 
type Rep DescribeLoggingStatus Source # 
type Rep DescribeLoggingStatus = D1 (MetaData "DescribeLoggingStatus" "Network.AWS.Redshift.DescribeLoggingStatus" "amazonka-redshift-1.5.0-Dab3rZV2tPBCgimwpoJly0" True) (C1 (MetaCons "DescribeLoggingStatus'" PrefixI True) (S1 (MetaSel (Just Symbol "_dlsClusterIdentifier") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeLoggingStatus Source # 

Request Lenses

dlsClusterIdentifier :: Lens' DescribeLoggingStatus Text Source #

The identifier of the cluster from which to get the logging status. 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:

data LoggingStatus Source #

Describes the status of logging for a cluster.

See: loggingStatus smart constructor.

Instances

Eq LoggingStatus Source # 
Data LoggingStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LoggingStatus -> c LoggingStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LoggingStatus #

toConstr :: LoggingStatus -> Constr #

dataTypeOf :: LoggingStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LoggingStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LoggingStatus) #

gmapT :: (forall b. Data b => b -> b) -> LoggingStatus -> LoggingStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LoggingStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LoggingStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> LoggingStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LoggingStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LoggingStatus -> m LoggingStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LoggingStatus -> m LoggingStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LoggingStatus -> m LoggingStatus #

Read LoggingStatus Source # 
Show LoggingStatus Source # 
Generic LoggingStatus Source # 

Associated Types

type Rep LoggingStatus :: * -> * #

Hashable LoggingStatus Source # 
NFData LoggingStatus Source # 

Methods

rnf :: LoggingStatus -> () #

FromXML LoggingStatus Source # 
type Rep LoggingStatus Source # 
type Rep LoggingStatus = D1 (MetaData "LoggingStatus" "Network.AWS.Redshift.Types.Product" "amazonka-redshift-1.5.0-Dab3rZV2tPBCgimwpoJly0" False) (C1 (MetaCons "LoggingStatus'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lsLastFailureTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) ((:*:) (S1 (MetaSel (Just Symbol "_lsLastSuccessfulDeliveryTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_lsS3KeyPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_lsBucketName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lsLoggingEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_lsLastFailureMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

Response Lenses

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

The last time when logs failed to be delivered.

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

The last time that logs were 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.