aws_sdk_cloudformation/client/list_imports.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 [`ListImports`](crate::operation::list_imports::builders::ListImportsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_imports::builders::ListImportsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`ListImportsOutput`](crate::operation::list_imports::ListImportsOutput) with field(s):
10 /// - [`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>
11 /// - [`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>
12 /// - On failure, responds with [`SdkError<ListImportsError>`](crate::operation::list_imports::ListImportsError)
13 pub fn list_imports(&self) -> crate::operation::list_imports::builders::ListImportsFluentBuilder {
14 crate::operation::list_imports::builders::ListImportsFluentBuilder::new(self.handle.clone())
15 }
16}