amazonka-devicefarm-1.4.5: Amazon Device Farm SDK.

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

Network.AWS.DeviceFarm.CreateDevicePool

Contents

Description

Creates a device pool.

Synopsis

Creating a Request

createDevicePool Source #

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

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

data CreateDevicePool Source #

Represents a request to the create device pool operation.

See: createDevicePool smart constructor.

Instances

Eq CreateDevicePool Source # 
Data CreateDevicePool Source # 

Methods

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

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

toConstr :: CreateDevicePool -> Constr #

dataTypeOf :: CreateDevicePool -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDevicePool Source # 
Show CreateDevicePool Source # 
Generic CreateDevicePool Source # 
Hashable CreateDevicePool Source # 
ToJSON CreateDevicePool Source # 
NFData CreateDevicePool Source # 

Methods

rnf :: CreateDevicePool -> () #

AWSRequest CreateDevicePool Source # 
ToPath CreateDevicePool Source # 
ToHeaders CreateDevicePool Source # 
ToQuery CreateDevicePool Source # 
type Rep CreateDevicePool Source # 
type Rep CreateDevicePool = D1 (MetaData "CreateDevicePool" "Network.AWS.DeviceFarm.CreateDevicePool" "amazonka-devicefarm-1.4.5-LrcbJwVFRJYIwYk0B89BMk" False) (C1 (MetaCons "CreateDevicePool'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdpDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cdpProjectARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cdpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cdpRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Rule])))))
type Rs CreateDevicePool Source # 

Request Lenses

cdpDescription :: Lens' CreateDevicePool (Maybe Text) Source #

The device pool's description.

cdpProjectARN :: Lens' CreateDevicePool Text Source #

The ARN of the project for the device pool.

cdpName :: Lens' CreateDevicePool Text Source #

The device pool's name.

cdpRules :: Lens' CreateDevicePool [Rule] Source #

The device pool's rules.

Destructuring the Response

createDevicePoolResponse Source #

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

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

data CreateDevicePoolResponse Source #

Represents the result of a create device pool request.

See: createDevicePoolResponse smart constructor.

Instances

Eq CreateDevicePoolResponse Source # 
Data CreateDevicePoolResponse Source # 

Methods

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

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

toConstr :: CreateDevicePoolResponse -> Constr #

dataTypeOf :: CreateDevicePoolResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDevicePoolResponse Source # 
Show CreateDevicePoolResponse Source # 
Generic CreateDevicePoolResponse Source # 
NFData CreateDevicePoolResponse Source # 
type Rep CreateDevicePoolResponse Source # 
type Rep CreateDevicePoolResponse = D1 (MetaData "CreateDevicePoolResponse" "Network.AWS.DeviceFarm.CreateDevicePool" "amazonka-devicefarm-1.4.5-LrcbJwVFRJYIwYk0B89BMk" False) (C1 (MetaCons "CreateDevicePoolResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cdprsDevicePool") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DevicePool))) (S1 (MetaSel (Just Symbol "_cdprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses