modify_instance_network_performance_options¶
Operation¶
modify_instance_network_performance_options
¶
modify_instance_network_performance_options(request: ModifyInstanceNetworkPerformanceOptionsInput | ModifyInstanceNetworkPerformanceOptionsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ModifyInstanceNetworkPerformanceOptionsInputDict]) -> ModifyInstanceNetworkPerformanceOptionsOutput
Change the configuration of the network performance options for an existing instance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ModifyInstanceNetworkPerformanceOptionsInput | ModifyInstanceNetworkPerformanceOptionsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[ModifyInstanceNetworkPerformanceOptionsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ModifyInstanceNetworkPerformanceOptionsOutput
|
An instance of |
modify_instance_network_performance_options
async
¶
modify_instance_network_performance_options(request: ModifyInstanceNetworkPerformanceOptionsInput | ModifyInstanceNetworkPerformanceOptionsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ModifyInstanceNetworkPerformanceOptionsInputDict]) -> ModifyInstanceNetworkPerformanceOptionsOutput
Change the configuration of the network performance options for an existing instance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ModifyInstanceNetworkPerformanceOptionsInput | ModifyInstanceNetworkPerformanceOptionsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[ModifyInstanceNetworkPerformanceOptionsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ModifyInstanceNetworkPerformanceOptionsOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
ModifyInstanceNetworkPerformanceOptionsInputDict
¶
Bases: TypedDict
Dictionary form of ModifyInstanceNetworkPerformanceOptionsInput.
Attributes¶
bandwidth_weighting
instance-attribute
¶
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
instance-attribute
¶
dry_run: bool | 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 is UnauthorizedOperation.
ModifyInstanceNetworkPerformanceOptionsInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ModifyInstanceNetworkPerformanceOptionsInput structure.
Attributes¶
bandwidth_weighting
class-attribute
instance-attribute
¶
bandwidth_weighting: str | 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
class-attribute
instance-attribute
¶
dry_run: bool | 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 is UnauthorizedOperation.
Output¶
ModifyInstanceNetworkPerformanceOptionsOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ModifyInstanceNetworkPerformanceOptionsOutput structure.
Attributes¶
bandwidth_weighting
class-attribute
instance-attribute
¶
bandwidth_weighting: str | None = ...
Contains the updated configuration for bandwidth weighting on the specified instance.
instance_id
class-attribute
instance-attribute
¶
instance_id: str | None = ...
The instance ID that was updated.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.