
com.amazonaws.services.codeconnections.AWSCodeConnectionsAsync Maven / Gradle / Ivy
/*
* Copyright 2019-2024 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.codeconnections;
import javax.annotation.Generated;
import com.amazonaws.services.codeconnections.model.*;
/**
* Interface for accessing AWS CodeConnections 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.codeconnections.AbstractAWSCodeConnectionsAsync} instead.
*
*
* AWS CodeConnections
*
* This Amazon Web Services CodeConnections API Reference provides descriptions and usage examples of the operations and
* data types for the Amazon Web Services CodeConnections API. You can use the connections API to work with connections
* and installations.
*
*
* Connections are configurations that you use to connect Amazon Web Services resources to external code
* repositories. Each connection is a resource that can be given to services such as CodePipeline to connect to a
* third-party repository such as Bitbucket. For example, you can add the connection in CodePipeline so that it triggers
* your pipeline when a code change is made to your third-party code repository. Each connection is named and associated
* with a unique ARN that is used to reference the connection.
*
*
* When you create a connection, the console initiates a third-party connection handshake. Installations are the
* apps that are used to conduct this handshake. For example, the installation for the Bitbucket provider type is the
* Bitbucket app. When you create a connection, you can choose an existing installation or create one.
*
*
* When you want to create a connection to an installed provider type such as GitHub Enterprise Server, you create a
* host for your connections.
*
*
* You can work with connections by calling:
*
*
* -
*
* CreateConnection, which creates a uniquely named connection that can be referenced by services such as
* CodePipeline.
*
*
* -
*
* DeleteConnection, which deletes the specified connection.
*
*
* -
*
* GetConnection, which returns information about the connection, including the connection status.
*
*
* -
*
* ListConnections, which lists the connections associated with your account.
*
*
*
*
* You can work with hosts by calling:
*
*
* -
*
* CreateHost, which creates a host that represents the infrastructure where your provider is installed.
*
*
* -
*
* DeleteHost, which deletes the specified host.
*
*
* -
*
* GetHost, which returns information about the host, including the setup status.
*
*
* -
*
* ListHosts, which lists the hosts associated with your account.
*
*
*
*
* You can work with tags in Amazon Web Services CodeConnections by calling the following:
*
*
* -
*
* ListTagsForResource, which gets information about Amazon Web Services tags for a specified Amazon Resource
* Name (ARN) in Amazon Web Services CodeConnections.
*
*
* -
*
* TagResource, which adds or updates tags for a resource in Amazon Web Services CodeConnections.
*
*
* -
*
* UntagResource, which removes tags for a resource in Amazon Web Services CodeConnections.
*
*
*
*
* For information about how to use Amazon Web Services CodeConnections, see the Developer Tools User
* Guide.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSCodeConnectionsAsync extends AWSCodeConnections {
/**
*
* Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it
* can access third-party code repositories. The connection is in pending status until the third-party connection
* handshake is completed from the console.
*
*
* @param createConnectionRequest
* @return A Java Future containing the result of the CreateConnection operation returned by the service.
* @sample AWSCodeConnectionsAsync.CreateConnection
* @see AWS API Documentation
*/
java.util.concurrent.Future createConnectionAsync(CreateConnectionRequest createConnectionRequest);
/**
*
* Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it
* can access third-party code repositories. The connection is in pending status until the third-party connection
* handshake is completed from the console.
*
*
* @param createConnectionRequest
* @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 CreateConnection operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.CreateConnection
* @see AWS API Documentation
*/
java.util.concurrent.Future createConnectionAsync(CreateConnectionRequest createConnectionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a resource that represents the infrastructure where a third-party provider is installed. The host is used
* when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You
* create one host for all connections to that provider.
*
*
*
* A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE`
* by setting up the host in the console.
*
*
*
* @param createHostRequest
* @return A Java Future containing the result of the CreateHost operation returned by the service.
* @sample AWSCodeConnectionsAsync.CreateHost
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createHostAsync(CreateHostRequest createHostRequest);
/**
*
* Creates a resource that represents the infrastructure where a third-party provider is installed. The host is used
* when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You
* create one host for all connections to that provider.
*
*
*
* A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE`
* by setting up the host in the console.
*
*
*
* @param createHostRequest
* @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 CreateHost operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.CreateHost
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createHostAsync(CreateHostRequest createHostRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync
* changes to files in a specified Git repository.
*
*
* @param createRepositoryLinkRequest
* @return A Java Future containing the result of the CreateRepositoryLink operation returned by the service.
* @sample AWSCodeConnectionsAsync.CreateRepositoryLink
* @see AWS API Documentation
*/
java.util.concurrent.Future createRepositoryLinkAsync(CreateRepositoryLinkRequest createRepositoryLinkRequest);
/**
*
* Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync
* changes to files in a specified Git repository.
*
*
* @param createRepositoryLinkRequest
* @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 CreateRepositoryLink operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.CreateRepositoryLink
* @see AWS API Documentation
*/
java.util.concurrent.Future createRepositoryLinkAsync(CreateRepositoryLinkRequest createRepositoryLinkRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a
* specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type.
*
*
* @param createSyncConfigurationRequest
* @return A Java Future containing the result of the CreateSyncConfiguration operation returned by the service.
* @sample AWSCodeConnectionsAsync.CreateSyncConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future createSyncConfigurationAsync(CreateSyncConfigurationRequest createSyncConfigurationRequest);
/**
*
* Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a
* specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type.
*
*
* @param createSyncConfigurationRequest
* @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 CreateSyncConfiguration operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.CreateSyncConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future createSyncConfigurationAsync(CreateSyncConfigurationRequest createSyncConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* The connection to be deleted.
*
*
* @param deleteConnectionRequest
* @return A Java Future containing the result of the DeleteConnection operation returned by the service.
* @sample AWSCodeConnectionsAsync.DeleteConnection
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest);
/**
*
* The connection to be deleted.
*
*
* @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 AWSCodeConnectionsAsyncHandler.DeleteConnection
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.
*
*
*
* A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.
*
*
*
* @param deleteHostRequest
* @return A Java Future containing the result of the DeleteHost operation returned by the service.
* @sample AWSCodeConnectionsAsync.DeleteHost
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteHostAsync(DeleteHostRequest deleteHostRequest);
/**
*
* The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.
*
*
*
* A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.
*
*
*
* @param deleteHostRequest
* @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 DeleteHost operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.DeleteHost
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteHostAsync(DeleteHostRequest deleteHostRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the association between your connection and a specified external Git repository.
*
*
* @param deleteRepositoryLinkRequest
* @return A Java Future containing the result of the DeleteRepositoryLink operation returned by the service.
* @sample AWSCodeConnectionsAsync.DeleteRepositoryLink
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteRepositoryLinkAsync(DeleteRepositoryLinkRequest deleteRepositoryLinkRequest);
/**
*
* Deletes the association between your connection and a specified external Git repository.
*
*
* @param deleteRepositoryLinkRequest
* @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 DeleteRepositoryLink operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.DeleteRepositoryLink
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteRepositoryLinkAsync(DeleteRepositoryLinkRequest deleteRepositoryLinkRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the sync configuration for a specified repository and connection.
*
*
* @param deleteSyncConfigurationRequest
* @return A Java Future containing the result of the DeleteSyncConfiguration operation returned by the service.
* @sample AWSCodeConnectionsAsync.DeleteSyncConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteSyncConfigurationAsync(DeleteSyncConfigurationRequest deleteSyncConfigurationRequest);
/**
*
* Deletes the sync configuration for a specified repository and connection.
*
*
* @param deleteSyncConfigurationRequest
* @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 DeleteSyncConfiguration operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.DeleteSyncConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteSyncConfigurationAsync(DeleteSyncConfigurationRequest deleteSyncConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the connection ARN and details such as status, owner, and provider type.
*
*
* @param getConnectionRequest
* @return A Java Future containing the result of the GetConnection operation returned by the service.
* @sample AWSCodeConnectionsAsync.GetConnection
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getConnectionAsync(GetConnectionRequest getConnectionRequest);
/**
*
* Returns the connection ARN and details such as status, owner, and provider type.
*
*
* @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 AWSCodeConnectionsAsyncHandler.GetConnection
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getConnectionAsync(GetConnectionRequest getConnectionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC
* configuration.
*
*
* @param getHostRequest
* @return A Java Future containing the result of the GetHost operation returned by the service.
* @sample AWSCodeConnectionsAsync.GetHost
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getHostAsync(GetHostRequest getHostRequest);
/**
*
* Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC
* configuration.
*
*
* @param getHostRequest
* @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 GetHost operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.GetHost
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getHostAsync(GetHostRequest getHostRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files
* in a specified Git repository.
*
*
* @param getRepositoryLinkRequest
* @return A Java Future containing the result of the GetRepositoryLink operation returned by the service.
* @sample AWSCodeConnectionsAsync.GetRepositoryLink
* @see AWS API Documentation
*/
java.util.concurrent.Future getRepositoryLinkAsync(GetRepositoryLinkRequest getRepositoryLinkRequest);
/**
*
* Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files
* in a specified Git repository.
*
*
* @param getRepositoryLinkRequest
* @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 GetRepositoryLink operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.GetRepositoryLink
* @see AWS API Documentation
*/
java.util.concurrent.Future getRepositoryLinkAsync(GetRepositoryLinkRequest getRepositoryLinkRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes
* from your remote repository.
*
*
* @param getRepositorySyncStatusRequest
* @return A Java Future containing the result of the GetRepositorySyncStatus operation returned by the service.
* @sample AWSCodeConnectionsAsync.GetRepositorySyncStatus
* @see AWS API Documentation
*/
java.util.concurrent.Future getRepositorySyncStatusAsync(GetRepositorySyncStatusRequest getRepositorySyncStatusRequest);
/**
*
* Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes
* from your remote repository.
*
*
* @param getRepositorySyncStatusRequest
* @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 GetRepositorySyncStatus operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.GetRepositorySyncStatus
* @see AWS API Documentation
*/
java.util.concurrent.Future getRepositorySyncStatusAsync(GetRepositorySyncStatusRequest getRepositorySyncStatusRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the status of the sync with the Git repository for a specific Amazon Web Services resource.
*
*
* @param getResourceSyncStatusRequest
* @return A Java Future containing the result of the GetResourceSyncStatus operation returned by the service.
* @sample AWSCodeConnectionsAsync.GetResourceSyncStatus
* @see AWS API Documentation
*/
java.util.concurrent.Future getResourceSyncStatusAsync(GetResourceSyncStatusRequest getResourceSyncStatusRequest);
/**
*
* Returns the status of the sync with the Git repository for a specific Amazon Web Services resource.
*
*
* @param getResourceSyncStatusRequest
* @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 GetResourceSyncStatus operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.GetResourceSyncStatus
* @see AWS API Documentation
*/
java.util.concurrent.Future getResourceSyncStatusAsync(GetResourceSyncStatusRequest getResourceSyncStatusRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of the most recent sync blockers.
*
*
* @param getSyncBlockerSummaryRequest
* @return A Java Future containing the result of the GetSyncBlockerSummary operation returned by the service.
* @sample AWSCodeConnectionsAsync.GetSyncBlockerSummary
* @see AWS API Documentation
*/
java.util.concurrent.Future getSyncBlockerSummaryAsync(GetSyncBlockerSummaryRequest getSyncBlockerSummaryRequest);
/**
*
* Returns a list of the most recent sync blockers.
*
*
* @param getSyncBlockerSummaryRequest
* @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 GetSyncBlockerSummary operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.GetSyncBlockerSummary
* @see AWS API Documentation
*/
java.util.concurrent.Future getSyncBlockerSummaryAsync(GetSyncBlockerSummaryRequest getSyncBlockerSummaryRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns details about a sync configuration, including the sync type and resource name. A sync configuration
* allows the configuration to sync (push and pull) changes from the remote repository for a specified branch in a
* Git repository.
*
*
* @param getSyncConfigurationRequest
* @return A Java Future containing the result of the GetSyncConfiguration operation returned by the service.
* @sample AWSCodeConnectionsAsync.GetSyncConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future getSyncConfigurationAsync(GetSyncConfigurationRequest getSyncConfigurationRequest);
/**
*
* Returns details about a sync configuration, including the sync type and resource name. A sync configuration
* allows the configuration to sync (push and pull) changes from the remote repository for a specified branch in a
* Git repository.
*
*
* @param getSyncConfigurationRequest
* @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 GetSyncConfiguration operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.GetSyncConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future getSyncConfigurationAsync(GetSyncConfigurationRequest getSyncConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the connections associated with your account.
*
*
* @param listConnectionsRequest
* @return A Java Future containing the result of the ListConnections operation returned by the service.
* @sample AWSCodeConnectionsAsync.ListConnections
* @see AWS API Documentation
*/
java.util.concurrent.Future listConnectionsAsync(ListConnectionsRequest listConnectionsRequest);
/**
*
* Lists the connections associated with your account.
*
*
* @param listConnectionsRequest
* @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 ListConnections operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.ListConnections
* @see AWS API Documentation
*/
java.util.concurrent.Future listConnectionsAsync(ListConnectionsRequest listConnectionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the hosts associated with your account.
*
*
* @param listHostsRequest
* @return A Java Future containing the result of the ListHosts operation returned by the service.
* @sample AWSCodeConnectionsAsync.ListHosts
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listHostsAsync(ListHostsRequest listHostsRequest);
/**
*
* Lists the hosts associated with your account.
*
*
* @param listHostsRequest
* @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 ListHosts operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.ListHosts
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listHostsAsync(ListHostsRequest listHostsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the repository links created for connections in your account.
*
*
* @param listRepositoryLinksRequest
* @return A Java Future containing the result of the ListRepositoryLinks operation returned by the service.
* @sample AWSCodeConnectionsAsync.ListRepositoryLinks
* @see AWS API Documentation
*/
java.util.concurrent.Future listRepositoryLinksAsync(ListRepositoryLinksRequest listRepositoryLinksRequest);
/**
*
* Lists the repository links created for connections in your account.
*
*
* @param listRepositoryLinksRequest
* @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 ListRepositoryLinks operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.ListRepositoryLinks
* @see AWS API Documentation
*/
java.util.concurrent.Future listRepositoryLinksAsync(ListRepositoryLinksRequest listRepositoryLinksRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the repository sync definitions for repository links in your account.
*
*
* @param listRepositorySyncDefinitionsRequest
* @return A Java Future containing the result of the ListRepositorySyncDefinitions operation returned by the
* service.
* @sample AWSCodeConnectionsAsync.ListRepositorySyncDefinitions
* @see AWS API Documentation
*/
java.util.concurrent.Future listRepositorySyncDefinitionsAsync(
ListRepositorySyncDefinitionsRequest listRepositorySyncDefinitionsRequest);
/**
*
* Lists the repository sync definitions for repository links in your account.
*
*
* @param listRepositorySyncDefinitionsRequest
* @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 ListRepositorySyncDefinitions operation returned by the
* service.
* @sample AWSCodeConnectionsAsyncHandler.ListRepositorySyncDefinitions
* @see AWS API Documentation
*/
java.util.concurrent.Future listRepositorySyncDefinitionsAsync(
ListRepositorySyncDefinitionsRequest listRepositorySyncDefinitionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of sync configurations for a specified repository.
*
*
* @param listSyncConfigurationsRequest
* @return A Java Future containing the result of the ListSyncConfigurations operation returned by the service.
* @sample AWSCodeConnectionsAsync.ListSyncConfigurations
* @see AWS API Documentation
*/
java.util.concurrent.Future listSyncConfigurationsAsync(ListSyncConfigurationsRequest listSyncConfigurationsRequest);
/**
*
* Returns a list of sync configurations for a specified repository.
*
*
* @param listSyncConfigurationsRequest
* @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 ListSyncConfigurations operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.ListSyncConfigurations
* @see AWS API Documentation
*/
java.util.concurrent.Future listSyncConfigurationsAsync(ListSyncConfigurationsRequest listSyncConfigurationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the set of key-value pairs (metadata) that are used to manage the resource.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSCodeConnectionsAsync.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Gets the set of key-value pairs (metadata) that are used to manage the 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 AWSCodeConnectionsAsyncHandler.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSCodeConnectionsAsync.TagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a 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 AWSCodeConnectionsAsyncHandler.TagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes tags from an Amazon Web Services resource.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSCodeConnectionsAsync.UntagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes tags from an Amazon Web Services 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 AWSCodeConnectionsAsyncHandler.UntagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a specified host with the provided configurations.
*
*
* @param updateHostRequest
* @return A Java Future containing the result of the UpdateHost operation returned by the service.
* @sample AWSCodeConnectionsAsync.UpdateHost
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateHostAsync(UpdateHostRequest updateHostRequest);
/**
*
* Updates a specified host with the provided configurations.
*
*
* @param updateHostRequest
* @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 UpdateHost operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.UpdateHost
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateHostAsync(UpdateHostRequest updateHostRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the association between your connection and a specified external Git repository. A repository link allows
* Git sync to monitor and sync changes to files in a specified Git repository.
*
*
* @param updateRepositoryLinkRequest
* @return A Java Future containing the result of the UpdateRepositoryLink operation returned by the service.
* @sample AWSCodeConnectionsAsync.UpdateRepositoryLink
* @see AWS API Documentation
*/
java.util.concurrent.Future updateRepositoryLinkAsync(UpdateRepositoryLinkRequest updateRepositoryLinkRequest);
/**
*
* Updates the association between your connection and a specified external Git repository. A repository link allows
* Git sync to monitor and sync changes to files in a specified Git repository.
*
*
* @param updateRepositoryLinkRequest
* @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 UpdateRepositoryLink operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.UpdateRepositoryLink
* @see AWS API Documentation
*/
java.util.concurrent.Future updateRepositoryLinkAsync(UpdateRepositoryLinkRequest updateRepositoryLinkRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.
*
*
* @param updateSyncBlockerRequest
* @return A Java Future containing the result of the UpdateSyncBlocker operation returned by the service.
* @sample AWSCodeConnectionsAsync.UpdateSyncBlocker
* @see AWS API Documentation
*/
java.util.concurrent.Future updateSyncBlockerAsync(UpdateSyncBlockerRequest updateSyncBlockerRequest);
/**
*
* Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.
*
*
* @param updateSyncBlockerRequest
* @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 UpdateSyncBlocker operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.UpdateSyncBlocker
* @see AWS API Documentation
*/
java.util.concurrent.Future updateSyncBlockerAsync(UpdateSyncBlockerRequest updateSyncBlockerRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the sync configuration for your connection and a specified external Git repository.
*
*
* @param updateSyncConfigurationRequest
* @return A Java Future containing the result of the UpdateSyncConfiguration operation returned by the service.
* @sample AWSCodeConnectionsAsync.UpdateSyncConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateSyncConfigurationAsync(UpdateSyncConfigurationRequest updateSyncConfigurationRequest);
/**
*
* Updates the sync configuration for your connection and a specified external Git repository.
*
*
* @param updateSyncConfigurationRequest
* @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 UpdateSyncConfiguration operation returned by the service.
* @sample AWSCodeConnectionsAsyncHandler.UpdateSyncConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateSyncConfigurationAsync(UpdateSyncConfigurationRequest updateSyncConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}