aws_sdk_amplifyuibuilder/client/
get_metadata.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 [`GetMetadata`](crate::operation::get_metadata::builders::GetMetadataFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_id(impl Into<String>)`](crate::operation::get_metadata::builders::GetMetadataFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_metadata::builders::GetMetadataFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID of the Amplify app.</p><br>
7    ///   - [`environment_name(impl Into<String>)`](crate::operation::get_metadata::builders::GetMetadataFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::get_metadata::builders::GetMetadataFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the backend environment that is part of the Amplify app.</p><br>
8    /// - On success, responds with [`GetMetadataOutput`](crate::operation::get_metadata::GetMetadataOutput) with field(s):
9    ///   - [`features(HashMap::<String, String>)`](crate::operation::get_metadata::GetMetadataOutput::features): <p>Represents the configuration settings for the features metadata.</p>
10    /// - On failure, responds with [`SdkError<GetMetadataError>`](crate::operation::get_metadata::GetMetadataError)
11    pub fn get_metadata(&self) -> crate::operation::get_metadata::builders::GetMetadataFluentBuilder {
12        crate::operation::get_metadata::builders::GetMetadataFluentBuilder::new(self.handle.clone())
13    }
14}