{-# 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.BatchAttachPolicyResponse where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data BatchAttachPolicyResponse = BatchAttachPolicyResponse'
{
}
deriving (BatchAttachPolicyResponse -> BatchAttachPolicyResponse -> Bool
(BatchAttachPolicyResponse -> BatchAttachPolicyResponse -> Bool)
-> (BatchAttachPolicyResponse -> BatchAttachPolicyResponse -> Bool)
-> Eq BatchAttachPolicyResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchAttachPolicyResponse -> BatchAttachPolicyResponse -> Bool
$c/= :: BatchAttachPolicyResponse -> BatchAttachPolicyResponse -> Bool
== :: BatchAttachPolicyResponse -> BatchAttachPolicyResponse -> Bool
$c== :: BatchAttachPolicyResponse -> BatchAttachPolicyResponse -> Bool
Prelude.Eq, ReadPrec [BatchAttachPolicyResponse]
ReadPrec BatchAttachPolicyResponse
Int -> ReadS BatchAttachPolicyResponse
ReadS [BatchAttachPolicyResponse]
(Int -> ReadS BatchAttachPolicyResponse)
-> ReadS [BatchAttachPolicyResponse]
-> ReadPrec BatchAttachPolicyResponse
-> ReadPrec [BatchAttachPolicyResponse]
-> Read BatchAttachPolicyResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchAttachPolicyResponse]
$creadListPrec :: ReadPrec [BatchAttachPolicyResponse]
readPrec :: ReadPrec BatchAttachPolicyResponse
$creadPrec :: ReadPrec BatchAttachPolicyResponse
readList :: ReadS [BatchAttachPolicyResponse]
$creadList :: ReadS [BatchAttachPolicyResponse]
readsPrec :: Int -> ReadS BatchAttachPolicyResponse
$creadsPrec :: Int -> ReadS BatchAttachPolicyResponse
Prelude.Read, Int -> BatchAttachPolicyResponse -> ShowS
[BatchAttachPolicyResponse] -> ShowS
BatchAttachPolicyResponse -> String
(Int -> BatchAttachPolicyResponse -> ShowS)
-> (BatchAttachPolicyResponse -> String)
-> ([BatchAttachPolicyResponse] -> ShowS)
-> Show BatchAttachPolicyResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchAttachPolicyResponse] -> ShowS
$cshowList :: [BatchAttachPolicyResponse] -> ShowS
show :: BatchAttachPolicyResponse -> String
$cshow :: BatchAttachPolicyResponse -> String
showsPrec :: Int -> BatchAttachPolicyResponse -> ShowS
$cshowsPrec :: Int -> BatchAttachPolicyResponse -> ShowS
Prelude.Show, (forall x.
BatchAttachPolicyResponse -> Rep BatchAttachPolicyResponse x)
-> (forall x.
Rep BatchAttachPolicyResponse x -> BatchAttachPolicyResponse)
-> Generic BatchAttachPolicyResponse
forall x.
Rep BatchAttachPolicyResponse x -> BatchAttachPolicyResponse
forall x.
BatchAttachPolicyResponse -> Rep BatchAttachPolicyResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchAttachPolicyResponse x -> BatchAttachPolicyResponse
$cfrom :: forall x.
BatchAttachPolicyResponse -> Rep BatchAttachPolicyResponse x
Prelude.Generic)
newBatchAttachPolicyResponse ::
BatchAttachPolicyResponse
newBatchAttachPolicyResponse :: BatchAttachPolicyResponse
newBatchAttachPolicyResponse =
BatchAttachPolicyResponse
BatchAttachPolicyResponse'
instance Core.FromJSON BatchAttachPolicyResponse where
parseJSON :: Value -> Parser BatchAttachPolicyResponse
parseJSON =
String
-> (Object -> Parser BatchAttachPolicyResponse)
-> Value
-> Parser BatchAttachPolicyResponse
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"BatchAttachPolicyResponse"
(\Object
x -> BatchAttachPolicyResponse -> Parser BatchAttachPolicyResponse
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure BatchAttachPolicyResponse
BatchAttachPolicyResponse')
instance Prelude.Hashable BatchAttachPolicyResponse
instance Prelude.NFData BatchAttachPolicyResponse