Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class GetApplicationComponentStrategiesCommandProtected

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

Example

Use a bare-bones client and the command you need to make an API call.

import { MigrationHubStrategyClient, GetApplicationComponentStrategiesCommand } from "@aws-sdk/client-migrationhubstrategy"; // ES Modules import
// const { MigrationHubStrategyClient, GetApplicationComponentStrategiesCommand } = require("@aws-sdk/client-migrationhubstrategy"); // CommonJS import
const client = new MigrationHubStrategyClient(config);
const input = { // GetApplicationComponentStrategiesRequest
applicationComponentId: "STRING_VALUE", // required
};
const command = new GetApplicationComponentStrategiesCommand(input);
const response = await client.send(command);
// { // GetApplicationComponentStrategiesResponse
// applicationComponentStrategies: [ // ApplicationComponentStrategies
// { // ApplicationComponentStrategy
// recommendation: { // RecommendationSet
// transformationTool: { // TransformationTool
// name: "STRING_VALUE",
// description: "STRING_VALUE",
// tranformationToolInstallationLink: "STRING_VALUE",
// },
// targetDestination: "STRING_VALUE",
// strategy: "STRING_VALUE",
// },
// status: "STRING_VALUE",
// isPreferred: true || false,
// },
// ],
// };

Param

GetApplicationComponentStrategiesCommandInput

Returns

GetApplicationComponentStrategiesCommandOutput

See

Throws

InternalServerException (server fault)

The server experienced an internal error. Try again.

Throws

ResourceNotFoundException (client fault)

The specified ID in the request is not found.

Throws

ThrottlingException (client fault)

The request was denied due to request throttling.

Throws

MigrationHubStrategyServiceException

Base exception class for all service exceptions from MigrationHubStrategy service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods