

Las traducciones son generadas a través de traducción automática. En caso de conflicto entre la traducción y la version original de inglés, prevalecerá la version en inglés.

# Acciones para Amazon SNS mediante AWS SDKs
<a name="service_code_examples_actions"></a>

Los siguientes ejemplos de código muestran cómo realizar acciones individuales de Amazon SNS con. AWS SDKs Cada ejemplo incluye un enlace a GitHub, donde puede encontrar instrucciones para configurar y ejecutar el código. 

Estos fragmentos llaman a la API de Amazon SNS y son fragmentos de código de programas más grandes que se deben ejecutar en contexto. Puede ver las acciones en contexto en [Escenarios de uso de Amazon SNS AWS SDKs](service_code_examples_scenarios.md). 

 Los siguientes ejemplos incluyen solo las acciones que se utilizan con mayor frecuencia. Para obtener una lista completa, consulte la [Referencia de la API de Amazon Simple Notification Service](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)