I'm using C++ client to invoke AWS API gateway functions. currently I'm using curl to directly send HTTP requests to the APIs. I downloaded the AWS C++ SDK and I can see that there is a "apigateway" folder inside the SDK package.
However, I could not find any information how to use this apigateway SDK - how to invoke API gateway functions and how to integrate with authorization as specified in Amazon Signature V4 documentation:
When you use the AWS Command Line Interface (AWS CLI) or one of the AWS SDKs to make requests to AWS, these tools automatically sign the requests for you with the security credentials you specify when you configure the tools
Is there any information available of how to work with the apigateway SDK?
Related
I see AWS announced a new extension for lambda to catch secret manager: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets_lambda.html
In the doc, they only mention how to use it in http request. I wonder whether it works for aws sdk? From my understanding, aws sdk uses http underneath. If I use aws sdk to query secret will the extension catches the value to save cost?
SageMaker provides a full machine learning development environment on AWS. It works with the Amazon SageMaker Python SDK, which allows Jupyter Notebooks to interact with the functionality. This also provides the path to using the Amazon SageMaker Feature Store.
Is there any REST API available for SageMaker? Say one wanted to create their own custom UI, but still use SageMaker features, is this possible?
Can it be done using the Amazon API Gateway?
Amazon API Gateway currently does not provide first-class integration for SageMaker. But you can use these services via AWS SDK. If you wish, you can embed the AWS SDK calls into a service, host on AWS (e.g. running on EC2 or as lambda functions) and use API gateway to expose your REST API.
Actually, SageMaker is not fundamentally different from any other AWS service from this aspect.
I think you're better off wrapping the functionalities you need as an API you own to avoid the timeouts associated with REST. Did you check out https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html as well?
I have the "new" HTTP API with a DynamoDB and lambda, I want to provide support for my app to the macOS computers. Is it possible to use the HTTP API Gateway with Amplify? I only see an option for GraphQL and REST
Thaks
I have several API's hosted on AWS that sit behind API Gateway. They are deployed with the serverless framework.
Is there away for me to programmatically query for and retrieve a list of all the API's that are deployed?
if your APIs are deployed as different stacks, you cannot use the serverless CLI command to list them.
but instead, You can use the AWS CLI command to list all the APIs powered by API gateway using the command below.
aws apigateway get-rest-apis
hope this helps
You may use AWS SDK getRestApis service (I linked Java SDK, but you may use any language of your choice)
When you download an auto-generated API client for Java or JavaScript they reference base helper components. Is a version of these available for Xamarin, or is there any way to make or sign requests to the API Gateway using the Xamarin AWS SDK? The only thing I see is the 'test' method in the AWSSDK.APIGateway client, which seems intended for management operations.
My API requires authentication, I'm using Cognito to authenticate users.
UPDATE:
So I didn't realize at first that it was possible to call my Lambda functions directly using the AWS SDK and I don't need to use the API Gateway at all.
the auto-generated API clients are only available for iOS, Android, and JavaScript at this time. We have received requests for multiple other languages, which are on our backlog.
The API Gateway client in all of the traditional AWS SDKs is only built for the API Gateway control APIs, which are used to configure and deploy your RestApis.
You'll have to write/extend your own signer. This may be helpful: https://github.com/awslabs/aws-sdk-xamarin/blob/master/AWS.XamarinSDK/AWSSDK_Core/Amazon.Runtime/Pipeline/Handlers/Signer.cs
or the public signature docs: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html