#[non_exhaustive]pub struct DescribeAgentsInput {
pub agent_ids: Option<Vec<String>>,
pub filters: Option<Vec<Filter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}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.agent_ids: Option<Vec<String>>The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
filters: Option<Vec<Filter>>You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}
max_results: Option<i32>The total number of agents/collectors to return in a single page of output. The maximum value is 100.
next_token: Option<String>Token to retrieve the next set of results. For example, if you previously specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
Implementations§
source§impl DescribeAgentsInput
impl DescribeAgentsInput
sourcepub fn agent_ids(&self) -> &[String]
pub fn agent_ids(&self) -> &[String]
The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .agent_ids.is_none().
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none().
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The total number of agents/collectors to return in a single page of output. The maximum value is 100.
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 previously specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
source§impl DescribeAgentsInput
impl DescribeAgentsInput
sourcepub fn builder() -> DescribeAgentsInputBuilder
pub fn builder() -> DescribeAgentsInputBuilder
Creates a new builder-style object to manufacture DescribeAgentsInput.
Trait Implementations§
source§impl Clone for DescribeAgentsInput
impl Clone for DescribeAgentsInput
source§fn clone(&self) -> DescribeAgentsInput
fn clone(&self) -> DescribeAgentsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeAgentsInput
impl Debug for DescribeAgentsInput
source§impl PartialEq for DescribeAgentsInput
impl PartialEq for DescribeAgentsInput
source§fn eq(&self, other: &DescribeAgentsInput) -> bool
fn eq(&self, other: &DescribeAgentsInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeAgentsInput
Auto Trait Implementations§
impl Freeze for DescribeAgentsInput
impl RefUnwindSafe for DescribeAgentsInput
impl Send for DescribeAgentsInput
impl Sync for DescribeAgentsInput
impl Unpin for DescribeAgentsInput
impl UnwindSafe for DescribeAgentsInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more