-
Notifications
You must be signed in to change notification settings - Fork 647
Closed
Labels
bugThis issue is a bug.This issue is a bug.documentationThis is a problem with documentation.This is a problem with documentation.feature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.
Description
Describe the bug
The AWS SDK for JavaScript v3 is codegen and doesn't support multiple API versions for a client.
However, it accepts apiVersion in the configuration which can be confusing as discussed in #1844
SDK version number
3.1.0
Is the issue in the browser/Node.js/ReactNative?
All
Details of the browser/Node.js/ReactNative version
N/A
To Reproduce (observed behavior)
const { Lambda } = require("@aws-sdk/client-lambda")
const lambda = new Lambda({
region: "ap-south-1",
apiVersion: "2015-03-31"
});Expected behavior
Do not allow apiVersion in client configuration.
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.documentationThis is a problem with documentation.This is a problem with documentation.feature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.