

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 使用 Amazon SQS 执行的操作 Amazon SDKs
<a name="service_code_examples_actions"></a>

以下代码示例演示了如何使用执行各个 Amazon SQS 操作。 Amazon SDKs每个示例都包含一个指向的链接 GitHub，您可以在其中找到有关设置和运行代码的说明。

这些代码节选调用了 Amazon SQS API，是必须在上下文中运行的大型程序的代码节选。您可以在[使用 Amazon SQS 的场景 Amazon SDKs](service_code_examples_scenarios.md)中结合上下文查看操作。

 以下示例仅包括最常用的操作。有关完整列表，请参阅《[Amazon Simple Queue Service API Reference](https://docs.amazonaws.cn/AWSSimpleQueueService/latest/APIReference/Welcome.html)》。

**Topics**
+ [`AddPermission`](example_sqs_AddPermission_section.md)
+ [`ChangeMessageVisibility`](example_sqs_ChangeMessageVisibility_section.md)
+ [`ChangeMessageVisibilityBatch`](example_sqs_ChangeMessageVisibilityBatch_section.md)
+ [`CreateQueue`](example_sqs_CreateQueue_section.md)
+ [`DeleteMessage`](example_sqs_DeleteMessage_section.md)
+ [`DeleteMessageBatch`](example_sqs_DeleteMessageBatch_section.md)
+ [`DeleteQueue`](example_sqs_DeleteQueue_section.md)
+ [`GetQueueAttributes`](example_sqs_GetQueueAttributes_section.md)
+ [`GetQueueUrl`](example_sqs_GetQueueUrl_section.md)
+ [`ListDeadLetterSourceQueues`](example_sqs_ListDeadLetterSourceQueues_section.md)
+ [`ListQueues`](example_sqs_ListQueues_section.md)
+ [`PurgeQueue`](example_sqs_PurgeQueue_section.md)
+ [`ReceiveMessage`](example_sqs_ReceiveMessage_section.md)
+ [`RemovePermission`](example_sqs_RemovePermission_section.md)
+ [`SendMessage`](example_sqs_SendMessage_section.md)
+ [`SendMessageBatch`](example_sqs_SendMessageBatch_section.md)
+ [`SetQueueAttributes`](example_sqs_SetQueueAttributes_section.md)