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", "inclusionStatus": "string", "secretsManagerKey": "string", "sourceCodeList": [ { "location": "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


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: