Skip to content

[Feature]: Basic support for AWS.Config #528

@trivikr

Description

@trivikr

Self-service

  • I'd be willing to implement this feature

Problem

The configuration set using AWS.Config is not transformed.

Example input:

import AWS from "aws-sdk";

const client = new AWS.DynamoDB(
  new AWS.Config({ region: "us-east-1" })
);
console.log(await client.listTables().promise());

Solution

Expected output:

import { DynamoDB } from "@aws-sdk/client-dynamodb";

const client = new DynamoDB({ region: "us-east-1" });
console.log(await client.listTables());

The basic support should update any Config parameters which are renamed listed in UPGRADING.md.

Alternatives

Manually removing the AWS.Config call

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestp2This is a standard priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions