aws_sdk_datazone/client/create_project_membership.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateProjectMembership`](crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which project membership is created.</p><br>
/// - [`project_identifier(impl Into<String>)`](crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder::project_identifier) / [`set_project_identifier(Option<String>)`](crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder::set_project_identifier):<br>required: **true**<br><p>The ID of the project for which this project membership was created.</p><br>
/// - [`member(Member)`](crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder::member) / [`set_member(Option<Member>)`](crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder::set_member):<br>required: **true**<br><p>The project member whose project membership was created.</p><br>
/// - [`designation(UserDesignation)`](crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder::designation) / [`set_designation(Option<UserDesignation>)`](crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder::set_designation):<br>required: **true**<br><p>The designation of the project membership.</p><br>
/// - On success, responds with [`CreateProjectMembershipOutput`](crate::operation::create_project_membership::CreateProjectMembershipOutput)
/// - On failure, responds with [`SdkError<CreateProjectMembershipError>`](crate::operation::create_project_membership::CreateProjectMembershipError)
pub fn create_project_membership(&self) -> crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder {
crate::operation::create_project_membership::builders::CreateProjectMembershipFluentBuilder::new(self.handle.clone())
}
}