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 [`ListReleaseLabels`](crate::operation::list_release_labels::builders::ListReleaseLabelsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_release_labels::builders::ListReleaseLabelsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`filters(ReleaseLabelFilter)`](crate::operation::list_release_labels::builders::ListReleaseLabelsFluentBuilder::filters) / [`set_filters(Option<ReleaseLabelFilter>)`](crate::operation::list_release_labels::builders::ListReleaseLabelsFluentBuilder::set_filters):<br>required: **false**<br><p>Filters the results of the request. <code>Prefix</code> specifies the prefix of release labels to return. <code>Application</code> specifies the application (with/without version) of release labels to return.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_release_labels::builders::ListReleaseLabelsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_release_labels::builders::ListReleaseLabelsFluentBuilder::set_next_token):<br>required: **false**<br><p>Specifies the next page of results. If <code>NextToken</code> is not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. The <code>ListReleaseLabels</code> request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if the <code>NextToken</code> is expired or tampered with.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_release_labels::builders::ListReleaseLabelsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_release_labels::builders::ListReleaseLabelsFluentBuilder::set_max_results):<br>required: **false**<br><p>Defines the maximum number of release labels to return in a single response. The default is <code>100</code>.</p><br>
    /// - On success, responds with [`ListReleaseLabelsOutput`](crate::operation::list_release_labels::ListReleaseLabelsOutput) with field(s):
    ///   - [`release_labels(Option<Vec::<String>>)`](crate::operation::list_release_labels::ListReleaseLabelsOutput::release_labels): <p>The returned release labels.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_release_labels::ListReleaseLabelsOutput::next_token): <p>Used to paginate the next page of results if specified in the next <code>ListReleaseLabels</code> request.</p>
    /// - On failure, responds with [`SdkError<ListReleaseLabelsError>`](crate::operation::list_release_labels::ListReleaseLabelsError)
    pub fn list_release_labels(&self) -> crate::operation::list_release_labels::builders::ListReleaseLabelsFluentBuilder {
        crate::operation::list_release_labels::builders::ListReleaseLabelsFluentBuilder::new(self.handle.clone())
    }
}