Skip to content

Provide Presigned URL Support for DeleteObjectRequest with presignDeleteObject #1609

@mofeejegi

Description

@mofeejegi

Describe the feature

According to the docs, the SDK for Kotlin currently supports presigning the following API operations with the S3Client:

  • GetObject -> presignGetObject
  • PutObject -> presignPutObject
  • UploadPart -> presignUploadPart

There is noticeably no presignDeleteObject but the functionality is present in the AWS Java v2 SDK, added here: aws/aws-sdk-java-v2#4313

Is your feature request related to a problem?

I would like to be able to create a DeleteObjectRequest and presign it with a corresponding presignDeleteObject.

Proposed Solution

No response

Describe alternative solutions or features you've considered

Alternatively, I used the S3Presigner from the AWS SDK for Java v2 to presign the DeleteObjectRequest. Ideally, it would be preferable to not use a Java SDK in a Kotlin project, but the JVM interoperability still works fine.

Another solution would be to consider exposing an agnostic S3Presigner that can be applied to any Http Operation, but I still appreciate the way the API currently handles it.

Acknowledge

  • I may be able to implement this feature request

AWS SDK for Kotlin version

1.4.96

Platform (JVM/JS/Native)

JVM

Operating system and version

MacOS

Metadata

Metadata

Assignees

Labels

feature-requestA feature should be added or improved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions