{-# 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.RobOMaker.ListSimulationJobBatches
(
ListSimulationJobBatches (..),
newListSimulationJobBatches,
listSimulationJobBatches_filters,
listSimulationJobBatches_maxResults,
listSimulationJobBatches_nextToken,
ListSimulationJobBatchesResponse (..),
newListSimulationJobBatchesResponse,
listSimulationJobBatchesResponse_nextToken,
listSimulationJobBatchesResponse_simulationJobBatchSummaries,
listSimulationJobBatchesResponse_httpStatus,
)
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
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.RobOMaker.Types
data ListSimulationJobBatches = ListSimulationJobBatches'
{
ListSimulationJobBatches -> Maybe (NonEmpty Filter)
filters :: Prelude.Maybe (Prelude.NonEmpty Filter),
ListSimulationJobBatches -> Maybe Int
maxResults :: Prelude.Maybe Prelude.Int,
ListSimulationJobBatches -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text
}
deriving (ListSimulationJobBatches -> ListSimulationJobBatches -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListSimulationJobBatches -> ListSimulationJobBatches -> Bool
$c/= :: ListSimulationJobBatches -> ListSimulationJobBatches -> Bool
== :: ListSimulationJobBatches -> ListSimulationJobBatches -> Bool
$c== :: ListSimulationJobBatches -> ListSimulationJobBatches -> Bool
Prelude.Eq, ReadPrec [ListSimulationJobBatches]
ReadPrec ListSimulationJobBatches
Int -> ReadS ListSimulationJobBatches
ReadS [ListSimulationJobBatches]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListSimulationJobBatches]
$creadListPrec :: ReadPrec [ListSimulationJobBatches]
readPrec :: ReadPrec ListSimulationJobBatches
$creadPrec :: ReadPrec ListSimulationJobBatches
readList :: ReadS [ListSimulationJobBatches]
$creadList :: ReadS [ListSimulationJobBatches]
readsPrec :: Int -> ReadS ListSimulationJobBatches
$creadsPrec :: Int -> ReadS ListSimulationJobBatches
Prelude.Read, Int -> ListSimulationJobBatches -> ShowS
[ListSimulationJobBatches] -> ShowS
ListSimulationJobBatches -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListSimulationJobBatches] -> ShowS
$cshowList :: [ListSimulationJobBatches] -> ShowS
show :: ListSimulationJobBatches -> String
$cshow :: ListSimulationJobBatches -> String
showsPrec :: Int -> ListSimulationJobBatches -> ShowS
$cshowsPrec :: Int -> ListSimulationJobBatches -> ShowS
Prelude.Show, forall x.
Rep ListSimulationJobBatches x -> ListSimulationJobBatches
forall x.
ListSimulationJobBatches -> Rep ListSimulationJobBatches x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListSimulationJobBatches x -> ListSimulationJobBatches
$cfrom :: forall x.
ListSimulationJobBatches -> Rep ListSimulationJobBatches x
Prelude.Generic)
newListSimulationJobBatches ::
ListSimulationJobBatches
newListSimulationJobBatches :: ListSimulationJobBatches
newListSimulationJobBatches =
ListSimulationJobBatches'
{ $sel:filters:ListSimulationJobBatches' :: Maybe (NonEmpty Filter)
filters =
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListSimulationJobBatches' :: Maybe Int
maxResults = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListSimulationJobBatches' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing
}
listSimulationJobBatches_filters :: Lens.Lens' ListSimulationJobBatches (Prelude.Maybe (Prelude.NonEmpty Filter))
listSimulationJobBatches_filters :: Lens' ListSimulationJobBatches (Maybe (NonEmpty Filter))
listSimulationJobBatches_filters = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSimulationJobBatches' {Maybe (NonEmpty Filter)
filters :: Maybe (NonEmpty Filter)
$sel:filters:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe (NonEmpty Filter)
filters} -> Maybe (NonEmpty Filter)
filters) (\s :: ListSimulationJobBatches
s@ListSimulationJobBatches' {} Maybe (NonEmpty Filter)
a -> ListSimulationJobBatches
s {$sel:filters:ListSimulationJobBatches' :: Maybe (NonEmpty Filter)
filters = Maybe (NonEmpty Filter)
a} :: ListSimulationJobBatches) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listSimulationJobBatches_maxResults :: Lens.Lens' ListSimulationJobBatches (Prelude.Maybe Prelude.Int)
listSimulationJobBatches_maxResults :: Lens' ListSimulationJobBatches (Maybe Int)
listSimulationJobBatches_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSimulationJobBatches' {Maybe Int
maxResults :: Maybe Int
$sel:maxResults:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe Int
maxResults} -> Maybe Int
maxResults) (\s :: ListSimulationJobBatches
s@ListSimulationJobBatches' {} Maybe Int
a -> ListSimulationJobBatches
s {$sel:maxResults:ListSimulationJobBatches' :: Maybe Int
maxResults = Maybe Int
a} :: ListSimulationJobBatches)
listSimulationJobBatches_nextToken :: Lens.Lens' ListSimulationJobBatches (Prelude.Maybe Prelude.Text)
listSimulationJobBatches_nextToken :: Lens' ListSimulationJobBatches (Maybe Text)
listSimulationJobBatches_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSimulationJobBatches' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListSimulationJobBatches
s@ListSimulationJobBatches' {} Maybe Text
a -> ListSimulationJobBatches
s {$sel:nextToken:ListSimulationJobBatches' :: Maybe Text
nextToken = Maybe Text
a} :: ListSimulationJobBatches)
instance Core.AWSPager ListSimulationJobBatches where
page :: ListSimulationJobBatches
-> AWSResponse ListSimulationJobBatches
-> Maybe ListSimulationJobBatches
page ListSimulationJobBatches
rq AWSResponse ListSimulationJobBatches
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListSimulationJobBatches
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListSimulationJobBatchesResponse (Maybe Text)
listSimulationJobBatchesResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListSimulationJobBatches
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
ListSimulationJobBatchesResponse
(Maybe [SimulationJobBatchSummary])
listSimulationJobBatchesResponse_simulationJobBatchSummaries
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
forall a. a -> Maybe a
Prelude.Just
forall a b. (a -> b) -> a -> b
Prelude.$ ListSimulationJobBatches
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListSimulationJobBatches (Maybe Text)
listSimulationJobBatches_nextToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListSimulationJobBatches
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListSimulationJobBatchesResponse (Maybe Text)
listSimulationJobBatchesResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListSimulationJobBatches where
type
AWSResponse ListSimulationJobBatches =
ListSimulationJobBatchesResponse
request :: (Service -> Service)
-> ListSimulationJobBatches -> Request ListSimulationJobBatches
request Service -> Service
overrides =
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy ListSimulationJobBatches
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListSimulationJobBatches)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe [SimulationJobBatchSummary]
-> Int
-> ListSimulationJobBatchesResponse
ListSimulationJobBatchesResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"nextToken")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"simulationJobBatchSummaries"
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty
)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable ListSimulationJobBatches where
hashWithSalt :: Int -> ListSimulationJobBatches -> Int
hashWithSalt Int
_salt ListSimulationJobBatches' {Maybe Int
Maybe (NonEmpty Filter)
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Int
filters :: Maybe (NonEmpty Filter)
$sel:nextToken:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe Text
$sel:maxResults:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe Int
$sel:filters:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe (NonEmpty Filter)
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (NonEmpty Filter)
filters
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
maxResults
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
instance Prelude.NFData ListSimulationJobBatches where
rnf :: ListSimulationJobBatches -> ()
rnf ListSimulationJobBatches' {Maybe Int
Maybe (NonEmpty Filter)
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Int
filters :: Maybe (NonEmpty Filter)
$sel:nextToken:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe Text
$sel:maxResults:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe Int
$sel:filters:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe (NonEmpty Filter)
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe (NonEmpty Filter)
filters
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
maxResults
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
instance Data.ToHeaders ListSimulationJobBatches where
toHeaders :: ListSimulationJobBatches -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToJSON ListSimulationJobBatches where
toJSON :: ListSimulationJobBatches -> Value
toJSON ListSimulationJobBatches' {Maybe Int
Maybe (NonEmpty Filter)
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Int
filters :: Maybe (NonEmpty Filter)
$sel:nextToken:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe Text
$sel:maxResults:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe Int
$sel:filters:ListSimulationJobBatches' :: ListSimulationJobBatches -> Maybe (NonEmpty Filter)
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"filters" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (NonEmpty Filter)
filters,
(Key
"maxResults" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
maxResults,
(Key
"nextToken" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken
]
)
instance Data.ToPath ListSimulationJobBatches where
toPath :: ListSimulationJobBatches -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/listSimulationJobBatches"
instance Data.ToQuery ListSimulationJobBatches where
toQuery :: ListSimulationJobBatches -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data ListSimulationJobBatchesResponse = ListSimulationJobBatchesResponse'
{
ListSimulationJobBatchesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListSimulationJobBatchesResponse
-> Maybe [SimulationJobBatchSummary]
simulationJobBatchSummaries :: Prelude.Maybe [SimulationJobBatchSummary],
ListSimulationJobBatchesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListSimulationJobBatchesResponse
-> ListSimulationJobBatchesResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListSimulationJobBatchesResponse
-> ListSimulationJobBatchesResponse -> Bool
$c/= :: ListSimulationJobBatchesResponse
-> ListSimulationJobBatchesResponse -> Bool
== :: ListSimulationJobBatchesResponse
-> ListSimulationJobBatchesResponse -> Bool
$c== :: ListSimulationJobBatchesResponse
-> ListSimulationJobBatchesResponse -> Bool
Prelude.Eq, ReadPrec [ListSimulationJobBatchesResponse]
ReadPrec ListSimulationJobBatchesResponse
Int -> ReadS ListSimulationJobBatchesResponse
ReadS [ListSimulationJobBatchesResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListSimulationJobBatchesResponse]
$creadListPrec :: ReadPrec [ListSimulationJobBatchesResponse]
readPrec :: ReadPrec ListSimulationJobBatchesResponse
$creadPrec :: ReadPrec ListSimulationJobBatchesResponse
readList :: ReadS [ListSimulationJobBatchesResponse]
$creadList :: ReadS [ListSimulationJobBatchesResponse]
readsPrec :: Int -> ReadS ListSimulationJobBatchesResponse
$creadsPrec :: Int -> ReadS ListSimulationJobBatchesResponse
Prelude.Read, Int -> ListSimulationJobBatchesResponse -> ShowS
[ListSimulationJobBatchesResponse] -> ShowS
ListSimulationJobBatchesResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListSimulationJobBatchesResponse] -> ShowS
$cshowList :: [ListSimulationJobBatchesResponse] -> ShowS
show :: ListSimulationJobBatchesResponse -> String
$cshow :: ListSimulationJobBatchesResponse -> String
showsPrec :: Int -> ListSimulationJobBatchesResponse -> ShowS
$cshowsPrec :: Int -> ListSimulationJobBatchesResponse -> ShowS
Prelude.Show, forall x.
Rep ListSimulationJobBatchesResponse x
-> ListSimulationJobBatchesResponse
forall x.
ListSimulationJobBatchesResponse
-> Rep ListSimulationJobBatchesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListSimulationJobBatchesResponse x
-> ListSimulationJobBatchesResponse
$cfrom :: forall x.
ListSimulationJobBatchesResponse
-> Rep ListSimulationJobBatchesResponse x
Prelude.Generic)
newListSimulationJobBatchesResponse ::
Prelude.Int ->
ListSimulationJobBatchesResponse
newListSimulationJobBatchesResponse :: Int -> ListSimulationJobBatchesResponse
newListSimulationJobBatchesResponse Int
pHttpStatus_ =
ListSimulationJobBatchesResponse'
{ $sel:nextToken:ListSimulationJobBatchesResponse' :: Maybe Text
nextToken =
forall a. Maybe a
Prelude.Nothing,
$sel:simulationJobBatchSummaries:ListSimulationJobBatchesResponse' :: Maybe [SimulationJobBatchSummary]
simulationJobBatchSummaries =
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListSimulationJobBatchesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listSimulationJobBatchesResponse_nextToken :: Lens.Lens' ListSimulationJobBatchesResponse (Prelude.Maybe Prelude.Text)
listSimulationJobBatchesResponse_nextToken :: Lens' ListSimulationJobBatchesResponse (Maybe Text)
listSimulationJobBatchesResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSimulationJobBatchesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListSimulationJobBatchesResponse' :: ListSimulationJobBatchesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListSimulationJobBatchesResponse
s@ListSimulationJobBatchesResponse' {} Maybe Text
a -> ListSimulationJobBatchesResponse
s {$sel:nextToken:ListSimulationJobBatchesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListSimulationJobBatchesResponse)
listSimulationJobBatchesResponse_simulationJobBatchSummaries :: Lens.Lens' ListSimulationJobBatchesResponse (Prelude.Maybe [SimulationJobBatchSummary])
listSimulationJobBatchesResponse_simulationJobBatchSummaries :: Lens'
ListSimulationJobBatchesResponse
(Maybe [SimulationJobBatchSummary])
listSimulationJobBatchesResponse_simulationJobBatchSummaries = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSimulationJobBatchesResponse' {Maybe [SimulationJobBatchSummary]
simulationJobBatchSummaries :: Maybe [SimulationJobBatchSummary]
$sel:simulationJobBatchSummaries:ListSimulationJobBatchesResponse' :: ListSimulationJobBatchesResponse
-> Maybe [SimulationJobBatchSummary]
simulationJobBatchSummaries} -> Maybe [SimulationJobBatchSummary]
simulationJobBatchSummaries) (\s :: ListSimulationJobBatchesResponse
s@ListSimulationJobBatchesResponse' {} Maybe [SimulationJobBatchSummary]
a -> ListSimulationJobBatchesResponse
s {$sel:simulationJobBatchSummaries:ListSimulationJobBatchesResponse' :: Maybe [SimulationJobBatchSummary]
simulationJobBatchSummaries = Maybe [SimulationJobBatchSummary]
a} :: ListSimulationJobBatchesResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listSimulationJobBatchesResponse_httpStatus :: Lens.Lens' ListSimulationJobBatchesResponse Prelude.Int
listSimulationJobBatchesResponse_httpStatus :: Lens' ListSimulationJobBatchesResponse Int
listSimulationJobBatchesResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSimulationJobBatchesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListSimulationJobBatchesResponse' :: ListSimulationJobBatchesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListSimulationJobBatchesResponse
s@ListSimulationJobBatchesResponse' {} Int
a -> ListSimulationJobBatchesResponse
s {$sel:httpStatus:ListSimulationJobBatchesResponse' :: Int
httpStatus = Int
a} :: ListSimulationJobBatchesResponse)
instance
Prelude.NFData
ListSimulationJobBatchesResponse
where
rnf :: ListSimulationJobBatchesResponse -> ()
rnf ListSimulationJobBatchesResponse' {Int
Maybe [SimulationJobBatchSummary]
Maybe Text
httpStatus :: Int
simulationJobBatchSummaries :: Maybe [SimulationJobBatchSummary]
nextToken :: Maybe Text
$sel:httpStatus:ListSimulationJobBatchesResponse' :: ListSimulationJobBatchesResponse -> Int
$sel:simulationJobBatchSummaries:ListSimulationJobBatchesResponse' :: ListSimulationJobBatchesResponse
-> Maybe [SimulationJobBatchSummary]
$sel:nextToken:ListSimulationJobBatchesResponse' :: ListSimulationJobBatchesResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [SimulationJobBatchSummary]
simulationJobBatchSummaries
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus