modify_instance_network_performance_options
async
¶
modify_instance_network_performance_options(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
instance_id: Optional[InstanceId] = None,
bandwidth_weighting: Optional[InstanceBandwidthWeighting] = None,
dry_run: Optional[Boolean] = None,
) -> ModifyInstanceNetworkPerformanceResult
Change the configuration of the network performance options for an existing instance.
Parameters:
-
instance_id(Optional[InstanceId], default:None) –The ID of the instance to update.
-
bandwidth_weighting(Optional[InstanceBandwidthWeighting], default:None) –Specify the bandwidth weighting option to boost the associated type of baseline bandwidth, as follows:
- default
-
This option uses the standard bandwidth configuration for your instance type.
- vpc-1
-
This option boosts your networking baseline bandwidth and reduces your EBS baseline bandwidth.
- ebs-1
-
This option boosts your EBS baseline bandwidth and reduces your networking baseline bandwidth.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
51511 51512 51513 51514 51515 51516 51517 51518 51519 51520 51521 51522 51523 51524 51525 51526 51527 51528 51529 51530 51531 51532 51533 51534 51535 51536 51537 51538 51539 51540 51541 51542 51543 51544 51545 51546 51547 51548 51549 51550 51551 51552 51553 51554 51555 51556 51557 51558 51559 51560 51561 51562 51563 51564 51565 | |