[][src]Struct rusoto_ec2::ModifyHostsRequest

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

impl Clone for ModifyHostsRequest[src]

impl Debug for ModifyHostsRequest[src]

impl Default for ModifyHostsRequest[src]

impl PartialEq<ModifyHostsRequest> for ModifyHostsRequest[src]

impl StructuralPartialEq for ModifyHostsRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.