aws_sdk_sagemaker/client/
list_partner_apps.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListPartnerApps`](crate::operation::list_partner_apps::builders::ListPartnerAppsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_partner_apps::builders::ListPartnerAppsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_partner_apps::builders::ListPartnerAppsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_partner_apps::builders::ListPartnerAppsFluentBuilder::set_max_results):<br>required: **false**<br><p>This parameter defines the maximum number of results that can be returned in a single response. The <code>MaxResults</code> parameter is an upper bound, not a target. If there are more results available than the value specified, a <code>NextToken</code> is provided in the response. The <code>NextToken</code> indicates that the user should get the next set of results by providing this token as a part of a subsequent call. The default value for <code>MaxResults</code> is 10.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_partner_apps::builders::ListPartnerAppsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_partner_apps::builders::ListPartnerAppsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p><br>
9    /// - On success, responds with [`ListPartnerAppsOutput`](crate::operation::list_partner_apps::ListPartnerAppsOutput) with field(s):
10    ///   - [`summaries(Option<Vec::<PartnerAppSummary>>)`](crate::operation::list_partner_apps::ListPartnerAppsOutput::summaries): <p>The information related to each of the SageMaker Partner AI Apps in an account.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_partner_apps::ListPartnerAppsOutput::next_token): <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p>
12    /// - On failure, responds with [`SdkError<ListPartnerAppsError>`](crate::operation::list_partner_apps::ListPartnerAppsError)
13    pub fn list_partner_apps(&self) -> crate::operation::list_partner_apps::builders::ListPartnerAppsFluentBuilder {
14        crate::operation::list_partner_apps::builders::ListPartnerAppsFluentBuilder::new(self.handle.clone())
15    }
16}