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