aws_sdk_connect/client/list_contact_references.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListContactReferences`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::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>
/// - [`contact_id(impl Into<String>)`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the initial contact.</p><br>
/// - [`reference_types(ReferenceType)`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::reference_types) / [`set_reference_types(Option<Vec::<ReferenceType>>)`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::set_reference_types):<br>required: **true**<br><p>The type of reference.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p><important> <p>This is not expected to be set, because the value returned in the previous response is always null.</p> </important><br>
/// - On success, responds with [`ListContactReferencesOutput`](crate::operation::list_contact_references::ListContactReferencesOutput) with field(s):
/// - [`reference_summary_list(Option<Vec::<ReferenceSummary>>)`](crate::operation::list_contact_references::ListContactReferencesOutput::reference_summary_list): <p>Information about the flows.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_contact_references::ListContactReferencesOutput::next_token): <p>If there are additional results, this is the token for the next set of results.</p><important> <p>This is always returned as null in the response.</p> </important>
/// - On failure, responds with [`SdkError<ListContactReferencesError>`](crate::operation::list_contact_references::ListContactReferencesError)
pub fn list_contact_references(&self) -> crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder {
crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::new(self.handle.clone())
}
}