AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Implementation for accessing ApplicationDiscoveryService
Amazon Web Services Application Discovery ServiceAmazon 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.
Namespace: Amazon.ApplicationDiscoveryService
Assembly: AWSSDK.ApplicationDiscoveryService.dll
Version: 3.x.y.z
public class AmazonApplicationDiscoveryServiceClient : AmazonServiceClient IAmazonApplicationDiscoveryService, IAmazonService, IDisposable
The AmazonApplicationDiscoveryServiceClient type exposes the following members
Name | Description | |
---|---|---|
AmazonApplicationDiscoveryServiceClient() |
Constructs AmazonApplicationDiscoveryServiceClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonApplicationDiscoveryServiceClient(RegionEndpoint) |
Constructs AmazonApplicationDiscoveryServiceClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonApplicationDiscoveryServiceClient(AmazonApplicationDiscoveryServiceConfig) |
Constructs AmazonApplicationDiscoveryServiceClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonApplicationDiscoveryServiceClient(AWSCredentials) |
Constructs AmazonApplicationDiscoveryServiceClient with AWS Credentials |
|
AmazonApplicationDiscoveryServiceClient(AWSCredentials, RegionEndpoint) |
Constructs AmazonApplicationDiscoveryServiceClient with AWS Credentials |
|
AmazonApplicationDiscoveryServiceClient(AWSCredentials, AmazonApplicationDiscoveryServiceConfig) |
Constructs AmazonApplicationDiscoveryServiceClient with AWS Credentials and an AmazonApplicationDiscoveryServiceClient Configuration object. |
|
AmazonApplicationDiscoveryServiceClient(string, string) |
Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID and AWS Secret Key |
|
AmazonApplicationDiscoveryServiceClient(string, string, RegionEndpoint) |
Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID and AWS Secret Key |
|
AmazonApplicationDiscoveryServiceClient(string, string, AmazonApplicationDiscoveryServiceConfig) |
Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID, AWS Secret Key and an AmazonApplicationDiscoveryServiceClient Configuration object. |
|
AmazonApplicationDiscoveryServiceClient(string, string, string) |
Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID and AWS Secret Key |
|
AmazonApplicationDiscoveryServiceClient(string, string, string, RegionEndpoint) |
Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID and AWS Secret Key |
|
AmazonApplicationDiscoveryServiceClient(string, string, string, AmazonApplicationDiscoveryServiceConfig) |
Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID, AWS Secret Key and an AmazonApplicationDiscoveryServiceClient Configuration object. |
Name | Type | Description | |
---|---|---|---|
Config | Amazon.Runtime.IClientConfig | Inherited from Amazon.Runtime.AmazonServiceClient. | |
Paginators | Amazon.ApplicationDiscoveryService.Model.IApplicationDiscoveryServicePaginatorFactory |
Paginators for the service |
Name | Description | |
---|---|---|
AssociateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest) |
Associates one or more configuration items with an application. |
|
AssociateConfigurationItemsToApplicationAsync(AssociateConfigurationItemsToApplicationRequest, CancellationToken) |
Associates one or more configuration items with an application. |
|
BatchDeleteAgents(BatchDeleteAgentsRequest) |
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 |
|
BatchDeleteAgentsAsync(BatchDeleteAgentsRequest, CancellationToken) |
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 |
|
BatchDeleteImportData(BatchDeleteImportDataRequest) |
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(BatchDeleteImportDataRequest, CancellationToken) |
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. |
|
CreateApplication(CreateApplicationRequest) |
Creates an application with the given name and description. |
|
CreateApplicationAsync(CreateApplicationRequest, CancellationToken) |
Creates an application with the given name and description. |
|
CreateTags(CreateTagsRequest) |
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(CreateTagsRequest, CancellationToken) |
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.
|
|
DeleteApplications(DeleteApplicationsRequest) |
Deletes a list of applications and their associations with configuration items. |
|
DeleteApplicationsAsync(DeleteApplicationsRequest, CancellationToken) |
Deletes a list of applications and their associations with configuration items. |
|
DeleteTags(DeleteTagsRequest) |
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items. |
|
DeleteTagsAsync(DeleteTagsRequest, CancellationToken) |
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items. |
|
DescribeAgents(DescribeAgentsRequest) |
Lists agents or collectors as specified by ID or other filters. All agents/collectors
associated with your user can be listed if you call |
|
DescribeAgentsAsync(DescribeAgentsRequest, CancellationToken) |
Lists agents or collectors as specified by ID or other filters. All agents/collectors
associated with your user can be listed if you call |
|
DescribeBatchDeleteConfigurationTask(DescribeBatchDeleteConfigurationTaskRequest) |
Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task. |
|
DescribeBatchDeleteConfigurationTaskAsync(DescribeBatchDeleteConfigurationTaskRequest, CancellationToken) |
Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task. |
|
DescribeConfigurations(DescribeConfigurationsRequest) |
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(DescribeConfigurationsRequest, CancellationToken) |
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.
|
|
DescribeContinuousExports(DescribeContinuousExportsRequest) |
Lists exports as specified by ID. All continuous exports associated with your user
can be listed if you call |
|
DescribeContinuousExportsAsync(DescribeContinuousExportsRequest, CancellationToken) |
Lists exports as specified by ID. All continuous exports associated with your user
can be listed if you call |
|
DescribeExportConfigurations(DescribeExportConfigurationsRequest) |
|
|
DescribeExportConfigurationsAsync(DescribeExportConfigurationsRequest, CancellationToken) |
|
|
DescribeExportTasks(DescribeExportTasksRequest) |
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks. |
|
DescribeExportTasksAsync(DescribeExportTasksRequest, CancellationToken) |
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks. |
|
DescribeImportTasks(DescribeImportTasksRequest) |
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(DescribeImportTasksRequest, CancellationToken) |
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. |
|
DescribeTags(DescribeTagsRequest) |
Retrieves a list of configuration items that have tags as specified by the key-value
pairs, name and value, passed to the optional parameter There are three valid tag filter names:
Also, all configuration items associated with your user that have tags can be listed
if you call |
|
DescribeTagsAsync(DescribeTagsRequest, CancellationToken) |
Retrieves a list of configuration items that have tags as specified by the key-value
pairs, name and value, passed to the optional parameter There are three valid tag filter names:
Also, all configuration items associated with your user that have tags can be listed
if you call |
|
DetermineServiceOperationEndpoint(AmazonWebServiceRequest) |
Returns the endpoint that will be used for a particular request. |
|
DisassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest) |
Disassociates one or more configuration items from an application. |
|
DisassociateConfigurationItemsFromApplicationAsync(DisassociateConfigurationItemsFromApplicationRequest, CancellationToken) |
Disassociates one or more configuration items from an application. |
|
Dispose() | Inherited from Amazon.Runtime.AmazonServiceClient. | |
ExportConfigurations(ExportConfigurationsRequest) |
Deprecated. Use 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(ExportConfigurationsRequest, CancellationToken) |
Deprecated. Use 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. |
|
GetDiscoverySummary(GetDiscoverySummaryRequest) |
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(GetDiscoverySummaryRequest, CancellationToken) |
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. |
|
ListConfigurations(ListConfigurationsRequest) |
Retrieves a list of configuration items as specified by the value passed to the required
parameter |
|
ListConfigurationsAsync(ListConfigurationsRequest, CancellationToken) |
Retrieves a list of configuration items as specified by the value passed to the required
parameter |
|
ListServerNeighbors(ListServerNeighborsRequest) |
Retrieves a list of servers that are one network hop away from a specified server. |
|
ListServerNeighborsAsync(ListServerNeighborsRequest, CancellationToken) |
Retrieves a list of servers that are one network hop away from a specified server. |
|
StartBatchDeleteConfigurationTask(StartBatchDeleteConfigurationTaskRequest) |
Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier. |
|
StartBatchDeleteConfigurationTaskAsync(StartBatchDeleteConfigurationTaskRequest, CancellationToken) |
Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier. |
|
StartContinuousExport(StartContinuousExportRequest) |
Start the continuous flow of agent's discovered data into Amazon Athena. |
|
StartContinuousExportAsync(StartContinuousExportRequest, CancellationToken) |
Start the continuous flow of agent's discovered data into Amazon Athena. |
|
StartDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest) |
Instructs the specified agents to start collecting data. |
|
StartDataCollectionByAgentIdsAsync(StartDataCollectionByAgentIdsRequest, CancellationToken) |
Instructs the specified agents to start collecting data. |
|
StartExportTask(StartExportTaskRequest) |
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
If you specify
If you enable |
|
StartExportTaskAsync(StartExportTaskRequest, CancellationToken) |
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
If you specify
If you enable |
|
StartImportTask(StartImportTaskRequest) |
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:
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(StartImportTaskRequest, CancellationToken) |
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:
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. |
|
StopContinuousExport(StopContinuousExportRequest) |
Stop the continuous flow of agent's discovered data into Amazon Athena. |
|
StopContinuousExportAsync(StopContinuousExportRequest, CancellationToken) |
Stop the continuous flow of agent's discovered data into Amazon Athena. |
|
StopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest) |
Instructs the specified agents to stop collecting data. |
|
StopDataCollectionByAgentIdsAsync(StopDataCollectionByAgentIdsRequest, CancellationToken) |
Instructs the specified agents to stop collecting data. |
|
UpdateApplication(UpdateApplicationRequest) |
Updates metadata about an application. |
|
UpdateApplicationAsync(UpdateApplicationRequest, CancellationToken) |
Updates metadata about an application. |
Name | Description | |
---|---|---|
AfterResponseEvent | Inherited from Amazon.Runtime.AmazonServiceClient. | |
BeforeRequestEvent | Inherited from Amazon.Runtime.AmazonServiceClient. | |
ExceptionEvent | Inherited from Amazon.Runtime.AmazonServiceClient. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5