AmazonEC2Client.DescribeInstances internal for netcore but public for net 4.5 #2120
-
Is there any reason |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In the .NET Core/Standard version of the SDK only the async versions of the API exist. So you should call It wasn't till .NET 5 that the http client got sync support. We have debated about adding the sync support for latest version of .NET but that is unlikely to happen anytime soon given the other work we have going on with the SDK. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
In the .NET Core/Standard version of the SDK only the async versions of the API exist. So you should call
DescribeInstancesAsync
. This is because the Http Client in .NET Core didn't have sync support when we added .NET Core/Standard support.It wasn't till .NET 5 that the http client got sync support. We have debated about adding the sync support for latest version of .NET but that is unlikely to happen anytime soon given the other work we have going on with the SDK.