libZSservicesZSamazonka-transferZSamazonka-transfer
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.Transfer.StopServer

Description

Changes the state of a file transfer protocol-enabled server from ONLINE to OFFLINE. An OFFLINE server cannot accept and process file transfer jobs. Information tied to your server, such as server and user properties, are not affected by stopping your server.

Stopping the server will not reduce or impact your file transfer protocol endpoint billing; you must delete the server to stop being billed.

The state of STOPPING indicates that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values of STOP_FAILED can indicate an error condition.

No response is returned from this call.

Synopsis

Creating a Request

data StopServer Source #

See: newStopServer smart constructor.

Constructors

StopServer' 

Fields

  • serverId :: Text

    A system-assigned unique identifier for a server that you stopped.

Instances

Instances details
Eq StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Read StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Show StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Generic StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Associated Types

type Rep StopServer :: Type -> Type #

NFData StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Methods

rnf :: StopServer -> () #

Hashable StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

ToJSON StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

AWSRequest StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Associated Types

type AWSResponse StopServer #

ToHeaders StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Methods

toHeaders :: StopServer -> [Header] #

ToPath StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

ToQuery StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

type Rep StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

type Rep StopServer = D1 ('MetaData "StopServer" "Amazonka.Transfer.StopServer" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "StopServer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serverId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopServer Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

newStopServer Source #

Create a value of StopServer 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:serverId:StopServer', stopServer_serverId - A system-assigned unique identifier for a server that you stopped.

Request Lenses

stopServer_serverId :: Lens' StopServer Text Source #

A system-assigned unique identifier for a server that you stopped.

Destructuring the Response

data StopServerResponse Source #

See: newStopServerResponse smart constructor.

Constructors

StopServerResponse' 

Instances

Instances details
Eq StopServerResponse Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Read StopServerResponse Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Show StopServerResponse Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Generic StopServerResponse Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Associated Types

type Rep StopServerResponse :: Type -> Type #

NFData StopServerResponse Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

Methods

rnf :: StopServerResponse -> () #

type Rep StopServerResponse Source # 
Instance details

Defined in Amazonka.Transfer.StopServer

type Rep StopServerResponse = D1 ('MetaData "StopServerResponse" "Amazonka.Transfer.StopServer" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "StopServerResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newStopServerResponse :: StopServerResponse Source #

Create a value of StopServerResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.