Struct aws_sdk_sagemaker::client::fluent_builders::ListModelPackages [−][src]
pub struct ListModelPackages<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListModelPackages
.
Lists the model packages that have been created.
Implementations
impl<C, M, R> ListModelPackages<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListModelPackages<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListModelPackagesOutput, SdkError<ListModelPackagesError>> where
R::Policy: SmithyRetryPolicy<ListModelPackagesInputOperationOutputAlias, ListModelPackagesOutput, ListModelPackagesError, ListModelPackagesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListModelPackagesOutput, SdkError<ListModelPackagesError>> where
R::Policy: SmithyRetryPolicy<ListModelPackagesInputOperationOutputAlias, ListModelPackagesOutput, ListModelPackagesError, ListModelPackagesInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
A filter that returns only model packages created after the specified time (timestamp).
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).
A filter that returns only model packages created before the specified time (timestamp).
The maximum number of model packages to return in the response.
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 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 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 model versions that belong to the specified model group.
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.
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.
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.
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 parameter by which to sort the results. The default is
CreationTime
.
The sort order for the results. The default is Ascending
.
The sort order for the results. The default is Ascending
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListModelPackages<C, M, R>
impl<C, M, R> Send for ListModelPackages<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListModelPackages<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListModelPackages<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListModelPackages<C, M, R>
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