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 |
Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.
Synopsis
- createSoftwareUpdateJob :: CreateSoftwareUpdateJob
- data CreateSoftwareUpdateJob
- csujUpdateAgentLogLevel :: Lens' CreateSoftwareUpdateJob (Maybe UpdateAgentLogLevel)
- csujAmznClientToken :: Lens' CreateSoftwareUpdateJob (Maybe Text)
- csujSoftwareToUpdate :: Lens' CreateSoftwareUpdateJob (Maybe SoftwareToUpdate)
- csujUpdateTargetsOperatingSystem :: Lens' CreateSoftwareUpdateJob (Maybe UpdateTargetsOperatingSystem)
- csujS3URLSignerRole :: Lens' CreateSoftwareUpdateJob (Maybe Text)
- csujUpdateTargets :: Lens' CreateSoftwareUpdateJob [Text]
- csujUpdateTargetsArchitecture :: Lens' CreateSoftwareUpdateJob (Maybe UpdateTargetsArchitecture)
- createSoftwareUpdateJobResponse :: Int -> CreateSoftwareUpdateJobResponse
- data CreateSoftwareUpdateJobResponse
- csujrsIotJobARN :: Lens' CreateSoftwareUpdateJobResponse (Maybe Text)
- csujrsIotJobId :: Lens' CreateSoftwareUpdateJobResponse (Maybe Text)
- csujrsResponseStatus :: Lens' CreateSoftwareUpdateJobResponse Int
Creating a Request
createSoftwareUpdateJob :: CreateSoftwareUpdateJob Source #
Creates a value of CreateSoftwareUpdateJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csujUpdateAgentLogLevel
- Undocumented member.csujAmznClientToken
- A client token used to correlate requests and responses.csujSoftwareToUpdate
- Undocumented member.csujUpdateTargetsOperatingSystem
- Undocumented member.csujS3URLSignerRole
- Undocumented member.csujUpdateTargets
- Undocumented member.csujUpdateTargetsArchitecture
- Undocumented member.
data CreateSoftwareUpdateJob Source #
See: createSoftwareUpdateJob
smart constructor.
Instances
Request Lenses
csujUpdateAgentLogLevel :: Lens' CreateSoftwareUpdateJob (Maybe UpdateAgentLogLevel) Source #
Undocumented member.
csujAmznClientToken :: Lens' CreateSoftwareUpdateJob (Maybe Text) Source #
A client token used to correlate requests and responses.
csujSoftwareToUpdate :: Lens' CreateSoftwareUpdateJob (Maybe SoftwareToUpdate) Source #
Undocumented member.
csujUpdateTargetsOperatingSystem :: Lens' CreateSoftwareUpdateJob (Maybe UpdateTargetsOperatingSystem) Source #
Undocumented member.
csujS3URLSignerRole :: Lens' CreateSoftwareUpdateJob (Maybe Text) Source #
Undocumented member.
csujUpdateTargets :: Lens' CreateSoftwareUpdateJob [Text] Source #
Undocumented member.
csujUpdateTargetsArchitecture :: Lens' CreateSoftwareUpdateJob (Maybe UpdateTargetsArchitecture) Source #
Undocumented member.
Destructuring the Response
createSoftwareUpdateJobResponse Source #
Creates a value of CreateSoftwareUpdateJobResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csujrsIotJobARN
- The IoT Job ARN corresponding to this update.csujrsIotJobId
- The IoT Job Id corresponding to this update.csujrsResponseStatus
- -- | The response status code.
data CreateSoftwareUpdateJobResponse Source #
See: createSoftwareUpdateJobResponse
smart constructor.
Instances
Response Lenses
csujrsIotJobARN :: Lens' CreateSoftwareUpdateJobResponse (Maybe Text) Source #
The IoT Job ARN corresponding to this update.
csujrsIotJobId :: Lens' CreateSoftwareUpdateJobResponse (Maybe Text) Source #
The IoT Job Id corresponding to this update.
csujrsResponseStatus :: Lens' CreateSoftwareUpdateJobResponse Int Source #
- - | The response status code.