amazonka-devicefarm-1.6.1: 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.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 # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

Data CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

Show CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

Generic CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

Associated Types

type Rep CreateDevicePool :: Type -> Type #

Hashable CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

ToJSON CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

AWSRequest CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

Associated Types

type Rs CreateDevicePool :: Type #

ToHeaders CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

ToPath CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

ToQuery CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

NFData CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

Methods

rnf :: CreateDevicePool -> () #

type Rep CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

type Rep CreateDevicePool = D1 (MetaData "CreateDevicePool" "Network.AWS.DeviceFarm.CreateDevicePool" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "CreateDevicePool'" PrefixI True) ((S1 (MetaSel (Just "_cdpDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cdpProjectARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_cdpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cdpRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Rule]))))
type Rs CreateDevicePool Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

Data CreateDevicePoolResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

Show CreateDevicePoolResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

Generic CreateDevicePoolResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

Associated Types

type Rep CreateDevicePoolResponse :: Type -> Type #

NFData CreateDevicePoolResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

type Rep CreateDevicePoolResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateDevicePool

type Rep CreateDevicePoolResponse = D1 (MetaData "CreateDevicePoolResponse" "Network.AWS.DeviceFarm.CreateDevicePool" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "CreateDevicePoolResponse'" PrefixI True) (S1 (MetaSel (Just "_cdprsDevicePool") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DevicePool)) :*: S1 (MetaSel (Just "_cdprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses