#[non_exhaustive]
pub struct ListModelPackagesInput { pub creation_time_after: Option<DateTime>, pub creation_time_before: Option<DateTime>, 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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
creation_time_after: Option<DateTime>

A filter that returns only model packages created after the specified time (timestamp).

creation_time_before: Option<DateTime>

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 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 no ModelPackageType is specified.

  • VERSIONED - List only versioned 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

Consumes the builder and constructs an Operation<ListModelPackages>

Creates a new builder-style object to manufacture ListModelPackagesInput

A filter that returns only model packages created after the specified time (timestamp).

A filter that returns only model packages created before the specified time (timestamp).

The maximum number of model packages to return in the response.

A string in the model package name. This filter returns only model packages whose name contains the specified string.

A filter that returns only the model packages with the specified approval status.

A filter that returns only model versions that belong to the specified model group.

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 no ModelPackageType is specified.

  • VERSIONED - List only versioned models.

  • BOTH - List both versioned and unversioned models.

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.

The parameter by which to sort the results. The default is CreationTime.

The sort order for the results. The default is Ascending.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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