Class: Aws::S3::Types::IndexDocument

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Note:

When making an API call, you may pass IndexDocument data as a hash:

{
  suffix: "Suffix", # required
}

Container for the ‘Suffix` element.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#suffixString

A suffix that is appended to a request that is for a directory on the website endpoint (for example,if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.

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

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints

Returns:

  • (String)


7526
7527
7528
7529
7530
# File 'lib/aws-sdk-s3/types.rb', line 7526

class IndexDocument < Struct.new(
  :suffix)
  SENSITIVE = []
  include Aws::Structure
end