aws_sdk_wisdom/client/create_assistant_association.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateAssistantAssociation`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`assistant_id(impl Into<String>)`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::set_assistant_id):<br>required: **true**<br><p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
/// - [`association_type(AssociationType)`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::association_type) / [`set_association_type(Option<AssociationType>)`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::set_association_type):<br>required: **true**<br><p>The type of association.</p><br>
/// - [`association(AssistantAssociationInputData)`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::association) / [`set_association(Option<AssistantAssociationInputData>)`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::set_association):<br>required: **true**<br><p>The identifier of the associated resource.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::set_tags):<br>required: **false**<br><p>The tags used to organize, track, or control access for this resource.</p><br>
/// - On success, responds with [`CreateAssistantAssociationOutput`](crate::operation::create_assistant_association::CreateAssistantAssociationOutput) with field(s):
/// - [`assistant_association(Option<AssistantAssociationData>)`](crate::operation::create_assistant_association::CreateAssistantAssociationOutput::assistant_association): <p>The assistant association.</p>
/// - On failure, responds with [`SdkError<CreateAssistantAssociationError>`](crate::operation::create_assistant_association::CreateAssistantAssociationError)
pub fn create_assistant_association(&self) -> crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder {
crate::operation::create_assistant_association::builders::CreateAssistantAssociationFluentBuilder::new(self.handle.clone())
}
}