

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 使用 AWS SDKs的 Amazon SQS 動作
<a name="service_code_examples_actions"></a>

下列程式碼範例示範如何使用 AWS SDKs 執行個別 Amazon SQS 動作。每個範例均包含 GitHub 的連結，您可以在連結中找到設定和執行程式碼的相關說明。

這些摘錄會呼叫 Amazon SQS API，是必須在內容中執行之大型程式的程式碼摘錄。您可以在 [使用 AWS SDKs Amazon SQS 案例](service_code_examples_scenarios.md) 中查看內容中的動作。

 下列範例僅包含最常使用的動作。如需完整清單，請參閱《[Amazon Simple Queue Service API 參考](https://docs.aws.amazon.com/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)