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 |
Synopsis
- data ResourceTag = ResourceTag' {}
- newResourceTag :: Text -> ResourceTag
- resourceTag_value :: Lens' ResourceTag (Maybe Text)
- resourceTag_key :: Lens' ResourceTag Text
Documentation
data ResourceTag Source #
Tags are key-value pairs that can be associated with Amazon SWF state machines and activities.
Tags may only contain unicode letters, digits, whitespace, or these
symbols: _ . : / = + - @
.
See: newResourceTag
smart constructor.
Instances
Create a value of ResourceTag
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:value:ResourceTag'
, resourceTag_value
- The value of a tag.
$sel:key:ResourceTag'
, resourceTag_key
- The key of a tag.
resourceTag_value :: Lens' ResourceTag (Maybe Text) Source #
The value of a tag.
resourceTag_key :: Lens' ResourceTag Text Source #
The key of a tag.