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 |
Disassociate a list of client devices from a core device. After you disassociate a client device from a core device, the client device won't be able to use cloud discovery to retrieve the core device's connectivity information and certificates.
Synopsis
- data BatchDisassociateClientDeviceFromCoreDevice = BatchDisassociateClientDeviceFromCoreDevice' {}
- newBatchDisassociateClientDeviceFromCoreDevice :: Text -> BatchDisassociateClientDeviceFromCoreDevice
- batchDisassociateClientDeviceFromCoreDevice_entries :: Lens' BatchDisassociateClientDeviceFromCoreDevice (Maybe (NonEmpty DisassociateClientDeviceFromCoreDeviceEntry))
- batchDisassociateClientDeviceFromCoreDevice_coreDeviceThingName :: Lens' BatchDisassociateClientDeviceFromCoreDevice Text
- data BatchDisassociateClientDeviceFromCoreDeviceResponse = BatchDisassociateClientDeviceFromCoreDeviceResponse' {}
- newBatchDisassociateClientDeviceFromCoreDeviceResponse :: Int -> BatchDisassociateClientDeviceFromCoreDeviceResponse
- batchDisassociateClientDeviceFromCoreDeviceResponse_errorEntries :: Lens' BatchDisassociateClientDeviceFromCoreDeviceResponse (Maybe (NonEmpty DisassociateClientDeviceFromCoreDeviceErrorEntry))
- batchDisassociateClientDeviceFromCoreDeviceResponse_httpStatus :: Lens' BatchDisassociateClientDeviceFromCoreDeviceResponse Int
Creating a Request
data BatchDisassociateClientDeviceFromCoreDevice Source #
See: newBatchDisassociateClientDeviceFromCoreDevice
smart constructor.
BatchDisassociateClientDeviceFromCoreDevice' | |
|
Instances
newBatchDisassociateClientDeviceFromCoreDevice Source #
:: Text |
|
-> BatchDisassociateClientDeviceFromCoreDevice |
Create a value of BatchDisassociateClientDeviceFromCoreDevice
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:entries:BatchDisassociateClientDeviceFromCoreDevice'
, batchDisassociateClientDeviceFromCoreDevice_entries
- The list of client devices to disassociate.
$sel:coreDeviceThingName:BatchDisassociateClientDeviceFromCoreDevice'
, batchDisassociateClientDeviceFromCoreDevice_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
Request Lenses
batchDisassociateClientDeviceFromCoreDevice_entries :: Lens' BatchDisassociateClientDeviceFromCoreDevice (Maybe (NonEmpty DisassociateClientDeviceFromCoreDeviceEntry)) Source #
The list of client devices to disassociate.
batchDisassociateClientDeviceFromCoreDevice_coreDeviceThingName :: Lens' BatchDisassociateClientDeviceFromCoreDevice Text Source #
The name of the core device. This is also the name of the IoT thing.
Destructuring the Response
data BatchDisassociateClientDeviceFromCoreDeviceResponse Source #
See: newBatchDisassociateClientDeviceFromCoreDeviceResponse
smart constructor.
BatchDisassociateClientDeviceFromCoreDeviceResponse' | |
|
Instances
newBatchDisassociateClientDeviceFromCoreDeviceResponse Source #
:: Int |
|
-> BatchDisassociateClientDeviceFromCoreDeviceResponse |
Create a value of BatchDisassociateClientDeviceFromCoreDeviceResponse
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:errorEntries:BatchDisassociateClientDeviceFromCoreDeviceResponse'
, batchDisassociateClientDeviceFromCoreDeviceResponse_errorEntries
- The list of errors (if any) for the entries in the request. Each error
entry contains the name of the IoT thing that failed to disassociate.
$sel:httpStatus:BatchDisassociateClientDeviceFromCoreDeviceResponse'
, batchDisassociateClientDeviceFromCoreDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
batchDisassociateClientDeviceFromCoreDeviceResponse_errorEntries :: Lens' BatchDisassociateClientDeviceFromCoreDeviceResponse (Maybe (NonEmpty DisassociateClientDeviceFromCoreDeviceErrorEntry)) Source #
The list of errors (if any) for the entries in the request. Each error entry contains the name of the IoT thing that failed to disassociate.
batchDisassociateClientDeviceFromCoreDeviceResponse_httpStatus :: Lens' BatchDisassociateClientDeviceFromCoreDeviceResponse Int Source #
The response's http status code.