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 |
Deletes an unused configuration. The API call fails if the customer has devices with the configuration applied.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.customers.configurations.delete
.
Synopsis
- type CustomersConfigurationsDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- customersConfigurationsDelete :: Text -> CustomersConfigurationsDelete
- data CustomersConfigurationsDelete
- ccdXgafv :: Lens' CustomersConfigurationsDelete (Maybe Xgafv)
- ccdUploadProtocol :: Lens' CustomersConfigurationsDelete (Maybe Text)
- ccdAccessToken :: Lens' CustomersConfigurationsDelete (Maybe Text)
- ccdUploadType :: Lens' CustomersConfigurationsDelete (Maybe Text)
- ccdName :: Lens' CustomersConfigurationsDelete Text
- ccdCallback :: Lens' CustomersConfigurationsDelete (Maybe Text)
REST Resource
type CustomersConfigurationsDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #
A resource alias for androiddeviceprovisioning.customers.configurations.delete
method which the
CustomersConfigurationsDelete
request conforms to.
Creating a Request
customersConfigurationsDelete Source #
Creates a value of CustomersConfigurationsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersConfigurationsDelete Source #
Deletes an unused configuration. The API call fails if the customer has devices with the configuration applied.
See: customersConfigurationsDelete
smart constructor.
Instances
Request Lenses
ccdUploadProtocol :: Lens' CustomersConfigurationsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ccdAccessToken :: Lens' CustomersConfigurationsDelete (Maybe Text) Source #
OAuth access token.
ccdUploadType :: Lens' CustomersConfigurationsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ccdName :: Lens' CustomersConfigurationsDelete Text Source #
Required. The configuration to delete. An API resource name in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. If the configuration is applied to any devices, the API call fails.
ccdCallback :: Lens' CustomersConfigurationsDelete (Maybe Text) Source #
JSONP