Skip to content

API reference / @backpack/aws-lambda / rest / MultiOptions

Interface: MultiOptions

Extends

Properties

multi?

ts
optional multi: true;

Whether to return multiple values. If false, will throw a RequestValidationError if multiple values were found.


required?

ts
optional required: boolean;

Whether the result is required. If true, will throw a RequestValidationError when no values are present.

Inherited from

Options.required


validated?

ts
optional validated: ZodType<any, ZodTypeDef, any>;

Validated the result using a Zod schema. If invalid, it will throw a RequestValidationError with the Zod error associated to it.

Inherited from

Options.validated