@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
Modifier and Type | Method and Description |
---|---|
Future<PostToConnectionResult> |
postToConnectionAsync(PostToConnectionRequest postToConnectionRequest)
Sends the provided data to the specified connection.
|
Future<PostToConnectionResult> |
postToConnectionAsync(PostToConnectionRequest postToConnectionRequest,
AsyncHandler<PostToConnectionRequest,PostToConnectionResult> asyncHandler)
Sends the provided data to the specified connection.
|
getCachedResponseMetadata, postToConnection, shutdown
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.