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
impl StructuralPartialEq for DescribeAcceleratorsInput
Auto Trait Implementations§
impl Freeze for DescribeAcceleratorsInput
impl RefUnwindSafe for DescribeAcceleratorsInput
impl Send for DescribeAcceleratorsInput
impl Sync for DescribeAcceleratorsInput
impl Unpin for DescribeAcceleratorsInput
impl UnwindSafe for DescribeAcceleratorsInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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