{-# 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.Omics.ListVariantStores
(
ListVariantStores (..),
newListVariantStores,
listVariantStores_filter,
listVariantStores_ids,
listVariantStores_maxResults,
listVariantStores_nextToken,
ListVariantStoresResponse (..),
newListVariantStoresResponse,
listVariantStoresResponse_nextToken,
listVariantStoresResponse_variantStores,
listVariantStoresResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.Omics.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data ListVariantStores = ListVariantStores'
{
ListVariantStores -> Maybe ListVariantStoresFilter
filter' :: Prelude.Maybe ListVariantStoresFilter,
ListVariantStores -> Maybe (NonEmpty Text)
ids :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),
ListVariantStores -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListVariantStores -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text
}
deriving (ListVariantStores -> ListVariantStores -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListVariantStores -> ListVariantStores -> Bool
$c/= :: ListVariantStores -> ListVariantStores -> Bool
== :: ListVariantStores -> ListVariantStores -> Bool
$c== :: ListVariantStores -> ListVariantStores -> Bool
Prelude.Eq, ReadPrec [ListVariantStores]
ReadPrec ListVariantStores
Int -> ReadS ListVariantStores
ReadS [ListVariantStores]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListVariantStores]
$creadListPrec :: ReadPrec [ListVariantStores]
readPrec :: ReadPrec ListVariantStores
$creadPrec :: ReadPrec ListVariantStores
readList :: ReadS [ListVariantStores]
$creadList :: ReadS [ListVariantStores]
readsPrec :: Int -> ReadS ListVariantStores
$creadsPrec :: Int -> ReadS ListVariantStores
Prelude.Read, Int -> ListVariantStores -> ShowS
[ListVariantStores] -> ShowS
ListVariantStores -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListVariantStores] -> ShowS
$cshowList :: [ListVariantStores] -> ShowS
show :: ListVariantStores -> String
$cshow :: ListVariantStores -> String
showsPrec :: Int -> ListVariantStores -> ShowS
$cshowsPrec :: Int -> ListVariantStores -> ShowS
Prelude.Show, forall x. Rep ListVariantStores x -> ListVariantStores
forall x. ListVariantStores -> Rep ListVariantStores x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListVariantStores x -> ListVariantStores
$cfrom :: forall x. ListVariantStores -> Rep ListVariantStores x
Prelude.Generic)
newListVariantStores ::
ListVariantStores
newListVariantStores :: ListVariantStores
newListVariantStores =
ListVariantStores'
{ $sel:filter':ListVariantStores' :: Maybe ListVariantStoresFilter
filter' = forall a. Maybe a
Prelude.Nothing,
$sel:ids:ListVariantStores' :: Maybe (NonEmpty Text)
ids = forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListVariantStores' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListVariantStores' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing
}
listVariantStores_filter :: Lens.Lens' ListVariantStores (Prelude.Maybe ListVariantStoresFilter)
listVariantStores_filter :: Lens' ListVariantStores (Maybe ListVariantStoresFilter)
listVariantStores_filter = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVariantStores' {Maybe ListVariantStoresFilter
filter' :: Maybe ListVariantStoresFilter
$sel:filter':ListVariantStores' :: ListVariantStores -> Maybe ListVariantStoresFilter
filter'} -> Maybe ListVariantStoresFilter
filter') (\s :: ListVariantStores
s@ListVariantStores' {} Maybe ListVariantStoresFilter
a -> ListVariantStores
s {$sel:filter':ListVariantStores' :: Maybe ListVariantStoresFilter
filter' = Maybe ListVariantStoresFilter
a} :: ListVariantStores)
listVariantStores_ids :: Lens.Lens' ListVariantStores (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))
listVariantStores_ids :: Lens' ListVariantStores (Maybe (NonEmpty Text))
listVariantStores_ids = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVariantStores' {Maybe (NonEmpty Text)
ids :: Maybe (NonEmpty Text)
$sel:ids:ListVariantStores' :: ListVariantStores -> Maybe (NonEmpty Text)
ids} -> Maybe (NonEmpty Text)
ids) (\s :: ListVariantStores
s@ListVariantStores' {} Maybe (NonEmpty Text)
a -> ListVariantStores
s {$sel:ids:ListVariantStores' :: Maybe (NonEmpty Text)
ids = Maybe (NonEmpty Text)
a} :: ListVariantStores) 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
listVariantStores_maxResults :: Lens.Lens' ListVariantStores (Prelude.Maybe Prelude.Natural)
listVariantStores_maxResults :: Lens' ListVariantStores (Maybe Natural)
listVariantStores_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVariantStores' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListVariantStores' :: ListVariantStores -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListVariantStores
s@ListVariantStores' {} Maybe Natural
a -> ListVariantStores
s {$sel:maxResults:ListVariantStores' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListVariantStores)
listVariantStores_nextToken :: Lens.Lens' ListVariantStores (Prelude.Maybe Prelude.Text)
listVariantStores_nextToken :: Lens' ListVariantStores (Maybe Text)
listVariantStores_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVariantStores' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListVariantStores' :: ListVariantStores -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListVariantStores
s@ListVariantStores' {} Maybe Text
a -> ListVariantStores
s {$sel:nextToken:ListVariantStores' :: Maybe Text
nextToken = Maybe Text
a} :: ListVariantStores)
instance Core.AWSPager ListVariantStores where
page :: ListVariantStores
-> AWSResponse ListVariantStores -> Maybe ListVariantStores
page ListVariantStores
rq AWSResponse ListVariantStores
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListVariantStores
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListVariantStoresResponse (Maybe Text)
listVariantStoresResponse_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 ListVariantStores
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListVariantStoresResponse (Maybe [VariantStoreItem])
listVariantStoresResponse_variantStores
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.$ ListVariantStores
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListVariantStores (Maybe Text)
listVariantStores_nextToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListVariantStores
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListVariantStoresResponse (Maybe Text)
listVariantStoresResponse_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 ListVariantStores where
type
AWSResponse ListVariantStores =
ListVariantStoresResponse
request :: (Service -> Service)
-> ListVariantStores -> Request ListVariantStores
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 ListVariantStores
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListVariantStores)))
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 [VariantStoreItem] -> Int -> ListVariantStoresResponse
ListVariantStoresResponse'
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
"variantStores" 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 ListVariantStores where
hashWithSalt :: Int -> ListVariantStores -> Int
hashWithSalt Int
_salt ListVariantStores' {Maybe Natural
Maybe (NonEmpty Text)
Maybe Text
Maybe ListVariantStoresFilter
nextToken :: Maybe Text
maxResults :: Maybe Natural
ids :: Maybe (NonEmpty Text)
filter' :: Maybe ListVariantStoresFilter
$sel:nextToken:ListVariantStores' :: ListVariantStores -> Maybe Text
$sel:maxResults:ListVariantStores' :: ListVariantStores -> Maybe Natural
$sel:ids:ListVariantStores' :: ListVariantStores -> Maybe (NonEmpty Text)
$sel:filter':ListVariantStores' :: ListVariantStores -> Maybe ListVariantStoresFilter
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ListVariantStoresFilter
filter'
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (NonEmpty Text)
ids
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
instance Prelude.NFData ListVariantStores where
rnf :: ListVariantStores -> ()
rnf ListVariantStores' {Maybe Natural
Maybe (NonEmpty Text)
Maybe Text
Maybe ListVariantStoresFilter
nextToken :: Maybe Text
maxResults :: Maybe Natural
ids :: Maybe (NonEmpty Text)
filter' :: Maybe ListVariantStoresFilter
$sel:nextToken:ListVariantStores' :: ListVariantStores -> Maybe Text
$sel:maxResults:ListVariantStores' :: ListVariantStores -> Maybe Natural
$sel:ids:ListVariantStores' :: ListVariantStores -> Maybe (NonEmpty Text)
$sel:filter':ListVariantStores' :: ListVariantStores -> Maybe ListVariantStoresFilter
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe ListVariantStoresFilter
filter'
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (NonEmpty Text)
ids
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
maxResults
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
instance Data.ToHeaders ListVariantStores where
toHeaders :: ListVariantStores -> 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 ListVariantStores where
toJSON :: ListVariantStores -> Value
toJSON ListVariantStores' {Maybe Natural
Maybe (NonEmpty Text)
Maybe Text
Maybe ListVariantStoresFilter
nextToken :: Maybe Text
maxResults :: Maybe Natural
ids :: Maybe (NonEmpty Text)
filter' :: Maybe ListVariantStoresFilter
$sel:nextToken:ListVariantStores' :: ListVariantStores -> Maybe Text
$sel:maxResults:ListVariantStores' :: ListVariantStores -> Maybe Natural
$sel:ids:ListVariantStores' :: ListVariantStores -> Maybe (NonEmpty Text)
$sel:filter':ListVariantStores' :: ListVariantStores -> Maybe ListVariantStoresFilter
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"filter" 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 ListVariantStoresFilter
filter',
(Key
"ids" 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 Text)
ids
]
)
instance Data.ToPath ListVariantStores where
toPath :: ListVariantStores -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/variantStores"
instance Data.ToQuery ListVariantStores where
toQuery :: ListVariantStores -> QueryString
toQuery ListVariantStores' {Maybe Natural
Maybe (NonEmpty Text)
Maybe Text
Maybe ListVariantStoresFilter
nextToken :: Maybe Text
maxResults :: Maybe Natural
ids :: Maybe (NonEmpty Text)
filter' :: Maybe ListVariantStoresFilter
$sel:nextToken:ListVariantStores' :: ListVariantStores -> Maybe Text
$sel:maxResults:ListVariantStores' :: ListVariantStores -> Maybe Natural
$sel:ids:ListVariantStores' :: ListVariantStores -> Maybe (NonEmpty Text)
$sel:filter':ListVariantStores' :: ListVariantStores -> Maybe ListVariantStoresFilter
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"maxResults" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Natural
maxResults,
ByteString
"nextToken" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
nextToken
]
data ListVariantStoresResponse = ListVariantStoresResponse'
{
ListVariantStoresResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListVariantStoresResponse -> Maybe [VariantStoreItem]
variantStores :: Prelude.Maybe [VariantStoreItem],
ListVariantStoresResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListVariantStoresResponse -> ListVariantStoresResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListVariantStoresResponse -> ListVariantStoresResponse -> Bool
$c/= :: ListVariantStoresResponse -> ListVariantStoresResponse -> Bool
== :: ListVariantStoresResponse -> ListVariantStoresResponse -> Bool
$c== :: ListVariantStoresResponse -> ListVariantStoresResponse -> Bool
Prelude.Eq, ReadPrec [ListVariantStoresResponse]
ReadPrec ListVariantStoresResponse
Int -> ReadS ListVariantStoresResponse
ReadS [ListVariantStoresResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListVariantStoresResponse]
$creadListPrec :: ReadPrec [ListVariantStoresResponse]
readPrec :: ReadPrec ListVariantStoresResponse
$creadPrec :: ReadPrec ListVariantStoresResponse
readList :: ReadS [ListVariantStoresResponse]
$creadList :: ReadS [ListVariantStoresResponse]
readsPrec :: Int -> ReadS ListVariantStoresResponse
$creadsPrec :: Int -> ReadS ListVariantStoresResponse
Prelude.Read, Int -> ListVariantStoresResponse -> ShowS
[ListVariantStoresResponse] -> ShowS
ListVariantStoresResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListVariantStoresResponse] -> ShowS
$cshowList :: [ListVariantStoresResponse] -> ShowS
show :: ListVariantStoresResponse -> String
$cshow :: ListVariantStoresResponse -> String
showsPrec :: Int -> ListVariantStoresResponse -> ShowS
$cshowsPrec :: Int -> ListVariantStoresResponse -> ShowS
Prelude.Show, forall x.
Rep ListVariantStoresResponse x -> ListVariantStoresResponse
forall x.
ListVariantStoresResponse -> Rep ListVariantStoresResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListVariantStoresResponse x -> ListVariantStoresResponse
$cfrom :: forall x.
ListVariantStoresResponse -> Rep ListVariantStoresResponse x
Prelude.Generic)
newListVariantStoresResponse ::
Prelude.Int ->
ListVariantStoresResponse
newListVariantStoresResponse :: Int -> ListVariantStoresResponse
newListVariantStoresResponse Int
pHttpStatus_ =
ListVariantStoresResponse'
{ $sel:nextToken:ListVariantStoresResponse' :: Maybe Text
nextToken =
forall a. Maybe a
Prelude.Nothing,
$sel:variantStores:ListVariantStoresResponse' :: Maybe [VariantStoreItem]
variantStores = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListVariantStoresResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listVariantStoresResponse_nextToken :: Lens.Lens' ListVariantStoresResponse (Prelude.Maybe Prelude.Text)
listVariantStoresResponse_nextToken :: Lens' ListVariantStoresResponse (Maybe Text)
listVariantStoresResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVariantStoresResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListVariantStoresResponse' :: ListVariantStoresResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListVariantStoresResponse
s@ListVariantStoresResponse' {} Maybe Text
a -> ListVariantStoresResponse
s {$sel:nextToken:ListVariantStoresResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListVariantStoresResponse)
listVariantStoresResponse_variantStores :: Lens.Lens' ListVariantStoresResponse (Prelude.Maybe [VariantStoreItem])
listVariantStoresResponse_variantStores :: Lens' ListVariantStoresResponse (Maybe [VariantStoreItem])
listVariantStoresResponse_variantStores = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVariantStoresResponse' {Maybe [VariantStoreItem]
variantStores :: Maybe [VariantStoreItem]
$sel:variantStores:ListVariantStoresResponse' :: ListVariantStoresResponse -> Maybe [VariantStoreItem]
variantStores} -> Maybe [VariantStoreItem]
variantStores) (\s :: ListVariantStoresResponse
s@ListVariantStoresResponse' {} Maybe [VariantStoreItem]
a -> ListVariantStoresResponse
s {$sel:variantStores:ListVariantStoresResponse' :: Maybe [VariantStoreItem]
variantStores = Maybe [VariantStoreItem]
a} :: ListVariantStoresResponse) 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
listVariantStoresResponse_httpStatus :: Lens.Lens' ListVariantStoresResponse Prelude.Int
listVariantStoresResponse_httpStatus :: Lens' ListVariantStoresResponse Int
listVariantStoresResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVariantStoresResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListVariantStoresResponse' :: ListVariantStoresResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListVariantStoresResponse
s@ListVariantStoresResponse' {} Int
a -> ListVariantStoresResponse
s {$sel:httpStatus:ListVariantStoresResponse' :: Int
httpStatus = Int
a} :: ListVariantStoresResponse)
instance Prelude.NFData ListVariantStoresResponse where
rnf :: ListVariantStoresResponse -> ()
rnf ListVariantStoresResponse' {Int
Maybe [VariantStoreItem]
Maybe Text
httpStatus :: Int
variantStores :: Maybe [VariantStoreItem]
nextToken :: Maybe Text
$sel:httpStatus:ListVariantStoresResponse' :: ListVariantStoresResponse -> Int
$sel:variantStores:ListVariantStoresResponse' :: ListVariantStoresResponse -> Maybe [VariantStoreItem]
$sel:nextToken:ListVariantStoresResponse' :: ListVariantStoresResponse -> 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 [VariantStoreItem]
variantStores
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus