amazonka-s3-2.0: Amazon Simple Storage Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.S3.Types.ErrorDocument

Description

 
Synopsis

Documentation

data ErrorDocument Source #

The error information.

See: newErrorDocument smart constructor.

Constructors

ErrorDocument' 

Fields

  • 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.

Instances

Instances details
FromXML ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

ToXML ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

Methods

toXML :: ErrorDocument -> XML #

Generic ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

Associated Types

type Rep ErrorDocument :: Type -> Type #

Read ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

Show ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

NFData ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

Methods

rnf :: ErrorDocument -> () #

Eq ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

Hashable ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

type Rep ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

type Rep ErrorDocument = D1 ('MetaData "ErrorDocument" "Amazonka.S3.Types.ErrorDocument" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "ErrorDocument'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectKey)))

newErrorDocument Source #

Create a value of ErrorDocument with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:key:ErrorDocument', errorDocument_key - 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.

errorDocument_key :: Lens' ErrorDocument ObjectKey Source #

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.