1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
1
I should use another client:
try (val apiGateway = ApiGatewayManagementApiClient.builder() .region(Region.US_EAST_1) .endpointOverride(new URI("https://xxxx.execute-api.us-xxxx.amazonaws.com/xxxx")) .credentialsProvider(StaticCredentialsProvider.create( AwsBasicCredentials.create("xxx", "xxxxx") )).build()) { return apiGateway.getConnection(GetConnectionRequest.builder().connectionId(connId).build()).toString(); } catch (URISyntaxException e) { throw new RuntimeException(e); }
it's located in:
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>apigatewaymanagementapi</artifactId>
</dependency>
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 9 meses