/** * AWS SQS Node - Version 1 * Sends messages to AWS SQS */ export interface AwsSqsV1Params { authentication?: 'iam' | 'assumeRole' | Expression; operation?: 'sendMessage'; /** * Queue to send a message to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @displayOptions.show { operation: ["sendMessage"] } */ queue?: string | Expression; queueType?: 'fifo' | 'standard' | Expression; /** * Whether to send the data the node receives as JSON to SQS * @default true */ sendInputData?: boolean | Expression; /** * Message to send to the queue * @displayOptions.show { operation: ["sendMessage"], sendInputData: [false] } */ message?: string | Expression | PlaceholderValue; /** * Tag that specifies that a message belongs to a specific message group. Applies only to FIFO (first-in-first-out) queues. * @displayOptions.show { queueType: ["fifo"] } */ messageGroupId?: string | Expression | PlaceholderValue; /** * Options * @displayOptions.show { operation: ["sendMessage"] } * @default {} */ options?: { /** How long, in seconds, to delay a message for * @displayOptions.show { /queueType: ["standard"] } * @default 0 */ delaySeconds?: number | Expression; /** Attributes to set * @default {} */ messageAttributes?: { /** Binary */ binary?: Array<{ /** Name of the attribute */ name?: string | Expression | PlaceholderValue; /** Name of the binary property which contains the data for the message attribute * @default data */ dataPropertyName?: string | Expression | PlaceholderValue; }>; /** Number */ number?: Array<{ /** Name of the attribute */ name?: string | Expression | PlaceholderValue; /** Number value of the attribute * @default 0 */ value?: number | Expression; }>; /** String */ string?: Array<{ /** Name of the attribute */ name?: string | Expression | PlaceholderValue; /** String value of attribute */ value?: string | Expression | PlaceholderValue; }>; }; /** Token used for deduplication of sent messages. Applies only to FIFO (first-in-first-out) queues. * @displayOptions.show { /queueType: ["fifo"] } */ messageDeduplicationId?: string | Expression | PlaceholderValue; }; } export interface AwsSqsV1Credentials { aws: CredentialReference; awsAssumeRole: CredentialReference; } interface AwsSqsV1NodeBase { type: 'n8n-nodes-base.awsSqs'; version: 1; credentials?: AwsSqsV1Credentials; } export type AwsSqsV1ParamsNode = AwsSqsV1NodeBase & { config: NodeConfig; }; export type AwsSqsV1Node = AwsSqsV1ParamsNode;