@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonApiGatewayManagementApiAsync extends AmazonApiGatewayManagementApi
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonApiGatewayManagementApiAsync
instead.
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.
ENDPOINT_PREFIX
deleteConnection, getCachedResponseMetadata, getConnection, postToConnection, shutdown
Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest)
Delete the connection with the provided id.
deleteConnectionRequest
- Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest, AsyncHandler<DeleteConnectionRequest,DeleteConnectionResult> asyncHandler)
Delete the connection with the provided id.
deleteConnectionRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetConnectionResult> getConnectionAsync(GetConnectionRequest getConnectionRequest)
Get information about the connection with the provided id.
getConnectionRequest
- Future<GetConnectionResult> getConnectionAsync(GetConnectionRequest getConnectionRequest, AsyncHandler<GetConnectionRequest,GetConnectionResult> asyncHandler)
Get information about the connection with the provided id.
getConnectionRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PostToConnectionResult> postToConnectionAsync(PostToConnectionRequest postToConnectionRequest)
Sends the provided data to the specified connection.
postToConnectionRequest
- Future<PostToConnectionResult> postToConnectionAsync(PostToConnectionRequest postToConnectionRequest, AsyncHandler<PostToConnectionRequest,PostToConnectionResult> asyncHandler)
Sends the provided data to the specified connection.
postToConnectionRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.