Struct aws_sdk_sagemaker::input::ListModelPackagesInput [−][src]
#[non_exhaustive]pub struct ListModelPackagesInput {
pub creation_time_after: Option<Instant>,
pub creation_time_before: Option<Instant>,
pub max_results: Option<i32>,
pub name_contains: Option<String>,
pub model_approval_status: Option<ModelApprovalStatus>,
pub model_package_group_name: Option<String>,
pub model_package_type: Option<ModelPackageType>,
pub next_token: Option<String>,
pub sort_by: Option<ModelPackageSortBy>,
pub sort_order: Option<SortOrder>,
}
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.creation_time_after: Option<Instant>
A filter that returns only model packages created after the specified time (timestamp).
creation_time_before: Option<Instant>
A filter that returns only model packages created before the specified time (timestamp).
max_results: Option<i32>
The maximum number of model packages to return in the response.
name_contains: Option<String>
A string in the model package name. This filter returns only model packages whose name contains the specified string.
model_approval_status: Option<ModelApprovalStatus>
A filter that returns only the model packages with the specified approval status.
model_package_group_name: Option<String>
A filter that returns only model versions that belong to the specified model group.
model_package_type: Option<ModelPackageType>
A filter that returns onlyl the model packages of the specified type. This can be one of the following values.
-
VERSIONED
- List only versioned models. -
UNVERSIONED
- List only unversioined models. -
BOTH
- List both versioned and unversioned models.
next_token: Option<String>
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.
sort_by: Option<ModelPackageSortBy>
The parameter by which to sort the results. The default is
CreationTime
.
sort_order: Option<SortOrder>
The sort order for the results. The default is Ascending
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListModelPackages, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListModelPackages, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListModelPackages
>
Creates a new builder-style object to manufacture ListModelPackagesInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListModelPackagesInput
impl Send for ListModelPackagesInput
impl Sync for ListModelPackagesInput
impl Unpin for ListModelPackagesInput
impl UnwindSafe for ListModelPackagesInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more