You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Redshift::Types::LoggingStatus

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb

Overview

Describes the status of logging for a cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_nameString

The name of the S3 bucket where the log files are stored.

Returns:

  • (String)


4362
4363
4364
4365
4366
4367
4368
4369
4370
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4362

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message)
  include Aws::Structure
end

#last_failure_messageString

The message indicating that logs failed to be delivered.

Returns:

  • (String)


4362
4363
4364
4365
4366
4367
4368
4369
4370
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4362

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message)
  include Aws::Structure
end

#last_failure_timeTime

The last time when logs failed to be delivered.

Returns:

  • (Time)


4362
4363
4364
4365
4366
4367
4368
4369
4370
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4362

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message)
  include Aws::Structure
end

#last_successful_delivery_timeTime

The last time that logs were delivered.

Returns:

  • (Time)


4362
4363
4364
4365
4366
4367
4368
4369
4370
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4362

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message)
  include Aws::Structure
end

#logging_enabledBoolean

true if logging is on, false if logging is off.

Returns:

  • (Boolean)


4362
4363
4364
4365
4366
4367
4368
4369
4370
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4362

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message)
  include Aws::Structure
end

#s3_key_prefixString

The prefix applied to the log file names.

Returns:

  • (String)


4362
4363
4364
4365
4366
4367
4368
4369
4370
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4362

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message)
  include Aws::Structure
end