tag#
- async idem_aws.exec.aws.sns.tag.update_tags(hub, ctx, resource_arn, old_tags: Optional[List[Dict[str, Any]]] = None, new_tags: Optional[List[Dict[str, Any]]] = None)[source]#
Update tags of AWS SNS resources :param hub: :param ctx: :param resource_arn: aws resource arn :param old_tags: list of old tags in the format of [{“Key”: tag-key, “Value”: tag-value}] or dict in the format of
{tag-key: tag-value}
- Parameters:
new_tags (List) – list of new tags in the format of [{“Key”: tag-key, “Value”: tag-value}] or dict in the format of {tag-key: tag-value}
- Returns:
True|False, “comment”: A message Tuple, “ret”: Dict}
- Return type:
{“result”