s3 does not require region selection

Open Beginner friendly
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
java
Domain
cloud

Research direction

Open S3Sample.java and inspect lines 66-67, where the region is selected and assigned. Remove those two lines, then verify that the sample remains valid; completion means S3Sample.java no longer requires the hardcoded US_WEST_2 region.

Written by the indexing model from the issue text.

Description

Remove line 66 and 67 from S3Sample.java:

        Region usWest2 = Region.getRegion(Regions.US_WEST_2);
        s3.setRegion(usWest2);
Dominant language
Java
Stars
241
Forks
345
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws-samples/aws-java-sample

All issues in aws-samples/aws-java-sample

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.