UpdateApplicationComponentConfig - Migration Hub Strategy Recommendations


Updates the configuration of an application component.

Request Syntax

POST /update-applicationcomponent-config/ HTTP/1.1 Content-type: application/json { "applicationComponentId": "string", "appType": "string", "configureOnly": boolean, "inclusionStatus": "string", "secretsManagerKey": "string", "sourceCodeList": [ { "location": "string", "projectName": "string", "sourceVersion": "string", "versionControl": "string" } ], "strategyOption": { "isPreferred": boolean, "strategy": "string", "targetDestination": "string", "toolName": "string" } }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.


The ID of the application component. The ID is unique within an AWS account.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 44.

Pattern: [0-9a-zA-Z-]+

Required: Yes


The type of known component.

Type: String

Valid Values: DotNetFramework | Java | SQLServer | IIS | Oracle | Other | Tomcat | JBoss | Spring | Mongo DB | DB2 | Maria DB | MySQL | Sybase | PostgreSQLServer | Cassandra | IBM WebSphere | Oracle WebLogic | Visual Basic | Unknown | DotnetCore | Dotnet

Required: No


Update the configuration request of an application component. If it is set to true, the source code and/or database credentials are updated. If it is set to false, the source code and/or database credentials are updated and an analysis is initiated.

Type: Boolean

Required: No


Indicates whether the application component has been included for server recommendation or not.

Type: String

Valid Values: excludeFromAssessment | includeInAssessment

Required: No


Database credentials.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: .*

Required: No


The list of source code configurations to update for the application component.

Type: Array of SourceCode objects

Required: No


The preferred strategy options for the application component. Use values from the GetApplicationComponentStrategies response.

Type: StrategyOption object

Required: No

Response Syntax

HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.


For information about the errors that are common to all actions, see Common Errors.


The server experienced an internal error. Try again.

HTTP Status Code: 500


The specified ID in the request is not found.

HTTP Status Code: 404


The request was denied due to request throttling.

HTTP Status Code: 429


The request body isn't valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: