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