skip to Main Content

Amazon web services – incompatible types: com.amazonaws.waiters.WaiterParameters is not a functional interface

When I create a dynamodb table, I try to use waiters to wait AWS service to complete its action. CreateTableRequest createRequest = new CreateTableRequest() .withTableName(tableName); CreateTableResult createResult = dynamoDbClient.createTable(createRequest); dynamoDbClient.waiters().tableExists().run(() -> new DescribeTableRequest(tableName)); return dynamoDB.getTable(tableName); But I get: incompatible types:…

VIEW QUESTION

Amazon web services – ECS Service can't obtain configuration from Cognito

I have a .NET application which has AddAuthentication() and UseAuthentication() for my application. Users are authenticated using Cognito. services .AddAuthentication(options => { options.DefaultScheme = JwtBearerDefaults.AuthenticationScheme; options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme; }) .AddJwtBearer(options => { options.RequireHttpsMetadata = true; options.MapInboundClaims = false; options.Authority =…

VIEW QUESTION
Back To Top
Search