Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service/s3: Add documentation for using unseekable body PutObject and UploadPart #1176

Merged
merged 3 commits into from
Mar 18, 2021

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented Mar 17, 2021

Adds documentation to the PutObject and UploadPart operations Body member how to upload unseekable objects to an Amazon S3 Bucket.

Fixes: #1108
Depends on: #1175

jasdel added 2 commits March 16, 2021 18:36
Adds additional documentation to the PutObject and UploadPart operations
on how to to use unseekable values to be uploaded to S3.

Fixes aws#1108
@jasdel jasdel requested review from skmcgrail and skotambkar March 17, 2021 01:43
@jasdel jasdel mentioned this pull request Mar 17, 2021
…te hash

Updates the v4 package with a new helper to swap out the compute payload
hash middleware for the unsigned payload middleware. This allows API
operations to be updated to not compute the payload hash, and
use UNSIGNED-PAYLOAD instead.
@jasdel jasdel force-pushed the fixup/S3PutObjectDoc branch from 8717ac0 to e955ccf Compare March 17, 2021 05:34
aws/signer/v4/middleware.go Show resolved Hide resolved
@Override
public byte getOrder() {
// This integration should happen before other integrations that rely on the presence of this trait
return -60;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't pre-process model always run prior to usage of model? Don't think this ordering is required.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can remove. The ordering is always present, will inherit from parent if not defined here. But yeah I don't think order maters in this case. Other customizations where order model is pre-processed is where this will be relevant.

@jasdel jasdel merged commit 6724d37 into aws:main Mar 18, 2021
@jasdel jasdel deleted the fixup/S3PutObjectDoc branch March 18, 2021 17:22
@Thomasdezeeuw
Copy link

It seems the documentation change was undone by #787, which resulted in me hitting #1108 again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Body in PutObjectInput
4 participants