Skip to content

Aws::Client::ClientConfiguration default construction is very slow #2397

Answered by jmklix
Gribouillages asked this question in Q&A
Discussion options

You must be logged in to vote

I see that this is closed, but please make sure you are using the sdk correctly by adding the sdk call in curly brackets:

#include <aws/core/Aws.h>
int main(int argc, char** argv)
{
   Aws::SDKOptions options;
   Aws::InitAPI(options);
   {
      // make your SDK calls here.
   }
   Aws::ShutdownAPI(options);
   return 0;
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bhavya2109sharma
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants