Class: AWS.Discovery
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Discovery
- Identifier:
- discovery
- API Version:
- 2015-11-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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
HomeRegionNotSetExceptionerror 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
InvalidInputExceptionis returned. - You must call
GetHomeRegionto 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.
Sending a Request Using Discovery
var discovery = new AWS.Discovery();
discovery.associateConfigurationItemsToApplication(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the Discovery object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var discovery = new AWS.Discovery({apiVersion: '2015-11-01'});
You can also set the API version globally in AWS.config.apiVersions using
the discovery service identifier:
AWS.config.apiVersions = {
discovery: '2015-11-01',
// other service API versions
};
var discovery = new AWS.Discovery();
Constructor Summary collapse
-
new AWS.Discovery(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
associateConfigurationItemsToApplication(params = {}, callback) ⇒ AWS.Request
Associates one or more configuration items with an application.
.
-
batchDeleteAgents(params = {}, callback) ⇒ AWS.Request
Deletes one or more agents or collectors as specified by ID.
-
batchDeleteImportData(params = {}, callback) ⇒ AWS.Request
Deletes one or more import tasks, each identified by their import ID.
-
createApplication(params = {}, callback) ⇒ AWS.Request
Creates an application with the given name and description.
.
-
createTags(params = {}, callback) ⇒ AWS.Request
Creates one or more tags for configuration items.
-
deleteApplications(params = {}, callback) ⇒ AWS.Request
Deletes a list of applications and their associations with configuration items.
.
-
deleteTags(params = {}, callback) ⇒ AWS.Request
Deletes the association between configuration items and one or more tags.
-
describeAgents(params = {}, callback) ⇒ AWS.Request
Lists agents or collectors as specified by ID or other filters.
-
describeBatchDeleteConfigurationTask(params = {}, callback) ⇒ AWS.Request
Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.
.
-
describeConfigurations(params = {}, callback) ⇒ AWS.Request
Retrieves attributes for a list of configuration item IDs.
Note: All of the supplied IDs must be for the same asset type from one of the following:- server
- application
- process
- connection
- describeContinuousExports(params = {}, callback) ⇒ AWS.Request
Lists exports as specified by ID.
- describeExportConfigurations(params = {}, callback) ⇒ AWS.Request
DescribeExportConfigurationsis deprecated.- describeExportTasks(params = {}, callback) ⇒ AWS.Request
Retrieve status of one or more export tasks.
- describeImportTasks(params = {}, callback) ⇒ AWS.Request
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(params = {}, callback) ⇒ AWS.Request
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
.DescribeTagsas is without passing any parameters.- disassociateConfigurationItemsFromApplication(params = {}, callback) ⇒ AWS.Request
Disassociates one or more configuration items from an application.
.
- exportConfigurations(params = {}, callback) ⇒ AWS.Request
Deprecated.
- getDiscoverySummary(params = {}, callback) ⇒ AWS.Request
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(params = {}, callback) ⇒ AWS.Request
Retrieves a list of configuration items as specified by the value passed to the required parameter
configurationType.- listServerNeighbors(params = {}, callback) ⇒ AWS.Request
Retrieves a list of servers that are one network hop away from a specified server.
.
- startBatchDeleteConfigurationTask(params = {}, callback) ⇒ AWS.Request
Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems.
- startContinuousExport(params = {}, callback) ⇒ AWS.Request
Start the continuous flow of agent's discovered data into Amazon Athena.
.
- startDataCollectionByAgentIds(params = {}, callback) ⇒ AWS.Request
Instructs the specified agents to start collecting data.
.
- startExportTask(params = {}, callback) ⇒ AWS.Request
Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.
Note: Exports might provide an estimate of fees and savings based on certain information that you provide.- startImportTask(params = {}, callback) ⇒ AWS.Request
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.
- stopContinuousExport(params = {}, callback) ⇒ AWS.Request
Stop the continuous flow of agent's discovered data into Amazon Athena.
.
- stopDataCollectionByAgentIds(params = {}, callback) ⇒ AWS.Request
Instructs the specified agents to stop collecting data.
.
- updateApplication(params = {}, callback) ⇒ AWS.Request
Updates metadata about an application.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.Discovery(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.