{-# 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.IAM.DeleteAccountPasswordPolicy
(
deleteAccountPasswordPolicy
, DeleteAccountPasswordPolicy
, deleteAccountPasswordPolicyResponse
, DeleteAccountPasswordPolicyResponse
) where
import Network.AWS.IAM.Types
import Network.AWS.IAM.Types.Product
import Network.AWS.Lens
import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response
data DeleteAccountPasswordPolicy =
DeleteAccountPasswordPolicy'
deriving (Eq, Read, Show, Data, Typeable, Generic)
deleteAccountPasswordPolicy
:: DeleteAccountPasswordPolicy
deleteAccountPasswordPolicy = DeleteAccountPasswordPolicy'
instance AWSRequest DeleteAccountPasswordPolicy where
type Rs DeleteAccountPasswordPolicy =
DeleteAccountPasswordPolicyResponse
request = postQuery iam
response
= receiveNull DeleteAccountPasswordPolicyResponse'
instance Hashable DeleteAccountPasswordPolicy where
instance NFData DeleteAccountPasswordPolicy where
instance ToHeaders DeleteAccountPasswordPolicy where
toHeaders = const mempty
instance ToPath DeleteAccountPasswordPolicy where
toPath = const "/"
instance ToQuery DeleteAccountPasswordPolicy where
toQuery
= const
(mconcat
["Action" =:
("DeleteAccountPasswordPolicy" :: ByteString),
"Version" =: ("2010-05-08" :: ByteString)])
data DeleteAccountPasswordPolicyResponse =
DeleteAccountPasswordPolicyResponse'
deriving (Eq, Read, Show, Data, Typeable, Generic)
deleteAccountPasswordPolicyResponse
:: DeleteAccountPasswordPolicyResponse
deleteAccountPasswordPolicyResponse = DeleteAccountPasswordPolicyResponse'
instance NFData DeleteAccountPasswordPolicyResponse
where