1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetFlowAssociation`](crate::operation::get_flow_association::builders::GetFlowAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::get_flow_association::builders::GetFlowAssociationFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::get_flow_association::builders::GetFlowAssociationFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
    ///   - [`resource_id(impl Into<String>)`](crate::operation::get_flow_association::builders::GetFlowAssociationFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::get_flow_association::builders::GetFlowAssociationFluentBuilder::set_resource_id):<br>required: **true**<br><p>The identifier of the resource.</p><br>
    ///   - [`resource_type(FlowAssociationResourceType)`](crate::operation::get_flow_association::builders::GetFlowAssociationFluentBuilder::resource_type) / [`set_resource_type(Option<FlowAssociationResourceType>)`](crate::operation::get_flow_association::builders::GetFlowAssociationFluentBuilder::set_resource_type):<br>required: **true**<br><p>A valid resource type.</p><br>
    /// - On success, responds with [`GetFlowAssociationOutput`](crate::operation::get_flow_association::GetFlowAssociationOutput) with field(s):
    ///   - [`resource_id(Option<String>)`](crate::operation::get_flow_association::GetFlowAssociationOutput::resource_id): <p>The identifier of the resource.</p>
    ///   - [`flow_id(Option<String>)`](crate::operation::get_flow_association::GetFlowAssociationOutput::flow_id): <p>The identifier of the flow.</p>
    ///   - [`resource_type(Option<FlowAssociationResourceType>)`](crate::operation::get_flow_association::GetFlowAssociationOutput::resource_type): <p>A valid resource type.</p>
    /// - On failure, responds with [`SdkError<GetFlowAssociationError>`](crate::operation::get_flow_association::GetFlowAssociationError)
    pub fn get_flow_association(&self) -> crate::operation::get_flow_association::builders::GetFlowAssociationFluentBuilder {
        crate::operation::get_flow_association::builders::GetFlowAssociationFluentBuilder::new(self.handle.clone())
    }
}