aws_sdk_mediapackagev2/client/reset_channel_state.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 [`ResetChannelState`](crate::operation::reset_channel_state::builders::ResetChannelStateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`channel_group_name(impl Into<String>)`](crate::operation::reset_channel_state::builders::ResetChannelStateFluentBuilder::channel_group_name) / [`set_channel_group_name(Option<String>)`](crate::operation::reset_channel_state::builders::ResetChannelStateFluentBuilder::set_channel_group_name):<br>required: **true**<br><p>The name of the channel group that contains the channel that you are resetting.</p><br>
7 /// - [`channel_name(impl Into<String>)`](crate::operation::reset_channel_state::builders::ResetChannelStateFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::reset_channel_state::builders::ResetChannelStateFluentBuilder::set_channel_name):<br>required: **true**<br><p>The name of the channel that you are resetting.</p><br>
8 /// - On success, responds with [`ResetChannelStateOutput`](crate::operation::reset_channel_state::ResetChannelStateOutput) with field(s):
9 /// - [`channel_group_name(String)`](crate::operation::reset_channel_state::ResetChannelStateOutput::channel_group_name): <p>The name of the channel group that contains the channel that you just reset.</p>
10 /// - [`channel_name(String)`](crate::operation::reset_channel_state::ResetChannelStateOutput::channel_name): <p>The name of the channel that you just reset.</p>
11 /// - [`arn(String)`](crate::operation::reset_channel_state::ResetChannelStateOutput::arn): <p>The Amazon Resource Name (ARN) associated with the channel that you just reset.</p>
12 /// - [`reset_at(DateTime)`](crate::operation::reset_channel_state::ResetChannelStateOutput::reset_at): <p>The time that the channel was last reset.</p>
13 /// - On failure, responds with [`SdkError<ResetChannelStateError>`](crate::operation::reset_channel_state::ResetChannelStateError)
14 pub fn reset_channel_state(&self) -> crate::operation::reset_channel_state::builders::ResetChannelStateFluentBuilder {
15 crate::operation::reset_channel_state::builders::ResetChannelStateFluentBuilder::new(self.handle.clone())
16 }
17}