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

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

Overview

Describes the status of logging for a cluster.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_nameString

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

Returns:

  • (String)


7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
# File 'lib/aws-sdk-redshift/types.rb', line 7633

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#last_failure_messageString

The message indicating that logs failed to be delivered.

Returns:

  • (String)


7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
# File 'lib/aws-sdk-redshift/types.rb', line 7633

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#last_failure_timeTime

The last time when logs failed to be delivered.

Returns:

  • (Time)


7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
# File 'lib/aws-sdk-redshift/types.rb', line 7633

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#last_successful_delivery_timeTime

The last time that logs were delivered.

Returns:

  • (Time)


7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
# File 'lib/aws-sdk-redshift/types.rb', line 7633

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#log_destination_typeString

The log destination type. An enum with possible values of ‘s3` and `cloudwatch`.

Returns:

  • (String)


7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
# File 'lib/aws-sdk-redshift/types.rb', line 7633

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#log_exportsArray<String>

The collection of exported log types. Possible values are ‘connectionlog`, `useractivitylog`, and `userlog`.

Returns:

  • (Array<String>)


7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
# File 'lib/aws-sdk-redshift/types.rb', line 7633

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#logging_enabledBoolean

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

Returns:

  • (Boolean)


7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
# File 'lib/aws-sdk-redshift/types.rb', line 7633

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end

#s3_key_prefixString

The prefix applied to the log file names.

Returns:

  • (String)


7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
# File 'lib/aws-sdk-redshift/types.rb', line 7633

class LoggingStatus < Struct.new(
  :logging_enabled,
  :bucket_name,
  :s3_key_prefix,
  :last_successful_delivery_time,
  :last_failure_time,
  :last_failure_message,
  :log_destination_type,
  :log_exports)
  SENSITIVE = []
  include Aws::Structure
end