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)


7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
# File 'lib/aws-sdk-redshift/types.rb', line 7886

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)


7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
# File 'lib/aws-sdk-redshift/types.rb', line 7886

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)


7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
# File 'lib/aws-sdk-redshift/types.rb', line 7886

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)


7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
# File 'lib/aws-sdk-redshift/types.rb', line 7886

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)


7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
# File 'lib/aws-sdk-redshift/types.rb', line 7886

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>)


7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
# File 'lib/aws-sdk-redshift/types.rb', line 7886

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)


7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
# File 'lib/aws-sdk-redshift/types.rb', line 7886

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)


7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
# File 'lib/aws-sdk-redshift/types.rb', line 7886

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