Skip to content

Copy objects between S3 buckets - Specific version (Like SDK 1) #1452

@mani100101

Description

@mani100101

Current Behavior

In the original SDK, there is a support to copy only the specific version of a object from source to destination.

new CopyObjectRequest(sourceBucketName, sourceKey, sourceVersionId, destinationBucketName, destinationKey)

In SDK2, support for copying an object of specific version is removed.

Expected Behavior

CopyObjectRequest.Builder should have methods like sourceVersionId(sourceVersionId) to copy a specific version of the object.

Context

Need to copy or move a specific version of object between buckets instead of duplicating all versions of the object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceQuestion that needs advice or information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions