create_network_profile
async
¶
create_network_profile(
project_arn: AmazonResourceName,
name: Name,
*,
config_overrides: Optional[AsyncDeviceFarmClientConfig] = 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,
) -> CreateNetworkProfileResult
Creates a network profile.
Parameters:
-
project_arn(AmazonResourceName) –The Amazon Resource Name (ARN) of the project for which you want to create a network profile.
-
name(Name) –The name for the new network profile.
-
description(Optional[Message], default:None) –The description of the network profile.
-
type(Optional[NetworkProfileType], default:None) –The type of network profile to create. 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
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 | |