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 |
Synopsis
- data Snapshot = Snapshot' {
- accountsWithProvisionedRestoreAccess :: Maybe [Text]
- accountsWithRestoreAccess :: Maybe [Text]
- actualIncrementalBackupSizeInMegaBytes :: Maybe Double
- adminUsername :: Maybe Text
- backupProgressInMegaBytes :: Maybe Double
- currentBackupRateInMegaBytesPerSecond :: Maybe Double
- elapsedTimeInSeconds :: Maybe Integer
- estimatedSecondsToCompletion :: Maybe Integer
- kmsKeyId :: Maybe Text
- namespaceArn :: Maybe Text
- namespaceName :: Maybe Text
- ownerAccount :: Maybe Text
- snapshotArn :: Maybe Text
- snapshotCreateTime :: Maybe ISO8601
- snapshotName :: Maybe Text
- snapshotRemainingDays :: Maybe Int
- snapshotRetentionPeriod :: Maybe Int
- snapshotRetentionStartTime :: Maybe ISO8601
- status :: Maybe SnapshotStatus
- totalBackupSizeInMegaBytes :: Maybe Double
- newSnapshot :: Snapshot
- snapshot_accountsWithProvisionedRestoreAccess :: Lens' Snapshot (Maybe [Text])
- snapshot_accountsWithRestoreAccess :: Lens' Snapshot (Maybe [Text])
- snapshot_actualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
- snapshot_adminUsername :: Lens' Snapshot (Maybe Text)
- snapshot_backupProgressInMegaBytes :: Lens' Snapshot (Maybe Double)
- snapshot_currentBackupRateInMegaBytesPerSecond :: Lens' Snapshot (Maybe Double)
- snapshot_elapsedTimeInSeconds :: Lens' Snapshot (Maybe Integer)
- snapshot_estimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer)
- snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text)
- snapshot_namespaceArn :: Lens' Snapshot (Maybe Text)
- snapshot_namespaceName :: Lens' Snapshot (Maybe Text)
- snapshot_ownerAccount :: Lens' Snapshot (Maybe Text)
- snapshot_snapshotArn :: Lens' Snapshot (Maybe Text)
- snapshot_snapshotCreateTime :: Lens' Snapshot (Maybe UTCTime)
- snapshot_snapshotName :: Lens' Snapshot (Maybe Text)
- snapshot_snapshotRemainingDays :: Lens' Snapshot (Maybe Int)
- snapshot_snapshotRetentionPeriod :: Lens' Snapshot (Maybe Int)
- snapshot_snapshotRetentionStartTime :: Lens' Snapshot (Maybe UTCTime)
- snapshot_status :: Lens' Snapshot (Maybe SnapshotStatus)
- snapshot_totalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
Documentation
A snapshot object that contains databases.
See: newSnapshot
smart constructor.
Snapshot' | |
|
Instances
newSnapshot :: Snapshot Source #
Create a value of Snapshot
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:accountsWithProvisionedRestoreAccess:Snapshot'
, snapshot_accountsWithProvisionedRestoreAccess
- All of the Amazon Web Services accounts that have access to restore a
snapshot to a provisioned cluster.
$sel:accountsWithRestoreAccess:Snapshot'
, snapshot_accountsWithRestoreAccess
- All of the Amazon Web Services accounts that have access to restore a
snapshot to a namespace.
$sel:actualIncrementalBackupSizeInMegaBytes:Snapshot'
, snapshot_actualIncrementalBackupSizeInMegaBytes
- The size of the incremental backup in megabytes.
$sel:adminUsername:Snapshot'
, snapshot_adminUsername
- The username of the database within a snapshot.
$sel:backupProgressInMegaBytes:Snapshot'
, snapshot_backupProgressInMegaBytes
- The size in megabytes of the data that has been backed up to a snapshot.
$sel:currentBackupRateInMegaBytesPerSecond:Snapshot'
, snapshot_currentBackupRateInMegaBytesPerSecond
- The rate at which data is backed up into a snapshot in megabytes per
second.
$sel:elapsedTimeInSeconds:Snapshot'
, snapshot_elapsedTimeInSeconds
- The amount of time it took to back up data into a snapshot.
$sel:estimatedSecondsToCompletion:Snapshot'
, snapshot_estimatedSecondsToCompletion
- The estimated amount of seconds until the snapshot completes backup.
$sel:kmsKeyId:Snapshot'
, snapshot_kmsKeyId
- The unique identifier of the KMS key used to encrypt the snapshot.
$sel:namespaceArn:Snapshot'
, snapshot_namespaceArn
- The Amazon Resource Name (ARN) of the namespace the snapshot was created
from.
$sel:namespaceName:Snapshot'
, snapshot_namespaceName
- The name of the namepsace.
$sel:ownerAccount:Snapshot'
, snapshot_ownerAccount
- The owner Amazon Web Services; account of the snapshot.
$sel:snapshotArn:Snapshot'
, snapshot_snapshotArn
- The Amazon Resource Name (ARN) of the snapshot.
$sel:snapshotCreateTime:Snapshot'
, snapshot_snapshotCreateTime
- The timestamp of when the snapshot was created.
$sel:snapshotName:Snapshot'
, snapshot_snapshotName
- The name of the snapshot.
$sel:snapshotRemainingDays:Snapshot'
, snapshot_snapshotRemainingDays
- The amount of days until the snapshot is deleted.
$sel:snapshotRetentionPeriod:Snapshot'
, snapshot_snapshotRetentionPeriod
- The period of time, in days, of how long the snapshot is retained.
$sel:snapshotRetentionStartTime:Snapshot'
, snapshot_snapshotRetentionStartTime
- The timestamp of when data within the snapshot started getting retained.
$sel:status:Snapshot'
, snapshot_status
- The status of the snapshot.
$sel:totalBackupSizeInMegaBytes:Snapshot'
, snapshot_totalBackupSizeInMegaBytes
- The total size, in megabytes, of how big the snapshot is.
snapshot_accountsWithProvisionedRestoreAccess :: Lens' Snapshot (Maybe [Text]) Source #
All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.
snapshot_accountsWithRestoreAccess :: Lens' Snapshot (Maybe [Text]) Source #
All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.
snapshot_actualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double) Source #
The size of the incremental backup in megabytes.
snapshot_adminUsername :: Lens' Snapshot (Maybe Text) Source #
The username of the database within a snapshot.
snapshot_backupProgressInMegaBytes :: Lens' Snapshot (Maybe Double) Source #
The size in megabytes of the data that has been backed up to a snapshot.
snapshot_currentBackupRateInMegaBytesPerSecond :: Lens' Snapshot (Maybe Double) Source #
The rate at which data is backed up into a snapshot in megabytes per second.
snapshot_elapsedTimeInSeconds :: Lens' Snapshot (Maybe Integer) Source #
The amount of time it took to back up data into a snapshot.
snapshot_estimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer) Source #
The estimated amount of seconds until the snapshot completes backup.
snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text) Source #
The unique identifier of the KMS key used to encrypt the snapshot.
snapshot_namespaceArn :: Lens' Snapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
snapshot_ownerAccount :: Lens' Snapshot (Maybe Text) Source #
The owner Amazon Web Services; account of the snapshot.
snapshot_snapshotArn :: Lens' Snapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the snapshot.
snapshot_snapshotCreateTime :: Lens' Snapshot (Maybe UTCTime) Source #
The timestamp of when the snapshot was created.
snapshot_snapshotRemainingDays :: Lens' Snapshot (Maybe Int) Source #
The amount of days until the snapshot is deleted.
snapshot_snapshotRetentionPeriod :: Lens' Snapshot (Maybe Int) Source #
The period of time, in days, of how long the snapshot is retained.
snapshot_snapshotRetentionStartTime :: Lens' Snapshot (Maybe UTCTime) Source #
The timestamp of when data within the snapshot started getting retained.
snapshot_status :: Lens' Snapshot (Maybe SnapshotStatus) Source #
The status of the snapshot.