{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.CloudDirectory.Types.BatchDetachPolicyResponse where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data BatchDetachPolicyResponse = BatchDetachPolicyResponse'
{
}
deriving (BatchDetachPolicyResponse -> BatchDetachPolicyResponse -> Bool
(BatchDetachPolicyResponse -> BatchDetachPolicyResponse -> Bool)
-> (BatchDetachPolicyResponse -> BatchDetachPolicyResponse -> Bool)
-> Eq BatchDetachPolicyResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchDetachPolicyResponse -> BatchDetachPolicyResponse -> Bool
$c/= :: BatchDetachPolicyResponse -> BatchDetachPolicyResponse -> Bool
== :: BatchDetachPolicyResponse -> BatchDetachPolicyResponse -> Bool
$c== :: BatchDetachPolicyResponse -> BatchDetachPolicyResponse -> Bool
Prelude.Eq, ReadPrec [BatchDetachPolicyResponse]
ReadPrec BatchDetachPolicyResponse
Int -> ReadS BatchDetachPolicyResponse
ReadS [BatchDetachPolicyResponse]
(Int -> ReadS BatchDetachPolicyResponse)
-> ReadS [BatchDetachPolicyResponse]
-> ReadPrec BatchDetachPolicyResponse
-> ReadPrec [BatchDetachPolicyResponse]
-> Read BatchDetachPolicyResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchDetachPolicyResponse]
$creadListPrec :: ReadPrec [BatchDetachPolicyResponse]
readPrec :: ReadPrec BatchDetachPolicyResponse
$creadPrec :: ReadPrec BatchDetachPolicyResponse
readList :: ReadS [BatchDetachPolicyResponse]
$creadList :: ReadS [BatchDetachPolicyResponse]
readsPrec :: Int -> ReadS BatchDetachPolicyResponse
$creadsPrec :: Int -> ReadS BatchDetachPolicyResponse
Prelude.Read, Int -> BatchDetachPolicyResponse -> ShowS
[BatchDetachPolicyResponse] -> ShowS
BatchDetachPolicyResponse -> String
(Int -> BatchDetachPolicyResponse -> ShowS)
-> (BatchDetachPolicyResponse -> String)
-> ([BatchDetachPolicyResponse] -> ShowS)
-> Show BatchDetachPolicyResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchDetachPolicyResponse] -> ShowS
$cshowList :: [BatchDetachPolicyResponse] -> ShowS
show :: BatchDetachPolicyResponse -> String
$cshow :: BatchDetachPolicyResponse -> String
showsPrec :: Int -> BatchDetachPolicyResponse -> ShowS
$cshowsPrec :: Int -> BatchDetachPolicyResponse -> ShowS
Prelude.Show, (forall x.
BatchDetachPolicyResponse -> Rep BatchDetachPolicyResponse x)
-> (forall x.
Rep BatchDetachPolicyResponse x -> BatchDetachPolicyResponse)
-> Generic BatchDetachPolicyResponse
forall x.
Rep BatchDetachPolicyResponse x -> BatchDetachPolicyResponse
forall x.
BatchDetachPolicyResponse -> Rep BatchDetachPolicyResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchDetachPolicyResponse x -> BatchDetachPolicyResponse
$cfrom :: forall x.
BatchDetachPolicyResponse -> Rep BatchDetachPolicyResponse x
Prelude.Generic)
newBatchDetachPolicyResponse ::
BatchDetachPolicyResponse
newBatchDetachPolicyResponse :: BatchDetachPolicyResponse
newBatchDetachPolicyResponse =
BatchDetachPolicyResponse
BatchDetachPolicyResponse'
instance Core.FromJSON BatchDetachPolicyResponse where
parseJSON :: Value -> Parser BatchDetachPolicyResponse
parseJSON =
String
-> (Object -> Parser BatchDetachPolicyResponse)
-> Value
-> Parser BatchDetachPolicyResponse
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"BatchDetachPolicyResponse"
(\Object
x -> BatchDetachPolicyResponse -> Parser BatchDetachPolicyResponse
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure BatchDetachPolicyResponse
BatchDetachPolicyResponse')
instance Prelude.Hashable BatchDetachPolicyResponse
instance Prelude.NFData BatchDetachPolicyResponse