Skip to content

Commit

Permalink
docs: followRegionRedirect for S3 (#6082)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddsriv committed May 20, 2024
1 parent 1eda2f1 commit 5fbc78b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion supplemental-docs/CLIENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,15 @@ See also https://aws.amazon.com/blogs/developer/middleware-stack-modular-aws-sdk
### S3
TODO e.g. `followRegionRedirects`
`followRegionRedirects`:
This feature was previously called the S3 Global Client. Setting this option to true enables failed requests to be retried with a corrected region when receiving a permanent redirect error with status 301. Note that this can result in additional latency owing to the retried request. This feature should only be used as a last resort if you do not know the region of your bucket(s) ahead of time.
```ts
// Example: setting followRegionRedirect
new S3Client({
followRegionRedirect: true,
});
```
### SQS
Expand Down

0 comments on commit 5fbc78b

Please sign in to comment.