amazonka-transfer-2.0: Amazon Transfer Family 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.Transfer.StartServer

Description

Changes the state of a file transfer protocol-enabled server from OFFLINE to ONLINE. It has no impact on a server that is already ONLINE. An ONLINE server can accept and process file transfer jobs.

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

No response is returned from this call.

Synopsis

Creating a Request

data StartServer Source #

See: newStartServer smart constructor.

Constructors

StartServer' 

Fields

  • serverId :: Text

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

Instances

Instances details
ToJSON StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

ToHeaders StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

Methods

toHeaders :: StartServer -> [Header] #

ToPath StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

ToQuery StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

AWSRequest StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

Associated Types

type AWSResponse StartServer #

Generic StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

Associated Types

type Rep StartServer :: Type -> Type #

Read StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

Show StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

NFData StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

Methods

rnf :: StartServer -> () #

Eq StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

Hashable StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

type AWSResponse StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

type Rep StartServer Source # 
Instance details

Defined in Amazonka.Transfer.StartServer

type Rep StartServer = D1 ('MetaData "StartServer" "Amazonka.Transfer.StartServer" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "StartServer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serverId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartServer Source #

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

StartServer, startServer_serverId - A system-assigned unique identifier for a server that you start.

Request Lenses

startServer_serverId :: Lens' StartServer Text Source #

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

Destructuring the Response

data StartServerResponse Source #

See: newStartServerResponse smart constructor.

Constructors

StartServerResponse' 

newStartServerResponse :: StartServerResponse Source #

Create a value of StartServerResponse with all optional fields omitted.

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