/** * AWS DynamoDB Node - Version 1 * Discriminator: resource=item, operation=getAll */ interface Credentials { aws: CredentialReference; awsAssumeRole: CredentialReference; } /** Get many items */ export type AwsDynamoDbV1ItemGetAllParams = { resource: 'item'; operation: 'getAll'; authentication?: 'iam' | 'assumeRole' | Expression; /** * Table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ tableName?: string | Expression; /** * Whether to do an scan or query. Check <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-query-scan.html" >differences</a>. * @default false */ scan?: boolean | Expression; /** * A filter expression determines which items within the Scan results should be returned to you. All of the other results are discarded. Empty value will return all Scan results. * @displayOptions.show { scan: [true] } */ filterExpression?: string | Expression | PlaceholderValue; /** * Condition to determine the items to be retrieved. The condition must perform an equality test on a single partition key value, in this format: <code>partitionKeyName = :partitionkeyval</code> * @displayOptions.show { scan: [false] } */ keyConditionExpression?: string | Expression | PlaceholderValue; /** * Substitution tokens for attribute names in an expression * @default {} */ eavUi?: { /** Expression Attribute Vaue */ eavValues?: Array<{ /** Attribute */ attribute?: string | Expression | PlaceholderValue; /** Type * @default S */ type?: 'N' | 'S' | Expression; /** Value */ value?: string | Expression | PlaceholderValue; }>; }; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression; /** * Select * @default ALL_ATTRIBUTES */ select?: 'ALL_ATTRIBUTES' | 'ALL_PROJECTED_ATTRIBUTES' | 'COUNT' | 'SPECIFIC_ATTRIBUTES' | Expression; /** * Whether to return a simplified version of the response instead of the raw data * @displayOptions.show { select: ["ALL_PROJECTED_ATTRIBUTES", "ALL_ATTRIBUTES", "SPECIFIC_ATTRIBUTES"] } * @default true */ simple?: boolean | Expression; /** * Options * @default {} */ options?: { /** Name of the index to query. It can be any secondary local or global index on the table. */ indexName?: string | Expression | PlaceholderValue; /** Text that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas. */ projectionExpression?: string | Expression | PlaceholderValue; /** Text that contains conditions that DynamoDB applies after the Query operation, but before the data is returned. Items that do not satisfy the FilterExpression criteria are not returned. * @displayOptions.show { /scan: [false] } */ filterExpression?: string | Expression | PlaceholderValue; /** One or more substitution tokens for attribute names in an expression. Check <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html">Info</a>. * @default {} */ eanUi?: { /** Expression */ eanValues?: Array<{ /** Key */ key?: string | Expression | PlaceholderValue; /** Value */ value?: string | Expression | PlaceholderValue; }>; }; }; }; export type AwsDynamoDbV1ItemGetAllOutput = { name?: string; }; export type AwsDynamoDbV1ItemGetAllNode = { type: 'n8n-nodes-base.awsDynamoDb'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };