amazonka-devicefarm-1.6.0: Amazon Device Farm SDK.

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

Network.AWS.DeviceFarm.GetTest

Contents

Description

Gets information about a test.

Synopsis

Creating a Request

getTest #

Arguments

:: Text

gtArn

-> GetTest 

Creates a value of GetTest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetTest #

Represents a request to the get test operation.

See: getTest smart constructor.

Instances

Eq GetTest # 

Methods

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

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

Data GetTest # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetTest -> c GetTest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetTest #

toConstr :: GetTest -> Constr #

dataTypeOf :: GetTest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetTest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetTest) #

gmapT :: (forall b. Data b => b -> b) -> GetTest -> GetTest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetTest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetTest -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetTest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetTest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetTest -> m GetTest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetTest -> m GetTest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetTest -> m GetTest #

Read GetTest # 
Show GetTest # 
Generic GetTest # 

Associated Types

type Rep GetTest :: * -> * #

Methods

from :: GetTest -> Rep GetTest x #

to :: Rep GetTest x -> GetTest #

Hashable GetTest # 

Methods

hashWithSalt :: Int -> GetTest -> Int #

hash :: GetTest -> Int #

ToJSON GetTest # 
NFData GetTest # 

Methods

rnf :: GetTest -> () #

AWSRequest GetTest # 

Associated Types

type Rs GetTest :: * #

ToHeaders GetTest # 

Methods

toHeaders :: GetTest -> [Header] #

ToPath GetTest # 

Methods

toPath :: GetTest -> ByteString #

ToQuery GetTest # 
type Rep GetTest # 
type Rep GetTest = D1 * (MetaData "GetTest" "Network.AWS.DeviceFarm.GetTest" "amazonka-devicefarm-1.6.0-1RE2Lvq2vKT750159tw1bo" True) (C1 * (MetaCons "GetTest'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gtArn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetTest # 

Request Lenses

gtArn :: Lens' GetTest Text #

The test's ARN.

Destructuring the Response

getTestResponse #

Creates a value of GetTestResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetTestResponse #

Represents the result of a get test request.

See: getTestResponse smart constructor.

Instances

Eq GetTestResponse # 
Data GetTestResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetTestResponse -> c GetTestResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetTestResponse #

toConstr :: GetTestResponse -> Constr #

dataTypeOf :: GetTestResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetTestResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetTestResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetTestResponse -> GetTestResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetTestResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetTestResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetTestResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetTestResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetTestResponse -> m GetTestResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetTestResponse -> m GetTestResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetTestResponse -> m GetTestResponse #

Read GetTestResponse # 
Show GetTestResponse # 
Generic GetTestResponse # 
NFData GetTestResponse # 

Methods

rnf :: GetTestResponse -> () #

type Rep GetTestResponse # 
type Rep GetTestResponse = D1 * (MetaData "GetTestResponse" "Network.AWS.DeviceFarm.GetTest" "amazonka-devicefarm-1.6.0-1RE2Lvq2vKT750159tw1bo" False) (C1 * (MetaCons "GetTestResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gtrsTest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Test))) (S1 * (MetaSel (Just Symbol "_gtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gtrsTest :: Lens' GetTestResponse (Maybe Test) #

A test condition that is evaluated.

gtrsResponseStatus :: Lens' GetTestResponse Int #

  • - | The response status code.