Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
Synopsis
- data SetTagsForResource = SetTagsForResource' {
- tags :: Maybe [Tag]
- resourceArn :: Text
- newSetTagsForResource :: Text -> SetTagsForResource
- setTagsForResource_tags :: Lens' SetTagsForResource (Maybe [Tag])
- setTagsForResource_resourceArn :: Lens' SetTagsForResource Text
- data SetTagsForResourceResponse = SetTagsForResourceResponse' {
- newSetTagsForResourceResponse :: SetTagsForResourceResponse
Creating a Request
data SetTagsForResource Source #
See: newSetTagsForResource
smart constructor.
SetTagsForResource' | |
|
Instances
newSetTagsForResource Source #
Create a value of SetTagsForResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:SetTagsForResource'
, setTagsForResource_tags
- A collection of key and value pairs that you want to set to the
assessment template.
$sel:resourceArn:SetTagsForResource'
, setTagsForResource_resourceArn
- The ARN of the assessment template that you want to set tags to.
Request Lenses
setTagsForResource_tags :: Lens' SetTagsForResource (Maybe [Tag]) Source #
A collection of key and value pairs that you want to set to the assessment template.
setTagsForResource_resourceArn :: Lens' SetTagsForResource Text Source #
The ARN of the assessment template that you want to set tags to.
Destructuring the Response
data SetTagsForResourceResponse Source #
See: newSetTagsForResourceResponse
smart constructor.
Instances
newSetTagsForResourceResponse :: SetTagsForResourceResponse Source #
Create a value of SetTagsForResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.