【发布时间】:2020-02-23 22:17:05
【问题描述】:
我想在 xamarin 中使用 AWS AppSync,
这是我使用的代码(使用 graphQL),如下所述:
https://gist.github.com/NeilBostrom/cab8b9275e39bb90ecf8e06ab980664b
但我得到了 AmazonAppSyncClient() 构造函数未实现异常
public GraphQLService()
{
credentials = new CognitoAWSCredentials("Identity-pool-ID", // Identity pool ID
RegionEndpoint.USWest2 // Region
);
graphQLClient = new GraphQLClient("https://6vl6q5h2c5bxrbmlimiia5hldy.appsync-api.us-west-2.amazonaws.com/graphql",
new GraphQLClientOptions
{
HttpMessageHandler = new AWS4SignerMessageHandler(
new AmazonAppSyncClient(),
"AKIAIPYMG6M3MLZELEKA",
"tW4NrTvfT5bX8DGI2GusiNWHtWB+9s918uq9QMWp")
});
}
请问有什么解决办法吗?
谢谢。
【问题讨论】:
标签: c# amazon-web-services xamarin graphql aws-appsync