Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    ulgerang
    @ulgerang
    it didn't occur when I use unity 2017.2, but it occured 2017.3 .should I downgrade my Unity?
    what I use lambda sdk is "AWSSDK.Lambda.3.3.10.0".
    Saineshwar Bageri
    @saineshwar
    Hi friends i want to use Facial analysis API in .Net application but where to start is question
    Norm Johanson
    @normj
    @saineshwar Have you looked at the AWS Rekognitiion service https://docs.aws.amazon.com/rekognition/latest/dg/what-is.html? The NuGet package is AWSSDK.Rekognition
    Renato Golia
    @Kralizek
    Hey everybody! when invoking a Lambda with InvokeType RequestResponse, is the task I get from the IAmazonLambda.InvokeAsync method fail if the remote function fails?
    Anyway, after a quick test, InvokeAsync does not throw if the invoked function fails to execute. The response contains a "FunctionError" property to be checked, I created a small extension method to throw an Exception in case. (see: https://github.com/Kralizek/sqs-poller/blob/master/src/SqsPoller/PollItemEventHandler.cs#L101)
    Garry Polley
    @garrypolley
    I'm attempting to setup a new asp.net core app using visual studio for the mac.
    I get this error each time I attempt to run my tests.
    Amazon.Runtime.AmazonClientException : No RegionEndpoint or ServiceURL configured
    Anyone have an idea on why this occurs?
    Google is not helping me out.
    Steven Kang
    @sstevenkang
    @garrypolley how are you exposing your preferred region? Are you exposing it via appsettings.json?
    Garry Polley
    @garrypolley
    I think I figured it out. I didn't have the appsettings.json (and the various environment versions of that file) being added to the build directory.
    Really the output directory.
    Steven Kang
    @sstevenkang
    neat!
    Garry Polley
    @garrypolley
    Thanks for the help.
    Developing on the Mac, there seems to be a few things left out of a lot of the AWS tutorials. Seems to assume a windows development enviornment.
    Renato Golia
    @Kralizek
    This message was deleted
    bobrov82
    @bobrov82
    Hi. Trying to get started with DynamoDB and .NET core. I can't get the example code from the documentation to compile. Compiler complains about every method call I'm trying to make on my instance of 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.
    Norm Johanson
    @normj
    @bobrov82 In .NET Core only async operations are supported. The example you must be following in the docs must be for .NET Framework which supports both sync and async. .NET Core only supports async because that is all the underlying HttpClient supports.
    Raymond Sanchez
    @agileraymond
    @bobrov82 I have a github project with examples on how to use DynamoDB with .NET Core. Take a look at www.github.com/agileraymond/dotnetdeployments
    Rafael Hernández Larios
    @rafaeh1
    Hi, I'm trying to refresh token from Cognito user using "CognitoAuthentication Extension Library" with "StartWithRefreshTokenAuthAsync" and always get this response: "User is not authenticated", Does anyone have an idea why? Or Which is the best way to refresh the token
    Curiosity
    @LaviLaza
    Hi everyone, I'd like to write a tool using @aws-sdk-net and I noticed AWS license does not allow redistribution, meaning I can't have aws-sdk-net libraries as part of the code. Is this really the case? (In GitHub the included license is Apache but in AWS MSI download page the license limits redistribution). Any insights will be much appreciated.
    Norm Johanson
    @normj
    @LaviLaza Interesting, that you are seeing that. The SDK is under Apache 2 except for the Cognito SyncManager which is under Amazon Software License. Both licenses allow redistribution. So short answer is yes go make tools and spread them around :smile: I'm assuming the license you are seeing with the MSI is for the AWS Toolkit for Visual Studio which is included in the MSI.
    Curiosity
    @LaviLaza
    Thank you for the inputs @normj. I'll have another look into it. Thanks again.
    reza-esfandyari
    @reza-esfandyari
    Richard Hoberman
    @rhoberman
    Is decrypting S3+KMS supported by SDK 3.1.17.2? Docs say it is (https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/kms-keys-s3-encryption.html) but we get "cannot decrypt 'AES/GCM/NoPadding' SES messages" (https://github.com/aws/aws-sdk-net/issues/748). We have the StorageMode set to ObjectMetadata.
    vellozzi
    @vellozzi
    The .NET SDK doesn't support AES/GCM/NoPadding in the S3 client KMS feature. I don't recognize that as an SDK error message. Can you open a GitHub issue at https://github.com/aws/aws-sdk-net/issues with the full usage scenario and a code sample?
    mipnw
    @mipnw

    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?

    mipnw
    @mipnw
    Nevermind, I was providing a secret hash when the API expects a secret. It works.
    Renato Golia
    @Kralizek
    image.png
    @normj I'm working on a XRay handler for WCF... is it something of interest for you or should I just publish it a repo of my own?
    niraj-bpsoftware
    @niraj-bpsoftware
    Hi Guys, I am working on Xamarin App with AWS Cognito and wants to use CognitoSync. However CognitoSyncManager is missing in AWSSDK.CognitoSync 3.3.1.29, AWSSDK Core (3.3.21.20). Any pointer?
    Norm Johanson
    @normj
    @Kralizek Yes, a WCF handler would be a good thing to have. Use the https://github.com/aws/aws-xray-sdk-dotnet repo for submitting pull requests or opening issues to ask questions.
    Renato Golia
    @Kralizek
    @normj I already added it here https://github.com/Kralizek/xray-wcf
    There are a lot of corner cases left to be handled and x-ray being so strongly focused on REST APIs isn't really helping. Ex. the HTTP method or result of a call made across a raw TCP socket (net.tcp) binding?
    Norm Johanson
    @normj
    @niraj-bpsoftware CognitoSyncManager is still in the package. Can you describe your project setup, like what the target frameworks are. My guess is something about your project is pulling in the .NET Standard version instead of the portable class version which is what we use for Xamarin. The .NET Standard version does not have the CogntioSyncManager.
    Norm Johanson
    @normj
    @Kralizek Cool, I help advice the X-Ray team about .NET but I don't do much with the code itself. That is why I recommend opening issues on their repository. With my limited understanding though you should be able to do non REST things for example there is the System.Data.SqlClient handler.
    Dustin Venegas
    @DustinVenegas
    Is there an AWSSDK component that adds the Secure Token Service (STS) as authorization or authentication middleware in .NET Core?
    Norm Johanson
    @normj
    @DustinVenegas STS vends AWS credentials it doesn't authorize users. What we don't have but I would like for us to look into is use AWS Cognito as part of ASP.NET Core identity and authentication framework
    jamhart
    @jamhart
    I don't want to speak for @DustinVenegas, but I think he's asking this: "I want service "C" to call another service "S" such that C can authenticate via STS and S can verify the authentication. Similar to C calling S3 or SQS. At least that's what I was going to ask about :sparkles:
    niraj-bpsoftware
    @niraj-bpsoftware
    @normj Yes found it in PCL. Thanks.
    Renato Golia
    @Kralizek
    Hi all! I just wanted to drop a line here about a small utility I just created. It allows to use Secrets Manager in the new Configuration stack in .NET Core applications. I will add some samples during the weekend, in the meanwhile you can peak at the code here
    Norm Johanson
    @normj
    @Kralizek Nice!
    Daniel McKnight
    @drmcknight
    I am unable to retrieve a secret from Secrets Manager using the SDK while the CLI works fine. I get “An existing connection was forcibly closed by the remote host”.
    Has anyone been able to retrieve secrets using the .NET SDK?
    Daniel McKnight
    @drmcknight
    Steven Kang from the SDK team responded to my SO post. Upgrading from .NET 4.5.2 to 4.6.1 solved my problem.