

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# SDK を使用した Amazon SNS のアクション AWS SDKs
<a name="service_code_examples_actions"></a>

次のコード例は、 AWS SDKs を使用して個々の Amazon SNS アクションを実行する方法を示しています。それぞれの例には、GitHub へのリンクがあり、そこにはコードの設定と実行に関する説明が記載されています。

これらは Amazon SNS API を呼び出すもので、コンテキスト内で実行する必要がある大規模なプログラムからのコード抜粋です。アクションは [SDK を使用した Amazon SNS のシナリオ AWS SDKs](service_code_examples_scenarios.md) のコンテキスト内で確認できます。

 以下の例には、最も一般的に使用されるアクションのみ含まれています。リストの詳細については、「[Amazon Simple Notification Service API リファレンス](https://docs.aws.amazon.com/sns/latest/api/welcome.html)」を参照してください。

**Topics**
+ [`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)