aws_sdk_connectcases/client/get_case_audit_events.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetCaseAuditEvents`](crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`case_id(impl Into<String>)`](crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder::case_id) / [`set_case_id(Option<String>)`](crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder::set_case_id):<br>required: **true**<br><p>A unique identifier of the case.</p><br>
/// - [`domain_id(impl Into<String>)`](crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder::set_domain_id):<br>required: **true**<br><p>The unique identifier of the Cases domain.</p><br>
/// - [`max_results(i32)`](crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of audit events to return. The current maximum supported value is 25. This is also the default when no other value is provided.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder::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>
/// - On success, responds with [`GetCaseAuditEventsOutput`](crate::operation::get_case_audit_events::GetCaseAuditEventsOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::get_case_audit_events::GetCaseAuditEventsOutput::next_token): <p>The token for the next set of results. This is null if there are no more results to return.</p>
/// - [`audit_events(Vec::<Option<AuditEvent>>)`](crate::operation::get_case_audit_events::GetCaseAuditEventsOutput::audit_events): <p>A list of case audits where each represents a particular edit of the case.</p>
/// - On failure, responds with [`SdkError<GetCaseAuditEventsError>`](crate::operation::get_case_audit_events::GetCaseAuditEventsError)
pub fn get_case_audit_events(&self) -> crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder {
crate::operation::get_case_audit_events::builders::GetCaseAuditEventsFluentBuilder::new(self.handle.clone())
}
}