Struct aws_sdk_imagebuilder::input::ListComponentsInput
source · [−]#[non_exhaustive]pub struct ListComponentsInput {
pub owner: Option<Ownership>,
pub filters: Option<Vec<Filter>>,
pub by_name: bool,
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.owner: Option<Ownership>
The owner defines which components you want to list. By default, this request will only show components owned by your account. You can use this field to specify if you want to view components owned by yourself, by Amazon, or those components that have been shared with you by other customers.
filters: Option<Vec<Filter>>
Use the following filters to streamline results:
-
description
-
name
-
platform
-
supportedOsVersion
-
type
-
version
by_name: bool
Returns the list of component build versions for the specified name.
max_results: Option<i32>
The maximum items to return in a request.
next_token: Option<String>
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
Implementations
sourceimpl ListComponentsInput
impl ListComponentsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListComponents, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListComponents, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListComponents
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListComponentsInput
sourceimpl ListComponentsInput
impl ListComponentsInput
sourcepub fn owner(&self) -> Option<&Ownership>
pub fn owner(&self) -> Option<&Ownership>
The owner defines which components you want to list. By default, this request will only show components owned by your account. You can use this field to specify if you want to view components owned by yourself, by Amazon, or those components that have been shared with you by other customers.
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
Use the following filters to streamline results:
-
description
-
name
-
platform
-
supportedOsVersion
-
type
-
version
sourcepub fn by_name(&self) -> bool
pub fn by_name(&self) -> bool
Returns the list of component build versions for the specified name.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum items to return in a request.
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.
Trait Implementations
sourceimpl Clone for ListComponentsInput
impl Clone for ListComponentsInput
sourcefn clone(&self) -> ListComponentsInput
fn clone(&self) -> ListComponentsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListComponentsInput
impl Debug for ListComponentsInput
sourceimpl PartialEq<ListComponentsInput> for ListComponentsInput
impl PartialEq<ListComponentsInput> for ListComponentsInput
sourcefn eq(&self, other: &ListComponentsInput) -> bool
fn eq(&self, other: &ListComponentsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListComponentsInput) -> bool
fn ne(&self, other: &ListComponentsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListComponentsInput
Auto Trait Implementations
impl RefUnwindSafe for ListComponentsInput
impl Send for ListComponentsInput
impl Sync for ListComponentsInput
impl Unpin for ListComponentsInput
impl UnwindSafe for ListComponentsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more