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.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:

  • aatfFindingARNs - The ARNs that specify the findings that you want to assign attributes to.
  • aatfAttributes - The array of attributes that you want to assign to specified findings.

data AddAttributesToFindings Source #

See: addAttributesToFindings smart constructor.

Instances
Eq AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

Data AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

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 # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

Show AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

Generic AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

Associated Types

type Rep AddAttributesToFindings :: Type -> Type #

Hashable AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

ToJSON AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

AWSRequest AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

Associated Types

type Rs AddAttributesToFindings :: Type #

ToHeaders AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

ToPath AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

ToQuery AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

NFData AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

Methods

rnf :: AddAttributesToFindings -> () #

type Rep AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

type Rep AddAttributesToFindings = D1 (MetaData "AddAttributesToFindings" "Network.AWS.Inspector.AddAttributesToFindings" "amazonka-inspector-1.6.1-1xH2ya8w5ZlLuhJEcN8K8C" False) (C1 (MetaCons "AddAttributesToFindings'" PrefixI True) (S1 (MetaSel (Just "_aatfFindingARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Text)) :*: S1 (MetaSel (Just "_aatfAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Attribute])))
type Rs AddAttributesToFindings Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

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 # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

Data AddAttributesToFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

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 # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

Show AddAttributesToFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

Generic AddAttributesToFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

Associated Types

type Rep AddAttributesToFindingsResponse :: Type -> Type #

NFData AddAttributesToFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

type Rep AddAttributesToFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.AddAttributesToFindings

type Rep AddAttributesToFindingsResponse = D1 (MetaData "AddAttributesToFindingsResponse" "Network.AWS.Inspector.AddAttributesToFindings" "amazonka-inspector-1.6.1-1xH2ya8w5ZlLuhJEcN8K8C" False) (C1 (MetaCons "AddAttributesToFindingsResponse'" PrefixI True) (S1 (MetaSel (Just "_aatfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_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.