amazonka-sms-2.0: Amazon Server Migration 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.SMS.Types.Server

Description

 
Synopsis

Documentation

data Server Source #

Represents a server.

See: newServer smart constructor.

Constructors

Server' 

Fields

Instances

Instances details
FromJSON Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

ToJSON Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

Generic Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

Associated Types

type Rep Server :: Type -> Type #

Methods

from :: Server -> Rep Server x #

to :: Rep Server x -> Server #

Read Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

Show Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

NFData Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

Methods

rnf :: Server -> () #

Eq Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

Methods

(==) :: Server -> Server -> Bool #

(/=) :: Server -> Server -> Bool #

Hashable Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

Methods

hashWithSalt :: Int -> Server -> Int #

hash :: Server -> Int #

type Rep Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

type Rep Server = D1 ('MetaData "Server" "Amazonka.SMS.Types.Server" "amazonka-sms-2.0-4YLznk7UFuE5VtyLFXmW6X" 'False) (C1 ('MetaCons "Server'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "replicationJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "replicationJobTerminated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "serverId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serverType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerType)) :*: S1 ('MetaSel ('Just "vmServer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VmServer))))))

newServer :: Server Source #

Create a value of Server 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:replicationJobId:Server', server_replicationJobId - The ID of the replication job.

$sel:replicationJobTerminated:Server', server_replicationJobTerminated - Indicates whether the replication job is deleted or failed.

$sel:serverId:Server', server_serverId - The ID of the server.

$sel:serverType:Server', server_serverType - The type of server.

$sel:vmServer:Server', server_vmServer - Information about the VM server.

server_replicationJobId :: Lens' Server (Maybe Text) Source #

The ID of the replication job.

server_replicationJobTerminated :: Lens' Server (Maybe Bool) Source #

Indicates whether the replication job is deleted or failed.

server_serverId :: Lens' Server (Maybe Text) Source #

The ID of the server.

server_vmServer :: Lens' Server (Maybe VmServer) Source #

Information about the VM server.