aws_sdk_amplifyuibuilder/client/
export_themes.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 [`ExportThemes`](crate::operation::export_themes::builders::ExportThemesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::export_themes::builders::ExportThemesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`app_id(impl Into<String>)`](crate::operation::export_themes::builders::ExportThemesFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::export_themes::builders::ExportThemesFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID of the Amplify app to export the themes to.</p><br>
8    ///   - [`environment_name(impl Into<String>)`](crate::operation::export_themes::builders::ExportThemesFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::export_themes::builders::ExportThemesFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the backend environment that is part of the Amplify app.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::export_themes::builders::ExportThemesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::export_themes::builders::ExportThemesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to request the next page of results.</p><br>
10    /// - On success, responds with [`ExportThemesOutput`](crate::operation::export_themes::ExportThemesOutput) with field(s):
11    ///   - [`entities(Vec::<Theme>)`](crate::operation::export_themes::ExportThemesOutput::entities): <p>Represents the configuration of the exported themes.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::export_themes::ExportThemesOutput::next_token): <p>The pagination token that's included if more results are available.</p>
13    /// - On failure, responds with [`SdkError<ExportThemesError>`](crate::operation::export_themes::ExportThemesError)
14    pub fn export_themes(&self) -> crate::operation::export_themes::builders::ExportThemesFluentBuilder {
15        crate::operation::export_themes::builders::ExportThemesFluentBuilder::new(self.handle.clone())
16    }
17}