Skip to content

config is not defined #5326

@suhajda3

Description

@suhajda3

Describe the issue

Most examples include the config parameter for client creation, but the variable is not defined. As a result, the sample code will not run without modification. It would be great to see the config parameter defined or the parameters included.

const config = new LambdaClient({
    region: 'us-east-2'
});

or

const client = new LambdaClient({region: 'us-east-2'});

Links

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetFunctionUrlConfigCommand/

Metadata

Metadata

Assignees

Labels

closed-for-stalenessdocumentationThis is a problem with documentation.p2This is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions