def METHOD_NAME(res: globus_sdk.GlobusHTTPResponse) -> None:
    explicit_pauses = [
        field
        for field in EXPLICIT_PAUSE_MSG_FIELDS
        # n.b. some keys are absent for completed tasks
        if field.get_value(res)
    ]
    effective_pause_rules = res["pause_rules"]
    if not explicit_pauses and not effective_pause_rules:
        click.echo(f"Task {task_id} is not paused.")
        click.get_current_context().exit(0)
    if explicit_pauses:
        display(
            res,
            fields=explicit_pauses,
            text_mode=TextMode.text_record,
            text_preamble="This task has been explicitly paused.\n",
            text_epilog="\n" if effective_pause_rules else None,
        )
    if effective_pause_rules:
        display(
            effective_pause_rules,
            fields=PAUSE_RULE_DISPLAY_FIELDS,
            text_preamble=(
                "The following pause rules are effective on this task:\n"
            ),
        )