Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns all instance snapshots for the user's account.
This operation returns paginated results.
Synopsis
- getInstanceSnapshots :: GetInstanceSnapshots
- data GetInstanceSnapshots
- gisPageToken :: Lens' GetInstanceSnapshots (Maybe Text)
- getInstanceSnapshotsResponse :: Int -> GetInstanceSnapshotsResponse
- data GetInstanceSnapshotsResponse
- gissrsNextPageToken :: Lens' GetInstanceSnapshotsResponse (Maybe Text)
- gissrsInstanceSnapshots :: Lens' GetInstanceSnapshotsResponse [InstanceSnapshot]
- gissrsResponseStatus :: Lens' GetInstanceSnapshotsResponse Int
Creating a Request
getInstanceSnapshots :: GetInstanceSnapshots Source #
Creates a value of GetInstanceSnapshots
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gisPageToken
- A token used for advancing to the next page of results from your get instance snapshots request.
data GetInstanceSnapshots Source #
See: getInstanceSnapshots
smart constructor.
Instances
Request Lenses
gisPageToken :: Lens' GetInstanceSnapshots (Maybe Text) Source #
A token used for advancing to the next page of results from your get instance snapshots request.
Destructuring the Response
getInstanceSnapshotsResponse Source #
Creates a value of GetInstanceSnapshotsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gissrsNextPageToken
- A token used for advancing to the next page of results from your get instance snapshots request.gissrsInstanceSnapshots
- An array of key-value pairs containing information about the results of your get instance snapshots request.gissrsResponseStatus
- -- | The response status code.
data GetInstanceSnapshotsResponse Source #
See: getInstanceSnapshotsResponse
smart constructor.
Instances
Response Lenses
gissrsNextPageToken :: Lens' GetInstanceSnapshotsResponse (Maybe Text) Source #
A token used for advancing to the next page of results from your get instance snapshots request.
gissrsInstanceSnapshots :: Lens' GetInstanceSnapshotsResponse [InstanceSnapshot] Source #
An array of key-value pairs containing information about the results of your get instance snapshots request.
gissrsResponseStatus :: Lens' GetInstanceSnapshotsResponse Int Source #
- - | The response status code.