TextPartValue - AWS User Notifications

TextPartValue

Describes text information objects containing fields that determine how text part objects are composed.

Contents

type

The type of text part. Determines the usage of all other fields and whether or not they're required.

Type: String

Valid Values: LOCALIZED_TEXT | PLAIN_TEXT | URL

Required: Yes

displayText

A short single line description of the link. Must be hyperlinked with the URL itself.

Used for text parts with the type URL.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

textByLocale

A map of locales to the text in that locale.

Type: String to string map

Valid Keys: de_DE | en_CA | en_US | en_UK | es_ES | fr_CA | fr_FR | id_ID | it_IT | ja_JP | ko_KR | pt_BR | tr_TR | zh_CN | zh_TW

Required: No

url

The URL itself.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2000.

Pattern: (https?)://.*

Required: No

See Also

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