kafka_overwatch.notifications.aws_sns package

Subpackages

Module contents

Manages SNS notifications to report error and status

class kafka_overwatch.notifications.aws_sns. SnsChannel ( name , definition ) [source]

Bases: object

property definition : SnsTopicChannel

Initial definition

import_usage_report_jinja2_templates ( ) [source]
Return type :

None

publish ( subject , message ) [source]

Publish message to SNS

Return type :

None

static render_usage_report_message_template ( template , cluster_id , s3_url , s3_uri , s3_signed_url ) [source]
Return type :

str

send_usage_report_notification ( cluster , subject , s3_uri = None , s3_url = None , s3_signed_url = None ) [source]

Send error notification

property session : Session
property usage_report_messages_templates : dict

Messages templates