AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DisableLogging operation. Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
Namespace: Amazon.Redshift.Model
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z
public class DisableLoggingRequest : AmazonRedshiftRequest IAmazonWebServiceRequest
The DisableLoggingRequest type exposes the following members
Name | Description | |
---|---|---|
DisableLoggingRequest() |
Name | Type | Description | |
---|---|---|---|
ClusterIdentifier | System.String |
Gets and sets the property ClusterIdentifier. The identifier of the cluster on which logging is to be stopped.
Example: |
This example shows how to disable logging.
var client = new AmazonRedshiftClient(); var response = client.DisableLogging(new DisableLoggingRequest { ClusterIdentifier = "mycluster" }); string bucketName = response.BucketName; DateTime lastSuccessfulDeliveryTime = response.LastSuccessfulDeliveryTime; bool loggingEnabled = response.LoggingEnabled;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5