update_application_component_config
¶
update_application_component_config(
application_component_id: ApplicationComponentId,
*,
config_overrides: Optional[MigrationHubStrategyClientConfig] = None,
inclusion_status: Optional[InclusionStatus] = None,
strategy_option: Optional[StrategyOption] = None,
source_code_list: Optional[SourceCodeList] = None,
secrets_manager_key: Optional[SecretsManagerKey] = None,
configure_only: Optional[Boolean] = None,
app_type: Optional[AppType] = None,
) -> UpdateApplicationComponentConfigResponse
Updates the configuration of an application component.
Parameters:
-
application_component_id(ApplicationComponentId) –The ID of the application component. The ID is unique within an AWS account.
-
inclusion_status(Optional[InclusionStatus], default:None) –Indicates whether the application component has been included for server recommendation or not.
-
strategy_option(Optional[StrategyOption], default:None) –The preferred strategy options for the application component. Use values from the GetApplicationComponentStrategies response.
-
source_code_list(Optional[SourceCodeList], default:None) –The list of source code configurations to update for the application component.
-
secrets_manager_key(Optional[SecretsManagerKey], default:None) –Database credentials.
-
configure_only(Optional[Boolean], default:None) –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.
-
app_type(Optional[AppType], default:None) –The type of known component.
Raises:
-
InternalServerException–The server experienced an internal error. Try again.
-
ResourceNotFoundException–The specified ID in the request is not found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request body isn't valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_migrationhubstrategy/_services/migration_hub_strategy.py
1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 | |