1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListImports`](crate::operation::list_imports::builders::ListImportsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_imports::builders::ListImportsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`export_name(impl Into<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::export_name) / [`set_export_name(Option<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::set_export_name):<br>required: **true**<br><p>The name of the exported output value. CloudFormation returns the stack names that are importing this value.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::set_next_token):<br>required: **false**<br><p>A string (provided by the <code>ListImports</code> response output) that identifies the next page of stacks that are importing the specified exported output value.</p><br>
    /// - On success, responds with [`ListImportsOutput`](crate::operation::list_imports::ListImportsOutput) with field(s):
    ///   - [`imports(Option<Vec::<String>>)`](crate::operation::list_imports::ListImportsOutput::imports): <p>A list of stack names that are importing the specified exported output value.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_imports::ListImportsOutput::next_token): <p>A string that identifies the next page of exports. If there is no additional page, this value is null.</p>
    /// - On failure, responds with [`SdkError<ListImportsError>`](crate::operation::list_imports::ListImportsError)
    pub fn list_imports(&self) -> crate::operation::list_imports::builders::ListImportsFluentBuilder {
        crate::operation::list_imports::builders::ListImportsFluentBuilder::new(self.handle.clone())
    }
}