(Reuters) - Online retailer Amazon.com has filed a lawsuit in a federal court to block the North Carolina state government's demand it disclose all transaction details, including names and addresses, involving state residents, court documents show.