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 |
Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
Synopsis
- data DisableLogging = DisableLogging' {}
- newDisableLogging :: Text -> DisableLogging
- disableLogging_clusterIdentifier :: Lens' DisableLogging Text
- data LoggingStatus = LoggingStatus' {}
- newLoggingStatus :: LoggingStatus
- loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
- loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
- loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
- loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text)
- loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool)
- loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text)
Creating a Request
data DisableLogging Source #
See: newDisableLogging
smart constructor.
DisableLogging' | |
|
Instances
Create a value of DisableLogging
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:clusterIdentifier:DisableLogging'
, disableLogging_clusterIdentifier
- The identifier of the cluster on which logging is to be stopped.
Example: examplecluster
Request Lenses
disableLogging_clusterIdentifier :: Lens' DisableLogging Text Source #
The identifier of the cluster on which logging is to be stopped.
Example: examplecluster
Destructuring the Response
data LoggingStatus Source #
Describes the status of logging for a cluster.
See: newLoggingStatus
smart constructor.
LoggingStatus' | |
|
Instances
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: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:s3KeyPrefix:LoggingStatus'
, loggingStatus_s3KeyPrefix
- The prefix applied to the log file names.
$sel:bucketName:LoggingStatus'
, loggingStatus_bucketName
- The name of the S3 bucket where the log files are stored.
$sel:loggingEnabled:LoggingStatus'
, loggingStatus_loggingEnabled
- true
if logging is on, false
if logging is off.
$sel:lastFailureMessage:LoggingStatus'
, loggingStatus_lastFailureMessage
- The message indicating that logs failed to be delivered.
Response Lenses
loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime) Source #
The last time when logs failed to be delivered.
loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime) Source #
The last time that logs were delivered.
loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text) Source #
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_loggingEnabled :: Lens' LoggingStatus (Maybe Bool) Source #
true
if logging is on, false
if logging is off.
loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text) Source #
The message indicating that logs failed to be delivered.