| 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 |
Amazonka.DMS.Types.Tag
Description
Documentation
A user-defined key-value pair that describes metadata added to an DMS resource and that is used by operations such as the following:
AddTagsToResource
ListTagsForResource
RemoveTagsFromResource
See: newTag smart constructor.
Constructors
| Tag' | |
Fields
| |
Instances
| Eq Tag Source # | |
| Read Tag Source # | |
| Show Tag Source # | |
| Generic Tag Source # | |
| NFData Tag Source # | |
Defined in Amazonka.DMS.Types.Tag | |
| Hashable Tag Source # | |
Defined in Amazonka.DMS.Types.Tag | |
| ToJSON Tag Source # | |
Defined in Amazonka.DMS.Types.Tag | |
| FromJSON Tag Source # | |
| type Rep Tag Source # | |
Defined in Amazonka.DMS.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.DMS.Types.Tag" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) | |
Create a value of Tag 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:Tag', tag_value - A value is the optional value of the tag. The string value can be 1-256
Unicode characters in length and can't be prefixed with "aws:" or
"dms:". The string can only contain only the set of Unicode letters,
digits, white-space, '_', '.', '/', '=', '+', '-' (Java
regular expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
$sel:resourceArn:Tag', tag_resourceArn - The Amazon Resource Name (ARN) string that uniquely identifies the
resource for which the tag is created.
$sel:key:Tag', tag_key - A key is the required name of the tag. The string value can be 1-128
Unicode characters in length and can't be prefixed with "aws:" or
"dms:". The string can only contain only the set of Unicode letters,
digits, white-space, '_', '.', '/', '=', '+', '-' (Java
regular expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
tag_value :: Lens' Tag (Maybe Text) Source #
A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
tag_resourceArn :: Lens' Tag (Maybe Text) Source #
The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.
tag_key :: Lens' Tag (Maybe Text) Source #
A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").