{-# 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.Inspector.DescribeAssessmentTargets
(
DescribeAssessmentTargets (..),
newDescribeAssessmentTargets,
describeAssessmentTargets_assessmentTargetArns,
DescribeAssessmentTargetsResponse (..),
newDescribeAssessmentTargetsResponse,
describeAssessmentTargetsResponse_httpStatus,
describeAssessmentTargetsResponse_assessmentTargets,
describeAssessmentTargetsResponse_failedItems,
)
where
import qualified Amazonka.Core as Core
import Amazonka.Inspector.Types
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 DescribeAssessmentTargets = DescribeAssessmentTargets'
{
DescribeAssessmentTargets -> NonEmpty Text
assessmentTargetArns :: Prelude.NonEmpty Prelude.Text
}
deriving (DescribeAssessmentTargets -> DescribeAssessmentTargets -> Bool
(DescribeAssessmentTargets -> DescribeAssessmentTargets -> Bool)
-> (DescribeAssessmentTargets -> DescribeAssessmentTargets -> Bool)
-> Eq DescribeAssessmentTargets
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeAssessmentTargets -> DescribeAssessmentTargets -> Bool
$c/= :: DescribeAssessmentTargets -> DescribeAssessmentTargets -> Bool
== :: DescribeAssessmentTargets -> DescribeAssessmentTargets -> Bool
$c== :: DescribeAssessmentTargets -> DescribeAssessmentTargets -> Bool
Prelude.Eq, ReadPrec [DescribeAssessmentTargets]
ReadPrec DescribeAssessmentTargets
Int -> ReadS DescribeAssessmentTargets
ReadS [DescribeAssessmentTargets]
(Int -> ReadS DescribeAssessmentTargets)
-> ReadS [DescribeAssessmentTargets]
-> ReadPrec DescribeAssessmentTargets
-> ReadPrec [DescribeAssessmentTargets]
-> Read DescribeAssessmentTargets
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeAssessmentTargets]
$creadListPrec :: ReadPrec [DescribeAssessmentTargets]
readPrec :: ReadPrec DescribeAssessmentTargets
$creadPrec :: ReadPrec DescribeAssessmentTargets
readList :: ReadS [DescribeAssessmentTargets]
$creadList :: ReadS [DescribeAssessmentTargets]
readsPrec :: Int -> ReadS DescribeAssessmentTargets
$creadsPrec :: Int -> ReadS DescribeAssessmentTargets
Prelude.Read, Int -> DescribeAssessmentTargets -> ShowS
[DescribeAssessmentTargets] -> ShowS
DescribeAssessmentTargets -> String
(Int -> DescribeAssessmentTargets -> ShowS)
-> (DescribeAssessmentTargets -> String)
-> ([DescribeAssessmentTargets] -> ShowS)
-> Show DescribeAssessmentTargets
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeAssessmentTargets] -> ShowS
$cshowList :: [DescribeAssessmentTargets] -> ShowS
show :: DescribeAssessmentTargets -> String
$cshow :: DescribeAssessmentTargets -> String
showsPrec :: Int -> DescribeAssessmentTargets -> ShowS
$cshowsPrec :: Int -> DescribeAssessmentTargets -> ShowS
Prelude.Show, (forall x.
DescribeAssessmentTargets -> Rep DescribeAssessmentTargets x)
-> (forall x.
Rep DescribeAssessmentTargets x -> DescribeAssessmentTargets)
-> Generic DescribeAssessmentTargets
forall x.
Rep DescribeAssessmentTargets x -> DescribeAssessmentTargets
forall x.
DescribeAssessmentTargets -> Rep DescribeAssessmentTargets x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeAssessmentTargets x -> DescribeAssessmentTargets
$cfrom :: forall x.
DescribeAssessmentTargets -> Rep DescribeAssessmentTargets x
Prelude.Generic)
newDescribeAssessmentTargets ::
Prelude.NonEmpty Prelude.Text ->
DescribeAssessmentTargets
newDescribeAssessmentTargets :: NonEmpty Text -> DescribeAssessmentTargets
newDescribeAssessmentTargets NonEmpty Text
pAssessmentTargetArns_ =
DescribeAssessmentTargets' :: NonEmpty Text -> DescribeAssessmentTargets
DescribeAssessmentTargets'
{ $sel:assessmentTargetArns:DescribeAssessmentTargets' :: NonEmpty Text
assessmentTargetArns =
Tagged (NonEmpty Text) (Identity (NonEmpty Text))
-> Tagged (NonEmpty Text) (Identity (NonEmpty Text))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced (Tagged (NonEmpty Text) (Identity (NonEmpty Text))
-> Tagged (NonEmpty Text) (Identity (NonEmpty Text)))
-> NonEmpty Text -> NonEmpty Text
forall t b. AReview t b -> b -> t
Lens.# NonEmpty Text
pAssessmentTargetArns_
}
describeAssessmentTargets_assessmentTargetArns :: Lens.Lens' DescribeAssessmentTargets (Prelude.NonEmpty Prelude.Text)
describeAssessmentTargets_assessmentTargetArns :: (NonEmpty Text -> f (NonEmpty Text))
-> DescribeAssessmentTargets -> f DescribeAssessmentTargets
describeAssessmentTargets_assessmentTargetArns = (DescribeAssessmentTargets -> NonEmpty Text)
-> (DescribeAssessmentTargets
-> NonEmpty Text -> DescribeAssessmentTargets)
-> Lens
DescribeAssessmentTargets
DescribeAssessmentTargets
(NonEmpty Text)
(NonEmpty Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAssessmentTargets' {NonEmpty Text
assessmentTargetArns :: NonEmpty Text
$sel:assessmentTargetArns:DescribeAssessmentTargets' :: DescribeAssessmentTargets -> NonEmpty Text
assessmentTargetArns} -> NonEmpty Text
assessmentTargetArns) (\s :: DescribeAssessmentTargets
s@DescribeAssessmentTargets' {} NonEmpty Text
a -> DescribeAssessmentTargets
s {$sel:assessmentTargetArns:DescribeAssessmentTargets' :: NonEmpty Text
assessmentTargetArns = NonEmpty Text
a} :: DescribeAssessmentTargets) ((NonEmpty Text -> f (NonEmpty Text))
-> DescribeAssessmentTargets -> f DescribeAssessmentTargets)
-> ((NonEmpty Text -> f (NonEmpty Text))
-> NonEmpty Text -> f (NonEmpty Text))
-> (NonEmpty Text -> f (NonEmpty Text))
-> DescribeAssessmentTargets
-> f DescribeAssessmentTargets
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (NonEmpty Text -> f (NonEmpty Text))
-> NonEmpty Text -> f (NonEmpty Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest DescribeAssessmentTargets where
type
AWSResponse DescribeAssessmentTargets =
DescribeAssessmentTargetsResponse
request :: DescribeAssessmentTargets -> Request DescribeAssessmentTargets
request = Service
-> DescribeAssessmentTargets -> Request DescribeAssessmentTargets
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeAssessmentTargets
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeAssessmentTargets)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeAssessmentTargets))
-> Logger
-> Service
-> Proxy DescribeAssessmentTargets
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeAssessmentTargets)))
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 ->
Int
-> [AssessmentTarget]
-> HashMap Text FailedItemDetails
-> DescribeAssessmentTargetsResponse
DescribeAssessmentTargetsResponse'
(Int
-> [AssessmentTarget]
-> HashMap Text FailedItemDetails
-> DescribeAssessmentTargetsResponse)
-> Either String Int
-> Either
String
([AssessmentTarget]
-> HashMap Text FailedItemDetails
-> DescribeAssessmentTargetsResponse)
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
([AssessmentTarget]
-> HashMap Text FailedItemDetails
-> DescribeAssessmentTargetsResponse)
-> Either String [AssessmentTarget]
-> Either
String
(HashMap Text FailedItemDetails
-> DescribeAssessmentTargetsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe [AssessmentTarget])
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"assessmentTargets"
Either String (Maybe [AssessmentTarget])
-> [AssessmentTarget] -> Either String [AssessmentTarget]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [AssessmentTarget]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(HashMap Text FailedItemDetails
-> DescribeAssessmentTargetsResponse)
-> Either String (HashMap Text FailedItemDetails)
-> Either String DescribeAssessmentTargetsResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text -> Either String (Maybe (HashMap Text FailedItemDetails))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"failedItems" Either String (Maybe (HashMap Text FailedItemDetails))
-> HashMap Text FailedItemDetails
-> Either String (HashMap Text FailedItemDetails)
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ HashMap Text FailedItemDetails
forall a. Monoid a => a
Prelude.mempty)
)
instance Prelude.Hashable DescribeAssessmentTargets
instance Prelude.NFData DescribeAssessmentTargets
instance Core.ToHeaders DescribeAssessmentTargets where
toHeaders :: DescribeAssessmentTargets -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeAssessmentTargets -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"InspectorService.DescribeAssessmentTargets" ::
Prelude.ByteString
),
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.ToJSON DescribeAssessmentTargets where
toJSON :: DescribeAssessmentTargets -> Value
toJSON DescribeAssessmentTargets' {NonEmpty Text
assessmentTargetArns :: NonEmpty Text
$sel:assessmentTargetArns:DescribeAssessmentTargets' :: DescribeAssessmentTargets -> NonEmpty Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"assessmentTargetArns"
Text -> NonEmpty Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= NonEmpty Text
assessmentTargetArns
)
]
)
instance Core.ToPath DescribeAssessmentTargets where
toPath :: DescribeAssessmentTargets -> ByteString
toPath = ByteString -> DescribeAssessmentTargets -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeAssessmentTargets where
toQuery :: DescribeAssessmentTargets -> QueryString
toQuery = QueryString -> DescribeAssessmentTargets -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeAssessmentTargetsResponse = DescribeAssessmentTargetsResponse'
{
DescribeAssessmentTargetsResponse -> Int
httpStatus :: Prelude.Int,
DescribeAssessmentTargetsResponse -> [AssessmentTarget]
assessmentTargets :: [AssessmentTarget],
DescribeAssessmentTargetsResponse -> HashMap Text FailedItemDetails
failedItems :: Prelude.HashMap Prelude.Text FailedItemDetails
}
deriving (DescribeAssessmentTargetsResponse
-> DescribeAssessmentTargetsResponse -> Bool
(DescribeAssessmentTargetsResponse
-> DescribeAssessmentTargetsResponse -> Bool)
-> (DescribeAssessmentTargetsResponse
-> DescribeAssessmentTargetsResponse -> Bool)
-> Eq DescribeAssessmentTargetsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeAssessmentTargetsResponse
-> DescribeAssessmentTargetsResponse -> Bool
$c/= :: DescribeAssessmentTargetsResponse
-> DescribeAssessmentTargetsResponse -> Bool
== :: DescribeAssessmentTargetsResponse
-> DescribeAssessmentTargetsResponse -> Bool
$c== :: DescribeAssessmentTargetsResponse
-> DescribeAssessmentTargetsResponse -> Bool
Prelude.Eq, ReadPrec [DescribeAssessmentTargetsResponse]
ReadPrec DescribeAssessmentTargetsResponse
Int -> ReadS DescribeAssessmentTargetsResponse
ReadS [DescribeAssessmentTargetsResponse]
(Int -> ReadS DescribeAssessmentTargetsResponse)
-> ReadS [DescribeAssessmentTargetsResponse]
-> ReadPrec DescribeAssessmentTargetsResponse
-> ReadPrec [DescribeAssessmentTargetsResponse]
-> Read DescribeAssessmentTargetsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeAssessmentTargetsResponse]
$creadListPrec :: ReadPrec [DescribeAssessmentTargetsResponse]
readPrec :: ReadPrec DescribeAssessmentTargetsResponse
$creadPrec :: ReadPrec DescribeAssessmentTargetsResponse
readList :: ReadS [DescribeAssessmentTargetsResponse]
$creadList :: ReadS [DescribeAssessmentTargetsResponse]
readsPrec :: Int -> ReadS DescribeAssessmentTargetsResponse
$creadsPrec :: Int -> ReadS DescribeAssessmentTargetsResponse
Prelude.Read, Int -> DescribeAssessmentTargetsResponse -> ShowS
[DescribeAssessmentTargetsResponse] -> ShowS
DescribeAssessmentTargetsResponse -> String
(Int -> DescribeAssessmentTargetsResponse -> ShowS)
-> (DescribeAssessmentTargetsResponse -> String)
-> ([DescribeAssessmentTargetsResponse] -> ShowS)
-> Show DescribeAssessmentTargetsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeAssessmentTargetsResponse] -> ShowS
$cshowList :: [DescribeAssessmentTargetsResponse] -> ShowS
show :: DescribeAssessmentTargetsResponse -> String
$cshow :: DescribeAssessmentTargetsResponse -> String
showsPrec :: Int -> DescribeAssessmentTargetsResponse -> ShowS
$cshowsPrec :: Int -> DescribeAssessmentTargetsResponse -> ShowS
Prelude.Show, (forall x.
DescribeAssessmentTargetsResponse
-> Rep DescribeAssessmentTargetsResponse x)
-> (forall x.
Rep DescribeAssessmentTargetsResponse x
-> DescribeAssessmentTargetsResponse)
-> Generic DescribeAssessmentTargetsResponse
forall x.
Rep DescribeAssessmentTargetsResponse x
-> DescribeAssessmentTargetsResponse
forall x.
DescribeAssessmentTargetsResponse
-> Rep DescribeAssessmentTargetsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeAssessmentTargetsResponse x
-> DescribeAssessmentTargetsResponse
$cfrom :: forall x.
DescribeAssessmentTargetsResponse
-> Rep DescribeAssessmentTargetsResponse x
Prelude.Generic)
newDescribeAssessmentTargetsResponse ::
Prelude.Int ->
DescribeAssessmentTargetsResponse
newDescribeAssessmentTargetsResponse :: Int -> DescribeAssessmentTargetsResponse
newDescribeAssessmentTargetsResponse Int
pHttpStatus_ =
DescribeAssessmentTargetsResponse' :: Int
-> [AssessmentTarget]
-> HashMap Text FailedItemDetails
-> DescribeAssessmentTargetsResponse
DescribeAssessmentTargetsResponse'
{ $sel:httpStatus:DescribeAssessmentTargetsResponse' :: Int
httpStatus =
Int
pHttpStatus_,
$sel:assessmentTargets:DescribeAssessmentTargetsResponse' :: [AssessmentTarget]
assessmentTargets = [AssessmentTarget]
forall a. Monoid a => a
Prelude.mempty,
$sel:failedItems:DescribeAssessmentTargetsResponse' :: HashMap Text FailedItemDetails
failedItems = HashMap Text FailedItemDetails
forall a. Monoid a => a
Prelude.mempty
}
describeAssessmentTargetsResponse_httpStatus :: Lens.Lens' DescribeAssessmentTargetsResponse Prelude.Int
describeAssessmentTargetsResponse_httpStatus :: (Int -> f Int)
-> DescribeAssessmentTargetsResponse
-> f DescribeAssessmentTargetsResponse
describeAssessmentTargetsResponse_httpStatus = (DescribeAssessmentTargetsResponse -> Int)
-> (DescribeAssessmentTargetsResponse
-> Int -> DescribeAssessmentTargetsResponse)
-> Lens
DescribeAssessmentTargetsResponse
DescribeAssessmentTargetsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAssessmentTargetsResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeAssessmentTargetsResponse' :: DescribeAssessmentTargetsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeAssessmentTargetsResponse
s@DescribeAssessmentTargetsResponse' {} Int
a -> DescribeAssessmentTargetsResponse
s {$sel:httpStatus:DescribeAssessmentTargetsResponse' :: Int
httpStatus = Int
a} :: DescribeAssessmentTargetsResponse)
describeAssessmentTargetsResponse_assessmentTargets :: Lens.Lens' DescribeAssessmentTargetsResponse [AssessmentTarget]
describeAssessmentTargetsResponse_assessmentTargets :: ([AssessmentTarget] -> f [AssessmentTarget])
-> DescribeAssessmentTargetsResponse
-> f DescribeAssessmentTargetsResponse
describeAssessmentTargetsResponse_assessmentTargets = (DescribeAssessmentTargetsResponse -> [AssessmentTarget])
-> (DescribeAssessmentTargetsResponse
-> [AssessmentTarget] -> DescribeAssessmentTargetsResponse)
-> Lens
DescribeAssessmentTargetsResponse
DescribeAssessmentTargetsResponse
[AssessmentTarget]
[AssessmentTarget]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAssessmentTargetsResponse' {[AssessmentTarget]
assessmentTargets :: [AssessmentTarget]
$sel:assessmentTargets:DescribeAssessmentTargetsResponse' :: DescribeAssessmentTargetsResponse -> [AssessmentTarget]
assessmentTargets} -> [AssessmentTarget]
assessmentTargets) (\s :: DescribeAssessmentTargetsResponse
s@DescribeAssessmentTargetsResponse' {} [AssessmentTarget]
a -> DescribeAssessmentTargetsResponse
s {$sel:assessmentTargets:DescribeAssessmentTargetsResponse' :: [AssessmentTarget]
assessmentTargets = [AssessmentTarget]
a} :: DescribeAssessmentTargetsResponse) (([AssessmentTarget] -> f [AssessmentTarget])
-> DescribeAssessmentTargetsResponse
-> f DescribeAssessmentTargetsResponse)
-> (([AssessmentTarget] -> f [AssessmentTarget])
-> [AssessmentTarget] -> f [AssessmentTarget])
-> ([AssessmentTarget] -> f [AssessmentTarget])
-> DescribeAssessmentTargetsResponse
-> f DescribeAssessmentTargetsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([AssessmentTarget] -> f [AssessmentTarget])
-> [AssessmentTarget] -> f [AssessmentTarget]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeAssessmentTargetsResponse_failedItems :: Lens.Lens' DescribeAssessmentTargetsResponse (Prelude.HashMap Prelude.Text FailedItemDetails)
describeAssessmentTargetsResponse_failedItems :: (HashMap Text FailedItemDetails
-> f (HashMap Text FailedItemDetails))
-> DescribeAssessmentTargetsResponse
-> f DescribeAssessmentTargetsResponse
describeAssessmentTargetsResponse_failedItems = (DescribeAssessmentTargetsResponse
-> HashMap Text FailedItemDetails)
-> (DescribeAssessmentTargetsResponse
-> HashMap Text FailedItemDetails
-> DescribeAssessmentTargetsResponse)
-> Lens
DescribeAssessmentTargetsResponse
DescribeAssessmentTargetsResponse
(HashMap Text FailedItemDetails)
(HashMap Text FailedItemDetails)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAssessmentTargetsResponse' {HashMap Text FailedItemDetails
failedItems :: HashMap Text FailedItemDetails
$sel:failedItems:DescribeAssessmentTargetsResponse' :: DescribeAssessmentTargetsResponse -> HashMap Text FailedItemDetails
failedItems} -> HashMap Text FailedItemDetails
failedItems) (\s :: DescribeAssessmentTargetsResponse
s@DescribeAssessmentTargetsResponse' {} HashMap Text FailedItemDetails
a -> DescribeAssessmentTargetsResponse
s {$sel:failedItems:DescribeAssessmentTargetsResponse' :: HashMap Text FailedItemDetails
failedItems = HashMap Text FailedItemDetails
a} :: DescribeAssessmentTargetsResponse) ((HashMap Text FailedItemDetails
-> f (HashMap Text FailedItemDetails))
-> DescribeAssessmentTargetsResponse
-> f DescribeAssessmentTargetsResponse)
-> ((HashMap Text FailedItemDetails
-> f (HashMap Text FailedItemDetails))
-> HashMap Text FailedItemDetails
-> f (HashMap Text FailedItemDetails))
-> (HashMap Text FailedItemDetails
-> f (HashMap Text FailedItemDetails))
-> DescribeAssessmentTargetsResponse
-> f DescribeAssessmentTargetsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (HashMap Text FailedItemDetails
-> f (HashMap Text FailedItemDetails))
-> HashMap Text FailedItemDetails
-> f (HashMap Text FailedItemDetails)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance
Prelude.NFData
DescribeAssessmentTargetsResponse