{-# 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.BatchAttachPolicyResponse
-- 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.BatchAttachPolicyResponse 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 an AttachPolicy response operation.
--
-- /See:/ 'newBatchAttachPolicyResponse' smart constructor.
data BatchAttachPolicyResponse = BatchAttachPolicyResponse'
  {
  }
  deriving (BatchAttachPolicyResponse -> BatchAttachPolicyResponse -> Bool
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]
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
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.
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)

-- |
-- Create a value of 'BatchAttachPolicyResponse' 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.
newBatchAttachPolicyResponse ::
  BatchAttachPolicyResponse
newBatchAttachPolicyResponse :: BatchAttachPolicyResponse
newBatchAttachPolicyResponse =
  BatchAttachPolicyResponse
BatchAttachPolicyResponse'

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

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

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