aws_sdk_cloudwatchlogs/client/cancel_export_task.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CancelExportTask`](crate::operation::cancel_export_task::builders::CancelExportTaskFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`task_id(impl Into<String>)`](crate::operation::cancel_export_task::builders::CancelExportTaskFluentBuilder::task_id) / [`set_task_id(Option<String>)`](crate::operation::cancel_export_task::builders::CancelExportTaskFluentBuilder::set_task_id):<br>required: **true**<br><p>The ID of the export task.</p><br>
/// - On success, responds with [`CancelExportTaskOutput`](crate::operation::cancel_export_task::CancelExportTaskOutput)
/// - On failure, responds with [`SdkError<CancelExportTaskError>`](crate::operation::cancel_export_task::CancelExportTaskError)
pub fn cancel_export_task(&self) -> crate::operation::cancel_export_task::builders::CancelExportTaskFluentBuilder {
crate::operation::cancel_export_task::builders::CancelExportTaskFluentBuilder::new(self.handle.clone())
}
}