A home warranty is a service contract in law. A water heater flush is a routine job that can belong in an upkeep record. Decide who does the job, then keep the proof either way.
Check the manual first
Find the maintenance section in the owner's manual for the water heater. It names the task, the reason for it, and the way the task is done. Note whether it calls for a qualified person. Note any warning about hot water, gas supply, or electrical supply. Read each warning before you decide.
Decide who does the job
Doing the job yourself suits a task the manual describes plainly, with the tools and shutoffs you already have. Hiring it out suits a task that needs a licensed trade, a gas or electrical shutoff you cannot locate, or tools you do not own. Compare the two honestly. A mistake on a water heater can cause a scald, a leak, or a gas or electrical hazard.
What to ask a trade
Ask whether the trade is licensed for this work in your state. Ask for the license number and check it with the state licensing body. Ask for the scope in writing: what will be drained, what will be checked, and what will be left alone. Ask whether the trade leaves a written record that names the unit by model and serial.
Keep the proof
Save the manual page, the trade's written scope, the invoice, and a photo of the unit with its label visible. If you do the job yourself, write down what you did and what you saw. Check the contract for what records it asks you to keep. If the contract is silent, ask the provider in writing what it wants.
When to stop
Stop and hire out if the unit leaks, if the label cannot be read, or if the work needs a shutoff you cannot find. Do not guess at a gas or electrical line. Ask a licensed trade to inspect it first.