| 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.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
- data ListReplays = ListReplays' {
- eventSourceArn :: Maybe Text
- limit :: Maybe Natural
- namePrefix :: Maybe Text
- nextToken :: Maybe Text
- state :: Maybe ReplayState
- newListReplays :: ListReplays
- listReplays_eventSourceArn :: Lens' ListReplays (Maybe Text)
- listReplays_limit :: Lens' ListReplays (Maybe Natural)
- listReplays_namePrefix :: Lens' ListReplays (Maybe Text)
- listReplays_nextToken :: Lens' ListReplays (Maybe Text)
- listReplays_state :: Lens' ListReplays (Maybe ReplayState)
- data ListReplaysResponse = ListReplaysResponse' {}
- newListReplaysResponse :: Int -> ListReplaysResponse
- listReplaysResponse_nextToken :: Lens' ListReplaysResponse (Maybe Text)
- listReplaysResponse_replays :: Lens' ListReplaysResponse (Maybe [Replay])
- listReplaysResponse_httpStatus :: Lens' ListReplaysResponse Int
Creating a Request
data ListReplays Source #
See: newListReplays smart constructor.
Constructors
| ListReplays' | |
Fields
| |
Instances
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:
ListReplays, listReplays_eventSourceArn - The ARN of the archive from which the events are replayed.
$sel:limit:ListReplays', listReplays_limit - The maximum number of replays to retrieve.
$sel:namePrefix:ListReplays', listReplays_namePrefix - A name prefix to filter the replays returned. Only replays with name
that match the prefix are returned.
ListReplays, listReplays_nextToken - The token returned by a previous call to retrieve the next set of
results.
ListReplays, listReplays_state - The state of the replay.
Request Lenses
listReplays_eventSourceArn :: Lens' ListReplays (Maybe Text) Source #
The ARN of the archive from which the events are replayed.
listReplays_limit :: Lens' ListReplays (Maybe Natural) Source #
The maximum number of replays to retrieve.
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_nextToken :: Lens' ListReplays (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listReplays_state :: Lens' ListReplays (Maybe ReplayState) Source #
The state of the replay.
Destructuring the Response
data ListReplaysResponse Source #
See: newListReplaysResponse smart constructor.
Constructors
| ListReplaysResponse' | |
Instances
newListReplaysResponse Source #
Arguments
| :: Int | |
| -> ListReplaysResponse |
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:
ListReplays, listReplaysResponse_nextToken - The token returned by a previous call to retrieve the next set of
results.
$sel:replays:ListReplaysResponse', listReplaysResponse_replays - An array of Replay objects that contain information about the replay.
$sel:httpStatus:ListReplaysResponse', listReplaysResponse_httpStatus - The response's http status code.
Response Lenses
listReplaysResponse_nextToken :: Lens' ListReplaysResponse (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listReplaysResponse_replays :: Lens' ListReplaysResponse (Maybe [Replay]) Source #
An array of Replay objects that contain information about the replay.
listReplaysResponse_httpStatus :: Lens' ListReplaysResponse Int Source #
The response's http status code.