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

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

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

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)

    Container for the specified common prefix.