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 |
Lists information about the current application snapshots.
This operation returns paginated results.
Synopsis
- data ListApplicationSnapshots = ListApplicationSnapshots' {}
- newListApplicationSnapshots :: Text -> ListApplicationSnapshots
- listApplicationSnapshots_nextToken :: Lens' ListApplicationSnapshots (Maybe Text)
- listApplicationSnapshots_limit :: Lens' ListApplicationSnapshots (Maybe Natural)
- listApplicationSnapshots_applicationName :: Lens' ListApplicationSnapshots Text
- data ListApplicationSnapshotsResponse = ListApplicationSnapshotsResponse' {}
- newListApplicationSnapshotsResponse :: Int -> ListApplicationSnapshotsResponse
- listApplicationSnapshotsResponse_snapshotSummaries :: Lens' ListApplicationSnapshotsResponse (Maybe [SnapshotDetails])
- listApplicationSnapshotsResponse_nextToken :: Lens' ListApplicationSnapshotsResponse (Maybe Text)
- listApplicationSnapshotsResponse_httpStatus :: Lens' ListApplicationSnapshotsResponse Int
Creating a Request
data ListApplicationSnapshots Source #
See: newListApplicationSnapshots
smart constructor.
ListApplicationSnapshots' | |
|
Instances
newListApplicationSnapshots Source #
Create a value of ListApplicationSnapshots
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:nextToken:ListApplicationSnapshots'
, listApplicationSnapshots_nextToken
- Use this parameter if you receive a NextToken
response in a previous
request that indicates that there is more output available. Set it to
the value of the previous call's NextToken
response to indicate where
the output should continue from.
$sel:limit:ListApplicationSnapshots'
, listApplicationSnapshots_limit
- The maximum number of application snapshots to list.
$sel:applicationName:ListApplicationSnapshots'
, listApplicationSnapshots_applicationName
- The name of an existing application.
Request Lenses
listApplicationSnapshots_nextToken :: Lens' ListApplicationSnapshots (Maybe Text) Source #
Use this parameter if you receive a NextToken
response in a previous
request that indicates that there is more output available. Set it to
the value of the previous call's NextToken
response to indicate where
the output should continue from.
listApplicationSnapshots_limit :: Lens' ListApplicationSnapshots (Maybe Natural) Source #
The maximum number of application snapshots to list.
listApplicationSnapshots_applicationName :: Lens' ListApplicationSnapshots Text Source #
The name of an existing application.
Destructuring the Response
data ListApplicationSnapshotsResponse Source #
See: newListApplicationSnapshotsResponse
smart constructor.
ListApplicationSnapshotsResponse' | |
|
Instances
newListApplicationSnapshotsResponse Source #
Create a value of ListApplicationSnapshotsResponse
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:snapshotSummaries:ListApplicationSnapshotsResponse'
, listApplicationSnapshotsResponse_snapshotSummaries
- A collection of objects containing information about the application
snapshots.
$sel:nextToken:ListApplicationSnapshots'
, listApplicationSnapshotsResponse_nextToken
- The token for the next set of results, or null
if there are no
additional results.
$sel:httpStatus:ListApplicationSnapshotsResponse'
, listApplicationSnapshotsResponse_httpStatus
- The response's http status code.
Response Lenses
listApplicationSnapshotsResponse_snapshotSummaries :: Lens' ListApplicationSnapshotsResponse (Maybe [SnapshotDetails]) Source #
A collection of objects containing information about the application snapshots.
listApplicationSnapshotsResponse_nextToken :: Lens' ListApplicationSnapshotsResponse (Maybe Text) Source #
The token for the next set of results, or null
if there are no
additional results.
listApplicationSnapshotsResponse_httpStatus :: Lens' ListApplicationSnapshotsResponse Int Source #
The response's http status code.