aws_sdk_elasticbeanstalk/client/
compose_environments.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 [`ComposeEnvironments`](crate::operation::compose_environments::builders::ComposeEnvironmentsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_name(impl Into<String>)`](crate::operation::compose_environments::builders::ComposeEnvironmentsFluentBuilder::application_name) / [`set_application_name(Option<String>)`](crate::operation::compose_environments::builders::ComposeEnvironmentsFluentBuilder::set_application_name):<br>required: **false**<br><p>The name of the application to which the specified source bundles belong.</p><br>
7    ///   - [`group_name(impl Into<String>)`](crate::operation::compose_environments::builders::ComposeEnvironmentsFluentBuilder::group_name) / [`set_group_name(Option<String>)`](crate::operation::compose_environments::builders::ComposeEnvironmentsFluentBuilder::set_group_name):<br>required: **false**<br><p>The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-cfg-manifest.html">Environment Manifest (env.yaml)</a> for details.</p><br>
8    ///   - [`version_labels(impl Into<String>)`](crate::operation::compose_environments::builders::ComposeEnvironmentsFluentBuilder::version_labels) / [`set_version_labels(Option<Vec::<String>>)`](crate::operation::compose_environments::builders::ComposeEnvironmentsFluentBuilder::set_version_labels):<br>required: **false**<br><p>A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.</p><br>
9    /// - On success, responds with [`ComposeEnvironmentsOutput`](crate::operation::compose_environments::ComposeEnvironmentsOutput) with field(s):
10    ///   - [`environments(Option<Vec::<EnvironmentDescription>>)`](crate::operation::compose_environments::ComposeEnvironmentsOutput::environments): <p>Returns an <code>EnvironmentDescription</code> list.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::compose_environments::ComposeEnvironmentsOutput::next_token): <p>In a paginated request, the token that you can pass in a subsequent request to get the next response page.</p>
12    /// - On failure, responds with [`SdkError<ComposeEnvironmentsError>`](crate::operation::compose_environments::ComposeEnvironmentsError)
13    pub fn compose_environments(&self) -> crate::operation::compose_environments::builders::ComposeEnvironmentsFluentBuilder {
14        crate::operation::compose_environments::builders::ComposeEnvironmentsFluentBuilder::new(self.handle.clone())
15    }
16}