#[non_exhaustive]
pub struct AgentInfo { pub agent_id: Option<String>, pub host_name: Option<String>, pub agent_network_info_list: Option<Vec<AgentNetworkInfo>>, pub connector_id: Option<String>, pub version: Option<String>, pub health: Option<AgentStatus>, pub last_health_ping_time: Option<String>, pub collection_status: Option<String>, pub agent_type: Option<String>, pub registered_time: Option<String>, }
Expand description

Information about agents or connectors associated with the user’s AWS account. Information includes agent or connector IDs, IP addresses, media access control (MAC) addresses, agent or connector health, hostname where the agent or connector resides, and agent version for each agent.

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.
agent_id: Option<String>

The agent or connector ID.

host_name: Option<String>

The name of the host where the agent or connector resides. The host can be a server or virtual machine.

agent_network_info_list: Option<Vec<AgentNetworkInfo>>

Network details about the host where the agent or connector resides.

connector_id: Option<String>

The ID of the connector.

version: Option<String>

The agent or connector version.

health: Option<AgentStatus>

The health of the agent or connector.

last_health_ping_time: Option<String>

Time since agent or connector health was reported.

collection_status: Option<String>

Status of the collection process for an agent or connector.

agent_type: Option<String>

Type of agent.

registered_time: Option<String>

Agent's first registration timestamp in UTC.

Implementations

The agent or connector ID.

The name of the host where the agent or connector resides. The host can be a server or virtual machine.

Network details about the host where the agent or connector resides.

The ID of the connector.

The agent or connector version.

The health of the agent or connector.

Time since agent or connector health was reported.

Status of the collection process for an agent or connector.

Type of agent.

Agent's first registration timestamp in UTC.

Creates a new builder-style object to manufacture AgentInfo

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more