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 |
Returns a list of satellites.
This operation returns paginated results.
Synopsis
- data ListSatellites = ListSatellites' {}
- newListSatellites :: ListSatellites
- listSatellites_nextToken :: Lens' ListSatellites (Maybe Text)
- listSatellites_maxResults :: Lens' ListSatellites (Maybe Int)
- data ListSatellitesResponse = ListSatellitesResponse' {
- satellites :: Maybe [SatelliteListItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListSatellitesResponse :: Int -> ListSatellitesResponse
- listSatellitesResponse_satellites :: Lens' ListSatellitesResponse (Maybe [SatelliteListItem])
- listSatellitesResponse_nextToken :: Lens' ListSatellitesResponse (Maybe Text)
- listSatellitesResponse_httpStatus :: Lens' ListSatellitesResponse Int
Creating a Request
data ListSatellites Source #
See: newListSatellites
smart constructor.
Instances
newListSatellites :: ListSatellites Source #
Create a value of ListSatellites
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:ListSatellites'
, listSatellites_nextToken
- Next token that can be supplied in the next call to get the next page of
satellites.
$sel:maxResults:ListSatellites'
, listSatellites_maxResults
- Maximum number of satellites returned.
Request Lenses
listSatellites_nextToken :: Lens' ListSatellites (Maybe Text) Source #
Next token that can be supplied in the next call to get the next page of satellites.
listSatellites_maxResults :: Lens' ListSatellites (Maybe Int) Source #
Maximum number of satellites returned.
Destructuring the Response
data ListSatellitesResponse Source #
See: newListSatellitesResponse
smart constructor.
ListSatellitesResponse' | |
|
Instances
newListSatellitesResponse Source #
Create a value of ListSatellitesResponse
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:satellites:ListSatellitesResponse'
, listSatellitesResponse_satellites
- List of satellites.
$sel:nextToken:ListSatellites'
, listSatellitesResponse_nextToken
- Next token that can be supplied in the next call to get the next page of
satellites.
$sel:httpStatus:ListSatellitesResponse'
, listSatellitesResponse_httpStatus
- The response's http status code.
Response Lenses
listSatellitesResponse_satellites :: Lens' ListSatellitesResponse (Maybe [SatelliteListItem]) Source #
List of satellites.
listSatellitesResponse_nextToken :: Lens' ListSatellitesResponse (Maybe Text) Source #
Next token that can be supplied in the next call to get the next page of satellites.
listSatellitesResponse_httpStatus :: Lens' ListSatellitesResponse Int Source #
The response's http status code.