aws_sdk_mediatailor/client/
delete_live_source.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 [`DeleteLiveSource`](crate::operation::delete_live_source::builders::DeleteLiveSourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`live_source_name(impl Into<String>)`](crate::operation::delete_live_source::builders::DeleteLiveSourceFluentBuilder::live_source_name) / [`set_live_source_name(Option<String>)`](crate::operation::delete_live_source::builders::DeleteLiveSourceFluentBuilder::set_live_source_name):<br>required: **true**<br><p>The name of the live source.</p><br>
7    ///   - [`source_location_name(impl Into<String>)`](crate::operation::delete_live_source::builders::DeleteLiveSourceFluentBuilder::source_location_name) / [`set_source_location_name(Option<String>)`](crate::operation::delete_live_source::builders::DeleteLiveSourceFluentBuilder::set_source_location_name):<br>required: **true**<br><p>The name of the source location associated with this Live Source.</p><br>
8    /// - On success, responds with [`DeleteLiveSourceOutput`](crate::operation::delete_live_source::DeleteLiveSourceOutput)
9    /// - On failure, responds with [`SdkError<DeleteLiveSourceError>`](crate::operation::delete_live_source::DeleteLiveSourceError)
10    pub fn delete_live_source(&self) -> crate::operation::delete_live_source::builders::DeleteLiveSourceFluentBuilder {
11        crate::operation::delete_live_source::builders::DeleteLiveSourceFluentBuilder::new(self.handle.clone())
12    }
13}