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)


7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'lib/aws-sdk-redshift/types.rb', line 7922

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)


7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'lib/aws-sdk-redshift/types.rb', line 7922

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)


7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'lib/aws-sdk-redshift/types.rb', line 7922

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)


7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'lib/aws-sdk-redshift/types.rb', line 7922

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)


7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'lib/aws-sdk-redshift/types.rb', line 7922

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


7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'lib/aws-sdk-redshift/types.rb', line 7922

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)


7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'lib/aws-sdk-redshift/types.rb', line 7922

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)


7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'lib/aws-sdk-redshift/types.rb', line 7922

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