

# Common data types
Common data types

The Common Data Types describes miscellaneous common data types in AWS Lake Formation.

## ErrorDetail structure
ErrorDetail

Contains details about an error.

**Fields**
+ `ErrorCode` – UTF-8 string, not less than 1 or more than 255 bytes long, matching the [Single-line string pattern](#aws-glue-api-regex-oneLine).

  The code associated with this error.
+ `ErrorMessage` – Description string, not more than 2048 bytes long, matching the [URI address multi-line string pattern](#aws-glue-api-regex-uri).

  A message describing the error.

## String patterns
String patterns

The API uses the following regular expressions to define what is valid content for various string parameters and members:
+ Single-line string pattern – "`[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*`"
+ URI address multi-line string pattern – "`[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*`"
+ Custom string pattern \$13 – "`^\w+\.\w+\.\w+$`"
+ Custom string pattern \$14 – "`^\w+\.\w+$`"
+ Custom string pattern \$15 – "`arn:aws:iam::[0-9]*:role/.*`"
+ Custom string pattern \$16 – "`arn:aws:iam::[0-9]*:user/.*`"
+ Custom string pattern \$17 – "`arn:aws:iam::[0-9]*:group/.*`"
+ Custom string pattern \$18 – "`arn:aws:iam::[0-9]*:saml-provider/.*`"
+ Custom string pattern \$19 – "`^([\p{L}\p{Z}\p{N}_.:\/=+\-@%]*)$`"
+ Custom string pattern \$110 – "`^([\p{L}\p{Z}\p{N}_.:\*\/=+\-@%]*)$`"
+ Custom string pattern \$111 – "`[\p{L}\p{N}\p{P}]*`"