Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interfaces

  • IFileSystems — Defines common functionality for accessing file system.
  • IFileSystem — Defines common functionality for accessing and manipulating files and directories.
  • IFileSystem2 — Extended file system interface (V2) with additional utility methods. Inherits all methods from IFileSystem and adds new capabilities. Use TryQueryInterface to check if the implementation supports this interface.
  • IDirEntry — Represents an entry in a directory.
  • IFile — Represents a file system object that can be read from or written to.

Structs

  • Metadata — Exposes stat(2) and `statx(2) on POSIX systems.

Enumerations

  • OpenMode — Defines the possible modes for opening a file.
  • FileType — stat st_mode - type bits

Exceptions

  • NotFoundError — Exception thrown when a file or directory is not found.
  • IsADirectoryError — Exception thrown when the path refers to a directory instead of a file.
  • NotADirectoryError — Exception thrown when an operation cannot be completed because the path refers to a file rather than a directory.
  • PermissionDeniedError — Exception thrown when permissions do not allow an operation to be completed.
  • AlreadyExistsError — Exception thrown when an attempt is made to create a file or directory that already exists.
  • NotEmptyError — Exception thrown when an attempt is made to delete a non-empty directory.
Last modified on October 22, 2026