{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.CloudDirectory.Types.BatchDetachPolicyResponse
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.CloudDirectory.Types.BatchDetachPolicyResponse where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | Represents the output of a DetachPolicy response operation.
--
-- /See:/ 'newBatchDetachPolicyResponse' smart constructor.
data BatchDetachPolicyResponse = BatchDetachPolicyResponse'
  {
  }
  deriving (BatchDetachPolicyResponse -> BatchDetachPolicyResponse -> Bool
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]
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
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.
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)

-- |
-- Create a value of 'BatchDetachPolicyResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
newBatchDetachPolicyResponse ::
  BatchDetachPolicyResponse
newBatchDetachPolicyResponse :: BatchDetachPolicyResponse
newBatchDetachPolicyResponse =
  BatchDetachPolicyResponse
BatchDetachPolicyResponse'

instance Data.FromJSON BatchDetachPolicyResponse where
  parseJSON :: Value -> Parser BatchDetachPolicyResponse
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"BatchDetachPolicyResponse"
      (\Object
x -> forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure BatchDetachPolicyResponse
BatchDetachPolicyResponse')

instance Prelude.Hashable BatchDetachPolicyResponse where
  hashWithSalt :: Int -> BatchDetachPolicyResponse -> Int
hashWithSalt Int
_salt BatchDetachPolicyResponse
_ =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ()

instance Prelude.NFData BatchDetachPolicyResponse where
  rnf :: BatchDetachPolicyResponse -> ()
rnf BatchDetachPolicyResponse
_ = ()