aws_sdk_codedeploy/client/batch_get_deployment_groups.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 [`BatchGetDeploymentGroups`](crate::operation::batch_get_deployment_groups::builders::BatchGetDeploymentGroupsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_name(impl Into<String>)`](crate::operation::batch_get_deployment_groups::builders::BatchGetDeploymentGroupsFluentBuilder::application_name) / [`set_application_name(Option<String>)`](crate::operation::batch_get_deployment_groups::builders::BatchGetDeploymentGroupsFluentBuilder::set_application_name):<br>required: **true**<br><p>The name of an CodeDeploy application associated with the applicable user or Amazon Web Services account.</p><br>
7 /// - [`deployment_group_names(impl Into<String>)`](crate::operation::batch_get_deployment_groups::builders::BatchGetDeploymentGroupsFluentBuilder::deployment_group_names) / [`set_deployment_group_names(Option<Vec::<String>>)`](crate::operation::batch_get_deployment_groups::builders::BatchGetDeploymentGroupsFluentBuilder::set_deployment_group_names):<br>required: **true**<br><p>The names of the deployment groups.</p><br>
8 /// - On success, responds with [`BatchGetDeploymentGroupsOutput`](crate::operation::batch_get_deployment_groups::BatchGetDeploymentGroupsOutput) with field(s):
9 /// - [`deployment_groups_info(Option<Vec::<DeploymentGroupInfo>>)`](crate::operation::batch_get_deployment_groups::BatchGetDeploymentGroupsOutput::deployment_groups_info): <p>Information about the deployment groups.</p>
10 /// - [`error_message(Option<String>)`](crate::operation::batch_get_deployment_groups::BatchGetDeploymentGroupsOutput::error_message): <p>Information about errors that might have occurred during the API call.</p>
11 /// - On failure, responds with [`SdkError<BatchGetDeploymentGroupsError>`](crate::operation::batch_get_deployment_groups::BatchGetDeploymentGroupsError)
12 pub fn batch_get_deployment_groups(&self) -> crate::operation::batch_get_deployment_groups::builders::BatchGetDeploymentGroupsFluentBuilder {
13 crate::operation::batch_get_deployment_groups::builders::BatchGetDeploymentGroupsFluentBuilder::new(self.handle.clone())
14 }
15}