amazonka-drs-2.0: Amazon Elastic Disaster Recovery Service 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.DrS.UpdateLaunchConfiguration

Description

Updates a LaunchConfiguration by Source Server ID.

Synopsis

Creating a Request

data UpdateLaunchConfiguration Source #

See: newUpdateLaunchConfiguration smart constructor.

Constructors

UpdateLaunchConfiguration' 

Fields

Instances

Instances details
ToJSON UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

ToHeaders UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

ToPath UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

ToQuery UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

AWSRequest UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

Generic UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

Associated Types

type Rep UpdateLaunchConfiguration :: Type -> Type #

Read UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

Show UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

NFData UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

Eq UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

Hashable UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

type AWSResponse UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

type Rep UpdateLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.UpdateLaunchConfiguration

type Rep UpdateLaunchConfiguration = D1 ('MetaData "UpdateLaunchConfiguration" "Amazonka.DrS.UpdateLaunchConfiguration" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "UpdateLaunchConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "copyPrivateIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "copyTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "launchDisposition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchDisposition)))) :*: ((S1 ('MetaSel ('Just "licensing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Licensing)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "targetInstanceTypeRightSizingMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetInstanceTypeRightSizingMethod)) :*: S1 ('MetaSel ('Just "sourceServerID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateLaunchConfiguration Source #

Create a value of UpdateLaunchConfiguration 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:

UpdateLaunchConfiguration, updateLaunchConfiguration_copyPrivateIp - Whether we should copy the Private IP of the Source Server to the Recovery Instance.

UpdateLaunchConfiguration, updateLaunchConfiguration_copyTags - Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.

UpdateLaunchConfiguration, updateLaunchConfiguration_launchDisposition - The state of the Recovery Instance in EC2 after the recovery operation.

UpdateLaunchConfiguration, updateLaunchConfiguration_licensing - The licensing configuration to be used for this launch configuration.

UpdateLaunchConfiguration, updateLaunchConfiguration_name - The name of the launch configuration.

UpdateLaunchConfiguration, updateLaunchConfiguration_targetInstanceTypeRightSizingMethod - Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.

UpdateLaunchConfiguration, updateLaunchConfiguration_sourceServerID - The ID of the Source Server that we want to retrieve a Launch Configuration for.

Request Lenses

updateLaunchConfiguration_copyPrivateIp :: Lens' UpdateLaunchConfiguration (Maybe Bool) Source #

Whether we should copy the Private IP of the Source Server to the Recovery Instance.

updateLaunchConfiguration_copyTags :: Lens' UpdateLaunchConfiguration (Maybe Bool) Source #

Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.

updateLaunchConfiguration_launchDisposition :: Lens' UpdateLaunchConfiguration (Maybe LaunchDisposition) Source #

The state of the Recovery Instance in EC2 after the recovery operation.

updateLaunchConfiguration_licensing :: Lens' UpdateLaunchConfiguration (Maybe Licensing) Source #

The licensing configuration to be used for this launch configuration.

updateLaunchConfiguration_targetInstanceTypeRightSizingMethod :: Lens' UpdateLaunchConfiguration (Maybe TargetInstanceTypeRightSizingMethod) Source #

Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.

updateLaunchConfiguration_sourceServerID :: Lens' UpdateLaunchConfiguration Text Source #

The ID of the Source Server that we want to retrieve a Launch Configuration for.

Destructuring the Response

data LaunchConfiguration Source #

See: newLaunchConfiguration smart constructor.

Constructors

LaunchConfiguration' 

Fields

Instances

Instances details
FromJSON LaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.Types.LaunchConfiguration

Generic LaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.Types.LaunchConfiguration

Associated Types

type Rep LaunchConfiguration :: Type -> Type #

Read LaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.Types.LaunchConfiguration

Show LaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.Types.LaunchConfiguration

NFData LaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.Types.LaunchConfiguration

Methods

rnf :: LaunchConfiguration -> () #

Eq LaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.Types.LaunchConfiguration

Hashable LaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.Types.LaunchConfiguration

type Rep LaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.Types.LaunchConfiguration

newLaunchConfiguration :: LaunchConfiguration Source #

Create a value of LaunchConfiguration 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:copyPrivateIp:LaunchConfiguration', launchConfiguration_copyPrivateIp - Whether we should copy the Private IP of the Source Server to the Recovery Instance.

$sel:copyTags:LaunchConfiguration', launchConfiguration_copyTags - Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.

$sel:ec2LaunchTemplateID:LaunchConfiguration', launchConfiguration_ec2LaunchTemplateID - The EC2 launch template ID of this launch configuration.

$sel:launchDisposition:LaunchConfiguration', launchConfiguration_launchDisposition - The state of the Recovery Instance in EC2 after the recovery operation.

$sel:licensing:LaunchConfiguration', launchConfiguration_licensing - The licensing configuration to be used for this launch configuration.

$sel:name:LaunchConfiguration', launchConfiguration_name - The name of the launch configuration.

$sel:sourceServerID:LaunchConfiguration', launchConfiguration_sourceServerID - The ID of the Source Server for this launch configuration.

$sel:targetInstanceTypeRightSizingMethod:LaunchConfiguration', launchConfiguration_targetInstanceTypeRightSizingMethod - Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.

Response Lenses

launchConfiguration_copyPrivateIp :: Lens' LaunchConfiguration (Maybe Bool) Source #

Whether we should copy the Private IP of the Source Server to the Recovery Instance.

launchConfiguration_copyTags :: Lens' LaunchConfiguration (Maybe Bool) Source #

Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.

launchConfiguration_ec2LaunchTemplateID :: Lens' LaunchConfiguration (Maybe Text) Source #

The EC2 launch template ID of this launch configuration.

launchConfiguration_launchDisposition :: Lens' LaunchConfiguration (Maybe LaunchDisposition) Source #

The state of the Recovery Instance in EC2 after the recovery operation.

launchConfiguration_licensing :: Lens' LaunchConfiguration (Maybe Licensing) Source #

The licensing configuration to be used for this launch configuration.

launchConfiguration_name :: Lens' LaunchConfiguration (Maybe Text) Source #

The name of the launch configuration.

launchConfiguration_sourceServerID :: Lens' LaunchConfiguration (Maybe Text) Source #

The ID of the Source Server for this launch configuration.

launchConfiguration_targetInstanceTypeRightSizingMethod :: Lens' LaunchConfiguration (Maybe TargetInstanceTypeRightSizingMethod) Source #

Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.