Skip to content

Where are we filling config object #5603

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
bharathisunil opened this issue Dec 19, 2023 · 2 comments
Closed

Where are we filling config object #5603

bharathisunil opened this issue Dec 19, 2023 · 2 comments
Labels
closed-for-staleness documentation This is a problem with documentation. guidance General information and guidance, answers to FAQs, or recommended best practices/resources.

Comments

@bharathisunil
Copy link

Describe the issue

In the document of #Command for the line "const client = new CognitoIdentityProviderClient(config);" there is no clue on what should be the value for config object.

Links

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/#Command/

@bharathisunil bharathisunil added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Dec 19, 2023
@kuhe
Copy link
Contributor

kuhe commented Dec 19, 2023

The config is on the client, so refer back to the client page https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/, which has a description of the config on the bottom of the page.

The config can be empty if your region and credentials come from other sources, like a config file profile.

const client = new Client({});

@kuhe kuhe added closing-soon This issue will automatically close in 4 days unless further comments are made. guidance General information and guidance, answers to FAQs, or recommended best practices/resources. and removed needs-triage This issue or PR still needs to be triaged. labels Dec 19, 2023
@github-actions github-actions bot added closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Dec 24, 2023
Copy link

github-actions bot commented Jan 7, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 7, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
closed-for-staleness documentation This is a problem with documentation. guidance General information and guidance, answers to FAQs, or recommended best practices/resources.
Projects
None yet
Development

No branches or pull requests

2 participants