aws_sdk_wisdom/client/
get_assistant_association.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAssistantAssociation`](crate::operation::get_assistant_association::builders::GetAssistantAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`assistant_association_id(impl Into<String>)`](crate::operation::get_assistant_association::builders::GetAssistantAssociationFluentBuilder::assistant_association_id) / [`set_assistant_association_id(Option<String>)`](crate::operation::get_assistant_association::builders::GetAssistantAssociationFluentBuilder::set_assistant_association_id):<br>required: **true**<br><p>The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
    ///   - [`assistant_id(impl Into<String>)`](crate::operation::get_assistant_association::builders::GetAssistantAssociationFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::get_assistant_association::builders::GetAssistantAssociationFluentBuilder::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>
    /// - On success, responds with [`GetAssistantAssociationOutput`](crate::operation::get_assistant_association::GetAssistantAssociationOutput) with field(s):
    ///   - [`assistant_association(Option<AssistantAssociationData>)`](crate::operation::get_assistant_association::GetAssistantAssociationOutput::assistant_association): <p>The assistant association.</p>
    /// - On failure, responds with [`SdkError<GetAssistantAssociationError>`](crate::operation::get_assistant_association::GetAssistantAssociationError)
    pub fn get_assistant_association(&self) -> crate::operation::get_assistant_association::builders::GetAssistantAssociationFluentBuilder {
        crate::operation::get_assistant_association::builders::GetAssistantAssociationFluentBuilder::new(self.handle.clone())
    }
}