1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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>
beantwortet vor 2 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 4 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr