Skip to content

S3  >  Dictionaries  >  ErrorDocumentDict

ErrorDocumentDict

Dictionary Type

ErrorDocumentDict

Bases: TypedDict

Dictionary form of ErrorDocument.

Attributes

key instance-attribute
key: Required[str]

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.