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.DescribeArchive

Description

Retrieves details about an archive.

Synopsis

Creating a Request

data DescribeArchive Source #

See: newDescribeArchive smart constructor.

Constructors

DescribeArchive' 

Fields

Instances

Instances details
Eq DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Read DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Show DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Generic DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Associated Types

type Rep DescribeArchive :: Type -> Type #

NFData DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Methods

rnf :: DescribeArchive -> () #

Hashable DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

ToJSON DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

AWSRequest DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Associated Types

type AWSResponse DescribeArchive #

ToHeaders DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

ToPath DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

ToQuery DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

type Rep DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

type Rep DescribeArchive = D1 ('MetaData "DescribeArchive" "Amazonka.CloudWatchEvents.DescribeArchive" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DescribeArchive'" 'PrefixI 'True) (S1 ('MetaSel ('Just "archiveName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeArchive Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

newDescribeArchive Source #

Create a value of DescribeArchive 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:archiveName:DescribeArchive', describeArchive_archiveName - The name of the archive to retrieve.

Request Lenses

describeArchive_archiveName :: Lens' DescribeArchive Text Source #

The name of the archive to retrieve.

Destructuring the Response

data DescribeArchiveResponse Source #

See: newDescribeArchiveResponse smart constructor.

Constructors

DescribeArchiveResponse' 

Fields

Instances

Instances details
Eq DescribeArchiveResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Read DescribeArchiveResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Show DescribeArchiveResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Generic DescribeArchiveResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Associated Types

type Rep DescribeArchiveResponse :: Type -> Type #

NFData DescribeArchiveResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

Methods

rnf :: DescribeArchiveResponse -> () #

type Rep DescribeArchiveResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeArchive

type Rep DescribeArchiveResponse = D1 ('MetaData "DescribeArchiveResponse" "Amazonka.CloudWatchEvents.DescribeArchive" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DescribeArchiveResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "sizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "eventSourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "eventPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ArchiveState)) :*: S1 ('MetaSel ('Just "eventCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) :*: ((S1 ('MetaSel ('Just "archiveName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "retentionDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "archiveArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeArchiveResponse Source #

Create a value of DescribeArchiveResponse 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:DescribeArchiveResponse', describeArchiveResponse_creationTime - The time at which the archive was created.

$sel:sizeBytes:DescribeArchiveResponse', describeArchiveResponse_sizeBytes - The size of the archive in bytes.

$sel:eventSourceArn:DescribeArchiveResponse', describeArchiveResponse_eventSourceArn - The ARN of the event source associated with the archive.

$sel:eventPattern:DescribeArchiveResponse', describeArchiveResponse_eventPattern - The event pattern used to filter events sent to the archive.

$sel:state:DescribeArchiveResponse', describeArchiveResponse_state - The state of the archive.

$sel:eventCount:DescribeArchiveResponse', describeArchiveResponse_eventCount - The number of events in the archive.

$sel:archiveName:DescribeArchive', describeArchiveResponse_archiveName - The name of the archive.

$sel:retentionDays:DescribeArchiveResponse', describeArchiveResponse_retentionDays - The number of days to retain events for in the archive.

$sel:archiveArn:DescribeArchiveResponse', describeArchiveResponse_archiveArn - The ARN of the archive.

$sel:stateReason:DescribeArchiveResponse', describeArchiveResponse_stateReason - The reason that the archive is in the state.

$sel:description:DescribeArchiveResponse', describeArchiveResponse_description - The description of the archive.

$sel:httpStatus:DescribeArchiveResponse', describeArchiveResponse_httpStatus - The response's http status code.

Response Lenses

describeArchiveResponse_eventSourceArn :: Lens' DescribeArchiveResponse (Maybe Text) Source #

The ARN of the event source associated with the archive.

describeArchiveResponse_eventPattern :: Lens' DescribeArchiveResponse (Maybe Text) Source #

The event pattern used to filter events sent to the archive.

describeArchiveResponse_retentionDays :: Lens' DescribeArchiveResponse (Maybe Natural) Source #

The number of days to retain events for in the archive.

describeArchiveResponse_stateReason :: Lens' DescribeArchiveResponse (Maybe Text) Source #

The reason that the archive is in the state.