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 AwsRedshiftClusterRestoreStatus = AwsRedshiftClusterRestoreStatus' {}
- newAwsRedshiftClusterRestoreStatus :: AwsRedshiftClusterRestoreStatus
- awsRedshiftClusterRestoreStatus_status :: Lens' AwsRedshiftClusterRestoreStatus (Maybe Text)
- awsRedshiftClusterRestoreStatus_estimatedTimeToCompletionInSeconds :: Lens' AwsRedshiftClusterRestoreStatus (Maybe Integer)
- awsRedshiftClusterRestoreStatus_currentRestoreRateInMegaBytesPerSecond :: Lens' AwsRedshiftClusterRestoreStatus (Maybe Double)
- awsRedshiftClusterRestoreStatus_progressInMegaBytes :: Lens' AwsRedshiftClusterRestoreStatus (Maybe Integer)
- awsRedshiftClusterRestoreStatus_elapsedTimeInSeconds :: Lens' AwsRedshiftClusterRestoreStatus (Maybe Integer)
- awsRedshiftClusterRestoreStatus_snapshotSizeInMegaBytes :: Lens' AwsRedshiftClusterRestoreStatus (Maybe Integer)
Documentation
data AwsRedshiftClusterRestoreStatus Source #
Information about the status of a cluster restore action. It only applies if the cluster was created by restoring a snapshot.
See: newAwsRedshiftClusterRestoreStatus
smart constructor.
AwsRedshiftClusterRestoreStatus' | |
|
Instances
newAwsRedshiftClusterRestoreStatus :: AwsRedshiftClusterRestoreStatus Source #
Create a value of AwsRedshiftClusterRestoreStatus
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:AwsRedshiftClusterRestoreStatus'
, awsRedshiftClusterRestoreStatus_status
- The status of the restore action.
Valid values: starting
| restoring
| completed
| failed
$sel:estimatedTimeToCompletionInSeconds:AwsRedshiftClusterRestoreStatus'
, awsRedshiftClusterRestoreStatus_estimatedTimeToCompletionInSeconds
- 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.
$sel:currentRestoreRateInMegaBytesPerSecond:AwsRedshiftClusterRestoreStatus'
, awsRedshiftClusterRestoreStatus_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:AwsRedshiftClusterRestoreStatus'
, awsRedshiftClusterRestoreStatus_progressInMegaBytes
- The number of megabytes that were transferred from snapshot storage.
This field is only updated when you restore to DC2 and DS2 node types.
$sel:elapsedTimeInSeconds:AwsRedshiftClusterRestoreStatus'
, awsRedshiftClusterRestoreStatus_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:AwsRedshiftClusterRestoreStatus'
, awsRedshiftClusterRestoreStatus_snapshotSizeInMegaBytes
- 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.
awsRedshiftClusterRestoreStatus_status :: Lens' AwsRedshiftClusterRestoreStatus (Maybe Text) Source #
The status of the restore action.
Valid values: starting
| restoring
| completed
| failed
awsRedshiftClusterRestoreStatus_estimatedTimeToCompletionInSeconds :: Lens' AwsRedshiftClusterRestoreStatus (Maybe Integer) Source #
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.
awsRedshiftClusterRestoreStatus_currentRestoreRateInMegaBytesPerSecond :: Lens' AwsRedshiftClusterRestoreStatus (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.
awsRedshiftClusterRestoreStatus_progressInMegaBytes :: Lens' AwsRedshiftClusterRestoreStatus (Maybe Integer) Source #
The number of megabytes that were transferred from snapshot storage.
This field is only updated when you restore to DC2 and DS2 node types.
awsRedshiftClusterRestoreStatus_elapsedTimeInSeconds :: Lens' AwsRedshiftClusterRestoreStatus (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.
awsRedshiftClusterRestoreStatus_snapshotSizeInMegaBytes :: Lens' AwsRedshiftClusterRestoreStatus (Maybe Integer) Source #
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.