@Generated(value="software.amazon.awssdk:codegen") public interface ApiGatewayManagementApiAsyncClient extends SdkClient
builder()
method.
The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, or will be the endpoint corresponding to your API's custom domain and base path, if applicable.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
serviceName
close
static final String SERVICE_NAME
static ApiGatewayManagementApiAsyncClient create()
ApiGatewayManagementApiAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static ApiGatewayManagementApiAsyncClientBuilder builder()
ApiGatewayManagementApiAsyncClient
.default CompletableFuture<DeleteConnectionResponse> deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
Delete the connection with the provided id.
deleteConnectionRequest
- default CompletableFuture<DeleteConnectionResponse> deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest)
Delete the connection with the provided id.
This is a convenience which creates an instance of the DeleteConnectionRequest.Builder
avoiding the need
to create one manually via DeleteConnectionRequest.builder()
deleteConnectionRequest
- A Consumer
that will call methods on DeleteConnectionRequest.Builder
to create a request.default CompletableFuture<GetConnectionResponse> getConnection(GetConnectionRequest getConnectionRequest)
Get information about the connection with the provided id.
getConnectionRequest
- default CompletableFuture<GetConnectionResponse> getConnection(Consumer<GetConnectionRequest.Builder> getConnectionRequest)
Get information about the connection with the provided id.
This is a convenience which creates an instance of the GetConnectionRequest.Builder
avoiding the need to
create one manually via GetConnectionRequest.builder()
getConnectionRequest
- A Consumer
that will call methods on GetConnectionRequest.Builder
to create a request.default CompletableFuture<PostToConnectionResponse> postToConnection(PostToConnectionRequest postToConnectionRequest)
Sends the provided data to the specified connection.
postToConnectionRequest
- default CompletableFuture<PostToConnectionResponse> postToConnection(Consumer<PostToConnectionRequest.Builder> postToConnectionRequest)
Sends the provided data to the specified connection.
This is a convenience which creates an instance of the PostToConnectionRequest.Builder
avoiding the need
to create one manually via PostToConnectionRequest.builder()
postToConnectionRequest
- A Consumer
that will call methods on PostToConnectionRequest.Builder
to create a request.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.