aws_sdk_deadline/client/
associate_member_to_farm.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateMemberToFarm`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`farm_id(impl Into<String>)`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::set_farm_id):<br>required: **true**<br><p>The ID of the farm to associate with the member.</p><br>
    ///   - [`principal_id(impl Into<String>)`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::principal_id) / [`set_principal_id(Option<String>)`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::set_principal_id):<br>required: **true**<br><p>The member's principal ID to associate with the farm.</p><br>
    ///   - [`principal_type(DeadlinePrincipalType)`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::principal_type) / [`set_principal_type(Option<DeadlinePrincipalType>)`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::set_principal_type):<br>required: **true**<br><p>The principal type of the member to associate with the farm.</p><br>
    ///   - [`identity_store_id(impl Into<String>)`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::identity_store_id) / [`set_identity_store_id(Option<String>)`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::set_identity_store_id):<br>required: **true**<br><p>The identity store ID of the member to associate with the farm.</p><br>
    ///   - [`membership_level(MembershipLevel)`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::membership_level) / [`set_membership_level(Option<MembershipLevel>)`](crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::set_membership_level):<br>required: **true**<br><p>The principal's membership level for the associated farm.</p><br>
    /// - On success, responds with [`AssociateMemberToFarmOutput`](crate::operation::associate_member_to_farm::AssociateMemberToFarmOutput)
    /// - On failure, responds with [`SdkError<AssociateMemberToFarmError>`](crate::operation::associate_member_to_farm::AssociateMemberToFarmError)
    pub fn associate_member_to_farm(&self) -> crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder {
        crate::operation::associate_member_to_farm::builders::AssociateMemberToFarmFluentBuilder::new(self.handle.clone())
    }
}