Class: Aws::SecurityHub::Types::AwsRedshiftClusterRestoreStatus

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

Overview

Note:

When making an API call, you may pass AwsRedshiftClusterRestoreStatus data as a hash:

{
  current_restore_rate_in_mega_bytes_per_second: 1.0,
  elapsed_time_in_seconds: 1,
  estimated_time_to_completion_in_seconds: 1,
  progress_in_mega_bytes: 1,
  snapshot_size_in_mega_bytes: 1,
  status: "NonEmptyString",
}

Information about the status of a cluster restore action. It only applies if the cluster was created by restoring a snapshot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#current_restore_rate_in_mega_bytes_per_secondFloat

The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup.

This field is only updated when you restore to DC2 and DS2 node types.

Returns:

  • (Float)


17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17896

class AwsRedshiftClusterRestoreStatus < Struct.new(
  :current_restore_rate_in_mega_bytes_per_second,
  :elapsed_time_in_seconds,
  :estimated_time_to_completion_in_seconds,
  :progress_in_mega_bytes,
  :snapshot_size_in_mega_bytes,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#elapsed_time_in_secondsInteger

The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish.

This field is only updated when you restore to DC2 and DS2 node types.

Returns:

  • (Integer)


17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17896

class AwsRedshiftClusterRestoreStatus < Struct.new(
  :current_restore_rate_in_mega_bytes_per_second,
  :elapsed_time_in_seconds,
  :estimated_time_to_completion_in_seconds,
  :progress_in_mega_bytes,
  :snapshot_size_in_mega_bytes,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#estimated_time_to_completion_in_secondsInteger

The estimate of the time remaining before the restore is complete. Returns 0 for a completed restore.

This field is only updated when you restore to DC2 and DS2 node types.

Returns:

  • (Integer)


17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17896

class AwsRedshiftClusterRestoreStatus < Struct.new(
  :current_restore_rate_in_mega_bytes_per_second,
  :elapsed_time_in_seconds,
  :estimated_time_to_completion_in_seconds,
  :progress_in_mega_bytes,
  :snapshot_size_in_mega_bytes,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#progress_in_mega_bytesInteger

The number of megabytes that were transferred from snapshot storage.

This field is only updated when you restore to DC2 and DS2 node types.

Returns:

  • (Integer)


17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17896

class AwsRedshiftClusterRestoreStatus < Struct.new(
  :current_restore_rate_in_mega_bytes_per_second,
  :elapsed_time_in_seconds,
  :estimated_time_to_completion_in_seconds,
  :progress_in_mega_bytes,
  :snapshot_size_in_mega_bytes,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_size_in_mega_bytesInteger

The size of the set of snapshot data that was used to restore the cluster.

This field is only updated when you restore to DC2 and DS2 node types.

Returns:

  • (Integer)


17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17896

class AwsRedshiftClusterRestoreStatus < Struct.new(
  :current_restore_rate_in_mega_bytes_per_second,
  :elapsed_time_in_seconds,
  :estimated_time_to_completion_in_seconds,
  :progress_in_mega_bytes,
  :snapshot_size_in_mega_bytes,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the restore action.

Valid values: starting | restoring | completed | failed

Returns:

  • (String)


17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17896

class AwsRedshiftClusterRestoreStatus < Struct.new(
  :current_restore_rate_in_mega_bytes_per_second,
  :elapsed_time_in_seconds,
  :estimated_time_to_completion_in_seconds,
  :progress_in_mega_bytes,
  :snapshot_size_in_mega_bytes,
  :status)
  SENSITIVE = []
  include Aws::Structure
end