{-# 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.IVS.ListRecordingConfigurations
(
ListRecordingConfigurations (..),
newListRecordingConfigurations,
listRecordingConfigurations_nextToken,
listRecordingConfigurations_maxResults,
ListRecordingConfigurationsResponse (..),
newListRecordingConfigurationsResponse,
listRecordingConfigurationsResponse_nextToken,
listRecordingConfigurationsResponse_httpStatus,
listRecordingConfigurationsResponse_recordingConfigurations,
)
where
import qualified Amazonka.Core as Core
import Amazonka.IVS.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 ListRecordingConfigurations = ListRecordingConfigurations'
{
ListRecordingConfigurations -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListRecordingConfigurations -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListRecordingConfigurations -> ListRecordingConfigurations -> Bool
(ListRecordingConfigurations
-> ListRecordingConfigurations -> Bool)
-> (ListRecordingConfigurations
-> ListRecordingConfigurations -> Bool)
-> Eq ListRecordingConfigurations
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListRecordingConfigurations -> ListRecordingConfigurations -> Bool
$c/= :: ListRecordingConfigurations -> ListRecordingConfigurations -> Bool
== :: ListRecordingConfigurations -> ListRecordingConfigurations -> Bool
$c== :: ListRecordingConfigurations -> ListRecordingConfigurations -> Bool
Prelude.Eq, ReadPrec [ListRecordingConfigurations]
ReadPrec ListRecordingConfigurations
Int -> ReadS ListRecordingConfigurations
ReadS [ListRecordingConfigurations]
(Int -> ReadS ListRecordingConfigurations)
-> ReadS [ListRecordingConfigurations]
-> ReadPrec ListRecordingConfigurations
-> ReadPrec [ListRecordingConfigurations]
-> Read ListRecordingConfigurations
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListRecordingConfigurations]
$creadListPrec :: ReadPrec [ListRecordingConfigurations]
readPrec :: ReadPrec ListRecordingConfigurations
$creadPrec :: ReadPrec ListRecordingConfigurations
readList :: ReadS [ListRecordingConfigurations]
$creadList :: ReadS [ListRecordingConfigurations]
readsPrec :: Int -> ReadS ListRecordingConfigurations
$creadsPrec :: Int -> ReadS ListRecordingConfigurations
Prelude.Read, Int -> ListRecordingConfigurations -> ShowS
[ListRecordingConfigurations] -> ShowS
ListRecordingConfigurations -> String
(Int -> ListRecordingConfigurations -> ShowS)
-> (ListRecordingConfigurations -> String)
-> ([ListRecordingConfigurations] -> ShowS)
-> Show ListRecordingConfigurations
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListRecordingConfigurations] -> ShowS
$cshowList :: [ListRecordingConfigurations] -> ShowS
show :: ListRecordingConfigurations -> String
$cshow :: ListRecordingConfigurations -> String
showsPrec :: Int -> ListRecordingConfigurations -> ShowS
$cshowsPrec :: Int -> ListRecordingConfigurations -> ShowS
Prelude.Show, (forall x.
ListRecordingConfigurations -> Rep ListRecordingConfigurations x)
-> (forall x.
Rep ListRecordingConfigurations x -> ListRecordingConfigurations)
-> Generic ListRecordingConfigurations
forall x.
Rep ListRecordingConfigurations x -> ListRecordingConfigurations
forall x.
ListRecordingConfigurations -> Rep ListRecordingConfigurations x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListRecordingConfigurations x -> ListRecordingConfigurations
$cfrom :: forall x.
ListRecordingConfigurations -> Rep ListRecordingConfigurations x
Prelude.Generic)
newListRecordingConfigurations ::
ListRecordingConfigurations
newListRecordingConfigurations :: ListRecordingConfigurations
newListRecordingConfigurations =
ListRecordingConfigurations' :: Maybe Text -> Maybe Natural -> ListRecordingConfigurations
ListRecordingConfigurations'
{ $sel:nextToken:ListRecordingConfigurations' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListRecordingConfigurations' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listRecordingConfigurations_nextToken :: Lens.Lens' ListRecordingConfigurations (Prelude.Maybe Prelude.Text)
listRecordingConfigurations_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListRecordingConfigurations -> f ListRecordingConfigurations
listRecordingConfigurations_nextToken = (ListRecordingConfigurations -> Maybe Text)
-> (ListRecordingConfigurations
-> Maybe Text -> ListRecordingConfigurations)
-> Lens
ListRecordingConfigurations
ListRecordingConfigurations
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRecordingConfigurations' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListRecordingConfigurations' :: ListRecordingConfigurations -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListRecordingConfigurations
s@ListRecordingConfigurations' {} Maybe Text
a -> ListRecordingConfigurations
s {$sel:nextToken:ListRecordingConfigurations' :: Maybe Text
nextToken = Maybe Text
a} :: ListRecordingConfigurations)
listRecordingConfigurations_maxResults :: Lens.Lens' ListRecordingConfigurations (Prelude.Maybe Prelude.Natural)
listRecordingConfigurations_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListRecordingConfigurations -> f ListRecordingConfigurations
listRecordingConfigurations_maxResults = (ListRecordingConfigurations -> Maybe Natural)
-> (ListRecordingConfigurations
-> Maybe Natural -> ListRecordingConfigurations)
-> Lens
ListRecordingConfigurations
ListRecordingConfigurations
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRecordingConfigurations' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListRecordingConfigurations' :: ListRecordingConfigurations -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListRecordingConfigurations
s@ListRecordingConfigurations' {} Maybe Natural
a -> ListRecordingConfigurations
s {$sel:maxResults:ListRecordingConfigurations' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListRecordingConfigurations)
instance Core.AWSPager ListRecordingConfigurations where
page :: ListRecordingConfigurations
-> AWSResponse ListRecordingConfigurations
-> Maybe ListRecordingConfigurations
page ListRecordingConfigurations
rq AWSResponse ListRecordingConfigurations
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListRecordingConfigurations
ListRecordingConfigurationsResponse
rs
ListRecordingConfigurationsResponse
-> Getting (First Text) ListRecordingConfigurationsResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListRecordingConfigurationsResponse
-> Const (First Text) ListRecordingConfigurationsResponse
Lens' ListRecordingConfigurationsResponse (Maybe Text)
listRecordingConfigurationsResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListRecordingConfigurationsResponse
-> Const (First Text) ListRecordingConfigurationsResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListRecordingConfigurationsResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListRecordingConfigurations
forall a. Maybe a
Prelude.Nothing
| [RecordingConfigurationSummary] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListRecordingConfigurations
ListRecordingConfigurationsResponse
rs
ListRecordingConfigurationsResponse
-> Getting
[RecordingConfigurationSummary]
ListRecordingConfigurationsResponse
[RecordingConfigurationSummary]
-> [RecordingConfigurationSummary]
forall s a. s -> Getting a s a -> a
Lens.^. Getting
[RecordingConfigurationSummary]
ListRecordingConfigurationsResponse
[RecordingConfigurationSummary]
Lens'
ListRecordingConfigurationsResponse [RecordingConfigurationSummary]
listRecordingConfigurationsResponse_recordingConfigurations
) =
Maybe ListRecordingConfigurations
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
ListRecordingConfigurations -> Maybe ListRecordingConfigurations
forall a. a -> Maybe a
Prelude.Just (ListRecordingConfigurations -> Maybe ListRecordingConfigurations)
-> ListRecordingConfigurations -> Maybe ListRecordingConfigurations
forall a b. (a -> b) -> a -> b
Prelude.$
ListRecordingConfigurations
rq
ListRecordingConfigurations
-> (ListRecordingConfigurations -> ListRecordingConfigurations)
-> ListRecordingConfigurations
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> ListRecordingConfigurations
-> Identity ListRecordingConfigurations
Lens
ListRecordingConfigurations
ListRecordingConfigurations
(Maybe Text)
(Maybe Text)
listRecordingConfigurations_nextToken
((Maybe Text -> Identity (Maybe Text))
-> ListRecordingConfigurations
-> Identity ListRecordingConfigurations)
-> Maybe Text
-> ListRecordingConfigurations
-> ListRecordingConfigurations
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListRecordingConfigurations
ListRecordingConfigurationsResponse
rs
ListRecordingConfigurationsResponse
-> Getting (First Text) ListRecordingConfigurationsResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListRecordingConfigurationsResponse
-> Const (First Text) ListRecordingConfigurationsResponse
Lens' ListRecordingConfigurationsResponse (Maybe Text)
listRecordingConfigurationsResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListRecordingConfigurationsResponse
-> Const (First Text) ListRecordingConfigurationsResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListRecordingConfigurationsResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListRecordingConfigurations where
type
AWSResponse ListRecordingConfigurations =
ListRecordingConfigurationsResponse
request :: ListRecordingConfigurations -> Request ListRecordingConfigurations
request = Service
-> ListRecordingConfigurations
-> Request ListRecordingConfigurations
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListRecordingConfigurations
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListRecordingConfigurations)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListRecordingConfigurations))
-> Logger
-> Service
-> Proxy ListRecordingConfigurations
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListRecordingConfigurations)))
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
-> [RecordingConfigurationSummary]
-> ListRecordingConfigurationsResponse
ListRecordingConfigurationsResponse'
(Maybe Text
-> Int
-> [RecordingConfigurationSummary]
-> ListRecordingConfigurationsResponse)
-> Either String (Maybe Text)
-> Either
String
(Int
-> [RecordingConfigurationSummary]
-> ListRecordingConfigurationsResponse)
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
"nextToken")
Either
String
(Int
-> [RecordingConfigurationSummary]
-> ListRecordingConfigurationsResponse)
-> Either String Int
-> Either
String
([RecordingConfigurationSummary]
-> ListRecordingConfigurationsResponse)
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))
Either
String
([RecordingConfigurationSummary]
-> ListRecordingConfigurationsResponse)
-> Either String [RecordingConfigurationSummary]
-> Either String ListRecordingConfigurationsResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text -> Either String (Maybe [RecordingConfigurationSummary])
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"recordingConfigurations"
Either String (Maybe [RecordingConfigurationSummary])
-> [RecordingConfigurationSummary]
-> Either String [RecordingConfigurationSummary]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [RecordingConfigurationSummary]
forall a. Monoid a => a
Prelude.mempty
)
)
instance Prelude.Hashable ListRecordingConfigurations
instance Prelude.NFData ListRecordingConfigurations
instance Core.ToHeaders ListRecordingConfigurations where
toHeaders :: ListRecordingConfigurations -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListRecordingConfigurations -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ 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 ListRecordingConfigurations where
toJSON :: ListRecordingConfigurations -> Value
toJSON ListRecordingConfigurations' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:ListRecordingConfigurations' :: ListRecordingConfigurations -> Maybe Natural
$sel:nextToken:ListRecordingConfigurations' :: ListRecordingConfigurations -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (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,
(Text
"maxResults" 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
maxResults
]
)
instance Core.ToPath ListRecordingConfigurations where
toPath :: ListRecordingConfigurations -> ByteString
toPath = ByteString -> ListRecordingConfigurations -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/ListRecordingConfigurations"
instance Core.ToQuery ListRecordingConfigurations where
toQuery :: ListRecordingConfigurations -> QueryString
toQuery = QueryString -> ListRecordingConfigurations -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListRecordingConfigurationsResponse = ListRecordingConfigurationsResponse'
{
ListRecordingConfigurationsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListRecordingConfigurationsResponse -> Int
httpStatus :: Prelude.Int,
ListRecordingConfigurationsResponse
-> [RecordingConfigurationSummary]
recordingConfigurations :: [RecordingConfigurationSummary]
}
deriving (ListRecordingConfigurationsResponse
-> ListRecordingConfigurationsResponse -> Bool
(ListRecordingConfigurationsResponse
-> ListRecordingConfigurationsResponse -> Bool)
-> (ListRecordingConfigurationsResponse
-> ListRecordingConfigurationsResponse -> Bool)
-> Eq ListRecordingConfigurationsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListRecordingConfigurationsResponse
-> ListRecordingConfigurationsResponse -> Bool
$c/= :: ListRecordingConfigurationsResponse
-> ListRecordingConfigurationsResponse -> Bool
== :: ListRecordingConfigurationsResponse
-> ListRecordingConfigurationsResponse -> Bool
$c== :: ListRecordingConfigurationsResponse
-> ListRecordingConfigurationsResponse -> Bool
Prelude.Eq, ReadPrec [ListRecordingConfigurationsResponse]
ReadPrec ListRecordingConfigurationsResponse
Int -> ReadS ListRecordingConfigurationsResponse
ReadS [ListRecordingConfigurationsResponse]
(Int -> ReadS ListRecordingConfigurationsResponse)
-> ReadS [ListRecordingConfigurationsResponse]
-> ReadPrec ListRecordingConfigurationsResponse
-> ReadPrec [ListRecordingConfigurationsResponse]
-> Read ListRecordingConfigurationsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListRecordingConfigurationsResponse]
$creadListPrec :: ReadPrec [ListRecordingConfigurationsResponse]
readPrec :: ReadPrec ListRecordingConfigurationsResponse
$creadPrec :: ReadPrec ListRecordingConfigurationsResponse
readList :: ReadS [ListRecordingConfigurationsResponse]
$creadList :: ReadS [ListRecordingConfigurationsResponse]
readsPrec :: Int -> ReadS ListRecordingConfigurationsResponse
$creadsPrec :: Int -> ReadS ListRecordingConfigurationsResponse
Prelude.Read, Int -> ListRecordingConfigurationsResponse -> ShowS
[ListRecordingConfigurationsResponse] -> ShowS
ListRecordingConfigurationsResponse -> String
(Int -> ListRecordingConfigurationsResponse -> ShowS)
-> (ListRecordingConfigurationsResponse -> String)
-> ([ListRecordingConfigurationsResponse] -> ShowS)
-> Show ListRecordingConfigurationsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListRecordingConfigurationsResponse] -> ShowS
$cshowList :: [ListRecordingConfigurationsResponse] -> ShowS
show :: ListRecordingConfigurationsResponse -> String
$cshow :: ListRecordingConfigurationsResponse -> String
showsPrec :: Int -> ListRecordingConfigurationsResponse -> ShowS
$cshowsPrec :: Int -> ListRecordingConfigurationsResponse -> ShowS
Prelude.Show, (forall x.
ListRecordingConfigurationsResponse
-> Rep ListRecordingConfigurationsResponse x)
-> (forall x.
Rep ListRecordingConfigurationsResponse x
-> ListRecordingConfigurationsResponse)
-> Generic ListRecordingConfigurationsResponse
forall x.
Rep ListRecordingConfigurationsResponse x
-> ListRecordingConfigurationsResponse
forall x.
ListRecordingConfigurationsResponse
-> Rep ListRecordingConfigurationsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListRecordingConfigurationsResponse x
-> ListRecordingConfigurationsResponse
$cfrom :: forall x.
ListRecordingConfigurationsResponse
-> Rep ListRecordingConfigurationsResponse x
Prelude.Generic)
newListRecordingConfigurationsResponse ::
Prelude.Int ->
ListRecordingConfigurationsResponse
newListRecordingConfigurationsResponse :: Int -> ListRecordingConfigurationsResponse
newListRecordingConfigurationsResponse Int
pHttpStatus_ =
ListRecordingConfigurationsResponse' :: Maybe Text
-> Int
-> [RecordingConfigurationSummary]
-> ListRecordingConfigurationsResponse
ListRecordingConfigurationsResponse'
{ $sel:nextToken:ListRecordingConfigurationsResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListRecordingConfigurationsResponse' :: Int
httpStatus = Int
pHttpStatus_,
$sel:recordingConfigurations:ListRecordingConfigurationsResponse' :: [RecordingConfigurationSummary]
recordingConfigurations =
[RecordingConfigurationSummary]
forall a. Monoid a => a
Prelude.mempty
}
listRecordingConfigurationsResponse_nextToken :: Lens.Lens' ListRecordingConfigurationsResponse (Prelude.Maybe Prelude.Text)
listRecordingConfigurationsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListRecordingConfigurationsResponse
-> f ListRecordingConfigurationsResponse
listRecordingConfigurationsResponse_nextToken = (ListRecordingConfigurationsResponse -> Maybe Text)
-> (ListRecordingConfigurationsResponse
-> Maybe Text -> ListRecordingConfigurationsResponse)
-> Lens' ListRecordingConfigurationsResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRecordingConfigurationsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListRecordingConfigurationsResponse' :: ListRecordingConfigurationsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListRecordingConfigurationsResponse
s@ListRecordingConfigurationsResponse' {} Maybe Text
a -> ListRecordingConfigurationsResponse
s {$sel:nextToken:ListRecordingConfigurationsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListRecordingConfigurationsResponse)
listRecordingConfigurationsResponse_httpStatus :: Lens.Lens' ListRecordingConfigurationsResponse Prelude.Int
listRecordingConfigurationsResponse_httpStatus :: (Int -> f Int)
-> ListRecordingConfigurationsResponse
-> f ListRecordingConfigurationsResponse
listRecordingConfigurationsResponse_httpStatus = (ListRecordingConfigurationsResponse -> Int)
-> (ListRecordingConfigurationsResponse
-> Int -> ListRecordingConfigurationsResponse)
-> Lens
ListRecordingConfigurationsResponse
ListRecordingConfigurationsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRecordingConfigurationsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListRecordingConfigurationsResponse' :: ListRecordingConfigurationsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListRecordingConfigurationsResponse
s@ListRecordingConfigurationsResponse' {} Int
a -> ListRecordingConfigurationsResponse
s {$sel:httpStatus:ListRecordingConfigurationsResponse' :: Int
httpStatus = Int
a} :: ListRecordingConfigurationsResponse)
listRecordingConfigurationsResponse_recordingConfigurations :: Lens.Lens' ListRecordingConfigurationsResponse [RecordingConfigurationSummary]
listRecordingConfigurationsResponse_recordingConfigurations :: ([RecordingConfigurationSummary]
-> f [RecordingConfigurationSummary])
-> ListRecordingConfigurationsResponse
-> f ListRecordingConfigurationsResponse
listRecordingConfigurationsResponse_recordingConfigurations = (ListRecordingConfigurationsResponse
-> [RecordingConfigurationSummary])
-> (ListRecordingConfigurationsResponse
-> [RecordingConfigurationSummary]
-> ListRecordingConfigurationsResponse)
-> Lens'
ListRecordingConfigurationsResponse [RecordingConfigurationSummary]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRecordingConfigurationsResponse' {[RecordingConfigurationSummary]
recordingConfigurations :: [RecordingConfigurationSummary]
$sel:recordingConfigurations:ListRecordingConfigurationsResponse' :: ListRecordingConfigurationsResponse
-> [RecordingConfigurationSummary]
recordingConfigurations} -> [RecordingConfigurationSummary]
recordingConfigurations) (\s :: ListRecordingConfigurationsResponse
s@ListRecordingConfigurationsResponse' {} [RecordingConfigurationSummary]
a -> ListRecordingConfigurationsResponse
s {$sel:recordingConfigurations:ListRecordingConfigurationsResponse' :: [RecordingConfigurationSummary]
recordingConfigurations = [RecordingConfigurationSummary]
a} :: ListRecordingConfigurationsResponse) (([RecordingConfigurationSummary]
-> f [RecordingConfigurationSummary])
-> ListRecordingConfigurationsResponse
-> f ListRecordingConfigurationsResponse)
-> (([RecordingConfigurationSummary]
-> f [RecordingConfigurationSummary])
-> [RecordingConfigurationSummary]
-> f [RecordingConfigurationSummary])
-> ([RecordingConfigurationSummary]
-> f [RecordingConfigurationSummary])
-> ListRecordingConfigurationsResponse
-> f ListRecordingConfigurationsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([RecordingConfigurationSummary]
-> f [RecordingConfigurationSummary])
-> [RecordingConfigurationSummary]
-> f [RecordingConfigurationSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance
Prelude.NFData
ListRecordingConfigurationsResponse