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.UpdateNetworkProfile

Contents

Description

Updates the network profile with specific settings.

Synopsis

Creating a Request

updateNetworkProfile Source #

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

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

  • unpUplinkJitterMs - Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
  • unpUplinkLossPercent - Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
  • unpDownlinkJitterMs - Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
  • unpName - The name of the network profile about which you are returning information.
  • unpDownlinkLossPercent - Proportion of received packets that fail to arrive from 0 to 100 percent.
  • unpType - The type of network profile you wish to return information about. Valid values are listed below.
  • unpUplinkDelayMs - Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
  • unpUplinkBandwidthBits - The data throughput rate in bits per second, as an integer from 0 to 104857600.
  • unpDescription - The descriptoin of the network profile about which you are returning information.
  • unpDownlinkDelayMs - Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
  • unpDownlinkBandwidthBits - The data throughput rate in bits per second, as an integer from 0 to 104857600.
  • unpArn - The Amazon Resource Name (ARN) of the project that you wish to update network profile settings.

data UpdateNetworkProfile Source #

See: updateNetworkProfile smart constructor.

Instances

Eq UpdateNetworkProfile Source # 
Data UpdateNetworkProfile Source # 

Methods

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

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

toConstr :: UpdateNetworkProfile -> Constr #

dataTypeOf :: UpdateNetworkProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateNetworkProfile -> () #

AWSRequest UpdateNetworkProfile Source # 
ToQuery UpdateNetworkProfile Source # 
ToPath UpdateNetworkProfile Source # 
ToHeaders UpdateNetworkProfile Source # 
type Rep UpdateNetworkProfile Source # 
type Rep UpdateNetworkProfile = D1 (MetaData "UpdateNetworkProfile" "Network.AWS.DeviceFarm.UpdateNetworkProfile" "amazonka-devicefarm-1.5.0-XwN0sn2YagFwkQSin1mYz" False) (C1 (MetaCons "UpdateNetworkProfile'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_unpUplinkJitterMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) ((:*:) (S1 (MetaSel (Just Symbol "_unpUplinkLossPercent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_unpDownlinkJitterMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))))) ((:*:) (S1 (MetaSel (Just Symbol "_unpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_unpDownlinkLossPercent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_unpType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkProfileType)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_unpUplinkDelayMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) ((:*:) (S1 (MetaSel (Just Symbol "_unpUplinkBandwidthBits") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_unpDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_unpDownlinkDelayMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) ((:*:) (S1 (MetaSel (Just Symbol "_unpDownlinkBandwidthBits") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_unpArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs UpdateNetworkProfile Source # 

Request Lenses

unpUplinkJitterMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

unpUplinkLossPercent :: Lens' UpdateNetworkProfile (Maybe Natural) Source #

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

unpDownlinkJitterMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

unpName :: Lens' UpdateNetworkProfile (Maybe Text) Source #

The name of the network profile about which you are returning information.

unpDownlinkLossPercent :: Lens' UpdateNetworkProfile (Maybe Natural) Source #

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

unpType :: Lens' UpdateNetworkProfile (Maybe NetworkProfileType) Source #

The type of network profile you wish to return information about. Valid values are listed below.

unpUplinkDelayMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

unpUplinkBandwidthBits :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

unpDescription :: Lens' UpdateNetworkProfile (Maybe Text) Source #

The descriptoin of the network profile about which you are returning information.

unpDownlinkDelayMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

unpDownlinkBandwidthBits :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

unpArn :: Lens' UpdateNetworkProfile Text Source #

The Amazon Resource Name (ARN) of the project that you wish to update network profile settings.

Destructuring the Response

updateNetworkProfileResponse Source #

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

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

data UpdateNetworkProfileResponse Source #

See: updateNetworkProfileResponse smart constructor.

Instances

Eq UpdateNetworkProfileResponse Source # 
Data UpdateNetworkProfileResponse Source # 

Methods

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

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

toConstr :: UpdateNetworkProfileResponse -> Constr #

dataTypeOf :: UpdateNetworkProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

unprsNetworkProfile :: Lens' UpdateNetworkProfileResponse (Maybe NetworkProfile) Source #

A list of the available network profiles.