{-# 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.Chime.ListVoiceConnectorGroups
(
ListVoiceConnectorGroups (..),
newListVoiceConnectorGroups,
listVoiceConnectorGroups_nextToken,
listVoiceConnectorGroups_maxResults,
ListVoiceConnectorGroupsResponse (..),
newListVoiceConnectorGroupsResponse,
listVoiceConnectorGroupsResponse_voiceConnectorGroups,
listVoiceConnectorGroupsResponse_nextToken,
listVoiceConnectorGroupsResponse_httpStatus,
)
where
import Amazonka.Chime.Types
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
data ListVoiceConnectorGroups = ListVoiceConnectorGroups'
{
ListVoiceConnectorGroups -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListVoiceConnectorGroups -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListVoiceConnectorGroups -> ListVoiceConnectorGroups -> Bool
(ListVoiceConnectorGroups -> ListVoiceConnectorGroups -> Bool)
-> (ListVoiceConnectorGroups -> ListVoiceConnectorGroups -> Bool)
-> Eq ListVoiceConnectorGroups
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListVoiceConnectorGroups -> ListVoiceConnectorGroups -> Bool
$c/= :: ListVoiceConnectorGroups -> ListVoiceConnectorGroups -> Bool
== :: ListVoiceConnectorGroups -> ListVoiceConnectorGroups -> Bool
$c== :: ListVoiceConnectorGroups -> ListVoiceConnectorGroups -> Bool
Prelude.Eq, ReadPrec [ListVoiceConnectorGroups]
ReadPrec ListVoiceConnectorGroups
Int -> ReadS ListVoiceConnectorGroups
ReadS [ListVoiceConnectorGroups]
(Int -> ReadS ListVoiceConnectorGroups)
-> ReadS [ListVoiceConnectorGroups]
-> ReadPrec ListVoiceConnectorGroups
-> ReadPrec [ListVoiceConnectorGroups]
-> Read ListVoiceConnectorGroups
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListVoiceConnectorGroups]
$creadListPrec :: ReadPrec [ListVoiceConnectorGroups]
readPrec :: ReadPrec ListVoiceConnectorGroups
$creadPrec :: ReadPrec ListVoiceConnectorGroups
readList :: ReadS [ListVoiceConnectorGroups]
$creadList :: ReadS [ListVoiceConnectorGroups]
readsPrec :: Int -> ReadS ListVoiceConnectorGroups
$creadsPrec :: Int -> ReadS ListVoiceConnectorGroups
Prelude.Read, Int -> ListVoiceConnectorGroups -> ShowS
[ListVoiceConnectorGroups] -> ShowS
ListVoiceConnectorGroups -> String
(Int -> ListVoiceConnectorGroups -> ShowS)
-> (ListVoiceConnectorGroups -> String)
-> ([ListVoiceConnectorGroups] -> ShowS)
-> Show ListVoiceConnectorGroups
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListVoiceConnectorGroups] -> ShowS
$cshowList :: [ListVoiceConnectorGroups] -> ShowS
show :: ListVoiceConnectorGroups -> String
$cshow :: ListVoiceConnectorGroups -> String
showsPrec :: Int -> ListVoiceConnectorGroups -> ShowS
$cshowsPrec :: Int -> ListVoiceConnectorGroups -> ShowS
Prelude.Show, (forall x.
ListVoiceConnectorGroups -> Rep ListVoiceConnectorGroups x)
-> (forall x.
Rep ListVoiceConnectorGroups x -> ListVoiceConnectorGroups)
-> Generic ListVoiceConnectorGroups
forall x.
Rep ListVoiceConnectorGroups x -> ListVoiceConnectorGroups
forall x.
ListVoiceConnectorGroups -> Rep ListVoiceConnectorGroups x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListVoiceConnectorGroups x -> ListVoiceConnectorGroups
$cfrom :: forall x.
ListVoiceConnectorGroups -> Rep ListVoiceConnectorGroups x
Prelude.Generic)
newListVoiceConnectorGroups ::
ListVoiceConnectorGroups
newListVoiceConnectorGroups :: ListVoiceConnectorGroups
newListVoiceConnectorGroups =
ListVoiceConnectorGroups' :: Maybe Text -> Maybe Natural -> ListVoiceConnectorGroups
ListVoiceConnectorGroups'
{ $sel:nextToken:ListVoiceConnectorGroups' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListVoiceConnectorGroups' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listVoiceConnectorGroups_nextToken :: Lens.Lens' ListVoiceConnectorGroups (Prelude.Maybe Prelude.Text)
listVoiceConnectorGroups_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListVoiceConnectorGroups -> f ListVoiceConnectorGroups
listVoiceConnectorGroups_nextToken = (ListVoiceConnectorGroups -> Maybe Text)
-> (ListVoiceConnectorGroups
-> Maybe Text -> ListVoiceConnectorGroups)
-> Lens
ListVoiceConnectorGroups
ListVoiceConnectorGroups
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVoiceConnectorGroups' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListVoiceConnectorGroups' :: ListVoiceConnectorGroups -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListVoiceConnectorGroups
s@ListVoiceConnectorGroups' {} Maybe Text
a -> ListVoiceConnectorGroups
s {$sel:nextToken:ListVoiceConnectorGroups' :: Maybe Text
nextToken = Maybe Text
a} :: ListVoiceConnectorGroups)
listVoiceConnectorGroups_maxResults :: Lens.Lens' ListVoiceConnectorGroups (Prelude.Maybe Prelude.Natural)
listVoiceConnectorGroups_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListVoiceConnectorGroups -> f ListVoiceConnectorGroups
listVoiceConnectorGroups_maxResults = (ListVoiceConnectorGroups -> Maybe Natural)
-> (ListVoiceConnectorGroups
-> Maybe Natural -> ListVoiceConnectorGroups)
-> Lens
ListVoiceConnectorGroups
ListVoiceConnectorGroups
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVoiceConnectorGroups' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListVoiceConnectorGroups' :: ListVoiceConnectorGroups -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListVoiceConnectorGroups
s@ListVoiceConnectorGroups' {} Maybe Natural
a -> ListVoiceConnectorGroups
s {$sel:maxResults:ListVoiceConnectorGroups' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListVoiceConnectorGroups)
instance Core.AWSRequest ListVoiceConnectorGroups where
type
AWSResponse ListVoiceConnectorGroups =
ListVoiceConnectorGroupsResponse
request :: ListVoiceConnectorGroups -> Request ListVoiceConnectorGroups
request = Service
-> ListVoiceConnectorGroups -> Request ListVoiceConnectorGroups
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListVoiceConnectorGroups
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListVoiceConnectorGroups)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListVoiceConnectorGroups))
-> Logger
-> Service
-> Proxy ListVoiceConnectorGroups
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListVoiceConnectorGroups)))
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 [VoiceConnectorGroup]
-> Maybe Text -> Int -> ListVoiceConnectorGroupsResponse
ListVoiceConnectorGroupsResponse'
(Maybe [VoiceConnectorGroup]
-> Maybe Text -> Int -> ListVoiceConnectorGroupsResponse)
-> Either String (Maybe [VoiceConnectorGroup])
-> Either
String (Maybe Text -> Int -> ListVoiceConnectorGroupsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object
-> Text -> Either String (Maybe (Maybe [VoiceConnectorGroup]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"VoiceConnectorGroups"
Either String (Maybe (Maybe [VoiceConnectorGroup]))
-> Maybe [VoiceConnectorGroup]
-> Either String (Maybe [VoiceConnectorGroup])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [VoiceConnectorGroup]
forall a. Monoid a => a
Prelude.mempty
)
Either
String (Maybe Text -> Int -> ListVoiceConnectorGroupsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListVoiceConnectorGroupsResponse)
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 -> ListVoiceConnectorGroupsResponse)
-> Either String Int
-> Either String ListVoiceConnectorGroupsResponse
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 ListVoiceConnectorGroups
instance Prelude.NFData ListVoiceConnectorGroups
instance Core.ToHeaders ListVoiceConnectorGroups where
toHeaders :: ListVoiceConnectorGroups -> ResponseHeaders
toHeaders = ResponseHeaders -> ListVoiceConnectorGroups -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath ListVoiceConnectorGroups where
toPath :: ListVoiceConnectorGroups -> ByteString
toPath = ByteString -> ListVoiceConnectorGroups -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/voice-connector-groups"
instance Core.ToQuery ListVoiceConnectorGroups where
toQuery :: ListVoiceConnectorGroups -> QueryString
toQuery ListVoiceConnectorGroups' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:ListVoiceConnectorGroups' :: ListVoiceConnectorGroups -> Maybe Natural
$sel:nextToken:ListVoiceConnectorGroups' :: ListVoiceConnectorGroups -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"next-token" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
ByteString
"max-results" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults
]
data ListVoiceConnectorGroupsResponse = ListVoiceConnectorGroupsResponse'
{
ListVoiceConnectorGroupsResponse -> Maybe [VoiceConnectorGroup]
voiceConnectorGroups :: Prelude.Maybe [VoiceConnectorGroup],
ListVoiceConnectorGroupsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListVoiceConnectorGroupsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListVoiceConnectorGroupsResponse
-> ListVoiceConnectorGroupsResponse -> Bool
(ListVoiceConnectorGroupsResponse
-> ListVoiceConnectorGroupsResponse -> Bool)
-> (ListVoiceConnectorGroupsResponse
-> ListVoiceConnectorGroupsResponse -> Bool)
-> Eq ListVoiceConnectorGroupsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListVoiceConnectorGroupsResponse
-> ListVoiceConnectorGroupsResponse -> Bool
$c/= :: ListVoiceConnectorGroupsResponse
-> ListVoiceConnectorGroupsResponse -> Bool
== :: ListVoiceConnectorGroupsResponse
-> ListVoiceConnectorGroupsResponse -> Bool
$c== :: ListVoiceConnectorGroupsResponse
-> ListVoiceConnectorGroupsResponse -> Bool
Prelude.Eq, ReadPrec [ListVoiceConnectorGroupsResponse]
ReadPrec ListVoiceConnectorGroupsResponse
Int -> ReadS ListVoiceConnectorGroupsResponse
ReadS [ListVoiceConnectorGroupsResponse]
(Int -> ReadS ListVoiceConnectorGroupsResponse)
-> ReadS [ListVoiceConnectorGroupsResponse]
-> ReadPrec ListVoiceConnectorGroupsResponse
-> ReadPrec [ListVoiceConnectorGroupsResponse]
-> Read ListVoiceConnectorGroupsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListVoiceConnectorGroupsResponse]
$creadListPrec :: ReadPrec [ListVoiceConnectorGroupsResponse]
readPrec :: ReadPrec ListVoiceConnectorGroupsResponse
$creadPrec :: ReadPrec ListVoiceConnectorGroupsResponse
readList :: ReadS [ListVoiceConnectorGroupsResponse]
$creadList :: ReadS [ListVoiceConnectorGroupsResponse]
readsPrec :: Int -> ReadS ListVoiceConnectorGroupsResponse
$creadsPrec :: Int -> ReadS ListVoiceConnectorGroupsResponse
Prelude.Read, Int -> ListVoiceConnectorGroupsResponse -> ShowS
[ListVoiceConnectorGroupsResponse] -> ShowS
ListVoiceConnectorGroupsResponse -> String
(Int -> ListVoiceConnectorGroupsResponse -> ShowS)
-> (ListVoiceConnectorGroupsResponse -> String)
-> ([ListVoiceConnectorGroupsResponse] -> ShowS)
-> Show ListVoiceConnectorGroupsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListVoiceConnectorGroupsResponse] -> ShowS
$cshowList :: [ListVoiceConnectorGroupsResponse] -> ShowS
show :: ListVoiceConnectorGroupsResponse -> String
$cshow :: ListVoiceConnectorGroupsResponse -> String
showsPrec :: Int -> ListVoiceConnectorGroupsResponse -> ShowS
$cshowsPrec :: Int -> ListVoiceConnectorGroupsResponse -> ShowS
Prelude.Show, (forall x.
ListVoiceConnectorGroupsResponse
-> Rep ListVoiceConnectorGroupsResponse x)
-> (forall x.
Rep ListVoiceConnectorGroupsResponse x
-> ListVoiceConnectorGroupsResponse)
-> Generic ListVoiceConnectorGroupsResponse
forall x.
Rep ListVoiceConnectorGroupsResponse x
-> ListVoiceConnectorGroupsResponse
forall x.
ListVoiceConnectorGroupsResponse
-> Rep ListVoiceConnectorGroupsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListVoiceConnectorGroupsResponse x
-> ListVoiceConnectorGroupsResponse
$cfrom :: forall x.
ListVoiceConnectorGroupsResponse
-> Rep ListVoiceConnectorGroupsResponse x
Prelude.Generic)
newListVoiceConnectorGroupsResponse ::
Prelude.Int ->
ListVoiceConnectorGroupsResponse
newListVoiceConnectorGroupsResponse :: Int -> ListVoiceConnectorGroupsResponse
newListVoiceConnectorGroupsResponse Int
pHttpStatus_ =
ListVoiceConnectorGroupsResponse' :: Maybe [VoiceConnectorGroup]
-> Maybe Text -> Int -> ListVoiceConnectorGroupsResponse
ListVoiceConnectorGroupsResponse'
{ $sel:voiceConnectorGroups:ListVoiceConnectorGroupsResponse' :: Maybe [VoiceConnectorGroup]
voiceConnectorGroups =
Maybe [VoiceConnectorGroup]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListVoiceConnectorGroupsResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListVoiceConnectorGroupsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listVoiceConnectorGroupsResponse_voiceConnectorGroups :: Lens.Lens' ListVoiceConnectorGroupsResponse (Prelude.Maybe [VoiceConnectorGroup])
listVoiceConnectorGroupsResponse_voiceConnectorGroups :: (Maybe [VoiceConnectorGroup] -> f (Maybe [VoiceConnectorGroup]))
-> ListVoiceConnectorGroupsResponse
-> f ListVoiceConnectorGroupsResponse
listVoiceConnectorGroupsResponse_voiceConnectorGroups = (ListVoiceConnectorGroupsResponse -> Maybe [VoiceConnectorGroup])
-> (ListVoiceConnectorGroupsResponse
-> Maybe [VoiceConnectorGroup] -> ListVoiceConnectorGroupsResponse)
-> Lens
ListVoiceConnectorGroupsResponse
ListVoiceConnectorGroupsResponse
(Maybe [VoiceConnectorGroup])
(Maybe [VoiceConnectorGroup])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVoiceConnectorGroupsResponse' {Maybe [VoiceConnectorGroup]
voiceConnectorGroups :: Maybe [VoiceConnectorGroup]
$sel:voiceConnectorGroups:ListVoiceConnectorGroupsResponse' :: ListVoiceConnectorGroupsResponse -> Maybe [VoiceConnectorGroup]
voiceConnectorGroups} -> Maybe [VoiceConnectorGroup]
voiceConnectorGroups) (\s :: ListVoiceConnectorGroupsResponse
s@ListVoiceConnectorGroupsResponse' {} Maybe [VoiceConnectorGroup]
a -> ListVoiceConnectorGroupsResponse
s {$sel:voiceConnectorGroups:ListVoiceConnectorGroupsResponse' :: Maybe [VoiceConnectorGroup]
voiceConnectorGroups = Maybe [VoiceConnectorGroup]
a} :: ListVoiceConnectorGroupsResponse) ((Maybe [VoiceConnectorGroup] -> f (Maybe [VoiceConnectorGroup]))
-> ListVoiceConnectorGroupsResponse
-> f ListVoiceConnectorGroupsResponse)
-> ((Maybe [VoiceConnectorGroup]
-> f (Maybe [VoiceConnectorGroup]))
-> Maybe [VoiceConnectorGroup] -> f (Maybe [VoiceConnectorGroup]))
-> (Maybe [VoiceConnectorGroup] -> f (Maybe [VoiceConnectorGroup]))
-> ListVoiceConnectorGroupsResponse
-> f ListVoiceConnectorGroupsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[VoiceConnectorGroup]
[VoiceConnectorGroup]
[VoiceConnectorGroup]
[VoiceConnectorGroup]
-> Iso
(Maybe [VoiceConnectorGroup])
(Maybe [VoiceConnectorGroup])
(Maybe [VoiceConnectorGroup])
(Maybe [VoiceConnectorGroup])
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
[VoiceConnectorGroup]
[VoiceConnectorGroup]
[VoiceConnectorGroup]
[VoiceConnectorGroup]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listVoiceConnectorGroupsResponse_nextToken :: Lens.Lens' ListVoiceConnectorGroupsResponse (Prelude.Maybe Prelude.Text)
listVoiceConnectorGroupsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListVoiceConnectorGroupsResponse
-> f ListVoiceConnectorGroupsResponse
listVoiceConnectorGroupsResponse_nextToken = (ListVoiceConnectorGroupsResponse -> Maybe Text)
-> (ListVoiceConnectorGroupsResponse
-> Maybe Text -> ListVoiceConnectorGroupsResponse)
-> Lens
ListVoiceConnectorGroupsResponse
ListVoiceConnectorGroupsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVoiceConnectorGroupsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListVoiceConnectorGroupsResponse' :: ListVoiceConnectorGroupsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListVoiceConnectorGroupsResponse
s@ListVoiceConnectorGroupsResponse' {} Maybe Text
a -> ListVoiceConnectorGroupsResponse
s {$sel:nextToken:ListVoiceConnectorGroupsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListVoiceConnectorGroupsResponse)
listVoiceConnectorGroupsResponse_httpStatus :: Lens.Lens' ListVoiceConnectorGroupsResponse Prelude.Int
listVoiceConnectorGroupsResponse_httpStatus :: (Int -> f Int)
-> ListVoiceConnectorGroupsResponse
-> f ListVoiceConnectorGroupsResponse
listVoiceConnectorGroupsResponse_httpStatus = (ListVoiceConnectorGroupsResponse -> Int)
-> (ListVoiceConnectorGroupsResponse
-> Int -> ListVoiceConnectorGroupsResponse)
-> Lens
ListVoiceConnectorGroupsResponse
ListVoiceConnectorGroupsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVoiceConnectorGroupsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListVoiceConnectorGroupsResponse' :: ListVoiceConnectorGroupsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListVoiceConnectorGroupsResponse
s@ListVoiceConnectorGroupsResponse' {} Int
a -> ListVoiceConnectorGroupsResponse
s {$sel:httpStatus:ListVoiceConnectorGroupsResponse' :: Int
httpStatus = Int
a} :: ListVoiceConnectorGroupsResponse)
instance
Prelude.NFData
ListVoiceConnectorGroupsResponse