1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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>
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 16 jours
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an