libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

Read ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

Show ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

Generic ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

Associated Types

type Rep ErrorDocument :: Type -> Type #

NFData ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

Methods

rnf :: ErrorDocument -> () #

Hashable ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

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 #

type Rep ErrorDocument Source # 
Instance details

Defined in Amazonka.S3.Types.ErrorDocument

type Rep ErrorDocument = D1 ('MetaData "ErrorDocument" "Amazonka.S3.Types.ErrorDocument" "libZSservicesZSamazonka-s3ZSamazonka-s3" '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.