pub struct ModifyHostsRequest {
pub auto_placement: Option<String>,
pub host_ids: Vec<String>,
pub host_recovery: Option<String>,
pub instance_family: Option<String>,
pub instance_type: Option<String>,
}Fields§
§auto_placement: Option<String>Specify whether to enable or disable auto-placement.
host_ids: Vec<String>The IDs of the Dedicated Hosts to modify.
host_recovery: Option<String>Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see Host Recovery in the Amazon Elastic Compute Cloud User Guide.
instance_family: Option<String>Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.
If you want to modify a Dedicated Host to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.
instance_type: Option<String>Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.
If you want to modify a Dedicated Host to support multiple instance types in its current instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.
Trait Implementations§
Source§impl Clone for ModifyHostsRequest
impl Clone for ModifyHostsRequest
Source§fn clone(&self) -> ModifyHostsRequest
fn clone(&self) -> ModifyHostsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more