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

Description

Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.

Synopsis

Creating a Request

data StartRecovery Source #

See: newStartRecovery smart constructor.

Constructors

StartRecovery' 

Fields

Instances

Instances details
ToJSON StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

ToHeaders StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

ToPath StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

ToQuery StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

AWSRequest StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

Associated Types

type AWSResponse StartRecovery #

Generic StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

Associated Types

type Rep StartRecovery :: Type -> Type #

Show StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

NFData StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

Methods

rnf :: StartRecovery -> () #

Eq StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

Hashable StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

type AWSResponse StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

type Rep StartRecovery Source # 
Instance details

Defined in Amazonka.DrS.StartRecovery

type Rep StartRecovery = D1 ('MetaData "StartRecovery" "Amazonka.DrS.StartRecovery" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "StartRecovery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isDrill") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))) :*: S1 ('MetaSel ('Just "sourceServers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty StartRecoveryRequestSourceServer)))))

newStartRecovery Source #

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

StartRecovery, startRecovery_isDrill - Whether this Source Server Recovery operation is a drill or not.

StartRecovery, startRecovery_tags - The tags to be associated with the Recovery Job.

$sel:sourceServers:StartRecovery', startRecovery_sourceServers - The Source Servers that we want to start a Recovery Job for.

Request Lenses

startRecovery_isDrill :: Lens' StartRecovery (Maybe Bool) Source #

Whether this Source Server Recovery operation is a drill or not.

startRecovery_tags :: Lens' StartRecovery (Maybe (HashMap Text Text)) Source #

The tags to be associated with the Recovery Job.

startRecovery_sourceServers :: Lens' StartRecovery (NonEmpty StartRecoveryRequestSourceServer) Source #

The Source Servers that we want to start a Recovery Job for.

Destructuring the Response

data StartRecoveryResponse Source #

See: newStartRecoveryResponse smart constructor.

Constructors

StartRecoveryResponse' 

Fields

newStartRecoveryResponse Source #

Create a value of StartRecoveryResponse 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:job:StartRecoveryResponse', startRecoveryResponse_job - The Recovery Job.

$sel:httpStatus:StartRecoveryResponse', startRecoveryResponse_httpStatus - The response's http status code.

Response Lenses