import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types"; import { type AddPermissionCommandInput, type AddPermissionCommandOutput } from "./commands/AddPermissionCommand"; import { type CancelMessageMoveTaskCommandInput, type CancelMessageMoveTaskCommandOutput } from "./commands/CancelMessageMoveTaskCommand"; import { type ChangeMessageVisibilityBatchCommandInput, type ChangeMessageVisibilityBatchCommandOutput } from "./commands/ChangeMessageVisibilityBatchCommand"; import { type ChangeMessageVisibilityCommandInput, type ChangeMessageVisibilityCommandOutput } from "./commands/ChangeMessageVisibilityCommand"; import { type CreateQueueCommandInput, type CreateQueueCommandOutput } from "./commands/CreateQueueCommand"; import { type DeleteMessageBatchCommandInput, type DeleteMessageBatchCommandOutput } from "./commands/DeleteMessageBatchCommand"; import { type DeleteMessageCommandInput, type DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand"; import { type DeleteQueueCommandInput, type DeleteQueueCommandOutput } from "./commands/DeleteQueueCommand"; import { type GetQueueAttributesCommandInput, type GetQueueAttributesCommandOutput } from "./commands/GetQueueAttributesCommand"; import { type GetQueueUrlCommandInput, type GetQueueUrlCommandOutput } from "./commands/GetQueueUrlCommand"; import { type ListDeadLetterSourceQueuesCommandInput, type ListDeadLetterSourceQueuesCommandOutput } from "./commands/ListDeadLetterSourceQueuesCommand"; import { type ListMessageMoveTasksCommandInput, type ListMessageMoveTasksCommandOutput } from "./commands/ListMessageMoveTasksCommand"; import { type ListQueuesCommandInput, type ListQueuesCommandOutput } from "./commands/ListQueuesCommand"; import { type ListQueueTagsCommandInput, type ListQueueTagsCommandOutput } from "./commands/ListQueueTagsCommand"; import { type PurgeQueueCommandInput, type PurgeQueueCommandOutput } from "./commands/PurgeQueueCommand"; import { type ReceiveMessageCommandInput, type ReceiveMessageCommandOutput } from "./commands/ReceiveMessageCommand"; import { type RemovePermissionCommandInput, type RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand"; import { type SendMessageBatchCommandInput, type SendMessageBatchCommandOutput } from "./commands/SendMessageBatchCommand"; import { type SendMessageCommandInput, type SendMessageCommandOutput } from "./commands/SendMessageCommand"; import { type SetQueueAttributesCommandInput, type SetQueueAttributesCommandOutput } from "./commands/SetQueueAttributesCommand"; import { type StartMessageMoveTaskCommandInput, type StartMessageMoveTaskCommandOutput } from "./commands/StartMessageMoveTaskCommand"; import { type TagQueueCommandInput, type TagQueueCommandOutput } from "./commands/TagQueueCommand"; import { type UntagQueueCommandInput, type UntagQueueCommandOutput } from "./commands/UntagQueueCommand"; import { SQSClient } from "./SQSClient"; export interface SQS { /** * @see {@link AddPermissionCommand} */ addPermission(args: AddPermissionCommandInput, options?: __HttpHandlerOptions): Promise; addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void; addPermission(args: AddPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void; /** * @see {@link CancelMessageMoveTaskCommand} */ cancelMessageMoveTask(args: CancelMessageMoveTaskCommandInput, options?: __HttpHandlerOptions): Promise; cancelMessageMoveTask(args: CancelMessageMoveTaskCommandInput, cb: (err: any, data?: CancelMessageMoveTaskCommandOutput) => void): void; cancelMessageMoveTask(args: CancelMessageMoveTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelMessageMoveTaskCommandOutput) => void): void; /** * @see {@link ChangeMessageVisibilityCommand} */ changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, options?: __HttpHandlerOptions): Promise; changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void): void; changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void): void; /** * @see {@link ChangeMessageVisibilityBatchCommand} */ changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, options?: __HttpHandlerOptions): Promise; changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void): void; changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void): void; /** * @see {@link CreateQueueCommand} */ createQueue(args: CreateQueueCommandInput, options?: __HttpHandlerOptions): Promise; createQueue(args: CreateQueueCommandInput, cb: (err: any, data?: CreateQueueCommandOutput) => void): void; createQueue(args: CreateQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQueueCommandOutput) => void): void; /** * @see {@link DeleteMessageCommand} */ deleteMessage(args: DeleteMessageCommandInput, options?: __HttpHandlerOptions): Promise; deleteMessage(args: DeleteMessageCommandInput, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void; deleteMessage(args: DeleteMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void; /** * @see {@link DeleteMessageBatchCommand} */ deleteMessageBatch(args: DeleteMessageBatchCommandInput, options?: __HttpHandlerOptions): Promise; deleteMessageBatch(args: DeleteMessageBatchCommandInput, cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void): void; deleteMessageBatch(args: DeleteMessageBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void): void; /** * @see {@link DeleteQueueCommand} */ deleteQueue(args: DeleteQueueCommandInput, options?: __HttpHandlerOptions): Promise; deleteQueue(args: DeleteQueueCommandInput, cb: (err: any, data?: DeleteQueueCommandOutput) => void): void; deleteQueue(args: DeleteQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQueueCommandOutput) => void): void; /** * @see {@link GetQueueAttributesCommand} */ getQueueAttributes(args: GetQueueAttributesCommandInput, options?: __HttpHandlerOptions): Promise; getQueueAttributes(args: GetQueueAttributesCommandInput, cb: (err: any, data?: GetQueueAttributesCommandOutput) => void): void; getQueueAttributes(args: GetQueueAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueueAttributesCommandOutput) => void): void; /** * @see {@link GetQueueUrlCommand} */ getQueueUrl(args: GetQueueUrlCommandInput, options?: __HttpHandlerOptions): Promise; getQueueUrl(args: GetQueueUrlCommandInput, cb: (err: any, data?: GetQueueUrlCommandOutput) => void): void; getQueueUrl(args: GetQueueUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueueUrlCommandOutput) => void): void; /** * @see {@link ListDeadLetterSourceQueuesCommand} */ listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, options?: __HttpHandlerOptions): Promise; listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void): void; listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void): void; /** * @see {@link ListMessageMoveTasksCommand} */ listMessageMoveTasks(args: ListMessageMoveTasksCommandInput, options?: __HttpHandlerOptions): Promise; listMessageMoveTasks(args: ListMessageMoveTasksCommandInput, cb: (err: any, data?: ListMessageMoveTasksCommandOutput) => void): void; listMessageMoveTasks(args: ListMessageMoveTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessageMoveTasksCommandOutput) => void): void; /** * @see {@link ListQueuesCommand} */ listQueues(): Promise; listQueues(args: ListQueuesCommandInput, options?: __HttpHandlerOptions): Promise; listQueues(args: ListQueuesCommandInput, cb: (err: any, data?: ListQueuesCommandOutput) => void): void; listQueues(args: ListQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueuesCommandOutput) => void): void; /** * @see {@link ListQueueTagsCommand} */ listQueueTags(args: ListQueueTagsCommandInput, options?: __HttpHandlerOptions): Promise; listQueueTags(args: ListQueueTagsCommandInput, cb: (err: any, data?: ListQueueTagsCommandOutput) => void): void; listQueueTags(args: ListQueueTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueueTagsCommandOutput) => void): void; /** * @see {@link PurgeQueueCommand} */ purgeQueue(args: PurgeQueueCommandInput, options?: __HttpHandlerOptions): Promise; purgeQueue(args: PurgeQueueCommandInput, cb: (err: any, data?: PurgeQueueCommandOutput) => void): void; purgeQueue(args: PurgeQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PurgeQueueCommandOutput) => void): void; /** * @see {@link ReceiveMessageCommand} */ receiveMessage(args: ReceiveMessageCommandInput, options?: __HttpHandlerOptions): Promise; receiveMessage(args: ReceiveMessageCommandInput, cb: (err: any, data?: ReceiveMessageCommandOutput) => void): void; receiveMessage(args: ReceiveMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReceiveMessageCommandOutput) => void): void; /** * @see {@link RemovePermissionCommand} */ removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise; removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void; removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void; /** * @see {@link SendMessageCommand} */ sendMessage(args: SendMessageCommandInput, options?: __HttpHandlerOptions): Promise; sendMessage(args: SendMessageCommandInput, cb: (err: any, data?: SendMessageCommandOutput) => void): void; sendMessage(args: SendMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendMessageCommandOutput) => void): void; /** * @see {@link SendMessageBatchCommand} */ sendMessageBatch(args: SendMessageBatchCommandInput, options?: __HttpHandlerOptions): Promise; sendMessageBatch(args: SendMessageBatchCommandInput, cb: (err: any, data?: SendMessageBatchCommandOutput) => void): void; sendMessageBatch(args: SendMessageBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendMessageBatchCommandOutput) => void): void; /** * @see {@link SetQueueAttributesCommand} */ setQueueAttributes(args: SetQueueAttributesCommandInput, options?: __HttpHandlerOptions): Promise; setQueueAttributes(args: SetQueueAttributesCommandInput, cb: (err: any, data?: SetQueueAttributesCommandOutput) => void): void; setQueueAttributes(args: SetQueueAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetQueueAttributesCommandOutput) => void): void; /** * @see {@link StartMessageMoveTaskCommand} */ startMessageMoveTask(args: StartMessageMoveTaskCommandInput, options?: __HttpHandlerOptions): Promise; startMessageMoveTask(args: StartMessageMoveTaskCommandInput, cb: (err: any, data?: StartMessageMoveTaskCommandOutput) => void): void; startMessageMoveTask(args: StartMessageMoveTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMessageMoveTaskCommandOutput) => void): void; /** * @see {@link TagQueueCommand} */ tagQueue(args: TagQueueCommandInput, options?: __HttpHandlerOptions): Promise; tagQueue(args: TagQueueCommandInput, cb: (err: any, data?: TagQueueCommandOutput) => void): void; tagQueue(args: TagQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagQueueCommandOutput) => void): void; /** * @see {@link UntagQueueCommand} */ untagQueue(args: UntagQueueCommandInput, options?: __HttpHandlerOptions): Promise; untagQueue(args: UntagQueueCommandInput, cb: (err: any, data?: UntagQueueCommandOutput) => void): void; untagQueue(args: UntagQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagQueueCommandOutput) => void): void; /** * @see {@link ListDeadLetterSourceQueuesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListDeadLetterSourceQueuesCommandOutput}. */ paginateListDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListQueuesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListQueuesCommandOutput}. */ paginateListQueues(args?: ListQueuesCommandInput, paginationConfig?: Omit): Paginator; } /** *

Welcome to the Amazon SQS API Reference.

*

Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel * between applications or microservices. Amazon SQS moves data between distributed application * components and helps you decouple these components.

*

For information on the permissions you need to use this API, see Identity and access management in the Amazon SQS Developer * Guide. *

*

You can use Amazon Web Services SDKs to access * Amazon SQS using your favorite programming language. The SDKs perform tasks such as the * following automatically:

*
    *
  • *

    Cryptographically sign your service requests

    *
  • *
  • *

    Retry requests

    *
  • *
  • *

    Handle error responses

    *
  • *
*

* Additional information *

* * @public */ export declare class SQS extends SQSClient implements SQS { }