Struct aws_sdk_mediapackagev2::operation::delete_channel::builders::DeleteChannelFluentBuilder
source · pub struct DeleteChannelFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteChannel
.
Delete a channel to stop AWS Elemental MediaPackage from receiving further content. You must delete the channel's origin endpoints before you can delete the channel.
Implementations§
source§impl DeleteChannelFluentBuilder
impl DeleteChannelFluentBuilder
sourcepub fn as_input(&self) -> &DeleteChannelInputBuilder
pub fn as_input(&self) -> &DeleteChannelInputBuilder
Access the DeleteChannel as a reference.
sourcepub async fn send(
self
) -> Result<DeleteChannelOutput, SdkError<DeleteChannelError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteChannelOutput, SdkError<DeleteChannelError, 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 fn customize(
self
) -> CustomizableOperation<DeleteChannelOutput, DeleteChannelError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteChannelOutput, DeleteChannelError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn channel_group_name(self, input: impl Into<String>) -> Self
pub fn channel_group_name(self, input: impl Into<String>) -> Self
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
sourcepub fn set_channel_group_name(self, input: Option<String>) -> Self
pub fn set_channel_group_name(self, input: Option<String>) -> Self
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
sourcepub fn get_channel_group_name(&self) -> &Option<String>
pub fn get_channel_group_name(&self) -> &Option<String>
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
sourcepub fn get_channel_name(&self) -> &Option<String>
pub fn get_channel_name(&self) -> &Option<String>
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
Trait Implementations§
source§impl Clone for DeleteChannelFluentBuilder
impl Clone for DeleteChannelFluentBuilder
source§fn clone(&self) -> DeleteChannelFluentBuilder
fn clone(&self) -> DeleteChannelFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more