@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonApiGatewayManagementApiClient extends AmazonWebServiceClient implements AmazonApiGatewayManagementApi
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonApiGatewayManagementApiClientBuilder |
builder() |
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.
|
PostToConnectionResult |
postToConnection(PostToConnectionRequest request)
Sends the provided data to the specified connection.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AmazonApiGatewayManagementApiClientBuilder builder()
public PostToConnectionResult postToConnection(PostToConnectionRequest request)
Sends the provided data to the specified connection.
postToConnection
in interface AmazonApiGatewayManagementApi
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.PayloadTooLargeException
- The data has exceeded the maximum size allowed.ForbiddenException
- The caller is not authorized to invoke this operation.public 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 the request.
getCachedResponseMetadata
in interface AmazonApiGatewayManagementApi
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.