aws_sdk_opsworks/client/
describe_apps.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 [`DescribeApps`](crate::operation::describe_apps::builders::DescribeAppsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`stack_id(impl Into<String>)`](crate::operation::describe_apps::builders::DescribeAppsFluentBuilder::stack_id) / [`set_stack_id(Option<String>)`](crate::operation::describe_apps::builders::DescribeAppsFluentBuilder::set_stack_id):<br>required: **false**<br><p>The app stack ID. If you use this parameter, <code>DescribeApps</code> returns a description of the apps in the specified stack.</p><br>
7    ///   - [`app_ids(impl Into<String>)`](crate::operation::describe_apps::builders::DescribeAppsFluentBuilder::app_ids) / [`set_app_ids(Option<Vec::<String>>)`](crate::operation::describe_apps::builders::DescribeAppsFluentBuilder::set_app_ids):<br>required: **false**<br><p>An array of app IDs for the apps to be described. If you use this parameter, <code>DescribeApps</code> returns a description of the specified apps. Otherwise, it returns a description of every app.</p><br>
8    /// - On success, responds with [`DescribeAppsOutput`](crate::operation::describe_apps::DescribeAppsOutput) with field(s):
9    ///   - [`apps(Option<Vec::<App>>)`](crate::operation::describe_apps::DescribeAppsOutput::apps): <p>An array of <code>App</code> objects that describe the specified apps.</p>
10    /// - On failure, responds with [`SdkError<DescribeAppsError>`](crate::operation::describe_apps::DescribeAppsError)
11    pub fn describe_apps(&self) -> crate::operation::describe_apps::builders::DescribeAppsFluentBuilder {
12        crate::operation::describe_apps::builders::DescribeAppsFluentBuilder::new(self.handle.clone())
13    }
14}