def METHOD_NAME(self) -> TYPE_RESPONSE:
    max_results = self._get_int_param("maxResults")
    next_token = self._get_param("nextToken")
    results, next_token = self.stepfunction_backend.METHOD_NAME(
        max_results=max_results, next_token=next_token
    )
    state_machines = [
        {
            "creationDate": sm.creation_date,
            "name": sm.name,
            "stateMachineArn": sm.arn,
        }
        for sm in results
    ]
    response = {"stateMachines": state_machines}
    if next_token:
        response["nextToken"] = next_token
    return 200, {}, json.dumps(response)