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 Snapshot = Snapshot' {
- status :: Maybe SnapshotStatus
- directoryId :: Maybe Text
- startTime :: Maybe POSIX
- name :: Maybe Text
- type' :: Maybe SnapshotType
- snapshotId :: Maybe Text
- newSnapshot :: Snapshot
- snapshot_status :: Lens' Snapshot (Maybe SnapshotStatus)
- snapshot_directoryId :: Lens' Snapshot (Maybe Text)
- snapshot_startTime :: Lens' Snapshot (Maybe UTCTime)
- snapshot_name :: Lens' Snapshot (Maybe Text)
- snapshot_type :: Lens' Snapshot (Maybe SnapshotType)
- snapshot_snapshotId :: Lens' Snapshot (Maybe Text)
Documentation
Describes a directory snapshot.
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:status:Snapshot'
, snapshot_status
- The snapshot status.
$sel:directoryId:Snapshot'
, snapshot_directoryId
- The directory identifier.
$sel:startTime:Snapshot'
, snapshot_startTime
- The date and time that the snapshot was taken.
$sel:name:Snapshot'
, snapshot_name
- The descriptive name of the snapshot.
$sel:type':Snapshot'
, snapshot_type
- The snapshot type.
$sel:snapshotId:Snapshot'
, snapshot_snapshotId
- The snapshot identifier.
snapshot_status :: Lens' Snapshot (Maybe SnapshotStatus) Source #
The snapshot status.
snapshot_startTime :: Lens' Snapshot (Maybe UTCTime) Source #
The date and time that the snapshot was taken.
snapshot_type :: Lens' Snapshot (Maybe SnapshotType) Source #
The snapshot type.