libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatchEvents.Types.Archive

Description

 
Synopsis

Documentation

data Archive Source #

An Archive object that contains details about an archive.

See: newArchive smart constructor.

Constructors

Archive' 

Fields

Instances

Instances details
Eq Archive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Archive

Methods

(==) :: Archive -> Archive -> Bool #

(/=) :: Archive -> Archive -> Bool #

Read Archive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Archive

Show Archive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Archive

Generic Archive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Archive

Associated Types

type Rep Archive :: Type -> Type #

Methods

from :: Archive -> Rep Archive x #

to :: Rep Archive x -> Archive #

NFData Archive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Archive

Methods

rnf :: Archive -> () #

Hashable Archive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Archive

Methods

hashWithSalt :: Int -> Archive -> Int #

hash :: Archive -> Int #

FromJSON Archive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Archive

type Rep Archive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Archive

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_sizeBytes :: Lens' Archive (Maybe Integer) Source #

The size of the archive, in bytes.

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.

archive_eventCount :: Lens' Archive (Maybe Integer) Source #

The number of events in the archive.

archive_archiveName :: Lens' Archive (Maybe Text) Source #

The name of the archive.

archive_retentionDays :: Lens' Archive (Maybe Natural) Source #

The number of days to retain events in the archive before they are deleted.

archive_stateReason :: Lens' Archive (Maybe Text) Source #

A description for the reason that the archive is in the current state.