
com.amazonaws.services.appintegrations.AmazonAppIntegrationsAsync Maven / Gradle / Ivy
/*
* Copyright 2018-2023 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.appintegrations;
import javax.annotation.Generated;
import com.amazonaws.services.appintegrations.model.*;
/**
* Interface for accessing Amazon AppIntegrations Service 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.appintegrations.AbstractAmazonAppIntegrationsAsync} instead.
*
*
*
* The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.
*
*
* For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations and Deliver information to agents
* using Amazon Connect Wisdom in the Amazon Connect Administrator Guide.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonAppIntegrationsAsync extends AmazonAppIntegrations {
/**
*
* Creates and persists a DataIntegration resource.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration
API.
*
*
*
* @param createDataIntegrationRequest
* @return A Java Future containing the result of the CreateDataIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsync.CreateDataIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future createDataIntegrationAsync(CreateDataIntegrationRequest createDataIntegrationRequest);
/**
*
* Creates and persists a DataIntegration resource.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration
API.
*
*
*
* @param createDataIntegrationRequest
* @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 CreateDataIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.CreateDataIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future createDataIntegrationAsync(CreateDataIntegrationRequest createDataIntegrationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in
* your account and a partner event source that pushes events to that bus. No objects are created in the your
* account, only metadata that is persisted on the EventIntegration control plane.
*
*
* @param createEventIntegrationRequest
* @return A Java Future containing the result of the CreateEventIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsync.CreateEventIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future createEventIntegrationAsync(CreateEventIntegrationRequest createEventIntegrationRequest);
/**
*
* Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in
* your account and a partner event source that pushes events to that bus. No objects are created in the your
* account, only metadata that is persisted on the EventIntegration control plane.
*
*
* @param createEventIntegrationRequest
* @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 CreateEventIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.CreateEventIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future createEventIntegrationAsync(CreateEventIntegrationRequest createEventIntegrationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be
* deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param deleteDataIntegrationRequest
* @return A Java Future containing the result of the DeleteDataIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsync.DeleteDataIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteDataIntegrationAsync(DeleteDataIntegrationRequest deleteDataIntegrationRequest);
/**
*
* Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be
* deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param deleteDataIntegrationRequest
* @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 DeleteDataIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.DeleteDataIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteDataIntegrationAsync(DeleteDataIntegrationRequest deleteDataIntegrationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified existing event integration. If the event integration is associated with clients, the
* request is rejected.
*
*
* @param deleteEventIntegrationRequest
* @return A Java Future containing the result of the DeleteEventIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsync.DeleteEventIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteEventIntegrationAsync(DeleteEventIntegrationRequest deleteEventIntegrationRequest);
/**
*
* Deletes the specified existing event integration. If the event integration is associated with clients, the
* request is rejected.
*
*
* @param deleteEventIntegrationRequest
* @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 DeleteEventIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.DeleteEventIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteEventIntegrationAsync(DeleteEventIntegrationRequest deleteEventIntegrationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about the DataIntegration.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param getDataIntegrationRequest
* @return A Java Future containing the result of the GetDataIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsync.GetDataIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future getDataIntegrationAsync(GetDataIntegrationRequest getDataIntegrationRequest);
/**
*
* Returns information about the DataIntegration.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param getDataIntegrationRequest
* @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 GetDataIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.GetDataIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future getDataIntegrationAsync(GetDataIntegrationRequest getDataIntegrationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about the event integration.
*
*
* @param getEventIntegrationRequest
* @return A Java Future containing the result of the GetEventIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsync.GetEventIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future getEventIntegrationAsync(GetEventIntegrationRequest getEventIntegrationRequest);
/**
*
* Returns information about the event integration.
*
*
* @param getEventIntegrationRequest
* @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 GetEventIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.GetEventIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future getEventIntegrationAsync(GetEventIntegrationRequest getEventIntegrationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a paginated list of DataIntegration associations in the account.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param listDataIntegrationAssociationsRequest
* @return A Java Future containing the result of the ListDataIntegrationAssociations operation returned by the
* service.
* @sample AmazonAppIntegrationsAsync.ListDataIntegrationAssociations
* @see AWS API Documentation
*/
java.util.concurrent.Future listDataIntegrationAssociationsAsync(
ListDataIntegrationAssociationsRequest listDataIntegrationAssociationsRequest);
/**
*
* Returns a paginated list of DataIntegration associations in the account.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param listDataIntegrationAssociationsRequest
* @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 ListDataIntegrationAssociations operation returned by the
* service.
* @sample AmazonAppIntegrationsAsyncHandler.ListDataIntegrationAssociations
* @see AWS API Documentation
*/
java.util.concurrent.Future listDataIntegrationAssociationsAsync(
ListDataIntegrationAssociationsRequest listDataIntegrationAssociationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a paginated list of DataIntegrations in the account.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param listDataIntegrationsRequest
* @return A Java Future containing the result of the ListDataIntegrations operation returned by the service.
* @sample AmazonAppIntegrationsAsync.ListDataIntegrations
* @see AWS API Documentation
*/
java.util.concurrent.Future listDataIntegrationsAsync(ListDataIntegrationsRequest listDataIntegrationsRequest);
/**
*
* Returns a paginated list of DataIntegrations in the account.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param listDataIntegrationsRequest
* @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 ListDataIntegrations operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.ListDataIntegrations
* @see AWS API Documentation
*/
java.util.concurrent.Future listDataIntegrationsAsync(ListDataIntegrationsRequest listDataIntegrationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a paginated list of event integration associations in the account.
*
*
* @param listEventIntegrationAssociationsRequest
* @return A Java Future containing the result of the ListEventIntegrationAssociations operation returned by the
* service.
* @sample AmazonAppIntegrationsAsync.ListEventIntegrationAssociations
* @see AWS API Documentation
*/
java.util.concurrent.Future listEventIntegrationAssociationsAsync(
ListEventIntegrationAssociationsRequest listEventIntegrationAssociationsRequest);
/**
*
* Returns a paginated list of event integration associations in the account.
*
*
* @param listEventIntegrationAssociationsRequest
* @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 ListEventIntegrationAssociations operation returned by the
* service.
* @sample AmazonAppIntegrationsAsyncHandler.ListEventIntegrationAssociations
* @see AWS API Documentation
*/
java.util.concurrent.Future listEventIntegrationAssociationsAsync(
ListEventIntegrationAssociationsRequest listEventIntegrationAssociationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a paginated list of event integrations in the account.
*
*
* @param listEventIntegrationsRequest
* @return A Java Future containing the result of the ListEventIntegrations operation returned by the service.
* @sample AmazonAppIntegrationsAsync.ListEventIntegrations
* @see AWS API Documentation
*/
java.util.concurrent.Future listEventIntegrationsAsync(ListEventIntegrationsRequest listEventIntegrationsRequest);
/**
*
* Returns a paginated list of event integrations in the account.
*
*
* @param listEventIntegrationsRequest
* @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 ListEventIntegrations operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.ListEventIntegrations
* @see AWS API Documentation
*/
java.util.concurrent.Future listEventIntegrationsAsync(ListEventIntegrationsRequest listEventIntegrationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the tags for the specified resource.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AmazonAppIntegrationsAsync.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Lists the tags for the specified resource.
*
*
* @param listTagsForResourceRequest
* @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 ListTagsForResource operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds the specified tags to the specified resource.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AmazonAppIntegrationsAsync.TagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Adds the specified tags to the specified resource.
*
*
* @param tagResourceRequest
* @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 TagResource operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.TagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes the specified tags from the specified resource.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AmazonAppIntegrationsAsync.UntagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes the specified tags from the specified resource.
*
*
* @param untagResourceRequest
* @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 UntagResource operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.UntagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the description of a DataIntegration.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param updateDataIntegrationRequest
* @return A Java Future containing the result of the UpdateDataIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsync.UpdateDataIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateDataIntegrationAsync(UpdateDataIntegrationRequest updateDataIntegrationRequest);
/**
*
* Updates the description of a DataIntegration.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param updateDataIntegrationRequest
* @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 UpdateDataIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.UpdateDataIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateDataIntegrationAsync(UpdateDataIntegrationRequest updateDataIntegrationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the description of an event integration.
*
*
* @param updateEventIntegrationRequest
* @return A Java Future containing the result of the UpdateEventIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsync.UpdateEventIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateEventIntegrationAsync(UpdateEventIntegrationRequest updateEventIntegrationRequest);
/**
*
* Updates the description of an event integration.
*
*
* @param updateEventIntegrationRequest
* @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 UpdateEventIntegration operation returned by the service.
* @sample AmazonAppIntegrationsAsyncHandler.UpdateEventIntegration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateEventIntegrationAsync(UpdateEventIntegrationRequest updateEventIntegrationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}