{-# 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.DeviceFarm.ListTestGridSessionActions
(
ListTestGridSessionActions (..),
newListTestGridSessionActions,
listTestGridSessionActions_maxResult,
listTestGridSessionActions_nextToken,
listTestGridSessionActions_sessionArn,
ListTestGridSessionActionsResponse (..),
newListTestGridSessionActionsResponse,
listTestGridSessionActionsResponse_actions,
listTestGridSessionActionsResponse_nextToken,
listTestGridSessionActionsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DeviceFarm.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 ListTestGridSessionActions = ListTestGridSessionActions'
{
ListTestGridSessionActions -> Maybe Natural
maxResult :: Prelude.Maybe Prelude.Natural,
ListTestGridSessionActions -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListTestGridSessionActions -> Text
sessionArn :: Prelude.Text
}
deriving (ListTestGridSessionActions -> ListTestGridSessionActions -> Bool
(ListTestGridSessionActions -> ListTestGridSessionActions -> Bool)
-> (ListTestGridSessionActions
-> ListTestGridSessionActions -> Bool)
-> Eq ListTestGridSessionActions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListTestGridSessionActions -> ListTestGridSessionActions -> Bool
$c/= :: ListTestGridSessionActions -> ListTestGridSessionActions -> Bool
== :: ListTestGridSessionActions -> ListTestGridSessionActions -> Bool
$c== :: ListTestGridSessionActions -> ListTestGridSessionActions -> Bool
Prelude.Eq, ReadPrec [ListTestGridSessionActions]
ReadPrec ListTestGridSessionActions
Int -> ReadS ListTestGridSessionActions
ReadS [ListTestGridSessionActions]
(Int -> ReadS ListTestGridSessionActions)
-> ReadS [ListTestGridSessionActions]
-> ReadPrec ListTestGridSessionActions
-> ReadPrec [ListTestGridSessionActions]
-> Read ListTestGridSessionActions
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListTestGridSessionActions]
$creadListPrec :: ReadPrec [ListTestGridSessionActions]
readPrec :: ReadPrec ListTestGridSessionActions
$creadPrec :: ReadPrec ListTestGridSessionActions
readList :: ReadS [ListTestGridSessionActions]
$creadList :: ReadS [ListTestGridSessionActions]
readsPrec :: Int -> ReadS ListTestGridSessionActions
$creadsPrec :: Int -> ReadS ListTestGridSessionActions
Prelude.Read, Int -> ListTestGridSessionActions -> ShowS
[ListTestGridSessionActions] -> ShowS
ListTestGridSessionActions -> String
(Int -> ListTestGridSessionActions -> ShowS)
-> (ListTestGridSessionActions -> String)
-> ([ListTestGridSessionActions] -> ShowS)
-> Show ListTestGridSessionActions
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListTestGridSessionActions] -> ShowS
$cshowList :: [ListTestGridSessionActions] -> ShowS
show :: ListTestGridSessionActions -> String
$cshow :: ListTestGridSessionActions -> String
showsPrec :: Int -> ListTestGridSessionActions -> ShowS
$cshowsPrec :: Int -> ListTestGridSessionActions -> ShowS
Prelude.Show, (forall x.
ListTestGridSessionActions -> Rep ListTestGridSessionActions x)
-> (forall x.
Rep ListTestGridSessionActions x -> ListTestGridSessionActions)
-> Generic ListTestGridSessionActions
forall x.
Rep ListTestGridSessionActions x -> ListTestGridSessionActions
forall x.
ListTestGridSessionActions -> Rep ListTestGridSessionActions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListTestGridSessionActions x -> ListTestGridSessionActions
$cfrom :: forall x.
ListTestGridSessionActions -> Rep ListTestGridSessionActions x
Prelude.Generic)
newListTestGridSessionActions ::
Prelude.Text ->
ListTestGridSessionActions
newListTestGridSessionActions :: Text -> ListTestGridSessionActions
newListTestGridSessionActions Text
pSessionArn_ =
ListTestGridSessionActions' :: Maybe Natural -> Maybe Text -> Text -> ListTestGridSessionActions
ListTestGridSessionActions'
{ $sel:maxResult:ListTestGridSessionActions' :: Maybe Natural
maxResult =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListTestGridSessionActions' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:sessionArn:ListTestGridSessionActions' :: Text
sessionArn = Text
pSessionArn_
}
listTestGridSessionActions_maxResult :: Lens.Lens' ListTestGridSessionActions (Prelude.Maybe Prelude.Natural)
listTestGridSessionActions_maxResult :: (Maybe Natural -> f (Maybe Natural))
-> ListTestGridSessionActions -> f ListTestGridSessionActions
listTestGridSessionActions_maxResult = (ListTestGridSessionActions -> Maybe Natural)
-> (ListTestGridSessionActions
-> Maybe Natural -> ListTestGridSessionActions)
-> Lens
ListTestGridSessionActions
ListTestGridSessionActions
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTestGridSessionActions' {Maybe Natural
maxResult :: Maybe Natural
$sel:maxResult:ListTestGridSessionActions' :: ListTestGridSessionActions -> Maybe Natural
maxResult} -> Maybe Natural
maxResult) (\s :: ListTestGridSessionActions
s@ListTestGridSessionActions' {} Maybe Natural
a -> ListTestGridSessionActions
s {$sel:maxResult:ListTestGridSessionActions' :: Maybe Natural
maxResult = Maybe Natural
a} :: ListTestGridSessionActions)
listTestGridSessionActions_nextToken :: Lens.Lens' ListTestGridSessionActions (Prelude.Maybe Prelude.Text)
listTestGridSessionActions_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListTestGridSessionActions -> f ListTestGridSessionActions
listTestGridSessionActions_nextToken = (ListTestGridSessionActions -> Maybe Text)
-> (ListTestGridSessionActions
-> Maybe Text -> ListTestGridSessionActions)
-> Lens
ListTestGridSessionActions
ListTestGridSessionActions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTestGridSessionActions' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListTestGridSessionActions' :: ListTestGridSessionActions -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListTestGridSessionActions
s@ListTestGridSessionActions' {} Maybe Text
a -> ListTestGridSessionActions
s {$sel:nextToken:ListTestGridSessionActions' :: Maybe Text
nextToken = Maybe Text
a} :: ListTestGridSessionActions)
listTestGridSessionActions_sessionArn :: Lens.Lens' ListTestGridSessionActions Prelude.Text
listTestGridSessionActions_sessionArn :: (Text -> f Text)
-> ListTestGridSessionActions -> f ListTestGridSessionActions
listTestGridSessionActions_sessionArn = (ListTestGridSessionActions -> Text)
-> (ListTestGridSessionActions
-> Text -> ListTestGridSessionActions)
-> Lens
ListTestGridSessionActions ListTestGridSessionActions Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTestGridSessionActions' {Text
sessionArn :: Text
$sel:sessionArn:ListTestGridSessionActions' :: ListTestGridSessionActions -> Text
sessionArn} -> Text
sessionArn) (\s :: ListTestGridSessionActions
s@ListTestGridSessionActions' {} Text
a -> ListTestGridSessionActions
s {$sel:sessionArn:ListTestGridSessionActions' :: Text
sessionArn = Text
a} :: ListTestGridSessionActions)
instance Core.AWSRequest ListTestGridSessionActions where
type
AWSResponse ListTestGridSessionActions =
ListTestGridSessionActionsResponse
request :: ListTestGridSessionActions -> Request ListTestGridSessionActions
request = Service
-> ListTestGridSessionActions -> Request ListTestGridSessionActions
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListTestGridSessionActions
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListTestGridSessionActions)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListTestGridSessionActions))
-> Logger
-> Service
-> Proxy ListTestGridSessionActions
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListTestGridSessionActions)))
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 [TestGridSessionAction]
-> Maybe Text -> Int -> ListTestGridSessionActionsResponse
ListTestGridSessionActionsResponse'
(Maybe [TestGridSessionAction]
-> Maybe Text -> Int -> ListTestGridSessionActionsResponse)
-> Either String (Maybe [TestGridSessionAction])
-> Either
String (Maybe Text -> Int -> ListTestGridSessionActionsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text -> Either String (Maybe (Maybe [TestGridSessionAction]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"actions" Either String (Maybe (Maybe [TestGridSessionAction]))
-> Maybe [TestGridSessionAction]
-> Either String (Maybe [TestGridSessionAction])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [TestGridSessionAction]
forall a. Monoid a => a
Prelude.mempty)
Either
String (Maybe Text -> Int -> ListTestGridSessionActionsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListTestGridSessionActionsResponse)
forall (f :: * -> *) a b. Applicative f => 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
"nextToken")
Either String (Int -> ListTestGridSessionActionsResponse)
-> Either String Int
-> Either String ListTestGridSessionActionsResponse
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 ListTestGridSessionActions
instance Prelude.NFData ListTestGridSessionActions
instance Core.ToHeaders ListTestGridSessionActions where
toHeaders :: ListTestGridSessionActions -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListTestGridSessionActions -> 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
"DeviceFarm_20150623.ListTestGridSessionActions" ::
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 ListTestGridSessionActions where
toJSON :: ListTestGridSessionActions -> Value
toJSON ListTestGridSessionActions' {Maybe Natural
Maybe Text
Text
sessionArn :: Text
nextToken :: Maybe Text
maxResult :: Maybe Natural
$sel:sessionArn:ListTestGridSessionActions' :: ListTestGridSessionActions -> Text
$sel:nextToken:ListTestGridSessionActions' :: ListTestGridSessionActions -> Maybe Text
$sel:maxResult:ListTestGridSessionActions' :: ListTestGridSessionActions -> Maybe Natural
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"maxResult" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResult,
(Text
"nextToken" 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
nextToken,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"sessionArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
sessionArn)
]
)
instance Core.ToPath ListTestGridSessionActions where
toPath :: ListTestGridSessionActions -> ByteString
toPath = ByteString -> ListTestGridSessionActions -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListTestGridSessionActions where
toQuery :: ListTestGridSessionActions -> QueryString
toQuery = QueryString -> ListTestGridSessionActions -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListTestGridSessionActionsResponse = ListTestGridSessionActionsResponse'
{
ListTestGridSessionActionsResponse -> Maybe [TestGridSessionAction]
actions :: Prelude.Maybe [TestGridSessionAction],
ListTestGridSessionActionsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListTestGridSessionActionsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListTestGridSessionActionsResponse
-> ListTestGridSessionActionsResponse -> Bool
(ListTestGridSessionActionsResponse
-> ListTestGridSessionActionsResponse -> Bool)
-> (ListTestGridSessionActionsResponse
-> ListTestGridSessionActionsResponse -> Bool)
-> Eq ListTestGridSessionActionsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListTestGridSessionActionsResponse
-> ListTestGridSessionActionsResponse -> Bool
$c/= :: ListTestGridSessionActionsResponse
-> ListTestGridSessionActionsResponse -> Bool
== :: ListTestGridSessionActionsResponse
-> ListTestGridSessionActionsResponse -> Bool
$c== :: ListTestGridSessionActionsResponse
-> ListTestGridSessionActionsResponse -> Bool
Prelude.Eq, ReadPrec [ListTestGridSessionActionsResponse]
ReadPrec ListTestGridSessionActionsResponse
Int -> ReadS ListTestGridSessionActionsResponse
ReadS [ListTestGridSessionActionsResponse]
(Int -> ReadS ListTestGridSessionActionsResponse)
-> ReadS [ListTestGridSessionActionsResponse]
-> ReadPrec ListTestGridSessionActionsResponse
-> ReadPrec [ListTestGridSessionActionsResponse]
-> Read ListTestGridSessionActionsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListTestGridSessionActionsResponse]
$creadListPrec :: ReadPrec [ListTestGridSessionActionsResponse]
readPrec :: ReadPrec ListTestGridSessionActionsResponse
$creadPrec :: ReadPrec ListTestGridSessionActionsResponse
readList :: ReadS [ListTestGridSessionActionsResponse]
$creadList :: ReadS [ListTestGridSessionActionsResponse]
readsPrec :: Int -> ReadS ListTestGridSessionActionsResponse
$creadsPrec :: Int -> ReadS ListTestGridSessionActionsResponse
Prelude.Read, Int -> ListTestGridSessionActionsResponse -> ShowS
[ListTestGridSessionActionsResponse] -> ShowS
ListTestGridSessionActionsResponse -> String
(Int -> ListTestGridSessionActionsResponse -> ShowS)
-> (ListTestGridSessionActionsResponse -> String)
-> ([ListTestGridSessionActionsResponse] -> ShowS)
-> Show ListTestGridSessionActionsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListTestGridSessionActionsResponse] -> ShowS
$cshowList :: [ListTestGridSessionActionsResponse] -> ShowS
show :: ListTestGridSessionActionsResponse -> String
$cshow :: ListTestGridSessionActionsResponse -> String
showsPrec :: Int -> ListTestGridSessionActionsResponse -> ShowS
$cshowsPrec :: Int -> ListTestGridSessionActionsResponse -> ShowS
Prelude.Show, (forall x.
ListTestGridSessionActionsResponse
-> Rep ListTestGridSessionActionsResponse x)
-> (forall x.
Rep ListTestGridSessionActionsResponse x
-> ListTestGridSessionActionsResponse)
-> Generic ListTestGridSessionActionsResponse
forall x.
Rep ListTestGridSessionActionsResponse x
-> ListTestGridSessionActionsResponse
forall x.
ListTestGridSessionActionsResponse
-> Rep ListTestGridSessionActionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListTestGridSessionActionsResponse x
-> ListTestGridSessionActionsResponse
$cfrom :: forall x.
ListTestGridSessionActionsResponse
-> Rep ListTestGridSessionActionsResponse x
Prelude.Generic)
newListTestGridSessionActionsResponse ::
Prelude.Int ->
ListTestGridSessionActionsResponse
newListTestGridSessionActionsResponse :: Int -> ListTestGridSessionActionsResponse
newListTestGridSessionActionsResponse Int
pHttpStatus_ =
ListTestGridSessionActionsResponse' :: Maybe [TestGridSessionAction]
-> Maybe Text -> Int -> ListTestGridSessionActionsResponse
ListTestGridSessionActionsResponse'
{ $sel:actions:ListTestGridSessionActionsResponse' :: Maybe [TestGridSessionAction]
actions =
Maybe [TestGridSessionAction]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListTestGridSessionActionsResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListTestGridSessionActionsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listTestGridSessionActionsResponse_actions :: Lens.Lens' ListTestGridSessionActionsResponse (Prelude.Maybe [TestGridSessionAction])
listTestGridSessionActionsResponse_actions :: (Maybe [TestGridSessionAction]
-> f (Maybe [TestGridSessionAction]))
-> ListTestGridSessionActionsResponse
-> f ListTestGridSessionActionsResponse
listTestGridSessionActionsResponse_actions = (ListTestGridSessionActionsResponse
-> Maybe [TestGridSessionAction])
-> (ListTestGridSessionActionsResponse
-> Maybe [TestGridSessionAction]
-> ListTestGridSessionActionsResponse)
-> Lens
ListTestGridSessionActionsResponse
ListTestGridSessionActionsResponse
(Maybe [TestGridSessionAction])
(Maybe [TestGridSessionAction])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTestGridSessionActionsResponse' {Maybe [TestGridSessionAction]
actions :: Maybe [TestGridSessionAction]
$sel:actions:ListTestGridSessionActionsResponse' :: ListTestGridSessionActionsResponse -> Maybe [TestGridSessionAction]
actions} -> Maybe [TestGridSessionAction]
actions) (\s :: ListTestGridSessionActionsResponse
s@ListTestGridSessionActionsResponse' {} Maybe [TestGridSessionAction]
a -> ListTestGridSessionActionsResponse
s {$sel:actions:ListTestGridSessionActionsResponse' :: Maybe [TestGridSessionAction]
actions = Maybe [TestGridSessionAction]
a} :: ListTestGridSessionActionsResponse) ((Maybe [TestGridSessionAction]
-> f (Maybe [TestGridSessionAction]))
-> ListTestGridSessionActionsResponse
-> f ListTestGridSessionActionsResponse)
-> ((Maybe [TestGridSessionAction]
-> f (Maybe [TestGridSessionAction]))
-> Maybe [TestGridSessionAction]
-> f (Maybe [TestGridSessionAction]))
-> (Maybe [TestGridSessionAction]
-> f (Maybe [TestGridSessionAction]))
-> ListTestGridSessionActionsResponse
-> f ListTestGridSessionActionsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[TestGridSessionAction]
[TestGridSessionAction]
[TestGridSessionAction]
[TestGridSessionAction]
-> Iso
(Maybe [TestGridSessionAction])
(Maybe [TestGridSessionAction])
(Maybe [TestGridSessionAction])
(Maybe [TestGridSessionAction])
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
[TestGridSessionAction]
[TestGridSessionAction]
[TestGridSessionAction]
[TestGridSessionAction]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listTestGridSessionActionsResponse_nextToken :: Lens.Lens' ListTestGridSessionActionsResponse (Prelude.Maybe Prelude.Text)
listTestGridSessionActionsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListTestGridSessionActionsResponse
-> f ListTestGridSessionActionsResponse
listTestGridSessionActionsResponse_nextToken = (ListTestGridSessionActionsResponse -> Maybe Text)
-> (ListTestGridSessionActionsResponse
-> Maybe Text -> ListTestGridSessionActionsResponse)
-> Lens
ListTestGridSessionActionsResponse
ListTestGridSessionActionsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTestGridSessionActionsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListTestGridSessionActionsResponse' :: ListTestGridSessionActionsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListTestGridSessionActionsResponse
s@ListTestGridSessionActionsResponse' {} Maybe Text
a -> ListTestGridSessionActionsResponse
s {$sel:nextToken:ListTestGridSessionActionsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListTestGridSessionActionsResponse)
listTestGridSessionActionsResponse_httpStatus :: Lens.Lens' ListTestGridSessionActionsResponse Prelude.Int
listTestGridSessionActionsResponse_httpStatus :: (Int -> f Int)
-> ListTestGridSessionActionsResponse
-> f ListTestGridSessionActionsResponse
listTestGridSessionActionsResponse_httpStatus = (ListTestGridSessionActionsResponse -> Int)
-> (ListTestGridSessionActionsResponse
-> Int -> ListTestGridSessionActionsResponse)
-> Lens
ListTestGridSessionActionsResponse
ListTestGridSessionActionsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTestGridSessionActionsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListTestGridSessionActionsResponse' :: ListTestGridSessionActionsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListTestGridSessionActionsResponse
s@ListTestGridSessionActionsResponse' {} Int
a -> ListTestGridSessionActionsResponse
s {$sel:httpStatus:ListTestGridSessionActionsResponse' :: Int
httpStatus = Int
a} :: ListTestGridSessionActionsResponse)
instance
Prelude.NFData
ListTestGridSessionActionsResponse