Struct aws_sdk_elasticinference::operation::describe_accelerators::DescribeAcceleratorsInput
source · #[non_exhaustive]pub struct DescribeAcceleratorsInput {
pub accelerator_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.accelerator_ids: Option<Vec<String>>
The IDs of the accelerators to describe.
filters: Option<Vec<Filter>>
One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.
max_results: Option<i32>
The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the AWS CLI.
next_token: Option<String>
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
Implementations§
source§impl DescribeAcceleratorsInput
impl DescribeAcceleratorsInput
sourcepub fn accelerator_ids(&self) -> &[String]
pub fn accelerator_ids(&self) -> &[String]
The IDs of the accelerators to describe.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .accelerator_ids.is_none()
.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.
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 items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the AWS CLI.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
source§impl DescribeAcceleratorsInput
impl DescribeAcceleratorsInput
sourcepub fn builder() -> DescribeAcceleratorsInputBuilder
pub fn builder() -> DescribeAcceleratorsInputBuilder
Creates a new builder-style object to manufacture DescribeAcceleratorsInput
.
Trait Implementations§
source§impl Clone for DescribeAcceleratorsInput
impl Clone for DescribeAcceleratorsInput
source§fn clone(&self) -> DescribeAcceleratorsInput
fn clone(&self) -> DescribeAcceleratorsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeAcceleratorsInput
impl Debug for DescribeAcceleratorsInput
source§impl PartialEq for DescribeAcceleratorsInput
impl PartialEq for DescribeAcceleratorsInput
source§fn eq(&self, other: &DescribeAcceleratorsInput) -> bool
fn eq(&self, other: &DescribeAcceleratorsInput) -> bool
self
and other
values to be equal, and is used
by ==
.