stdlib_aws_straighten_tags multimethod

Methods

stdlib_aws_straighten_tags(a:Arr) Source: stdlib.ngs:5375
Do not use directly. Subject to change. Convert "Tags" array in each element of AWS resources (typically returned by AWS CLI) into Hash. Makes "Tags" much more usable.
stdlib_aws_straighten_tags(h:Hash) Source: stdlib.ngs:5383
Do not use directly. Subject to change. Convert "Tags" array in the given AWS resource (typically returned by AWS CLI) into Hash.

Example

t = {"Tags": [{"Key": "k", "Value": "v"},{"Key": "k2", "Value": "v2"}]}  # Not very convenient, is it?
t.stdlib_aws_straighten_tags()
t  # {Tags={k=v, k2=v2}}
stdlib_aws_straighten_tags(s:Str) Source: stdlib.ngs:5392
Do not use directly. Subject to change. A no-op