You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::S3::Types::ErrorDocument

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ErrorDocument as input to an Aws::Client method, you can use a vanilla Hash:

{
  key: "ObjectKey", # required
}

The error information.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

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

Returns:

  • (String)

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