This topic lists the API operations that are available for use in Message Service (MNS).

Queue management

API Description Supported method
CreateQueue Creates a queue. Use the MNS console or call the API operation.
SetQueueAttributes Modifies a queue.
GetQueueAttributes Queries the parameters of a queue.
DeleteQueue Deletes a queue.
ListQueue Queries the list of queues that belong to an Alibaba Cloud account.

Message management

API Description Supported method
SendMessage Sends a message. Use the MNS console or call the API operation.
BatchSendMessage Sends multiple messages. Call the API operation.
ReceiveMessage Consumes a message. Use the MNS console or call the API operation.
BatchReceiveMessage Consumes multiple messages. Call the API operation.
DeleteMessage Deletes a message. Use the MNS console or call the API operation.
BatchDeleteMessage Deletes multiple messages. Call the API operation.
PeekMessage Views a message. Call the API operation.
BatchPeekMessage Views multiple messages. Call the API operation.
ChangeMessageVisibility Modifies the invisibility period after which a message can be consumed again. Call the API operation.

References

For more information about how to use the MNS console to manage queues, see Manage queues in the console.