S3.BucketWebsite.
error_document
¶(dict) --
The object key name of the website error document to use for 4XX class errors.
Key (string) --
The object key name to use when a 4XX class error occurs.
Warning
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.