#[non_exhaustive]pub struct ListComponentsInput {
pub owner: Option<Ownership>,
pub filters: Option<Vec<Filter>>,
pub by_name: Option<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>
Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
filters: Option<Vec<Filter>>
Use the following filters to streamline results:
-
description
-
name
-
platform
-
supportedOsVersion
-
type
-
version
by_name: Option<bool>
Returns the list of components 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§
source§impl ListComponentsInput
impl ListComponentsInput
sourcepub fn owner(&self) -> Option<&Ownership>
pub fn owner(&self) -> Option<&Ownership>
Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
Use the following filters to streamline results:
-
description
-
name
-
platform
-
supportedOsVersion
-
type
-
version
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 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.
source§impl ListComponentsInput
impl ListComponentsInput
sourcepub fn builder() -> ListComponentsInputBuilder
pub fn builder() -> ListComponentsInputBuilder
Creates a new builder-style object to manufacture ListComponentsInput
.
Trait Implementations§
source§impl Clone for ListComponentsInput
impl Clone for ListComponentsInput
source§fn clone(&self) -> ListComponentsInput
fn clone(&self) -> ListComponentsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListComponentsInput
impl Debug for ListComponentsInput
source§impl PartialEq for ListComponentsInput
impl PartialEq for ListComponentsInput
source§fn eq(&self, other: &ListComponentsInput) -> bool
fn eq(&self, other: &ListComponentsInput) -> bool
self
and other
values to be equal, and is used
by ==
.