utils

simple_aws_ssm_parameter_store.utils.encode_tags(tags: dict[str, str]) list[TagTypeDef][source]
Example:
>>> encode_tags({"name": "Alice"})
[
    {'Key': 'name', 'Value': 'Alice'}
]
simple_aws_ssm_parameter_store.utils.decode_tags(tag_list: list[TagTypeDef]) dict[str, str][source]
Example:
>>> decode_tags([{'Key': 'name', 'Value': 'Alice'}])
{'name': 'Alice'}