You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/17 17:18:44 UTC

[GitHub] [airflow] ferruzzi commented on issue #14279: Add AWS S3 Bucket Tagging Operator

ferruzzi commented on issue #14279:
URL: https://github.com/apache/airflow/issues/14279#issuecomment-780713409


   My plan is to add `providers/amazon/aws/operators/s3_bucket_tagging.py` and implement the three operators.
   
   - S3GetBucketTaggingOperator: 
     - Accepts a bucket name and optional connection ID
     - Returns an Optional[List[Dict[str, str]]]
   
   - S3PutBucketTaggingOperator
     - Accepts a bucket name, optional key, optional value, and optional TagSet
       - If key or value are provided, both must be provided
       - If only a TagSet is provided, use it as provided
       - If Key and Value are both provided and no TagSet, build them into a TagSet
       - If Key/Value pair is provided AND a TagSet is provided, the K/V pair will be added to the TagSet
     - Returns None
   
   - S3DeleteBucketTaggingOperator
     - Accepts a bucket name
       - Deletes all tags on the provided bucket
     - Returns None


----------------------------------------------------------------
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:
users@infra.apache.org