{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Network.AWS.ElasticSearch.DeleteElasticsearchServiceRole
(
deleteElasticsearchServiceRole
, DeleteElasticsearchServiceRole
, deleteElasticsearchServiceRoleResponse
, DeleteElasticsearchServiceRoleResponse
) where
import Network.AWS.ElasticSearch.Types
import Network.AWS.ElasticSearch.Types.Product
import Network.AWS.Lens
import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response
data DeleteElasticsearchServiceRole =
DeleteElasticsearchServiceRole'
deriving (Eq, Read, Show, Data, Typeable, Generic)
deleteElasticsearchServiceRole
:: DeleteElasticsearchServiceRole
deleteElasticsearchServiceRole = DeleteElasticsearchServiceRole'
instance AWSRequest DeleteElasticsearchServiceRole
where
type Rs DeleteElasticsearchServiceRole =
DeleteElasticsearchServiceRoleResponse
request = delete elasticSearch
response
= receiveNull DeleteElasticsearchServiceRoleResponse'
instance Hashable DeleteElasticsearchServiceRole
where
instance NFData DeleteElasticsearchServiceRole where
instance ToHeaders DeleteElasticsearchServiceRole
where
toHeaders = const mempty
instance ToPath DeleteElasticsearchServiceRole where
toPath = const "/2015-01-01/es/role"
instance ToQuery DeleteElasticsearchServiceRole where
toQuery = const mempty
data DeleteElasticsearchServiceRoleResponse =
DeleteElasticsearchServiceRoleResponse'
deriving (Eq, Read, Show, Data, Typeable, Generic)
deleteElasticsearchServiceRoleResponse
:: DeleteElasticsearchServiceRoleResponse
deleteElasticsearchServiceRoleResponse = DeleteElasticsearchServiceRoleResponse'
instance NFData
DeleteElasticsearchServiceRoleResponse
where