amazonka-devicefarm-1.5.0: Amazon Device Farm SDK.

Copyright(c) 2013-2017 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.CreateNetworkProfile

Contents

Description

Creates a network profile.

Synopsis

Creating a Request

createNetworkProfile Source #

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

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

  • cnpUplinkJitterMs - Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
  • cnpUplinkLossPercent - Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
  • cnpDownlinkJitterMs - Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
  • cnpDownlinkLossPercent - Proportion of received packets that fail to arrive from 0 to 100 percent.
  • cnpType - The type of network profile you wish to create. Valid values are listed below.
  • cnpUplinkDelayMs - Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
  • cnpUplinkBandwidthBits - The data throughput rate in bits per second, as an integer from 0 to 104857600.
  • cnpDescription - The description of the network profile.
  • cnpDownlinkDelayMs - Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
  • cnpDownlinkBandwidthBits - The data throughput rate in bits per second, as an integer from 0 to 104857600.
  • cnpProjectARN - The Amazon Resource Name (ARN) of the project for which you want to create a network profile.
  • cnpName - The name you wish to specify for the new network profile.

data CreateNetworkProfile Source #

See: createNetworkProfile smart constructor.

Instances

Eq CreateNetworkProfile Source # 
Data CreateNetworkProfile Source # 

Methods

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

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

toConstr :: CreateNetworkProfile -> Constr #

dataTypeOf :: CreateNetworkProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreateNetworkProfile -> () #

AWSRequest CreateNetworkProfile Source # 
ToQuery CreateNetworkProfile Source # 
ToPath CreateNetworkProfile Source # 
ToHeaders CreateNetworkProfile Source # 
type Rep CreateNetworkProfile Source # 
type Rep CreateNetworkProfile = D1 (MetaData "CreateNetworkProfile" "Network.AWS.DeviceFarm.CreateNetworkProfile" "amazonka-devicefarm-1.5.0-XwN0sn2YagFwkQSin1mYz" False) (C1 (MetaCons "CreateNetworkProfile'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cnpUplinkJitterMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) ((:*:) (S1 (MetaSel (Just Symbol "_cnpUplinkLossPercent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_cnpDownlinkJitterMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))))) ((:*:) (S1 (MetaSel (Just Symbol "_cnpDownlinkLossPercent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_cnpType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkProfileType))) (S1 (MetaSel (Just Symbol "_cnpUplinkDelayMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cnpUplinkBandwidthBits") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) ((:*:) (S1 (MetaSel (Just Symbol "_cnpDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cnpDownlinkDelayMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))))) ((:*:) (S1 (MetaSel (Just Symbol "_cnpDownlinkBandwidthBits") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) ((:*:) (S1 (MetaSel (Just Symbol "_cnpProjectARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cnpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs CreateNetworkProfile Source # 

Request Lenses

cnpUplinkJitterMs :: Lens' CreateNetworkProfile (Maybe Integer) Source #

Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

cnpUplinkLossPercent :: Lens' CreateNetworkProfile (Maybe Natural) Source #

Proportion of transmitted packets that fail to arrive from 0 to 100 percent.

cnpDownlinkJitterMs :: Lens' CreateNetworkProfile (Maybe Integer) Source #

Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

cnpDownlinkLossPercent :: Lens' CreateNetworkProfile (Maybe Natural) Source #

Proportion of received packets that fail to arrive from 0 to 100 percent.

cnpType :: Lens' CreateNetworkProfile (Maybe NetworkProfileType) Source #

The type of network profile you wish to create. Valid values are listed below.

cnpUplinkDelayMs :: Lens' CreateNetworkProfile (Maybe Integer) Source #

Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

cnpUplinkBandwidthBits :: Lens' CreateNetworkProfile (Maybe Integer) Source #

The data throughput rate in bits per second, as an integer from 0 to 104857600.

cnpDescription :: Lens' CreateNetworkProfile (Maybe Text) Source #

The description of the network profile.

cnpDownlinkDelayMs :: Lens' CreateNetworkProfile (Maybe Integer) Source #

Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

cnpDownlinkBandwidthBits :: Lens' CreateNetworkProfile (Maybe Integer) Source #

The data throughput rate in bits per second, as an integer from 0 to 104857600.

cnpProjectARN :: Lens' CreateNetworkProfile Text Source #

The Amazon Resource Name (ARN) of the project for which you want to create a network profile.

cnpName :: Lens' CreateNetworkProfile Text Source #

The name you wish to specify for the new network profile.

Destructuring the Response

createNetworkProfileResponse Source #

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

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

data CreateNetworkProfileResponse Source #

See: createNetworkProfileResponse smart constructor.

Instances

Eq CreateNetworkProfileResponse Source # 
Data CreateNetworkProfileResponse Source # 

Methods

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

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

toConstr :: CreateNetworkProfileResponse -> Constr #

dataTypeOf :: CreateNetworkProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateNetworkProfileResponse Source # 
Show CreateNetworkProfileResponse Source # 
Generic CreateNetworkProfileResponse Source # 
NFData CreateNetworkProfileResponse Source # 
type Rep CreateNetworkProfileResponse Source # 
type Rep CreateNetworkProfileResponse = D1 (MetaData "CreateNetworkProfileResponse" "Network.AWS.DeviceFarm.CreateNetworkProfile" "amazonka-devicefarm-1.5.0-XwN0sn2YagFwkQSin1mYz" False) (C1 (MetaCons "CreateNetworkProfileResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cnprsNetworkProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkProfile))) (S1 (MetaSel (Just Symbol "_cnprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

cnprsNetworkProfile :: Lens' CreateNetworkProfileResponse (Maybe NetworkProfile) Source #

The network profile that is returned by the create network profile request.