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.Types.State

Description

 
Synopsis

Documentation

newtype State Source #

Describes the condition of a file transfer protocol-enabled server with respect to its ability to perform file operations. There are six possible states: OFFLINE, ONLINE, STARTING, STOPPING, START_FAILED, and STOP_FAILED.

OFFLINE indicates that the server exists, but that it is not available for file operations. ONLINE indicates that the server is available to perform file operations. STARTING indicates that the server's was instantiated, but the server is not yet available to perform file operations. Under normal conditions, it can take a couple of minutes for the server to be completely operational. Both START_FAILED and STOP_FAILED are error conditions.

Constructors

State' 

Fields

Bundled Patterns

pattern State_OFFLINE :: State 
pattern State_ONLINE :: State 
pattern State_STARTING :: State 
pattern State_START_FAILED :: State 
pattern State_STOPPING :: State 
pattern State_STOP_FAILED :: State 

Instances

Instances details
Eq State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

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

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

Ord State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

compare :: State -> State -> Ordering #

(<) :: State -> State -> Bool #

(<=) :: State -> State -> Bool #

(>) :: State -> State -> Bool #

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

max :: State -> State -> State #

min :: State -> State -> State #

Read State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Show State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

showsPrec :: Int -> State -> ShowS #

show :: State -> String #

showList :: [State] -> ShowS #

Generic State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Associated Types

type Rep State :: Type -> Type #

Methods

from :: State -> Rep State x #

to :: Rep State x -> State #

NFData State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

rnf :: State -> () #

Hashable State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

hashWithSalt :: Int -> State -> Int #

hash :: State -> Int #

ToJSON State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

ToJSONKey State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

FromJSON State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

FromJSONKey State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

ToLog State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

ToHeader State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

toHeader :: HeaderName -> State -> [Header] #

ToQuery State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

toQuery :: State -> QueryString #

FromXML State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

parseXML :: [Node] -> Either String State #

ToXML State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

toXML :: State -> XML #

ToByteString State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

toBS :: State -> ByteString #

FromText State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

ToText State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

Methods

toText :: State -> Text #

type Rep State Source # 
Instance details

Defined in Amazonka.Transfer.Types.State

type Rep State = D1 ('MetaData "State" "Amazonka.Transfer.Types.State" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'True) (C1 ('MetaCons "State'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))