| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Redshift.Types.RestoreStatus
Description
Synopsis
- data RestoreStatus = RestoreStatus' {}
- newRestoreStatus :: RestoreStatus
- restoreStatus_currentRestoreRateInMegaBytesPerSecond :: Lens' RestoreStatus (Maybe Double)
- restoreStatus_elapsedTimeInSeconds :: Lens' RestoreStatus (Maybe Integer)
- restoreStatus_estimatedTimeToCompletionInSeconds :: Lens' RestoreStatus (Maybe Integer)
- restoreStatus_progressInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
- restoreStatus_snapshotSizeInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
- restoreStatus_status :: Lens' RestoreStatus (Maybe Text)
Documentation
data RestoreStatus Source #
Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.
See: newRestoreStatus smart constructor.
Constructors
| RestoreStatus' | |
Fields
| |
Instances
newRestoreStatus :: RestoreStatus Source #
Create a value of RestoreStatus with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currentRestoreRateInMegaBytesPerSecond:RestoreStatus', restoreStatus_currentRestoreRateInMegaBytesPerSecond - 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.
$sel:elapsedTimeInSeconds:RestoreStatus', restoreStatus_elapsedTimeInSeconds - 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.
$sel:estimatedTimeToCompletionInSeconds:RestoreStatus', restoreStatus_estimatedTimeToCompletionInSeconds - The estimate of the time remaining before the restore will complete.
Returns 0 for a completed restore. This field is only updated when you
restore to DC2 and DS2 node types.
$sel:progressInMegaBytes:RestoreStatus', restoreStatus_progressInMegaBytes - The number of megabytes that have been transferred from snapshot
storage. This field is only updated when you restore to DC2 and DS2 node
types.
$sel:snapshotSizeInMegaBytes:RestoreStatus', restoreStatus_snapshotSizeInMegaBytes - The size of the set of snapshot data used to restore the cluster. This
field is only updated when you restore to DC2 and DS2 node types.
$sel:status:RestoreStatus', restoreStatus_status - The status of the restore action. Returns starting, restoring,
completed, or failed.
restoreStatus_currentRestoreRateInMegaBytesPerSecond :: Lens' RestoreStatus (Maybe Double) Source #
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.
restoreStatus_elapsedTimeInSeconds :: Lens' RestoreStatus (Maybe Integer) Source #
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.
restoreStatus_estimatedTimeToCompletionInSeconds :: Lens' RestoreStatus (Maybe Integer) Source #
The estimate of the time remaining before the restore will complete. Returns 0 for a completed restore. This field is only updated when you restore to DC2 and DS2 node types.
restoreStatus_progressInMegaBytes :: Lens' RestoreStatus (Maybe Integer) Source #
The number of megabytes that have been transferred from snapshot storage. This field is only updated when you restore to DC2 and DS2 node types.
restoreStatus_snapshotSizeInMegaBytes :: Lens' RestoreStatus (Maybe Integer) Source #
The size of the set of snapshot data used to restore the cluster. This field is only updated when you restore to DC2 and DS2 node types.
restoreStatus_status :: Lens' RestoreStatus (Maybe Text) Source #
The status of the restore action. Returns starting, restoring, completed, or failed.