def METHOD_NAME(**kwargs: Any) -> Any:
    if kwargs["action"] == "tag-resource":
        assert kwargs["Resource"] == dist.arn
        assert kwargs["Tags"] == {"Items": [{"Key": "foo", "Value": "bar"}]}