Skip to content

ErrorDocument

Source code in docs_src/capo_s3/types/error_document.py
class ErrorDocument(TypedDict, closed=True):
    key: "capo_s3.types.object_key.ObjectKey"
    """<p>The object key name to use when a 4XX class error occurs.</p> <important> <p>Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints"> XML related object key constraints</a>.</p> </important>"""

key instance-attribute

key: ObjectKey

The object key name to use when a 4XX class error occurs.

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.