| 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.AppConfig.TagResource
Description
Assigns metadata to an AppConfig resource. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.
Synopsis
Creating a Request
data TagResource Source #
See: newTagResource smart constructor.
Constructors
| TagResource' | |
Instances
Arguments
| :: Text | |
| -> TagResource | 
Create a value of TagResource 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:
TagResource, tagResource_resourceArn - The ARN of the resource for which to retrieve tags.
$sel:tags:TagResource', tagResource_tags - The key-value string map. The valid character set is [a-zA-Z+-=._:/].
 The tag key can be up to 128 characters and must not start with aws:.
 The tag value can be up to 256 characters.
Request Lenses
tagResource_resourceArn :: Lens' TagResource Text Source #
The ARN of the resource for which to retrieve tags.
tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #
The key-value string map. The valid character set is [a-zA-Z+-=._:/].
 The tag key can be up to 128 characters and must not start with aws:.
 The tag value can be up to 256 characters.
Destructuring the Response
data TagResourceResponse Source #
See: newTagResourceResponse smart constructor.
Constructors
| TagResourceResponse' | |
Instances
newTagResourceResponse :: TagResourceResponse Source #
Create a value of TagResourceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.