[−][src]Struct rusoto_ec2::ModifyHostsRequest
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]
pub fn clone(&self) -> ModifyHostsRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ModifyHostsRequest
[src]
impl Default for ModifyHostsRequest
[src]
pub fn default() -> ModifyHostsRequest
[src]
impl PartialEq<ModifyHostsRequest> for ModifyHostsRequest
[src]
pub fn eq(&self, other: &ModifyHostsRequest) -> bool
[src]
pub fn ne(&self, other: &ModifyHostsRequest) -> bool
[src]
impl StructuralPartialEq for ModifyHostsRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for ModifyHostsRequest
[src]
impl Send for ModifyHostsRequest
[src]
impl Sync for ModifyHostsRequest
[src]
impl Unpin for ModifyHostsRequest
[src]
impl UnwindSafe for ModifyHostsRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,