• List files in pages with the given path. pageSize is defaulted to 1000. Additionally, the result will include a nextToken if there are more items to retrieve.

    Parameters

    Returns Promise<ListPaginateWithPathOutput>

    A list of objects with path and metadata

    Throws

    service: S3Exception - S3 service errors thrown when checking for existence of bucket

    Throws

    validation: StorageValidationErrorCode - thrown when there are issues with credentials

  • List all files from S3 for a given path. You can set listAll to true in options to get all the files from S3.

    Parameters

    Returns Promise<ListAllWithPathOutput>

    A list of all objects with path and metadata

    Throws

    service: S3Exception - S3 service errors thrown when checking for existence of bucket

    Throws

    validation: StorageValidationErrorCode - thrown when there are issues with credentials

  • Parameters

    Returns Promise<ListPaginateOutput>

    A list of objects with key and metadata

    Deprecated

    The prefix and accessLevel parameters are deprecated and may be removed in the next major version. Please use path instead. List files in pages with the given prefix. pageSize is defaulted to 1000. Additionally, the result will include a nextToken if there are more items to retrieve.

    Throws

    service: S3Exception - S3 service errors thrown when checking for existence of bucket

    Throws

    validation: StorageValidationErrorCode - thrown when there are issues with credentials

  • Parameters

    Returns Promise<ListAllOutput>

    A list of all objects with key and metadata

    Deprecated

    The prefix and accessLevel parameters are deprecated and may be removed in the next major version. Please use path instead. List all files from S3 for a given prefix. You can set listAll to true in options to get all the files from S3.

    Throws

    service: S3Exception - S3 service errors thrown when checking for existence of bucket

    Throws

    validation: StorageValidationErrorCode - thrown when there are issues with credentials