@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonApiGatewayManagementApi
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonApiGatewayManagementApi
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
DeleteConnectionResult |
deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
Delete the connection with the provided id.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetConnectionResult |
getConnection(GetConnectionRequest getConnectionRequest)
Get information about the connection with the provided id.
|
PostToConnectionResult |
postToConnection(PostToConnectionRequest postToConnectionRequest)
Sends the provided data to the specified connection.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
static final String ENDPOINT_PREFIX
DeleteConnectionResult deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
Delete the connection with the provided id.
deleteConnectionRequest
- GoneException
- The connection with the provided id no longer exists.LimitExceededException
- The client is sending more than the allowed number of requests per unit of time or the WebSocket client
side buffer is full.ForbiddenException
- The caller is not authorized to invoke this operation.GetConnectionResult getConnection(GetConnectionRequest getConnectionRequest)
Get information about the connection with the provided id.
getConnectionRequest
- GoneException
- The connection with the provided id no longer exists.LimitExceededException
- The client is sending more than the allowed number of requests per unit of time or the WebSocket client
side buffer is full.ForbiddenException
- The caller is not authorized to invoke this operation.PostToConnectionResult postToConnection(PostToConnectionRequest postToConnectionRequest)
Sends the provided data to the specified connection.
postToConnectionRequest
- GoneException
- The connection with the provided id no longer exists.LimitExceededException
- The client is sending more than the allowed number of requests per unit of time or the WebSocket client
side buffer is full.PayloadTooLargeException
- The data has exceeded the maximum size allowed.ForbiddenException
- The caller is not authorized to invoke this operation.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.