API Gateway API Login Using SDK SDK

When you download the auto-generated API client for Java or JavaScript, they reference the basic auxiliary components. Is a version of these features available for Xamarin, or is there a way to make or sign Gateway API requests using the Xamarin AWS SDK? The only thing I see is the "test" method in the AWSSDK.APIGateway client, which seems to be intended for management operations.

My API requires authentication, I use Cognito to authenticate users.

UPDATE:

Therefore, I did not immediately understand that you can directly call Lambda functions using the AWS SDK, and I don’t need to use the API at all.

+5
source share
1 answer

Auto-generated API clients are currently only available for iOS, Android, and JavaScript. We received requests for several other languages ​​that are behind us.

The Gateway API Client in all traditional SDS SDKs is designed exclusively for the APIs APIs that are used to configure and deploy your RestApis.

You will have to write / expand your own subscriber. This might be useful: https://github.com/awslabs/aws-sdk-xamarin/blob/master/AWS.XamarinSDK/AWSSDK_Core/Amazon.Runtime/Pipeline/Handlers/Signer.cs

or public signature documents: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html

+2
source

Source: https://habr.com/ru/post/1242013/


All Articles