Upload File
Upload a file to a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPLOAD_FILE])
Download File
Download a file from a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOWNLOAD_FILE])
Delete File
Delete a file from a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_FILE])
Create Bucket
Create a new S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_BUCKET])
Delete Bucket
Delete an existing S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_BUCKET])
List Buckets
List all S3 buckets in the account
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_BUCKETS])
List Objects
List objects in a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_OBJECTS])
Copy Object
Copy an object from one S3 location to another
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COPY_OBJECT])
Generate Presigned URL
Generate a presigned URL for temporary access to an S3 object
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_PRESIGNED_URL])
Set Bucket Policy
Set or update the policy for an S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_BUCKET_POLICY])
Enable Versioning
Enable versioning for a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ENABLE_VERSIONING])
Disable Versioning
Disable versioning for a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISABLE_VERSIONING])
Enable Encryption
Enable default encryption for a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ENABLE_ENCRYPTION])
Set Object ACL
Set the Access Control List (ACL) for an S3 object
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_OBJECT_ACL])
Set Bucket ACL
Set the Access Control List (ACL) for an S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_BUCKET_ACL])
Create Folder
Create a new folder (prefix) in a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_FOLDER])
Enable Object Lock
Enable object lock for a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ENABLE_OBJECT_LOCK])
Enable Cross Region Replication
Enable cross-region replication for a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ENABLE_CROSS_REGION_REPLICATION])
New Object Created
Triggered when a new object is created in a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_OBJECT_CREATED])
Object Deleted
Triggered when an object is deleted from a specified S3 bucket
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.OBJECT_DELETED])
Object Restored
Triggered when an archived object is restored in S3
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.OBJECT_RESTORED])
Bucket Created
Triggered when a new S3 bucket is created
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BUCKET_CREATED])
Bucket Deleted
Triggered when an S3 bucket is deleted
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BUCKET_DELETED])
Object ACL Updated
Triggered when the ACL of an S3 object is updated
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.OBJECT_ACL_UPDATED])
Bucket Policy Changed
Triggered when the policy of an S3 bucket is changed
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BUCKET_POLICY_CHANGED])
Object Tagging Changed
Triggered when the tags of an S3 object are changed
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.OBJECT_TAGGING_CHANGED])
Lifecycle Expiration
Triggered when an object expires based on the lifecycle rules
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIFECYCLE_EXPIRATION])
Replication Completed
Triggered when object replication is completed in cross-region replication
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REPLICATION_COMPLETED])