modify_instance_network_performance_options
¶
modify_instance_network_performance_options(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
50806 50807 50808 50809 50810 50811 50812 50813 50814 50815 50816 50817 50818 50819 50820 50821 50822 50823 50824 50825 50826 50827 50828 50829 50830 50831 50832 50833 50834 50835 50836 50837 50838 50839 50840 50841 50842 50843 50844 50845 50846 50847 50848 50849 50850 50851 50852 50853 50854 50855 50856 50857 50858 50859 | |