Struct aws_sdk_ssm::model::InstanceInformation
source · [−]#[non_exhaustive]pub struct InstanceInformation {Show 21 fields
pub instance_id: Option<String>,
pub ping_status: Option<PingStatus>,
pub last_ping_date_time: Option<DateTime>,
pub agent_version: Option<String>,
pub is_latest_version: Option<bool>,
pub platform_type: Option<PlatformType>,
pub platform_name: Option<String>,
pub platform_version: Option<String>,
pub activation_id: Option<String>,
pub iam_role: Option<String>,
pub registration_date: Option<DateTime>,
pub resource_type: Option<ResourceType>,
pub name: Option<String>,
pub ip_address: Option<String>,
pub computer_name: Option<String>,
pub association_status: Option<String>,
pub last_association_execution_date: Option<DateTime>,
pub last_successful_association_execution_date: Option<DateTime>,
pub association_overview: Option<InstanceAggregatedAssociationOverview>,
pub source_id: Option<String>,
pub source_type: Option<SourceType>,
}
Expand description
Describes a filter for a specific list of managed nodes.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The managed node ID.
ping_status: Option<PingStatus>
Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
last_ping_date_time: Option<DateTime>
The date and time when the agent last pinged the Systems Manager service.
agent_version: Option<String>
The version of SSM Agent running on your Linux managed node.
is_latest_version: Option<bool>
Indicates whether the latest version of SSM Agent is running on your Linux managed node. This field doesn't indicate whether or not the latest version is installed on Windows managed nodes, because some older versions of Windows Server use the EC2Config service to process Systems Manager requests.
platform_type: Option<PlatformType>
The operating system platform type.
platform_name: Option<String>
The name of the operating system platform running on your managed node.
platform_version: Option<String>
The version of the OS platform running on your managed node.
activation_id: Option<String>
The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
iam_role: Option<String>
The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed node. This call doesn't return the IAM role for Amazon Elastic Compute Cloud (Amazon EC2) instances. To retrieve the IAM role for an EC2 instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.
registration_date: Option<DateTime>
The date the server or VM was registered with Amazon Web Services as a managed node.
resource_type: Option<ResourceType>
The type of instance. Instances are either EC2 instances or managed instances.
name: Option<String>
The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as a Systems Manager managed node. The name is specified as the DefaultInstanceName
property using the CreateActivation
command. It is applied to the managed node by specifying the Activation Code and Activation ID when you install SSM Agent on the node, as explained in Install SSM Agent for a hybrid environment (Linux) and Install SSM Agent for a hybrid environment (Windows). To retrieve the Name
tag of an EC2 instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.
ip_address: Option<String>
The IP address of the managed node.
computer_name: Option<String>
The fully qualified host name of the managed node.
association_status: Option<String>
The status of the association.
last_association_execution_date: Option<DateTime>
The date the association was last run.
last_successful_association_execution_date: Option<DateTime>
The last date the association was successfully run.
association_overview: Option<InstanceAggregatedAssociationOverview>
Information about the association.
source_id: Option<String>
The ID of the source resource. For IoT Greengrass devices, SourceId
is the Thing name.
source_type: Option<SourceType>
The type of the source resource. For IoT Greengrass devices, SourceType
is AWS::IoT::Thing
.
Implementations
sourceimpl InstanceInformation
impl InstanceInformation
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The managed node ID.
sourcepub fn ping_status(&self) -> Option<&PingStatus>
pub fn ping_status(&self) -> Option<&PingStatus>
Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
sourcepub fn last_ping_date_time(&self) -> Option<&DateTime>
pub fn last_ping_date_time(&self) -> Option<&DateTime>
The date and time when the agent last pinged the Systems Manager service.
sourcepub fn agent_version(&self) -> Option<&str>
pub fn agent_version(&self) -> Option<&str>
The version of SSM Agent running on your Linux managed node.
sourcepub fn is_latest_version(&self) -> Option<bool>
pub fn is_latest_version(&self) -> Option<bool>
Indicates whether the latest version of SSM Agent is running on your Linux managed node. This field doesn't indicate whether or not the latest version is installed on Windows managed nodes, because some older versions of Windows Server use the EC2Config service to process Systems Manager requests.
sourcepub fn platform_type(&self) -> Option<&PlatformType>
pub fn platform_type(&self) -> Option<&PlatformType>
The operating system platform type.
sourcepub fn platform_name(&self) -> Option<&str>
pub fn platform_name(&self) -> Option<&str>
The name of the operating system platform running on your managed node.
sourcepub fn platform_version(&self) -> Option<&str>
pub fn platform_version(&self) -> Option<&str>
The version of the OS platform running on your managed node.
sourcepub fn activation_id(&self) -> Option<&str>
pub fn activation_id(&self) -> Option<&str>
The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
sourcepub fn iam_role(&self) -> Option<&str>
pub fn iam_role(&self) -> Option<&str>
The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed node. This call doesn't return the IAM role for Amazon Elastic Compute Cloud (Amazon EC2) instances. To retrieve the IAM role for an EC2 instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.
sourcepub fn registration_date(&self) -> Option<&DateTime>
pub fn registration_date(&self) -> Option<&DateTime>
The date the server or VM was registered with Amazon Web Services as a managed node.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The type of instance. Instances are either EC2 instances or managed instances.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as a Systems Manager managed node. The name is specified as the DefaultInstanceName
property using the CreateActivation
command. It is applied to the managed node by specifying the Activation Code and Activation ID when you install SSM Agent on the node, as explained in Install SSM Agent for a hybrid environment (Linux) and Install SSM Agent for a hybrid environment (Windows). To retrieve the Name
tag of an EC2 instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.
sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
The IP address of the managed node.
sourcepub fn computer_name(&self) -> Option<&str>
pub fn computer_name(&self) -> Option<&str>
The fully qualified host name of the managed node.
sourcepub fn association_status(&self) -> Option<&str>
pub fn association_status(&self) -> Option<&str>
The status of the association.
sourcepub fn last_association_execution_date(&self) -> Option<&DateTime>
pub fn last_association_execution_date(&self) -> Option<&DateTime>
The date the association was last run.
sourcepub fn last_successful_association_execution_date(&self) -> Option<&DateTime>
pub fn last_successful_association_execution_date(&self) -> Option<&DateTime>
The last date the association was successfully run.
sourcepub fn association_overview(
&self
) -> Option<&InstanceAggregatedAssociationOverview>
pub fn association_overview(
&self
) -> Option<&InstanceAggregatedAssociationOverview>
Information about the association.
sourcepub fn source_id(&self) -> Option<&str>
pub fn source_id(&self) -> Option<&str>
The ID of the source resource. For IoT Greengrass devices, SourceId
is the Thing name.
sourcepub fn source_type(&self) -> Option<&SourceType>
pub fn source_type(&self) -> Option<&SourceType>
The type of the source resource. For IoT Greengrass devices, SourceType
is AWS::IoT::Thing
.
sourceimpl InstanceInformation
impl InstanceInformation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceInformation
Trait Implementations
sourceimpl Clone for InstanceInformation
impl Clone for InstanceInformation
sourcefn clone(&self) -> InstanceInformation
fn clone(&self) -> InstanceInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstanceInformation
impl Debug for InstanceInformation
sourceimpl PartialEq<InstanceInformation> for InstanceInformation
impl PartialEq<InstanceInformation> for InstanceInformation
sourcefn eq(&self, other: &InstanceInformation) -> bool
fn eq(&self, other: &InstanceInformation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstanceInformation) -> bool
fn ne(&self, other: &InstanceInformation) -> bool
This method tests for !=
.
impl StructuralPartialEq for InstanceInformation
Auto Trait Implementations
impl RefUnwindSafe for InstanceInformation
impl Send for InstanceInformation
impl Sync for InstanceInformation
impl Unpin for InstanceInformation
impl UnwindSafe for InstanceInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more