| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.StopThingRegistrationTask
Description
Cancels a bulk thing provisioning task.
Requires permission to access the StopThingRegistrationTask action.
Synopsis
- data StopThingRegistrationTask = StopThingRegistrationTask' {}
- newStopThingRegistrationTask :: Text -> StopThingRegistrationTask
- stopThingRegistrationTask_taskId :: Lens' StopThingRegistrationTask Text
- data StopThingRegistrationTaskResponse = StopThingRegistrationTaskResponse' {
- httpStatus :: Int
- newStopThingRegistrationTaskResponse :: Int -> StopThingRegistrationTaskResponse
- stopThingRegistrationTaskResponse_httpStatus :: Lens' StopThingRegistrationTaskResponse Int
Creating a Request
data StopThingRegistrationTask Source #
See: newStopThingRegistrationTask smart constructor.
Constructors
| StopThingRegistrationTask' | |
Instances
newStopThingRegistrationTask Source #
Arguments
| :: Text | |
| -> StopThingRegistrationTask |
Create a value of StopThingRegistrationTask 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:
StopThingRegistrationTask, stopThingRegistrationTask_taskId - The bulk thing provisioning task ID.
Request Lenses
stopThingRegistrationTask_taskId :: Lens' StopThingRegistrationTask Text Source #
The bulk thing provisioning task ID.
Destructuring the Response
data StopThingRegistrationTaskResponse Source #
See: newStopThingRegistrationTaskResponse smart constructor.
Constructors
| StopThingRegistrationTaskResponse' | |
Fields
| |
Instances
newStopThingRegistrationTaskResponse Source #
Arguments
| :: Int | |
| -> StopThingRegistrationTaskResponse |
Create a value of StopThingRegistrationTaskResponse 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:httpStatus:StopThingRegistrationTaskResponse', stopThingRegistrationTaskResponse_httpStatus - The response's http status code.
Response Lenses
stopThingRegistrationTaskResponse_httpStatus :: Lens' StopThingRegistrationTaskResponse Int Source #
The response's http status code.