

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

# 使用 AWS SDKs Amazon SNS 基本範例
<a name="service_code_examples_basics"></a>

下列程式碼範例示範如何搭配 AWS SDK 使用 Amazon Simple Notification Service 的基本功能。

**Contents**
+ [您好 Amazon SNS](example_sns_Hello_section.md)
+ [動作](service_code_examples_actions.md)
  + [`CheckIfPhoneNumberIsOptedOut`](example_sns_CheckIfPhoneNumberIsOptedOut_section.md)
  + [`ConfirmSubscription`](example_sns_ConfirmSubscription_section.md)
  + [`CreateTopic`](example_sns_CreateTopic_section.md)
  + [`DeleteTopic`](example_sns_DeleteTopic_section.md)
  + [`GetSMSAttributes`](example_sns_GetSMSAttributes_section.md)
  + [`GetTopicAttributes`](example_sns_GetTopicAttributes_section.md)
  + [`ListPhoneNumbersOptedOut`](example_sns_ListPhoneNumbersOptedOut_section.md)
  + [`ListSubscriptions`](example_sns_ListSubscriptions_section.md)
  + [`ListTopics`](example_sns_ListTopics_section.md)
  + [`Publish`](example_sns_Publish_section.md)
  + [`SetSMSAttributes`](example_sns_SetSMSAttributes_section.md)
  + [`SetSubscriptionAttributes`](example_sns_SetSubscriptionAttributes_section.md)
  + [`SetSubscriptionAttributesRedrivePolicy`](example_sns_SetSubscriptionAttributesRedrivePolicy_section.md)
  + [`SetTopicAttributes`](example_sns_SetTopicAttributes_section.md)
  + [`Subscribe`](example_sns_Subscribe_section.md)
  + [`TagResource`](example_sns_TagResource_section.md)
  + [`Unsubscribe`](example_sns_Unsubscribe_section.md)