| 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 |
Amazonka.MGN.UpdateLaunchConfigurationTemplate
Description
Updates an existing Launch Configuration Template by ID.
Synopsis
- data UpdateLaunchConfigurationTemplate = UpdateLaunchConfigurationTemplate' {
- associatePublicIpAddress :: Maybe Bool
- bootMode :: Maybe BootMode
- copyPrivateIp :: Maybe Bool
- copyTags :: Maybe Bool
- enableMapAutoTagging :: Maybe Bool
- largeVolumeConf :: Maybe LaunchTemplateDiskConf
- launchDisposition :: Maybe LaunchDisposition
- licensing :: Maybe Licensing
- mapAutoTaggingMpeID :: Maybe Text
- postLaunchActions :: Maybe PostLaunchActions
- smallVolumeConf :: Maybe LaunchTemplateDiskConf
- smallVolumeMaxSize :: Maybe Natural
- targetInstanceTypeRightSizingMethod :: Maybe TargetInstanceTypeRightSizingMethod
- launchConfigurationTemplateID :: Text
- newUpdateLaunchConfigurationTemplate :: Text -> UpdateLaunchConfigurationTemplate
- updateLaunchConfigurationTemplate_associatePublicIpAddress :: Lens' UpdateLaunchConfigurationTemplate (Maybe Bool)
- updateLaunchConfigurationTemplate_bootMode :: Lens' UpdateLaunchConfigurationTemplate (Maybe BootMode)
- updateLaunchConfigurationTemplate_copyPrivateIp :: Lens' UpdateLaunchConfigurationTemplate (Maybe Bool)
- updateLaunchConfigurationTemplate_copyTags :: Lens' UpdateLaunchConfigurationTemplate (Maybe Bool)
- updateLaunchConfigurationTemplate_enableMapAutoTagging :: Lens' UpdateLaunchConfigurationTemplate (Maybe Bool)
- updateLaunchConfigurationTemplate_largeVolumeConf :: Lens' UpdateLaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf)
- updateLaunchConfigurationTemplate_launchDisposition :: Lens' UpdateLaunchConfigurationTemplate (Maybe LaunchDisposition)
- updateLaunchConfigurationTemplate_licensing :: Lens' UpdateLaunchConfigurationTemplate (Maybe Licensing)
- updateLaunchConfigurationTemplate_mapAutoTaggingMpeID :: Lens' UpdateLaunchConfigurationTemplate (Maybe Text)
- updateLaunchConfigurationTemplate_postLaunchActions :: Lens' UpdateLaunchConfigurationTemplate (Maybe PostLaunchActions)
- updateLaunchConfigurationTemplate_smallVolumeConf :: Lens' UpdateLaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf)
- updateLaunchConfigurationTemplate_smallVolumeMaxSize :: Lens' UpdateLaunchConfigurationTemplate (Maybe Natural)
- updateLaunchConfigurationTemplate_targetInstanceTypeRightSizingMethod :: Lens' UpdateLaunchConfigurationTemplate (Maybe TargetInstanceTypeRightSizingMethod)
- updateLaunchConfigurationTemplate_launchConfigurationTemplateID :: Lens' UpdateLaunchConfigurationTemplate Text
- data LaunchConfigurationTemplate = LaunchConfigurationTemplate' {
- arn :: Maybe Text
- associatePublicIpAddress :: Maybe Bool
- bootMode :: Maybe BootMode
- copyPrivateIp :: Maybe Bool
- copyTags :: Maybe Bool
- ec2LaunchTemplateID :: Maybe Text
- enableMapAutoTagging :: Maybe Bool
- largeVolumeConf :: Maybe LaunchTemplateDiskConf
- launchDisposition :: Maybe LaunchDisposition
- licensing :: Maybe Licensing
- mapAutoTaggingMpeID :: Maybe Text
- postLaunchActions :: Maybe PostLaunchActions
- smallVolumeConf :: Maybe LaunchTemplateDiskConf
- smallVolumeMaxSize :: Maybe Natural
- tags :: Maybe (Sensitive (HashMap Text Text))
- targetInstanceTypeRightSizingMethod :: Maybe TargetInstanceTypeRightSizingMethod
- launchConfigurationTemplateID :: Text
- newLaunchConfigurationTemplate :: Text -> LaunchConfigurationTemplate
- launchConfigurationTemplate_arn :: Lens' LaunchConfigurationTemplate (Maybe Text)
- launchConfigurationTemplate_associatePublicIpAddress :: Lens' LaunchConfigurationTemplate (Maybe Bool)
- launchConfigurationTemplate_bootMode :: Lens' LaunchConfigurationTemplate (Maybe BootMode)
- launchConfigurationTemplate_copyPrivateIp :: Lens' LaunchConfigurationTemplate (Maybe Bool)
- launchConfigurationTemplate_copyTags :: Lens' LaunchConfigurationTemplate (Maybe Bool)
- launchConfigurationTemplate_ec2LaunchTemplateID :: Lens' LaunchConfigurationTemplate (Maybe Text)
- launchConfigurationTemplate_enableMapAutoTagging :: Lens' LaunchConfigurationTemplate (Maybe Bool)
- launchConfigurationTemplate_largeVolumeConf :: Lens' LaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf)
- launchConfigurationTemplate_launchDisposition :: Lens' LaunchConfigurationTemplate (Maybe LaunchDisposition)
- launchConfigurationTemplate_licensing :: Lens' LaunchConfigurationTemplate (Maybe Licensing)
- launchConfigurationTemplate_mapAutoTaggingMpeID :: Lens' LaunchConfigurationTemplate (Maybe Text)
- launchConfigurationTemplate_postLaunchActions :: Lens' LaunchConfigurationTemplate (Maybe PostLaunchActions)
- launchConfigurationTemplate_smallVolumeConf :: Lens' LaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf)
- launchConfigurationTemplate_smallVolumeMaxSize :: Lens' LaunchConfigurationTemplate (Maybe Natural)
- launchConfigurationTemplate_tags :: Lens' LaunchConfigurationTemplate (Maybe (HashMap Text Text))
- launchConfigurationTemplate_targetInstanceTypeRightSizingMethod :: Lens' LaunchConfigurationTemplate (Maybe TargetInstanceTypeRightSizingMethod)
- launchConfigurationTemplate_launchConfigurationTemplateID :: Lens' LaunchConfigurationTemplate Text
Creating a Request
data UpdateLaunchConfigurationTemplate Source #
See: newUpdateLaunchConfigurationTemplate smart constructor.
Constructors
| UpdateLaunchConfigurationTemplate' | |
Fields
| |
Instances
newUpdateLaunchConfigurationTemplate Source #
Create a value of UpdateLaunchConfigurationTemplate 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:
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_associatePublicIpAddress - Associate public Ip address.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_bootMode - Launch configuration template boot mode.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_copyPrivateIp - Copy private Ip.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_copyTags - Copy tags.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_enableMapAutoTagging - Enable map auto tagging.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_largeVolumeConf - Large volume config.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_launchDisposition - Launch disposition.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_licensing - Undocumented member.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_mapAutoTaggingMpeID - Launch configuration template map auto tagging MPE ID.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_postLaunchActions - Post Launch Action to execute on the Test or Cutover instance.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_smallVolumeConf - Small volume config.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_smallVolumeMaxSize - Small volume maximum size.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_targetInstanceTypeRightSizingMethod - Target instance type right-sizing method.
UpdateLaunchConfigurationTemplate, updateLaunchConfigurationTemplate_launchConfigurationTemplateID - Launch Configuration Template ID.
Request Lenses
updateLaunchConfigurationTemplate_associatePublicIpAddress :: Lens' UpdateLaunchConfigurationTemplate (Maybe Bool) Source #
Associate public Ip address.
updateLaunchConfigurationTemplate_bootMode :: Lens' UpdateLaunchConfigurationTemplate (Maybe BootMode) Source #
Launch configuration template boot mode.
updateLaunchConfigurationTemplate_copyPrivateIp :: Lens' UpdateLaunchConfigurationTemplate (Maybe Bool) Source #
Copy private Ip.
updateLaunchConfigurationTemplate_copyTags :: Lens' UpdateLaunchConfigurationTemplate (Maybe Bool) Source #
Copy tags.
updateLaunchConfigurationTemplate_enableMapAutoTagging :: Lens' UpdateLaunchConfigurationTemplate (Maybe Bool) Source #
Enable map auto tagging.
updateLaunchConfigurationTemplate_largeVolumeConf :: Lens' UpdateLaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf) Source #
Large volume config.
updateLaunchConfigurationTemplate_launchDisposition :: Lens' UpdateLaunchConfigurationTemplate (Maybe LaunchDisposition) Source #
Launch disposition.
updateLaunchConfigurationTemplate_licensing :: Lens' UpdateLaunchConfigurationTemplate (Maybe Licensing) Source #
Undocumented member.
updateLaunchConfigurationTemplate_mapAutoTaggingMpeID :: Lens' UpdateLaunchConfigurationTemplate (Maybe Text) Source #
Launch configuration template map auto tagging MPE ID.
updateLaunchConfigurationTemplate_postLaunchActions :: Lens' UpdateLaunchConfigurationTemplate (Maybe PostLaunchActions) Source #
Post Launch Action to execute on the Test or Cutover instance.
updateLaunchConfigurationTemplate_smallVolumeConf :: Lens' UpdateLaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf) Source #
Small volume config.
updateLaunchConfigurationTemplate_smallVolumeMaxSize :: Lens' UpdateLaunchConfigurationTemplate (Maybe Natural) Source #
Small volume maximum size.
updateLaunchConfigurationTemplate_targetInstanceTypeRightSizingMethod :: Lens' UpdateLaunchConfigurationTemplate (Maybe TargetInstanceTypeRightSizingMethod) Source #
Target instance type right-sizing method.
updateLaunchConfigurationTemplate_launchConfigurationTemplateID :: Lens' UpdateLaunchConfigurationTemplate Text Source #
Launch Configuration Template ID.
Destructuring the Response
data LaunchConfigurationTemplate Source #
See: newLaunchConfigurationTemplate smart constructor.
Constructors
| LaunchConfigurationTemplate' | |
Fields
| |
Instances
newLaunchConfigurationTemplate Source #
Arguments
| :: Text |
|
| -> LaunchConfigurationTemplate |
Create a value of LaunchConfigurationTemplate 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:arn:LaunchConfigurationTemplate', launchConfigurationTemplate_arn - ARN of the Launch Configuration Template.
$sel:associatePublicIpAddress:LaunchConfigurationTemplate', launchConfigurationTemplate_associatePublicIpAddress - Associate public Ip address.
$sel:bootMode:LaunchConfigurationTemplate', launchConfigurationTemplate_bootMode - Launch configuration template boot mode.
$sel:copyPrivateIp:LaunchConfigurationTemplate', launchConfigurationTemplate_copyPrivateIp - Copy private Ip.
$sel:copyTags:LaunchConfigurationTemplate', launchConfigurationTemplate_copyTags - Copy tags.
$sel:ec2LaunchTemplateID:LaunchConfigurationTemplate', launchConfigurationTemplate_ec2LaunchTemplateID - EC2 launch template ID.
$sel:enableMapAutoTagging:LaunchConfigurationTemplate', launchConfigurationTemplate_enableMapAutoTagging - Enable map auto tagging.
$sel:largeVolumeConf:LaunchConfigurationTemplate', launchConfigurationTemplate_largeVolumeConf - Large volume config.
$sel:launchDisposition:LaunchConfigurationTemplate', launchConfigurationTemplate_launchDisposition - Launch disposition.
$sel:licensing:LaunchConfigurationTemplate', launchConfigurationTemplate_licensing - Undocumented member.
$sel:mapAutoTaggingMpeID:LaunchConfigurationTemplate', launchConfigurationTemplate_mapAutoTaggingMpeID - Launch configuration template map auto tagging MPE ID.
$sel:postLaunchActions:LaunchConfigurationTemplate', launchConfigurationTemplate_postLaunchActions - Post Launch Actions of the Launch Configuration Template.
$sel:smallVolumeConf:LaunchConfigurationTemplate', launchConfigurationTemplate_smallVolumeConf - Small volume config.
$sel:smallVolumeMaxSize:LaunchConfigurationTemplate', launchConfigurationTemplate_smallVolumeMaxSize - Small volume maximum size.
$sel:tags:LaunchConfigurationTemplate', launchConfigurationTemplate_tags - Tags of the Launch Configuration Template.
$sel:targetInstanceTypeRightSizingMethod:LaunchConfigurationTemplate', launchConfigurationTemplate_targetInstanceTypeRightSizingMethod - Target instance type right-sizing method.
$sel:launchConfigurationTemplateID:LaunchConfigurationTemplate', launchConfigurationTemplate_launchConfigurationTemplateID - ID of the Launch Configuration Template.
Response Lenses
launchConfigurationTemplate_arn :: Lens' LaunchConfigurationTemplate (Maybe Text) Source #
ARN of the Launch Configuration Template.
launchConfigurationTemplate_associatePublicIpAddress :: Lens' LaunchConfigurationTemplate (Maybe Bool) Source #
Associate public Ip address.
launchConfigurationTemplate_bootMode :: Lens' LaunchConfigurationTemplate (Maybe BootMode) Source #
Launch configuration template boot mode.
launchConfigurationTemplate_copyPrivateIp :: Lens' LaunchConfigurationTemplate (Maybe Bool) Source #
Copy private Ip.
launchConfigurationTemplate_copyTags :: Lens' LaunchConfigurationTemplate (Maybe Bool) Source #
Copy tags.
launchConfigurationTemplate_ec2LaunchTemplateID :: Lens' LaunchConfigurationTemplate (Maybe Text) Source #
EC2 launch template ID.
launchConfigurationTemplate_enableMapAutoTagging :: Lens' LaunchConfigurationTemplate (Maybe Bool) Source #
Enable map auto tagging.
launchConfigurationTemplate_largeVolumeConf :: Lens' LaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf) Source #
Large volume config.
launchConfigurationTemplate_launchDisposition :: Lens' LaunchConfigurationTemplate (Maybe LaunchDisposition) Source #
Launch disposition.
launchConfigurationTemplate_licensing :: Lens' LaunchConfigurationTemplate (Maybe Licensing) Source #
Undocumented member.
launchConfigurationTemplate_mapAutoTaggingMpeID :: Lens' LaunchConfigurationTemplate (Maybe Text) Source #
Launch configuration template map auto tagging MPE ID.
launchConfigurationTemplate_postLaunchActions :: Lens' LaunchConfigurationTemplate (Maybe PostLaunchActions) Source #
Post Launch Actions of the Launch Configuration Template.
launchConfigurationTemplate_smallVolumeConf :: Lens' LaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf) Source #
Small volume config.
launchConfigurationTemplate_smallVolumeMaxSize :: Lens' LaunchConfigurationTemplate (Maybe Natural) Source #
Small volume maximum size.
launchConfigurationTemplate_tags :: Lens' LaunchConfigurationTemplate (Maybe (HashMap Text Text)) Source #
Tags of the Launch Configuration Template.
launchConfigurationTemplate_targetInstanceTypeRightSizingMethod :: Lens' LaunchConfigurationTemplate (Maybe TargetInstanceTypeRightSizingMethod) Source #
Target instance type right-sizing method.
launchConfigurationTemplate_launchConfigurationTemplateID :: Lens' LaunchConfigurationTemplate Text Source #
ID of the Launch Configuration Template.