-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Labels
closed-for-stalenessguidanceGeneral information and guidance, answers to FAQs, or recommended best practices/resources.General information and guidance, answers to FAQs, or recommended best practices/resources.p3This is a minor priority issueThis is a minor priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
Documentation tells to pass a single obj
const client = new S3Client({ region });
which causes error:
... is not assignable to parameter of type '[] | [S3ClientConfig]'.
It seems to be expecting a list of configs, which I tried and then it fails saying "Error: Region is missing", which led me to believe the code doesn't actually expect a list, so i did not debug any further.
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
node v23.9.0
Reproduction Steps
follow https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/javascript_s3_code_examples.html
Observed Behavior
type error
Expected Behavior
no type error
Possible Solution
No response
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
closed-for-stalenessguidanceGeneral information and guidance, answers to FAQs, or recommended best practices/resources.General information and guidance, answers to FAQs, or recommended best practices/resources.p3This is a minor priority issueThis is a minor priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.