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.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 for which you want to update network profile settings.

data UpdateNetworkProfile Source #

See: updateNetworkProfile smart constructor.

Instances
Eq UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

Data UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

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

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

Show UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

Generic UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

Associated Types

type Rep UpdateNetworkProfile :: Type -> Type #

Hashable UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

ToJSON UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

AWSRequest UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

Associated Types

type Rs UpdateNetworkProfile :: Type #

ToHeaders UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

ToPath UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

ToQuery UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

NFData UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

Methods

rnf :: UpdateNetworkProfile -> () #

type Rep UpdateNetworkProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

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

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

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 for which you want 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 # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

Data UpdateNetworkProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

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

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

Show UpdateNetworkProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

Generic UpdateNetworkProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

Associated Types

type Rep UpdateNetworkProfileResponse :: Type -> Type #

NFData UpdateNetworkProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

type Rep UpdateNetworkProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateNetworkProfile

type Rep UpdateNetworkProfileResponse = D1 (MetaData "UpdateNetworkProfileResponse" "Network.AWS.DeviceFarm.UpdateNetworkProfile" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "UpdateNetworkProfileResponse'" PrefixI True) (S1 (MetaSel (Just "_unprsNetworkProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkProfile)) :*: S1 (MetaSel (Just "_unprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

A list of the available network profiles.