{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Network.Google.Resource.AndroidEnterprise.Storelayoutclusters.Delete
(
StorelayoutclustersDeleteResource
, storelayoutclustersDelete
, StorelayoutclustersDelete
, sddEnterpriseId
, sddPageId
, sddClusterId
) where
import Network.Google.AndroidEnterprise.Types
import Network.Google.Prelude
type StorelayoutclustersDeleteResource =
"androidenterprise" :>
"v1" :>
"enterprises" :>
Capture "enterpriseId" Text :>
"storeLayout" :>
"pages" :>
Capture "pageId" Text :>
"clusters" :>
Capture "clusterId" Text :>
QueryParam "alt" AltJSON :> Delete '[JSON] ()
data StorelayoutclustersDelete = StorelayoutclustersDelete'
{ _sddEnterpriseId :: !Text
, _sddPageId :: !Text
, _sddClusterId :: !Text
} deriving (Eq,Show,Data,Typeable,Generic)
storelayoutclustersDelete
:: Text
-> Text
-> Text
-> StorelayoutclustersDelete
storelayoutclustersDelete pSddEnterpriseId_ pSddPageId_ pSddClusterId_ =
StorelayoutclustersDelete'
{ _sddEnterpriseId = pSddEnterpriseId_
, _sddPageId = pSddPageId_
, _sddClusterId = pSddClusterId_
}
sddEnterpriseId :: Lens' StorelayoutclustersDelete Text
sddEnterpriseId
= lens _sddEnterpriseId
(\ s a -> s{_sddEnterpriseId = a})
sddPageId :: Lens' StorelayoutclustersDelete Text
sddPageId
= lens _sddPageId (\ s a -> s{_sddPageId = a})
sddClusterId :: Lens' StorelayoutclustersDelete Text
sddClusterId
= lens _sddClusterId (\ s a -> s{_sddClusterId = a})
instance GoogleRequest StorelayoutclustersDelete
where
type Rs StorelayoutclustersDelete = ()
type Scopes StorelayoutclustersDelete =
'["https://www.googleapis.com/auth/androidenterprise"]
requestClient StorelayoutclustersDelete'{..}
= go _sddEnterpriseId _sddPageId _sddClusterId
(Just AltJSON)
androidEnterpriseService
where go
= buildClient
(Proxy :: Proxy StorelayoutclustersDeleteResource)
mempty