Struct aws_sdk_robomaker::operation::list_robots::ListRobotsInput
source · #[non_exhaustive]pub struct ListRobotsInput {
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub filters: Option<Vec<Filter>>,
}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.next_token: Option<String>If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobots again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
max_results: Option<i32>When this parameter is used, ListRobots only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListRobots request with the returned nextToken value. This value can be between 1 and 200. If this parameter is not used, then ListRobots returns up to 200 results and a nextToken value if applicable.
filters: Option<Vec<Filter>>Optional filters to limit results.
The filter names status and fleetName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status Registered or the status Available.
Implementations§
source§impl ListRobotsInput
impl ListRobotsInput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobots again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
When this parameter is used, ListRobots only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListRobots request with the returned nextToken value. This value can be between 1 and 200. If this parameter is not used, then ListRobots returns up to 200 results and a nextToken value if applicable.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
Optional filters to limit results.
The filter names status and fleetName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status Registered or the status Available.
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().
source§impl ListRobotsInput
impl ListRobotsInput
sourcepub fn builder() -> ListRobotsInputBuilder
pub fn builder() -> ListRobotsInputBuilder
Creates a new builder-style object to manufacture ListRobotsInput.
Trait Implementations§
source§impl Clone for ListRobotsInput
impl Clone for ListRobotsInput
source§fn clone(&self) -> ListRobotsInput
fn clone(&self) -> ListRobotsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListRobotsInput
impl Debug for ListRobotsInput
source§impl PartialEq for ListRobotsInput
impl PartialEq for ListRobotsInput
source§fn eq(&self, other: &ListRobotsInput) -> bool
fn eq(&self, other: &ListRobotsInput) -> bool
self and other values to be equal, and is used
by ==.