{-# 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.ChimeSDKMessaging.ListChannelsAssociatedWithChannelFlow
(
ListChannelsAssociatedWithChannelFlow (..),
newListChannelsAssociatedWithChannelFlow,
listChannelsAssociatedWithChannelFlow_nextToken,
listChannelsAssociatedWithChannelFlow_maxResults,
listChannelsAssociatedWithChannelFlow_channelFlowArn,
ListChannelsAssociatedWithChannelFlowResponse (..),
newListChannelsAssociatedWithChannelFlowResponse,
listChannelsAssociatedWithChannelFlowResponse_channels,
listChannelsAssociatedWithChannelFlowResponse_nextToken,
listChannelsAssociatedWithChannelFlowResponse_httpStatus,
)
where
import Amazonka.ChimeSDKMessaging.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 ListChannelsAssociatedWithChannelFlow = ListChannelsAssociatedWithChannelFlow'
{
ListChannelsAssociatedWithChannelFlow -> Maybe (Sensitive Text)
nextToken :: Prelude.Maybe (Core.Sensitive Prelude.Text),
ListChannelsAssociatedWithChannelFlow -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListChannelsAssociatedWithChannelFlow -> Text
channelFlowArn :: Prelude.Text
}
deriving (ListChannelsAssociatedWithChannelFlow
-> ListChannelsAssociatedWithChannelFlow -> Bool
(ListChannelsAssociatedWithChannelFlow
-> ListChannelsAssociatedWithChannelFlow -> Bool)
-> (ListChannelsAssociatedWithChannelFlow
-> ListChannelsAssociatedWithChannelFlow -> Bool)
-> Eq ListChannelsAssociatedWithChannelFlow
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListChannelsAssociatedWithChannelFlow
-> ListChannelsAssociatedWithChannelFlow -> Bool
$c/= :: ListChannelsAssociatedWithChannelFlow
-> ListChannelsAssociatedWithChannelFlow -> Bool
== :: ListChannelsAssociatedWithChannelFlow
-> ListChannelsAssociatedWithChannelFlow -> Bool
$c== :: ListChannelsAssociatedWithChannelFlow
-> ListChannelsAssociatedWithChannelFlow -> Bool
Prelude.Eq, Int -> ListChannelsAssociatedWithChannelFlow -> ShowS
[ListChannelsAssociatedWithChannelFlow] -> ShowS
ListChannelsAssociatedWithChannelFlow -> String
(Int -> ListChannelsAssociatedWithChannelFlow -> ShowS)
-> (ListChannelsAssociatedWithChannelFlow -> String)
-> ([ListChannelsAssociatedWithChannelFlow] -> ShowS)
-> Show ListChannelsAssociatedWithChannelFlow
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListChannelsAssociatedWithChannelFlow] -> ShowS
$cshowList :: [ListChannelsAssociatedWithChannelFlow] -> ShowS
show :: ListChannelsAssociatedWithChannelFlow -> String
$cshow :: ListChannelsAssociatedWithChannelFlow -> String
showsPrec :: Int -> ListChannelsAssociatedWithChannelFlow -> ShowS
$cshowsPrec :: Int -> ListChannelsAssociatedWithChannelFlow -> ShowS
Prelude.Show, (forall x.
ListChannelsAssociatedWithChannelFlow
-> Rep ListChannelsAssociatedWithChannelFlow x)
-> (forall x.
Rep ListChannelsAssociatedWithChannelFlow x
-> ListChannelsAssociatedWithChannelFlow)
-> Generic ListChannelsAssociatedWithChannelFlow
forall x.
Rep ListChannelsAssociatedWithChannelFlow x
-> ListChannelsAssociatedWithChannelFlow
forall x.
ListChannelsAssociatedWithChannelFlow
-> Rep ListChannelsAssociatedWithChannelFlow x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListChannelsAssociatedWithChannelFlow x
-> ListChannelsAssociatedWithChannelFlow
$cfrom :: forall x.
ListChannelsAssociatedWithChannelFlow
-> Rep ListChannelsAssociatedWithChannelFlow x
Prelude.Generic)
newListChannelsAssociatedWithChannelFlow ::
Prelude.Text ->
ListChannelsAssociatedWithChannelFlow
newListChannelsAssociatedWithChannelFlow :: Text -> ListChannelsAssociatedWithChannelFlow
newListChannelsAssociatedWithChannelFlow
Text
pChannelFlowArn_ =
ListChannelsAssociatedWithChannelFlow' :: Maybe (Sensitive Text)
-> Maybe Natural -> Text -> ListChannelsAssociatedWithChannelFlow
ListChannelsAssociatedWithChannelFlow'
{ $sel:nextToken:ListChannelsAssociatedWithChannelFlow' :: Maybe (Sensitive Text)
nextToken =
Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListChannelsAssociatedWithChannelFlow' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:channelFlowArn:ListChannelsAssociatedWithChannelFlow' :: Text
channelFlowArn = Text
pChannelFlowArn_
}
listChannelsAssociatedWithChannelFlow_nextToken :: Lens.Lens' ListChannelsAssociatedWithChannelFlow (Prelude.Maybe Prelude.Text)
listChannelsAssociatedWithChannelFlow_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListChannelsAssociatedWithChannelFlow
-> f ListChannelsAssociatedWithChannelFlow
listChannelsAssociatedWithChannelFlow_nextToken = (ListChannelsAssociatedWithChannelFlow -> Maybe (Sensitive Text))
-> (ListChannelsAssociatedWithChannelFlow
-> Maybe (Sensitive Text) -> ListChannelsAssociatedWithChannelFlow)
-> Lens
ListChannelsAssociatedWithChannelFlow
ListChannelsAssociatedWithChannelFlow
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListChannelsAssociatedWithChannelFlow' {Maybe (Sensitive Text)
nextToken :: Maybe (Sensitive Text)
$sel:nextToken:ListChannelsAssociatedWithChannelFlow' :: ListChannelsAssociatedWithChannelFlow -> Maybe (Sensitive Text)
nextToken} -> Maybe (Sensitive Text)
nextToken) (\s :: ListChannelsAssociatedWithChannelFlow
s@ListChannelsAssociatedWithChannelFlow' {} Maybe (Sensitive Text)
a -> ListChannelsAssociatedWithChannelFlow
s {$sel:nextToken:ListChannelsAssociatedWithChannelFlow' :: Maybe (Sensitive Text)
nextToken = Maybe (Sensitive Text)
a} :: ListChannelsAssociatedWithChannelFlow) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> ListChannelsAssociatedWithChannelFlow
-> f ListChannelsAssociatedWithChannelFlow)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> ListChannelsAssociatedWithChannelFlow
-> f ListChannelsAssociatedWithChannelFlow
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
(Maybe Text)
(Maybe Text)
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 (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
listChannelsAssociatedWithChannelFlow_maxResults :: Lens.Lens' ListChannelsAssociatedWithChannelFlow (Prelude.Maybe Prelude.Natural)
listChannelsAssociatedWithChannelFlow_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListChannelsAssociatedWithChannelFlow
-> f ListChannelsAssociatedWithChannelFlow
listChannelsAssociatedWithChannelFlow_maxResults = (ListChannelsAssociatedWithChannelFlow -> Maybe Natural)
-> (ListChannelsAssociatedWithChannelFlow
-> Maybe Natural -> ListChannelsAssociatedWithChannelFlow)
-> Lens
ListChannelsAssociatedWithChannelFlow
ListChannelsAssociatedWithChannelFlow
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListChannelsAssociatedWithChannelFlow' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListChannelsAssociatedWithChannelFlow' :: ListChannelsAssociatedWithChannelFlow -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListChannelsAssociatedWithChannelFlow
s@ListChannelsAssociatedWithChannelFlow' {} Maybe Natural
a -> ListChannelsAssociatedWithChannelFlow
s {$sel:maxResults:ListChannelsAssociatedWithChannelFlow' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListChannelsAssociatedWithChannelFlow)
listChannelsAssociatedWithChannelFlow_channelFlowArn :: Lens.Lens' ListChannelsAssociatedWithChannelFlow Prelude.Text
listChannelsAssociatedWithChannelFlow_channelFlowArn :: (Text -> f Text)
-> ListChannelsAssociatedWithChannelFlow
-> f ListChannelsAssociatedWithChannelFlow
listChannelsAssociatedWithChannelFlow_channelFlowArn = (ListChannelsAssociatedWithChannelFlow -> Text)
-> (ListChannelsAssociatedWithChannelFlow
-> Text -> ListChannelsAssociatedWithChannelFlow)
-> Lens
ListChannelsAssociatedWithChannelFlow
ListChannelsAssociatedWithChannelFlow
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListChannelsAssociatedWithChannelFlow' {Text
channelFlowArn :: Text
$sel:channelFlowArn:ListChannelsAssociatedWithChannelFlow' :: ListChannelsAssociatedWithChannelFlow -> Text
channelFlowArn} -> Text
channelFlowArn) (\s :: ListChannelsAssociatedWithChannelFlow
s@ListChannelsAssociatedWithChannelFlow' {} Text
a -> ListChannelsAssociatedWithChannelFlow
s {$sel:channelFlowArn:ListChannelsAssociatedWithChannelFlow' :: Text
channelFlowArn = Text
a} :: ListChannelsAssociatedWithChannelFlow)
instance
Core.AWSRequest
ListChannelsAssociatedWithChannelFlow
where
type
AWSResponse
ListChannelsAssociatedWithChannelFlow =
ListChannelsAssociatedWithChannelFlowResponse
request :: ListChannelsAssociatedWithChannelFlow
-> Request ListChannelsAssociatedWithChannelFlow
request = Service
-> ListChannelsAssociatedWithChannelFlow
-> Request ListChannelsAssociatedWithChannelFlow
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListChannelsAssociatedWithChannelFlow
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse ListChannelsAssociatedWithChannelFlow)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse ListChannelsAssociatedWithChannelFlow))
-> Logger
-> Service
-> Proxy ListChannelsAssociatedWithChannelFlow
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse ListChannelsAssociatedWithChannelFlow)))
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 [ChannelAssociatedWithFlowSummary]
-> Maybe (Sensitive Text)
-> Int
-> ListChannelsAssociatedWithChannelFlowResponse
ListChannelsAssociatedWithChannelFlowResponse'
(Maybe [ChannelAssociatedWithFlowSummary]
-> Maybe (Sensitive Text)
-> Int
-> ListChannelsAssociatedWithChannelFlowResponse)
-> Either String (Maybe [ChannelAssociatedWithFlowSummary])
-> Either
String
(Maybe (Sensitive Text)
-> Int -> ListChannelsAssociatedWithChannelFlowResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text
-> Either String (Maybe (Maybe [ChannelAssociatedWithFlowSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Channels" Either String (Maybe (Maybe [ChannelAssociatedWithFlowSummary]))
-> Maybe [ChannelAssociatedWithFlowSummary]
-> Either String (Maybe [ChannelAssociatedWithFlowSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ChannelAssociatedWithFlowSummary]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe (Sensitive Text)
-> Int -> ListChannelsAssociatedWithChannelFlowResponse)
-> Either String (Maybe (Sensitive Text))
-> Either
String (Int -> ListChannelsAssociatedWithChannelFlowResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"NextToken")
Either
String (Int -> ListChannelsAssociatedWithChannelFlowResponse)
-> Either String Int
-> Either String ListChannelsAssociatedWithChannelFlowResponse
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
ListChannelsAssociatedWithChannelFlow
instance
Prelude.NFData
ListChannelsAssociatedWithChannelFlow
instance
Core.ToHeaders
ListChannelsAssociatedWithChannelFlow
where
toHeaders :: ListChannelsAssociatedWithChannelFlow -> ResponseHeaders
toHeaders = ResponseHeaders
-> ListChannelsAssociatedWithChannelFlow -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance
Core.ToPath
ListChannelsAssociatedWithChannelFlow
where
toPath :: ListChannelsAssociatedWithChannelFlow -> ByteString
toPath = ByteString -> ListChannelsAssociatedWithChannelFlow -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/channels"
instance
Core.ToQuery
ListChannelsAssociatedWithChannelFlow
where
toQuery :: ListChannelsAssociatedWithChannelFlow -> QueryString
toQuery ListChannelsAssociatedWithChannelFlow' {Maybe Natural
Maybe (Sensitive Text)
Text
channelFlowArn :: Text
maxResults :: Maybe Natural
nextToken :: Maybe (Sensitive Text)
$sel:channelFlowArn:ListChannelsAssociatedWithChannelFlow' :: ListChannelsAssociatedWithChannelFlow -> Text
$sel:maxResults:ListChannelsAssociatedWithChannelFlow' :: ListChannelsAssociatedWithChannelFlow -> Maybe Natural
$sel:nextToken:ListChannelsAssociatedWithChannelFlow' :: ListChannelsAssociatedWithChannelFlow -> Maybe (Sensitive Text)
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"next-token" ByteString -> Maybe (Sensitive Text) -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe (Sensitive Text)
nextToken,
ByteString
"max-results" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults,
ByteString
"channel-flow-arn" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
channelFlowArn,
QueryString
"scope=channel-flow-associations"
]
data ListChannelsAssociatedWithChannelFlowResponse = ListChannelsAssociatedWithChannelFlowResponse'
{
ListChannelsAssociatedWithChannelFlowResponse
-> Maybe [ChannelAssociatedWithFlowSummary]
channels :: Prelude.Maybe [ChannelAssociatedWithFlowSummary],
ListChannelsAssociatedWithChannelFlowResponse
-> Maybe (Sensitive Text)
nextToken :: Prelude.Maybe (Core.Sensitive Prelude.Text),
ListChannelsAssociatedWithChannelFlowResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListChannelsAssociatedWithChannelFlowResponse
-> ListChannelsAssociatedWithChannelFlowResponse -> Bool
(ListChannelsAssociatedWithChannelFlowResponse
-> ListChannelsAssociatedWithChannelFlowResponse -> Bool)
-> (ListChannelsAssociatedWithChannelFlowResponse
-> ListChannelsAssociatedWithChannelFlowResponse -> Bool)
-> Eq ListChannelsAssociatedWithChannelFlowResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListChannelsAssociatedWithChannelFlowResponse
-> ListChannelsAssociatedWithChannelFlowResponse -> Bool
$c/= :: ListChannelsAssociatedWithChannelFlowResponse
-> ListChannelsAssociatedWithChannelFlowResponse -> Bool
== :: ListChannelsAssociatedWithChannelFlowResponse
-> ListChannelsAssociatedWithChannelFlowResponse -> Bool
$c== :: ListChannelsAssociatedWithChannelFlowResponse
-> ListChannelsAssociatedWithChannelFlowResponse -> Bool
Prelude.Eq, Int -> ListChannelsAssociatedWithChannelFlowResponse -> ShowS
[ListChannelsAssociatedWithChannelFlowResponse] -> ShowS
ListChannelsAssociatedWithChannelFlowResponse -> String
(Int -> ListChannelsAssociatedWithChannelFlowResponse -> ShowS)
-> (ListChannelsAssociatedWithChannelFlowResponse -> String)
-> ([ListChannelsAssociatedWithChannelFlowResponse] -> ShowS)
-> Show ListChannelsAssociatedWithChannelFlowResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListChannelsAssociatedWithChannelFlowResponse] -> ShowS
$cshowList :: [ListChannelsAssociatedWithChannelFlowResponse] -> ShowS
show :: ListChannelsAssociatedWithChannelFlowResponse -> String
$cshow :: ListChannelsAssociatedWithChannelFlowResponse -> String
showsPrec :: Int -> ListChannelsAssociatedWithChannelFlowResponse -> ShowS
$cshowsPrec :: Int -> ListChannelsAssociatedWithChannelFlowResponse -> ShowS
Prelude.Show, (forall x.
ListChannelsAssociatedWithChannelFlowResponse
-> Rep ListChannelsAssociatedWithChannelFlowResponse x)
-> (forall x.
Rep ListChannelsAssociatedWithChannelFlowResponse x
-> ListChannelsAssociatedWithChannelFlowResponse)
-> Generic ListChannelsAssociatedWithChannelFlowResponse
forall x.
Rep ListChannelsAssociatedWithChannelFlowResponse x
-> ListChannelsAssociatedWithChannelFlowResponse
forall x.
ListChannelsAssociatedWithChannelFlowResponse
-> Rep ListChannelsAssociatedWithChannelFlowResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListChannelsAssociatedWithChannelFlowResponse x
-> ListChannelsAssociatedWithChannelFlowResponse
$cfrom :: forall x.
ListChannelsAssociatedWithChannelFlowResponse
-> Rep ListChannelsAssociatedWithChannelFlowResponse x
Prelude.Generic)
newListChannelsAssociatedWithChannelFlowResponse ::
Prelude.Int ->
ListChannelsAssociatedWithChannelFlowResponse
newListChannelsAssociatedWithChannelFlowResponse :: Int -> ListChannelsAssociatedWithChannelFlowResponse
newListChannelsAssociatedWithChannelFlowResponse
Int
pHttpStatus_ =
ListChannelsAssociatedWithChannelFlowResponse' :: Maybe [ChannelAssociatedWithFlowSummary]
-> Maybe (Sensitive Text)
-> Int
-> ListChannelsAssociatedWithChannelFlowResponse
ListChannelsAssociatedWithChannelFlowResponse'
{ $sel:channels:ListChannelsAssociatedWithChannelFlowResponse' :: Maybe [ChannelAssociatedWithFlowSummary]
channels =
Maybe [ChannelAssociatedWithFlowSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListChannelsAssociatedWithChannelFlowResponse' :: Maybe (Sensitive Text)
nextToken = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListChannelsAssociatedWithChannelFlowResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listChannelsAssociatedWithChannelFlowResponse_channels :: Lens.Lens' ListChannelsAssociatedWithChannelFlowResponse (Prelude.Maybe [ChannelAssociatedWithFlowSummary])
listChannelsAssociatedWithChannelFlowResponse_channels :: (Maybe [ChannelAssociatedWithFlowSummary]
-> f (Maybe [ChannelAssociatedWithFlowSummary]))
-> ListChannelsAssociatedWithChannelFlowResponse
-> f ListChannelsAssociatedWithChannelFlowResponse
listChannelsAssociatedWithChannelFlowResponse_channels = (ListChannelsAssociatedWithChannelFlowResponse
-> Maybe [ChannelAssociatedWithFlowSummary])
-> (ListChannelsAssociatedWithChannelFlowResponse
-> Maybe [ChannelAssociatedWithFlowSummary]
-> ListChannelsAssociatedWithChannelFlowResponse)
-> Lens
ListChannelsAssociatedWithChannelFlowResponse
ListChannelsAssociatedWithChannelFlowResponse
(Maybe [ChannelAssociatedWithFlowSummary])
(Maybe [ChannelAssociatedWithFlowSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListChannelsAssociatedWithChannelFlowResponse' {Maybe [ChannelAssociatedWithFlowSummary]
channels :: Maybe [ChannelAssociatedWithFlowSummary]
$sel:channels:ListChannelsAssociatedWithChannelFlowResponse' :: ListChannelsAssociatedWithChannelFlowResponse
-> Maybe [ChannelAssociatedWithFlowSummary]
channels} -> Maybe [ChannelAssociatedWithFlowSummary]
channels) (\s :: ListChannelsAssociatedWithChannelFlowResponse
s@ListChannelsAssociatedWithChannelFlowResponse' {} Maybe [ChannelAssociatedWithFlowSummary]
a -> ListChannelsAssociatedWithChannelFlowResponse
s {$sel:channels:ListChannelsAssociatedWithChannelFlowResponse' :: Maybe [ChannelAssociatedWithFlowSummary]
channels = Maybe [ChannelAssociatedWithFlowSummary]
a} :: ListChannelsAssociatedWithChannelFlowResponse) ((Maybe [ChannelAssociatedWithFlowSummary]
-> f (Maybe [ChannelAssociatedWithFlowSummary]))
-> ListChannelsAssociatedWithChannelFlowResponse
-> f ListChannelsAssociatedWithChannelFlowResponse)
-> ((Maybe [ChannelAssociatedWithFlowSummary]
-> f (Maybe [ChannelAssociatedWithFlowSummary]))
-> Maybe [ChannelAssociatedWithFlowSummary]
-> f (Maybe [ChannelAssociatedWithFlowSummary]))
-> (Maybe [ChannelAssociatedWithFlowSummary]
-> f (Maybe [ChannelAssociatedWithFlowSummary]))
-> ListChannelsAssociatedWithChannelFlowResponse
-> f ListChannelsAssociatedWithChannelFlowResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ChannelAssociatedWithFlowSummary]
[ChannelAssociatedWithFlowSummary]
[ChannelAssociatedWithFlowSummary]
[ChannelAssociatedWithFlowSummary]
-> Iso
(Maybe [ChannelAssociatedWithFlowSummary])
(Maybe [ChannelAssociatedWithFlowSummary])
(Maybe [ChannelAssociatedWithFlowSummary])
(Maybe [ChannelAssociatedWithFlowSummary])
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
[ChannelAssociatedWithFlowSummary]
[ChannelAssociatedWithFlowSummary]
[ChannelAssociatedWithFlowSummary]
[ChannelAssociatedWithFlowSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listChannelsAssociatedWithChannelFlowResponse_nextToken :: Lens.Lens' ListChannelsAssociatedWithChannelFlowResponse (Prelude.Maybe Prelude.Text)
listChannelsAssociatedWithChannelFlowResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListChannelsAssociatedWithChannelFlowResponse
-> f ListChannelsAssociatedWithChannelFlowResponse
listChannelsAssociatedWithChannelFlowResponse_nextToken = (ListChannelsAssociatedWithChannelFlowResponse
-> Maybe (Sensitive Text))
-> (ListChannelsAssociatedWithChannelFlowResponse
-> Maybe (Sensitive Text)
-> ListChannelsAssociatedWithChannelFlowResponse)
-> Lens
ListChannelsAssociatedWithChannelFlowResponse
ListChannelsAssociatedWithChannelFlowResponse
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListChannelsAssociatedWithChannelFlowResponse' {Maybe (Sensitive Text)
nextToken :: Maybe (Sensitive Text)
$sel:nextToken:ListChannelsAssociatedWithChannelFlowResponse' :: ListChannelsAssociatedWithChannelFlowResponse
-> Maybe (Sensitive Text)
nextToken} -> Maybe (Sensitive Text)
nextToken) (\s :: ListChannelsAssociatedWithChannelFlowResponse
s@ListChannelsAssociatedWithChannelFlowResponse' {} Maybe (Sensitive Text)
a -> ListChannelsAssociatedWithChannelFlowResponse
s {$sel:nextToken:ListChannelsAssociatedWithChannelFlowResponse' :: Maybe (Sensitive Text)
nextToken = Maybe (Sensitive Text)
a} :: ListChannelsAssociatedWithChannelFlowResponse) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> ListChannelsAssociatedWithChannelFlowResponse
-> f ListChannelsAssociatedWithChannelFlowResponse)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> ListChannelsAssociatedWithChannelFlowResponse
-> f ListChannelsAssociatedWithChannelFlowResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
(Maybe Text)
(Maybe Text)
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 (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
listChannelsAssociatedWithChannelFlowResponse_httpStatus :: Lens.Lens' ListChannelsAssociatedWithChannelFlowResponse Prelude.Int
listChannelsAssociatedWithChannelFlowResponse_httpStatus :: (Int -> f Int)
-> ListChannelsAssociatedWithChannelFlowResponse
-> f ListChannelsAssociatedWithChannelFlowResponse
listChannelsAssociatedWithChannelFlowResponse_httpStatus = (ListChannelsAssociatedWithChannelFlowResponse -> Int)
-> (ListChannelsAssociatedWithChannelFlowResponse
-> Int -> ListChannelsAssociatedWithChannelFlowResponse)
-> Lens
ListChannelsAssociatedWithChannelFlowResponse
ListChannelsAssociatedWithChannelFlowResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListChannelsAssociatedWithChannelFlowResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListChannelsAssociatedWithChannelFlowResponse' :: ListChannelsAssociatedWithChannelFlowResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListChannelsAssociatedWithChannelFlowResponse
s@ListChannelsAssociatedWithChannelFlowResponse' {} Int
a -> ListChannelsAssociatedWithChannelFlowResponse
s {$sel:httpStatus:ListChannelsAssociatedWithChannelFlowResponse' :: Int
httpStatus = Int
a} :: ListChannelsAssociatedWithChannelFlowResponse)
instance
Prelude.NFData
ListChannelsAssociatedWithChannelFlowResponse