amazonka-inspector-1.3.7: Amazon Inspector SDK.

Copyright(c) 2013-2015 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.SetTagsForResource

Contents

Description

Sets tags (key and value pairs) to the assessment specified by the assessment ARN.

See: AWS API Reference for SetTagsForResource.

Synopsis

Creating a Request

setTagsForResource Source

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

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

Request Lenses

stfrTags :: Lens' SetTagsForResource [Tag] Source

A collection of key and value pairs that you want to set to an assessment.

stfrResourceARN :: Lens' SetTagsForResource Text Source

The ARN of the assessment that you want to set tags to.

Destructuring the Response

setTagsForResourceResponse Source

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

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

Response Lenses

stfrrsMessage :: Lens' SetTagsForResourceResponse (Maybe Text) Source

Confirmation details of the action performed.