amazonka-migrationhubstrategy-2.0: Amazon Migration Hub Strategy Recommendations SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

Description

Updates the configuration of an application component.

Synopsis

Creating a Request

data UpdateApplicationComponentConfig Source #

See: newUpdateApplicationComponentConfig smart constructor.

Constructors

UpdateApplicationComponentConfig' 

Fields

Instances

Instances details
ToJSON UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

ToHeaders UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

ToPath UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

ToQuery UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

AWSRequest UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

Generic UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

Associated Types

type Rep UpdateApplicationComponentConfig :: Type -> Type #

Show UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

NFData UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

Eq UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

Hashable UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

type AWSResponse UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

type Rep UpdateApplicationComponentConfig Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

type Rep UpdateApplicationComponentConfig = D1 ('MetaData "UpdateApplicationComponentConfig" "Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "UpdateApplicationComponentConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppType)) :*: (S1 ('MetaSel ('Just "configureOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "inclusionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InclusionStatus)))) :*: ((S1 ('MetaSel ('Just "secretsManagerKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "sourceCodeList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SourceCode]))) :*: (S1 ('MetaSel ('Just "strategyOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StrategyOption)) :*: S1 ('MetaSel ('Just "applicationComponentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateApplicationComponentConfig Source #

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_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_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 #

Constructors

UpdateApplicationComponentConfigResponse' 

Fields

Instances

Instances details
Generic UpdateApplicationComponentConfigResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

Read UpdateApplicationComponentConfigResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

Show UpdateApplicationComponentConfigResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

NFData UpdateApplicationComponentConfigResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

Eq UpdateApplicationComponentConfigResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.UpdateApplicationComponentConfig

type Rep UpdateApplicationComponentConfigResponse Source # 
Instance details

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