{-# 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.MachineLearning.CreateBatchPrediction
(
CreateBatchPrediction (..),
newCreateBatchPrediction,
createBatchPrediction_batchPredictionName,
createBatchPrediction_batchPredictionId,
createBatchPrediction_mLModelId,
createBatchPrediction_batchPredictionDataSourceId,
createBatchPrediction_outputUri,
CreateBatchPredictionResponse (..),
newCreateBatchPredictionResponse,
createBatchPredictionResponse_batchPredictionId,
createBatchPredictionResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.MachineLearning.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data CreateBatchPrediction = CreateBatchPrediction'
{
CreateBatchPrediction -> Maybe Text
batchPredictionName :: Prelude.Maybe Prelude.Text,
CreateBatchPrediction -> Text
batchPredictionId :: Prelude.Text,
CreateBatchPrediction -> Text
mLModelId :: Prelude.Text,
CreateBatchPrediction -> Text
batchPredictionDataSourceId :: Prelude.Text,
CreateBatchPrediction -> Text
outputUri :: Prelude.Text
}
deriving (CreateBatchPrediction -> CreateBatchPrediction -> Bool
(CreateBatchPrediction -> CreateBatchPrediction -> Bool)
-> (CreateBatchPrediction -> CreateBatchPrediction -> Bool)
-> Eq CreateBatchPrediction
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateBatchPrediction -> CreateBatchPrediction -> Bool
$c/= :: CreateBatchPrediction -> CreateBatchPrediction -> Bool
== :: CreateBatchPrediction -> CreateBatchPrediction -> Bool
$c== :: CreateBatchPrediction -> CreateBatchPrediction -> Bool
Prelude.Eq, ReadPrec [CreateBatchPrediction]
ReadPrec CreateBatchPrediction
Int -> ReadS CreateBatchPrediction
ReadS [CreateBatchPrediction]
(Int -> ReadS CreateBatchPrediction)
-> ReadS [CreateBatchPrediction]
-> ReadPrec CreateBatchPrediction
-> ReadPrec [CreateBatchPrediction]
-> Read CreateBatchPrediction
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateBatchPrediction]
$creadListPrec :: ReadPrec [CreateBatchPrediction]
readPrec :: ReadPrec CreateBatchPrediction
$creadPrec :: ReadPrec CreateBatchPrediction
readList :: ReadS [CreateBatchPrediction]
$creadList :: ReadS [CreateBatchPrediction]
readsPrec :: Int -> ReadS CreateBatchPrediction
$creadsPrec :: Int -> ReadS CreateBatchPrediction
Prelude.Read, Int -> CreateBatchPrediction -> ShowS
[CreateBatchPrediction] -> ShowS
CreateBatchPrediction -> String
(Int -> CreateBatchPrediction -> ShowS)
-> (CreateBatchPrediction -> String)
-> ([CreateBatchPrediction] -> ShowS)
-> Show CreateBatchPrediction
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateBatchPrediction] -> ShowS
$cshowList :: [CreateBatchPrediction] -> ShowS
show :: CreateBatchPrediction -> String
$cshow :: CreateBatchPrediction -> String
showsPrec :: Int -> CreateBatchPrediction -> ShowS
$cshowsPrec :: Int -> CreateBatchPrediction -> ShowS
Prelude.Show, (forall x. CreateBatchPrediction -> Rep CreateBatchPrediction x)
-> (forall x. Rep CreateBatchPrediction x -> CreateBatchPrediction)
-> Generic CreateBatchPrediction
forall x. Rep CreateBatchPrediction x -> CreateBatchPrediction
forall x. CreateBatchPrediction -> Rep CreateBatchPrediction x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateBatchPrediction x -> CreateBatchPrediction
$cfrom :: forall x. CreateBatchPrediction -> Rep CreateBatchPrediction x
Prelude.Generic)
newCreateBatchPrediction ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
CreateBatchPrediction
newCreateBatchPrediction :: Text -> Text -> Text -> Text -> CreateBatchPrediction
newCreateBatchPrediction
Text
pBatchPredictionId_
Text
pMLModelId_
Text
pBatchPredictionDataSourceId_
Text
pOutputUri_ =
CreateBatchPrediction' :: Maybe Text -> Text -> Text -> Text -> Text -> CreateBatchPrediction
CreateBatchPrediction'
{ $sel:batchPredictionName:CreateBatchPrediction' :: Maybe Text
batchPredictionName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:batchPredictionId:CreateBatchPrediction' :: Text
batchPredictionId = Text
pBatchPredictionId_,
$sel:mLModelId:CreateBatchPrediction' :: Text
mLModelId = Text
pMLModelId_,
$sel:batchPredictionDataSourceId:CreateBatchPrediction' :: Text
batchPredictionDataSourceId =
Text
pBatchPredictionDataSourceId_,
$sel:outputUri:CreateBatchPrediction' :: Text
outputUri = Text
pOutputUri_
}
createBatchPrediction_batchPredictionName :: Lens.Lens' CreateBatchPrediction (Prelude.Maybe Prelude.Text)
createBatchPrediction_batchPredictionName :: (Maybe Text -> f (Maybe Text))
-> CreateBatchPrediction -> f CreateBatchPrediction
createBatchPrediction_batchPredictionName = (CreateBatchPrediction -> Maybe Text)
-> (CreateBatchPrediction -> Maybe Text -> CreateBatchPrediction)
-> Lens
CreateBatchPrediction
CreateBatchPrediction
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateBatchPrediction' {Maybe Text
batchPredictionName :: Maybe Text
$sel:batchPredictionName:CreateBatchPrediction' :: CreateBatchPrediction -> Maybe Text
batchPredictionName} -> Maybe Text
batchPredictionName) (\s :: CreateBatchPrediction
s@CreateBatchPrediction' {} Maybe Text
a -> CreateBatchPrediction
s {$sel:batchPredictionName:CreateBatchPrediction' :: Maybe Text
batchPredictionName = Maybe Text
a} :: CreateBatchPrediction)
createBatchPrediction_batchPredictionId :: Lens.Lens' CreateBatchPrediction Prelude.Text
createBatchPrediction_batchPredictionId :: (Text -> f Text)
-> CreateBatchPrediction -> f CreateBatchPrediction
createBatchPrediction_batchPredictionId = (CreateBatchPrediction -> Text)
-> (CreateBatchPrediction -> Text -> CreateBatchPrediction)
-> Lens CreateBatchPrediction CreateBatchPrediction Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateBatchPrediction' {Text
batchPredictionId :: Text
$sel:batchPredictionId:CreateBatchPrediction' :: CreateBatchPrediction -> Text
batchPredictionId} -> Text
batchPredictionId) (\s :: CreateBatchPrediction
s@CreateBatchPrediction' {} Text
a -> CreateBatchPrediction
s {$sel:batchPredictionId:CreateBatchPrediction' :: Text
batchPredictionId = Text
a} :: CreateBatchPrediction)
createBatchPrediction_mLModelId :: Lens.Lens' CreateBatchPrediction Prelude.Text
createBatchPrediction_mLModelId :: (Text -> f Text)
-> CreateBatchPrediction -> f CreateBatchPrediction
createBatchPrediction_mLModelId = (CreateBatchPrediction -> Text)
-> (CreateBatchPrediction -> Text -> CreateBatchPrediction)
-> Lens CreateBatchPrediction CreateBatchPrediction Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateBatchPrediction' {Text
mLModelId :: Text
$sel:mLModelId:CreateBatchPrediction' :: CreateBatchPrediction -> Text
mLModelId} -> Text
mLModelId) (\s :: CreateBatchPrediction
s@CreateBatchPrediction' {} Text
a -> CreateBatchPrediction
s {$sel:mLModelId:CreateBatchPrediction' :: Text
mLModelId = Text
a} :: CreateBatchPrediction)
createBatchPrediction_batchPredictionDataSourceId :: Lens.Lens' CreateBatchPrediction Prelude.Text
createBatchPrediction_batchPredictionDataSourceId :: (Text -> f Text)
-> CreateBatchPrediction -> f CreateBatchPrediction
createBatchPrediction_batchPredictionDataSourceId = (CreateBatchPrediction -> Text)
-> (CreateBatchPrediction -> Text -> CreateBatchPrediction)
-> Lens CreateBatchPrediction CreateBatchPrediction Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateBatchPrediction' {Text
batchPredictionDataSourceId :: Text
$sel:batchPredictionDataSourceId:CreateBatchPrediction' :: CreateBatchPrediction -> Text
batchPredictionDataSourceId} -> Text
batchPredictionDataSourceId) (\s :: CreateBatchPrediction
s@CreateBatchPrediction' {} Text
a -> CreateBatchPrediction
s {$sel:batchPredictionDataSourceId:CreateBatchPrediction' :: Text
batchPredictionDataSourceId = Text
a} :: CreateBatchPrediction)
createBatchPrediction_outputUri :: Lens.Lens' CreateBatchPrediction Prelude.Text
createBatchPrediction_outputUri :: (Text -> f Text)
-> CreateBatchPrediction -> f CreateBatchPrediction
createBatchPrediction_outputUri = (CreateBatchPrediction -> Text)
-> (CreateBatchPrediction -> Text -> CreateBatchPrediction)
-> Lens CreateBatchPrediction CreateBatchPrediction Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateBatchPrediction' {Text
outputUri :: Text
$sel:outputUri:CreateBatchPrediction' :: CreateBatchPrediction -> Text
outputUri} -> Text
outputUri) (\s :: CreateBatchPrediction
s@CreateBatchPrediction' {} Text
a -> CreateBatchPrediction
s {$sel:outputUri:CreateBatchPrediction' :: Text
outputUri = Text
a} :: CreateBatchPrediction)
instance Core.AWSRequest CreateBatchPrediction where
type
AWSResponse CreateBatchPrediction =
CreateBatchPredictionResponse
request :: CreateBatchPrediction -> Request CreateBatchPrediction
request = Service -> CreateBatchPrediction -> Request CreateBatchPrediction
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy CreateBatchPrediction
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateBatchPrediction)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse CreateBatchPrediction))
-> Logger
-> Service
-> Proxy CreateBatchPrediction
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateBatchPrediction)))
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 Text -> Int -> CreateBatchPredictionResponse
CreateBatchPredictionResponse'
(Maybe Text -> Int -> CreateBatchPredictionResponse)
-> Either String (Maybe Text)
-> Either String (Int -> CreateBatchPredictionResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"BatchPredictionId")
Either String (Int -> CreateBatchPredictionResponse)
-> Either String Int -> Either String CreateBatchPredictionResponse
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 CreateBatchPrediction
instance Prelude.NFData CreateBatchPrediction
instance Core.ToHeaders CreateBatchPrediction where
toHeaders :: CreateBatchPrediction -> ResponseHeaders
toHeaders =
ResponseHeaders -> CreateBatchPrediction -> 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
"AmazonML_20141212.CreateBatchPrediction" ::
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 CreateBatchPrediction where
toJSON :: CreateBatchPrediction -> Value
toJSON CreateBatchPrediction' {Maybe Text
Text
outputUri :: Text
batchPredictionDataSourceId :: Text
mLModelId :: Text
batchPredictionId :: Text
batchPredictionName :: Maybe Text
$sel:outputUri:CreateBatchPrediction' :: CreateBatchPrediction -> Text
$sel:batchPredictionDataSourceId:CreateBatchPrediction' :: CreateBatchPrediction -> Text
$sel:mLModelId:CreateBatchPrediction' :: CreateBatchPrediction -> Text
$sel:batchPredictionId:CreateBatchPrediction' :: CreateBatchPrediction -> Text
$sel:batchPredictionName:CreateBatchPrediction' :: CreateBatchPrediction -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"BatchPredictionName" 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
batchPredictionName,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"BatchPredictionId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
batchPredictionId),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"MLModelId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
mLModelId),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"BatchPredictionDataSourceId"
Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
batchPredictionDataSourceId
),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"OutputUri" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
outputUri)
]
)
instance Core.ToPath CreateBatchPrediction where
toPath :: CreateBatchPrediction -> ByteString
toPath = ByteString -> CreateBatchPrediction -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery CreateBatchPrediction where
toQuery :: CreateBatchPrediction -> QueryString
toQuery = QueryString -> CreateBatchPrediction -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data CreateBatchPredictionResponse = CreateBatchPredictionResponse'
{
CreateBatchPredictionResponse -> Maybe Text
batchPredictionId :: Prelude.Maybe Prelude.Text,
CreateBatchPredictionResponse -> Int
httpStatus :: Prelude.Int
}
deriving (CreateBatchPredictionResponse
-> CreateBatchPredictionResponse -> Bool
(CreateBatchPredictionResponse
-> CreateBatchPredictionResponse -> Bool)
-> (CreateBatchPredictionResponse
-> CreateBatchPredictionResponse -> Bool)
-> Eq CreateBatchPredictionResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateBatchPredictionResponse
-> CreateBatchPredictionResponse -> Bool
$c/= :: CreateBatchPredictionResponse
-> CreateBatchPredictionResponse -> Bool
== :: CreateBatchPredictionResponse
-> CreateBatchPredictionResponse -> Bool
$c== :: CreateBatchPredictionResponse
-> CreateBatchPredictionResponse -> Bool
Prelude.Eq, ReadPrec [CreateBatchPredictionResponse]
ReadPrec CreateBatchPredictionResponse
Int -> ReadS CreateBatchPredictionResponse
ReadS [CreateBatchPredictionResponse]
(Int -> ReadS CreateBatchPredictionResponse)
-> ReadS [CreateBatchPredictionResponse]
-> ReadPrec CreateBatchPredictionResponse
-> ReadPrec [CreateBatchPredictionResponse]
-> Read CreateBatchPredictionResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateBatchPredictionResponse]
$creadListPrec :: ReadPrec [CreateBatchPredictionResponse]
readPrec :: ReadPrec CreateBatchPredictionResponse
$creadPrec :: ReadPrec CreateBatchPredictionResponse
readList :: ReadS [CreateBatchPredictionResponse]
$creadList :: ReadS [CreateBatchPredictionResponse]
readsPrec :: Int -> ReadS CreateBatchPredictionResponse
$creadsPrec :: Int -> ReadS CreateBatchPredictionResponse
Prelude.Read, Int -> CreateBatchPredictionResponse -> ShowS
[CreateBatchPredictionResponse] -> ShowS
CreateBatchPredictionResponse -> String
(Int -> CreateBatchPredictionResponse -> ShowS)
-> (CreateBatchPredictionResponse -> String)
-> ([CreateBatchPredictionResponse] -> ShowS)
-> Show CreateBatchPredictionResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateBatchPredictionResponse] -> ShowS
$cshowList :: [CreateBatchPredictionResponse] -> ShowS
show :: CreateBatchPredictionResponse -> String
$cshow :: CreateBatchPredictionResponse -> String
showsPrec :: Int -> CreateBatchPredictionResponse -> ShowS
$cshowsPrec :: Int -> CreateBatchPredictionResponse -> ShowS
Prelude.Show, (forall x.
CreateBatchPredictionResponse
-> Rep CreateBatchPredictionResponse x)
-> (forall x.
Rep CreateBatchPredictionResponse x
-> CreateBatchPredictionResponse)
-> Generic CreateBatchPredictionResponse
forall x.
Rep CreateBatchPredictionResponse x
-> CreateBatchPredictionResponse
forall x.
CreateBatchPredictionResponse
-> Rep CreateBatchPredictionResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateBatchPredictionResponse x
-> CreateBatchPredictionResponse
$cfrom :: forall x.
CreateBatchPredictionResponse
-> Rep CreateBatchPredictionResponse x
Prelude.Generic)
newCreateBatchPredictionResponse ::
Prelude.Int ->
CreateBatchPredictionResponse
newCreateBatchPredictionResponse :: Int -> CreateBatchPredictionResponse
newCreateBatchPredictionResponse Int
pHttpStatus_ =
CreateBatchPredictionResponse' :: Maybe Text -> Int -> CreateBatchPredictionResponse
CreateBatchPredictionResponse'
{ $sel:batchPredictionId:CreateBatchPredictionResponse' :: Maybe Text
batchPredictionId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:CreateBatchPredictionResponse' :: Int
httpStatus = Int
pHttpStatus_
}
createBatchPredictionResponse_batchPredictionId :: Lens.Lens' CreateBatchPredictionResponse (Prelude.Maybe Prelude.Text)
createBatchPredictionResponse_batchPredictionId :: (Maybe Text -> f (Maybe Text))
-> CreateBatchPredictionResponse -> f CreateBatchPredictionResponse
createBatchPredictionResponse_batchPredictionId = (CreateBatchPredictionResponse -> Maybe Text)
-> (CreateBatchPredictionResponse
-> Maybe Text -> CreateBatchPredictionResponse)
-> Lens
CreateBatchPredictionResponse
CreateBatchPredictionResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateBatchPredictionResponse' {Maybe Text
batchPredictionId :: Maybe Text
$sel:batchPredictionId:CreateBatchPredictionResponse' :: CreateBatchPredictionResponse -> Maybe Text
batchPredictionId} -> Maybe Text
batchPredictionId) (\s :: CreateBatchPredictionResponse
s@CreateBatchPredictionResponse' {} Maybe Text
a -> CreateBatchPredictionResponse
s {$sel:batchPredictionId:CreateBatchPredictionResponse' :: Maybe Text
batchPredictionId = Maybe Text
a} :: CreateBatchPredictionResponse)
createBatchPredictionResponse_httpStatus :: Lens.Lens' CreateBatchPredictionResponse Prelude.Int
createBatchPredictionResponse_httpStatus :: (Int -> f Int)
-> CreateBatchPredictionResponse -> f CreateBatchPredictionResponse
createBatchPredictionResponse_httpStatus = (CreateBatchPredictionResponse -> Int)
-> (CreateBatchPredictionResponse
-> Int -> CreateBatchPredictionResponse)
-> Lens
CreateBatchPredictionResponse CreateBatchPredictionResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateBatchPredictionResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateBatchPredictionResponse' :: CreateBatchPredictionResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateBatchPredictionResponse
s@CreateBatchPredictionResponse' {} Int
a -> CreateBatchPredictionResponse
s {$sel:httpStatus:CreateBatchPredictionResponse' :: Int
httpStatus = Int
a} :: CreateBatchPredictionResponse)
instance Prelude.NFData CreateBatchPredictionResponse