The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::RedShift::EnableLogging - Arguments for method EnableLogging on Paws::RedShift

DESCRIPTION

This class represents the parameters used for calling the method EnableLogging on the Amazon Redshift service. Use the attributes of this class as arguments to method EnableLogging.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to EnableLogging.

SYNOPSIS

    my $redshift = Paws->service('RedShift');
    my $LoggingStatus = $redshift->EnableLogging(
      BucketName        => 'MyString',
      ClusterIdentifier => 'MyString',
      S3KeyPrefix       => 'MyString',    # OPTIONAL
    );

    # Results:
    my $BucketName                 = $LoggingStatus->BucketName;
    my $LastFailureMessage         = $LoggingStatus->LastFailureMessage;
    my $LastFailureTime            = $LoggingStatus->LastFailureTime;
    my $LastSuccessfulDeliveryTime = $LoggingStatus->LastSuccessfulDeliveryTime;
    my $LoggingEnabled             = $LoggingStatus->LoggingEnabled;
    my $S3KeyPrefix                = $LoggingStatus->S3KeyPrefix;

    # Returns a L<Paws::RedShift::LoggingStatus> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/redshift/EnableLogging

ATTRIBUTES

REQUIRED BucketName => Str

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

REQUIRED ClusterIdentifier => Str

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

Example: examplecluster

S3KeyPrefix => Str

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

SEE ALSO

This class forms part of Paws, documenting arguments for method EnableLogging in Paws::RedShift

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues