{-# 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.GetPartitionIndexes
(
GetPartitionIndexes (..),
newGetPartitionIndexes,
getPartitionIndexes_catalogId,
getPartitionIndexes_nextToken,
getPartitionIndexes_databaseName,
getPartitionIndexes_tableName,
GetPartitionIndexesResponse (..),
newGetPartitionIndexesResponse,
getPartitionIndexesResponse_nextToken,
getPartitionIndexesResponse_partitionIndexDescriptorList,
getPartitionIndexesResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.Glue.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data GetPartitionIndexes = GetPartitionIndexes'
{
GetPartitionIndexes -> Maybe Text
catalogId :: Prelude.Maybe Prelude.Text,
GetPartitionIndexes -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
GetPartitionIndexes -> Text
databaseName :: Prelude.Text,
GetPartitionIndexes -> Text
tableName :: Prelude.Text
}
deriving (GetPartitionIndexes -> GetPartitionIndexes -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetPartitionIndexes -> GetPartitionIndexes -> Bool
$c/= :: GetPartitionIndexes -> GetPartitionIndexes -> Bool
== :: GetPartitionIndexes -> GetPartitionIndexes -> Bool
$c== :: GetPartitionIndexes -> GetPartitionIndexes -> Bool
Prelude.Eq, ReadPrec [GetPartitionIndexes]
ReadPrec GetPartitionIndexes
Int -> ReadS GetPartitionIndexes
ReadS [GetPartitionIndexes]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetPartitionIndexes]
$creadListPrec :: ReadPrec [GetPartitionIndexes]
readPrec :: ReadPrec GetPartitionIndexes
$creadPrec :: ReadPrec GetPartitionIndexes
readList :: ReadS [GetPartitionIndexes]
$creadList :: ReadS [GetPartitionIndexes]
readsPrec :: Int -> ReadS GetPartitionIndexes
$creadsPrec :: Int -> ReadS GetPartitionIndexes
Prelude.Read, Int -> GetPartitionIndexes -> ShowS
[GetPartitionIndexes] -> ShowS
GetPartitionIndexes -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetPartitionIndexes] -> ShowS
$cshowList :: [GetPartitionIndexes] -> ShowS
show :: GetPartitionIndexes -> String
$cshow :: GetPartitionIndexes -> String
showsPrec :: Int -> GetPartitionIndexes -> ShowS
$cshowsPrec :: Int -> GetPartitionIndexes -> ShowS
Prelude.Show, forall x. Rep GetPartitionIndexes x -> GetPartitionIndexes
forall x. GetPartitionIndexes -> Rep GetPartitionIndexes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetPartitionIndexes x -> GetPartitionIndexes
$cfrom :: forall x. GetPartitionIndexes -> Rep GetPartitionIndexes x
Prelude.Generic)
newGetPartitionIndexes ::
Prelude.Text ->
Prelude.Text ->
GetPartitionIndexes
newGetPartitionIndexes :: Text -> Text -> GetPartitionIndexes
newGetPartitionIndexes Text
pDatabaseName_ Text
pTableName_ =
GetPartitionIndexes'
{ $sel:catalogId:GetPartitionIndexes' :: Maybe Text
catalogId = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:GetPartitionIndexes' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:databaseName:GetPartitionIndexes' :: Text
databaseName = Text
pDatabaseName_,
$sel:tableName:GetPartitionIndexes' :: Text
tableName = Text
pTableName_
}
getPartitionIndexes_catalogId :: Lens.Lens' GetPartitionIndexes (Prelude.Maybe Prelude.Text)
getPartitionIndexes_catalogId :: Lens' GetPartitionIndexes (Maybe Text)
getPartitionIndexes_catalogId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetPartitionIndexes' {Maybe Text
catalogId :: Maybe Text
$sel:catalogId:GetPartitionIndexes' :: GetPartitionIndexes -> Maybe Text
catalogId} -> Maybe Text
catalogId) (\s :: GetPartitionIndexes
s@GetPartitionIndexes' {} Maybe Text
a -> GetPartitionIndexes
s {$sel:catalogId:GetPartitionIndexes' :: Maybe Text
catalogId = Maybe Text
a} :: GetPartitionIndexes)
getPartitionIndexes_nextToken :: Lens.Lens' GetPartitionIndexes (Prelude.Maybe Prelude.Text)
getPartitionIndexes_nextToken :: Lens' GetPartitionIndexes (Maybe Text)
getPartitionIndexes_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetPartitionIndexes' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetPartitionIndexes' :: GetPartitionIndexes -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetPartitionIndexes
s@GetPartitionIndexes' {} Maybe Text
a -> GetPartitionIndexes
s {$sel:nextToken:GetPartitionIndexes' :: Maybe Text
nextToken = Maybe Text
a} :: GetPartitionIndexes)
getPartitionIndexes_databaseName :: Lens.Lens' GetPartitionIndexes Prelude.Text
getPartitionIndexes_databaseName :: Lens' GetPartitionIndexes Text
getPartitionIndexes_databaseName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetPartitionIndexes' {Text
databaseName :: Text
$sel:databaseName:GetPartitionIndexes' :: GetPartitionIndexes -> Text
databaseName} -> Text
databaseName) (\s :: GetPartitionIndexes
s@GetPartitionIndexes' {} Text
a -> GetPartitionIndexes
s {$sel:databaseName:GetPartitionIndexes' :: Text
databaseName = Text
a} :: GetPartitionIndexes)
getPartitionIndexes_tableName :: Lens.Lens' GetPartitionIndexes Prelude.Text
getPartitionIndexes_tableName :: Lens' GetPartitionIndexes Text
getPartitionIndexes_tableName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetPartitionIndexes' {Text
tableName :: Text
$sel:tableName:GetPartitionIndexes' :: GetPartitionIndexes -> Text
tableName} -> Text
tableName) (\s :: GetPartitionIndexes
s@GetPartitionIndexes' {} Text
a -> GetPartitionIndexes
s {$sel:tableName:GetPartitionIndexes' :: Text
tableName = Text
a} :: GetPartitionIndexes)
instance Core.AWSPager GetPartitionIndexes where
page :: GetPartitionIndexes
-> AWSResponse GetPartitionIndexes -> Maybe GetPartitionIndexes
page GetPartitionIndexes
rq AWSResponse GetPartitionIndexes
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse GetPartitionIndexes
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' GetPartitionIndexesResponse (Maybe Text)
getPartitionIndexesResponse_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 GetPartitionIndexes
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
GetPartitionIndexesResponse (Maybe [PartitionIndexDescriptor])
getPartitionIndexesResponse_partitionIndexDescriptorList
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.$ GetPartitionIndexes
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' GetPartitionIndexes (Maybe Text)
getPartitionIndexes_nextToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse GetPartitionIndexes
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' GetPartitionIndexesResponse (Maybe Text)
getPartitionIndexesResponse_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 GetPartitionIndexes where
type
AWSResponse GetPartitionIndexes =
GetPartitionIndexesResponse
request :: (Service -> Service)
-> GetPartitionIndexes -> Request GetPartitionIndexes
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 GetPartitionIndexes
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetPartitionIndexes)))
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 [PartitionIndexDescriptor]
-> Int
-> GetPartitionIndexesResponse
GetPartitionIndexesResponse'
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
"PartitionIndexDescriptorList"
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 GetPartitionIndexes where
hashWithSalt :: Int -> GetPartitionIndexes -> Int
hashWithSalt Int
_salt GetPartitionIndexes' {Maybe Text
Text
tableName :: Text
databaseName :: Text
nextToken :: Maybe Text
catalogId :: Maybe Text
$sel:tableName:GetPartitionIndexes' :: GetPartitionIndexes -> Text
$sel:databaseName:GetPartitionIndexes' :: GetPartitionIndexes -> Text
$sel:nextToken:GetPartitionIndexes' :: GetPartitionIndexes -> Maybe Text
$sel:catalogId:GetPartitionIndexes' :: GetPartitionIndexes -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
catalogId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
databaseName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
tableName
instance Prelude.NFData GetPartitionIndexes where
rnf :: GetPartitionIndexes -> ()
rnf GetPartitionIndexes' {Maybe Text
Text
tableName :: Text
databaseName :: Text
nextToken :: Maybe Text
catalogId :: Maybe Text
$sel:tableName:GetPartitionIndexes' :: GetPartitionIndexes -> Text
$sel:databaseName:GetPartitionIndexes' :: GetPartitionIndexes -> Text
$sel:nextToken:GetPartitionIndexes' :: GetPartitionIndexes -> Maybe Text
$sel:catalogId:GetPartitionIndexes' :: GetPartitionIndexes -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
catalogId
seq :: forall a b. a -> b -> b
`Prelude.seq` 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 Text
databaseName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
tableName
instance Data.ToHeaders GetPartitionIndexes where
toHeaders :: GetPartitionIndexes -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"AWSGlue.GetPartitionIndexes" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToJSON GetPartitionIndexes where
toJSON :: GetPartitionIndexes -> Value
toJSON GetPartitionIndexes' {Maybe Text
Text
tableName :: Text
databaseName :: Text
nextToken :: Maybe Text
catalogId :: Maybe Text
$sel:tableName:GetPartitionIndexes' :: GetPartitionIndexes -> Text
$sel:databaseName:GetPartitionIndexes' :: GetPartitionIndexes -> Text
$sel:nextToken:GetPartitionIndexes' :: GetPartitionIndexes -> Maybe Text
$sel:catalogId:GetPartitionIndexes' :: GetPartitionIndexes -> Maybe Text
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"CatalogId" 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
catalogId,
(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,
forall a. a -> Maybe a
Prelude.Just (Key
"DatabaseName" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
databaseName),
forall a. a -> Maybe a
Prelude.Just (Key
"TableName" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
tableName)
]
)
instance Data.ToPath GetPartitionIndexes where
toPath :: GetPartitionIndexes -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Data.ToQuery GetPartitionIndexes where
toQuery :: GetPartitionIndexes -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data GetPartitionIndexesResponse = GetPartitionIndexesResponse'
{
GetPartitionIndexesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
GetPartitionIndexesResponse -> Maybe [PartitionIndexDescriptor]
partitionIndexDescriptorList :: Prelude.Maybe [PartitionIndexDescriptor],
GetPartitionIndexesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetPartitionIndexesResponse -> GetPartitionIndexesResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetPartitionIndexesResponse -> GetPartitionIndexesResponse -> Bool
$c/= :: GetPartitionIndexesResponse -> GetPartitionIndexesResponse -> Bool
== :: GetPartitionIndexesResponse -> GetPartitionIndexesResponse -> Bool
$c== :: GetPartitionIndexesResponse -> GetPartitionIndexesResponse -> Bool
Prelude.Eq, ReadPrec [GetPartitionIndexesResponse]
ReadPrec GetPartitionIndexesResponse
Int -> ReadS GetPartitionIndexesResponse
ReadS [GetPartitionIndexesResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetPartitionIndexesResponse]
$creadListPrec :: ReadPrec [GetPartitionIndexesResponse]
readPrec :: ReadPrec GetPartitionIndexesResponse
$creadPrec :: ReadPrec GetPartitionIndexesResponse
readList :: ReadS [GetPartitionIndexesResponse]
$creadList :: ReadS [GetPartitionIndexesResponse]
readsPrec :: Int -> ReadS GetPartitionIndexesResponse
$creadsPrec :: Int -> ReadS GetPartitionIndexesResponse
Prelude.Read, Int -> GetPartitionIndexesResponse -> ShowS
[GetPartitionIndexesResponse] -> ShowS
GetPartitionIndexesResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetPartitionIndexesResponse] -> ShowS
$cshowList :: [GetPartitionIndexesResponse] -> ShowS
show :: GetPartitionIndexesResponse -> String
$cshow :: GetPartitionIndexesResponse -> String
showsPrec :: Int -> GetPartitionIndexesResponse -> ShowS
$cshowsPrec :: Int -> GetPartitionIndexesResponse -> ShowS
Prelude.Show, forall x.
Rep GetPartitionIndexesResponse x -> GetPartitionIndexesResponse
forall x.
GetPartitionIndexesResponse -> Rep GetPartitionIndexesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetPartitionIndexesResponse x -> GetPartitionIndexesResponse
$cfrom :: forall x.
GetPartitionIndexesResponse -> Rep GetPartitionIndexesResponse x
Prelude.Generic)
newGetPartitionIndexesResponse ::
Prelude.Int ->
GetPartitionIndexesResponse
newGetPartitionIndexesResponse :: Int -> GetPartitionIndexesResponse
newGetPartitionIndexesResponse Int
pHttpStatus_ =
GetPartitionIndexesResponse'
{ $sel:nextToken:GetPartitionIndexesResponse' :: Maybe Text
nextToken =
forall a. Maybe a
Prelude.Nothing,
$sel:partitionIndexDescriptorList:GetPartitionIndexesResponse' :: Maybe [PartitionIndexDescriptor]
partitionIndexDescriptorList = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetPartitionIndexesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getPartitionIndexesResponse_nextToken :: Lens.Lens' GetPartitionIndexesResponse (Prelude.Maybe Prelude.Text)
getPartitionIndexesResponse_nextToken :: Lens' GetPartitionIndexesResponse (Maybe Text)
getPartitionIndexesResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetPartitionIndexesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetPartitionIndexesResponse' :: GetPartitionIndexesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetPartitionIndexesResponse
s@GetPartitionIndexesResponse' {} Maybe Text
a -> GetPartitionIndexesResponse
s {$sel:nextToken:GetPartitionIndexesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: GetPartitionIndexesResponse)
getPartitionIndexesResponse_partitionIndexDescriptorList :: Lens.Lens' GetPartitionIndexesResponse (Prelude.Maybe [PartitionIndexDescriptor])
getPartitionIndexesResponse_partitionIndexDescriptorList :: Lens'
GetPartitionIndexesResponse (Maybe [PartitionIndexDescriptor])
getPartitionIndexesResponse_partitionIndexDescriptorList = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetPartitionIndexesResponse' {Maybe [PartitionIndexDescriptor]
partitionIndexDescriptorList :: Maybe [PartitionIndexDescriptor]
$sel:partitionIndexDescriptorList:GetPartitionIndexesResponse' :: GetPartitionIndexesResponse -> Maybe [PartitionIndexDescriptor]
partitionIndexDescriptorList} -> Maybe [PartitionIndexDescriptor]
partitionIndexDescriptorList) (\s :: GetPartitionIndexesResponse
s@GetPartitionIndexesResponse' {} Maybe [PartitionIndexDescriptor]
a -> GetPartitionIndexesResponse
s {$sel:partitionIndexDescriptorList:GetPartitionIndexesResponse' :: Maybe [PartitionIndexDescriptor]
partitionIndexDescriptorList = Maybe [PartitionIndexDescriptor]
a} :: GetPartitionIndexesResponse) 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
getPartitionIndexesResponse_httpStatus :: Lens.Lens' GetPartitionIndexesResponse Prelude.Int
getPartitionIndexesResponse_httpStatus :: Lens' GetPartitionIndexesResponse Int
getPartitionIndexesResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetPartitionIndexesResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetPartitionIndexesResponse' :: GetPartitionIndexesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetPartitionIndexesResponse
s@GetPartitionIndexesResponse' {} Int
a -> GetPartitionIndexesResponse
s {$sel:httpStatus:GetPartitionIndexesResponse' :: Int
httpStatus = Int
a} :: GetPartitionIndexesResponse)
instance Prelude.NFData GetPartitionIndexesResponse where
rnf :: GetPartitionIndexesResponse -> ()
rnf GetPartitionIndexesResponse' {Int
Maybe [PartitionIndexDescriptor]
Maybe Text
httpStatus :: Int
partitionIndexDescriptorList :: Maybe [PartitionIndexDescriptor]
nextToken :: Maybe Text
$sel:httpStatus:GetPartitionIndexesResponse' :: GetPartitionIndexesResponse -> Int
$sel:partitionIndexDescriptorList:GetPartitionIndexesResponse' :: GetPartitionIndexesResponse -> Maybe [PartitionIndexDescriptor]
$sel:nextToken:GetPartitionIndexesResponse' :: GetPartitionIndexesResponse -> 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 [PartitionIndexDescriptor]
partitionIndexDescriptorList
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus