aws_sdk_deadline/client/
disassociate_member_from_farm.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisassociateMemberFromFarm`](crate::operation::disassociate_member_from_farm::builders::DisassociateMemberFromFarmFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`farm_id(impl Into<String>)`](crate::operation::disassociate_member_from_farm::builders::DisassociateMemberFromFarmFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::disassociate_member_from_farm::builders::DisassociateMemberFromFarmFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID of the farm to disassociate from the member.</p><br>
    ///   - [`principal_id(impl Into<String>)`](crate::operation::disassociate_member_from_farm::builders::DisassociateMemberFromFarmFluentBuilder::principal_id) / [`set_principal_id(Option<String>)`](crate::operation::disassociate_member_from_farm::builders::DisassociateMemberFromFarmFluentBuilder::set_principal_id):<br>required: **true**<br><p>A member's principal ID to disassociate from a farm.</p><br>
    /// - On success, responds with [`DisassociateMemberFromFarmOutput`](crate::operation::disassociate_member_from_farm::DisassociateMemberFromFarmOutput)
    /// - On failure, responds with [`SdkError<DisassociateMemberFromFarmError>`](crate::operation::disassociate_member_from_farm::DisassociateMemberFromFarmError)
    pub fn disassociate_member_from_farm(
        &self,
    ) -> crate::operation::disassociate_member_from_farm::builders::DisassociateMemberFromFarmFluentBuilder {
        crate::operation::disassociate_member_from_farm::builders::DisassociateMemberFromFarmFluentBuilder::new(self.handle.clone())
    }
}