feluelle commented on a change in pull request #7451: [AIRFLOW-6830] Add 
Subject/MessageAttributes to SNS hook and operator
URL: https://github.com/apache/airflow/pull/7451#discussion_r380599457
 
 

 ##########
 File path: airflow/providers/amazon/aws/hooks/sns.py
 ##########
 @@ -50,24 +64,33 @@ def publish_to_target(self, target_arn, message, 
subject=None):
         :param message: str
         :param subject: subject of message
         :type subject: str
+        :param message_attributes: additional attributes to publish for 
message filtering. This should be
+                                   a flat dict; the DataType to be sent 
depends on the type of the value
+
+                                   - bytes = Binary
+                                   - str = String
+                                   - int, float = Number
+                                   - iterable = String.Array
 
 Review comment:
   Please only indent 4 spaces

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to