| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Inspector.SetTagsForResource
Description
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.
Constructors
| SetTagsForResource' | |
Fields
| |
Instances
newSetTagsForResource Source #
Arguments
| :: Text | |
| -> SetTagsForResource |
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:
SetTagsForResource, setTagsForResource_tags - A collection of key and value pairs that you want to set to the
assessment template.
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.
Constructors
| SetTagsForResourceResponse' | |
Instances
newSetTagsForResourceResponse :: SetTagsForResourceResponse Source #
Create a value of SetTagsForResourceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.