aws_sdk_connect/client/list_contact_references.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ListContactReferences`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - [`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>
11 /// - On success, responds with [`ListContactReferencesOutput`](crate::operation::list_contact_references::ListContactReferencesOutput) with field(s):
12 /// - [`reference_summary_list(Option<Vec::<ReferenceSummary>>)`](crate::operation::list_contact_references::ListContactReferencesOutput::reference_summary_list): <p>Information about the flows.</p>
13 /// - [`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>
14 /// - On failure, responds with [`SdkError<ListContactReferencesError>`](crate::operation::list_contact_references::ListContactReferencesError)
15 pub fn list_contact_references(&self) -> crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder {
16 crate::operation::list_contact_references::builders::ListContactReferencesFluentBuilder::new(self.handle.clone())
17 }
18}