{-# 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.BatchDeleteObjectResponse
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.CloudDirectory.Types.BatchDeleteObjectResponse where

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

-- | Represents the output of a DeleteObject response operation.
--
-- /See:/ 'newBatchDeleteObjectResponse' smart constructor.
data BatchDeleteObjectResponse = BatchDeleteObjectResponse'
  {
  }
  deriving (BatchDeleteObjectResponse -> BatchDeleteObjectResponse -> Bool
(BatchDeleteObjectResponse -> BatchDeleteObjectResponse -> Bool)
-> (BatchDeleteObjectResponse -> BatchDeleteObjectResponse -> Bool)
-> Eq BatchDeleteObjectResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchDeleteObjectResponse -> BatchDeleteObjectResponse -> Bool
$c/= :: BatchDeleteObjectResponse -> BatchDeleteObjectResponse -> Bool
== :: BatchDeleteObjectResponse -> BatchDeleteObjectResponse -> Bool
$c== :: BatchDeleteObjectResponse -> BatchDeleteObjectResponse -> Bool
Prelude.Eq, ReadPrec [BatchDeleteObjectResponse]
ReadPrec BatchDeleteObjectResponse
Int -> ReadS BatchDeleteObjectResponse
ReadS [BatchDeleteObjectResponse]
(Int -> ReadS BatchDeleteObjectResponse)
-> ReadS [BatchDeleteObjectResponse]
-> ReadPrec BatchDeleteObjectResponse
-> ReadPrec [BatchDeleteObjectResponse]
-> Read BatchDeleteObjectResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchDeleteObjectResponse]
$creadListPrec :: ReadPrec [BatchDeleteObjectResponse]
readPrec :: ReadPrec BatchDeleteObjectResponse
$creadPrec :: ReadPrec BatchDeleteObjectResponse
readList :: ReadS [BatchDeleteObjectResponse]
$creadList :: ReadS [BatchDeleteObjectResponse]
readsPrec :: Int -> ReadS BatchDeleteObjectResponse
$creadsPrec :: Int -> ReadS BatchDeleteObjectResponse
Prelude.Read, Int -> BatchDeleteObjectResponse -> ShowS
[BatchDeleteObjectResponse] -> ShowS
BatchDeleteObjectResponse -> String
(Int -> BatchDeleteObjectResponse -> ShowS)
-> (BatchDeleteObjectResponse -> String)
-> ([BatchDeleteObjectResponse] -> ShowS)
-> Show BatchDeleteObjectResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchDeleteObjectResponse] -> ShowS
$cshowList :: [BatchDeleteObjectResponse] -> ShowS
show :: BatchDeleteObjectResponse -> String
$cshow :: BatchDeleteObjectResponse -> String
showsPrec :: Int -> BatchDeleteObjectResponse -> ShowS
$cshowsPrec :: Int -> BatchDeleteObjectResponse -> ShowS
Prelude.Show, (forall x.
 BatchDeleteObjectResponse -> Rep BatchDeleteObjectResponse x)
-> (forall x.
    Rep BatchDeleteObjectResponse x -> BatchDeleteObjectResponse)
-> Generic BatchDeleteObjectResponse
forall x.
Rep BatchDeleteObjectResponse x -> BatchDeleteObjectResponse
forall x.
BatchDeleteObjectResponse -> Rep BatchDeleteObjectResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchDeleteObjectResponse x -> BatchDeleteObjectResponse
$cfrom :: forall x.
BatchDeleteObjectResponse -> Rep BatchDeleteObjectResponse x
Prelude.Generic)

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

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

instance Prelude.Hashable BatchDeleteObjectResponse

instance Prelude.NFData BatchDeleteObjectResponse