#[non_exhaustive]pub struct ListModelPackagesInput { /* private fields */ }
Implementations§
source§impl ListModelPackagesInput
impl ListModelPackagesInput
sourcepub fn creation_time_after(&self) -> Option<&DateTime>
pub fn creation_time_after(&self) -> Option<&DateTime>
A filter that returns only model packages created after the specified time (timestamp).
sourcepub fn creation_time_before(&self) -> Option<&DateTime>
pub fn creation_time_before(&self) -> Option<&DateTime>
A filter that returns only model packages created before the specified time (timestamp).
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of model packages to return in the response.
sourcepub fn name_contains(&self) -> Option<&str>
pub fn name_contains(&self) -> Option<&str>
A string in the model package name. This filter returns only model packages whose name contains the specified string.
sourcepub fn model_approval_status(&self) -> Option<&ModelApprovalStatus>
pub fn model_approval_status(&self) -> Option<&ModelApprovalStatus>
A filter that returns only the model packages with the specified approval status.
sourcepub fn model_package_group_name(&self) -> Option<&str>
pub fn model_package_group_name(&self) -> Option<&str>
A filter that returns only model versions that belong to the specified model group.
sourcepub fn model_package_type(&self) -> Option<&ModelPackageType>
pub fn model_package_type(&self) -> Option<&ModelPackageType>
A filter that returns only the model packages of the specified type. This can be one of the following values.
-
UNVERSIONED
- List only unversioined models. This is the default value if noModelPackageType
is specified. -
VERSIONED
- List only versioned models. -
BOTH
- List both versioned and unversioned models.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the response to a previous ListModelPackages
request was truncated, the response includes a NextToken
. To retrieve the next set of model packages, use the token in the next request.
sourcepub fn sort_by(&self) -> Option<&ModelPackageSortBy>
pub fn sort_by(&self) -> Option<&ModelPackageSortBy>
The parameter by which to sort the results. The default is CreationTime
.
sourcepub fn sort_order(&self) -> Option<&SortOrder>
pub fn sort_order(&self) -> Option<&SortOrder>
The sort order for the results. The default is Ascending
.
source§impl ListModelPackagesInput
impl ListModelPackagesInput
sourcepub fn builder() -> ListModelPackagesInputBuilder
pub fn builder() -> ListModelPackagesInputBuilder
Creates a new builder-style object to manufacture ListModelPackagesInput
.
source§impl ListModelPackagesInput
impl ListModelPackagesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListModelPackages, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<ListModelPackages, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListModelPackages
>
Trait Implementations§
source§impl Clone for ListModelPackagesInput
impl Clone for ListModelPackagesInput
source§fn clone(&self) -> ListModelPackagesInput
fn clone(&self) -> ListModelPackagesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListModelPackagesInput
impl Debug for ListModelPackagesInput
source§impl PartialEq<ListModelPackagesInput> for ListModelPackagesInput
impl PartialEq<ListModelPackagesInput> for ListModelPackagesInput
source§fn eq(&self, other: &ListModelPackagesInput) -> bool
fn eq(&self, other: &ListModelPackagesInput) -> bool
self
and other
values to be equal, and is used
by ==
.