update_network_profile
async
¶
update_network_profile(
arn: AmazonResourceName,
*,
config_overrides: Optional[AsyncDeviceFarmClientConfig] = None,
name: Optional[Name] = None,
description: Optional[Message] = None,
type: Optional[NetworkProfileType] = None,
uplink_bandwidth_bits: Optional[Long] = None,
downlink_bandwidth_bits: Optional[Long] = None,
uplink_delay_ms: Optional[Long] = None,
downlink_delay_ms: Optional[Long] = None,
uplink_jitter_ms: Optional[Long] = None,
downlink_jitter_ms: Optional[Long] = None,
uplink_loss_percent: Optional[PercentInteger] = None,
downlink_loss_percent: Optional[PercentInteger] = None,
) -> UpdateNetworkProfileResult
Updates the network profile.
Parameters:
-
arn(AmazonResourceName) –The Amazon Resource Name (ARN) of the project for which you want to update network profile settings.
-
name(Optional[Name], default:None) –The name of the network profile about which you are returning information.
-
description(Optional[Message], default:None) –The description of the network profile about which you are returning information.
-
type(Optional[NetworkProfileType], default:None) –The type of network profile to return information about. Valid values are listed here.
-
uplink_bandwidth_bits(Optional[Long], default:None) –The data throughput rate in bits per second, as an integer from 0 to 104857600.
-
downlink_bandwidth_bits(Optional[Long], default:None) –The data throughput rate in bits per second, as an integer from 0 to 104857600.
-
uplink_delay_ms(Optional[Long], default:None) –Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
-
downlink_delay_ms(Optional[Long], default:None) –Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
-
uplink_jitter_ms(Optional[Long], default:None) –Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
-
downlink_jitter_ms(Optional[Long], default:None) –Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
-
uplink_loss_percent(Optional[PercentInteger], default:None) –Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
-
downlink_loss_percent(Optional[PercentInteger], default:None) –Proportion of received packets that fail to arrive from 0 to 100 percent.
Raises:
-
ArgumentException–An invalid argument was specified.
-
LimitExceededException–A limit was exceeded.
-
NotFoundException–The specified entity was not found.
-
ServiceAccountException–There was a problem with the service account.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_device_farm/_services/async_device_farm.py
5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 | |