{-# 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.CloudFront.ListStreamingDistributions
(
ListStreamingDistributions (..),
newListStreamingDistributions,
listStreamingDistributions_marker,
listStreamingDistributions_maxItems,
ListStreamingDistributionsResponse (..),
newListStreamingDistributionsResponse,
listStreamingDistributionsResponse_httpStatus,
listStreamingDistributionsResponse_streamingDistributionList,
)
where
import Amazonka.CloudFront.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 ListStreamingDistributions = ListStreamingDistributions'
{
ListStreamingDistributions -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
ListStreamingDistributions -> Maybe Text
maxItems :: Prelude.Maybe Prelude.Text
}
deriving (ListStreamingDistributions -> ListStreamingDistributions -> Bool
(ListStreamingDistributions -> ListStreamingDistributions -> Bool)
-> (ListStreamingDistributions
-> ListStreamingDistributions -> Bool)
-> Eq ListStreamingDistributions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListStreamingDistributions -> ListStreamingDistributions -> Bool
$c/= :: ListStreamingDistributions -> ListStreamingDistributions -> Bool
== :: ListStreamingDistributions -> ListStreamingDistributions -> Bool
$c== :: ListStreamingDistributions -> ListStreamingDistributions -> Bool
Prelude.Eq, ReadPrec [ListStreamingDistributions]
ReadPrec ListStreamingDistributions
Int -> ReadS ListStreamingDistributions
ReadS [ListStreamingDistributions]
(Int -> ReadS ListStreamingDistributions)
-> ReadS [ListStreamingDistributions]
-> ReadPrec ListStreamingDistributions
-> ReadPrec [ListStreamingDistributions]
-> Read ListStreamingDistributions
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListStreamingDistributions]
$creadListPrec :: ReadPrec [ListStreamingDistributions]
readPrec :: ReadPrec ListStreamingDistributions
$creadPrec :: ReadPrec ListStreamingDistributions
readList :: ReadS [ListStreamingDistributions]
$creadList :: ReadS [ListStreamingDistributions]
readsPrec :: Int -> ReadS ListStreamingDistributions
$creadsPrec :: Int -> ReadS ListStreamingDistributions
Prelude.Read, Int -> ListStreamingDistributions -> ShowS
[ListStreamingDistributions] -> ShowS
ListStreamingDistributions -> String
(Int -> ListStreamingDistributions -> ShowS)
-> (ListStreamingDistributions -> String)
-> ([ListStreamingDistributions] -> ShowS)
-> Show ListStreamingDistributions
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListStreamingDistributions] -> ShowS
$cshowList :: [ListStreamingDistributions] -> ShowS
show :: ListStreamingDistributions -> String
$cshow :: ListStreamingDistributions -> String
showsPrec :: Int -> ListStreamingDistributions -> ShowS
$cshowsPrec :: Int -> ListStreamingDistributions -> ShowS
Prelude.Show, (forall x.
ListStreamingDistributions -> Rep ListStreamingDistributions x)
-> (forall x.
Rep ListStreamingDistributions x -> ListStreamingDistributions)
-> Generic ListStreamingDistributions
forall x.
Rep ListStreamingDistributions x -> ListStreamingDistributions
forall x.
ListStreamingDistributions -> Rep ListStreamingDistributions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListStreamingDistributions x -> ListStreamingDistributions
$cfrom :: forall x.
ListStreamingDistributions -> Rep ListStreamingDistributions x
Prelude.Generic)
newListStreamingDistributions ::
ListStreamingDistributions
newListStreamingDistributions :: ListStreamingDistributions
newListStreamingDistributions =
ListStreamingDistributions' :: Maybe Text -> Maybe Text -> ListStreamingDistributions
ListStreamingDistributions'
{ $sel:marker:ListStreamingDistributions' :: Maybe Text
marker =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxItems:ListStreamingDistributions' :: Maybe Text
maxItems = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
listStreamingDistributions_marker :: Lens.Lens' ListStreamingDistributions (Prelude.Maybe Prelude.Text)
listStreamingDistributions_marker :: (Maybe Text -> f (Maybe Text))
-> ListStreamingDistributions -> f ListStreamingDistributions
listStreamingDistributions_marker = (ListStreamingDistributions -> Maybe Text)
-> (ListStreamingDistributions
-> Maybe Text -> ListStreamingDistributions)
-> Lens
ListStreamingDistributions
ListStreamingDistributions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStreamingDistributions' {Maybe Text
marker :: Maybe Text
$sel:marker:ListStreamingDistributions' :: ListStreamingDistributions -> Maybe Text
marker} -> Maybe Text
marker) (\s :: ListStreamingDistributions
s@ListStreamingDistributions' {} Maybe Text
a -> ListStreamingDistributions
s {$sel:marker:ListStreamingDistributions' :: Maybe Text
marker = Maybe Text
a} :: ListStreamingDistributions)
listStreamingDistributions_maxItems :: Lens.Lens' ListStreamingDistributions (Prelude.Maybe Prelude.Text)
listStreamingDistributions_maxItems :: (Maybe Text -> f (Maybe Text))
-> ListStreamingDistributions -> f ListStreamingDistributions
listStreamingDistributions_maxItems = (ListStreamingDistributions -> Maybe Text)
-> (ListStreamingDistributions
-> Maybe Text -> ListStreamingDistributions)
-> Lens
ListStreamingDistributions
ListStreamingDistributions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStreamingDistributions' {Maybe Text
maxItems :: Maybe Text
$sel:maxItems:ListStreamingDistributions' :: ListStreamingDistributions -> Maybe Text
maxItems} -> Maybe Text
maxItems) (\s :: ListStreamingDistributions
s@ListStreamingDistributions' {} Maybe Text
a -> ListStreamingDistributions
s {$sel:maxItems:ListStreamingDistributions' :: Maybe Text
maxItems = Maybe Text
a} :: ListStreamingDistributions)
instance Core.AWSPager ListStreamingDistributions where
page :: ListStreamingDistributions
-> AWSResponse ListStreamingDistributions
-> Maybe ListStreamingDistributions
page ListStreamingDistributions
rq AWSResponse ListStreamingDistributions
rs
| Bool -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListStreamingDistributions
ListStreamingDistributionsResponse
rs
ListStreamingDistributionsResponse
-> Getting Bool ListStreamingDistributionsResponse Bool -> Bool
forall s a. s -> Getting a s a -> a
Lens.^. (StreamingDistributionList -> Const Bool StreamingDistributionList)
-> ListStreamingDistributionsResponse
-> Const Bool ListStreamingDistributionsResponse
Lens' ListStreamingDistributionsResponse StreamingDistributionList
listStreamingDistributionsResponse_streamingDistributionList
((StreamingDistributionList
-> Const Bool StreamingDistributionList)
-> ListStreamingDistributionsResponse
-> Const Bool ListStreamingDistributionsResponse)
-> ((Bool -> Const Bool Bool)
-> StreamingDistributionList
-> Const Bool StreamingDistributionList)
-> Getting Bool ListStreamingDistributionsResponse Bool
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Bool -> Const Bool Bool)
-> StreamingDistributionList
-> Const Bool StreamingDistributionList
Lens' StreamingDistributionList Bool
streamingDistributionList_isTruncated
) =
Maybe ListStreamingDistributions
forall a. Maybe a
Prelude.Nothing
| Maybe Text -> Bool
forall a. Maybe a -> Bool
Prelude.isNothing
( AWSResponse ListStreamingDistributions
ListStreamingDistributionsResponse
rs
ListStreamingDistributionsResponse
-> Getting (First Text) ListStreamingDistributionsResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (StreamingDistributionList
-> Const (First Text) StreamingDistributionList)
-> ListStreamingDistributionsResponse
-> Const (First Text) ListStreamingDistributionsResponse
Lens' ListStreamingDistributionsResponse StreamingDistributionList
listStreamingDistributionsResponse_streamingDistributionList
((StreamingDistributionList
-> Const (First Text) StreamingDistributionList)
-> ListStreamingDistributionsResponse
-> Const (First Text) ListStreamingDistributionsResponse)
-> ((Text -> Const (First Text) Text)
-> StreamingDistributionList
-> Const (First Text) StreamingDistributionList)
-> Getting (First Text) ListStreamingDistributionsResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Maybe Text -> Const (First Text) (Maybe Text))
-> StreamingDistributionList
-> Const (First Text) StreamingDistributionList
Lens' StreamingDistributionList (Maybe Text)
streamingDistributionList_nextMarker
((Maybe Text -> Const (First Text) (Maybe Text))
-> StreamingDistributionList
-> Const (First Text) StreamingDistributionList)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> (Text -> Const (First Text) Text)
-> StreamingDistributionList
-> Const (First Text) StreamingDistributionList
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 ListStreamingDistributions
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
ListStreamingDistributions -> Maybe ListStreamingDistributions
forall a. a -> Maybe a
Prelude.Just (ListStreamingDistributions -> Maybe ListStreamingDistributions)
-> ListStreamingDistributions -> Maybe ListStreamingDistributions
forall a b. (a -> b) -> a -> b
Prelude.$
ListStreamingDistributions
rq
ListStreamingDistributions
-> (ListStreamingDistributions -> ListStreamingDistributions)
-> ListStreamingDistributions
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> ListStreamingDistributions
-> Identity ListStreamingDistributions
Lens
ListStreamingDistributions
ListStreamingDistributions
(Maybe Text)
(Maybe Text)
listStreamingDistributions_marker
((Maybe Text -> Identity (Maybe Text))
-> ListStreamingDistributions
-> Identity ListStreamingDistributions)
-> Maybe Text
-> ListStreamingDistributions
-> ListStreamingDistributions
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListStreamingDistributions
ListStreamingDistributionsResponse
rs
ListStreamingDistributionsResponse
-> Getting (First Text) ListStreamingDistributionsResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (StreamingDistributionList
-> Const (First Text) StreamingDistributionList)
-> ListStreamingDistributionsResponse
-> Const (First Text) ListStreamingDistributionsResponse
Lens' ListStreamingDistributionsResponse StreamingDistributionList
listStreamingDistributionsResponse_streamingDistributionList
((StreamingDistributionList
-> Const (First Text) StreamingDistributionList)
-> ListStreamingDistributionsResponse
-> Const (First Text) ListStreamingDistributionsResponse)
-> ((Text -> Const (First Text) Text)
-> StreamingDistributionList
-> Const (First Text) StreamingDistributionList)
-> Getting (First Text) ListStreamingDistributionsResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Maybe Text -> Const (First Text) (Maybe Text))
-> StreamingDistributionList
-> Const (First Text) StreamingDistributionList
Lens' StreamingDistributionList (Maybe Text)
streamingDistributionList_nextMarker
((Maybe Text -> Const (First Text) (Maybe Text))
-> StreamingDistributionList
-> Const (First Text) StreamingDistributionList)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> (Text -> Const (First Text) Text)
-> StreamingDistributionList
-> Const (First Text) StreamingDistributionList
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 ListStreamingDistributions where
type
AWSResponse ListStreamingDistributions =
ListStreamingDistributionsResponse
request :: ListStreamingDistributions -> Request ListStreamingDistributions
request = Service
-> ListStreamingDistributions -> Request ListStreamingDistributions
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListStreamingDistributions
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListStreamingDistributions)))
response =
(Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse ListStreamingDistributions))
-> Logger
-> Service
-> Proxy ListStreamingDistributions
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListStreamingDistributions)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXML
( \Int
s ResponseHeaders
h [Node]
x ->
Int
-> StreamingDistributionList -> ListStreamingDistributionsResponse
ListStreamingDistributionsResponse'
(Int
-> StreamingDistributionList -> ListStreamingDistributionsResponse)
-> Either String Int
-> Either
String
(StreamingDistributionList -> ListStreamingDistributionsResponse)
forall (f :: * -> *) a b. Functor 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
(StreamingDistributionList -> ListStreamingDistributionsResponse)
-> Either String StreamingDistributionList
-> Either String ListStreamingDistributionsResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node] -> Either String StreamingDistributionList
forall a. FromXML a => [Node] -> Either String a
Core.parseXML [Node]
x)
)
instance Prelude.Hashable ListStreamingDistributions
instance Prelude.NFData ListStreamingDistributions
instance Core.ToHeaders ListStreamingDistributions where
toHeaders :: ListStreamingDistributions -> ResponseHeaders
toHeaders = ResponseHeaders -> ListStreamingDistributions -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath ListStreamingDistributions where
toPath :: ListStreamingDistributions -> ByteString
toPath =
ByteString -> ListStreamingDistributions -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/2020-05-31/streaming-distribution"
instance Core.ToQuery ListStreamingDistributions where
toQuery :: ListStreamingDistributions -> QueryString
toQuery ListStreamingDistributions' {Maybe Text
maxItems :: Maybe Text
marker :: Maybe Text
$sel:maxItems:ListStreamingDistributions' :: ListStreamingDistributions -> Maybe Text
$sel:marker:ListStreamingDistributions' :: ListStreamingDistributions -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Marker" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
marker,
ByteString
"MaxItems" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
maxItems
]
data ListStreamingDistributionsResponse = ListStreamingDistributionsResponse'
{
ListStreamingDistributionsResponse -> Int
httpStatus :: Prelude.Int,
ListStreamingDistributionsResponse -> StreamingDistributionList
streamingDistributionList :: StreamingDistributionList
}
deriving (ListStreamingDistributionsResponse
-> ListStreamingDistributionsResponse -> Bool
(ListStreamingDistributionsResponse
-> ListStreamingDistributionsResponse -> Bool)
-> (ListStreamingDistributionsResponse
-> ListStreamingDistributionsResponse -> Bool)
-> Eq ListStreamingDistributionsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListStreamingDistributionsResponse
-> ListStreamingDistributionsResponse -> Bool
$c/= :: ListStreamingDistributionsResponse
-> ListStreamingDistributionsResponse -> Bool
== :: ListStreamingDistributionsResponse
-> ListStreamingDistributionsResponse -> Bool
$c== :: ListStreamingDistributionsResponse
-> ListStreamingDistributionsResponse -> Bool
Prelude.Eq, ReadPrec [ListStreamingDistributionsResponse]
ReadPrec ListStreamingDistributionsResponse
Int -> ReadS ListStreamingDistributionsResponse
ReadS [ListStreamingDistributionsResponse]
(Int -> ReadS ListStreamingDistributionsResponse)
-> ReadS [ListStreamingDistributionsResponse]
-> ReadPrec ListStreamingDistributionsResponse
-> ReadPrec [ListStreamingDistributionsResponse]
-> Read ListStreamingDistributionsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListStreamingDistributionsResponse]
$creadListPrec :: ReadPrec [ListStreamingDistributionsResponse]
readPrec :: ReadPrec ListStreamingDistributionsResponse
$creadPrec :: ReadPrec ListStreamingDistributionsResponse
readList :: ReadS [ListStreamingDistributionsResponse]
$creadList :: ReadS [ListStreamingDistributionsResponse]
readsPrec :: Int -> ReadS ListStreamingDistributionsResponse
$creadsPrec :: Int -> ReadS ListStreamingDistributionsResponse
Prelude.Read, Int -> ListStreamingDistributionsResponse -> ShowS
[ListStreamingDistributionsResponse] -> ShowS
ListStreamingDistributionsResponse -> String
(Int -> ListStreamingDistributionsResponse -> ShowS)
-> (ListStreamingDistributionsResponse -> String)
-> ([ListStreamingDistributionsResponse] -> ShowS)
-> Show ListStreamingDistributionsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListStreamingDistributionsResponse] -> ShowS
$cshowList :: [ListStreamingDistributionsResponse] -> ShowS
show :: ListStreamingDistributionsResponse -> String
$cshow :: ListStreamingDistributionsResponse -> String
showsPrec :: Int -> ListStreamingDistributionsResponse -> ShowS
$cshowsPrec :: Int -> ListStreamingDistributionsResponse -> ShowS
Prelude.Show, (forall x.
ListStreamingDistributionsResponse
-> Rep ListStreamingDistributionsResponse x)
-> (forall x.
Rep ListStreamingDistributionsResponse x
-> ListStreamingDistributionsResponse)
-> Generic ListStreamingDistributionsResponse
forall x.
Rep ListStreamingDistributionsResponse x
-> ListStreamingDistributionsResponse
forall x.
ListStreamingDistributionsResponse
-> Rep ListStreamingDistributionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListStreamingDistributionsResponse x
-> ListStreamingDistributionsResponse
$cfrom :: forall x.
ListStreamingDistributionsResponse
-> Rep ListStreamingDistributionsResponse x
Prelude.Generic)
newListStreamingDistributionsResponse ::
Prelude.Int ->
StreamingDistributionList ->
ListStreamingDistributionsResponse
newListStreamingDistributionsResponse :: Int
-> StreamingDistributionList -> ListStreamingDistributionsResponse
newListStreamingDistributionsResponse
Int
pHttpStatus_
StreamingDistributionList
pStreamingDistributionList_ =
ListStreamingDistributionsResponse' :: Int
-> StreamingDistributionList -> ListStreamingDistributionsResponse
ListStreamingDistributionsResponse'
{ $sel:httpStatus:ListStreamingDistributionsResponse' :: Int
httpStatus =
Int
pHttpStatus_,
$sel:streamingDistributionList:ListStreamingDistributionsResponse' :: StreamingDistributionList
streamingDistributionList =
StreamingDistributionList
pStreamingDistributionList_
}
listStreamingDistributionsResponse_httpStatus :: Lens.Lens' ListStreamingDistributionsResponse Prelude.Int
listStreamingDistributionsResponse_httpStatus :: (Int -> f Int)
-> ListStreamingDistributionsResponse
-> f ListStreamingDistributionsResponse
listStreamingDistributionsResponse_httpStatus = (ListStreamingDistributionsResponse -> Int)
-> (ListStreamingDistributionsResponse
-> Int -> ListStreamingDistributionsResponse)
-> Lens
ListStreamingDistributionsResponse
ListStreamingDistributionsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStreamingDistributionsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListStreamingDistributionsResponse' :: ListStreamingDistributionsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListStreamingDistributionsResponse
s@ListStreamingDistributionsResponse' {} Int
a -> ListStreamingDistributionsResponse
s {$sel:httpStatus:ListStreamingDistributionsResponse' :: Int
httpStatus = Int
a} :: ListStreamingDistributionsResponse)
listStreamingDistributionsResponse_streamingDistributionList :: Lens.Lens' ListStreamingDistributionsResponse StreamingDistributionList
listStreamingDistributionsResponse_streamingDistributionList :: (StreamingDistributionList -> f StreamingDistributionList)
-> ListStreamingDistributionsResponse
-> f ListStreamingDistributionsResponse
listStreamingDistributionsResponse_streamingDistributionList = (ListStreamingDistributionsResponse -> StreamingDistributionList)
-> (ListStreamingDistributionsResponse
-> StreamingDistributionList -> ListStreamingDistributionsResponse)
-> Lens'
ListStreamingDistributionsResponse StreamingDistributionList
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStreamingDistributionsResponse' {StreamingDistributionList
streamingDistributionList :: StreamingDistributionList
$sel:streamingDistributionList:ListStreamingDistributionsResponse' :: ListStreamingDistributionsResponse -> StreamingDistributionList
streamingDistributionList} -> StreamingDistributionList
streamingDistributionList) (\s :: ListStreamingDistributionsResponse
s@ListStreamingDistributionsResponse' {} StreamingDistributionList
a -> ListStreamingDistributionsResponse
s {$sel:streamingDistributionList:ListStreamingDistributionsResponse' :: StreamingDistributionList
streamingDistributionList = StreamingDistributionList
a} :: ListStreamingDistributionsResponse)
instance
Prelude.NFData
ListStreamingDistributionsResponse