AWS.MigrationHubStrategy — AWS SDK for JavaScript (original) (raw)

We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Inherits:

AWS.Service

Identifier:

migrationhubstrategy

API Version:

2020-02-19

Defined in:

(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

This API reference provides descriptions, syntax, and other details about each of the actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). 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.

Sending a Request Using MigrationHubStrategy

var migrationhubstrategy = new AWS.MigrationHubStrategy();
migrationhubstrategy.getApplicationComponentDetails(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 MigrationHubStrategy object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var migrationhubstrategy = new AWS.MigrationHubStrategy({apiVersion: '2020-02-19'});

You can also set the API version globally in AWS.config.apiVersions using the migrationhubstrategy service identifier:

AWS.config.apiVersions = {
  migrationhubstrategy: '2020-02-19',
  // other service API versions
};

var migrationhubstrategy = new AWS.MigrationHubStrategy();

Constructor Summarycollapse

Property Summarycollapse

Properties inherited from AWS.Service

apiVersions

Method Summarycollapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.MigrationHubStrategy(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Property Details

endpointAWS.Endpoint

Returns an Endpoint object representing the endpoint URL for service requests.

Method Details

getApplicationComponentDetails(params = {}, callback) ⇒ AWS.Request

Retrieves details about an application component.

getApplicationComponentStrategies(params = {}, callback) ⇒ AWS.Request

Retrieves a list of all the recommended strategies and tools for an application component running on a server.

getAssessment(params = {}, callback) ⇒ AWS.Request

Retrieves the status of an on-going assessment.

getImportFileTask(params = {}, callback) ⇒ AWS.Request

Retrieves the details about a specific import task.

getLatestAssessmentId(params = {}, callback) ⇒ AWS.Request

Retrieve the latest ID of a specific assessment task.

getPortfolioPreferences(params = {}, callback) ⇒ AWS.Request

Retrieves your migration and modernization preferences.

getPortfolioSummary(params = {}, callback) ⇒ AWS.Request

Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.

getRecommendationReportDetails(params = {}, callback) ⇒ AWS.Request

Retrieves detailed information about the specified recommendation report.

getServerDetails(params = {}, callback) ⇒ AWS.Request

Retrieves detailed information about a specified server.

getServerStrategies(params = {}, callback) ⇒ AWS.Request

Retrieves recommended strategies and tools for the specified server.

listAnalyzableServers(params = {}, callback) ⇒ AWS.Request

Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.

listApplicationComponents(params = {}, callback) ⇒ AWS.Request

Retrieves a list of all the application components (processes).

listCollectors(params = {}, callback) ⇒ AWS.Request

Retrieves a list of all the installed collectors.

listImportFileTask(params = {}, callback) ⇒ AWS.Request

Retrieves a list of all the imports performed.

listServers(params = {}, callback) ⇒ AWS.Request

Returns a list of all the servers.

putPortfolioPreferences(params = {}, callback) ⇒ AWS.Request

Saves the specified migration and modernization preferences.

startAssessment(params = {}, callback) ⇒ AWS.Request

Starts the assessment of an on-premises environment.

startImportFileTask(params = {}, callback) ⇒ AWS.Request

startRecommendationReportGeneration(params = {}, callback) ⇒ AWS.Request

Starts generating a recommendation report.

stopAssessment(params = {}, callback) ⇒ AWS.Request

Stops the assessment of an on-premises environment.

updateApplicationComponentConfig(params = {}, callback) ⇒ AWS.Request

Updates the configuration of an application component.

updateServerConfig(params = {}, callback) ⇒ AWS.Request

Updates the configuration of the specified server.