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 |
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 #
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:
$sel:taskId: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.