Skip to content

Fixing S3 Copy Object Java SDK v2 example to encode url #759

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

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

jschwarzwalder
Copy link
Contributor

Issue #, if available:
#740

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jschwarzwalder jschwarzwalder changed the title encoding url Fixing S3 Copy Object Java SDK v2 example to encode url Jul 22, 2019
@jschwarzwalder jschwarzwalder merged commit ca698d2 into master Jul 22, 2019
@jschwarzwalder jschwarzwalder deleted the java_v2_urlencode branch July 22, 2019 23:19
Bennett-Lynch pushed a commit to Bennett-Lynch/aws-doc-sdk-examples that referenced this pull request Jul 26, 2021
A recent update to the AWS SDK for Java v2
(aws/aws-sdk-java-v2#2612) enabled support for
more user-friendly parameters for specifying the source bucket, key, and
version ID for the S3 CopyObject operation. These new parameters are
also automatically URL-encoded by the SDK, as most users would expect.

This commit updates the dependency to the latest version for the S3
module and takes advantage of the new parameters, simplifying the
example code to no longer need to URL encode.

Related:
awsdocs#740
awsdocs#759
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.

1 participant