#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListRealtimeContactAnalysisSegments {
_private: (),
}
impl ListRealtimeContactAnalysisSegments {
pub fn builder() -> crate::input::list_realtime_contact_analysis_segments_input::Builder {
crate::input::list_realtime_contact_analysis_segments_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListRealtimeContactAnalysisSegments {
type Output = std::result::Result<
crate::output::ListRealtimeContactAnalysisSegmentsOutput,
crate::error::ListRealtimeContactAnalysisSegmentsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_realtime_contact_analysis_segments_error(response)
} else {
crate::operation_deser::parse_list_realtime_contact_analysis_segments_response(response)
}
}
}
pub mod customize;