{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Glue.BatchDeletePartition
(
BatchDeletePartition (..),
newBatchDeletePartition,
batchDeletePartition_catalogId,
batchDeletePartition_databaseName,
batchDeletePartition_tableName,
batchDeletePartition_partitionsToDelete,
BatchDeletePartitionResponse (..),
newBatchDeletePartitionResponse,
batchDeletePartitionResponse_errors,
batchDeletePartitionResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.Glue.Types
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data BatchDeletePartition = BatchDeletePartition'
{
BatchDeletePartition -> Maybe Text
catalogId :: Prelude.Maybe Prelude.Text,
BatchDeletePartition -> Text
databaseName :: Prelude.Text,
BatchDeletePartition -> Text
tableName :: Prelude.Text,
BatchDeletePartition -> [PartitionValueList]
partitionsToDelete :: [PartitionValueList]
}
deriving (BatchDeletePartition -> BatchDeletePartition -> Bool
(BatchDeletePartition -> BatchDeletePartition -> Bool)
-> (BatchDeletePartition -> BatchDeletePartition -> Bool)
-> Eq BatchDeletePartition
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchDeletePartition -> BatchDeletePartition -> Bool
$c/= :: BatchDeletePartition -> BatchDeletePartition -> Bool
== :: BatchDeletePartition -> BatchDeletePartition -> Bool
$c== :: BatchDeletePartition -> BatchDeletePartition -> Bool
Prelude.Eq, ReadPrec [BatchDeletePartition]
ReadPrec BatchDeletePartition
Int -> ReadS BatchDeletePartition
ReadS [BatchDeletePartition]
(Int -> ReadS BatchDeletePartition)
-> ReadS [BatchDeletePartition]
-> ReadPrec BatchDeletePartition
-> ReadPrec [BatchDeletePartition]
-> Read BatchDeletePartition
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchDeletePartition]
$creadListPrec :: ReadPrec [BatchDeletePartition]
readPrec :: ReadPrec BatchDeletePartition
$creadPrec :: ReadPrec BatchDeletePartition
readList :: ReadS [BatchDeletePartition]
$creadList :: ReadS [BatchDeletePartition]
readsPrec :: Int -> ReadS BatchDeletePartition
$creadsPrec :: Int -> ReadS BatchDeletePartition
Prelude.Read, Int -> BatchDeletePartition -> ShowS
[BatchDeletePartition] -> ShowS
BatchDeletePartition -> String
(Int -> BatchDeletePartition -> ShowS)
-> (BatchDeletePartition -> String)
-> ([BatchDeletePartition] -> ShowS)
-> Show BatchDeletePartition
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchDeletePartition] -> ShowS
$cshowList :: [BatchDeletePartition] -> ShowS
show :: BatchDeletePartition -> String
$cshow :: BatchDeletePartition -> String
showsPrec :: Int -> BatchDeletePartition -> ShowS
$cshowsPrec :: Int -> BatchDeletePartition -> ShowS
Prelude.Show, (forall x. BatchDeletePartition -> Rep BatchDeletePartition x)
-> (forall x. Rep BatchDeletePartition x -> BatchDeletePartition)
-> Generic BatchDeletePartition
forall x. Rep BatchDeletePartition x -> BatchDeletePartition
forall x. BatchDeletePartition -> Rep BatchDeletePartition x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BatchDeletePartition x -> BatchDeletePartition
$cfrom :: forall x. BatchDeletePartition -> Rep BatchDeletePartition x
Prelude.Generic)
newBatchDeletePartition ::
Prelude.Text ->
Prelude.Text ->
BatchDeletePartition
newBatchDeletePartition :: Text -> Text -> BatchDeletePartition
newBatchDeletePartition Text
pDatabaseName_ Text
pTableName_ =
BatchDeletePartition' :: Maybe Text
-> Text -> Text -> [PartitionValueList] -> BatchDeletePartition
BatchDeletePartition'
{ $sel:catalogId:BatchDeletePartition' :: Maybe Text
catalogId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:databaseName:BatchDeletePartition' :: Text
databaseName = Text
pDatabaseName_,
$sel:tableName:BatchDeletePartition' :: Text
tableName = Text
pTableName_,
$sel:partitionsToDelete:BatchDeletePartition' :: [PartitionValueList]
partitionsToDelete = [PartitionValueList]
forall a. Monoid a => a
Prelude.mempty
}
batchDeletePartition_catalogId :: Lens.Lens' BatchDeletePartition (Prelude.Maybe Prelude.Text)
batchDeletePartition_catalogId :: (Maybe Text -> f (Maybe Text))
-> BatchDeletePartition -> f BatchDeletePartition
batchDeletePartition_catalogId = (BatchDeletePartition -> Maybe Text)
-> (BatchDeletePartition -> Maybe Text -> BatchDeletePartition)
-> Lens
BatchDeletePartition BatchDeletePartition (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeletePartition' {Maybe Text
catalogId :: Maybe Text
$sel:catalogId:BatchDeletePartition' :: BatchDeletePartition -> Maybe Text
catalogId} -> Maybe Text
catalogId) (\s :: BatchDeletePartition
s@BatchDeletePartition' {} Maybe Text
a -> BatchDeletePartition
s {$sel:catalogId:BatchDeletePartition' :: Maybe Text
catalogId = Maybe Text
a} :: BatchDeletePartition)
batchDeletePartition_databaseName :: Lens.Lens' BatchDeletePartition Prelude.Text
batchDeletePartition_databaseName :: (Text -> f Text) -> BatchDeletePartition -> f BatchDeletePartition
batchDeletePartition_databaseName = (BatchDeletePartition -> Text)
-> (BatchDeletePartition -> Text -> BatchDeletePartition)
-> Lens BatchDeletePartition BatchDeletePartition Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeletePartition' {Text
databaseName :: Text
$sel:databaseName:BatchDeletePartition' :: BatchDeletePartition -> Text
databaseName} -> Text
databaseName) (\s :: BatchDeletePartition
s@BatchDeletePartition' {} Text
a -> BatchDeletePartition
s {$sel:databaseName:BatchDeletePartition' :: Text
databaseName = Text
a} :: BatchDeletePartition)
batchDeletePartition_tableName :: Lens.Lens' BatchDeletePartition Prelude.Text
batchDeletePartition_tableName :: (Text -> f Text) -> BatchDeletePartition -> f BatchDeletePartition
batchDeletePartition_tableName = (BatchDeletePartition -> Text)
-> (BatchDeletePartition -> Text -> BatchDeletePartition)
-> Lens BatchDeletePartition BatchDeletePartition Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeletePartition' {Text
tableName :: Text
$sel:tableName:BatchDeletePartition' :: BatchDeletePartition -> Text
tableName} -> Text
tableName) (\s :: BatchDeletePartition
s@BatchDeletePartition' {} Text
a -> BatchDeletePartition
s {$sel:tableName:BatchDeletePartition' :: Text
tableName = Text
a} :: BatchDeletePartition)
batchDeletePartition_partitionsToDelete :: Lens.Lens' BatchDeletePartition [PartitionValueList]
batchDeletePartition_partitionsToDelete :: ([PartitionValueList] -> f [PartitionValueList])
-> BatchDeletePartition -> f BatchDeletePartition
batchDeletePartition_partitionsToDelete = (BatchDeletePartition -> [PartitionValueList])
-> (BatchDeletePartition
-> [PartitionValueList] -> BatchDeletePartition)
-> Lens
BatchDeletePartition
BatchDeletePartition
[PartitionValueList]
[PartitionValueList]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeletePartition' {[PartitionValueList]
partitionsToDelete :: [PartitionValueList]
$sel:partitionsToDelete:BatchDeletePartition' :: BatchDeletePartition -> [PartitionValueList]
partitionsToDelete} -> [PartitionValueList]
partitionsToDelete) (\s :: BatchDeletePartition
s@BatchDeletePartition' {} [PartitionValueList]
a -> BatchDeletePartition
s {$sel:partitionsToDelete:BatchDeletePartition' :: [PartitionValueList]
partitionsToDelete = [PartitionValueList]
a} :: BatchDeletePartition) (([PartitionValueList] -> f [PartitionValueList])
-> BatchDeletePartition -> f BatchDeletePartition)
-> (([PartitionValueList] -> f [PartitionValueList])
-> [PartitionValueList] -> f [PartitionValueList])
-> ([PartitionValueList] -> f [PartitionValueList])
-> BatchDeletePartition
-> f BatchDeletePartition
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([PartitionValueList] -> f [PartitionValueList])
-> [PartitionValueList] -> f [PartitionValueList]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest BatchDeletePartition where
type
AWSResponse BatchDeletePartition =
BatchDeletePartitionResponse
request :: BatchDeletePartition -> Request BatchDeletePartition
request = Service -> BatchDeletePartition -> Request BatchDeletePartition
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy BatchDeletePartition
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse BatchDeletePartition)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse BatchDeletePartition))
-> Logger
-> Service
-> Proxy BatchDeletePartition
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse BatchDeletePartition)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe [PartitionError] -> Int -> BatchDeletePartitionResponse
BatchDeletePartitionResponse'
(Maybe [PartitionError] -> Int -> BatchDeletePartitionResponse)
-> Either String (Maybe [PartitionError])
-> Either String (Int -> BatchDeletePartitionResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [PartitionError]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Errors" Either String (Maybe (Maybe [PartitionError]))
-> Maybe [PartitionError] -> Either String (Maybe [PartitionError])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [PartitionError]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> BatchDeletePartitionResponse)
-> Either String Int -> Either String BatchDeletePartitionResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable BatchDeletePartition
instance Prelude.NFData BatchDeletePartition
instance Core.ToHeaders BatchDeletePartition where
toHeaders :: BatchDeletePartition -> ResponseHeaders
toHeaders =
ResponseHeaders -> BatchDeletePartition -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"AWSGlue.BatchDeletePartition" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON BatchDeletePartition where
toJSON :: BatchDeletePartition -> Value
toJSON BatchDeletePartition' {[PartitionValueList]
Maybe Text
Text
partitionsToDelete :: [PartitionValueList]
tableName :: Text
databaseName :: Text
catalogId :: Maybe Text
$sel:partitionsToDelete:BatchDeletePartition' :: BatchDeletePartition -> [PartitionValueList]
$sel:tableName:BatchDeletePartition' :: BatchDeletePartition -> Text
$sel:databaseName:BatchDeletePartition' :: BatchDeletePartition -> Text
$sel:catalogId:BatchDeletePartition' :: BatchDeletePartition -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"CatalogId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
catalogId,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"DatabaseName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
databaseName),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"TableName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
tableName),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"PartitionsToDelete" Text -> [PartitionValueList] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= [PartitionValueList]
partitionsToDelete)
]
)
instance Core.ToPath BatchDeletePartition where
toPath :: BatchDeletePartition -> ByteString
toPath = ByteString -> BatchDeletePartition -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery BatchDeletePartition where
toQuery :: BatchDeletePartition -> QueryString
toQuery = QueryString -> BatchDeletePartition -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data BatchDeletePartitionResponse = BatchDeletePartitionResponse'
{
BatchDeletePartitionResponse -> Maybe [PartitionError]
errors :: Prelude.Maybe [PartitionError],
BatchDeletePartitionResponse -> Int
httpStatus :: Prelude.Int
}
deriving (BatchDeletePartitionResponse
-> BatchDeletePartitionResponse -> Bool
(BatchDeletePartitionResponse
-> BatchDeletePartitionResponse -> Bool)
-> (BatchDeletePartitionResponse
-> BatchDeletePartitionResponse -> Bool)
-> Eq BatchDeletePartitionResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchDeletePartitionResponse
-> BatchDeletePartitionResponse -> Bool
$c/= :: BatchDeletePartitionResponse
-> BatchDeletePartitionResponse -> Bool
== :: BatchDeletePartitionResponse
-> BatchDeletePartitionResponse -> Bool
$c== :: BatchDeletePartitionResponse
-> BatchDeletePartitionResponse -> Bool
Prelude.Eq, ReadPrec [BatchDeletePartitionResponse]
ReadPrec BatchDeletePartitionResponse
Int -> ReadS BatchDeletePartitionResponse
ReadS [BatchDeletePartitionResponse]
(Int -> ReadS BatchDeletePartitionResponse)
-> ReadS [BatchDeletePartitionResponse]
-> ReadPrec BatchDeletePartitionResponse
-> ReadPrec [BatchDeletePartitionResponse]
-> Read BatchDeletePartitionResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchDeletePartitionResponse]
$creadListPrec :: ReadPrec [BatchDeletePartitionResponse]
readPrec :: ReadPrec BatchDeletePartitionResponse
$creadPrec :: ReadPrec BatchDeletePartitionResponse
readList :: ReadS [BatchDeletePartitionResponse]
$creadList :: ReadS [BatchDeletePartitionResponse]
readsPrec :: Int -> ReadS BatchDeletePartitionResponse
$creadsPrec :: Int -> ReadS BatchDeletePartitionResponse
Prelude.Read, Int -> BatchDeletePartitionResponse -> ShowS
[BatchDeletePartitionResponse] -> ShowS
BatchDeletePartitionResponse -> String
(Int -> BatchDeletePartitionResponse -> ShowS)
-> (BatchDeletePartitionResponse -> String)
-> ([BatchDeletePartitionResponse] -> ShowS)
-> Show BatchDeletePartitionResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchDeletePartitionResponse] -> ShowS
$cshowList :: [BatchDeletePartitionResponse] -> ShowS
show :: BatchDeletePartitionResponse -> String
$cshow :: BatchDeletePartitionResponse -> String
showsPrec :: Int -> BatchDeletePartitionResponse -> ShowS
$cshowsPrec :: Int -> BatchDeletePartitionResponse -> ShowS
Prelude.Show, (forall x.
BatchDeletePartitionResponse -> Rep BatchDeletePartitionResponse x)
-> (forall x.
Rep BatchDeletePartitionResponse x -> BatchDeletePartitionResponse)
-> Generic BatchDeletePartitionResponse
forall x.
Rep BatchDeletePartitionResponse x -> BatchDeletePartitionResponse
forall x.
BatchDeletePartitionResponse -> Rep BatchDeletePartitionResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchDeletePartitionResponse x -> BatchDeletePartitionResponse
$cfrom :: forall x.
BatchDeletePartitionResponse -> Rep BatchDeletePartitionResponse x
Prelude.Generic)
newBatchDeletePartitionResponse ::
Prelude.Int ->
BatchDeletePartitionResponse
newBatchDeletePartitionResponse :: Int -> BatchDeletePartitionResponse
newBatchDeletePartitionResponse Int
pHttpStatus_ =
BatchDeletePartitionResponse' :: Maybe [PartitionError] -> Int -> BatchDeletePartitionResponse
BatchDeletePartitionResponse'
{ $sel:errors:BatchDeletePartitionResponse' :: Maybe [PartitionError]
errors =
Maybe [PartitionError]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:BatchDeletePartitionResponse' :: Int
httpStatus = Int
pHttpStatus_
}
batchDeletePartitionResponse_errors :: Lens.Lens' BatchDeletePartitionResponse (Prelude.Maybe [PartitionError])
batchDeletePartitionResponse_errors :: (Maybe [PartitionError] -> f (Maybe [PartitionError]))
-> BatchDeletePartitionResponse -> f BatchDeletePartitionResponse
batchDeletePartitionResponse_errors = (BatchDeletePartitionResponse -> Maybe [PartitionError])
-> (BatchDeletePartitionResponse
-> Maybe [PartitionError] -> BatchDeletePartitionResponse)
-> Lens
BatchDeletePartitionResponse
BatchDeletePartitionResponse
(Maybe [PartitionError])
(Maybe [PartitionError])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeletePartitionResponse' {Maybe [PartitionError]
errors :: Maybe [PartitionError]
$sel:errors:BatchDeletePartitionResponse' :: BatchDeletePartitionResponse -> Maybe [PartitionError]
errors} -> Maybe [PartitionError]
errors) (\s :: BatchDeletePartitionResponse
s@BatchDeletePartitionResponse' {} Maybe [PartitionError]
a -> BatchDeletePartitionResponse
s {$sel:errors:BatchDeletePartitionResponse' :: Maybe [PartitionError]
errors = Maybe [PartitionError]
a} :: BatchDeletePartitionResponse) ((Maybe [PartitionError] -> f (Maybe [PartitionError]))
-> BatchDeletePartitionResponse -> f BatchDeletePartitionResponse)
-> ((Maybe [PartitionError] -> f (Maybe [PartitionError]))
-> Maybe [PartitionError] -> f (Maybe [PartitionError]))
-> (Maybe [PartitionError] -> f (Maybe [PartitionError]))
-> BatchDeletePartitionResponse
-> f BatchDeletePartitionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[PartitionError] [PartitionError] [PartitionError] [PartitionError]
-> Iso
(Maybe [PartitionError])
(Maybe [PartitionError])
(Maybe [PartitionError])
(Maybe [PartitionError])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[PartitionError] [PartitionError] [PartitionError] [PartitionError]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
batchDeletePartitionResponse_httpStatus :: Lens.Lens' BatchDeletePartitionResponse Prelude.Int
batchDeletePartitionResponse_httpStatus :: (Int -> f Int)
-> BatchDeletePartitionResponse -> f BatchDeletePartitionResponse
batchDeletePartitionResponse_httpStatus = (BatchDeletePartitionResponse -> Int)
-> (BatchDeletePartitionResponse
-> Int -> BatchDeletePartitionResponse)
-> Lens
BatchDeletePartitionResponse BatchDeletePartitionResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeletePartitionResponse' {Int
httpStatus :: Int
$sel:httpStatus:BatchDeletePartitionResponse' :: BatchDeletePartitionResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: BatchDeletePartitionResponse
s@BatchDeletePartitionResponse' {} Int
a -> BatchDeletePartitionResponse
s {$sel:httpStatus:BatchDeletePartitionResponse' :: Int
httpStatus = Int
a} :: BatchDeletePartitionResponse)
instance Prelude.NFData BatchDeletePartitionResponse