Skip to content
awsclaw-sns logo

Awsclaw SNS

awsclaw-sns

Manage Amazon SNS topics, subscriptions, publishing, platform applications, SMS, and endpoints using awsclaw. Create, configure, and delete resources, publish messages, and check SMS/sandbox status.

necatiarslan/awsclaw0installs1stars

SKILL.md

Full skill instructions

Awsclaw SNS

Manage SNS topics, subscriptions, publishing, platform applications, and SMS.

When to Use This Skill

Use this skill when the user:

  • Asks about SNS topics or notifications
  • Wants to publish messages to a topic
  • Needs to inspect subscriptions or endpoints
  • Asks about SMS, platform applications, or push notifications
  • Wants to check data protection policies or sandbox status
  • Wants to create or delete topics, subscriptions, or endpoints
  • Needs to configure topic or subscription attributes

Tool: SNSTool

Execute AWS SNS commands. ALWAYS provide params object.

Commands

ListTopics

List all SNS topics.

{ "command": "ListTopics", "params": {} }

Parameters:

ParameterTypeRequiredDescription
NextTokenstringNoPagination token
GetTopicAttributes

Get attributes of a topic (policy, subscriptions count, etc.).

{ "command": "GetTopicAttributes", "params": { "TopicArn": "arn:aws:sns:us-east-1:123456789012:my-topic" } }

Parameters:

ParameterTypeRequiredDescription
TopicArnstringYesTopic ARN
Publish

Publish a message to a topic.

{ "command": "Publish", "params": { "TopicArn": "arn:aws:sns:...", "Message": "Hello World", "Subject": "Test" } }

Parameters:

ParameterTypeRequiredDescription
TopicArnstringYesTopic ARN
MessagestringYesMessage body
SubjectstringNoMessage subject (for email subscriptions)
TargetArnstringNoTarget ARN (for direct publishing)
phoneNumberstringNoE.164 phone number (for SMS)
MessageStructurestringNoMessage structure (set to json for per-protocol messages)
MessageAttributesobjectNoCustom message attributes
ListSubscriptions

List all subscriptions across topics.

{ "command": "ListSubscriptions", "params": {} }

Parameters:

ParameterTypeRequiredDescription
NextTokenstringNoPagination token
ListSubscriptionsByTopic

List subscriptions for a specific topic.

{ "command": "ListSubscriptionsByTopic", "params": { "TopicArn": "arn:aws:sns:..." } }

Parameters:

ParameterTypeRequiredDescription
TopicArnstringYesTopic ARN
NextTokenstringNoPagination token
GetSubscriptionAttributes

Get attributes of a subscription.

{ "command": "GetSubscriptionAttributes", "params": { "SubscriptionArn": "arn:aws:sns:..." } }

Parameters:

ParameterTypeRequiredDescription
SubscriptionArnstringYesSubscription ARN
ListTagsForResource

List tags for an SNS resource.

{ "command": "ListTagsForResource", "params": { "ResourceArn": "arn:aws:sns:..." } }

Parameters:

ParameterTypeRequiredDescription
ResourceArnstringYesResource ARN
ListPlatformApplications

List push notification platform applications.

{ "command": "ListPlatformApplications", "params": {} }

Parameters:

ParameterTypeRequiredDescription
NextTokenstringNoPagination token
GetPlatformApplicationAttributes

Get attributes of a platform application.

{ "command": "GetPlatformApplicationAttributes", "params": { "PlatformApplicationArn": "arn:aws:sns:..." } }

Parameters:

ParameterTypeRequiredDescription
PlatformApplicationArnstringYesPlatform application ARN
ListEndpointsByPlatformApplication

List endpoints for a platform application.

{ "command": "ListEndpointsByPlatformApplication", "params": { "PlatformApplicationArn": "arn:aws:sns:..." } }

Parameters:

ParameterTypeRequiredDescription
PlatformApplicationArnstringYesPlatform application ARN
GetEndpointAttributes

Get attributes of an endpoint.

{ "command": "GetEndpointAttributes", "params": { "EndpointArn": "arn:aws:sns:..." } }

Parameters:

ParameterTypeRequiredDescription
EndpointArnstringYesEndpoint ARN
GetSMSAttributes

Get SMS sending attributes.

{ "command": "GetSMSAttributes", "params": { "attributes": ["DefaultSMSType", "MonthlySpendLimit"] } }

Parameters:

ParameterTypeRequiredDescription
attributesarray of stringsNoSpecific SMS attribute names to retrieve
GetSMSSandboxAccountStatus

Check if the account is in SMS sandbox.

{ "command": "GetSMSSandboxAccountStatus", "params": {} }

Parameters: None required.

GetDataProtectionPolicy

Get data protection policy for a topic.

{ "command": "GetDataProtectionPolicy", "params": { "ResourceArn": "arn:aws:sns:..." } }

Parameters:

ParameterTypeRequiredDescription
ResourceArnstringYesResource ARN
CheckIfPhoneNumberIsOptedOut

Check if a phone number has opted out.

{ "command": "CheckIfPhoneNumberIsOptedOut", "params": { "phoneNumber": "+12345678901" } }

Parameters:

ParameterTypeRequiredDescription
phoneNumberstringYesE.164 phone number
ListPhoneNumbersOptedOut

List phone numbers that have opted out.

{ "command": "ListPhoneNumbersOptedOut", "params": {} }
ListOriginationNumbers

List origination phone numbers.

{ "command": "ListOriginationNumbers", "params": {} }

Lifecycle Commands

CreateTopic

Create a new topic.

{ "command": "CreateTopic", "params": { "Name": "alerts" } }
Subscribe

Subscribe an endpoint to a topic.

{ "command": "Subscribe", "params": { "TopicArn": "arn:aws:sns:...:alerts", "Protocol": "email", "Endpoint": "[email protected]" } }
ConfirmSubscription

Confirm a subscription (for token-based subscriptions).

{ "command": "ConfirmSubscription", "params": { "TopicArn": "arn:aws:sns:...:alerts", "Token": "token" } }
Unsubscribe

Unsubscribe an endpoint.

{ "command": "Unsubscribe", "params": { "SubscriptionArn": "arn:aws:sns:..." } }
SetTopicAttributes

Update topic attributes.

{ "command": "SetTopicAttributes", "params": { "TopicArn": "arn:aws:sns:...:alerts", "AttributeName": "DisplayName", "AttributeValue": "Alerts" } }
SetSubscriptionAttributes

Update subscription attributes.

{ "command": "SetSubscriptionAttributes", "params": { "SubscriptionArn": "arn:aws:sns:...", "AttributeName": "RawMessageDelivery", "AttributeValue": "true" } }
CreatePlatformApplication

Create a platform application.

{ "command": "CreatePlatformApplication", "params": { "Name": "mobile-app", "Platform": "APNS", "Attributes": { "PlatformCredential": "..." } } }
CreatePlatformEndpoint

Create a platform endpoint.

{ "command": "CreatePlatformEndpoint", "params": { "PlatformApplicationArn": "arn:aws:sns:...", "Token": "device-token" } }
DeleteTopic

Delete a topic.

{ "command": "DeleteTopic", "params": { "TopicArn": "arn:aws:sns:...:alerts" } }
DeletePlatformApplication

Delete a platform application.

{ "command": "DeletePlatformApplication", "params": { "PlatformApplicationArn": "arn:aws:sns:..." } }
DeleteEndpoint

Delete a platform endpoint.

{ "command": "DeleteEndpoint", "params": { "EndpointArn": "arn:aws:sns:..." } }
TagResource

Tag an SNS resource.

{ "command": "TagResource", "params": { "ResourceArn": "arn:aws:sns:...", "Tags": [{ "Key": "env", "Value": "prod" }] } }
UntagResource

Remove tags from an SNS resource.

{ "command": "UntagResource", "params": { "ResourceArn": "arn:aws:sns:...", "TagKeys": ["env"] } }

Related Services

  • SNS → SQS: SNS topics commonly subscribe to SQS queues for fan-out. Use ListSubscriptionsByTopic to find SQS subscriptions, then SQSTool to inspect queues
  • SNS → Lambda: SNS can trigger Lambda functions. Use ListSubscriptionsByTopic to find Lambda subscriptions
  • SNS → S3: S3 event notifications can publish to SNS. Use S3Tool GetBucketNotificationConfiguration to find the topic
  • SNS → CloudWatch: SNS delivery metrics are in CloudWatch Metrics
  • SNS → CloudFormation: SNS resources managed by CloudFormation stacks

More skills from necatiarslan

awsclaw-general logo
necatiarslan/awsclaw

awsclaw-general

General AWS management in VS Code using awsclaw extension. Covers AWS connectivity, session management, profiles, regions, endpoints, file operations, testing connections, safety model, cross-service discovery, and extension capabilities.

1 0
View
awsclaw-rds logo
necatiarslan/awsclaw

awsclaw-rds

Manage and inspect Amazon RDS instances, clusters, snapshots, parameter groups, logs, proxies, events, engine versions, subnet groups, security groups, certificates, recommendations, and more using awsclaw.

1 0
View
awsclaw-ec2 logo
necatiarslan/awsclaw

awsclaw-ec2

Manage and query AWS EC2 resources including launching/stopping/terminating instances, creating VPCs and subnets, managing security groups, volumes, snapshots, AMIs, and querying all EC2 resource types using awsclaw. Full lifecycle management.

1 0
View
awsclaw-lambda logo
necatiarslan/awsclaw

awsclaw-lambda

Manage AWS Lambda functions using awsclaw. Create, update, invoke, and delete functions, manage aliases/versions, event source mappings, layers, tags, function URLs, concurrency, and code signing.

1 0
View
tracing-downstream-lineage logo
necatiarslan/airflow-vscode-extension

tracing-downstream-lineage

Map downstream lineage and blast radius for Airflow data assets. Use when the user needs to know which DAGs, tables, dashboards, or models depend on a dataset and what could break after a change.

44 0
View
airflow logo
necatiarslan/airflow-vscode-extension

airflow

Manages Apache Airflow operations including listing, running, and debugging DAGs, viewing logs, and checking server status using the VS Code extension tools.

44 0
View
creating-openlineage-extractors logo
necatiarslan/airflow-vscode-extension

creating-openlineage-extractors

Create custom OpenLineage extractors for Airflow operators. Use when the user needs lineage from unsupported or third-party operators, wants column-level lineage, or needs complex extraction logic beyond what inlets/outlets provide.

44 0
View
setting-up-astro-project logo
necatiarslan/airflow-vscode-extension

setting-up-astro-project

Initialize and configure Astro/Airflow projects. Use when the user wants to create a new project, set up dependencies, configure connections/variables, or understand project structure. For running the local environment, see managing-astro-local-env.

44 0
View
tablefaker logo
necatiarslan/table-faker

tablefaker

Generate YAML configs for Tablefaker to create synthetic datasets with tables, relationships, and faker data.

19 0
View
awsclaw-s3-fileops logo
necatiarslan/awsclaw

awsclaw-s3-fileops

Upload and download files and folders to/from Amazon S3 with folder structure preservation using awsclaw. Bulk file transfers, folder uploads, folder downloads.

1 0
View
testing-dags logo
necatiarslan/airflow-vscode-extension

testing-dags

Complex DAG testing workflows with debugging and fixing cycles. Use for multi-step testing requests like "test this dag and fix it if it fails", "test and debug", "run the pipeline and troubleshoot issues".

44 0
View
managing-astro-local-env logo
necatiarslan/airflow-vscode-extension

managing-astro-local-env

Manage local Airflow environment with Astro CLI. Use when the user wants to start, stop, or restart Airflow, view logs, troubleshoot containers, or fix environment issues. For project setup, see setting-up-astro-project.

44 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View