1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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 hace 2 años
Contenido relevante
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 9 meses
- OFICIAL DE AWSActualizada hace un año