| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.UpdateNetworkProfile
Description
Updates the network profile.
Synopsis
- data UpdateNetworkProfile = UpdateNetworkProfile' {
- description :: Maybe Text
- downlinkBandwidthBits :: Maybe Integer
- downlinkDelayMs :: Maybe Integer
- downlinkJitterMs :: Maybe Integer
- downlinkLossPercent :: Maybe Natural
- name :: Maybe Text
- type' :: Maybe NetworkProfileType
- uplinkBandwidthBits :: Maybe Integer
- uplinkDelayMs :: Maybe Integer
- uplinkJitterMs :: Maybe Integer
- uplinkLossPercent :: Maybe Natural
- arn :: Text
- newUpdateNetworkProfile :: Text -> UpdateNetworkProfile
- updateNetworkProfile_description :: Lens' UpdateNetworkProfile (Maybe Text)
- updateNetworkProfile_downlinkBandwidthBits :: Lens' UpdateNetworkProfile (Maybe Integer)
- updateNetworkProfile_downlinkDelayMs :: Lens' UpdateNetworkProfile (Maybe Integer)
- updateNetworkProfile_downlinkJitterMs :: Lens' UpdateNetworkProfile (Maybe Integer)
- updateNetworkProfile_downlinkLossPercent :: Lens' UpdateNetworkProfile (Maybe Natural)
- updateNetworkProfile_name :: Lens' UpdateNetworkProfile (Maybe Text)
- updateNetworkProfile_type :: Lens' UpdateNetworkProfile (Maybe NetworkProfileType)
- updateNetworkProfile_uplinkBandwidthBits :: Lens' UpdateNetworkProfile (Maybe Integer)
- updateNetworkProfile_uplinkDelayMs :: Lens' UpdateNetworkProfile (Maybe Integer)
- updateNetworkProfile_uplinkJitterMs :: Lens' UpdateNetworkProfile (Maybe Integer)
- updateNetworkProfile_uplinkLossPercent :: Lens' UpdateNetworkProfile (Maybe Natural)
- updateNetworkProfile_arn :: Lens' UpdateNetworkProfile Text
- data UpdateNetworkProfileResponse = UpdateNetworkProfileResponse' {}
- newUpdateNetworkProfileResponse :: Int -> UpdateNetworkProfileResponse
- updateNetworkProfileResponse_networkProfile :: Lens' UpdateNetworkProfileResponse (Maybe NetworkProfile)
- updateNetworkProfileResponse_httpStatus :: Lens' UpdateNetworkProfileResponse Int
Creating a Request
data UpdateNetworkProfile Source #
See: newUpdateNetworkProfile smart constructor.
Constructors
| UpdateNetworkProfile' | |
Fields
| |
Instances
newUpdateNetworkProfile Source #
Arguments
| :: Text | |
| -> UpdateNetworkProfile |
Create a value of UpdateNetworkProfile with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateNetworkProfile, updateNetworkProfile_description - The description of the network profile about which you are returning
information.
UpdateNetworkProfile, updateNetworkProfile_downlinkBandwidthBits - The data throughput rate in bits per second, as an integer from 0 to
104857600.
UpdateNetworkProfile, updateNetworkProfile_downlinkDelayMs - Delay time for all packets to destination in milliseconds as an integer
from 0 to 2000.
UpdateNetworkProfile, updateNetworkProfile_downlinkJitterMs - Time variation in the delay of received packets in milliseconds as an
integer from 0 to 2000.
UpdateNetworkProfile, updateNetworkProfile_downlinkLossPercent - Proportion of received packets that fail to arrive from 0 to 100
percent.
UpdateNetworkProfile, updateNetworkProfile_name - The name of the network profile about which you are returning
information.
UpdateNetworkProfile, updateNetworkProfile_type - The type of network profile to return information about. Valid values
are listed here.
UpdateNetworkProfile, updateNetworkProfile_uplinkBandwidthBits - The data throughput rate in bits per second, as an integer from 0 to
104857600.
UpdateNetworkProfile, updateNetworkProfile_uplinkDelayMs - Delay time for all packets to destination in milliseconds as an integer
from 0 to 2000.
UpdateNetworkProfile, updateNetworkProfile_uplinkJitterMs - Time variation in the delay of received packets in milliseconds as an
integer from 0 to 2000.
UpdateNetworkProfile, updateNetworkProfile_uplinkLossPercent - Proportion of transmitted packets that fail to arrive from 0 to 100
percent.
UpdateNetworkProfile, updateNetworkProfile_arn - The Amazon Resource Name (ARN) of the project for which you want to
update network profile settings.
Request Lenses
updateNetworkProfile_description :: Lens' UpdateNetworkProfile (Maybe Text) Source #
The description of the network profile about which you are returning information.
updateNetworkProfile_downlinkBandwidthBits :: Lens' UpdateNetworkProfile (Maybe Integer) Source #
The data throughput rate in bits per second, as an integer from 0 to 104857600.
updateNetworkProfile_downlinkDelayMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
updateNetworkProfile_downlinkJitterMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
updateNetworkProfile_downlinkLossPercent :: Lens' UpdateNetworkProfile (Maybe Natural) Source #
Proportion of received packets that fail to arrive from 0 to 100 percent.
updateNetworkProfile_name :: Lens' UpdateNetworkProfile (Maybe Text) Source #
The name of the network profile about which you are returning information.
updateNetworkProfile_type :: Lens' UpdateNetworkProfile (Maybe NetworkProfileType) Source #
The type of network profile to return information about. Valid values are listed here.
updateNetworkProfile_uplinkBandwidthBits :: Lens' UpdateNetworkProfile (Maybe Integer) Source #
The data throughput rate in bits per second, as an integer from 0 to 104857600.
updateNetworkProfile_uplinkDelayMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
updateNetworkProfile_uplinkJitterMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
updateNetworkProfile_uplinkLossPercent :: Lens' UpdateNetworkProfile (Maybe Natural) Source #
Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
updateNetworkProfile_arn :: Lens' UpdateNetworkProfile Text Source #
The Amazon Resource Name (ARN) of the project for which you want to update network profile settings.
Destructuring the Response
data UpdateNetworkProfileResponse Source #
See: newUpdateNetworkProfileResponse smart constructor.
Constructors
| UpdateNetworkProfileResponse' | |
Fields
| |
Instances
newUpdateNetworkProfileResponse Source #
Create a value of UpdateNetworkProfileResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateNetworkProfileResponse, updateNetworkProfileResponse_networkProfile - A list of the available network profiles.
$sel:httpStatus:UpdateNetworkProfileResponse', updateNetworkProfileResponse_httpStatus - The response's http status code.
Response Lenses
updateNetworkProfileResponse_networkProfile :: Lens' UpdateNetworkProfileResponse (Maybe NetworkProfile) Source #
A list of the available network profiles.
updateNetworkProfileResponse_httpStatus :: Lens' UpdateNetworkProfileResponse Int Source #
The response's http status code.