{-# 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.AccessAnalyzer.ListAnalyzedResources
(
ListAnalyzedResources (..),
newListAnalyzedResources,
listAnalyzedResources_maxResults,
listAnalyzedResources_nextToken,
listAnalyzedResources_resourceType,
listAnalyzedResources_analyzerArn,
ListAnalyzedResourcesResponse (..),
newListAnalyzedResourcesResponse,
listAnalyzedResourcesResponse_nextToken,
listAnalyzedResourcesResponse_httpStatus,
listAnalyzedResourcesResponse_analyzedResources,
)
where
import Amazonka.AccessAnalyzer.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data ListAnalyzedResources = ListAnalyzedResources'
{
ListAnalyzedResources -> Maybe Int
maxResults :: Prelude.Maybe Prelude.Int,
ListAnalyzedResources -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListAnalyzedResources -> Maybe ResourceType
resourceType :: Prelude.Maybe ResourceType,
ListAnalyzedResources -> Text
analyzerArn :: Prelude.Text
}
deriving (ListAnalyzedResources -> ListAnalyzedResources -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAnalyzedResources -> ListAnalyzedResources -> Bool
$c/= :: ListAnalyzedResources -> ListAnalyzedResources -> Bool
== :: ListAnalyzedResources -> ListAnalyzedResources -> Bool
$c== :: ListAnalyzedResources -> ListAnalyzedResources -> Bool
Prelude.Eq, ReadPrec [ListAnalyzedResources]
ReadPrec ListAnalyzedResources
Int -> ReadS ListAnalyzedResources
ReadS [ListAnalyzedResources]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListAnalyzedResources]
$creadListPrec :: ReadPrec [ListAnalyzedResources]
readPrec :: ReadPrec ListAnalyzedResources
$creadPrec :: ReadPrec ListAnalyzedResources
readList :: ReadS [ListAnalyzedResources]
$creadList :: ReadS [ListAnalyzedResources]
readsPrec :: Int -> ReadS ListAnalyzedResources
$creadsPrec :: Int -> ReadS ListAnalyzedResources
Prelude.Read, Int -> ListAnalyzedResources -> ShowS
[ListAnalyzedResources] -> ShowS
ListAnalyzedResources -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAnalyzedResources] -> ShowS
$cshowList :: [ListAnalyzedResources] -> ShowS
show :: ListAnalyzedResources -> String
$cshow :: ListAnalyzedResources -> String
showsPrec :: Int -> ListAnalyzedResources -> ShowS
$cshowsPrec :: Int -> ListAnalyzedResources -> ShowS
Prelude.Show, forall x. Rep ListAnalyzedResources x -> ListAnalyzedResources
forall x. ListAnalyzedResources -> Rep ListAnalyzedResources x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListAnalyzedResources x -> ListAnalyzedResources
$cfrom :: forall x. ListAnalyzedResources -> Rep ListAnalyzedResources x
Prelude.Generic)
newListAnalyzedResources ::
Prelude.Text ->
ListAnalyzedResources
newListAnalyzedResources :: Text -> ListAnalyzedResources
newListAnalyzedResources Text
pAnalyzerArn_ =
ListAnalyzedResources'
{ $sel:maxResults:ListAnalyzedResources' :: Maybe Int
maxResults =
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListAnalyzedResources' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:resourceType:ListAnalyzedResources' :: Maybe ResourceType
resourceType = forall a. Maybe a
Prelude.Nothing,
$sel:analyzerArn:ListAnalyzedResources' :: Text
analyzerArn = Text
pAnalyzerArn_
}
listAnalyzedResources_maxResults :: Lens.Lens' ListAnalyzedResources (Prelude.Maybe Prelude.Int)
listAnalyzedResources_maxResults :: Lens' ListAnalyzedResources (Maybe Int)
listAnalyzedResources_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAnalyzedResources' {Maybe Int
maxResults :: Maybe Int
$sel:maxResults:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe Int
maxResults} -> Maybe Int
maxResults) (\s :: ListAnalyzedResources
s@ListAnalyzedResources' {} Maybe Int
a -> ListAnalyzedResources
s {$sel:maxResults:ListAnalyzedResources' :: Maybe Int
maxResults = Maybe Int
a} :: ListAnalyzedResources)
listAnalyzedResources_nextToken :: Lens.Lens' ListAnalyzedResources (Prelude.Maybe Prelude.Text)
listAnalyzedResources_nextToken :: Lens' ListAnalyzedResources (Maybe Text)
listAnalyzedResources_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAnalyzedResources' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListAnalyzedResources
s@ListAnalyzedResources' {} Maybe Text
a -> ListAnalyzedResources
s {$sel:nextToken:ListAnalyzedResources' :: Maybe Text
nextToken = Maybe Text
a} :: ListAnalyzedResources)
listAnalyzedResources_resourceType :: Lens.Lens' ListAnalyzedResources (Prelude.Maybe ResourceType)
listAnalyzedResources_resourceType :: Lens' ListAnalyzedResources (Maybe ResourceType)
listAnalyzedResources_resourceType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAnalyzedResources' {Maybe ResourceType
resourceType :: Maybe ResourceType
$sel:resourceType:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe ResourceType
resourceType} -> Maybe ResourceType
resourceType) (\s :: ListAnalyzedResources
s@ListAnalyzedResources' {} Maybe ResourceType
a -> ListAnalyzedResources
s {$sel:resourceType:ListAnalyzedResources' :: Maybe ResourceType
resourceType = Maybe ResourceType
a} :: ListAnalyzedResources)
listAnalyzedResources_analyzerArn :: Lens.Lens' ListAnalyzedResources Prelude.Text
listAnalyzedResources_analyzerArn :: Lens' ListAnalyzedResources Text
listAnalyzedResources_analyzerArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAnalyzedResources' {Text
analyzerArn :: Text
$sel:analyzerArn:ListAnalyzedResources' :: ListAnalyzedResources -> Text
analyzerArn} -> Text
analyzerArn) (\s :: ListAnalyzedResources
s@ListAnalyzedResources' {} Text
a -> ListAnalyzedResources
s {$sel:analyzerArn:ListAnalyzedResources' :: Text
analyzerArn = Text
a} :: ListAnalyzedResources)
instance Core.AWSPager ListAnalyzedResources where
page :: ListAnalyzedResources
-> AWSResponse ListAnalyzedResources -> Maybe ListAnalyzedResources
page ListAnalyzedResources
rq AWSResponse ListAnalyzedResources
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListAnalyzedResources
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListAnalyzedResourcesResponse (Maybe Text)
listAnalyzedResourcesResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListAnalyzedResources
rs
forall s a. s -> Getting a s a -> a
Lens.^. Lens' ListAnalyzedResourcesResponse [AnalyzedResourceSummary]
listAnalyzedResourcesResponse_analyzedResources
) =
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
forall a. a -> Maybe a
Prelude.Just
forall a b. (a -> b) -> a -> b
Prelude.$ ListAnalyzedResources
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListAnalyzedResources (Maybe Text)
listAnalyzedResources_nextToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListAnalyzedResources
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListAnalyzedResourcesResponse (Maybe Text)
listAnalyzedResourcesResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListAnalyzedResources where
type
AWSResponse ListAnalyzedResources =
ListAnalyzedResourcesResponse
request :: (Service -> Service)
-> ListAnalyzedResources -> Request ListAnalyzedResources
request Service -> Service
overrides =
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy ListAnalyzedResources
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListAnalyzedResources)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Int
-> [AnalyzedResourceSummary]
-> ListAnalyzedResourcesResponse
ListAnalyzedResourcesResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"nextToken")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"analyzedResources"
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty
)
)
instance Prelude.Hashable ListAnalyzedResources where
hashWithSalt :: Int -> ListAnalyzedResources -> Int
hashWithSalt Int
_salt ListAnalyzedResources' {Maybe Int
Maybe Text
Maybe ResourceType
Text
analyzerArn :: Text
resourceType :: Maybe ResourceType
nextToken :: Maybe Text
maxResults :: Maybe Int
$sel:analyzerArn:ListAnalyzedResources' :: ListAnalyzedResources -> Text
$sel:resourceType:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe ResourceType
$sel:nextToken:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe Text
$sel:maxResults:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe Int
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
maxResults
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ResourceType
resourceType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
analyzerArn
instance Prelude.NFData ListAnalyzedResources where
rnf :: ListAnalyzedResources -> ()
rnf ListAnalyzedResources' {Maybe Int
Maybe Text
Maybe ResourceType
Text
analyzerArn :: Text
resourceType :: Maybe ResourceType
nextToken :: Maybe Text
maxResults :: Maybe Int
$sel:analyzerArn:ListAnalyzedResources' :: ListAnalyzedResources -> Text
$sel:resourceType:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe ResourceType
$sel:nextToken:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe Text
$sel:maxResults:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe Int
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
maxResults
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ResourceType
resourceType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
analyzerArn
instance Data.ToHeaders ListAnalyzedResources where
toHeaders :: ListAnalyzedResources -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToJSON ListAnalyzedResources where
toJSON :: ListAnalyzedResources -> Value
toJSON ListAnalyzedResources' {Maybe Int
Maybe Text
Maybe ResourceType
Text
analyzerArn :: Text
resourceType :: Maybe ResourceType
nextToken :: Maybe Text
maxResults :: Maybe Int
$sel:analyzerArn:ListAnalyzedResources' :: ListAnalyzedResources -> Text
$sel:resourceType:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe ResourceType
$sel:nextToken:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe Text
$sel:maxResults:ListAnalyzedResources' :: ListAnalyzedResources -> Maybe Int
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"maxResults" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
maxResults,
(Key
"nextToken" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken,
(Key
"resourceType" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ResourceType
resourceType,
forall a. a -> Maybe a
Prelude.Just (Key
"analyzerArn" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
analyzerArn)
]
)
instance Data.ToPath ListAnalyzedResources where
toPath :: ListAnalyzedResources -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/analyzed-resource"
instance Data.ToQuery ListAnalyzedResources where
toQuery :: ListAnalyzedResources -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data ListAnalyzedResourcesResponse = ListAnalyzedResourcesResponse'
{
ListAnalyzedResourcesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListAnalyzedResourcesResponse -> Int
httpStatus :: Prelude.Int,
ListAnalyzedResourcesResponse -> [AnalyzedResourceSummary]
analyzedResources :: [AnalyzedResourceSummary]
}
deriving (ListAnalyzedResourcesResponse
-> ListAnalyzedResourcesResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAnalyzedResourcesResponse
-> ListAnalyzedResourcesResponse -> Bool
$c/= :: ListAnalyzedResourcesResponse
-> ListAnalyzedResourcesResponse -> Bool
== :: ListAnalyzedResourcesResponse
-> ListAnalyzedResourcesResponse -> Bool
$c== :: ListAnalyzedResourcesResponse
-> ListAnalyzedResourcesResponse -> Bool
Prelude.Eq, ReadPrec [ListAnalyzedResourcesResponse]
ReadPrec ListAnalyzedResourcesResponse
Int -> ReadS ListAnalyzedResourcesResponse
ReadS [ListAnalyzedResourcesResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListAnalyzedResourcesResponse]
$creadListPrec :: ReadPrec [ListAnalyzedResourcesResponse]
readPrec :: ReadPrec ListAnalyzedResourcesResponse
$creadPrec :: ReadPrec ListAnalyzedResourcesResponse
readList :: ReadS [ListAnalyzedResourcesResponse]
$creadList :: ReadS [ListAnalyzedResourcesResponse]
readsPrec :: Int -> ReadS ListAnalyzedResourcesResponse
$creadsPrec :: Int -> ReadS ListAnalyzedResourcesResponse
Prelude.Read, Int -> ListAnalyzedResourcesResponse -> ShowS
[ListAnalyzedResourcesResponse] -> ShowS
ListAnalyzedResourcesResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAnalyzedResourcesResponse] -> ShowS
$cshowList :: [ListAnalyzedResourcesResponse] -> ShowS
show :: ListAnalyzedResourcesResponse -> String
$cshow :: ListAnalyzedResourcesResponse -> String
showsPrec :: Int -> ListAnalyzedResourcesResponse -> ShowS
$cshowsPrec :: Int -> ListAnalyzedResourcesResponse -> ShowS
Prelude.Show, forall x.
Rep ListAnalyzedResourcesResponse x
-> ListAnalyzedResourcesResponse
forall x.
ListAnalyzedResourcesResponse
-> Rep ListAnalyzedResourcesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListAnalyzedResourcesResponse x
-> ListAnalyzedResourcesResponse
$cfrom :: forall x.
ListAnalyzedResourcesResponse
-> Rep ListAnalyzedResourcesResponse x
Prelude.Generic)
newListAnalyzedResourcesResponse ::
Prelude.Int ->
ListAnalyzedResourcesResponse
newListAnalyzedResourcesResponse :: Int -> ListAnalyzedResourcesResponse
newListAnalyzedResourcesResponse Int
pHttpStatus_ =
ListAnalyzedResourcesResponse'
{ $sel:nextToken:ListAnalyzedResourcesResponse' :: Maybe Text
nextToken =
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListAnalyzedResourcesResponse' :: Int
httpStatus = Int
pHttpStatus_,
$sel:analyzedResources:ListAnalyzedResourcesResponse' :: [AnalyzedResourceSummary]
analyzedResources = forall a. Monoid a => a
Prelude.mempty
}
listAnalyzedResourcesResponse_nextToken :: Lens.Lens' ListAnalyzedResourcesResponse (Prelude.Maybe Prelude.Text)
listAnalyzedResourcesResponse_nextToken :: Lens' ListAnalyzedResourcesResponse (Maybe Text)
listAnalyzedResourcesResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAnalyzedResourcesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListAnalyzedResourcesResponse' :: ListAnalyzedResourcesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListAnalyzedResourcesResponse
s@ListAnalyzedResourcesResponse' {} Maybe Text
a -> ListAnalyzedResourcesResponse
s {$sel:nextToken:ListAnalyzedResourcesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListAnalyzedResourcesResponse)
listAnalyzedResourcesResponse_httpStatus :: Lens.Lens' ListAnalyzedResourcesResponse Prelude.Int
listAnalyzedResourcesResponse_httpStatus :: Lens' ListAnalyzedResourcesResponse Int
listAnalyzedResourcesResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAnalyzedResourcesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListAnalyzedResourcesResponse' :: ListAnalyzedResourcesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListAnalyzedResourcesResponse
s@ListAnalyzedResourcesResponse' {} Int
a -> ListAnalyzedResourcesResponse
s {$sel:httpStatus:ListAnalyzedResourcesResponse' :: Int
httpStatus = Int
a} :: ListAnalyzedResourcesResponse)
listAnalyzedResourcesResponse_analyzedResources :: Lens.Lens' ListAnalyzedResourcesResponse [AnalyzedResourceSummary]
listAnalyzedResourcesResponse_analyzedResources :: Lens' ListAnalyzedResourcesResponse [AnalyzedResourceSummary]
listAnalyzedResourcesResponse_analyzedResources = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAnalyzedResourcesResponse' {[AnalyzedResourceSummary]
analyzedResources :: [AnalyzedResourceSummary]
$sel:analyzedResources:ListAnalyzedResourcesResponse' :: ListAnalyzedResourcesResponse -> [AnalyzedResourceSummary]
analyzedResources} -> [AnalyzedResourceSummary]
analyzedResources) (\s :: ListAnalyzedResourcesResponse
s@ListAnalyzedResourcesResponse' {} [AnalyzedResourceSummary]
a -> ListAnalyzedResourcesResponse
s {$sel:analyzedResources:ListAnalyzedResourcesResponse' :: [AnalyzedResourceSummary]
analyzedResources = [AnalyzedResourceSummary]
a} :: ListAnalyzedResourcesResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Prelude.NFData ListAnalyzedResourcesResponse where
rnf :: ListAnalyzedResourcesResponse -> ()
rnf ListAnalyzedResourcesResponse' {Int
[AnalyzedResourceSummary]
Maybe Text
analyzedResources :: [AnalyzedResourceSummary]
httpStatus :: Int
nextToken :: Maybe Text
$sel:analyzedResources:ListAnalyzedResourcesResponse' :: ListAnalyzedResourcesResponse -> [AnalyzedResourceSummary]
$sel:httpStatus:ListAnalyzedResourcesResponse' :: ListAnalyzedResourcesResponse -> Int
$sel:nextToken:ListAnalyzedResourcesResponse' :: ListAnalyzedResourcesResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf [AnalyzedResourceSummary]
analyzedResources