error is a union datatype based on errors with an FDR test. For validation, the parameters of the TestFdrValidationError is used. For requests, you'd use the TestFdrRequestError datatype and its parameters. Below are the tables for each datatype:

Table: TestFdrValidationError

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Oct 3, 2024
fieldNamestringyes Long-TermThe name of the field to which the error relates.
messagestringyes Long-TermA message specifying the validation error.

Table: TestFdrRequestError

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Oct 3, 2024
messagestringyes Long-TermMessage specifying the request error.
resourceNamestringyes Long-TermName of the AWS resource, which the request was made towards.