#[non_exhaustive]pub struct DescribeAgentsOutput {
pub agents_info: Option<Vec<AgentInfo>>,
pub next_token: Option<String>,
/* private fields */
}
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.agents_info: Option<Vec<AgentInfo>>
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
next_token: Option<String>
Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
Implementations§
source§impl DescribeAgentsOutput
impl DescribeAgentsOutput
sourcepub fn agents_info(&self) -> &[AgentInfo]
pub fn agents_info(&self) -> &[AgentInfo]
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .agents_info.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
source§impl DescribeAgentsOutput
impl DescribeAgentsOutput
sourcepub fn builder() -> DescribeAgentsOutputBuilder
pub fn builder() -> DescribeAgentsOutputBuilder
Creates a new builder-style object to manufacture DescribeAgentsOutput
.
Trait Implementations§
source§impl Clone for DescribeAgentsOutput
impl Clone for DescribeAgentsOutput
source§fn clone(&self) -> DescribeAgentsOutput
fn clone(&self) -> DescribeAgentsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeAgentsOutput
impl Debug for DescribeAgentsOutput
source§impl PartialEq for DescribeAgentsOutput
impl PartialEq for DescribeAgentsOutput
source§fn eq(&self, other: &DescribeAgentsOutput) -> bool
fn eq(&self, other: &DescribeAgentsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeAgentsOutput
impl RequestId for DescribeAgentsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.