Amazon.Runtime.AmazonClientException : No RegionEndpoint or ServiceURL configured
AmazonDynamoDBClient
. Everything up to that point compiles for example creation of AmazonDynamoDBClient
, PutItemRequest
etc but trying to execute client.PutItem(request1);
where client is an instance of AmazonDynamoDBClient
fails with AmazonDynamoDBClient.PutItem(PutItemRequest)' is inaccessible due to its protection level
. Of course this method is public so I really struggle with coming up with an explanation to this.
I'm experimenting with AWSSDK.Extensions.CognitoAuthentication (https://aws.amazon.com/blogs/developer/cognitoauthentication-extension-library-developer-preview/) because I need Cognito User Pool authentication in C# and AWS SDK for .NET does not support that out-of the box.
Unfortunately that extension seems to be flawed. It does not seem to provide a way to pass the User Pool Client Secret (or it's hash), I get "NotAuthorizedException: Unable to verify secret hash for client" when I call CognitoUser.StartWithSrpAuthAsync
Any ideas?