Skip to content

Remove apiVersion from configuration #1869

@trivikr

Description

@trivikr

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.documentationThis is a problem with documentation.feature-requestNew feature or enhancement. May require GitHub community feedback.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions