Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ListApplicationComponentsCommandProtected

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

Example

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

import { MigrationHubStrategyClient, ListApplicationComponentsCommand } from "@aws-sdk/client-migrationhubstrategy"; // ES Modules import
// const { MigrationHubStrategyClient, ListApplicationComponentsCommand } = require("@aws-sdk/client-migrationhubstrategy"); // CommonJS import
const client = new MigrationHubStrategyClient(config);
const input = { // ListApplicationComponentsRequest
applicationComponentCriteria: "STRING_VALUE",
filterValue: "STRING_VALUE",
sort: "STRING_VALUE",
groupIdFilter: [ // GroupIds
{ // Group
name: "STRING_VALUE",
value: "STRING_VALUE",
},
],
nextToken: "STRING_VALUE",
maxResults: Number("int"),
};
const command = new ListApplicationComponentsCommand(input);
const response = await client.send(command);
// { // ListApplicationComponentsResponse
// applicationComponentInfos: [ // ApplicationComponentDetails
// { // ApplicationComponentDetail
// id: "STRING_VALUE",
// name: "STRING_VALUE",
// recommendationSet: { // RecommendationSet
// transformationTool: { // TransformationTool
// name: "STRING_VALUE",
// description: "STRING_VALUE",
// tranformationToolInstallationLink: "STRING_VALUE",
// },
// targetDestination: "STRING_VALUE",
// strategy: "STRING_VALUE",
// },
// analysisStatus: "STRING_VALUE",
// statusMessage: "STRING_VALUE",
// listAntipatternSeveritySummary: [ // ListAntipatternSeveritySummary
// { // AntipatternSeveritySummary
// severity: "STRING_VALUE",
// count: Number("int"),
// },
// ],
// databaseConfigDetail: { // DatabaseConfigDetail
// secretName: "STRING_VALUE",
// },
// sourceCodeRepositories: [ // SourceCodeRepositories
// { // SourceCodeRepository
// repository: "STRING_VALUE",
// branch: "STRING_VALUE",
// versionControlType: "STRING_VALUE",
// projectName: "STRING_VALUE",
// },
// ],
// appType: "STRING_VALUE",
// resourceSubType: "STRING_VALUE",
// inclusionStatus: "STRING_VALUE",
// antipatternReportS3Object: { // S3Object
// s3Bucket: "STRING_VALUE",
// s3key: "STRING_VALUE",
// },
// antipatternReportStatus: "STRING_VALUE",
// antipatternReportStatusMessage: "STRING_VALUE",
// osVersion: "STRING_VALUE",
// osDriver: "STRING_VALUE",
// lastAnalyzedTimestamp: new Date("TIMESTAMP"),
// associatedServerId: "STRING_VALUE",
// moreServerAssociationExists: true || false,
// runtimeStatus: "STRING_VALUE",
// runtimeStatusMessage: "STRING_VALUE",
// appUnitError: { // AppUnitError
// appUnitErrorCategory: "STRING_VALUE",
// },
// resultList: [ // ResultList
// { // Result
// analysisType: "STRING_VALUE",
// analysisStatus: { // AnalysisStatusUnion Union: only one key present
// runtimeAnalysisStatus: "STRING_VALUE",
// srcCodeOrDbAnalysisStatus: "STRING_VALUE",
// },
// statusMessage: "STRING_VALUE",
// antipatternReportResultList: [ // AntipatternReportResultList
// { // AntipatternReportResult
// analyzerName: { // AnalyzerNameUnion Union: only one key present
// binaryAnalyzerName: "STRING_VALUE",
// runTimeAnalyzerName: "STRING_VALUE",
// sourceCodeAnalyzerName: "STRING_VALUE",
// },
// antiPatternReportS3Object: {
// s3Bucket: "STRING_VALUE",
// s3key: "STRING_VALUE",
// },
// antipatternReportStatus: "STRING_VALUE",
// antipatternReportStatusMessage: "STRING_VALUE",
// },
// ],
// },
// ],
// },
// ],
// nextToken: "STRING_VALUE",
// };

Param

ListApplicationComponentsCommandInput

Returns

ListApplicationComponentsCommandOutput

See

Throws

AccessDeniedException (client fault)

The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.

Throws

InternalServerException (server fault)

The server experienced an internal error. Try again.

Throws

ServiceLinkedRoleLockClientException (client fault)

Exception to indicate that the service-linked role (SLR) is locked.

Throws

ValidationException (client fault)

The request body isn't valid.

Throws

MigrationHubStrategyServiceException

Base exception class for all service exceptions from MigrationHubStrategy service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods