Skip to content

new feature: s3 conditional copy & delete #7090

@jachewz

Description

@jachewz

Feature Description

s3 now supports If-None-Match and If-Match headers for CopyObject and If-Match for DeleteObject. OpenDAL s3 service doesn't support this yet.

https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html

Problem and Solution

  • Add the copy_with_if_not_exists capability to s3 and implement adding the If-None-Match: * header.
  • Define new copy_with_if_match capability and add to s3 and implement it
  • Define new delete_with_if_match capability and add to s3 and implement it

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreleases-note/featThe PR implements a new feature or has a title that begins with "feat"services/s3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions