Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
This feature is currently available only at EUMETSAT side of the EWC |
Table of Contents |
---|
Introduction
Object storage (S3) can be configured to send notifications when objects are created or deleted. The notifications can be sent to
...
Code Block | ||||
---|---|---|---|---|
| ||||
#!/usr/bin/python3 import boto3 access_key_id='xx' # from Cypher secret_access_key='xx' # from Cypher ceph_endpoint = "https://s3.waw3-1.cloudferro.com" region = 'waw3-1' # required by boto3, any value works arn = 'arn:aws:sns:waw3-1::example-topic' sns = boto3.client('sns', region_name=region, endpoint_url=ceph_endpoint , aws_access_key_id=access_key_id, aws_secret_access_key=secret_access_key) # Delete the SNS topic response = sns.delete_topic(TopicArn=arn) |
TODO: delete notifications
TODO: get details of the notification configuration
...