1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAssetModels`](crate::operation::list_asset_models::builders::ListAssetModelsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_asset_models::builders::ListAssetModelsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_asset_models::builders::ListAssetModelsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_asset_models::builders::ListAssetModelsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to be used for the next set of paginated results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_asset_models::builders::ListAssetModelsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_asset_models::builders::ListAssetModelsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return for each paginated request.</p> <p>Default: 50</p><br>
    ///   - [`asset_model_types(AssetModelType)`](crate::operation::list_asset_models::builders::ListAssetModelsFluentBuilder::asset_model_types) / [`set_asset_model_types(Option<Vec::<AssetModelType>>)`](crate::operation::list_asset_models::builders::ListAssetModelsFluentBuilder::set_asset_model_types):<br>required: **false**<br><p>The type of asset model.</p> <ul>  <li>   <p><b>ASSET_MODEL</b> – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.</p></li>  <li>   <p><b>COMPONENT_MODEL</b> – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.</p></li> </ul><br>
    /// - On success, responds with [`ListAssetModelsOutput`](crate::operation::list_asset_models::ListAssetModelsOutput) with field(s):
    ///   - [`asset_model_summaries(Vec::<AssetModelSummary>)`](crate::operation::list_asset_models::ListAssetModelsOutput::asset_model_summaries): <p>A list that summarizes each asset model.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_asset_models::ListAssetModelsOutput::next_token): <p>The token for the next set of results, or null if there are no additional results.</p>
    /// - On failure, responds with [`SdkError<ListAssetModelsError>`](crate::operation::list_asset_models::ListAssetModelsError)
    pub fn list_asset_models(&self) -> crate::operation::list_asset_models::builders::ListAssetModelsFluentBuilder {
        crate::operation::list_asset_models::builders::ListAssetModelsFluentBuilder::new(self.handle.clone())
    }
}