Skip to content

Allow put object with Transfer Acceleration enabled #1009

@Jasperav

Description

@Jasperav

Describe the feature

I got this code, but this is using the default bucket. I want to enable transfer acceleration on this upload.

let upload_result = self
    .client
    .put_object()
    .bucket(&*common::properties::AWS_S3_BUCKET_NAME)
    // I am guessing this saves some money
    .storage_class(StorageClass::IntelligentTiering)
    .key(self.path)
    .body(ByteStream::from(self.content))
    .send()
    .await;

I also want to create a presigned URL which use transfer acceleration so that clients can benefit from the performance.

Use Case

I want to sent out presigned URLs to clients which can upload files, it would be useful if clients benefit from transfer acceleration.

Proposed Solution

Add another method 'accelerate' in the builder to benefit from it.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

A note for the community

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.response-requestedWaiting on additional info and feedback. Will move to 'closing-soon' in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions