Struct aws_sdk_ssmsap::types::Host
source · #[non_exhaustive]pub struct Host {
pub host_name: Option<String>,
pub host_ip: Option<String>,
pub ec2_instance_id: Option<String>,
pub instance_id: Option<String>,
pub host_role: Option<HostRole>,
pub os_version: Option<String>,
}Expand description
Describes the properties of the Dedicated Host.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.host_name: Option<String>The name of the Dedicated Host.
host_ip: Option<String>The IP address of the Dedicated Host.
ec2_instance_id: Option<String>The ID of Amazon EC2 instance.
instance_id: Option<String>The instance ID of the instance on the Dedicated Host.
host_role: Option<HostRole>The role of the Dedicated Host.
os_version: Option<String>The version of the operating system.
Implementations§
source§impl Host
impl Host
sourcepub fn ec2_instance_id(&self) -> Option<&str>
pub fn ec2_instance_id(&self) -> Option<&str>
The ID of Amazon EC2 instance.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The instance ID of the instance on the Dedicated Host.
sourcepub fn os_version(&self) -> Option<&str>
pub fn os_version(&self) -> Option<&str>
The version of the operating system.
Trait Implementations§
source§impl PartialEq for Host
impl PartialEq for Host
impl StructuralPartialEq for Host
Auto Trait Implementations§
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.