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

Description

Lists your replays. You can either list all the replays or you can provide a prefix to match to the replay names. Filter parameters are exclusive.

Synopsis

Creating a Request

data ListReplays Source #

See: newListReplays smart constructor.

Constructors

ListReplays' 

Fields

Instances

Instances details
Eq ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Read ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Show ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Generic ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Associated Types

type Rep ListReplays :: Type -> Type #

NFData ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Methods

rnf :: ListReplays -> () #

Hashable ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

ToJSON ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

AWSRequest ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Associated Types

type AWSResponse ListReplays #

ToHeaders ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Methods

toHeaders :: ListReplays -> [Header] #

ToPath ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

ToQuery ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

type Rep ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

type Rep ListReplays = D1 ('MetaData "ListReplays" "Amazonka.CloudWatchEvents.ListReplays" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "ListReplays'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventSourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplayState))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "namePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))
type AWSResponse ListReplays Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

newListReplays :: ListReplays Source #

Create a value of ListReplays 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:eventSourceArn:ListReplays', listReplays_eventSourceArn - The ARN of the archive from which the events are replayed.

$sel:state:ListReplays', listReplays_state - The state of the replay.

$sel:nextToken:ListReplays', listReplays_nextToken - The token returned by a previous call to retrieve the next set of results.

$sel:namePrefix:ListReplays', listReplays_namePrefix - A name prefix to filter the replays returned. Only replays with name that match the prefix are returned.

$sel:limit:ListReplays', listReplays_limit - The maximum number of replays to retrieve.

Request Lenses

listReplays_eventSourceArn :: Lens' ListReplays (Maybe Text) Source #

The ARN of the archive from which the events are replayed.

listReplays_nextToken :: Lens' ListReplays (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listReplays_namePrefix :: Lens' ListReplays (Maybe Text) Source #

A name prefix to filter the replays returned. Only replays with name that match the prefix are returned.

listReplays_limit :: Lens' ListReplays (Maybe Natural) Source #

The maximum number of replays to retrieve.

Destructuring the Response

data ListReplaysResponse Source #

See: newListReplaysResponse smart constructor.

Constructors

ListReplaysResponse' 

Fields

Instances

Instances details
Eq ListReplaysResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Read ListReplaysResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Show ListReplaysResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Generic ListReplaysResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Associated Types

type Rep ListReplaysResponse :: Type -> Type #

NFData ListReplaysResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

Methods

rnf :: ListReplaysResponse -> () #

type Rep ListReplaysResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListReplays

type Rep ListReplaysResponse = D1 ('MetaData "ListReplaysResponse" "Amazonka.CloudWatchEvents.ListReplays" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "ListReplaysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Replay])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListReplaysResponse Source #

Create a value of ListReplaysResponse 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:replays:ListReplaysResponse', listReplaysResponse_replays - An array of Replay objects that contain information about the replay.

$sel:nextToken:ListReplays', listReplaysResponse_nextToken - The token returned by a previous call to retrieve the next set of results.

$sel:httpStatus:ListReplaysResponse', listReplaysResponse_httpStatus - The response's http status code.

Response Lenses

listReplaysResponse_replays :: Lens' ListReplaysResponse (Maybe [Replay]) Source #

An array of Replay objects that contain information about the replay.

listReplaysResponse_nextToken :: Lens' ListReplaysResponse (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.