Class: Aws::S3::Types::CommonPrefix

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

Overview

Container for all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix. For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/.

Instance Attribute Summary collapse

Instance Attribute Details

#prefixString

Container for the specified common prefix.

Returns:

  • (String)


855
856
857
858
# File 'lib/aws-sdk-s3/types.rb', line 855

class CommonPrefix < Struct.new(
  :prefix)
  include Aws::Structure
end