libZSservicesZSamazonka-smsZSamazonka-sms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SMS.Types.Server

Description

 
Synopsis

Documentation

data Server Source #

Represents a server.

See: newServer smart constructor.

Constructors

Server' 

Fields

Instances

Instances details
Eq Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

Methods

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

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

Read Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

Show 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 #

NFData Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

Methods

rnf :: Server -> () #

Hashable Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

Methods

hashWithSalt :: Int -> Server -> Int #

hash :: Server -> Int #

ToJSON Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

FromJSON Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

type Rep Server Source # 
Instance details

Defined in Amazonka.SMS.Types.Server

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

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:serverType:Server', server_serverType - The type of server.

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

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

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

$sel:replicationJobId:Server', server_replicationJobId - The ID of the replication job.

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

The ID of the server.

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

Indicates whether the replication job is deleted or failed.

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

Information about the VM server.

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

The ID of the replication job.