{-# 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.AppConfig.ListConfigurationProfiles
(
ListConfigurationProfiles (..),
newListConfigurationProfiles,
listConfigurationProfiles_nextToken,
listConfigurationProfiles_maxResults,
listConfigurationProfiles_applicationId,
ListConfigurationProfilesResponse (..),
newListConfigurationProfilesResponse,
listConfigurationProfilesResponse_items,
listConfigurationProfilesResponse_nextToken,
listConfigurationProfilesResponse_httpStatus,
)
where
import Amazonka.AppConfig.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 ListConfigurationProfiles = ListConfigurationProfiles'
{
ListConfigurationProfiles -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListConfigurationProfiles -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListConfigurationProfiles -> Text
applicationId :: Prelude.Text
}
deriving (ListConfigurationProfiles -> ListConfigurationProfiles -> Bool
(ListConfigurationProfiles -> ListConfigurationProfiles -> Bool)
-> (ListConfigurationProfiles -> ListConfigurationProfiles -> Bool)
-> Eq ListConfigurationProfiles
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListConfigurationProfiles -> ListConfigurationProfiles -> Bool
$c/= :: ListConfigurationProfiles -> ListConfigurationProfiles -> Bool
== :: ListConfigurationProfiles -> ListConfigurationProfiles -> Bool
$c== :: ListConfigurationProfiles -> ListConfigurationProfiles -> Bool
Prelude.Eq, ReadPrec [ListConfigurationProfiles]
ReadPrec ListConfigurationProfiles
Int -> ReadS ListConfigurationProfiles
ReadS [ListConfigurationProfiles]
(Int -> ReadS ListConfigurationProfiles)
-> ReadS [ListConfigurationProfiles]
-> ReadPrec ListConfigurationProfiles
-> ReadPrec [ListConfigurationProfiles]
-> Read ListConfigurationProfiles
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListConfigurationProfiles]
$creadListPrec :: ReadPrec [ListConfigurationProfiles]
readPrec :: ReadPrec ListConfigurationProfiles
$creadPrec :: ReadPrec ListConfigurationProfiles
readList :: ReadS [ListConfigurationProfiles]
$creadList :: ReadS [ListConfigurationProfiles]
readsPrec :: Int -> ReadS ListConfigurationProfiles
$creadsPrec :: Int -> ReadS ListConfigurationProfiles
Prelude.Read, Int -> ListConfigurationProfiles -> ShowS
[ListConfigurationProfiles] -> ShowS
ListConfigurationProfiles -> String
(Int -> ListConfigurationProfiles -> ShowS)
-> (ListConfigurationProfiles -> String)
-> ([ListConfigurationProfiles] -> ShowS)
-> Show ListConfigurationProfiles
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListConfigurationProfiles] -> ShowS
$cshowList :: [ListConfigurationProfiles] -> ShowS
show :: ListConfigurationProfiles -> String
$cshow :: ListConfigurationProfiles -> String
showsPrec :: Int -> ListConfigurationProfiles -> ShowS
$cshowsPrec :: Int -> ListConfigurationProfiles -> ShowS
Prelude.Show, (forall x.
ListConfigurationProfiles -> Rep ListConfigurationProfiles x)
-> (forall x.
Rep ListConfigurationProfiles x -> ListConfigurationProfiles)
-> Generic ListConfigurationProfiles
forall x.
Rep ListConfigurationProfiles x -> ListConfigurationProfiles
forall x.
ListConfigurationProfiles -> Rep ListConfigurationProfiles x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListConfigurationProfiles x -> ListConfigurationProfiles
$cfrom :: forall x.
ListConfigurationProfiles -> Rep ListConfigurationProfiles x
Prelude.Generic)
newListConfigurationProfiles ::
Prelude.Text ->
ListConfigurationProfiles
newListConfigurationProfiles :: Text -> ListConfigurationProfiles
newListConfigurationProfiles Text
pApplicationId_ =
ListConfigurationProfiles' :: Maybe Text -> Maybe Natural -> Text -> ListConfigurationProfiles
ListConfigurationProfiles'
{ $sel:nextToken:ListConfigurationProfiles' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListConfigurationProfiles' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:applicationId:ListConfigurationProfiles' :: Text
applicationId = Text
pApplicationId_
}
listConfigurationProfiles_nextToken :: Lens.Lens' ListConfigurationProfiles (Prelude.Maybe Prelude.Text)
listConfigurationProfiles_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListConfigurationProfiles -> f ListConfigurationProfiles
listConfigurationProfiles_nextToken = (ListConfigurationProfiles -> Maybe Text)
-> (ListConfigurationProfiles
-> Maybe Text -> ListConfigurationProfiles)
-> Lens
ListConfigurationProfiles
ListConfigurationProfiles
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListConfigurationProfiles' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListConfigurationProfiles' :: ListConfigurationProfiles -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListConfigurationProfiles
s@ListConfigurationProfiles' {} Maybe Text
a -> ListConfigurationProfiles
s {$sel:nextToken:ListConfigurationProfiles' :: Maybe Text
nextToken = Maybe Text
a} :: ListConfigurationProfiles)
listConfigurationProfiles_maxResults :: Lens.Lens' ListConfigurationProfiles (Prelude.Maybe Prelude.Natural)
listConfigurationProfiles_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListConfigurationProfiles -> f ListConfigurationProfiles
listConfigurationProfiles_maxResults = (ListConfigurationProfiles -> Maybe Natural)
-> (ListConfigurationProfiles
-> Maybe Natural -> ListConfigurationProfiles)
-> Lens
ListConfigurationProfiles
ListConfigurationProfiles
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListConfigurationProfiles' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListConfigurationProfiles' :: ListConfigurationProfiles -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListConfigurationProfiles
s@ListConfigurationProfiles' {} Maybe Natural
a -> ListConfigurationProfiles
s {$sel:maxResults:ListConfigurationProfiles' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListConfigurationProfiles)
listConfigurationProfiles_applicationId :: Lens.Lens' ListConfigurationProfiles Prelude.Text
listConfigurationProfiles_applicationId :: (Text -> f Text)
-> ListConfigurationProfiles -> f ListConfigurationProfiles
listConfigurationProfiles_applicationId = (ListConfigurationProfiles -> Text)
-> (ListConfigurationProfiles -> Text -> ListConfigurationProfiles)
-> Lens
ListConfigurationProfiles ListConfigurationProfiles Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListConfigurationProfiles' {Text
applicationId :: Text
$sel:applicationId:ListConfigurationProfiles' :: ListConfigurationProfiles -> Text
applicationId} -> Text
applicationId) (\s :: ListConfigurationProfiles
s@ListConfigurationProfiles' {} Text
a -> ListConfigurationProfiles
s {$sel:applicationId:ListConfigurationProfiles' :: Text
applicationId = Text
a} :: ListConfigurationProfiles)
instance Core.AWSRequest ListConfigurationProfiles where
type
AWSResponse ListConfigurationProfiles =
ListConfigurationProfilesResponse
request :: ListConfigurationProfiles -> Request ListConfigurationProfiles
request = Service
-> ListConfigurationProfiles -> Request ListConfigurationProfiles
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListConfigurationProfiles
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListConfigurationProfiles)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListConfigurationProfiles))
-> Logger
-> Service
-> Proxy ListConfigurationProfiles
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListConfigurationProfiles)))
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 [ConfigurationProfileSummary]
-> Maybe Text -> Int -> ListConfigurationProfilesResponse
ListConfigurationProfilesResponse'
(Maybe [ConfigurationProfileSummary]
-> Maybe Text -> Int -> ListConfigurationProfilesResponse)
-> Either String (Maybe [ConfigurationProfileSummary])
-> Either
String (Maybe Text -> Int -> ListConfigurationProfilesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text
-> Either String (Maybe (Maybe [ConfigurationProfileSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Items" Either String (Maybe (Maybe [ConfigurationProfileSummary]))
-> Maybe [ConfigurationProfileSummary]
-> Either String (Maybe [ConfigurationProfileSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ConfigurationProfileSummary]
forall a. Monoid a => a
Prelude.mempty)
Either
String (Maybe Text -> Int -> ListConfigurationProfilesResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListConfigurationProfilesResponse)
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 -> ListConfigurationProfilesResponse)
-> Either String Int
-> Either String ListConfigurationProfilesResponse
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 ListConfigurationProfiles
instance Prelude.NFData ListConfigurationProfiles
instance Core.ToHeaders ListConfigurationProfiles where
toHeaders :: ListConfigurationProfiles -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListConfigurationProfiles -> 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.ToPath ListConfigurationProfiles where
toPath :: ListConfigurationProfiles -> ByteString
toPath ListConfigurationProfiles' {Maybe Natural
Maybe Text
Text
applicationId :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:applicationId:ListConfigurationProfiles' :: ListConfigurationProfiles -> Text
$sel:maxResults:ListConfigurationProfiles' :: ListConfigurationProfiles -> Maybe Natural
$sel:nextToken:ListConfigurationProfiles' :: ListConfigurationProfiles -> Maybe Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/applications/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
applicationId,
ByteString
"/configurationprofiles"
]
instance Core.ToQuery ListConfigurationProfiles where
toQuery :: ListConfigurationProfiles -> QueryString
toQuery ListConfigurationProfiles' {Maybe Natural
Maybe Text
Text
applicationId :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:applicationId:ListConfigurationProfiles' :: ListConfigurationProfiles -> Text
$sel:maxResults:ListConfigurationProfiles' :: ListConfigurationProfiles -> Maybe Natural
$sel:nextToken:ListConfigurationProfiles' :: ListConfigurationProfiles -> 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 ListConfigurationProfilesResponse = ListConfigurationProfilesResponse'
{
ListConfigurationProfilesResponse
-> Maybe [ConfigurationProfileSummary]
items :: Prelude.Maybe [ConfigurationProfileSummary],
ListConfigurationProfilesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListConfigurationProfilesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListConfigurationProfilesResponse
-> ListConfigurationProfilesResponse -> Bool
(ListConfigurationProfilesResponse
-> ListConfigurationProfilesResponse -> Bool)
-> (ListConfigurationProfilesResponse
-> ListConfigurationProfilesResponse -> Bool)
-> Eq ListConfigurationProfilesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListConfigurationProfilesResponse
-> ListConfigurationProfilesResponse -> Bool
$c/= :: ListConfigurationProfilesResponse
-> ListConfigurationProfilesResponse -> Bool
== :: ListConfigurationProfilesResponse
-> ListConfigurationProfilesResponse -> Bool
$c== :: ListConfigurationProfilesResponse
-> ListConfigurationProfilesResponse -> Bool
Prelude.Eq, ReadPrec [ListConfigurationProfilesResponse]
ReadPrec ListConfigurationProfilesResponse
Int -> ReadS ListConfigurationProfilesResponse
ReadS [ListConfigurationProfilesResponse]
(Int -> ReadS ListConfigurationProfilesResponse)
-> ReadS [ListConfigurationProfilesResponse]
-> ReadPrec ListConfigurationProfilesResponse
-> ReadPrec [ListConfigurationProfilesResponse]
-> Read ListConfigurationProfilesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListConfigurationProfilesResponse]
$creadListPrec :: ReadPrec [ListConfigurationProfilesResponse]
readPrec :: ReadPrec ListConfigurationProfilesResponse
$creadPrec :: ReadPrec ListConfigurationProfilesResponse
readList :: ReadS [ListConfigurationProfilesResponse]
$creadList :: ReadS [ListConfigurationProfilesResponse]
readsPrec :: Int -> ReadS ListConfigurationProfilesResponse
$creadsPrec :: Int -> ReadS ListConfigurationProfilesResponse
Prelude.Read, Int -> ListConfigurationProfilesResponse -> ShowS
[ListConfigurationProfilesResponse] -> ShowS
ListConfigurationProfilesResponse -> String
(Int -> ListConfigurationProfilesResponse -> ShowS)
-> (ListConfigurationProfilesResponse -> String)
-> ([ListConfigurationProfilesResponse] -> ShowS)
-> Show ListConfigurationProfilesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListConfigurationProfilesResponse] -> ShowS
$cshowList :: [ListConfigurationProfilesResponse] -> ShowS
show :: ListConfigurationProfilesResponse -> String
$cshow :: ListConfigurationProfilesResponse -> String
showsPrec :: Int -> ListConfigurationProfilesResponse -> ShowS
$cshowsPrec :: Int -> ListConfigurationProfilesResponse -> ShowS
Prelude.Show, (forall x.
ListConfigurationProfilesResponse
-> Rep ListConfigurationProfilesResponse x)
-> (forall x.
Rep ListConfigurationProfilesResponse x
-> ListConfigurationProfilesResponse)
-> Generic ListConfigurationProfilesResponse
forall x.
Rep ListConfigurationProfilesResponse x
-> ListConfigurationProfilesResponse
forall x.
ListConfigurationProfilesResponse
-> Rep ListConfigurationProfilesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListConfigurationProfilesResponse x
-> ListConfigurationProfilesResponse
$cfrom :: forall x.
ListConfigurationProfilesResponse
-> Rep ListConfigurationProfilesResponse x
Prelude.Generic)
newListConfigurationProfilesResponse ::
Prelude.Int ->
ListConfigurationProfilesResponse
newListConfigurationProfilesResponse :: Int -> ListConfigurationProfilesResponse
newListConfigurationProfilesResponse Int
pHttpStatus_ =
ListConfigurationProfilesResponse' :: Maybe [ConfigurationProfileSummary]
-> Maybe Text -> Int -> ListConfigurationProfilesResponse
ListConfigurationProfilesResponse'
{ $sel:items:ListConfigurationProfilesResponse' :: Maybe [ConfigurationProfileSummary]
items =
Maybe [ConfigurationProfileSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListConfigurationProfilesResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListConfigurationProfilesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listConfigurationProfilesResponse_items :: Lens.Lens' ListConfigurationProfilesResponse (Prelude.Maybe [ConfigurationProfileSummary])
listConfigurationProfilesResponse_items :: (Maybe [ConfigurationProfileSummary]
-> f (Maybe [ConfigurationProfileSummary]))
-> ListConfigurationProfilesResponse
-> f ListConfigurationProfilesResponse
listConfigurationProfilesResponse_items = (ListConfigurationProfilesResponse
-> Maybe [ConfigurationProfileSummary])
-> (ListConfigurationProfilesResponse
-> Maybe [ConfigurationProfileSummary]
-> ListConfigurationProfilesResponse)
-> Lens
ListConfigurationProfilesResponse
ListConfigurationProfilesResponse
(Maybe [ConfigurationProfileSummary])
(Maybe [ConfigurationProfileSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListConfigurationProfilesResponse' {Maybe [ConfigurationProfileSummary]
items :: Maybe [ConfigurationProfileSummary]
$sel:items:ListConfigurationProfilesResponse' :: ListConfigurationProfilesResponse
-> Maybe [ConfigurationProfileSummary]
items} -> Maybe [ConfigurationProfileSummary]
items) (\s :: ListConfigurationProfilesResponse
s@ListConfigurationProfilesResponse' {} Maybe [ConfigurationProfileSummary]
a -> ListConfigurationProfilesResponse
s {$sel:items:ListConfigurationProfilesResponse' :: Maybe [ConfigurationProfileSummary]
items = Maybe [ConfigurationProfileSummary]
a} :: ListConfigurationProfilesResponse) ((Maybe [ConfigurationProfileSummary]
-> f (Maybe [ConfigurationProfileSummary]))
-> ListConfigurationProfilesResponse
-> f ListConfigurationProfilesResponse)
-> ((Maybe [ConfigurationProfileSummary]
-> f (Maybe [ConfigurationProfileSummary]))
-> Maybe [ConfigurationProfileSummary]
-> f (Maybe [ConfigurationProfileSummary]))
-> (Maybe [ConfigurationProfileSummary]
-> f (Maybe [ConfigurationProfileSummary]))
-> ListConfigurationProfilesResponse
-> f ListConfigurationProfilesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ConfigurationProfileSummary]
[ConfigurationProfileSummary]
[ConfigurationProfileSummary]
[ConfigurationProfileSummary]
-> Iso
(Maybe [ConfigurationProfileSummary])
(Maybe [ConfigurationProfileSummary])
(Maybe [ConfigurationProfileSummary])
(Maybe [ConfigurationProfileSummary])
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
[ConfigurationProfileSummary]
[ConfigurationProfileSummary]
[ConfigurationProfileSummary]
[ConfigurationProfileSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listConfigurationProfilesResponse_nextToken :: Lens.Lens' ListConfigurationProfilesResponse (Prelude.Maybe Prelude.Text)
listConfigurationProfilesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListConfigurationProfilesResponse
-> f ListConfigurationProfilesResponse
listConfigurationProfilesResponse_nextToken = (ListConfigurationProfilesResponse -> Maybe Text)
-> (ListConfigurationProfilesResponse
-> Maybe Text -> ListConfigurationProfilesResponse)
-> Lens
ListConfigurationProfilesResponse
ListConfigurationProfilesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListConfigurationProfilesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListConfigurationProfilesResponse' :: ListConfigurationProfilesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListConfigurationProfilesResponse
s@ListConfigurationProfilesResponse' {} Maybe Text
a -> ListConfigurationProfilesResponse
s {$sel:nextToken:ListConfigurationProfilesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListConfigurationProfilesResponse)
listConfigurationProfilesResponse_httpStatus :: Lens.Lens' ListConfigurationProfilesResponse Prelude.Int
listConfigurationProfilesResponse_httpStatus :: (Int -> f Int)
-> ListConfigurationProfilesResponse
-> f ListConfigurationProfilesResponse
listConfigurationProfilesResponse_httpStatus = (ListConfigurationProfilesResponse -> Int)
-> (ListConfigurationProfilesResponse
-> Int -> ListConfigurationProfilesResponse)
-> Lens
ListConfigurationProfilesResponse
ListConfigurationProfilesResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListConfigurationProfilesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListConfigurationProfilesResponse' :: ListConfigurationProfilesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListConfigurationProfilesResponse
s@ListConfigurationProfilesResponse' {} Int
a -> ListConfigurationProfilesResponse
s {$sel:httpStatus:ListConfigurationProfilesResponse' :: Int
httpStatus = Int
a} :: ListConfigurationProfilesResponse)
instance
Prelude.NFData
ListConfigurationProfilesResponse