Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates the configuration of an application component.
Synopsis
- data UpdateApplicationComponentConfig = UpdateApplicationComponentConfig' {}
- newUpdateApplicationComponentConfig :: Text -> UpdateApplicationComponentConfig
- updateApplicationComponentConfig_appType :: Lens' UpdateApplicationComponentConfig (Maybe AppType)
- updateApplicationComponentConfig_configureOnly :: Lens' UpdateApplicationComponentConfig (Maybe Bool)
- updateApplicationComponentConfig_inclusionStatus :: Lens' UpdateApplicationComponentConfig (Maybe InclusionStatus)
- updateApplicationComponentConfig_secretsManagerKey :: Lens' UpdateApplicationComponentConfig (Maybe Text)
- updateApplicationComponentConfig_sourceCodeList :: Lens' UpdateApplicationComponentConfig (Maybe [SourceCode])
- updateApplicationComponentConfig_strategyOption :: Lens' UpdateApplicationComponentConfig (Maybe StrategyOption)
- updateApplicationComponentConfig_applicationComponentId :: Lens' UpdateApplicationComponentConfig Text
- data UpdateApplicationComponentConfigResponse = UpdateApplicationComponentConfigResponse' {
- httpStatus :: Int
- newUpdateApplicationComponentConfigResponse :: Int -> UpdateApplicationComponentConfigResponse
- updateApplicationComponentConfigResponse_httpStatus :: Lens' UpdateApplicationComponentConfigResponse Int
Creating a Request
data UpdateApplicationComponentConfig Source #
See: newUpdateApplicationComponentConfig
smart constructor.
UpdateApplicationComponentConfig' | |
|
Instances
newUpdateApplicationComponentConfig Source #
:: Text |
|
-> UpdateApplicationComponentConfig |
Create a value of UpdateApplicationComponentConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateApplicationComponentConfig
, updateApplicationComponentConfig_appType
- The type of known component.
$sel:configureOnly:UpdateApplicationComponentConfig'
, updateApplicationComponentConfig_configureOnly
- 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.
UpdateApplicationComponentConfig
, updateApplicationComponentConfig_inclusionStatus
- Indicates whether the application component has been included for server
recommendation or not.
$sel:secretsManagerKey:UpdateApplicationComponentConfig'
, updateApplicationComponentConfig_secretsManagerKey
- Database credentials.
$sel:sourceCodeList:UpdateApplicationComponentConfig'
, updateApplicationComponentConfig_sourceCodeList
- The list of source code configurations to update for the application
component.
$sel:strategyOption:UpdateApplicationComponentConfig'
, updateApplicationComponentConfig_strategyOption
- The preferred strategy options for the application component. Use values
from the GetApplicationComponentStrategies response.
$sel:applicationComponentId:UpdateApplicationComponentConfig'
, updateApplicationComponentConfig_applicationComponentId
- The ID of the application component. The ID is unique within an AWS
account.
Request Lenses
updateApplicationComponentConfig_appType :: Lens' UpdateApplicationComponentConfig (Maybe AppType) Source #
The type of known component.
updateApplicationComponentConfig_configureOnly :: Lens' UpdateApplicationComponentConfig (Maybe Bool) Source #
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.
updateApplicationComponentConfig_inclusionStatus :: Lens' UpdateApplicationComponentConfig (Maybe InclusionStatus) Source #
Indicates whether the application component has been included for server recommendation or not.
updateApplicationComponentConfig_secretsManagerKey :: Lens' UpdateApplicationComponentConfig (Maybe Text) Source #
Database credentials.
updateApplicationComponentConfig_sourceCodeList :: Lens' UpdateApplicationComponentConfig (Maybe [SourceCode]) Source #
The list of source code configurations to update for the application component.
updateApplicationComponentConfig_strategyOption :: Lens' UpdateApplicationComponentConfig (Maybe StrategyOption) Source #
The preferred strategy options for the application component. Use values from the GetApplicationComponentStrategies response.
updateApplicationComponentConfig_applicationComponentId :: Lens' UpdateApplicationComponentConfig Text Source #
The ID of the application component. The ID is unique within an AWS account.
Destructuring the Response
data UpdateApplicationComponentConfigResponse Source #
See: newUpdateApplicationComponentConfigResponse
smart constructor.
UpdateApplicationComponentConfigResponse' | |
|
Instances
Generic UpdateApplicationComponentConfigResponse Source # | |
Read UpdateApplicationComponentConfigResponse Source # | |
Show UpdateApplicationComponentConfigResponse Source # | |
NFData UpdateApplicationComponentConfigResponse Source # | |
Eq UpdateApplicationComponentConfigResponse Source # | |
type Rep UpdateApplicationComponentConfigResponse Source # | |
Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig type Rep UpdateApplicationComponentConfigResponse = D1 ('MetaData "UpdateApplicationComponentConfigResponse" "Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "UpdateApplicationComponentConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateApplicationComponentConfigResponse Source #
Create a value of UpdateApplicationComponentConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateApplicationComponentConfigResponse'
, updateApplicationComponentConfigResponse_httpStatus
- The response's http status code.
Response Lenses
updateApplicationComponentConfigResponse_httpStatus :: Lens' UpdateApplicationComponentConfigResponse Int Source #
The response's http status code.