Skip to content

Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster

Description

Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.

Usage

redshift_disable_logging(ClusterIdentifier, LogDestinationType,
  LogExports)

Arguments

  • ClusterIdentifier

    [required] The identifier of the cluster on which logging is to be stopped.

    Example: examplecluster

  • LogDestinationType

    The log destination type. An enum with possible values of s3, cloudwatch, and s3table. When set to s3table, stops system table publishing. When omitted, the operation disables audit logging.

  • LogExports

    The collection of log types to stop exporting. When LogDestinationType is s3table, the values are the names of the system tables to stop publishing. Omitting this parameter or passing all stops publishing all system tables.

Value

A list with the following syntax:

list(
  LoggingEnabled = TRUE|FALSE,
  BucketName = "string",
  S3KeyPrefix = "string",
  LastSuccessfulDeliveryTime = as.POSIXct(
    "2015-01-01"
  ),
  LastFailureTime = as.POSIXct(
    "2015-01-01"
  ),
  LastFailureMessage = "string",
  LogDestinationType = "s3"|"cloudwatch"|"s3table",
  LogExports = list(
    "string"
  ),
  S3Tables = list(
    S3Tables = list(
      "string"
    ),
    S3TableNamespace = "string",
    S3TableGranularity = "string",
    EnabledAll = TRUE|FALSE,
    LastIngestionTimes = list(
      "string"
    )
  )
)

Request syntax

svc$disable_logging(
  ClusterIdentifier = "string",
  LogDestinationType = "s3"|"cloudwatch"|"s3table",
  LogExports = list(
    "string"
  )
)