Amplify JS API Documentation
    Preparing search index...
    • Parameters

      Returns RemoveOperation<RemoveWithPathOutput>

    • Parameters

      Returns RemoveOperation<RemoveOutput>

    • Remove a file or folder from your S3 bucket.

      Parameters

      Returns RemoveOperation<RemoveWithPathOutput>

      Operation handle with result promise and cancellation capability.

      service: S3Exception - S3 service errors thrown while while removing the object.

      validation: StorageValidationErrorCode - Validation errors thrown when there is no path or path is empty or path has a leading slash.

    • Parameters

      Returns RemoveOperation<RemoveOutput>

      Operation handle with result promise and cancellation capability.

      The key and accessLevel parameters are deprecated and may be removed in the next major version. Please use path instead.

      Remove a file from your S3 bucket.

      service: S3Exception - S3 service errors thrown while while removing the object

      validation: StorageValidationErrorCode - Validation errors thrown when there is no key or its empty.