amazonka-inspector-1.6.1: Amazon Inspector SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Inspector.DescribeFindings

Contents

Description

Describes the findings that are specified by the ARNs of the findings.

Synopsis

Creating a Request

describeFindings Source #

Creates a value of DescribeFindings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dfLocale - The locale into which you want to translate a finding description, recommendation, and the short description that identifies the finding.
  • dfFindingARNs - The ARN that specifies the finding that you want to describe.

data DescribeFindings Source #

See: describeFindings smart constructor.

Instances
Eq DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Data DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeFindings -> c DescribeFindings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeFindings #

toConstr :: DescribeFindings -> Constr #

dataTypeOf :: DescribeFindings -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeFindings) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeFindings) #

gmapT :: (forall b. Data b => b -> b) -> DescribeFindings -> DescribeFindings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFindings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFindings -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeFindings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeFindings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeFindings -> m DescribeFindings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFindings -> m DescribeFindings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFindings -> m DescribeFindings #

Read DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Show DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Generic DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Associated Types

type Rep DescribeFindings :: Type -> Type #

Hashable DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

ToJSON DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

AWSRequest DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Associated Types

type Rs DescribeFindings :: Type #

ToHeaders DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

ToPath DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

ToQuery DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

NFData DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Methods

rnf :: DescribeFindings -> () #

type Rep DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

type Rep DescribeFindings = D1 (MetaData "DescribeFindings" "Network.AWS.Inspector.DescribeFindings" "amazonka-inspector-1.6.1-1xH2ya8w5ZlLuhJEcN8K8C" False) (C1 (MetaCons "DescribeFindings'" PrefixI True) (S1 (MetaSel (Just "_dfLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Locale)) :*: S1 (MetaSel (Just "_dfFindingARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Text))))
type Rs DescribeFindings Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Request Lenses

dfLocale :: Lens' DescribeFindings (Maybe Locale) Source #

The locale into which you want to translate a finding description, recommendation, and the short description that identifies the finding.

dfFindingARNs :: Lens' DescribeFindings (NonEmpty Text) Source #

The ARN that specifies the finding that you want to describe.

Destructuring the Response

describeFindingsResponse Source #

Creates a value of DescribeFindingsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeFindingsResponse Source #

See: describeFindingsResponse smart constructor.

Instances
Eq DescribeFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Data DescribeFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeFindingsResponse -> c DescribeFindingsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeFindingsResponse #

toConstr :: DescribeFindingsResponse -> Constr #

dataTypeOf :: DescribeFindingsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeFindingsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeFindingsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeFindingsResponse -> DescribeFindingsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFindingsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFindingsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeFindingsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeFindingsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeFindingsResponse -> m DescribeFindingsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFindingsResponse -> m DescribeFindingsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFindingsResponse -> m DescribeFindingsResponse #

Read DescribeFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Show DescribeFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Generic DescribeFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

Associated Types

type Rep DescribeFindingsResponse :: Type -> Type #

NFData DescribeFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

type Rep DescribeFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.DescribeFindings

type Rep DescribeFindingsResponse = D1 (MetaData "DescribeFindingsResponse" "Network.AWS.Inspector.DescribeFindings" "amazonka-inspector-1.6.1-1xH2ya8w5ZlLuhJEcN8K8C" False) (C1 (MetaCons "DescribeFindingsResponse'" PrefixI True) (S1 (MetaSel (Just "_dfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "_dfrsFindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Finding]) :*: S1 (MetaSel (Just "_dfrsFailedItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Map Text FailedItemDetails)))))

Response Lenses

dfrsFindings :: Lens' DescribeFindingsResponse [Finding] Source #

Information about the finding.

dfrsFailedItems :: Lens' DescribeFindingsResponse (HashMap Text FailedItemDetails) Source #

Finding details that cannot be described. An error code is provided for each failed item.