Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read Long‑running batch operations.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.partners.devices.unclaimAsync
.
Synopsis
- type PartnersDevicesUnclaimAsyncResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("devices:unclaimAsync" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UnclaimDevicesRequest :> Post '[JSON] Operation))))))))))
- partnersDevicesUnclaimAsync :: Int64 -> UnclaimDevicesRequest -> PartnersDevicesUnclaimAsync
- data PartnersDevicesUnclaimAsync
- pduaXgafv :: Lens' PartnersDevicesUnclaimAsync (Maybe Xgafv)
- pduaUploadProtocol :: Lens' PartnersDevicesUnclaimAsync (Maybe Text)
- pduaAccessToken :: Lens' PartnersDevicesUnclaimAsync (Maybe Text)
- pduaPartnerId :: Lens' PartnersDevicesUnclaimAsync Int64
- pduaUploadType :: Lens' PartnersDevicesUnclaimAsync (Maybe Text)
- pduaPayload :: Lens' PartnersDevicesUnclaimAsync UnclaimDevicesRequest
- pduaCallback :: Lens' PartnersDevicesUnclaimAsync (Maybe Text)
REST Resource
type PartnersDevicesUnclaimAsyncResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("devices:unclaimAsync" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UnclaimDevicesRequest :> Post '[JSON] Operation)))))))))) Source #
A resource alias for androiddeviceprovisioning.partners.devices.unclaimAsync
method which the
PartnersDevicesUnclaimAsync
request conforms to.
Creating a Request
partnersDevicesUnclaimAsync Source #
Creates a value of PartnersDevicesUnclaimAsync
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PartnersDevicesUnclaimAsync Source #
Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read Long‑running batch operations.
See: partnersDevicesUnclaimAsync
smart constructor.
Instances
Request Lenses
pduaUploadProtocol :: Lens' PartnersDevicesUnclaimAsync (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pduaAccessToken :: Lens' PartnersDevicesUnclaimAsync (Maybe Text) Source #
OAuth access token.
pduaPartnerId :: Lens' PartnersDevicesUnclaimAsync Int64 Source #
Required. The reseller partner ID.
pduaUploadType :: Lens' PartnersDevicesUnclaimAsync (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pduaPayload :: Lens' PartnersDevicesUnclaimAsync UnclaimDevicesRequest Source #
Multipart request metadata.
pduaCallback :: Lens' PartnersDevicesUnclaimAsync (Maybe Text) Source #
JSONP