// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateAbuseReport`](crate::operation::create_abuse_report::builders::CreateAbuseReportFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`report(ReportData)`](crate::operation::create_abuse_report::builders::CreateAbuseReportFluentBuilder::report) / [`set_report(Option<ReportData>)`](crate::operation::create_abuse_report::builders::CreateAbuseReportFluentBuilder::set_report):<br>required: **true**<br><p>The abuse report data in XARF format. Provide the report under the <code>xarf</code> key.</p><br>
/// - [`correlation_id(impl Into<String>)`](crate::operation::create_abuse_report::builders::CreateAbuseReportFluentBuilder::correlation_id) / [`set_correlation_id(Option<String>)`](crate::operation::create_abuse_report::builders::CreateAbuseReportFluentBuilder::set_correlation_id):<br>required: **false**<br><p>An optional correlation ID for tracking the report in the reporter's system. The service echoes this value back in responses, and you can use it to filter reports with <code>ListAbuseReportStatuses</code>.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_abuse_report::builders::CreateAbuseReportFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_abuse_report::builders::CreateAbuseReportFluentBuilder::set_client_token):<br>required: **false**<br><p>An optional, client-provided idempotency token that ensures the operation completes no more than once. If the token matches a previous request within 24 hours, the service returns the existing report ID instead of creating a new report. When you omit this token, the service automatically generates one that is scoped to a 5-minute window.</p><br>
/// - On success, responds with [`CreateAbuseReportOutput`](crate::operation::create_abuse_report::CreateAbuseReportOutput) with field(s):
/// - [`report_id(String)`](crate::operation::create_abuse_report::CreateAbuseReportOutput::report_id): <p>The unique identifier assigned to the submitted abuse report. Use this ID with <code>GetAbuseReportStatus</code> to track processing.</p>
/// - [`correlation_id(Option<String>)`](crate::operation::create_abuse_report::CreateAbuseReportOutput::correlation_id): <p>The correlation ID that you provided in the request, if any. The service echoes this value back in the response.</p>
/// - On failure, responds with [`SdkError<CreateAbuseReportError>`](crate::operation::create_abuse_report::CreateAbuseReportError)
pub fn create_abuse_report(&self) -> crate::operation::create_abuse_report::builders::CreateAbuseReportFluentBuilder {
crate::operation::create_abuse_report::builders::CreateAbuseReportFluentBuilder::new(self.handle.clone())
}
}