aws_sdk_appstream/client/
associate_fleet.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 [`AssociateFleet`](crate::operation::associate_fleet::builders::AssociateFleetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`fleet_name(impl Into<String>)`](crate::operation::associate_fleet::builders::AssociateFleetFluentBuilder::fleet_name) / [`set_fleet_name(Option<String>)`](crate::operation::associate_fleet::builders::AssociateFleetFluentBuilder::set_fleet_name):<br>required: **true**<br><p>The name of the fleet.</p><br>
7    ///   - [`stack_name(impl Into<String>)`](crate::operation::associate_fleet::builders::AssociateFleetFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::associate_fleet::builders::AssociateFleetFluentBuilder::set_stack_name):<br>required: **true**<br><p>The name of the stack.</p><br>
8    /// - On success, responds with [`AssociateFleetOutput`](crate::operation::associate_fleet::AssociateFleetOutput)
9    /// - On failure, responds with [`SdkError<AssociateFleetError>`](crate::operation::associate_fleet::AssociateFleetError)
10    pub fn associate_fleet(&self) -> crate::operation::associate_fleet::builders::AssociateFleetFluentBuilder {
11        crate::operation::associate_fleet::builders::AssociateFleetFluentBuilder::new(self.handle.clone())
12    }
13}