| 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 |
Network.AWS.IoT.GetOTAUpdate
Description
Gets an OTA update.
Synopsis
Creating a Request
Arguments
| :: Text | |
| -> GetOTAUpdate |
Creates a value of GetOTAUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gotauOtaUpdateId- The OTA update ID.
data GetOTAUpdate Source #
See: getOTAUpdate smart constructor.
Instances
Request Lenses
gotauOtaUpdateId :: Lens' GetOTAUpdate Text Source #
The OTA update ID.
Destructuring the Response
Arguments
| :: Int | |
| -> GetOTAUpdateResponse |
Creates a value of GetOTAUpdateResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gotaursOtaUpdateInfo- The OTA update info.gotaursResponseStatus- -- | The response status code.
data GetOTAUpdateResponse Source #
See: getOTAUpdateResponse smart constructor.
Instances
Response Lenses
gotaursOtaUpdateInfo :: Lens' GetOTAUpdateResponse (Maybe OTAUpdateInfo) Source #
The OTA update info.
gotaursResponseStatus :: Lens' GetOTAUpdateResponse Int Source #
- - | The response status code.