Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data CommonPrefix Source #
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/.
See: newCommonPrefix
smart constructor.
Instances
newCommonPrefix :: CommonPrefix Source #
Create a value of CommonPrefix
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:prefix:CommonPrefix'
, commonPrefix_prefix
- Container for the specified common prefix.
commonPrefix_prefix :: Lens' CommonPrefix (Maybe Text) Source #
Container for the specified common prefix.