pub struct DeleteProgramFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteProgram.
Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
Implementations§
source§impl DeleteProgramFluentBuilder
impl DeleteProgramFluentBuilder
sourcepub fn as_input(&self) -> &DeleteProgramInputBuilder
pub fn as_input(&self) -> &DeleteProgramInputBuilder
Access the DeleteProgram as a reference.
sourcepub async fn send(
self
) -> Result<DeleteProgramOutput, SdkError<DeleteProgramError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteProgramOutput, SdkError<DeleteProgramError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteProgramOutput, DeleteProgramError, Self>, SdkError<DeleteProgramError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteProgramOutput, DeleteProgramError, Self>, SdkError<DeleteProgramError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The name of the channel.
sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The name of the channel.
sourcepub fn get_channel_name(&self) -> &Option<String>
pub fn get_channel_name(&self) -> &Option<String>
The name of the channel.
sourcepub fn program_name(self, input: impl Into<String>) -> Self
pub fn program_name(self, input: impl Into<String>) -> Self
The name of the program.
sourcepub fn set_program_name(self, input: Option<String>) -> Self
pub fn set_program_name(self, input: Option<String>) -> Self
The name of the program.
sourcepub fn get_program_name(&self) -> &Option<String>
pub fn get_program_name(&self) -> &Option<String>
The name of the program.
Trait Implementations§
source§impl Clone for DeleteProgramFluentBuilder
impl Clone for DeleteProgramFluentBuilder
source§fn clone(&self) -> DeleteProgramFluentBuilder
fn clone(&self) -> DeleteProgramFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more