aws_sdk_mediatailor/client/
delete_program.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 [`DeleteProgram`](crate::operation::delete_program::builders::DeleteProgramFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`channel_name(impl Into<String>)`](crate::operation::delete_program::builders::DeleteProgramFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::delete_program::builders::DeleteProgramFluentBuilder::set_channel_name):<br>required: **true**<br><p>The name of the channel.</p><br>
7    ///   - [`program_name(impl Into<String>)`](crate::operation::delete_program::builders::DeleteProgramFluentBuilder::program_name) / [`set_program_name(Option<String>)`](crate::operation::delete_program::builders::DeleteProgramFluentBuilder::set_program_name):<br>required: **true**<br><p>The name of the program.</p><br>
8    /// - On success, responds with [`DeleteProgramOutput`](crate::operation::delete_program::DeleteProgramOutput)
9    /// - On failure, responds with [`SdkError<DeleteProgramError>`](crate::operation::delete_program::DeleteProgramError)
10    pub fn delete_program(&self) -> crate::operation::delete_program::builders::DeleteProgramFluentBuilder {
11        crate::operation::delete_program::builders::DeleteProgramFluentBuilder::new(self.handle.clone())
12    }
13}