All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.apigatewaymanagementapi.AmazonApiGatewayManagementApiAsync Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AmazonApiGatewayManagementApi module holds the client classes that are used for communicating with AmazonApiGatewayManagementApi Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.apigatewaymanagementapi;

import javax.annotation.Generated;

import com.amazonaws.services.apigatewaymanagementapi.model.*;

/**
 * Interface for accessing AmazonApiGatewayManagementApi asynchronously. Each asynchronous method will return a Java
 * Future object representing the asynchronous operation; overloads which accept an {@code 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 * {@link com.amazonaws.services.apigatewaymanagementapi.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. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonApiGatewayManagementApiAsync extends AmazonApiGatewayManagementApi { /** *

* Delete the connection with the provided id. *

* * @param deleteConnectionRequest * @return A Java Future containing the result of the DeleteConnection operation returned by the service. * @sample AmazonApiGatewayManagementApiAsync.DeleteConnection * @see AWS API Documentation */ java.util.concurrent.Future deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest); /** *

* Delete the connection with the provided id. *

* * @param deleteConnectionRequest * @param 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. * @return A Java Future containing the result of the DeleteConnection operation returned by the service. * @sample AmazonApiGatewayManagementApiAsyncHandler.DeleteConnection * @see AWS API Documentation */ java.util.concurrent.Future deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Get information about the connection with the provided id. *

* * @param getConnectionRequest * @return A Java Future containing the result of the GetConnection operation returned by the service. * @sample AmazonApiGatewayManagementApiAsync.GetConnection * @see AWS API Documentation */ java.util.concurrent.Future getConnectionAsync(GetConnectionRequest getConnectionRequest); /** *

* Get information about the connection with the provided id. *

* * @param getConnectionRequest * @param 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. * @return A Java Future containing the result of the GetConnection operation returned by the service. * @sample AmazonApiGatewayManagementApiAsyncHandler.GetConnection * @see AWS API Documentation */ java.util.concurrent.Future getConnectionAsync(GetConnectionRequest getConnectionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Sends the provided data to the specified connection. *

* * @param postToConnectionRequest * @return A Java Future containing the result of the PostToConnection operation returned by the service. * @sample AmazonApiGatewayManagementApiAsync.PostToConnection * @see AWS API Documentation */ java.util.concurrent.Future postToConnectionAsync(PostToConnectionRequest postToConnectionRequest); /** *

* Sends the provided data to the specified connection. *

* * @param postToConnectionRequest * @param 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. * @return A Java Future containing the result of the PostToConnection operation returned by the service. * @sample AmazonApiGatewayManagementApiAsyncHandler.PostToConnection * @see AWS API Documentation */ java.util.concurrent.Future postToConnectionAsync(PostToConnectionRequest postToConnectionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy