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 Archive = Archive' {}
- newArchive :: Archive
- archive_creationTime :: Lens' Archive (Maybe UTCTime)
- archive_sizeBytes :: Lens' Archive (Maybe Integer)
- archive_eventSourceArn :: Lens' Archive (Maybe Text)
- archive_state :: Lens' Archive (Maybe ArchiveState)
- archive_eventCount :: Lens' Archive (Maybe Integer)
- archive_archiveName :: Lens' Archive (Maybe Text)
- archive_retentionDays :: Lens' Archive (Maybe Natural)
- archive_stateReason :: Lens' Archive (Maybe Text)
Documentation
An Archive
object that contains details about an archive.
See: newArchive
smart constructor.
Archive' | |
|
Instances
newArchive :: Archive Source #
Create a value of Archive
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:creationTime:Archive'
, archive_creationTime
- The time stamp for the time that the archive was created.
$sel:sizeBytes:Archive'
, archive_sizeBytes
- The size of the archive, in bytes.
$sel:eventSourceArn:Archive'
, archive_eventSourceArn
- The ARN of the event bus associated with the archive. Only events from
this event bus are sent to the archive.
$sel:state:Archive'
, archive_state
- The current state of the archive.
$sel:eventCount:Archive'
, archive_eventCount
- The number of events in the archive.
$sel:archiveName:Archive'
, archive_archiveName
- The name of the archive.
$sel:retentionDays:Archive'
, archive_retentionDays
- The number of days to retain events in the archive before they are
deleted.
$sel:stateReason:Archive'
, archive_stateReason
- A description for the reason that the archive is in the current state.
archive_creationTime :: Lens' Archive (Maybe UTCTime) Source #
The time stamp for the time that the archive was created.
archive_eventSourceArn :: Lens' Archive (Maybe Text) Source #
The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
archive_state :: Lens' Archive (Maybe ArchiveState) Source #
The current state of the archive.