AWS SDK for .NET Documentation
EnableLoggingRequest Class
AmazonAmazon.Redshift.ModelEnableLoggingRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the EnableLogging operation. Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
Declaration Syntax
C#
public class EnableLoggingRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
EnableLoggingRequest()()()()
Initializes a new instance of the EnableLoggingRequest class

BucketName
Gets and sets the property BucketName.

The name of an existing S3 bucket where the log files are to be stored.

Constraints:

  • Must be in the same region as the cluster
  • The cluster must have read bucket and put object permissions

ClusterIdentifier
Gets and sets the property ClusterIdentifier.

The identifier of the cluster on which logging is to be started.

Example:

CopyC#
examplecluster


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
S3KeyPrefix
Gets and sets the property S3KeyPrefix.

The prefix applied to the log file names.

Constraints:

  • Cannot exceed 512 characters
  • Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
    • x00 to x20
    • x22
    • x27
    • x5c
    • x7f or larger

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithBucketName(String) Obsolete.
Sets the BucketName property

WithClusterIdentifier(String) Obsolete.
Sets the ClusterIdentifier property

WithS3KeyPrefix(String) Obsolete.
Sets the S3KeyPrefix property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 EnableLoggingRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)