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.GetLaunchConfiguration

Description

Gets a LaunchConfiguration, filtered by Source Server IDs.

Synopsis

Creating a Request

data GetLaunchConfiguration Source #

See: newGetLaunchConfiguration smart constructor.

Constructors

GetLaunchConfiguration' 

Fields

  • sourceServerID :: Text

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

Instances

Instances details
ToJSON GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

ToHeaders GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

ToPath GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

ToQuery GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

AWSRequest GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

Associated Types

type AWSResponse GetLaunchConfiguration #

Generic GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

Associated Types

type Rep GetLaunchConfiguration :: Type -> Type #

Read GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

Show GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

NFData GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

Methods

rnf :: GetLaunchConfiguration -> () #

Eq GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

Hashable GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

type AWSResponse GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

type Rep GetLaunchConfiguration Source # 
Instance details

Defined in Amazonka.DrS.GetLaunchConfiguration

type Rep GetLaunchConfiguration = D1 ('MetaData "GetLaunchConfiguration" "Amazonka.DrS.GetLaunchConfiguration" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "GetLaunchConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceServerID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetLaunchConfiguration Source #

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

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

Request Lenses

getLaunchConfiguration_sourceServerID :: Lens' GetLaunchConfiguration 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.