// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListRealtimeContactAnalysisSegmentsV2`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::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_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact in this instance of Amazon Connect.</p><br>
/// - [`max_results(i32)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::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><br>
/// - [`output_type(RealTimeContactAnalysisOutputType)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::output_type) / [`set_output_type(Option<RealTimeContactAnalysisOutputType>)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::set_output_type):<br>required: **true**<br><p>The Contact Lens output type to be returned.</p><br>
/// - [`segment_types(RealTimeContactAnalysisSegmentType)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::segment_types) / [`set_segment_types(Option<Vec::<RealTimeContactAnalysisSegmentType>>)`](crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::set_segment_types):<br>required: **true**<br><p>Enum with segment types . Each value corresponds to a segment type returned in the segments list of the API. Each segment type has its own structure. Different channels may have different sets of supported segment types.</p><br>
/// - On success, responds with [`ListRealtimeContactAnalysisSegmentsV2Output`](crate::operation::list_realtime_contact_analysis_segments_v2::ListRealtimeContactAnalysisSegmentsV2Output) with field(s):
/// - [`channel(RealTimeContactAnalysisSupportedChannel)`](crate::operation::list_realtime_contact_analysis_segments_v2::ListRealtimeContactAnalysisSegmentsV2Output::channel): <p>The channel of the contact. <code>Voice</code> will not be returned.</p>
/// - [`status(RealTimeContactAnalysisStatus)`](crate::operation::list_realtime_contact_analysis_segments_v2::ListRealtimeContactAnalysisSegmentsV2Output::status): <p>Status of real-time contact analysis.</p>
/// - [`segments(Vec::<RealtimeContactAnalysisSegment>)`](crate::operation::list_realtime_contact_analysis_segments_v2::ListRealtimeContactAnalysisSegmentsV2Output::segments): <p>An analyzed transcript or category.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_realtime_contact_analysis_segments_v2::ListRealtimeContactAnalysisSegmentsV2Output::next_token): <p>If there are additional results, this is the token for the next set of results.</p>
/// - On failure, responds with [`SdkError<ListRealtimeContactAnalysisSegmentsV2Error>`](crate::operation::list_realtime_contact_analysis_segments_v2::ListRealtimeContactAnalysisSegmentsV2Error)
pub fn list_realtime_contact_analysis_segments_v2(
&self,
) -> crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder {
crate::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder::new(
self.handle.clone(),
)
}
}