{-# 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.Transcribe.ListCallAnalyticsCategories
(
ListCallAnalyticsCategories (..),
newListCallAnalyticsCategories,
listCallAnalyticsCategories_nextToken,
listCallAnalyticsCategories_maxResults,
ListCallAnalyticsCategoriesResponse (..),
newListCallAnalyticsCategoriesResponse,
listCallAnalyticsCategoriesResponse_categories,
listCallAnalyticsCategoriesResponse_nextToken,
listCallAnalyticsCategoriesResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.Transcribe.Types
data ListCallAnalyticsCategories = ListCallAnalyticsCategories'
{
ListCallAnalyticsCategories -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListCallAnalyticsCategories -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListCallAnalyticsCategories -> ListCallAnalyticsCategories -> Bool
(ListCallAnalyticsCategories
-> ListCallAnalyticsCategories -> Bool)
-> (ListCallAnalyticsCategories
-> ListCallAnalyticsCategories -> Bool)
-> Eq ListCallAnalyticsCategories
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListCallAnalyticsCategories -> ListCallAnalyticsCategories -> Bool
$c/= :: ListCallAnalyticsCategories -> ListCallAnalyticsCategories -> Bool
== :: ListCallAnalyticsCategories -> ListCallAnalyticsCategories -> Bool
$c== :: ListCallAnalyticsCategories -> ListCallAnalyticsCategories -> Bool
Prelude.Eq, ReadPrec [ListCallAnalyticsCategories]
ReadPrec ListCallAnalyticsCategories
Int -> ReadS ListCallAnalyticsCategories
ReadS [ListCallAnalyticsCategories]
(Int -> ReadS ListCallAnalyticsCategories)
-> ReadS [ListCallAnalyticsCategories]
-> ReadPrec ListCallAnalyticsCategories
-> ReadPrec [ListCallAnalyticsCategories]
-> Read ListCallAnalyticsCategories
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListCallAnalyticsCategories]
$creadListPrec :: ReadPrec [ListCallAnalyticsCategories]
readPrec :: ReadPrec ListCallAnalyticsCategories
$creadPrec :: ReadPrec ListCallAnalyticsCategories
readList :: ReadS [ListCallAnalyticsCategories]
$creadList :: ReadS [ListCallAnalyticsCategories]
readsPrec :: Int -> ReadS ListCallAnalyticsCategories
$creadsPrec :: Int -> ReadS ListCallAnalyticsCategories
Prelude.Read, Int -> ListCallAnalyticsCategories -> ShowS
[ListCallAnalyticsCategories] -> ShowS
ListCallAnalyticsCategories -> String
(Int -> ListCallAnalyticsCategories -> ShowS)
-> (ListCallAnalyticsCategories -> String)
-> ([ListCallAnalyticsCategories] -> ShowS)
-> Show ListCallAnalyticsCategories
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListCallAnalyticsCategories] -> ShowS
$cshowList :: [ListCallAnalyticsCategories] -> ShowS
show :: ListCallAnalyticsCategories -> String
$cshow :: ListCallAnalyticsCategories -> String
showsPrec :: Int -> ListCallAnalyticsCategories -> ShowS
$cshowsPrec :: Int -> ListCallAnalyticsCategories -> ShowS
Prelude.Show, (forall x.
ListCallAnalyticsCategories -> Rep ListCallAnalyticsCategories x)
-> (forall x.
Rep ListCallAnalyticsCategories x -> ListCallAnalyticsCategories)
-> Generic ListCallAnalyticsCategories
forall x.
Rep ListCallAnalyticsCategories x -> ListCallAnalyticsCategories
forall x.
ListCallAnalyticsCategories -> Rep ListCallAnalyticsCategories x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListCallAnalyticsCategories x -> ListCallAnalyticsCategories
$cfrom :: forall x.
ListCallAnalyticsCategories -> Rep ListCallAnalyticsCategories x
Prelude.Generic)
newListCallAnalyticsCategories ::
ListCallAnalyticsCategories
newListCallAnalyticsCategories :: ListCallAnalyticsCategories
newListCallAnalyticsCategories =
ListCallAnalyticsCategories' :: Maybe Text -> Maybe Natural -> ListCallAnalyticsCategories
ListCallAnalyticsCategories'
{ $sel:nextToken:ListCallAnalyticsCategories' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListCallAnalyticsCategories' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listCallAnalyticsCategories_nextToken :: Lens.Lens' ListCallAnalyticsCategories (Prelude.Maybe Prelude.Text)
listCallAnalyticsCategories_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListCallAnalyticsCategories -> f ListCallAnalyticsCategories
listCallAnalyticsCategories_nextToken = (ListCallAnalyticsCategories -> Maybe Text)
-> (ListCallAnalyticsCategories
-> Maybe Text -> ListCallAnalyticsCategories)
-> Lens
ListCallAnalyticsCategories
ListCallAnalyticsCategories
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListCallAnalyticsCategories' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListCallAnalyticsCategories' :: ListCallAnalyticsCategories -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListCallAnalyticsCategories
s@ListCallAnalyticsCategories' {} Maybe Text
a -> ListCallAnalyticsCategories
s {$sel:nextToken:ListCallAnalyticsCategories' :: Maybe Text
nextToken = Maybe Text
a} :: ListCallAnalyticsCategories)
listCallAnalyticsCategories_maxResults :: Lens.Lens' ListCallAnalyticsCategories (Prelude.Maybe Prelude.Natural)
listCallAnalyticsCategories_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListCallAnalyticsCategories -> f ListCallAnalyticsCategories
listCallAnalyticsCategories_maxResults = (ListCallAnalyticsCategories -> Maybe Natural)
-> (ListCallAnalyticsCategories
-> Maybe Natural -> ListCallAnalyticsCategories)
-> Lens
ListCallAnalyticsCategories
ListCallAnalyticsCategories
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListCallAnalyticsCategories' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListCallAnalyticsCategories' :: ListCallAnalyticsCategories -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListCallAnalyticsCategories
s@ListCallAnalyticsCategories' {} Maybe Natural
a -> ListCallAnalyticsCategories
s {$sel:maxResults:ListCallAnalyticsCategories' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListCallAnalyticsCategories)
instance Core.AWSRequest ListCallAnalyticsCategories where
type
AWSResponse ListCallAnalyticsCategories =
ListCallAnalyticsCategoriesResponse
request :: ListCallAnalyticsCategories -> Request ListCallAnalyticsCategories
request = Service
-> ListCallAnalyticsCategories
-> Request ListCallAnalyticsCategories
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListCallAnalyticsCategories
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListCallAnalyticsCategories)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListCallAnalyticsCategories))
-> Logger
-> Service
-> Proxy ListCallAnalyticsCategories
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListCallAnalyticsCategories)))
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 [CategoryProperties]
-> Maybe Text -> Int -> ListCallAnalyticsCategoriesResponse
ListCallAnalyticsCategoriesResponse'
(Maybe [CategoryProperties]
-> Maybe Text -> Int -> ListCallAnalyticsCategoriesResponse)
-> Either String (Maybe [CategoryProperties])
-> Either
String (Maybe Text -> Int -> ListCallAnalyticsCategoriesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text -> Either String (Maybe (Maybe [CategoryProperties]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Categories" Either String (Maybe (Maybe [CategoryProperties]))
-> Maybe [CategoryProperties]
-> Either String (Maybe [CategoryProperties])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [CategoryProperties]
forall a. Monoid a => a
Prelude.mempty)
Either
String (Maybe Text -> Int -> ListCallAnalyticsCategoriesResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListCallAnalyticsCategoriesResponse)
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 -> ListCallAnalyticsCategoriesResponse)
-> Either String Int
-> Either String ListCallAnalyticsCategoriesResponse
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 ListCallAnalyticsCategories
instance Prelude.NFData ListCallAnalyticsCategories
instance Core.ToHeaders ListCallAnalyticsCategories where
toHeaders :: ListCallAnalyticsCategories -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListCallAnalyticsCategories -> 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
"Transcribe.ListCallAnalyticsCategories" ::
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 ListCallAnalyticsCategories where
toJSON :: ListCallAnalyticsCategories -> Value
toJSON ListCallAnalyticsCategories' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:ListCallAnalyticsCategories' :: ListCallAnalyticsCategories -> Maybe Natural
$sel:nextToken:ListCallAnalyticsCategories' :: ListCallAnalyticsCategories -> 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 ListCallAnalyticsCategories where
toPath :: ListCallAnalyticsCategories -> ByteString
toPath = ByteString -> ListCallAnalyticsCategories -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListCallAnalyticsCategories where
toQuery :: ListCallAnalyticsCategories -> QueryString
toQuery = QueryString -> ListCallAnalyticsCategories -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListCallAnalyticsCategoriesResponse = ListCallAnalyticsCategoriesResponse'
{
ListCallAnalyticsCategoriesResponse -> Maybe [CategoryProperties]
categories :: Prelude.Maybe [CategoryProperties],
ListCallAnalyticsCategoriesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListCallAnalyticsCategoriesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListCallAnalyticsCategoriesResponse
-> ListCallAnalyticsCategoriesResponse -> Bool
(ListCallAnalyticsCategoriesResponse
-> ListCallAnalyticsCategoriesResponse -> Bool)
-> (ListCallAnalyticsCategoriesResponse
-> ListCallAnalyticsCategoriesResponse -> Bool)
-> Eq ListCallAnalyticsCategoriesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListCallAnalyticsCategoriesResponse
-> ListCallAnalyticsCategoriesResponse -> Bool
$c/= :: ListCallAnalyticsCategoriesResponse
-> ListCallAnalyticsCategoriesResponse -> Bool
== :: ListCallAnalyticsCategoriesResponse
-> ListCallAnalyticsCategoriesResponse -> Bool
$c== :: ListCallAnalyticsCategoriesResponse
-> ListCallAnalyticsCategoriesResponse -> Bool
Prelude.Eq, ReadPrec [ListCallAnalyticsCategoriesResponse]
ReadPrec ListCallAnalyticsCategoriesResponse
Int -> ReadS ListCallAnalyticsCategoriesResponse
ReadS [ListCallAnalyticsCategoriesResponse]
(Int -> ReadS ListCallAnalyticsCategoriesResponse)
-> ReadS [ListCallAnalyticsCategoriesResponse]
-> ReadPrec ListCallAnalyticsCategoriesResponse
-> ReadPrec [ListCallAnalyticsCategoriesResponse]
-> Read ListCallAnalyticsCategoriesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListCallAnalyticsCategoriesResponse]
$creadListPrec :: ReadPrec [ListCallAnalyticsCategoriesResponse]
readPrec :: ReadPrec ListCallAnalyticsCategoriesResponse
$creadPrec :: ReadPrec ListCallAnalyticsCategoriesResponse
readList :: ReadS [ListCallAnalyticsCategoriesResponse]
$creadList :: ReadS [ListCallAnalyticsCategoriesResponse]
readsPrec :: Int -> ReadS ListCallAnalyticsCategoriesResponse
$creadsPrec :: Int -> ReadS ListCallAnalyticsCategoriesResponse
Prelude.Read, Int -> ListCallAnalyticsCategoriesResponse -> ShowS
[ListCallAnalyticsCategoriesResponse] -> ShowS
ListCallAnalyticsCategoriesResponse -> String
(Int -> ListCallAnalyticsCategoriesResponse -> ShowS)
-> (ListCallAnalyticsCategoriesResponse -> String)
-> ([ListCallAnalyticsCategoriesResponse] -> ShowS)
-> Show ListCallAnalyticsCategoriesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListCallAnalyticsCategoriesResponse] -> ShowS
$cshowList :: [ListCallAnalyticsCategoriesResponse] -> ShowS
show :: ListCallAnalyticsCategoriesResponse -> String
$cshow :: ListCallAnalyticsCategoriesResponse -> String
showsPrec :: Int -> ListCallAnalyticsCategoriesResponse -> ShowS
$cshowsPrec :: Int -> ListCallAnalyticsCategoriesResponse -> ShowS
Prelude.Show, (forall x.
ListCallAnalyticsCategoriesResponse
-> Rep ListCallAnalyticsCategoriesResponse x)
-> (forall x.
Rep ListCallAnalyticsCategoriesResponse x
-> ListCallAnalyticsCategoriesResponse)
-> Generic ListCallAnalyticsCategoriesResponse
forall x.
Rep ListCallAnalyticsCategoriesResponse x
-> ListCallAnalyticsCategoriesResponse
forall x.
ListCallAnalyticsCategoriesResponse
-> Rep ListCallAnalyticsCategoriesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListCallAnalyticsCategoriesResponse x
-> ListCallAnalyticsCategoriesResponse
$cfrom :: forall x.
ListCallAnalyticsCategoriesResponse
-> Rep ListCallAnalyticsCategoriesResponse x
Prelude.Generic)
newListCallAnalyticsCategoriesResponse ::
Prelude.Int ->
ListCallAnalyticsCategoriesResponse
newListCallAnalyticsCategoriesResponse :: Int -> ListCallAnalyticsCategoriesResponse
newListCallAnalyticsCategoriesResponse Int
pHttpStatus_ =
ListCallAnalyticsCategoriesResponse' :: Maybe [CategoryProperties]
-> Maybe Text -> Int -> ListCallAnalyticsCategoriesResponse
ListCallAnalyticsCategoriesResponse'
{ $sel:categories:ListCallAnalyticsCategoriesResponse' :: Maybe [CategoryProperties]
categories =
Maybe [CategoryProperties]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListCallAnalyticsCategoriesResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListCallAnalyticsCategoriesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listCallAnalyticsCategoriesResponse_categories :: Lens.Lens' ListCallAnalyticsCategoriesResponse (Prelude.Maybe [CategoryProperties])
listCallAnalyticsCategoriesResponse_categories :: (Maybe [CategoryProperties] -> f (Maybe [CategoryProperties]))
-> ListCallAnalyticsCategoriesResponse
-> f ListCallAnalyticsCategoriesResponse
listCallAnalyticsCategoriesResponse_categories = (ListCallAnalyticsCategoriesResponse -> Maybe [CategoryProperties])
-> (ListCallAnalyticsCategoriesResponse
-> Maybe [CategoryProperties]
-> ListCallAnalyticsCategoriesResponse)
-> Lens
ListCallAnalyticsCategoriesResponse
ListCallAnalyticsCategoriesResponse
(Maybe [CategoryProperties])
(Maybe [CategoryProperties])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListCallAnalyticsCategoriesResponse' {Maybe [CategoryProperties]
categories :: Maybe [CategoryProperties]
$sel:categories:ListCallAnalyticsCategoriesResponse' :: ListCallAnalyticsCategoriesResponse -> Maybe [CategoryProperties]
categories} -> Maybe [CategoryProperties]
categories) (\s :: ListCallAnalyticsCategoriesResponse
s@ListCallAnalyticsCategoriesResponse' {} Maybe [CategoryProperties]
a -> ListCallAnalyticsCategoriesResponse
s {$sel:categories:ListCallAnalyticsCategoriesResponse' :: Maybe [CategoryProperties]
categories = Maybe [CategoryProperties]
a} :: ListCallAnalyticsCategoriesResponse) ((Maybe [CategoryProperties] -> f (Maybe [CategoryProperties]))
-> ListCallAnalyticsCategoriesResponse
-> f ListCallAnalyticsCategoriesResponse)
-> ((Maybe [CategoryProperties] -> f (Maybe [CategoryProperties]))
-> Maybe [CategoryProperties] -> f (Maybe [CategoryProperties]))
-> (Maybe [CategoryProperties] -> f (Maybe [CategoryProperties]))
-> ListCallAnalyticsCategoriesResponse
-> f ListCallAnalyticsCategoriesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[CategoryProperties]
[CategoryProperties]
[CategoryProperties]
[CategoryProperties]
-> Iso
(Maybe [CategoryProperties])
(Maybe [CategoryProperties])
(Maybe [CategoryProperties])
(Maybe [CategoryProperties])
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
[CategoryProperties]
[CategoryProperties]
[CategoryProperties]
[CategoryProperties]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listCallAnalyticsCategoriesResponse_nextToken :: Lens.Lens' ListCallAnalyticsCategoriesResponse (Prelude.Maybe Prelude.Text)
listCallAnalyticsCategoriesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListCallAnalyticsCategoriesResponse
-> f ListCallAnalyticsCategoriesResponse
listCallAnalyticsCategoriesResponse_nextToken = (ListCallAnalyticsCategoriesResponse -> Maybe Text)
-> (ListCallAnalyticsCategoriesResponse
-> Maybe Text -> ListCallAnalyticsCategoriesResponse)
-> Lens
ListCallAnalyticsCategoriesResponse
ListCallAnalyticsCategoriesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListCallAnalyticsCategoriesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListCallAnalyticsCategoriesResponse' :: ListCallAnalyticsCategoriesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListCallAnalyticsCategoriesResponse
s@ListCallAnalyticsCategoriesResponse' {} Maybe Text
a -> ListCallAnalyticsCategoriesResponse
s {$sel:nextToken:ListCallAnalyticsCategoriesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListCallAnalyticsCategoriesResponse)
listCallAnalyticsCategoriesResponse_httpStatus :: Lens.Lens' ListCallAnalyticsCategoriesResponse Prelude.Int
listCallAnalyticsCategoriesResponse_httpStatus :: (Int -> f Int)
-> ListCallAnalyticsCategoriesResponse
-> f ListCallAnalyticsCategoriesResponse
listCallAnalyticsCategoriesResponse_httpStatus = (ListCallAnalyticsCategoriesResponse -> Int)
-> (ListCallAnalyticsCategoriesResponse
-> Int -> ListCallAnalyticsCategoriesResponse)
-> Lens
ListCallAnalyticsCategoriesResponse
ListCallAnalyticsCategoriesResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListCallAnalyticsCategoriesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListCallAnalyticsCategoriesResponse' :: ListCallAnalyticsCategoriesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListCallAnalyticsCategoriesResponse
s@ListCallAnalyticsCategoriesResponse' {} Int
a -> ListCallAnalyticsCategoriesResponse
s {$sel:httpStatus:ListCallAnalyticsCategoriesResponse' :: Int
httpStatus = Int
a} :: ListCallAnalyticsCategoriesResponse)
instance
Prelude.NFData
ListCallAnalyticsCategoriesResponse