Publish Message
Send a message to a specific Amazon SNS topic
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PUBLISH_MESSAGE])
Create Topic
Create a new Amazon SNS topic
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_TOPIC])
Delete Topic
Delete an existing Amazon SNS topic
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_TOPIC])
Subscribe
Subscribe an endpoint to an Amazon SNS topic
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIBE])
Unsubscribe
Unsubscribe an endpoint from an Amazon SNS topic
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UNSUBSCRIBE])
List Topics
Retrieve a list of all Amazon SNS topics in the account
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_TOPICS])
List Subscriptions
Retrieve a list of all subscriptions for a specific topic
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_SUBSCRIPTIONS])
Set Topic Attributes
Modify the attributes of an existing Amazon SNS topic
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_TOPIC_ATTRIBUTES])
Get Topic Attributes
Retrieve the attributes of a specific Amazon SNS topic
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_TOPIC_ATTRIBUTES])
Add Permission
Add a statement to a topic's access control policy
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_PERMISSION])
Remove Permission
Remove a statement from a topic's access control policy
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_PERMISSION])
Check If Phone Number Is Opted Out
Check if a phone number is opted out of receiving SMS messages
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT])
Opt In Phone Number
Opt in a phone number to receive SMS messages
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.OPT_IN_PHONE_NUMBER])
Set Subscription Attributes
Set the attributes for an existing subscription
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_SUBSCRIPTION_ATTRIBUTES])
Get Subscription Attributes
Retrieve the attributes of a specific subscription
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_SUBSCRIPTION_ATTRIBUTES])
Publish Batch
Send up to 10 messages to a topic in a single request
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PUBLISH_BATCH])
Delete Endpoint
Delete an endpoint for a device and mobile app
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_ENDPOINT])
Message Published
Triggered when a new message is published to a specific topic
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_PUBLISHED])
Topic Created
Triggered when a new Amazon SNS topic is created
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TOPIC_CREATED])
Topic Deleted
Triggered when an Amazon SNS topic is deleted
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TOPIC_DELETED])
Subscription Confirmed
Triggered when a new subscription is confirmed
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_CONFIRMED])
Subscription Deleted
Triggered when a subscription is deleted or unsubscribed
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_DELETED])
Message Delivery Failed
Triggered when a message fails to be delivered to a subscribed endpoint
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_DELIVERY_FAILED])
Topic Policy Changed
Triggered when the access control policy of a topic is modified
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TOPIC_POLICY_CHANGED])
Subscription Filter Policy Changed
Triggered when a subscription's filter policy is modified
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_FILTER_POLICY_CHANGED])