TemplateVariableMetadata - AWS End User Messaging SMS
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

TemplateVariableMetadata

Contains metadata about a template variable.

Contents

Required

Whether the variable is required.

Type: Boolean

Required: Yes

Type

The type of the variable.

Type: String

Valid Values: STRING | INTEGER | BOOLEAN

Required: Yes

DefaultValue

The default value for the variable.

Type: String

Required: No

Description

A description of the variable.

Type: String

Required: No

MaxLength

The maximum length for string variables.

Type: Integer

Required: No

MaxValue

The maximum value for numeric variables.

Type: Integer

Required: No

MinValue

The minimum value for numeric variables.

Type: Integer

Required: No

Pattern

The regex pattern the variable value must match.

Type: String

Required: No

Sample

A sample value for the variable.

Type: String

Required: No

Source

The source of the variable, either CUSTOMER or SYSTEM.

Type: String

Valid Values: CUSTOMER | SYSTEM

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: