| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.DeviceFarm.CreateNetworkProfile
Description
Creates a network profile.
Synopsis
- createNetworkProfile :: Text -> Text -> CreateNetworkProfile
- data CreateNetworkProfile
- cnpUplinkJitterMs :: Lens' CreateNetworkProfile (Maybe Integer)
- cnpUplinkLossPercent :: Lens' CreateNetworkProfile (Maybe Natural)
- cnpDownlinkJitterMs :: Lens' CreateNetworkProfile (Maybe Integer)
- cnpDownlinkLossPercent :: Lens' CreateNetworkProfile (Maybe Natural)
- cnpType :: Lens' CreateNetworkProfile (Maybe NetworkProfileType)
- cnpUplinkDelayMs :: Lens' CreateNetworkProfile (Maybe Integer)
- cnpUplinkBandwidthBits :: Lens' CreateNetworkProfile (Maybe Integer)
- cnpDescription :: Lens' CreateNetworkProfile (Maybe Text)
- cnpDownlinkDelayMs :: Lens' CreateNetworkProfile (Maybe Integer)
- cnpDownlinkBandwidthBits :: Lens' CreateNetworkProfile (Maybe Integer)
- cnpProjectARN :: Lens' CreateNetworkProfile Text
- cnpName :: Lens' CreateNetworkProfile Text
- createNetworkProfileResponse :: Int -> CreateNetworkProfileResponse
- data CreateNetworkProfileResponse
- cnprsNetworkProfile :: Lens' CreateNetworkProfileResponse (Maybe NetworkProfile)
- cnprsResponseStatus :: Lens' CreateNetworkProfileResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> CreateNetworkProfile |
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
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 #
Arguments
| :: Int | |
| -> CreateNetworkProfileResponse |
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:
cnprsNetworkProfile- The network profile that is returned by the create network profile request.cnprsResponseStatus- -- | The response status code.
data CreateNetworkProfileResponse Source #
See: createNetworkProfileResponse smart constructor.
Instances
Response Lenses
cnprsNetworkProfile :: Lens' CreateNetworkProfileResponse (Maybe NetworkProfile) Source #
The network profile that is returned by the create network profile request.
cnprsResponseStatus :: Lens' CreateNetworkProfileResponse Int Source #
- - | The response status code.