@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSApplicationDiscoveryAsyncClient extends AWSApplicationDiscoveryClient implements AWSApplicationDiscoveryAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Amazon Web Services Application Discovery Service (Application Discovery Service) helps you plan application migration projects. It automatically identifies servers, virtual machines (VMs), and network dependencies in your on-premises data centers. For more information, see the Amazon Web Services Application Discovery Service FAQ.
Application Discovery Service offers three ways of performing discovery and collecting data about your on-premises servers:
Agentless discovery using Amazon Web Services Application Discovery Service Agentless Collector (Agentless Collector), which doesn't require you to install an agent on each host.
Agentless Collector gathers server information regardless of the operating systems, which minimizes the time required for initial on-premises infrastructure assessment.
Agentless Collector doesn't collect information about network dependencies, only agent-based discovery collects that information.
Agent-based discovery using the Amazon Web Services Application Discovery Agent (Application Discovery Agent) collects a richer set of data than agentless discovery, which you install on one or more hosts in your data center.
The agent captures infrastructure and application information, including an inventory of running processes, system performance information, resource utilization, and network dependencies.
The information collected by agents is secured at rest and in transit to the Application Discovery Service database in the Amazon Web Services cloud. For more information, see Amazon Web Services Application Discovery Agent.
Amazon Web Services Partner Network (APN) solutions integrate with Application Discovery Service, enabling you to import details of your on-premises environment directly into Amazon Web Services Migration Hub (Migration Hub) without using Agentless Collector or Application Discovery Agent.
Third-party application discovery tools can query Amazon Web Services Application Discovery Service, and they can write to the Application Discovery Service database using the public API.
In this way, you can import data into Migration Hub and view it, so that you can associate applications with servers and track migrations.
Working With This Guide
This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Application Discovery Service. The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see Amazon Web Services SDKs.
Remember that you must set your Migration Hub home Region before you call any of these APIs.
You must make API calls for write actions (create, notify, associate, disassociate, import, or put) while in your
home Region, or a HomeRegionNotSetException
error is returned.
API calls for read actions (list, describe, stop, and delete) are permitted outside of your home Region.
Although it is unlikely, the Migration Hub home Region could change. If you call APIs outside the home Region, an
InvalidInputException
is returned.
You must call GetHomeRegion
to obtain the latest Migration Hub home Region.
This guide is intended for use with the Amazon Web Services Application Discovery Service User Guide.
All data is handled according to the Amazon Web Services Privacy Policy. You can operate Application Discovery Service offline to inspect collected data before it is shared with the service.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AWSApplicationDiscoveryAsyncClient()
Deprecated.
|
AWSApplicationDiscoveryAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AWSApplicationDiscoveryAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSApplicationDiscoveryAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AWSApplicationDiscoveryAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSApplicationDiscoveryAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSApplicationDiscoveryAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSApplicationDiscoveryAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AWSApplicationDiscoveryAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
associateConfigurationItemsToApplication, batchDeleteAgents, batchDeleteImportData, builder, createApplication, createTags, deleteApplications, deleteTags, describeAgents, describeBatchDeleteConfigurationTask, describeConfigurations, describeContinuousExports, describeExportConfigurations, describeExportTasks, describeImportTasks, describeTags, disassociateConfigurationItemsFromApplication, exportConfigurations, getCachedResponseMetadata, getDiscoverySummary, listConfigurations, listServerNeighbors, startBatchDeleteConfigurationTask, startContinuousExport, startDataCollectionByAgentIds, startExportTask, startImportTask, stopContinuousExport, stopDataCollectionByAgentIds, updateApplication
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
associateConfigurationItemsToApplication, batchDeleteAgents, batchDeleteImportData, createApplication, createTags, deleteApplications, deleteTags, describeAgents, describeBatchDeleteConfigurationTask, describeConfigurations, describeContinuousExports, describeExportConfigurations, describeExportTasks, describeImportTasks, describeTags, disassociateConfigurationItemsFromApplication, exportConfigurations, getCachedResponseMetadata, getDiscoverySummary, listConfigurations, listServerNeighbors, setEndpoint, setRegion, startBatchDeleteConfigurationTask, startContinuousExport, startDataCollectionByAgentIds, startExportTask, startImportTask, stopContinuousExport, stopDataCollectionByAgentIds, updateApplication
@Deprecated public AWSApplicationDiscoveryAsyncClient()
AWSApplicationDiscoveryAsyncClientBuilder.defaultClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AWSApplicationDiscoveryAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to AWS Application Discovery Service
(ex: proxy settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSApplicationDiscoveryAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSApplicationDiscoveryAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSApplicationDiscoveryAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSApplicationDiscoveryAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSApplicationDiscoveryAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSApplicationDiscoveryAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSApplicationDiscoveryAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public static AWSApplicationDiscoveryAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateConfigurationItemsToApplicationResult> associateConfigurationItemsToApplicationAsync(AssociateConfigurationItemsToApplicationRequest request)
AWSApplicationDiscoveryAsync
Associates one or more configuration items with an application.
associateConfigurationItemsToApplicationAsync
in interface AWSApplicationDiscoveryAsync
public Future<AssociateConfigurationItemsToApplicationResult> associateConfigurationItemsToApplicationAsync(AssociateConfigurationItemsToApplicationRequest request, AsyncHandler<AssociateConfigurationItemsToApplicationRequest,AssociateConfigurationItemsToApplicationResult> asyncHandler)
AWSApplicationDiscoveryAsync
Associates one or more configuration items with an application.
associateConfigurationItemsToApplicationAsync
in interface AWSApplicationDiscoveryAsync
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<BatchDeleteAgentsResult> batchDeleteAgentsAsync(BatchDeleteAgentsRequest request)
AWSApplicationDiscoveryAsync
Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not delete the
previously discovered data. To delete the data collected, use StartBatchDeleteConfigurationTask
.
batchDeleteAgentsAsync
in interface AWSApplicationDiscoveryAsync
public Future<BatchDeleteAgentsResult> batchDeleteAgentsAsync(BatchDeleteAgentsRequest request, AsyncHandler<BatchDeleteAgentsRequest,BatchDeleteAgentsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not delete the
previously discovered data. To delete the data collected, use StartBatchDeleteConfigurationTask
.
batchDeleteAgentsAsync
in interface AWSApplicationDiscoveryAsync
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<BatchDeleteImportDataResult> batchDeleteImportDataAsync(BatchDeleteImportDataRequest request)
AWSApplicationDiscoveryAsync
Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records that can identify servers or applications.
Amazon Web Services Application Discovery Service has built-in matching logic that will identify when discovered servers match existing entries that you've previously discovered, the information for the already-existing discovered server is updated. When you delete an import task that contains records that were used to match, the information in those matched records that comes from the deleted records will also be deleted.
batchDeleteImportDataAsync
in interface AWSApplicationDiscoveryAsync
public Future<BatchDeleteImportDataResult> batchDeleteImportDataAsync(BatchDeleteImportDataRequest request, AsyncHandler<BatchDeleteImportDataRequest,BatchDeleteImportDataResult> asyncHandler)
AWSApplicationDiscoveryAsync
Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records that can identify servers or applications.
Amazon Web Services Application Discovery Service has built-in matching logic that will identify when discovered servers match existing entries that you've previously discovered, the information for the already-existing discovered server is updated. When you delete an import task that contains records that were used to match, the information in those matched records that comes from the deleted records will also be deleted.
batchDeleteImportDataAsync
in interface AWSApplicationDiscoveryAsync
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<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AWSApplicationDiscoveryAsync
Creates an application with the given name and description.
createApplicationAsync
in interface AWSApplicationDiscoveryAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AWSApplicationDiscoveryAsync
Creates an application with the given name and description.
createApplicationAsync
in interface AWSApplicationDiscoveryAsync
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<CreateTagsResult> createTagsAsync(CreateTagsRequest request)
AWSApplicationDiscoveryAsync
Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.
Do not store sensitive information (like personal data) in tags.
createTagsAsync
in interface AWSApplicationDiscoveryAsync
public Future<CreateTagsResult> createTagsAsync(CreateTagsRequest request, AsyncHandler<CreateTagsRequest,CreateTagsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.
Do not store sensitive information (like personal data) in tags.
createTagsAsync
in interface AWSApplicationDiscoveryAsync
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<DeleteApplicationsResult> deleteApplicationsAsync(DeleteApplicationsRequest request)
AWSApplicationDiscoveryAsync
Deletes a list of applications and their associations with configuration items.
deleteApplicationsAsync
in interface AWSApplicationDiscoveryAsync
public Future<DeleteApplicationsResult> deleteApplicationsAsync(DeleteApplicationsRequest request, AsyncHandler<DeleteApplicationsRequest,DeleteApplicationsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Deletes a list of applications and their associations with configuration items.
deleteApplicationsAsync
in interface AWSApplicationDiscoveryAsync
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<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request)
AWSApplicationDiscoveryAsync
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
deleteTagsAsync
in interface AWSApplicationDiscoveryAsync
public Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request, AsyncHandler<DeleteTagsRequest,DeleteTagsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
deleteTagsAsync
in interface AWSApplicationDiscoveryAsync
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<DescribeAgentsResult> describeAgentsAsync(DescribeAgentsRequest request)
AWSApplicationDiscoveryAsync
Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user
can be listed if you call DescribeAgents
as is without passing any parameters.
describeAgentsAsync
in interface AWSApplicationDiscoveryAsync
public Future<DescribeAgentsResult> describeAgentsAsync(DescribeAgentsRequest request, AsyncHandler<DescribeAgentsRequest,DescribeAgentsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user
can be listed if you call DescribeAgents
as is without passing any parameters.
describeAgentsAsync
in interface AWSApplicationDiscoveryAsync
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<DescribeBatchDeleteConfigurationTaskResult> describeBatchDeleteConfigurationTaskAsync(DescribeBatchDeleteConfigurationTaskRequest request)
AWSApplicationDiscoveryAsync
Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.
describeBatchDeleteConfigurationTaskAsync
in interface AWSApplicationDiscoveryAsync
public Future<DescribeBatchDeleteConfigurationTaskResult> describeBatchDeleteConfigurationTaskAsync(DescribeBatchDeleteConfigurationTaskRequest request, AsyncHandler<DescribeBatchDeleteConfigurationTaskRequest,DescribeBatchDeleteConfigurationTaskResult> asyncHandler)
AWSApplicationDiscoveryAsync
Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.
describeBatchDeleteConfigurationTaskAsync
in interface AWSApplicationDiscoveryAsync
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<DescribeConfigurationsResult> describeConfigurationsAsync(DescribeConfigurationsRequest request)
AWSApplicationDiscoveryAsync
Retrieves attributes for a list of configuration item IDs.
All of the supplied IDs must be for the same asset type from one of the following:
server
application
process
connection
Output fields are specific to the asset type specified. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, number of network cards, etc.
For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
describeConfigurationsAsync
in interface AWSApplicationDiscoveryAsync
public Future<DescribeConfigurationsResult> describeConfigurationsAsync(DescribeConfigurationsRequest request, AsyncHandler<DescribeConfigurationsRequest,DescribeConfigurationsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Retrieves attributes for a list of configuration item IDs.
All of the supplied IDs must be for the same asset type from one of the following:
server
application
process
connection
Output fields are specific to the asset type specified. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, number of network cards, etc.
For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
describeConfigurationsAsync
in interface AWSApplicationDiscoveryAsync
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<DescribeContinuousExportsResult> describeContinuousExportsAsync(DescribeContinuousExportsRequest request)
AWSApplicationDiscoveryAsync
Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call
DescribeContinuousExports
as is without passing any parameters.
describeContinuousExportsAsync
in interface AWSApplicationDiscoveryAsync
public Future<DescribeContinuousExportsResult> describeContinuousExportsAsync(DescribeContinuousExportsRequest request, AsyncHandler<DescribeContinuousExportsRequest,DescribeContinuousExportsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call
DescribeContinuousExports
as is without passing any parameters.
describeContinuousExportsAsync
in interface AWSApplicationDiscoveryAsync
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.@Deprecated public Future<DescribeExportConfigurationsResult> describeExportConfigurationsAsync(DescribeExportConfigurationsRequest request)
AWSApplicationDiscoveryAsync
DescribeExportConfigurations
is deprecated. Use DescribeExportTasks, instead.
describeExportConfigurationsAsync
in interface AWSApplicationDiscoveryAsync
@Deprecated public Future<DescribeExportConfigurationsResult> describeExportConfigurationsAsync(DescribeExportConfigurationsRequest request, AsyncHandler<DescribeExportConfigurationsRequest,DescribeExportConfigurationsResult> asyncHandler)
AWSApplicationDiscoveryAsync
DescribeExportConfigurations
is deprecated. Use DescribeExportTasks, instead.
describeExportConfigurationsAsync
in interface AWSApplicationDiscoveryAsync
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<DescribeExportTasksResult> describeExportTasksAsync(DescribeExportTasksRequest request)
AWSApplicationDiscoveryAsync
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
describeExportTasksAsync
in interface AWSApplicationDiscoveryAsync
public Future<DescribeExportTasksResult> describeExportTasksAsync(DescribeExportTasksRequest request, AsyncHandler<DescribeExportTasksRequest,DescribeExportTasksResult> asyncHandler)
AWSApplicationDiscoveryAsync
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
describeExportTasksAsync
in interface AWSApplicationDiscoveryAsync
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<DescribeImportTasksResult> describeImportTasksAsync(DescribeImportTasksRequest request)
AWSApplicationDiscoveryAsync
Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
describeImportTasksAsync
in interface AWSApplicationDiscoveryAsync
public Future<DescribeImportTasksResult> describeImportTasksAsync(DescribeImportTasksRequest request, AsyncHandler<DescribeImportTasksRequest,DescribeImportTasksResult> asyncHandler)
AWSApplicationDiscoveryAsync
Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
describeImportTasksAsync
in interface AWSApplicationDiscoveryAsync
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<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request)
AWSApplicationDiscoveryAsync
Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value,
passed to the optional parameter filters
.
There are three valid tag filter names:
tagKey
tagValue
configurationId
Also, all configuration items associated with your user that have tags can be listed if you call
DescribeTags
as is without passing any parameters.
describeTagsAsync
in interface AWSApplicationDiscoveryAsync
public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request, AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value,
passed to the optional parameter filters
.
There are three valid tag filter names:
tagKey
tagValue
configurationId
Also, all configuration items associated with your user that have tags can be listed if you call
DescribeTags
as is without passing any parameters.
describeTagsAsync
in interface AWSApplicationDiscoveryAsync
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<DisassociateConfigurationItemsFromApplicationResult> disassociateConfigurationItemsFromApplicationAsync(DisassociateConfigurationItemsFromApplicationRequest request)
AWSApplicationDiscoveryAsync
Disassociates one or more configuration items from an application.
disassociateConfigurationItemsFromApplicationAsync
in interface AWSApplicationDiscoveryAsync
public Future<DisassociateConfigurationItemsFromApplicationResult> disassociateConfigurationItemsFromApplicationAsync(DisassociateConfigurationItemsFromApplicationRequest request, AsyncHandler<DisassociateConfigurationItemsFromApplicationRequest,DisassociateConfigurationItemsFromApplicationResult> asyncHandler)
AWSApplicationDiscoveryAsync
Disassociates one or more configuration items from an application.
disassociateConfigurationItemsFromApplicationAsync
in interface AWSApplicationDiscoveryAsync
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.@Deprecated public Future<ExportConfigurationsResult> exportConfigurationsAsync(ExportConfigurationsRequest request)
AWSApplicationDiscoveryAsync
Deprecated. Use StartExportTask
instead.
Exports all discovered configuration data to an Amazon S3 bucket or an application that enables you to view and evaluate the data. Data includes tags and tag associations, processes, connections, servers, and system performance. This API returns an export ID that you can query using the DescribeExportConfigurations API. The system imposes a limit of two configuration exports in six hours.
exportConfigurationsAsync
in interface AWSApplicationDiscoveryAsync
@Deprecated public Future<ExportConfigurationsResult> exportConfigurationsAsync(ExportConfigurationsRequest request, AsyncHandler<ExportConfigurationsRequest,ExportConfigurationsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Deprecated. Use StartExportTask
instead.
Exports all discovered configuration data to an Amazon S3 bucket or an application that enables you to view and evaluate the data. Data includes tags and tag associations, processes, connections, servers, and system performance. This API returns an export ID that you can query using the DescribeExportConfigurations API. The system imposes a limit of two configuration exports in six hours.
exportConfigurationsAsync
in interface AWSApplicationDiscoveryAsync
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<GetDiscoverySummaryResult> getDiscoverySummaryAsync(GetDiscoverySummaryRequest request)
AWSApplicationDiscoveryAsync
Retrieves a short summary of discovered assets.
This API operation takes no request parameters and is called as is at the command prompt as shown in the example.
getDiscoverySummaryAsync
in interface AWSApplicationDiscoveryAsync
public Future<GetDiscoverySummaryResult> getDiscoverySummaryAsync(GetDiscoverySummaryRequest request, AsyncHandler<GetDiscoverySummaryRequest,GetDiscoverySummaryResult> asyncHandler)
AWSApplicationDiscoveryAsync
Retrieves a short summary of discovered assets.
This API operation takes no request parameters and is called as is at the command prompt as shown in the example.
getDiscoverySummaryAsync
in interface AWSApplicationDiscoveryAsync
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<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request)
AWSApplicationDiscoveryAsync
Retrieves a list of configuration items as specified by the value passed to the required parameter
configurationType
. Optional filtering may be applied to refine search results.
listConfigurationsAsync
in interface AWSApplicationDiscoveryAsync
public Future<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request, AsyncHandler<ListConfigurationsRequest,ListConfigurationsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Retrieves a list of configuration items as specified by the value passed to the required parameter
configurationType
. Optional filtering may be applied to refine search results.
listConfigurationsAsync
in interface AWSApplicationDiscoveryAsync
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<ListServerNeighborsResult> listServerNeighborsAsync(ListServerNeighborsRequest request)
AWSApplicationDiscoveryAsync
Retrieves a list of servers that are one network hop away from a specified server.
listServerNeighborsAsync
in interface AWSApplicationDiscoveryAsync
public Future<ListServerNeighborsResult> listServerNeighborsAsync(ListServerNeighborsRequest request, AsyncHandler<ListServerNeighborsRequest,ListServerNeighborsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Retrieves a list of servers that are one network hop away from a specified server.
listServerNeighborsAsync
in interface AWSApplicationDiscoveryAsync
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<StartBatchDeleteConfigurationTaskResult> startBatchDeleteConfigurationTaskAsync(StartBatchDeleteConfigurationTaskRequest request)
AWSApplicationDiscoveryAsync
Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier.
startBatchDeleteConfigurationTaskAsync
in interface AWSApplicationDiscoveryAsync
public Future<StartBatchDeleteConfigurationTaskResult> startBatchDeleteConfigurationTaskAsync(StartBatchDeleteConfigurationTaskRequest request, AsyncHandler<StartBatchDeleteConfigurationTaskRequest,StartBatchDeleteConfigurationTaskResult> asyncHandler)
AWSApplicationDiscoveryAsync
Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier.
startBatchDeleteConfigurationTaskAsync
in interface AWSApplicationDiscoveryAsync
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<StartContinuousExportResult> startContinuousExportAsync(StartContinuousExportRequest request)
AWSApplicationDiscoveryAsync
Start the continuous flow of agent's discovered data into Amazon Athena.
startContinuousExportAsync
in interface AWSApplicationDiscoveryAsync
public Future<StartContinuousExportResult> startContinuousExportAsync(StartContinuousExportRequest request, AsyncHandler<StartContinuousExportRequest,StartContinuousExportResult> asyncHandler)
AWSApplicationDiscoveryAsync
Start the continuous flow of agent's discovered data into Amazon Athena.
startContinuousExportAsync
in interface AWSApplicationDiscoveryAsync
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<StartDataCollectionByAgentIdsResult> startDataCollectionByAgentIdsAsync(StartDataCollectionByAgentIdsRequest request)
AWSApplicationDiscoveryAsync
Instructs the specified agents to start collecting data.
startDataCollectionByAgentIdsAsync
in interface AWSApplicationDiscoveryAsync
public Future<StartDataCollectionByAgentIdsResult> startDataCollectionByAgentIdsAsync(StartDataCollectionByAgentIdsRequest request, AsyncHandler<StartDataCollectionByAgentIdsRequest,StartDataCollectionByAgentIdsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Instructs the specified agents to start collecting data.
startDataCollectionByAgentIdsAsync
in interface AWSApplicationDiscoveryAsync
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<StartExportTaskResult> startExportTaskAsync(StartExportTaskRequest request)
AWSApplicationDiscoveryAsync
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.
Exports might provide an estimate of fees and savings based on certain information that you provide. Fee estimates do not include any taxes that might apply. Your actual fees and savings depend on a variety of factors, including your actual usage of Amazon Web Services services, which might vary from the estimates provided in this report.
If you do not specify preferences
or agentIds
in the filter, a summary of all servers,
applications, tags, and performance is generated. This data is an aggregation of all server data collected
through on-premises tooling, file import, application grouping and applying tags.
If you specify agentIds
in a filter, the task exports up to 72 hours of detailed data collected by
the identified Application Discovery Agent, including network, process, and performance details. A time range for
exported agent data may be set by using startTime
and endTime
. Export of detailed agent
data is limited to five concurrently running exports. Export of detailed agent data is limited to two exports per
day.
If you enable ec2RecommendationsPreferences
in preferences
, an Amazon EC2 instance
matching the characteristics of each server in Application Discovery Service is generated. Changing the
attributes of the ec2RecommendationsPreferences
changes the criteria of the recommendation.
startExportTaskAsync
in interface AWSApplicationDiscoveryAsync
public Future<StartExportTaskResult> startExportTaskAsync(StartExportTaskRequest request, AsyncHandler<StartExportTaskRequest,StartExportTaskResult> asyncHandler)
AWSApplicationDiscoveryAsync
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.
Exports might provide an estimate of fees and savings based on certain information that you provide. Fee estimates do not include any taxes that might apply. Your actual fees and savings depend on a variety of factors, including your actual usage of Amazon Web Services services, which might vary from the estimates provided in this report.
If you do not specify preferences
or agentIds
in the filter, a summary of all servers,
applications, tags, and performance is generated. This data is an aggregation of all server data collected
through on-premises tooling, file import, application grouping and applying tags.
If you specify agentIds
in a filter, the task exports up to 72 hours of detailed data collected by
the identified Application Discovery Agent, including network, process, and performance details. A time range for
exported agent data may be set by using startTime
and endTime
. Export of detailed agent
data is limited to five concurrently running exports. Export of detailed agent data is limited to two exports per
day.
If you enable ec2RecommendationsPreferences
in preferences
, an Amazon EC2 instance
matching the characteristics of each server in Application Discovery Service is generated. Changing the
attributes of the ec2RecommendationsPreferences
changes the criteria of the recommendation.
startExportTaskAsync
in interface AWSApplicationDiscoveryAsync
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<StartImportTaskResult> startImportTaskAsync(StartImportTaskRequest request)
AWSApplicationDiscoveryAsync
Starts an import task, which allows you to import details of your on-premises environment directly into Amazon Web Services Migration Hub without having to use the Amazon Web Services Application Discovery Service (Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless Collector or Application Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status.
To start an import request, do this:
Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.
Fill out the template with your server and application data.
Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in the CSV format.
Use the console or the StartImportTask
command with the Amazon Web Services CLI or one of the Amazon
Web Services SDKs to import the records from your file.
For more information, including step-by-step procedures, see Migration Hub Import in the Amazon Web Services Application Discovery Service User Guide.
There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services account. For more information, see Amazon Web Services Application Discovery Service Limits in the Amazon Web Services Application Discovery Service User Guide.
startImportTaskAsync
in interface AWSApplicationDiscoveryAsync
public Future<StartImportTaskResult> startImportTaskAsync(StartImportTaskRequest request, AsyncHandler<StartImportTaskRequest,StartImportTaskResult> asyncHandler)
AWSApplicationDiscoveryAsync
Starts an import task, which allows you to import details of your on-premises environment directly into Amazon Web Services Migration Hub without having to use the Amazon Web Services Application Discovery Service (Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless Collector or Application Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status.
To start an import request, do this:
Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.
Fill out the template with your server and application data.
Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in the CSV format.
Use the console or the StartImportTask
command with the Amazon Web Services CLI or one of the Amazon
Web Services SDKs to import the records from your file.
For more information, including step-by-step procedures, see Migration Hub Import in the Amazon Web Services Application Discovery Service User Guide.
There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services account. For more information, see Amazon Web Services Application Discovery Service Limits in the Amazon Web Services Application Discovery Service User Guide.
startImportTaskAsync
in interface AWSApplicationDiscoveryAsync
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<StopContinuousExportResult> stopContinuousExportAsync(StopContinuousExportRequest request)
AWSApplicationDiscoveryAsync
Stop the continuous flow of agent's discovered data into Amazon Athena.
stopContinuousExportAsync
in interface AWSApplicationDiscoveryAsync
public Future<StopContinuousExportResult> stopContinuousExportAsync(StopContinuousExportRequest request, AsyncHandler<StopContinuousExportRequest,StopContinuousExportResult> asyncHandler)
AWSApplicationDiscoveryAsync
Stop the continuous flow of agent's discovered data into Amazon Athena.
stopContinuousExportAsync
in interface AWSApplicationDiscoveryAsync
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<StopDataCollectionByAgentIdsResult> stopDataCollectionByAgentIdsAsync(StopDataCollectionByAgentIdsRequest request)
AWSApplicationDiscoveryAsync
Instructs the specified agents to stop collecting data.
stopDataCollectionByAgentIdsAsync
in interface AWSApplicationDiscoveryAsync
public Future<StopDataCollectionByAgentIdsResult> stopDataCollectionByAgentIdsAsync(StopDataCollectionByAgentIdsRequest request, AsyncHandler<StopDataCollectionByAgentIdsRequest,StopDataCollectionByAgentIdsResult> asyncHandler)
AWSApplicationDiscoveryAsync
Instructs the specified agents to stop collecting data.
stopDataCollectionByAgentIdsAsync
in interface AWSApplicationDiscoveryAsync
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<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AWSApplicationDiscoveryAsync
Updates metadata about an application.
updateApplicationAsync
in interface AWSApplicationDiscoveryAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AWSApplicationDiscoveryAsync
Updates metadata about an application.
updateApplicationAsync
in interface AWSApplicationDiscoveryAsync
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 AWSApplicationDiscovery
shutdown
in class AWSApplicationDiscoveryClient