aws_sdk_mediapackagev2/client/cancel_harvest_job.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CancelHarvestJob`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`channel_group_name(impl Into<String>)`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::channel_group_name) / [`set_channel_group_name(Option<String>)`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::set_channel_group_name):<br>required: **true**<br><p>The name of the channel group containing the channel from which the harvest job is running.</p><br>
7 /// - [`channel_name(impl Into<String>)`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::set_channel_name):<br>required: **true**<br><p>The name of the channel from which the harvest job is running.</p><br>
8 /// - [`origin_endpoint_name(impl Into<String>)`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::origin_endpoint_name) / [`set_origin_endpoint_name(Option<String>)`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::set_origin_endpoint_name):<br>required: **true**<br><p>The name of the origin endpoint that the harvest job is harvesting from. This cannot be changed after the harvest job is submitted.</p><br>
9 /// - [`harvest_job_name(impl Into<String>)`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::harvest_job_name) / [`set_harvest_job_name(Option<String>)`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::set_harvest_job_name):<br>required: **true**<br><p>The name of the harvest job to cancel. This name must be unique within the channel and cannot be changed after the harvest job is submitted.</p><br>
10 /// - [`e_tag(impl Into<String>)`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::e_tag) / [`set_e_tag(Option<String>)`](crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::set_e_tag):<br>required: **false**<br><p>The current Entity Tag (ETag) associated with the harvest job. Used for concurrency control.</p><br>
11 /// - On success, responds with [`CancelHarvestJobOutput`](crate::operation::cancel_harvest_job::CancelHarvestJobOutput)
12 /// - On failure, responds with [`SdkError<CancelHarvestJobError>`](crate::operation::cancel_harvest_job::CancelHarvestJobError)
13 pub fn cancel_harvest_job(&self) -> crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder {
14 crate::operation::cancel_harvest_job::builders::CancelHarvestJobFluentBuilder::new(self.handle.clone())
15 }
16}