This topic describes the API operations that are available in Message Service (MNS).

The following table lists the API operations that you can use to manage queues in Message Service (MNS).

Operation Description Supported methods
CreateQueue Create a queue Use the MNS console and call the API operation
SetQueueAttributes Modify a queue Use the MNS console and call the API operation
GetQueueAttributes View queue information Use the MNS console and call the API operation
DeleteQueue Delete a queue Use the MNS console and call the API operation
ListQueue Query a queue list Use the MNS console and call the API operation
Operation Description Supported methods
SendMessage Send a message Use the MNS console and call the API operation
BatchSendMessage Send multiple messages at a time Call the API operation
ReceiveMessage Consume a message Use the MNS console and call the API operation
BatchReceiveMessage Consume multiple messages at a time Call the API operation
DeleteMessage Delete a message Use the MNS console and call the API operation
BatchDeleteMessage Delete multiple messages at a time Call the API operation
PeekMessage View a message Call the API operation
BatchPeekMessage View multiple messages at a time Call the API operation
ChangeMessageVisibility Modify the visibility time of a message Call the API operation

The following table lists the API operations that you can use to manage topics Message Service (MNS).

Operation Description Supported methods
CreateTopic Create a topic Use the MNS console and call the API operation
SetTopicAttributes Modify a topic Use the MNS console and call the API operation
GetTopicAttributes View topic information Use the MNS console and call the API operation
DeleteTopic Delete a topic Use the MNS console and call the API operation
ListTopic Query a topic list Use the MNS console and call the API operation
Operation Description Supported methods
Subscribe Create a subscription Use the MNS console and call the API operation
SetSubscriptionAttributes Modify a subscription Use the MNS console and call the API operation
GetSubscriptionAttributes Query subscription information Use the MNS console and call the API operation
Unsubscribe Delete a subscription Use the MNS console and call the API operation
ListSubscriptionByTopic Query the subscription list of a topic Use the MNS console and call the API operation
Operation Description Supported methods
PublishMessage Publish a message Use the MNS console and call the API operation