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 |
Lists OTA updates.
- listOTAUpdates :: ListOTAUpdates
- data ListOTAUpdates
- lotauNextToken :: Lens' ListOTAUpdates (Maybe Text)
- lotauOtaUpdateStatus :: Lens' ListOTAUpdates (Maybe OTAUpdateStatus)
- lotauMaxResults :: Lens' ListOTAUpdates (Maybe Natural)
- listOTAUpdatesResponse :: Int -> ListOTAUpdatesResponse
- data ListOTAUpdatesResponse
- lotaursNextToken :: Lens' ListOTAUpdatesResponse (Maybe Text)
- lotaursOtaUpdates :: Lens' ListOTAUpdatesResponse [OTAUpdateSummary]
- lotaursResponseStatus :: Lens' ListOTAUpdatesResponse Int
Creating a Request
listOTAUpdates :: ListOTAUpdates Source #
Creates a value of ListOTAUpdates
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lotauNextToken
- A token used to retrieve the next set of results.lotauOtaUpdateStatus
- The OTA update job status.lotauMaxResults
- The maximum number of results to return at one time.
data ListOTAUpdates Source #
See: listOTAUpdates
smart constructor.
Request Lenses
lotauNextToken :: Lens' ListOTAUpdates (Maybe Text) Source #
A token used to retrieve the next set of results.
lotauOtaUpdateStatus :: Lens' ListOTAUpdates (Maybe OTAUpdateStatus) Source #
The OTA update job status.
lotauMaxResults :: Lens' ListOTAUpdates (Maybe Natural) Source #
The maximum number of results to return at one time.
Destructuring the Response
listOTAUpdatesResponse Source #
Creates a value of ListOTAUpdatesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lotaursNextToken
- A token to use to get the next set of results.lotaursOtaUpdates
- A list of OTA update jobs.lotaursResponseStatus
- -- | The response status code.
data ListOTAUpdatesResponse Source #
See: listOTAUpdatesResponse
smart constructor.
Response Lenses
lotaursNextToken :: Lens' ListOTAUpdatesResponse (Maybe Text) Source #
A token to use to get the next set of results.
lotaursOtaUpdates :: Lens' ListOTAUpdatesResponse [OTAUpdateSummary] Source #
A list of OTA update jobs.
lotaursResponseStatus :: Lens' ListOTAUpdatesResponse Int Source #
- - | The response status code.