@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSCodeConnectionsAsyncClient extends AWSCodeConnectionsClient implements AWSCodeConnectionsAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createConnection, createHost, createRepositoryLink, createSyncConfiguration, deleteConnection, deleteHost, deleteRepositoryLink, deleteSyncConfiguration, getCachedResponseMetadata, getConnection, getHost, getRepositoryLink, getRepositorySyncStatus, getResourceSyncStatus, getSyncBlockerSummary, getSyncConfiguration, listConnections, listHosts, listRepositoryLinks, listRepositorySyncDefinitions, listSyncConfigurations, listTagsForResource, tagResource, untagResource, updateHost, updateRepositoryLink, updateSyncBlocker, updateSyncConfiguration
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createConnection, createHost, createRepositoryLink, createSyncConfiguration, deleteConnection, deleteHost, deleteRepositoryLink, deleteSyncConfiguration, getCachedResponseMetadata, getConnection, getHost, getRepositoryLink, getRepositorySyncStatus, getResourceSyncStatus, getSyncBlockerSummary, getSyncConfiguration, listConnections, listHosts, listRepositoryLinks, listRepositorySyncDefinitions, listSyncConfigurations, listTagsForResource, tagResource, untagResource, updateHost, updateRepositoryLink, updateSyncBlocker, updateSyncConfiguration
public static AWSCodeConnectionsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateConnectionResult> createConnectionAsync(CreateConnectionRequest request)
AWSCodeConnectionsAsync
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.
createConnectionAsync
in interface AWSCodeConnectionsAsync
public Future<CreateConnectionResult> createConnectionAsync(CreateConnectionRequest request, AsyncHandler<CreateConnectionRequest,CreateConnectionResult> asyncHandler)
AWSCodeConnectionsAsync
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.
createConnectionAsync
in interface AWSCodeConnectionsAsync
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.public Future<CreateHostResult> createHostAsync(CreateHostRequest request)
AWSCodeConnectionsAsync
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.
createHostAsync
in interface AWSCodeConnectionsAsync
public Future<CreateHostResult> createHostAsync(CreateHostRequest request, AsyncHandler<CreateHostRequest,CreateHostResult> asyncHandler)
AWSCodeConnectionsAsync
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.
createHostAsync
in interface AWSCodeConnectionsAsync
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.public Future<CreateRepositoryLinkResult> createRepositoryLinkAsync(CreateRepositoryLinkRequest request)
AWSCodeConnectionsAsync
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.
createRepositoryLinkAsync
in interface AWSCodeConnectionsAsync
public Future<CreateRepositoryLinkResult> createRepositoryLinkAsync(CreateRepositoryLinkRequest request, AsyncHandler<CreateRepositoryLinkRequest,CreateRepositoryLinkResult> asyncHandler)
AWSCodeConnectionsAsync
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.
createRepositoryLinkAsync
in interface AWSCodeConnectionsAsync
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.public Future<CreateSyncConfigurationResult> createSyncConfigurationAsync(CreateSyncConfigurationRequest request)
AWSCodeConnectionsAsync
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.
createSyncConfigurationAsync
in interface AWSCodeConnectionsAsync
public Future<CreateSyncConfigurationResult> createSyncConfigurationAsync(CreateSyncConfigurationRequest request, AsyncHandler<CreateSyncConfigurationRequest,CreateSyncConfigurationResult> asyncHandler)
AWSCodeConnectionsAsync
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.
createSyncConfigurationAsync
in interface AWSCodeConnectionsAsync
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.public Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest request)
AWSCodeConnectionsAsync
The connection to be deleted.
deleteConnectionAsync
in interface AWSCodeConnectionsAsync
public Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest request, AsyncHandler<DeleteConnectionRequest,DeleteConnectionResult> asyncHandler)
AWSCodeConnectionsAsync
The connection to be deleted.
deleteConnectionAsync
in interface AWSCodeConnectionsAsync
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.public Future<DeleteHostResult> deleteHostAsync(DeleteHostRequest request)
AWSCodeConnectionsAsync
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.
deleteHostAsync
in interface AWSCodeConnectionsAsync
public Future<DeleteHostResult> deleteHostAsync(DeleteHostRequest request, AsyncHandler<DeleteHostRequest,DeleteHostResult> asyncHandler)
AWSCodeConnectionsAsync
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.
deleteHostAsync
in interface AWSCodeConnectionsAsync
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.public Future<DeleteRepositoryLinkResult> deleteRepositoryLinkAsync(DeleteRepositoryLinkRequest request)
AWSCodeConnectionsAsync
Deletes the association between your connection and a specified external Git repository.
deleteRepositoryLinkAsync
in interface AWSCodeConnectionsAsync
public Future<DeleteRepositoryLinkResult> deleteRepositoryLinkAsync(DeleteRepositoryLinkRequest request, AsyncHandler<DeleteRepositoryLinkRequest,DeleteRepositoryLinkResult> asyncHandler)
AWSCodeConnectionsAsync
Deletes the association between your connection and a specified external Git repository.
deleteRepositoryLinkAsync
in interface AWSCodeConnectionsAsync
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.public Future<DeleteSyncConfigurationResult> deleteSyncConfigurationAsync(DeleteSyncConfigurationRequest request)
AWSCodeConnectionsAsync
Deletes the sync configuration for a specified repository and connection.
deleteSyncConfigurationAsync
in interface AWSCodeConnectionsAsync
public Future<DeleteSyncConfigurationResult> deleteSyncConfigurationAsync(DeleteSyncConfigurationRequest request, AsyncHandler<DeleteSyncConfigurationRequest,DeleteSyncConfigurationResult> asyncHandler)
AWSCodeConnectionsAsync
Deletes the sync configuration for a specified repository and connection.
deleteSyncConfigurationAsync
in interface AWSCodeConnectionsAsync
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.public Future<GetConnectionResult> getConnectionAsync(GetConnectionRequest request)
AWSCodeConnectionsAsync
Returns the connection ARN and details such as status, owner, and provider type.
getConnectionAsync
in interface AWSCodeConnectionsAsync
public Future<GetConnectionResult> getConnectionAsync(GetConnectionRequest request, AsyncHandler<GetConnectionRequest,GetConnectionResult> asyncHandler)
AWSCodeConnectionsAsync
Returns the connection ARN and details such as status, owner, and provider type.
getConnectionAsync
in interface AWSCodeConnectionsAsync
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.public Future<GetHostResult> getHostAsync(GetHostRequest request)
AWSCodeConnectionsAsync
Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.
getHostAsync
in interface AWSCodeConnectionsAsync
public Future<GetHostResult> getHostAsync(GetHostRequest request, AsyncHandler<GetHostRequest,GetHostResult> asyncHandler)
AWSCodeConnectionsAsync
Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.
getHostAsync
in interface AWSCodeConnectionsAsync
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.public Future<GetRepositoryLinkResult> getRepositoryLinkAsync(GetRepositoryLinkRequest request)
AWSCodeConnectionsAsync
Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files in a specified Git repository.
getRepositoryLinkAsync
in interface AWSCodeConnectionsAsync
public Future<GetRepositoryLinkResult> getRepositoryLinkAsync(GetRepositoryLinkRequest request, AsyncHandler<GetRepositoryLinkRequest,GetRepositoryLinkResult> asyncHandler)
AWSCodeConnectionsAsync
Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files in a specified Git repository.
getRepositoryLinkAsync
in interface AWSCodeConnectionsAsync
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.public Future<GetRepositorySyncStatusResult> getRepositorySyncStatusAsync(GetRepositorySyncStatusRequest request)
AWSCodeConnectionsAsync
Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository.
getRepositorySyncStatusAsync
in interface AWSCodeConnectionsAsync
public Future<GetRepositorySyncStatusResult> getRepositorySyncStatusAsync(GetRepositorySyncStatusRequest request, AsyncHandler<GetRepositorySyncStatusRequest,GetRepositorySyncStatusResult> asyncHandler)
AWSCodeConnectionsAsync
Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository.
getRepositorySyncStatusAsync
in interface AWSCodeConnectionsAsync
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.public Future<GetResourceSyncStatusResult> getResourceSyncStatusAsync(GetResourceSyncStatusRequest request)
AWSCodeConnectionsAsync
Returns the status of the sync with the Git repository for a specific Amazon Web Services resource.
getResourceSyncStatusAsync
in interface AWSCodeConnectionsAsync
public Future<GetResourceSyncStatusResult> getResourceSyncStatusAsync(GetResourceSyncStatusRequest request, AsyncHandler<GetResourceSyncStatusRequest,GetResourceSyncStatusResult> asyncHandler)
AWSCodeConnectionsAsync
Returns the status of the sync with the Git repository for a specific Amazon Web Services resource.
getResourceSyncStatusAsync
in interface AWSCodeConnectionsAsync
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.public Future<GetSyncBlockerSummaryResult> getSyncBlockerSummaryAsync(GetSyncBlockerSummaryRequest request)
AWSCodeConnectionsAsync
Returns a list of the most recent sync blockers.
getSyncBlockerSummaryAsync
in interface AWSCodeConnectionsAsync
public Future<GetSyncBlockerSummaryResult> getSyncBlockerSummaryAsync(GetSyncBlockerSummaryRequest request, AsyncHandler<GetSyncBlockerSummaryRequest,GetSyncBlockerSummaryResult> asyncHandler)
AWSCodeConnectionsAsync
Returns a list of the most recent sync blockers.
getSyncBlockerSummaryAsync
in interface AWSCodeConnectionsAsync
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.public Future<GetSyncConfigurationResult> getSyncConfigurationAsync(GetSyncConfigurationRequest request)
AWSCodeConnectionsAsync
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.
getSyncConfigurationAsync
in interface AWSCodeConnectionsAsync
public Future<GetSyncConfigurationResult> getSyncConfigurationAsync(GetSyncConfigurationRequest request, AsyncHandler<GetSyncConfigurationRequest,GetSyncConfigurationResult> asyncHandler)
AWSCodeConnectionsAsync
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.
getSyncConfigurationAsync
in interface AWSCodeConnectionsAsync
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.public Future<ListConnectionsResult> listConnectionsAsync(ListConnectionsRequest request)
AWSCodeConnectionsAsync
Lists the connections associated with your account.
listConnectionsAsync
in interface AWSCodeConnectionsAsync
public Future<ListConnectionsResult> listConnectionsAsync(ListConnectionsRequest request, AsyncHandler<ListConnectionsRequest,ListConnectionsResult> asyncHandler)
AWSCodeConnectionsAsync
Lists the connections associated with your account.
listConnectionsAsync
in interface AWSCodeConnectionsAsync
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.public Future<ListHostsResult> listHostsAsync(ListHostsRequest request)
AWSCodeConnectionsAsync
Lists the hosts associated with your account.
listHostsAsync
in interface AWSCodeConnectionsAsync
public Future<ListHostsResult> listHostsAsync(ListHostsRequest request, AsyncHandler<ListHostsRequest,ListHostsResult> asyncHandler)
AWSCodeConnectionsAsync
Lists the hosts associated with your account.
listHostsAsync
in interface AWSCodeConnectionsAsync
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.public Future<ListRepositoryLinksResult> listRepositoryLinksAsync(ListRepositoryLinksRequest request)
AWSCodeConnectionsAsync
Lists the repository links created for connections in your account.
listRepositoryLinksAsync
in interface AWSCodeConnectionsAsync
public Future<ListRepositoryLinksResult> listRepositoryLinksAsync(ListRepositoryLinksRequest request, AsyncHandler<ListRepositoryLinksRequest,ListRepositoryLinksResult> asyncHandler)
AWSCodeConnectionsAsync
Lists the repository links created for connections in your account.
listRepositoryLinksAsync
in interface AWSCodeConnectionsAsync
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.public Future<ListRepositorySyncDefinitionsResult> listRepositorySyncDefinitionsAsync(ListRepositorySyncDefinitionsRequest request)
AWSCodeConnectionsAsync
Lists the repository sync definitions for repository links in your account.
listRepositorySyncDefinitionsAsync
in interface AWSCodeConnectionsAsync
public Future<ListRepositorySyncDefinitionsResult> listRepositorySyncDefinitionsAsync(ListRepositorySyncDefinitionsRequest request, AsyncHandler<ListRepositorySyncDefinitionsRequest,ListRepositorySyncDefinitionsResult> asyncHandler)
AWSCodeConnectionsAsync
Lists the repository sync definitions for repository links in your account.
listRepositorySyncDefinitionsAsync
in interface AWSCodeConnectionsAsync
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.public Future<ListSyncConfigurationsResult> listSyncConfigurationsAsync(ListSyncConfigurationsRequest request)
AWSCodeConnectionsAsync
Returns a list of sync configurations for a specified repository.
listSyncConfigurationsAsync
in interface AWSCodeConnectionsAsync
public Future<ListSyncConfigurationsResult> listSyncConfigurationsAsync(ListSyncConfigurationsRequest request, AsyncHandler<ListSyncConfigurationsRequest,ListSyncConfigurationsResult> asyncHandler)
AWSCodeConnectionsAsync
Returns a list of sync configurations for a specified repository.
listSyncConfigurationsAsync
in interface AWSCodeConnectionsAsync
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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSCodeConnectionsAsync
Gets the set of key-value pairs (metadata) that are used to manage the resource.
listTagsForResourceAsync
in interface AWSCodeConnectionsAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSCodeConnectionsAsync
Gets the set of key-value pairs (metadata) that are used to manage the resource.
listTagsForResourceAsync
in interface AWSCodeConnectionsAsync
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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSCodeConnectionsAsync
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
tagResourceAsync
in interface AWSCodeConnectionsAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSCodeConnectionsAsync
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
tagResourceAsync
in interface AWSCodeConnectionsAsync
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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSCodeConnectionsAsync
Removes tags from an Amazon Web Services resource.
untagResourceAsync
in interface AWSCodeConnectionsAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSCodeConnectionsAsync
Removes tags from an Amazon Web Services resource.
untagResourceAsync
in interface AWSCodeConnectionsAsync
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.public Future<UpdateHostResult> updateHostAsync(UpdateHostRequest request)
AWSCodeConnectionsAsync
Updates a specified host with the provided configurations.
updateHostAsync
in interface AWSCodeConnectionsAsync
public Future<UpdateHostResult> updateHostAsync(UpdateHostRequest request, AsyncHandler<UpdateHostRequest,UpdateHostResult> asyncHandler)
AWSCodeConnectionsAsync
Updates a specified host with the provided configurations.
updateHostAsync
in interface AWSCodeConnectionsAsync
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.public Future<UpdateRepositoryLinkResult> updateRepositoryLinkAsync(UpdateRepositoryLinkRequest request)
AWSCodeConnectionsAsync
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.
updateRepositoryLinkAsync
in interface AWSCodeConnectionsAsync
public Future<UpdateRepositoryLinkResult> updateRepositoryLinkAsync(UpdateRepositoryLinkRequest request, AsyncHandler<UpdateRepositoryLinkRequest,UpdateRepositoryLinkResult> asyncHandler)
AWSCodeConnectionsAsync
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.
updateRepositoryLinkAsync
in interface AWSCodeConnectionsAsync
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.public Future<UpdateSyncBlockerResult> updateSyncBlockerAsync(UpdateSyncBlockerRequest request)
AWSCodeConnectionsAsync
Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.
updateSyncBlockerAsync
in interface AWSCodeConnectionsAsync
public Future<UpdateSyncBlockerResult> updateSyncBlockerAsync(UpdateSyncBlockerRequest request, AsyncHandler<UpdateSyncBlockerRequest,UpdateSyncBlockerResult> asyncHandler)
AWSCodeConnectionsAsync
Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.
updateSyncBlockerAsync
in interface AWSCodeConnectionsAsync
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.public Future<UpdateSyncConfigurationResult> updateSyncConfigurationAsync(UpdateSyncConfigurationRequest request)
AWSCodeConnectionsAsync
Updates the sync configuration for your connection and a specified external Git repository.
updateSyncConfigurationAsync
in interface AWSCodeConnectionsAsync
public Future<UpdateSyncConfigurationResult> updateSyncConfigurationAsync(UpdateSyncConfigurationRequest request, AsyncHandler<UpdateSyncConfigurationRequest,UpdateSyncConfigurationResult> asyncHandler)
AWSCodeConnectionsAsync
Updates the sync configuration for your connection and a specified external Git repository.
updateSyncConfigurationAsync
in interface AWSCodeConnectionsAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSCodeConnections
shutdown
in class AWSCodeConnectionsClient