Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data RestoreStatus = RestoreStatus' {}
- newRestoreStatus :: RestoreStatus
- restoreStatus_status :: Lens' RestoreStatus (Maybe Text)
- restoreStatus_estimatedTimeToCompletionInSeconds :: Lens' RestoreStatus (Maybe Integer)
- restoreStatus_currentRestoreRateInMegaBytesPerSecond :: Lens' RestoreStatus (Maybe Double)
- restoreStatus_progressInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
- restoreStatus_elapsedTimeInSeconds :: Lens' RestoreStatus (Maybe Integer)
- restoreStatus_snapshotSizeInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
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.
RestoreStatus' | |
|
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:status:RestoreStatus'
, restoreStatus_status
- The status of the restore action. Returns starting, restoring,
completed, or failed.
$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: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: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: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: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.
restoreStatus_status :: Lens' RestoreStatus (Maybe Text) Source #
The status of the restore action. Returns starting, restoring, completed, or failed.
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_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_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_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_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.