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 [`ListPackagesForDomain`](crate::operation::list_packages_for_domain::builders::ListPackagesForDomainFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_packages_for_domain::builders::ListPackagesForDomainFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::list_packages_for_domain::builders::ListPackagesForDomainFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::list_packages_for_domain::builders::ListPackagesForDomainFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the domain for which you want to list associated packages.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_packages_for_domain::builders::ListPackagesForDomainFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_packages_for_domain::builders::ListPackagesForDomainFluentBuilder::set_max_results):<br>required: **false**<br><p>An optional parameter that specifies the maximum number of results to return. You can use <code>nextToken</code> to get the next page of results.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_packages_for_domain::builders::ListPackagesForDomainFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_packages_for_domain::builders::ListPackagesForDomainFluentBuilder::set_next_token):<br>required: **false**<br><p>If your initial <code>ListPackagesForDomain</code> operation returns a <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent <code>ListPackagesForDomain</code> operations, which returns results in the next page.</p><br>
    /// - On success, responds with [`ListPackagesForDomainOutput`](crate::operation::list_packages_for_domain::ListPackagesForDomainOutput) with field(s):
    ///   - [`domain_package_details_list(Option<Vec::<DomainPackageDetails>>)`](crate::operation::list_packages_for_domain::ListPackagesForDomainOutput::domain_package_details_list): <p>List of all packages associated with a domain.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_packages_for_domain::ListPackagesForDomainOutput::next_token): <p>When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.</p>
    /// - On failure, responds with [`SdkError<ListPackagesForDomainError>`](crate::operation::list_packages_for_domain::ListPackagesForDomainError)
    pub fn list_packages_for_domain(&self) -> crate::operation::list_packages_for_domain::builders::ListPackagesForDomainFluentBuilder {
        crate::operation::list_packages_for_domain::builders::ListPackagesForDomainFluentBuilder::new(self.handle.clone())
    }
}