

# Tag
<a name="API_Tag"></a>

A custom key-value pair associated with an ML object, such as an ML model.

## Contents
<a name="API_Tag_Contents"></a>

 ** Key **   <a name="amazonml-Type-Tag-Key"></a>
A unique identifier for the tag. Valid characters include Unicode letters, digits, white space, \$1, ., /, =, \$1, -, %, and @.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`   
Required: No

 ** Value **   <a name="amazonml-Type-Tag-Value"></a>
An optional string, typically used to describe or define the tag. Valid characters include Unicode letters, digits, white space, \$1, ., /, =, \$1, -, %, and @.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`   
Required: No

## See Also
<a name="API_Tag_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/machinelearning-2014-12-12/Tag) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/machinelearning-2014-12-12/Tag) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/machinelearning-2014-12-12/Tag) 