UNPKG

@message-queue-toolkit/sqs

Version:
12 lines (11 loc) 889 B
import type { QueueAttributeName, SQSClient } from '@aws-sdk/client-sqs'; import type { DeletionConfig } from '@message-queue-toolkit/core'; import type { SQSCreationConfig, SQSQueueLocatorType } from '../sqs/AbstractSqsService.ts'; export declare function deleteSqs(sqsClient: SQSClient, deletionConfig: DeletionConfig, creationConfig: SQSCreationConfig): Promise<void>; export declare function updateQueueAttributes(sqsClient: SQSClient, queueUrl: string, attributes?: Partial<Record<QueueAttributeName, string>>): Promise<void>; export declare function updateQueueTags(sqsClient: SQSClient, queueUrl: string, tags?: Record<string, string> | undefined): Promise<void>; export declare function initSqs(sqsClient: SQSClient, locatorConfig?: Partial<SQSQueueLocatorType>, creationConfig?: SQSCreationConfig): Promise<{ queueArn: string; queueUrl: string; queueName: string; }>;