-
Notifications
You must be signed in to change notification settings - Fork 637
Open
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlogv2-v3-inconsistencyBehavior has changed from v2 to v3, or feature is missing altogetherBehavior has changed from v2 to v3, or feature is missing altogether
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
In aws-sdk v2, the IAM region was not required, but in v3, an error occurs "Error: Region is missing" if there is no region.
same issue #1995, but I think it isn't fixed.
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v18.18.2
Reproduction Steps
execute source code
async function iam_summary_test() {
const iam = new IAMClient({ credentials: makeCredentials() })
const command = new GetAccountAuthorizationDetailsCommand({});
const data = await iam.send(command);
return data
}Observed Behavior
Throw error Region is missing
Expected Behavior
Work properly
Possible Solution
No response
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlogv2-v3-inconsistencyBehavior has changed from v2 to v3, or feature is missing altogetherBehavior has changed from v2 to v3, or feature is missing altogether