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 a policy. This operation is only permitted if no devices are currently referencing the policy.
See: Android Management API Reference for androidmanagement.enterprises.policies.delete
.
Synopsis
- type EnterprisesPoliciesDeleteResource = "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)))))))
- enterprisesPoliciesDelete :: Text -> EnterprisesPoliciesDelete
- data EnterprisesPoliciesDelete
- epdXgafv :: Lens' EnterprisesPoliciesDelete (Maybe Xgafv)
- epdUploadProtocol :: Lens' EnterprisesPoliciesDelete (Maybe Text)
- epdAccessToken :: Lens' EnterprisesPoliciesDelete (Maybe Text)
- epdUploadType :: Lens' EnterprisesPoliciesDelete (Maybe Text)
- epdName :: Lens' EnterprisesPoliciesDelete Text
- epdCallback :: Lens' EnterprisesPoliciesDelete (Maybe Text)
REST Resource
type EnterprisesPoliciesDeleteResource = "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 androidmanagement.enterprises.policies.delete
method which the
EnterprisesPoliciesDelete
request conforms to.
Creating a Request
enterprisesPoliciesDelete Source #
Creates a value of EnterprisesPoliciesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesPoliciesDelete Source #
Deletes a policy. This operation is only permitted if no devices are currently referencing the policy.
See: enterprisesPoliciesDelete
smart constructor.
Instances
Request Lenses
epdUploadProtocol :: Lens' EnterprisesPoliciesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
epdAccessToken :: Lens' EnterprisesPoliciesDelete (Maybe Text) Source #
OAuth access token.
epdUploadType :: Lens' EnterprisesPoliciesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
epdName :: Lens' EnterprisesPoliciesDelete Text Source #
The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.
epdCallback :: Lens' EnterprisesPoliciesDelete (Maybe Text) Source #
JSONP