1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListModelCards`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`creation_time_after(DateTime)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::creation_time_after) / [`set_creation_time_after(Option<DateTime>)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::set_creation_time_after): <p>Only list model cards that were created after the time specified.</p>
    ///   - [`creation_time_before(DateTime)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::creation_time_before) / [`set_creation_time_before(Option<DateTime>)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::set_creation_time_before): <p>Only list model cards that were created before the time specified.</p>
    ///   - [`max_results(i32)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::set_max_results): <p>The maximum number of model cards to list.</p>
    ///   - [`name_contains(impl Into<String>)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::name_contains) / [`set_name_contains(Option<String>)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::set_name_contains): <p>Only list model cards with names that contain the specified string.</p>
    ///   - [`model_card_status(ModelCardStatus)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::model_card_status) / [`set_model_card_status(Option<ModelCardStatus>)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::set_model_card_status): <p>Only list model cards with the specified approval status.</p>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::set_next_token): <p>If the response to a previous <code>ListModelCards</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of model cards, use the token in the next request.</p>
    ///   - [`sort_by(ModelCardSortBy)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::sort_by) / [`set_sort_by(Option<ModelCardSortBy>)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::set_sort_by): <p>Sort model cards by either name or creation time. Sorts by creation time by default.</p>
    ///   - [`sort_order(ModelCardSortOrder)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::sort_order) / [`set_sort_order(Option<ModelCardSortOrder>)`](crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::set_sort_order): <p>Sort model cards by ascending or descending order.</p>
    /// - On success, responds with [`ListModelCardsOutput`](crate::operation::list_model_cards::ListModelCardsOutput) with field(s):
    ///   - [`model_card_summaries(Option<Vec<ModelCardSummary>>)`](crate::operation::list_model_cards::ListModelCardsOutput::model_card_summaries): <p>The summaries of the listed model cards.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_model_cards::ListModelCardsOutput::next_token): <p>If the response is truncated, SageMaker returns this token. To retrieve the next set of model cards, use it in the subsequent request.</p>
    /// - On failure, responds with [`SdkError<ListModelCardsError>`](crate::operation::list_model_cards::ListModelCardsError)
    pub fn list_model_cards(&self) -> crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder {
        crate::operation::list_model_cards::builders::ListModelCardsFluentBuilder::new(self.handle.clone())
    }
}