amazonka-inspector-1.4.3: Amazon Inspector SDK.

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

Network.AWS.Inspector.AddAttributesToFindings

Contents

Description

Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.

Synopsis

Creating a Request

addAttributesToFindings Source #

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

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

data AddAttributesToFindings Source #

See: addAttributesToFindings smart constructor.

Instances

Eq AddAttributesToFindings Source # 
Data AddAttributesToFindings Source # 

Methods

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

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

toConstr :: AddAttributesToFindings -> Constr #

dataTypeOf :: AddAttributesToFindings -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddAttributesToFindings Source # 
Show AddAttributesToFindings Source # 
Generic AddAttributesToFindings Source # 
ToJSON AddAttributesToFindings Source # 
Hashable AddAttributesToFindings Source # 
NFData AddAttributesToFindings Source # 

Methods

rnf :: AddAttributesToFindings -> () #

AWSRequest AddAttributesToFindings Source # 
ToPath AddAttributesToFindings Source # 
ToHeaders AddAttributesToFindings Source # 
ToQuery AddAttributesToFindings Source # 
type Rep AddAttributesToFindings Source # 
type Rep AddAttributesToFindings = D1 (MetaData "AddAttributesToFindings" "Network.AWS.Inspector.AddAttributesToFindings" "amazonka-inspector-1.4.3-AoGuICBaM0g4MKaNwH6mLK" False) (C1 (MetaCons "AddAttributesToFindings'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aatfFindingARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Text))) (S1 (MetaSel (Just Symbol "_aatfAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Attribute]))))
type Rs AddAttributesToFindings Source # 

Request Lenses

aatfFindingARNs :: Lens' AddAttributesToFindings (NonEmpty Text) Source #

The ARNs that specify the findings that you want to assign attributes to.

aatfAttributes :: Lens' AddAttributesToFindings [Attribute] Source #

The array of attributes that you want to assign to specified findings.

Destructuring the Response

addAttributesToFindingsResponse Source #

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

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

data AddAttributesToFindingsResponse Source #

See: addAttributesToFindingsResponse smart constructor.

Instances

Eq AddAttributesToFindingsResponse Source # 
Data AddAttributesToFindingsResponse Source # 

Methods

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

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

toConstr :: AddAttributesToFindingsResponse -> Constr #

dataTypeOf :: AddAttributesToFindingsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddAttributesToFindingsResponse Source # 
Show AddAttributesToFindingsResponse Source # 
Generic AddAttributesToFindingsResponse Source # 
NFData AddAttributesToFindingsResponse Source # 
type Rep AddAttributesToFindingsResponse Source # 
type Rep AddAttributesToFindingsResponse = D1 (MetaData "AddAttributesToFindingsResponse" "Network.AWS.Inspector.AddAttributesToFindings" "amazonka-inspector-1.4.3-AoGuICBaM0g4MKaNwH6mLK" False) (C1 (MetaCons "AddAttributesToFindingsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aatfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_aatfrsFailedItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Map Text FailedItemDetails)))))

Response Lenses

aatfrsFailedItems :: Lens' AddAttributesToFindingsResponse (HashMap Text FailedItemDetails) Source #

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