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

Description

Create an extended source server in the target Account based on the source server in staging account.

Synopsis

Creating a Request

data CreateExtendedSourceServer Source #

See: newCreateExtendedSourceServer smart constructor.

Constructors

CreateExtendedSourceServer' 

Fields

Instances

Instances details
ToJSON CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

ToHeaders CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

ToPath CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

ToQuery CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

AWSRequest CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

Generic CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

Associated Types

type Rep CreateExtendedSourceServer :: Type -> Type #

Show CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

NFData CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

Eq CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

Hashable CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

type AWSResponse CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

type Rep CreateExtendedSourceServer Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

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

newCreateExtendedSourceServer Source #

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

CreateExtendedSourceServer, createExtendedSourceServer_tags - A list of tags associated with the extended source server.

$sel:sourceServerArn:CreateExtendedSourceServer', createExtendedSourceServer_sourceServerArn - This defines the ARN of the source server in staging Account based on which you want to create an extended source server.

Request Lenses

createExtendedSourceServer_tags :: Lens' CreateExtendedSourceServer (Maybe (HashMap Text Text)) Source #

A list of tags associated with the extended source server.

createExtendedSourceServer_sourceServerArn :: Lens' CreateExtendedSourceServer Text Source #

This defines the ARN of the source server in staging Account based on which you want to create an extended source server.

Destructuring the Response

data CreateExtendedSourceServerResponse Source #

Constructors

CreateExtendedSourceServerResponse' 

Fields

Instances

Instances details
Generic CreateExtendedSourceServerResponse Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

Associated Types

type Rep CreateExtendedSourceServerResponse :: Type -> Type #

Show CreateExtendedSourceServerResponse Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

NFData CreateExtendedSourceServerResponse Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

Eq CreateExtendedSourceServerResponse Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

type Rep CreateExtendedSourceServerResponse Source # 
Instance details

Defined in Amazonka.DrS.CreateExtendedSourceServer

type Rep CreateExtendedSourceServerResponse = D1 ('MetaData "CreateExtendedSourceServerResponse" "Amazonka.DrS.CreateExtendedSourceServer" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "CreateExtendedSourceServerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceServer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceServer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateExtendedSourceServerResponse Source #

Create a value of CreateExtendedSourceServerResponse 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:sourceServer:CreateExtendedSourceServerResponse', createExtendedSourceServerResponse_sourceServer - Created extended source server.

$sel:httpStatus:CreateExtendedSourceServerResponse', createExtendedSourceServerResponse_httpStatus - The response's http status code.

Response Lenses