aws_discovery
AWS 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 AWS Application Discovery Service FAQ. Application Discovery Service offers three ways of performing discovery and collecting data about your on-premises servers:
Agentless discovery is recommended for environments that use VMware vCenter Server. This mode doesn't require you to install an agent on each host. It does not work in non-VMware environments.
Agentless discovery gathers server information regardless of the operating systems, which minimizes the time required for initial on-premises infrastructure assessment.
Agentless discovery doesn't collect information about network dependencies, only agent-based discovery collects that information.
Agent-based discovery collects a richer set of data than agentless discovery by using the AWS Application Discovery Agent, 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 cloud.
AWS Partner Network (APN) solutions integrate with Application Discovery Service, enabling you to import details of your on-premises environment directly into Migration Hub without using the discovery connector or discovery agent.
Third-party application discovery tools can query AWS 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.
Recommendations
We recommend that you use agent-based discovery for non-VMware environments, and whenever you want to collect information about network dependencies. You can run agent-based and agentless discovery simultaneously. Use agentless discovery to complete the initial infrastructure assessment quickly, and then install agents on select hosts to collect additional information.
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 AWS SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see AWS SDKs.
HomeRegionNotSetException
error is returned.
InvalidInputException
is returned.
GetHomeRegion
to obtain the latest
Migration Hub home region.
Summary
Functions
-
associate_configuration_items_to_application(Client, Input)
Associates one or more configuration items with an application.
- associate_configuration_items_to_application(Client, Input, Options)
-
batch_delete_import_data(Client, Input)
Deletes one or more import tasks, each identified by their import ID.
- batch_delete_import_data(Client, Input, Options)
-
create_application(Client, Input)
Creates an application with the given name and description.
- create_application(Client, Input, Options)
-
create_tags(Client, Input)
Creates one or more tags for configuration items.
- create_tags(Client, Input, Options)
-
delete_applications(Client, Input)
Deletes a list of applications and their associations with configuration items.
- delete_applications(Client, Input, Options)
-
delete_tags(Client, Input)
Deletes the association between configuration items and one or more tags.
- delete_tags(Client, Input, Options)
-
describe_agents(Client, Input)
Lists agents or connectors as specified by ID or other filters.
- describe_agents(Client, Input, Options)
-
describe_configurations(Client, Input)
Retrieves attributes for a list of configuration item IDs.
- describe_configurations(Client, Input, Options)
-
describe_continuous_exports(Client, Input)
Lists exports as specified by ID.
- describe_continuous_exports(Client, Input, Options)
-
describe_export_configurations(Client, Input)
DescribeExportConfigurations
is deprecated. - describe_export_configurations(Client, Input, Options)
-
describe_export_tasks(Client, Input)
Retrieve status of one or more export tasks.
- describe_export_tasks(Client, Input, Options)
-
describe_import_tasks(Client, Input)
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.
- describe_import_tasks(Client, Input, Options)
-
describe_tags(Client, Input)
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
. - describe_tags(Client, Input, Options)
-
disassociate_configuration_items_from_application(Client, Input)
Disassociates one or more configuration items from an application.
- disassociate_configuration_items_from_application(Client, Input, Options)
-
export_configurations(Client, Input)
Deprecated.
- export_configurations(Client, Input, Options)
-
get_discovery_summary(Client, Input)
Retrieves a short summary of discovered assets.
- get_discovery_summary(Client, Input, Options)
-
list_configurations(Client, Input)
Retrieves a list of configuration items as specified by the value passed to the required parameter
configurationType
. - list_configurations(Client, Input, Options)
-
list_server_neighbors(Client, Input)
Retrieves a list of servers that are one network hop away from a specified server.
- list_server_neighbors(Client, Input, Options)
-
start_continuous_export(Client, Input)
Start the continuous flow of agent's discovered data into Amazon Athena.
- start_continuous_export(Client, Input, Options)
-
start_data_collection_by_agent_ids(Client, Input)
Instructs the specified agents or connectors to start collecting data.
- start_data_collection_by_agent_ids(Client, Input, Options)
-
start_export_task(Client, Input)
Begins the export of discovered data to an S3 bucket.
- start_export_task(Client, Input, Options)
-
start_import_task(Client, Input)
Starts an import task, which allows you to import details of your on-premises environment directly into AWS Migration Hub without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or Discovery Agent.
- start_import_task(Client, Input, Options)
-
stop_continuous_export(Client, Input)
Stop the continuous flow of agent's discovered data into Amazon Athena.
- stop_continuous_export(Client, Input, Options)
-
stop_data_collection_by_agent_ids(Client, Input)
Instructs the specified agents or connectors to stop collecting data.
- stop_data_collection_by_agent_ids(Client, Input, Options)
-
update_application(Client, Input)
Updates metadata about an application.
- update_application(Client, Input, Options)
Functions
associate_configuration_items_to_application(Client, Input)
Associates one or more configuration items with an application.
associate_configuration_items_to_application(Client, Input, Options)
batch_delete_import_data(Client, Input)
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.
AWS 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.batch_delete_import_data(Client, Input, Options)
create_application(Client, Input)
Creates an application with the given name and description.
create_application(Client, Input, Options)
create_tags(Client, Input)
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.
create_tags(Client, Input, Options)
delete_applications(Client, Input)
Deletes a list of applications and their associations with configuration items.
delete_applications(Client, Input, Options)
delete_tags(Client, Input)
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
delete_tags(Client, Input, Options)
describe_agents(Client, Input)
Lists agents or connectors as specified by ID or other filters. All
agents/connectors associated with your user account can be listed if you
call DescribeAgents
as is without passing any parameters.
describe_agents(Client, Input, Options)
describe_configurations(Client, Input)
Retrieves attributes for a list of configuration item IDs.
- server
- application
- process
- connection
describe_configurations(Client, Input, Options)
describe_continuous_exports(Client, Input)
Lists exports as specified by ID. All continuous exports associated
with your user account can be listed if you call
DescribeContinuousExports
as is without passing any
parameters.
describe_continuous_exports(Client, Input, Options)
describe_export_configurations(Client, Input)
DescribeExportConfigurations
is deprecated. Use DescribeImportTasks,
instead.
describe_export_configurations(Client, Input, Options)
describe_export_tasks(Client, Input)
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
describe_export_tasks(Client, Input, Options)
describe_import_tasks(Client, Input)
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.
describe_import_tasks(Client, Input, Options)
describe_tags(Client, Input)
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
DescribeTags
as is without passing any parameters.
describe_tags(Client, Input, Options)
disassociate_configuration_items_from_application(Client, Input)
Disassociates one or more configuration items from an application.
disassociate_configuration_items_from_application(Client, Input, Options)
export_configurations(Client, Input)
Deprecated. Use StartExportTask
instead.
export_configurations(Client, Input, Options)
get_discovery_summary(Client, Input)
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.get_discovery_summary(Client, Input, Options)
list_configurations(Client, Input)
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.
list_configurations(Client, Input, Options)
list_server_neighbors(Client, Input)
Retrieves a list of servers that are one network hop away from a specified server.
list_server_neighbors(Client, Input, Options)
start_continuous_export(Client, Input)
Start the continuous flow of agent's discovered data into Amazon Athena.
start_continuous_export(Client, Input, Options)
start_data_collection_by_agent_ids(Client, Input)
Instructs the specified agents or connectors to start collecting data.
start_data_collection_by_agent_ids(Client, Input, Options)
start_export_task(Client, Input)
Begins the export of discovered data to an S3 bucket.
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.
agentIds
filter, summary data is
exported that includes both AWS Agentless Discovery Connector data and
summary data from AWS Discovery Agents. Export of summary data is limited
to two exports per day.
start_export_task(Client, Input, Options)
start_import_task(Client, Input)
Starts an import task, which allows you to import details of your on-premises environment directly into AWS Migration Hub without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or 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 AWS CLI or one of the AWS SDKs to import the records from your file.
For more information, including step-by-step procedures, see Migration Hub Import in the AWS Application Discovery Service User Guide.
start_import_task(Client, Input, Options)
stop_continuous_export(Client, Input)
Stop the continuous flow of agent's discovered data into Amazon Athena.
stop_continuous_export(Client, Input, Options)
stop_data_collection_by_agent_ids(Client, Input)
Instructs the specified agents or connectors to stop collecting data.
stop_data_collection_by_agent_ids(Client, Input, Options)
update_application(Client, Input)
Updates metadata about an application.